]> git.decadent.org.uk Git - nfs-utils.git/log
nfs-utils.git
14 years agoImported Debian patch 1.0.11~git-20060105-2 debian/1%1.0.11_git-20060105-2
Steinar H. Gunderson [Fri, 5 Jan 2007 12:38:07 +0000 (13:38 +0100)]
Imported Debian patch 1.0.11~git-20060105-2

14 years agoImported Debian patch 1.0.11~git-20060105-1 debian/1%1.0.11_git-20060105-1
Steinar H. Gunderson [Thu, 4 Jan 2007 23:36:57 +0000 (00:36 +0100)]
Imported Debian patch 1.0.11~git-20060105-1

14 years agoMerge branch 'upstream'
Ben Hutchings [Wed, 14 Jul 2010 01:42:00 +0000 (02:42 +0100)]
Merge branch 'upstream'

Conflicts:
aclocal.m4
config.guess
config.sub
configure
utils/Makefile.in

14 years agoImported Upstream version 1.0.11~git-20060105 upstream/1.0.11_git-20060105
Ben Hutchings [Wed, 14 Jul 2010 01:41:42 +0000 (02:41 +0100)]
Imported Upstream version 1.0.11~git-20060105

14 years agoImported Debian patch 1.0.10-6~quilt.7 debian/1%1.0.10-6_quilt.7
Steinar H. Gunderson [Thu, 4 Jan 2007 19:40:49 +0000 (20:40 +0100)]
Imported Debian patch 1.0.10-6~quilt.7

14 years agoImported Debian patch 1.0.10-6~quilt.6 debian/1%1.0.10-6_quilt.6
Steinar H. Gunderson [Thu, 4 Jan 2007 14:56:42 +0000 (15:56 +0100)]
Imported Debian patch 1.0.10-6~quilt.6

14 years agoImported Debian patch 1.0.10-6~quilt.5 debian/1%1.0.10-6_quilt.5
Steinar H. Gunderson [Thu, 4 Jan 2007 14:04:05 +0000 (15:04 +0100)]
Imported Debian patch 1.0.10-6~quilt.5

14 years agoImported Debian patch 1.0.10-6~quilt.4 debian/1%1.0.10-6_quilt.4
Steinar H. Gunderson [Thu, 4 Jan 2007 13:16:47 +0000 (14:16 +0100)]
Imported Debian patch 1.0.10-6~quilt.4

14 years agoImported Debian patch 1.0.10-6~quilt.3 debian/1%1.0.10-6_quilt.3
Steinar H. Gunderson [Thu, 4 Jan 2007 02:23:45 +0000 (03:23 +0100)]
Imported Debian patch 1.0.10-6~quilt.3

14 years agoImported Debian patch 1.0.10-6~quilt.2 debian/1%1.0.10-6_quilt.2
Steinar H. Gunderson [Tue, 2 Jan 2007 13:47:36 +0000 (14:47 +0100)]
Imported Debian patch 1.0.10-6~quilt.2

14 years agoImported Debian patch 1.0.10-6~quilt.1 debian/1%1.0.10-6_quilt.1
Steinar H. Gunderson [Tue, 26 Dec 2006 22:43:51 +0000 (23:43 +0100)]
Imported Debian patch 1.0.10-6~quilt.1

14 years agoImported Debian patch 1.0.10-6~quilt.0 debian/1%1.0.10-6_quilt.0
Steinar H. Gunderson [Tue, 26 Dec 2006 20:03:50 +0000 (21:03 +0100)]
Imported Debian patch 1.0.10-6~quilt.0

14 years agoImported Debian patch 1.0.10-5 debian/1%1.0.10-5
Steinar H. Gunderson [Thu, 21 Dec 2006 11:13:10 +0000 (12:13 +0100)]
Imported Debian patch 1.0.10-5

14 years agoImported Debian patch 1.0.10-4 debian/1%1.0.10-4
Steinar H. Gunderson [Tue, 7 Nov 2006 01:57:21 +0000 (02:57 +0100)]
Imported Debian patch 1.0.10-4

14 years agoImported Debian patch 1.0.10-3 debian/1%1.0.10-3
Steinar H. Gunderson [Wed, 25 Oct 2006 09:50:52 +0000 (11:50 +0200)]
Imported Debian patch 1.0.10-3

14 years agoImported Debian patch 1.0.10-2 debian/1%1.0.10-2
Steinar H. Gunderson [Wed, 11 Oct 2006 13:15:49 +0000 (15:15 +0200)]
Imported Debian patch 1.0.10-2

14 years agoImported Debian patch 1.0.10-1 debian/1%1.0.10-1
Steinar H. Gunderson [Tue, 5 Sep 2006 22:30:32 +0000 (00:30 +0200)]
Imported Debian patch 1.0.10-1

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

Conflicts:
configure

14 years agoImported Upstream version 1.0.10 upstream/1.0.10
Ben Hutchings [Wed, 14 Jul 2010 01:37:47 +0000 (02:37 +0100)]
Imported Upstream version 1.0.10

14 years agoImported Debian patch 1.0.9-12 debian/1%1.0.9-12
Steinar H. Gunderson [Tue, 5 Sep 2006 11:59:29 +0000 (13:59 +0200)]
Imported Debian patch 1.0.9-12

14 years agoImported Debian patch 1.0.9-11 debian/1%1.0.9-11
Steinar H. Gunderson [Wed, 30 Aug 2006 23:53:45 +0000 (01:53 +0200)]
Imported Debian patch 1.0.9-11

14 years agoImported Debian patch 1.0.9-10 debian/1%1.0.9-10
Steinar H. Gunderson [Sat, 26 Aug 2006 01:29:09 +0000 (03:29 +0200)]
Imported Debian patch 1.0.9-10

14 years agoImported Debian patch 1.0.9-9 debian/1%1.0.9-9
Anibal Monsalve Salazar [Fri, 25 Aug 2006 01:45:07 +0000 (11:45 +1000)]
Imported Debian patch 1.0.9-9

14 years agoImported Debian patch 1.0.9-8 debian/1%1.0.9-8
Steinar H. Gunderson [Thu, 17 Aug 2006 15:24:11 +0000 (17:24 +0200)]
Imported Debian patch 1.0.9-8

14 years agoImported Debian patch 1.0.9-7 debian/1%1.0.9-7
Steinar H. Gunderson [Sat, 12 Aug 2006 17:55:35 +0000 (19:55 +0200)]
Imported Debian patch 1.0.9-7

14 years agoImported Debian patch 1.0.9-6 debian/1%1.0.9-6
Steinar H. Gunderson [Mon, 7 Aug 2006 19:27:37 +0000 (21:27 +0200)]
Imported Debian patch 1.0.9-6

14 years agoImported Debian patch 1.0.9-5 debian/1%1.0.9-5
Steinar H. Gunderson [Wed, 19 Jul 2006 12:06:33 +0000 (14:06 +0200)]
Imported Debian patch 1.0.9-5

14 years agoImported Debian patch 1.0.9-4 debian/1%1.0.9-4
Steinar H. Gunderson [Sat, 15 Jul 2006 23:59:13 +0000 (01:59 +0200)]
Imported Debian patch 1.0.9-4

14 years agoImported Debian patch 1.0.9-3 debian/1%1.0.9-3
Steinar H. Gunderson [Thu, 13 Jul 2006 19:39:08 +0000 (21:39 +0200)]
Imported Debian patch 1.0.9-3

14 years agoImported Debian patch 1.0.9-2 debian/1%1.0.9-2
Steinar H. Gunderson [Sat, 8 Jul 2006 22:16:54 +0000 (00:16 +0200)]
Imported Debian patch 1.0.9-2

14 years agoImported Debian patch 1.0.9-1 debian/1%1.0.9-1
Anibal Monsalve Salazar [Sat, 8 Jul 2006 04:26:40 +0000 (14:26 +1000)]
Imported Debian patch 1.0.9-1

14 years agoMerge branch 'upstream'
Ben Hutchings [Wed, 14 Jul 2010 01:35:24 +0000 (02:35 +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
support/nfs/clients.c
tools/Makefile.in
tools/getiversion/Makefile.in
tools/getkversion/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.am
utils/gssd/Makefile.in
utils/gssd/svcgssd_proc.c
utils/idmapd/Makefile.in
utils/lockd/Makefile.in
utils/mount/Makefile.in
utils/mountd/Makefile.in
utils/nfsd/Makefile.in
utils/nfsstat/Makefile.in
utils/nhfsstone/Makefile.in
utils/rquotad/Makefile.in
utils/showmount/Makefile.in
utils/statd/Makefile.in

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

14 years agoImported Debian patch 1.0.8+1.0.9pre1-4 debian/1%1.0.8+1.0.9pre1-4
Steinar H. Gunderson [Sat, 8 Jul 2006 14:43:38 +0000 (16:43 +0200)]
Imported Debian patch 1.0.8+1.0.9pre1-4

14 years agoImported Debian patch 1.0.8+1.0.9pre1-3 debian/1%1.0.8+1.0.9pre1-3
Steinar H. Gunderson [Fri, 7 Jul 2006 19:12:06 +0000 (21:12 +0200)]
Imported Debian patch 1.0.8+1.0.9pre1-3

14 years agoImported Debian patch 1.0.8+1.0.9pre1-2 debian/1%1.0.8+1.0.9pre1-2
Steinar H. Gunderson [Thu, 6 Jul 2006 17:37:58 +0000 (19:37 +0200)]
Imported Debian patch 1.0.8+1.0.9pre1-2

14 years agoImported Debian patch 1.0.8+1.0.9pre1-1 debian/1%1.0.8+1.0.9pre1-1
Steinar H. Gunderson [Tue, 4 Jul 2006 16:55:51 +0000 (18:55 +0200)]
Imported Debian patch 1.0.8+1.0.9pre1-1

14 years agoMerge branch 'upstream'
Ben Hutchings [Wed, 14 Jul 2010 01:32:49 +0000 (02:32 +0100)]
Merge branch 'upstream'

Conflicts:
configure
debian/changelog
debian/control
debian/etc.exports
debian/nfs-common.default
debian/nfs-common.dirs
debian/nfs-common.init
debian/nfs-common.install
debian/nfs-common.postinst
debian/nfs-common.postrm
debian/nfs-common.prerm
debian/nfs-kernel-server.default
debian/nfs-kernel-server.dirs
debian/nfs-kernel-server.init
debian/nfs-kernel-server.postinst
debian/nfs-kernel-server.postrm
debian/nfs-kernel-server.prerm
debian/rules
support/nfs/exports.c
utils/mountd/mountd.c
utils/mountd/mountd.man

14 years agoImported Upstream version 1.0.8+1.0.9pre1 upstream/1.0.8+1.0.9pre1
Ben Hutchings [Wed, 14 Jul 2010 01:30:42 +0000 (02:30 +0100)]
Imported Upstream version 1.0.8+1.0.9pre1

14 years agoImported Debian patch 1.0.8-10 debian/1%1.0.8-10
Anibal Monsalve Salazar [Sat, 1 Jul 2006 23:53:16 +0000 (09:53 +1000)]
Imported Debian patch 1.0.8-10

14 years agoImported Debian patch 1.0.8-9 debian/1%1.0.8-9
Anibal Monsalve Salazar [Sat, 1 Jul 2006 12:30:11 +0000 (22:30 +1000)]
Imported Debian patch 1.0.8-9

14 years agoImported Debian patch 1.0.8-8 debian/1%1.0.8-8
Steinar H. Gunderson [Wed, 14 Jun 2006 08:47:23 +0000 (10:47 +0200)]
Imported Debian patch 1.0.8-8

14 years agoImported Debian patch 1.0.8-7 debian/1%1.0.8-7
Steinar H. Gunderson [Thu, 8 Jun 2006 15:31:28 +0000 (17:31 +0200)]
Imported Debian patch 1.0.8-7

14 years agoImported Debian patch 1.0.8-6 debian/1%1.0.8-6
Steinar H. Gunderson [Wed, 7 Jun 2006 21:30:15 +0000 (23:30 +0200)]
Imported Debian patch 1.0.8-6

14 years agoImported Debian patch 1.0.8-5 debian/1%1.0.8-5
Steinar H. Gunderson [Tue, 6 Jun 2006 23:13:28 +0000 (01:13 +0200)]
Imported Debian patch 1.0.8-5

14 years agoImported Debian patch 1.0.8-4 debian/1%1.0.8-4
Steinar H. Gunderson [Tue, 6 Jun 2006 09:59:28 +0000 (11:59 +0200)]
Imported Debian patch 1.0.8-4

14 years agoImported Debian patch 1.0.8-3 debian/1%1.0.8-3
Steinar H. Gunderson [Sat, 3 Jun 2006 09:00:14 +0000 (11:00 +0200)]
Imported Debian patch 1.0.8-3

14 years agoImported Debian patch 1.0.8-2 debian/1%1.0.8-2
Anibal Monsalve Salazar [Fri, 2 Jun 2006 09:08:11 +0000 (19:08 +1000)]
Imported Debian patch 1.0.8-2

14 years agoImported Debian patch 1.0.8-1 debian/1%1.0.8-1
Steinar H. Gunderson [Wed, 31 May 2006 23:59:39 +0000 (01:59 +0200)]
Imported Debian patch 1.0.8-1

14 years agoMerge branch 'upstream'
Ben Hutchings [Wed, 14 Jul 2010 01:29:37 +0000 (02:29 +0100)]
Merge branch 'upstream'

Conflicts:
config.guess
config.sub
configure
debian/changelog
debian/control
debian/etc.exports
debian/nfs-common.default
debian/nfs-common.dirs
debian/nfs-common.init
debian/nfs-common.install
debian/nfs-common.postinst
debian/nfs-common.postrm
debian/nfs-common.prerm
debian/nfs-kernel-server.default
debian/nfs-kernel-server.dirs
debian/nfs-kernel-server.init
debian/nfs-kernel-server.postinst
debian/nfs-kernel-server.postrm
debian/nfs-kernel-server.prerm
debian/rules
utils/gssd/Makefile
utils/svcgssd/Makefile

14 years agoImported Upstream version 1.0.8 upstream/1.0.8
Ben Hutchings [Wed, 14 Jul 2010 01:28:28 +0000 (02:28 +0100)]
Imported Upstream version 1.0.8

14 years agoImported Debian patch 1.0.7-19 debian/1%1.0.7-19
Steinar H. Gunderson [Sat, 27 May 2006 10:54:50 +0000 (12:54 +0200)]
Imported Debian patch 1.0.7-19

14 years agoImported Debian patch 1.0.7-18 debian/1%1.0.7-18
Steinar H. Gunderson [Sun, 21 May 2006 23:44:33 +0000 (01:44 +0200)]
Imported Debian patch 1.0.7-18

14 years agoImported Debian patch 1.0.7-17 debian/1%1.0.7-17
Steinar H. Gunderson [Sun, 14 May 2006 16:22:19 +0000 (18:22 +0200)]
Imported Debian patch 1.0.7-17

14 years agoImported Debian patch 1.0.7-16 debian/1%1.0.7-16
Steinar H. Gunderson [Sat, 13 May 2006 14:06:08 +0000 (16:06 +0200)]
Imported Debian patch 1.0.7-16

14 years agoImported Debian patch 1.0.7-15 debian/1%1.0.7-15
Steinar H. Gunderson [Thu, 11 May 2006 10:42:13 +0000 (12:42 +0200)]
Imported Debian patch 1.0.7-15

14 years agoImported Debian patch 1.0.7-14 debian/1%1.0.7-14
Steinar H. Gunderson [Wed, 10 May 2006 20:00:59 +0000 (22:00 +0200)]
Imported Debian patch 1.0.7-14

14 years agoImported Debian patch 1.0.7-13 debian/1%1.0.7-13
Steinar H. Gunderson [Fri, 5 May 2006 23:50:10 +0000 (01:50 +0200)]
Imported Debian patch 1.0.7-13

14 years agoImported Debian patch 1.0.7-12 debian/1%1.0.7-12
Steinar H. Gunderson [Wed, 3 May 2006 19:27:18 +0000 (21:27 +0200)]
Imported Debian patch 1.0.7-12

14 years agoImported Debian patch 1.0.7-11 debian/1%1.0.7-11
Steinar H. Gunderson [Wed, 3 May 2006 17:51:17 +0000 (19:51 +0200)]
Imported Debian patch 1.0.7-11

14 years agoImported Debian patch 1.0.7-10 debian/1%1.0.7-10
Steinar H. Gunderson [Wed, 26 Apr 2006 22:32:27 +0000 (00:32 +0200)]
Imported Debian patch 1.0.7-10

14 years agoImported Debian patch 1.0.7-9 debian/1%1.0.7-9
Steinar H. Gunderson [Thu, 6 Apr 2006 11:31:48 +0000 (13:31 +0200)]
Imported Debian patch 1.0.7-9

14 years agoImported Debian patch 1.0.7-8 debian/1%1.0.7-8
Steinar H. Gunderson [Wed, 5 Apr 2006 20:54:09 +0000 (22:54 +0200)]
Imported Debian patch 1.0.7-8

14 years agoImported Debian patch 1.0.7-7 debian/1%1.0.7-7
Steinar H. Gunderson [Wed, 5 Apr 2006 16:15:20 +0000 (18:15 +0200)]
Imported Debian patch 1.0.7-7

14 years agoImported Debian patch 1.0.7-6 debian/1%1.0.7-6
Steinar H. Gunderson [Sat, 1 Apr 2006 00:46:53 +0000 (02:46 +0200)]
Imported Debian patch 1.0.7-6

14 years agoImported Debian patch 1.0.7-5 debian/1%1.0.7-5
Steinar H. Gunderson [Tue, 28 Mar 2006 00:57:23 +0000 (02:57 +0200)]
Imported Debian patch 1.0.7-5

14 years agoImported Debian patch 1.0.7-4 debian/1%1.0.7-4
Anibal Monsalve Salazar [Mon, 27 Mar 2006 02:22:51 +0000 (13:22 +1100)]
Imported Debian patch 1.0.7-4

14 years agoImported Debian patch 1.0.7-3 debian/1%1.0.7-3
Anibal Monsalve Salazar [Fri, 8 Apr 2005 01:25:17 +0000 (11:25 +1000)]
Imported Debian patch 1.0.7-3

14 years agoMerge commit 'debian/1.0.7-2'
Ben Hutchings [Tue, 13 Jul 2010 03:03:30 +0000 (04:03 +0100)]
Merge commit 'debian/1.0.7-2'

Conflicts:
debian/changelog

14 years agoImported Debian patch 1.0.6-3.1 debian/1%1.0.6-3.1
Joey Hess [Wed, 5 Jan 2005 12:39:41 +0000 (07:39 -0500)]
Imported Debian patch 1.0.6-3.1

14 years agoMerge commit 'debian/1.0.6-3'
Ben Hutchings [Tue, 13 Jul 2010 02:51:44 +0000 (03:51 +0100)]
Merge commit 'debian/1.0.6-3'

14 years agoImported Upstream version 1.0.6
Ben Hutchings [Tue, 13 Jul 2010 02:51:20 +0000 (03:51 +0100)]
Imported Upstream version 1.0.6

17 years agoadd missing long option for -r in mountd
Jeff Layton [Tue, 19 Dec 2006 16:59:07 +0000 (11:59 -0500)]
add missing long option for -r in mountd

I forgot a bit of code that needs to go into patch 3 that I posted yesterday.
This adds a long option for the -r option. I'll post manpage update patches
once I get them written up.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Neil Brown <neilb@suse.de>
17 years agoReduce showmount timeouts.
Ian Kent [Tue, 19 Dec 2006 11:16:17 +0000 (20:16 +0900)]
Reduce showmount timeouts.

Showmount itself tries to use a short timeout but
the RPC clnttcp_create and clntudp_create calls will call portmap
internally to get the port to use if it is set to 0 in the passed
address structure. The above calls then use the internal timeouts,
 basically 60 seconds, which slows things down. Also the for tcp a
blocking connect is used which can take quite a while to timeout as
well.

showmount tries tcp then udp so a fail can go through several lengthy
waits before failing.

I've grabbed some of the autofs code and put together a patch to allow
specification of the timeouts for the portmap getport and to implement a
non-blocking connect.

Signed-off-by: Neil Brown <neilb@suse.de>
17 years agonhfsstone remove due to license uncertainty.
Neil Brown [Mon, 18 Dec 2006 22:44:17 +0000 (09:44 +1100)]
nhfsstone remove due to license uncertainty.

It isn't clear the the License (See DISCLAIMER) is GPLv2 compatable,
and it is believed that the code is largely unused, so get rid
of nhfsstone just to be safe.

Signed-off-by: NeilBrown <neilb@suse.de>
17 years agoadd -r flag to make mountd do reverse resolve of ipaddress on the fly
Jeff Layton [Mon, 18 Dec 2006 20:44:11 +0000 (15:44 -0500)]
add -r flag to make mountd do reverse resolve of ipaddress on the fly

For those that want "traditional" showmount -a behavior from their mountd
(hostname:/path instead of ipaddr:/path). This patch adds a '-r' flag that
does a reverse-resolve for each IP address listed in the rmtab when
a dump operation is called.

Probably not a good idea for those concerned about performance, but since it's
not the default option, I don't see it being an issue.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Neil Brown <neilb@suse.de>
17 years agoremove extraneous mountlist_add/del calls and change remaining ones to use IP addresses
Jeff Layton [Mon, 18 Dec 2006 20:43:56 +0000 (15:43 -0500)]
remove extraneous mountlist_add/del calls and change remaining ones to use IP addresses

Neil suggested a patch to change the mountlist_add and mountlist_del calls to
use IP addresses instead of the names returned by client_compose based on a
command line option flag.

I don't see any real reason to put client_compose strings into the rmtab, so
this patch makes it so that it adds IP addresses instead of those strings to
the rmtab by default.

It also removes all mountlist_add calls that are being done from kernel cache
routines. My main concern there is NFSv4. We don't seem to make any upcalls to
mountd on NFSv4 unmounts, and I don't see a way to reliably remove NFSv4
entries. So, I figured I'd stick with having mountlist_add only called when
a v2 or v3 mount call is made, and mountlist_del called only on the
corresponding unmount call.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Neil Brown <neilb@suse.de>
17 years agoDon't rely on old info in my_client
Jeff Layton [Mon, 18 Dec 2006 20:43:16 +0000 (15:43 -0500)]
Don't rely on old info in my_client

Here's a new set of patches to fix up "showmount -a", based on the approach
suggested by Neil. This first patch is fairly simple. It just stops
the current caching of my_client.

For an explanation, consider this situation with the current code:

1) Client mounts an NFS export from server that is restricted to a particular
hostname or netgroup.

2) DNS or netgroup changes so that the client would be denied.

3) Client attempts mount again. Mount succeeds, even though it shouldn't due
to the fact that mountd relies on cached info in my_client.

This situation can occur as long as no other client attempts a mount between
1 and 3 above. The patch below removes this caching, and causes a new
invocation of client_compose for each pass through auth_authenticate:

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Neil Brown <neilb@suse.de>
17 years agonfs-utils - mtab locking needed on add as well as update
Ian Kent [Thu, 14 Dec 2006 11:34:52 +0000 (20:34 +0900)]
nfs-utils - mtab locking needed on add as well as update

Hi all,

I noticed some mtab corruption the other day when doing some autofs
testing but thought nothing of it.

When investigating another issue I came across utils/mount.c:add_mtab
which looks like it adds an entry to /etc/mtab without performing
correct locking. Perhaps this is not needed when adding entries but I
think it is.

18 years agoFix -n option to mountd
Steinar H. Gunderson [Tue, 24 Oct 2006 06:10:44 +0000 (16:10 +1000)]
Fix -n option to mountd

The getopt_long() option string in mountd was having a spurious
colon after the 'n', leading to the short form of --no-tcp not
being usable (expecting a parameter, contrary to the long form
and the documentation). Fix.

18 years agoDocument sensitive gids
Steinar H. Gunderson [Tue, 24 Oct 2006 06:09:33 +0000 (16:09 +1000)]
Document sensitive gids

The exports(8) man page already mentions that some non-root users,
such as bin, might be just as sensitive as root, and that root_squash
thus might not be as effective as one could hope for. Update the
documentation to also mention that this could be the case for non-root
groups, such as staff.

18 years agoAssorted man page fixes
Neil Brown [Tue, 24 Oct 2006 06:08:26 +0000 (16:08 +1000)]
Assorted man page fixes

Mostly thanks to Sylvain Cherrier <sylvain.cherrier@free.fr>

18 years agoAllow gssd ccaches in MEMORY: rather than FILE:
Kevin Coffman [Fri, 13 Oct 2006 19:36:03 +0000 (15:36 -0400)]
Allow gssd ccaches in MEMORY: rather than FILE:

Signed-off-by: Kevin Coffman <kwc@citi.umich.edu>
Add option to store gssd ccaches in a MEMORY: cache rather
than the default FILE: cache.  In response to suggestion
from Steve Dickson <steved@redhat.com> and
Nalin Dahyabhai <nalin@redhat.com>.

18 years agoImplement a new version of lucid spkm3 context.
Olga Kornievskaia [Fri, 13 Oct 2006 19:35:57 +0000 (15:35 -0400)]
Implement a new version of lucid spkm3 context.

Signed-off-by: Olga Kornievskaia <aglo@citi.umich.edu>
Signed-off-by: Kevin Coffman <kwc@citi.umich.edu>
Implement a new version of lucid spkm3 context which is passed
down to the kernel.

18 years agoDon't always use default mapping to "nobody".
J. Bruce Fields [Fri, 13 Oct 2006 19:35:52 +0000 (15:35 -0400)]
Don't always use default mapping to "nobody".

Signed-off-by: Kevin Coffman <kwc@citi.umich.edu>
We've been ignoring all mapping errors and instead mapping to a "nobody" user
or group.

This is arguably OK for the cases where we're returning a value to the user
(so, id->name mapping on the server or name->id mapping on the client).

But it's a disaster in the other direction (id->name on the server or id->name
on the client): for example, a chown to an unknown user should *not*
automatically be translated into a succesful chown to "nobody".

This patch fixes that problem on the server side.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
18 years agoFix misc warning messages
Kevin Coffman [Fri, 13 Oct 2006 19:35:43 +0000 (15:35 -0400)]
Fix misc warning messages

Signed-off-by: Kevin Coffman <kwc@citi.umich.edu>
Clean up a few warning messages.

18 years agoOn a glibc system gethostbyname is in libc not libnsl
did447@gmail.com [Fri, 13 Oct 2006 19:35:38 +0000 (15:35 -0400)]
On a glibc system gethostbyname is in libc not libnsl

Signed-off-by: Kevin Coffman <kwc@citi.umich.edu>
Change configure test for gethostbyname, and properly
determine whether "-lnsl" or "-lsocket" are really
required.

18 years agoRestore extra help for PKG_CONFIG error
Kevin Coffman [Fri, 13 Oct 2006 19:35:32 +0000 (15:35 -0400)]
Restore extra help for PKG_CONFIG error

Signed-off-by: Kevin Coffman <kwc@citi.umich.edu>
Fix the error message printed when pkg-config is unable to locate
information for librpcsecgss so the message is actually printed.

18 years agoAdd a SEE ALSO in nfsd man page
Mike Frysinger [Mon, 21 Aug 2006 02:53:11 +0000 (12:53 +1000)]
Add a SEE ALSO in nfsd man page

18 years agoOne final step in convertion of anon = -2 -> 65534
Neil Brown [Tue, 8 Aug 2006 22:08:10 +0000 (08:08 +1000)]
One final step in convertion of anon = -2 -> 65534

Printing export options should avoid printing 'anonuid=65534'
rather than avoiding 'anonuid=-2'.

18 years agoSet version to 1.0.10 nfs-utils-1-0-10
Neil Brown [Mon, 7 Aug 2006 06:40:50 +0000 (16:40 +1000)]
Set version to 1.0.10

Note: 1.0.10 should be used in preference to
 1.0.9 especially with kernels 2.6.18 and later
 otherwise 'rpc.nfsd N' won't work to change the
 number of threads after nfsd has been started.

18 years ago"rpc.nfsd XX" should not fail if ports are already open.
Neil Brown [Mon, 7 Aug 2006 06:37:13 +0000 (16:37 +1000)]
"rpc.nfsd XX" should not fail if ports are already open.

    support/nfs/nfssvc.c:  if any ports are already open,
   don't try to open any more.
 This means that once nfsd is running
     rpc.nfsd  X
 will just change the number of threads, not the
 ports in use.

18 years agoRemove warning if neither 'sync' or 'async' present.
Neil Brown [Mon, 7 Aug 2006 04:19:32 +0000 (14:19 +1000)]
Remove warning if neither 'sync' or 'async' present.

Add warning of neither 'subtree_check' or 'no_subtree_check' present.

18 years agoFix compilation problem - write_oid not defined
Kevin Coffman [Wed, 12 Jul 2006 03:09:59 +0000 (23:09 -0400)]
Fix compilation problem - write_oid not defined

18 years agoFix off-by-one error in rpcgen
Richard Guenther [Thu, 20 Jul 2006 01:41:08 +0000 (11:41 +1000)]
Fix off-by-one error in rpcgen

We obviously need to allocate space for the terminating nul too.

18 years agoUpdate changelog and set version to 1.0.9 nfs-utils-1-0-9
Neil Brown [Sat, 8 Jul 2006 00:04:32 +0000 (10:04 +1000)]
Update changelog and set version to 1.0.9

18 years agoUse uid/gid of -1 to indicate the export's anonuid/anongid should be used
Kevin Coffman [Sat, 8 Jul 2006 00:01:40 +0000 (10:01 +1000)]
Use uid/gid of -1 to indicate the export's anonuid/anongid should be used

Kernel routine nfsd_setuser() in fs/nfsd/auth.c checks for the
value -1 and defaults the credential's fsuid/fsgid to the
correct anonuid/anongid values for the given export.  We should
be passing this value (-1) down when a name mapping cannot be found.
Thanks to J. Bruce Fields <bfields@fieldses.org> for the reference.

Signed-off-by: Kevin Coffman <kwc@citi.umich.edu>
Acked-by: J. Bruce Fields <bfields@fieldses.org>
18 years agoChange svcgssd_LDFLAGS to match gssd_LDFLAGS
Kevin Coffman [Fri, 7 Jul 2006 23:58:03 +0000 (09:58 +1000)]
Change svcgssd_LDFLAGS to match gssd_LDFLAGS

18 years agoDisable building/installing mount.nfs by default.
Neil Brown [Fri, 7 Jul 2006 23:41:58 +0000 (09:41 +1000)]
Disable building/installing mount.nfs by default.

mount.nfs does not yet support 'user' option and some others.
To make it support this we need to make it setuid-root, and
some security isses need to be resolved before that can be done
safely.

18 years agoCall nfssvc_versbits before nfssvc_setfds
Steve Dickson [Fri, 7 Jul 2006 23:35:02 +0000 (09:35 +1000)]
Call nfssvc_versbits before nfssvc_setfds

nfssvc_versbits() has to be called before nfssvc_setfds()
for the version processing to work correctly