nfs-utils.git
9 years agonfs-common: Add Recommends python for mountstats and nfsiostat debian/1%1.2.3-1
Luk Claes [Sun, 27 Mar 2011 16:55:56 +0000 (18:55 +0200)]
nfs-common: Add Recommends python for mountstats and nfsiostat

9 years agoBuild depend on libtirpc-dev and enable IPv6 (Closes: #441361)
Luk Claes [Sun, 27 Mar 2011 16:42:22 +0000 (18:42 +0200)]
Build depend on libtirpc-dev and enable IPv6 (Closes: #441361)

9 years agoforget to add the dirs files
Luk Claes [Sun, 27 Mar 2011 16:40:55 +0000 (18:40 +0200)]
forget to add the dirs files

9 years agoInstall bug scripts to ease debuging
Luk Claes [Sun, 27 Mar 2011 16:28:04 +0000 (18:28 +0200)]
Install bug scripts to ease debuging

9 years agonfs-common.init: Enable idmapd by default (Closes: #610363)
Luk Claes [Mon, 21 Mar 2011 19:05:42 +0000 (20:05 +0100)]
nfs-common.init: Enable idmapd by default (Closes: #610363)

9 years agoMake sure everything is shipped (inspired by #594933)
Luk Claes [Mon, 21 Mar 2011 18:58:20 +0000 (19:58 +0100)]
Make sure everything is shipped (inspired by #594933)

9 years agoMake sure everything is shipped (Closes: #594933)
Luk Claes [Mon, 21 Mar 2011 18:38:11 +0000 (19:38 +0100)]
Make sure everything is shipped (Closes: #594933)

9 years ago - mountd: fix --manage-gids hang due to int/uint bug (0f05c8a)
Luk Claes [Sun, 20 Mar 2011 19:18:01 +0000 (20:18 +0100)]
  - mountd: fix --manage-gids hang due to int/uint bug (0f05c8a)
    (Closes: #528939,585085)
  - mount.nfs: Don't do anything fancy if this is a remount (f11547f)
    (Closes: #612933)
  - mount: Mount should retry unreachable hosts (5a355f4)
    (Closes: #560388)
  - Try to use kernel function to determine supported Kerberos
    enctypes (258f10f) (Closes: #474037)

9 years ago* New upstream release
Luk Claes [Sun, 20 Mar 2011 15:59:00 +0000 (16:59 +0100)]
* New upstream release
  - 7-remove-duplicate-exports-paragraphs : removed
  - 12-svcgssd-document-n-option: updated
  - 14-allow-address-without-name : removed
  - 15-mountd-fix-path-comparison-for-v4-crossmnt : removed
  - 16-mount.nfs.man-nfs.man-update-distinction-between-fstypes:
    part about nfs.man removed and
    renamed to 16-mount.nfs.man-update-distinction-between-fstypes

9 years agoMerge commit 'upstream/1.2.3'
Ben Hutchings [Tue, 29 Mar 2011 03:28:46 +0000 (04:28 +0100)]
Merge commit 'upstream/1.2.3'

Conflicts:
Makefile.in
aclocal.m4
configure
linux-nfs/Makefile.in
support/Makefile.in
support/export/Makefile.in
support/include/Makefile.in
support/include/config.h.in
support/include/nfs/Makefile.in
support/include/rpcsvc/Makefile.in
support/include/sys/Makefile.in
support/include/sys/fs/Makefile.in
support/misc/Makefile.in
support/nfs/Makefile.in
support/nsm/Makefile.in
tests/Makefile.in
tests/nsm_client/Makefile.in
tools/Makefile.in
tools/locktest/Makefile.in
tools/nlmtest/Makefile.in
tools/rpcdebug/Makefile.in
tools/rpcgen/Makefile.in
utils/Makefile.in
utils/exportfs/Makefile.in
utils/gssd/Makefile.in
utils/idmapd/Makefile.in
utils/mount/Makefile.in
utils/mountd/Makefile.in
utils/nfsd/Makefile.in
utils/nfsstat/Makefile.in
utils/showmount/Makefile.in
utils/statd/Makefile.in

9 years agoImported Upstream version 1.2.3 upstream/1.2.3
Ben Hutchings [Tue, 29 Mar 2011 03:27:29 +0000 (04:27 +0100)]
Imported Upstream version 1.2.3

9 years agoreleasing version 1:1.2.2-5 debian/1%1.2.2-5
Luk Claes [Wed, 16 Mar 2011 22:11:19 +0000 (23:11 +0100)]
releasing version 1:1.2.2-5

9 years agoDon't barf when tcp redirection fails
Luk Claes [Wed, 16 Mar 2011 20:34:24 +0000 (21:34 +0100)]
Don't barf when tcp redirection fails

9 years agoMake init scripts use bash as /dev/tcp redirection is a bashism
Luk Claes [Wed, 16 Mar 2011 20:10:57 +0000 (21:10 +0100)]
Make init scripts use bash as /dev/tcp redirection is a bashism

9 years agoReplace lsof usage with redirection to /dev/tcp
Luk Claes [Wed, 16 Mar 2011 19:55:23 +0000 (20:55 +0100)]
Replace lsof usage with redirection to /dev/tcp

9 years agoAdd myself as uploader, add lsof as dependency
Luk Claes [Tue, 15 Mar 2011 22:21:27 +0000 (23:21 +0100)]
Add myself as uploader, add lsof as dependency

9 years agonfs-common.default, nfs-kernel-server.default: Remove spurious question mark in wiki...
Luk Claes [Sun, 13 Mar 2011 18:51:52 +0000 (19:51 +0100)]
nfs-common.default, nfs-kernel-server.default: Remove spurious question mark in wiki url (Closes: #593511)

9 years agoAdd #562737 closure for portmap warning entry
Luk Claes [Sun, 13 Mar 2011 18:43:57 +0000 (19:43 +0100)]
Add #562737 closure for portmap warning entry

9 years agoAdd #561718 closure for portmap warning entry
Luk Claes [Sun, 13 Mar 2011 18:42:23 +0000 (19:42 +0100)]
Add #561718 closure for portmap warning entry

9 years agonfs-common.init: Add statd to sendsigs.omit.d (Closes: #524610)
Luk Claes [Sun, 13 Mar 2011 18:29:24 +0000 (19:29 +0100)]
nfs-common.init: Add statd to sendsigs.omit.d (Closes: #524610)

9 years agonfs-common.init: Add --pidfile for statd (Closes: #521084)
Luk Claes [Sun, 13 Mar 2011 18:17:04 +0000 (19:17 +0100)]
nfs-common.init: Add --pidfile for statd (Closes: #521084)

There is no pidfile created for idmapd, but upstream's commit 7c84d47f (for 1.2.3) might be a better solution in the long run anyway.

9 years agonfs-common.init, nfs-kernel-server.init: Add warning when portmap is not running...
Luk Claes [Sun, 13 Mar 2011 17:52:57 +0000 (18:52 +0100)]
nfs-common.init, nfs-kernel-server.init: Add warning when portmap is not running (Closes: #612002)

When portmap (or rpcbind) are not running, don't try to start statd, nfsd or mountd, but warn instead that portmap is not running. This means installing nfs-common or nfs-kernel-server would succeed even if the daemons are not started.

9 years agonfs-kernel-server.init: Add Should-Start: $named (Closes: #598493)
Ben Hutchings [Sun, 24 Oct 2010 19:07:16 +0000 (21:07 +0200)]
nfs-kernel-server.init: Add Should-Start: $named (Closes: #598493)

In case a local name server is needed to resolve hostnames in
/etc/exports, require $named to start before nfs-kernel-server if
installed (Should-Start not Required-Start).

9 years agonfs.man: Update distinction between fstypes
Ben Hutchings [Sat, 2 Oct 2010 19:24:15 +0000 (20:24 +0100)]
nfs.man: Update distinction between fstypes

9 years agomount.nfs.man: Update distinction between mount.nfs and mount.nfs4 (Closes: #575503)
Ben Hutchings [Sat, 2 Oct 2010 19:06:13 +0000 (20:06 +0100)]
mount.nfs.man: Update distinction between mount.nfs and mount.nfs4 (Closes: #575503)

10 years agoRelease 1.2.2-4 debian/1%1.2.2-4
Ben Hutchings [Thu, 26 Aug 2010 23:13:32 +0000 (00:13 +0100)]
Release 1.2.2-4

10 years agonfs-common.init: Ignore empty and commented-out fstab lines (Closes: #587329)
Cristian Ionescu-Idbohrn [Thu, 26 Aug 2010 03:27:14 +0000 (04:27 +0100)]
nfs-common.init: Ignore empty and commented-out fstab lines (Closes: #587329)

10 years agomountd: fix path comparison for v4 crossmnt (Closes: #578317)
Ben Hutchings [Thu, 26 Aug 2010 02:44:51 +0000 (03:44 +0100)]
mountd: fix path comparison for v4 crossmnt (Closes: #578317)

10 years agoReplace 14-allow-address-without-name.patch with version committed upstream
Ben Hutchings [Thu, 26 Aug 2010 02:43:43 +0000 (03:43 +0100)]
Replace 14-allow-address-without-name.patch with version committed upstream

10 years agoOpen changelog for 1.2.2-4
Ben Hutchings [Thu, 26 Aug 2010 02:39:56 +0000 (03:39 +0100)]
Open changelog for 1.2.2-4

10 years agoexportfs: Use xlog() for error reporting
Chuck Lever [Tue, 24 Aug 2010 11:19:34 +0000 (07:19 -0400)]
exportfs: Use xlog() for error reporting

exportfs already invokes xlog_open() because libexport.a uses xlog()
exclusively for error reporting and debugging messages.  If we can
use xlog() throughout exportfs itself, that enables xlog debugging
messages everywhere in the code path.

In addition, use xlog() instead of fprintf(stderr) for reporting
errors in exportfs.c, to be consistent with libexport.a and other
components of nfs-utils.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
10 years agoexportfs: exportfs.c no longer needs #include "xmalloc.h"
Chuck Lever [Tue, 24 Aug 2010 11:18:04 +0000 (07:18 -0400)]
exportfs: exportfs.c no longer needs #include "xmalloc.h"

Clean up:  No calls to xmalloc() or xstrdup() here.  No need for the
double #include of xmalloc.h.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
10 years agostatd: statd fails to monitor if no reverse mapping of mon_name exists
Chuck Lever [Tue, 24 Aug 2010 11:16:10 +0000 (07:16 -0400)]
statd: statd fails to monitor if no reverse mapping of mon_name exists

Commit 8ce130c4 switched in the new statd_canonical_name() function
that constructs a "unique" name statd can use to uniquely identify a
monitor record.

The legacy statd would monitor a client that sent an IP address with
no reverse map as its caller_name.  To remain bug-for-bug compatible,
allow this case in the new statd.

This shouldn't be a problem: statd_canonical_name() needs to create
a unique name for the monitored host so it can keep track of monitor
requests from the same remote.  The IP address itself should work as
well as the host's canonical name, in case there is no reverse
mapping.

We still enforce the requirement that a mon_name that is a DNS name
must have a forward map to an IP address.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
10 years agolibexport: Fix IP address check in check_netgroup()
Chuck Lever [Tue, 24 Aug 2010 11:13:54 +0000 (07:13 -0400)]
libexport: Fix IP address check in check_netgroup()

Neil Brown reports that recent changes to replace
gethostby{addr,name}(3) with get{addr,info}name(3) may have
inadvertently broken netgroup support.

There used to be a gethostbyaddr(3) call in the third paragraph in
check_netgroup().  The reason for that gethostbyaddr(3) call was that
the first innetgr(3) call has already confirmed that hname is not a
member of the netgroup.  We also need to confirm that, if hname
happens to be an IP address, the hostname bound to that IP address is
not a member of the netgroup, either.

Fix this by restoring appropriate address to hostname mapping of hname
before retrying the innetgr(3) call.

See http://marc.info/?l=linux-nfs&m=128084830214653&w=2 .

Introduced by commit 0509d3428f523776ddd9d6e9fa318587d3ec7d84.

Reviewed-by: Neil Brown <neilb@suse.de>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
10 years agobexport: Add a common exit label to check_netgroup()
Chuck Lever [Tue, 24 Aug 2010 11:06:14 +0000 (07:06 -0400)]
bexport: Add a common exit label to check_netgroup()

check_netgroup() is going to be changed to free dynamically
allocated resources before it returns, so a common
exit point is needed.

Reviewed-by: Neil Brown <neilb@suse.de>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
10 years agoFix the description of nfsversion mount option in the man nfs page
Guillaume Rousse [Tue, 17 Aug 2010 21:47:38 +0000 (17:47 -0400)]
Fix the description of nfsversion mount option in the man nfs page

Signed-off-by: Steve Dickson <steved@redhat.com>
10 years agoRemove warnings from nfsctl.c nfs-utils-1-2-3-rc5
Steve Dickson [Mon, 19 Jul 2010 16:12:52 +0000 (12:12 -0400)]
Remove warnings from nfsctl.c

nfsctl.c: In function 'expsetup':
nfsctl.c:112: warning: signed and unsigned type in conditional expression

Signed-off-by: Steve Dickson <steved@redhat.com>
10 years agoRemoved warnings from mountd.c
Steve Dickson [Wed, 4 Aug 2010 14:48:17 +0000 (10:48 -0400)]
Removed warnings from mountd.c

mountd.c: In function 'mount_null_1_svc':
mountd.c:195: warning: unused parameter 'rqstp'
mountd.c:195: warning: unused parameter 'argp'
mountd.c:195: warning: unused parameter 'resp'
mountd.c: In function 'mount_dump_1_svc':
mountd.c:213: warning: unused parameter 'argp'
mountd.c: In function 'mount_umnt_1_svc':
mountd.c:224: warning: unused parameter 'resp'
mountd.c: In function 'mount_umntall_1_svc':
mountd.c:248: warning: unused parameter 'argp'
mountd.c:248: warning: unused parameter 'resp'
mountd.c: In function 'mount_export_1_svc':
mountd.c:258: warning: unused parameter 'argp'
mountd.c: In function 'mount_exportall_1_svc':
mountd.c:269: warning: unused parameter 'argp'
mountd.c: In function 'mount_dump_1_svc':
mountd.c:216: warning: unused parameter 'argp'
mountd.c: In function 'mount_umnt_1_svc':
mountd.c:227: warning: unused parameter 'resp'
mountd.c: In function 'mount_umntall_1_svc':
mountd.c:251: warning: unused parameter 'argp'
mountd.c:251: warning: unused parameter 'resp'
mountd.c: In function 'mount_export_1_svc':
mountd.c:261: warning: unused parameter 'argp'
mountd.c: In function 'mount_exportall_1_svc':
mountd.c:272: warning: unused parameter 'argp'

Signed-off-by: Steve Dickson <steved@redhat.com>
10 years agoRemoved warnings from idmapd.c
Steve Dickson [Wed, 4 Aug 2010 14:41:18 +0000 (10:41 -0400)]
Removed warnings from idmapd.c

idmapd.c:120: warning: missing initializer
idmapd.c:120: warning: (near initialization for 'nfsd_ic[0].ic_event')
idmapd.c:121: warning: missing initializer
idmapd.c:121: warning: (near initialization for 'nfsd_ic[1].ic_event')
idmapd.c: In function 'flush_nfsd_cache':
idmapd.c:173: warning: comparison between signed and unsigned integer expressions
idmapd.c: In function 'dirscancb':
idmapd.c:384: warning: unused parameter 'fd'
idmapd.c:384: warning: unused parameter 'which'
idmapd.c: In function 'svrreopen':
idmapd.c:468: warning: unused parameter 'fd'
idmapd.c:468: warning: unused parameter 'which'
idmapd.c:468: warning: unused parameter 'data'
idmapd.c: In function 'clntscancb':
idmapd.c:474: warning: unused parameter 'fd'
idmapd.c:474: warning: unused parameter 'which'
idmapd.c: In function 'nfsdcb':
idmapd.c:488: warning: unused parameter 'fd'
idmapd.c: In function 'nfscb':
idmapd.c:663: warning: unused parameter 'fd'
idmapd.c: In function 'validateascii':
idmapd.c:850: warning: comparison between signed and unsigned integer expressions
idmapd.c:858: warning: comparison between signed and unsigned integer expressions
idmapd.c: In function 'getfield':
idmapd.c:916: warning: comparison between signed and unsigned integer expressions

Signed-off-by: Steve Dickson <steved@redhat.com>
10 years agoRemoved warnings from configfile.c
Steve Dickson [Wed, 4 Aug 2010 14:29:28 +0000 (10:29 -0400)]
Removed warnings from configfile.c

configfile.c:195: warning: 'inline' is not at beginning of declaration
configfile.c:232: warning: 'inline' is not at beginning of declaration

Signed-off-by: Steve Dickson <steved@redhat.com>
10 years agoRemoved warnings from svcgssd_proc.c
Steve Dickson [Wed, 4 Aug 2010 14:26:13 +0000 (10:26 -0400)]
Removed warnings from svcgssd_proc.c

svcgssd_proc.c: In function 'send_response':
svcgssd_proc.c:135: warning: unused parameter 'f'
svcgssd_proc.c: In function 'handle_nullreq':
svcgssd_proc.c:434: warning: comparison of unsigned expression < 0 is always false

Signed-off-by: Steve Dickson <steved@redhat.com>
10 years agoRemoved warnings from network.c
Steve Dickson [Wed, 4 Aug 2010 14:22:13 +0000 (10:22 -0400)]
Removed warnings from network.c

network.c: In function 'nfs_verify_family':
network.c:1366: warning: unused parameter 'family'

Signed-off-by: Steve Dickson <steved@redhat.com>
10 years agoRemoved warnings from nfs4mount.c
Steve Dickson [Tue, 20 Jul 2010 22:43:46 +0000 (18:43 -0400)]
Removed warnings from nfs4mount.c

nfs4mount.c: In function 'fill_ipv4_sockaddr':
nfs4mount.c:149: warning: comparison between signed and unsigned integer expressions

Signed-off-by: Steve Dickson <steved@redhat.com>
10 years agoRemoved warnings from nfsmount.c
Steve Dickson [Tue, 20 Jul 2010 22:40:31 +0000 (18:40 -0400)]
Removed warnings from nfsmount.c

nfsmount.c: In function 'nfsmount':
nfsmount.c:513: warning: missing initializer
nfsmount.c:513: warning: (near initialization for 'mnt_server.saddr')
nfsmount.c:514: warning: missing initializer
nfsmount.c:514: warning: (near initialization for 'nfs_server.saddr')

Signed-off-by: Steve Dickson <steved@redhat.com>
10 years agoRemoved warnings from svcgssd.c
Steve Dickson [Tue, 20 Jul 2010 22:22:32 +0000 (18:22 -0400)]
Removed warnings from svcgssd.c

svcgssd.c: In function 'sig_hup':
svcgssd.c:160: warning: unused parameter 'signal'

Signed-off-by: Steve Dickson <steved@redhat.com>
10 years agoRemoved warnings from gssd_proc.c
Steve Dickson [Tue, 20 Jul 2010 22:13:45 +0000 (18:13 -0400)]
Removed warnings from gssd_proc.c

gssd_proc.c: In function 'create_auth_rpc_client':
gssd_proc.c:939: warning: comparison between signed and unsigned integer expressions
gssd_proc.c:939: warning: comparison between signed and unsigned integer expressions
gssd_proc.c: In function 'handle_krb5_upcall':
gssd_proc.c:1164: warning: comparison between signed and unsigned integer expressions
gssd_proc.c: In function 'handle_spkm3_upcall':
gssd_proc.c:1178: warning: comparison between signed and unsigned integer expressions

Signed-off-by: Steve Dickson <steved@redhat.com>
10 years agoRemoved warnings from krb5_util.c
Steve Dickson [Tue, 20 Jul 2010 22:08:13 +0000 (18:08 -0400)]
Removed warnings from krb5_util.c

krb5_util.c: In function 'realm_and_service_match':
krb5_util.c:617: warning: unused parameter 'context'
krb5_util.c: In function 'limit_krb5_enctypes':
krb5_util.c:1275: warning: unused parameter 'uid'

Signed-off-by: Steve Dickson <steved@redhat.com>
10 years agoRemoved warnings from gssd_main_loop.c
Steve Dickson [Tue, 20 Jul 2010 21:53:47 +0000 (17:53 -0400)]
Removed warnings from gssd_main_loop.c

gssd_main_loop.c: In function 'dir_notify_handler':
gssd_main_loop.c:64: warning: unused parameter 'sig'
gssd_main_loop.c:64: warning: unused parameter 'si'
gssd_main_loop.c:64: warning: unused parameter 'data'

Signed-off-by: Steve Dickson <steved@redhat.com>
10 years agoRemoved warnings from gssd.c
Steve Dickson [Tue, 20 Jul 2010 21:45:17 +0000 (17:45 -0400)]
Removed warnings from gssd.c

gssd.c: In function 'sig_hup':
gssd.c:78: warning: unused parameter 'signal'

Signed-off-by: Steve Dickson <steved@redhat.com>
10 years agoRemoved warnings from atomicio.c
Steve Dickson [Tue, 20 Jul 2010 21:19:20 +0000 (17:19 -0400)]
Removed warnings from atomicio.c

atomicio.c: In function 'atomicio':
atomicio.c:48: warning: comparison between signed and unsigned integer expressions

Signed-off-by: Steve Dickson <steved@redhat.com>
10 years agoRemoved warnings from nfsstat.c
Steve Dickson [Mon, 19 Jul 2010 18:54:51 +0000 (14:54 -0400)]
Removed warnings from nfsstat.c

nfsstat.c: In function 'print_callstats':
nfsstat.c:797: warning: comparison between signed and unsigned integer
expressions
nfsstat.c:801: warning: comparison between signed and unsigned integer
expressions
nfsstat.c:802: warning: comparison between signed and unsigned integer
expressions
nfsstat.c:805: warning: comparison between signed and unsigned integer
expressions

nfsstat.c: In function 'print_callstats_list':
nfsstat.c:821: warning: comparison between signed and unsigned integer
expressions
nfsstat.c:828: warning: comparison between signed and unsigned integer
expressions

nfsstat.c: In function 'unpause':
nfsstat.c:1111: warning: unused parameter 'sig'
Signed-off-by: Steve Dickson <steved@redhat.com>
10 years agoRemoved warnings from nfssvc.c
Steve Dickson [Mon, 19 Jul 2010 18:48:37 +0000 (14:48 -0400)]
Removed warnings from nfssvc.c

nfssvc.c:184: warning: comparison between signed and unsigned integer expressions
nfssvc.c: In function 'nfssvc_setvers':
nfssvc.c:254: warning: comparison between signed and unsigned integer expressions
nfssvc.c: In function 'nfssvc_threads':
nfssvc.c:280: warning: comparison between signed and unsigned integer expressions

Signed-off-by: Steve Dickson <steved@redhat.com>
10 years agoRemoved warnings from cache.c
Steve Dickson [Mon, 19 Jul 2010 18:43:26 +0000 (14:43 -0400)]
Removed warnings from cache.c

cache.c:812: warning: missing initializer
cache.c:812: warning: (near initialization for 'cachelist[0].f')
cache.c:813: warning: missing initializer
cache.c:813: warning: (near initialization for 'cachelist[1].f')
cache.c:814: warning: missing initializer
cache.c:814: warning: (near initialization for 'cachelist[2].f')
cache.c:815: warning: missing initializer
cache.c:815: warning: (near initialization for 'cachelist[3].f')
cache.c:816: warning: missing initializer
cache.c:816: warning: (near initialization for 'cachelist[4].f')
cache.c: In function 'cache_export_ent':
cache.c:887: warning: comparison between signed and unsigned integer expressions
cache.c:907: warning: comparison between signed and unsigned integer expressions

Signed-off-by: Steve Dickson <steved@redhat.com>
10 years agoRemoved warnings from fsloc.c
Steve Dickson [Mon, 19 Jul 2010 17:07:00 +0000 (13:07 -0400)]
Removed warnings from fsloc.c

fsloc.c: In function 'replicas_lookup':
fsloc.c:149: warning: unused parameter 'key'

Signed-off-by: Steve Dickson <steved@redhat.com>
10 years agoRemoved warnings from conffile.c
Steve Dickson [Mon, 19 Jul 2010 16:39:52 +0000 (12:39 -0400)]
Removed warnings from conffile.c

conffile.c: In function 'conf_parse_line':
conffile.c:301: warning: comparison between signed and unsigned integer expressions

conffile.c: In function 'conf_load_defaults':
conffile.c:356: warning: unused parameter 'tr'

Signed-off-by: Steve Dickson <steved@redhat.com>
10 years agoRemove warnings from nfs_mntent.c
Steve Dickson [Mon, 19 Jul 2010 16:34:14 +0000 (12:34 -0400)]
Remove warnings from nfs_mntent.c

nfs_mntent.c: In function 'mangle':
nfs_mntent.c:36: warning: comparison between signed and unsigned integer expressions

Signed-off-by: Steve Dickson <steved@redhat.com>
10 years agoemove warnings from cacheio.c
Steve Dickson [Mon, 19 Jul 2010 16:31:48 +0000 (12:31 -0400)]
emove warnings from cacheio.c

cacheio.c: In function 'cache_flush':
cacheio.c:352: warning: comparison between signed and unsigned integer expressions

Signed-off-by: Steve Dickson <steved@redhat.com>
10 years agoRemove warnings from svc_socket.c
Steve Dickson [Mon, 19 Jul 2010 16:28:09 +0000 (12:28 -0400)]
Remove warnings from svc_socket.c

svc_socket.c: In function 'svcudp_socket':
svc_socket.c:160: warning: unused parameter 'reuse'

Signed-off-by: Steve Dickson <steved@redhat.com>
10 years agoRemoved warnings from rpcdispatch.c
Steve Dickson [Mon, 19 Jul 2010 16:17:24 +0000 (12:17 -0400)]
Removed warnings from rpcdispatch.c

rpcdispatch.c: In function 'rpc_dispatch':
rpcdispatch.c:30: warning: comparison between signed and unsigned
     integer expressions
rpcdispatch.c:35: warning: comparison between signed and unsigned
     integer expressions

Signed-off-by: Steve Dickson <steved@redhat.com>
10 years agoEnable extra compile warnings (-Wextra) by default.
Steve Dickson [Mon, 19 Jul 2010 16:05:51 +0000 (12:05 -0400)]
Enable extra compile warnings (-Wextra) by default.

Added -Wextra to the CFLAGS which enables more checking
during compilation, which in turn, will hopefully flag
potential problems before they occur.

Signed-off-by: Steve Dickson <steved@redhat.com>
10 years agoRelease 1.2.2-3 debian/1%1.2.2-3
Ben Hutchings [Sun, 8 Aug 2010 22:44:39 +0000 (23:44 +0100)]
Release 1.2.2-3

10 years agogssd: picking wrong creds
Doug Nazar [Mon, 19 Jul 2010 15:08:46 +0000 (11:08 -0400)]
gssd: picking wrong creds

When not using machine credentials for root, if the machine
credential cache file is newer than the root credential file
the wrong file will get picked. Ignore the machine file in
this case.

Signed-off-by: Steve Dickson <steved@redhat.com>
10 years agomountd: Fix memcmp result comparison error for uuid match.
Doug Nazar [Mon, 19 Jul 2010 14:58:47 +0000 (10:58 -0400)]
mountd: Fix memcmp result comparison error for uuid match.

Fixed Small typo in the new fs uuid comparison code

Signed-off-by: Steve Dickson <steved@redhat.com>
10 years agogssd: Fix endtime issue
Doug Nazar [Mon, 19 Jul 2010 14:48:34 +0000 (10:48 -0400)]
gssd: Fix endtime issue

Commit 4c5ff6d4 removed the setting of endtime for a few contexts by
accident.

Now to figure out why I get stale handles on submounts.

Signed-off-by: Steve Dickson <steved@redhat.com>
10 years agonfs-utils: Fix C aliasing rules violation in nfs_getrpccaller()
Chuck Lever [Mon, 19 Jul 2010 14:09:12 +0000 (10:09 -0400)]
nfs-utils: Fix C aliasing rules violation in nfs_getrpccaller()

Squelch compiler warnings reported with -Wextra:

In file included from statd.c:24:
../../support/include/rpcmisc.h: In function nfs_getrpccaller_in:
../../support/include/rpcmisc.h:58: warning: dereferencing type-punned
pointer might break strict-aliasing rules
../../support/include/rpcmisc.h: In function nfs_getrpccaller:
../../support/include/rpcmisc.h:63: warning: dereferencing type-punned
pointer might break strict-aliasing rules

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
10 years agoAdd control fields pointing to the new git repository
Ben Hutchings [Thu, 15 Jul 2010 01:05:25 +0000 (02:05 +0100)]
Add control fields pointing to the new git repository

10 years agorpc.statd: Allow monitoring of addresses without names (Closes: #579397)
Ben Hutchings [Wed, 14 Jul 2010 02:41:38 +0000 (03:41 +0100)]
rpc.statd: Allow monitoring of addresses without names (Closes: #579397)

10 years agomount.nfs: Preserve explicit port=2049 option (Closes: #582003)
Ben Hutchings [Wed, 14 Jul 2010 02:40:48 +0000 (03:40 +0100)]
mount.nfs: Preserve explicit port=2049 option (Closes: #582003)

10 years agoOpen changelog for 1.2.2-3
Ben Hutchings [Wed, 14 Jul 2010 02:37:48 +0000 (03:37 +0100)]
Open changelog for 1.2.2-3

10 years agoIgnore quilt temporary directory
Ben Hutchings [Wed, 14 Jul 2010 02:44:37 +0000 (03:44 +0100)]
Ignore quilt temporary directory

10 years agoAdd git-buildpackage configuration file for this repository
Ben Hutchings [Wed, 14 Jul 2010 02:22:11 +0000 (03:22 +0100)]
Add git-buildpackage configuration file for this repository

10 years agoImported Debian patch 1.2.2-2 debian/1%1.2.2-2
Anibal Monsalve Salazar [Tue, 13 Jul 2010 05:20:17 +0000 (15:20 +1000)]
Imported Debian patch 1.2.2-2

10 years agoImported Debian patch 1.2.2-1.1 debian/1%1.2.2-1.1
Vagrant Cascadian [Mon, 12 Jul 2010 20:52:13 +0000 (20:52 +0000)]
Imported Debian patch 1.2.2-1.1

10 years agoImported Debian patch 1.2.2-1 debian/1%1.2.2-1
Anibal Monsalve Salazar [Tue, 6 Apr 2010 06:11:22 +0000 (16:11 +1000)]
Imported Debian patch 1.2.2-1

10 years agoMerge branch 'upstream'
Ben Hutchings [Wed, 14 Jul 2010 02:16:17 +0000 (03:16 +0100)]
Merge branch 'upstream'

Conflicts:
Makefile.in
aclocal.m4
aclocal/ltversion.m4
compile
config.guess
config.sub
configure
linux-nfs/Makefile.in
ltmain.sh
support/Makefile.in
support/export/Makefile.in
support/include/Makefile.in
support/include/config.h.in
support/include/nfs/Makefile.in
support/include/rpcsvc/Makefile.in
support/include/sys/Makefile.in
support/include/sys/fs/Makefile.in
support/misc/Makefile.in
support/nfs/Makefile.in
tools/Makefile.in
tools/locktest/Makefile.in
tools/nlmtest/Makefile.in
tools/rpcdebug/Makefile.in
tools/rpcgen/Makefile.in
utils/Makefile.in
utils/exportfs/Makefile.in
utils/gssd/Makefile.in
utils/idmapd/Makefile.in
utils/mount/Makefile.in
utils/mountd/Makefile.in
utils/nfsd/Makefile.in
utils/nfsstat/Makefile.in
utils/showmount/Makefile.in
utils/statd/Makefile.in

10 years agoImported Upstream version 1.2.2 upstream/1.2.2
Ben Hutchings [Wed, 14 Jul 2010 02:15:42 +0000 (03:15 +0100)]
Imported Upstream version 1.2.2

10 years agoImported Debian patch 1.2.1-3 debian/1%1.2.1-3
Anibal Monsalve Salazar [Thu, 14 Jan 2010 05:15:44 +0000 (16:15 +1100)]
Imported Debian patch 1.2.1-3

10 years agoImported Debian patch 1.2.1-2 debian/1%1.2.1-2
Anibal Monsalve Salazar [Tue, 12 Jan 2010 23:39:08 +0000 (10:39 +1100)]
Imported Debian patch 1.2.1-2

10 years agoImported Debian patch 1.2.1-1.1 debian/1%1.2.1-1.1
Alexander Wirt [Wed, 6 Jan 2010 19:26:54 +0000 (20:26 +0100)]
Imported Debian patch 1.2.1-1.1

10 years agoImported Debian patch 1.2.1-1 debian/1%1.2.1-1
Anibal Monsalve Salazar [Fri, 18 Dec 2009 02:17:42 +0000 (13:17 +1100)]
Imported Debian patch 1.2.1-1

10 years agoMerge branch 'upstream'
Ben Hutchings [Wed, 14 Jul 2010 02:06:25 +0000 (03:06 +0100)]
Merge branch 'upstream'

Conflicts:
Makefile.in
aclocal.m4
compile
config.guess
config.sub
configure
depcomp
install-sh
linux-nfs/Makefile.in
ltmain.sh
missing
support/Makefile.in
support/export/Makefile.in
support/include/Makefile.in
support/include/config.h.in
support/include/nfs/Makefile.in
support/include/rpcsvc/Makefile.in
support/include/sys/Makefile.in
support/include/sys/fs/Makefile.in
support/misc/Makefile.in
support/nfs/Makefile.in
tools/Makefile.in
tools/locktest/Makefile.in
tools/nlmtest/Makefile.in
tools/rpcdebug/Makefile.in
tools/rpcgen/Makefile.in
utils/Makefile.in
utils/exportfs/Makefile.in
utils/gssd/Makefile.in
utils/idmapd/Makefile.in
utils/mount/Makefile.in
utils/mountd/Makefile.in
utils/nfsd/Makefile.in
utils/nfsstat/Makefile.in
utils/showmount/Makefile.in
utils/statd/Makefile.in

10 years agoImported Upstream version 1.2.1 upstream/1.2.1
Ben Hutchings [Wed, 14 Jul 2010 02:06:02 +0000 (03:06 +0100)]
Imported Upstream version 1.2.1

10 years agoImported Debian patch 1.2.0-4.1 debian/1%1.2.0-4.1
Ben Hutchings [Wed, 16 Dec 2009 22:14:01 +0000 (22:14 +0000)]
Imported Debian patch 1.2.0-4.1

10 years agoImported Debian patch 1.2.0-4 debian/1%1.2.0-4
Daniel Baumann [Wed, 2 Sep 2009 05:07:03 +0000 (07:07 +0200)]
Imported Debian patch 1.2.0-4

10 years agoImported Debian patch 1.2.0-3 debian/1%1.2.0-3
Steinar H. Gunderson [Sun, 9 Aug 2009 10:47:00 +0000 (12:47 +0200)]
Imported Debian patch 1.2.0-3

10 years agoImported Debian patch 1.2.0-2 debian/1%1.2.0-2
Anibal Monsalve Salazar [Tue, 9 Jun 2009 00:50:33 +0000 (10:50 +1000)]
Imported Debian patch 1.2.0-2

10 years agoImported Debian patch 1.2.0-1 debian/1%1.2.0-1
Anibal Monsalve Salazar [Thu, 4 Jun 2009 10:01:43 +0000 (20:01 +1000)]
Imported Debian patch 1.2.0-1

10 years agoMerge branch 'upstream'
Ben Hutchings [Wed, 14 Jul 2010 02:05:07 +0000 (03:05 +0100)]
Merge branch 'upstream'

10 years agoImported Upstream version 1.2.0 upstream/1.2.0
Ben Hutchings [Wed, 14 Jul 2010 02:05:07 +0000 (03:05 +0100)]
Imported Upstream version 1.2.0

10 years agoImported Debian patch 1.1.6-1 debian/1%1.1.6-1
Steinar H. Gunderson [Mon, 20 Apr 2009 19:10:47 +0000 (21:10 +0200)]
Imported Debian patch 1.1.6-1

10 years agoMerge branch 'upstream'
Ben Hutchings [Wed, 14 Jul 2010 02:04:25 +0000 (03:04 +0100)]
Merge branch 'upstream'

Conflicts:
Makefile.in
aclocal.m4
configure
linux-nfs/Makefile.in
support/Makefile.in
support/export/Makefile.in
support/include/Makefile.in
support/include/config.h.in
support/include/nfs/Makefile.in
support/include/rpcsvc/Makefile.in
support/include/sys/Makefile.in
support/include/sys/fs/Makefile.in
support/misc/Makefile.in
support/nfs/Makefile.in
tools/Makefile.in
tools/locktest/Makefile.in
tools/nlmtest/Makefile.in
tools/rpcdebug/Makefile.in
tools/rpcgen/Makefile.in
utils/Makefile.in
utils/exportfs/Makefile.in
utils/gssd/Makefile.in
utils/idmapd/Makefile.in
utils/mount/Makefile.in
utils/mountd/Makefile.in
utils/nfsd/Makefile.in
utils/nfsstat/Makefile.in
utils/showmount/Makefile.in
utils/statd/Makefile.in

10 years agoImported Upstream version 1.1.6 upstream/1.1.6
Ben Hutchings [Wed, 14 Jul 2010 02:04:09 +0000 (03:04 +0100)]
Imported Upstream version 1.1.6

10 years agoImported Debian patch 1.1.5-2 debian/1%1.1.5-2
Anibal Monsalve Salazar [Sat, 4 Apr 2009 04:29:57 +0000 (15:29 +1100)]
Imported Debian patch 1.1.5-2

10 years agoImported Debian patch 1.1.5-1 debian/1%1.1.5-1
Anibal Monsalve Salazar [Fri, 6 Mar 2009 02:36:45 +0000 (13:36 +1100)]
Imported Debian patch 1.1.5-1

10 years agoMerge branch 'upstream'
Ben Hutchings [Wed, 14 Jul 2010 02:03:30 +0000 (03:03 +0100)]
Merge branch 'upstream'

Conflicts:
Makefile.in
aclocal.m4
config.guess
config.sub
configure
linux-nfs/Makefile.in
ltmain.sh
support/Makefile.in
support/export/Makefile.in
support/include/Makefile.in
support/include/config.h.in
support/include/nfs/Makefile.in
support/include/rpcsvc/Makefile.in
support/include/sys/Makefile.in
support/include/sys/fs/Makefile.in
support/misc/Makefile.in
support/nfs/Makefile.in
tools/Makefile.in
tools/locktest/Makefile.in
tools/nlmtest/Makefile.in
tools/rpcdebug/Makefile.in
tools/rpcgen/Makefile.in
utils/Makefile.in
utils/exportfs/Makefile.in
utils/gssd/Makefile.in
utils/idmapd/Makefile.in
utils/mount/Makefile.in
utils/mountd/Makefile.in
utils/nfsd/Makefile.in
utils/nfsstat/Makefile.in
utils/showmount/Makefile.in
utils/statd/Makefile.in

10 years agoImported Upstream version 1.1.5 upstream/1.1.5
Ben Hutchings [Wed, 14 Jul 2010 02:03:11 +0000 (03:03 +0100)]
Imported Upstream version 1.1.5

10 years agoImported Debian patch 1.1.4-1 debian/1%1.1.4-1
Steinar H. Gunderson [Fri, 7 Nov 2008 13:01:19 +0000 (14:01 +0100)]
Imported Debian patch 1.1.4-1

10 years agoMerge branch 'upstream'
Ben Hutchings [Wed, 14 Jul 2010 02:02:40 +0000 (03:02 +0100)]
Merge branch 'upstream'

Conflicts:
Makefile.in
configure
linux-nfs/Makefile.in
support/Makefile.in
support/export/Makefile.in
support/include/Makefile.in
support/include/config.h.in
support/include/nfs/Makefile.in
support/include/rpcsvc/Makefile.in
support/include/sys/Makefile.in
support/include/sys/fs/Makefile.in
support/misc/Makefile.in
support/nfs/Makefile.in
tools/Makefile.in
tools/locktest/Makefile.in
tools/nlmtest/Makefile.in
tools/rpcdebug/Makefile.in
tools/rpcgen/Makefile.in
utils/Makefile.in
utils/exportfs/Makefile.in
utils/gssd/Makefile.in
utils/idmapd/Makefile.in
utils/mount/Makefile.in
utils/mountd/Makefile.in
utils/nfsd/Makefile.in
utils/nfsstat/Makefile.in
utils/showmount/Makefile.in
utils/statd/Makefile.in

10 years agoImported Upstream version 1.1.4 upstream/1.1.4
Ben Hutchings [Wed, 14 Jul 2010 02:02:27 +0000 (03:02 +0100)]
Imported Upstream version 1.1.4

10 years agoImported Debian patch 1.1.3-2 debian/1%1.1.3-2
Anibal Monsalve Salazar [Tue, 26 Aug 2008 08:16:37 +0000 (18:16 +1000)]
Imported Debian patch 1.1.3-2