nfs-utils.git
14 years agorpc and gssapi not longer exist in support, so remove them from Makefile nfs-utils-1-0-7-post4
neilbrown [Fri, 26 Aug 2005 02:10:18 +0000 (02:10 +0000)]
rpc and gssapi not longer exist in support, so remove them from Makefile

14 years ago Add option to set rpcsec_gss debugging level (if available) nfs-utils-1-0-7-post3
neilbrown [Fri, 26 Aug 2005 02:04:40 +0000 (02:04 +0000)]
Add option to set rpcsec_gss debugging level (if available)

Changes to allow gssd/svcgssd to build when using Hiemdal Kerberos
libraries.  Note that there are still run-time issues preventing
this from working when shared libraries for libgssapi and librpcsecgss
are used.

14 years agoRemove the rpcsec_gss code and rely on an external library instead. nfs-utils-1-0-7-post2
neilbrown [Fri, 26 Aug 2005 02:02:15 +0000 (02:02 +0000)]
Remove the rpcsec_gss code and rely on an external library instead.

14 years agoremove some files.
neilbrown [Fri, 26 Aug 2005 01:51:44 +0000 (01:51 +0000)]
remove some files.

14 years ago2005-08-26 Kevin Coffman <kwc@citi.umich.edu>
neilbrown [Fri, 26 Aug 2005 01:36:14 +0000 (01:36 +0000)]
2005-08-26 Kevin Coffman <kwc@citi.umich.edu>
*utils/mountd/mountd.c:
mountd currently always returns AUTH_NULL and AUTH_SYS as the
allowable flavors in mount replies.  We want it to also return gss
flavors when appropriate. For now as a hack we just have it always
return the KRB5 flavors as well.

*utils/mountd/cache.c:

When attempting to mount an NFSv4 pseudofilesystem (fsid=0) and the
actual exported directory does not exist on the server, rpc.mountd
doesn't check the directory exists (when fsidtype=1, i.e. using fsid,
but does check for fsidtype=0, i.e. using dev/ino).  The non-existent
exported directory path with fsid=0 is written to the kernel via
/proc/net/rpc/nfsd.export/channel, which leads to path_lookup() to
return ENOENT (seems appropriate).  Unfortunately, the new_cache
approach ignores errors returned when writing via the channel file so
that particular error is lost and the mount request is silently ignored.

Assuming it doesn't make sense to revamp the new_cache/up-call method to
not ignore returned errors, it seems appropriate to fix the case where
rpc.mountd doesn't check for the existence of an exported directory with
fsid= semantics.  The following patch does this by moving the stat() up
so it is done for both fsidtype's.  I'm not certain whether the other
tests need to be executed for fsidtype=1, but it doesn't appear to hurt
[Not exactly true: the comparison of inode numbers caused problems so
now it's kept for fsidtype=0 only].

Would it be also desirable to log a warning for every error, if any,
returned by a write to any of the /proc/net/rpc/*/channel files which
would otherwise be ignored (maybe under a debug flag)?

* gssd/mountd/svcgssd: Changes gssd, svcgssd, and mountd to ignore a
SIGHUP rather than dying.

* many: Remove the gssapi code and rely on an external library instead.

14 years ago2005-08-26 Kevin Coffman <kwc@citi.umich.edu>
neilbrown [Fri, 26 Aug 2005 01:27:17 +0000 (01:27 +0000)]
2005-08-26 Kevin Coffman <kwc@citi.umich.edu>
* utils/exportfs/exports.man: Document the "crossmnt" export export option
* utils/gssd/krb5_util.c:
Add better debugging and partially revert the function
check for gss_krb5_ccache_name.

For MIT Kerberos releases up to and including 1.3.1, we *must*
use the routine gss_krb5_ccache_name to get the K5 gssapi code
to use a different credentials cache.

For releases 1.3.2 and on, we want to use the KRB5CCNAME
environment variable to tell it what to use.
(A problem was reported where 1.3.5 was being used, our
code was using gss_krb5_ccache_name, but the underlying
code continued to use the first (or default?) credentials
cache.  Switching to using the env variable fixed the problem.
I cannot recreate this problem.

*utils/gssd/krb5_util.c:
Andrew Mahone <andrew.mahone@gmail.com> reported that reiser4
always has DT_UNKNOWN.  He supplied patch to move the check
for regular files after the stat() call to correctly find
ccache files in reiser4 filesystem.

Also change the name comparison so that the wrong file is
not selected when the substring comparison is done.

*utils/gssd/krb5_util.c:
Limit the set of encryption types that can be negotiated by
the Kerberos library to those that the kernel code currently
supports.

This should eventually query the kernel for the list of
supported enctypes.

*utils/gssd/gss_util.c, utils/svcgssd/svcgssd_main_loop.c:
Print more information in error messages to help debugging failures.

*utils/svcgssd/svcgssd_proc.c: Increase token buffer size and
update error handling so that a response is always sent.

*utils/svcgssd/svcgssd_proc.c: Add support to retrieve
supplementary groups.

14 years ago2005-08-26 Kevin Coffman <kwc@citi.umich.edu> nfs-utils-1-0-7-post1
neilbrown [Fri, 26 Aug 2005 01:20:12 +0000 (01:20 +0000)]
2005-08-26 Kevin Coffman <kwc@citi.umich.edu>
* configure.in etc
Consolidate some of the Kerberos checking instead of repeating
the same things for MIT and Heimdal.
Also adds more checks to distinguish 32-bit from 64-bit
(mainly for gssapi.h)
Fix svcgssd Makefile so make TOP=../../ works correctly there.
Enable running a modern autoheader.
* utils/gssd/gss_oids.c: Use correct OID value for SPKM-3
* utils/gssd/gss_util.c: Fix build with older MIT releases that do not define GSS_C_NT_HOSTBASED_SERVICE
* utils/gssd/write_bytes.h, support/include/gssapi/gssapi.h:
Length of gss_buffer_desc is a size_t which is 64-bits on a
64-bit machine.  Kernel code expects 32-bit integer for length.
Coerce length value into a 32-bit value when reading from or
writing to the kernel.
Change gssapi.h to use datatype size values obtained from
configure rather than hard-coded values.
* utils/idmapd/idmapd.c: The EV_INIT check here was wrong, and was
causing idmapd to become unresponsive to server requests after
receiving a sighup.
* utils/idmapd/idmapd.c: Idmapd should flush the server id<->name
caches when its started.

14 years agoFrom: Kevin Coffman <kwc@citi.umich.edu>
neilbrown [Fri, 26 Aug 2005 01:14:46 +0000 (01:14 +0000)]
From: Kevin Coffman <kwc@citi.umich.edu>

Consolidate some of the Kerberos checking instead of repeating
the same things for MIT and Heimdal.
Also adds more checks to distinguish 32-bit from 64-bit
(mainly for gssapi.h)
Fix svcgssd Makefile so make TOP=../../ works correctly there.
Enable running a modern autoheader.

(Requires that autoconf be run to regenerate configure script.)

14 years agoUpdate contact information; no functional changes.
juphoff [Sat, 23 Apr 2005 21:21:01 +0000 (21:21 +0000)]
Update contact information; no functional changes.

14 years agoSee Changelog
gmorris [Tue, 12 Apr 2005 18:35:02 +0000 (18:35 +0000)]
See Changelog

14 years agoadded version output control (-2 -3 -4)
gmorris [Tue, 12 Apr 2005 18:31:13 +0000 (18:31 +0000)]
added version output control (-2 -3 -4)

14 years agoAdded NFS v4 support
gmorris [Tue, 12 Apr 2005 16:20:39 +0000 (16:20 +0000)]
Added NFS v4 support

14 years agoAdded list mounted nfs filesystems (-m) option
gmorris [Tue, 12 Apr 2005 15:40:34 +0000 (15:40 +0000)]
Added list mounted nfs filesystems (-m) option

14 years agoDocumented new options, Added BUGS section.
gmorris [Tue, 12 Apr 2005 15:26:00 +0000 (15:26 +0000)]
Documented new options, Added BUGS section.

14 years agoAdded TOP, as needed, for easier compile in subdirectories
gmorris [Tue, 12 Apr 2005 15:16:12 +0000 (15:16 +0000)]
Added TOP, as needed, for easier compile in subdirectories

14 years agoOrphaning Debian package
chip [Thu, 7 Apr 2005 13:10:02 +0000 (13:10 +0000)]
Orphaning Debian package

14 years agomy new address
chip [Thu, 7 Apr 2005 13:08:31 +0000 (13:08 +0000)]
my new address

14 years agoDebian version 1.0.7-2.
chip [Thu, 7 Apr 2005 13:02:45 +0000 (13:02 +0000)]
Debian version 1.0.7-2.

14 years agoUpdate config.sub and config.guess.
chip [Wed, 6 Apr 2005 23:01:54 +0000 (23:01 +0000)]
Update config.sub and config.guess.

14 years agoDon't use cast as lvalue
chip [Wed, 6 Apr 2005 18:57:25 +0000 (18:57 +0000)]
Don't use cast as lvalue

14 years agoSupport "acl" and "no_acl" export options.
chip [Wed, 6 Apr 2005 18:45:10 +0000 (18:45 +0000)]
Support "acl" and "no_acl" export options.

14 years agoSanitise stderr logging.
neilbrown [Mon, 14 Mar 2005 05:49:57 +0000 (05:49 +0000)]
Sanitise stderr logging.

14 years agotreat N.N.N.N as a special case of MCL_SUBNETWORK instead of
neilbrown [Mon, 14 Mar 2005 02:18:19 +0000 (02:18 +0000)]
treat N.N.N.N as a special case of MCL_SUBNETWORK instead of
MCL_FQDN

14 years agoChanges to utils/exportfs/exports.man and support/nfs/cacheio.c
gmorris [Fri, 11 Mar 2005 06:53:30 +0000 (06:53 +0000)]
Changes to utils/exportfs/exports.man and  support/nfs/cacheio.c

14 years agoFix bug [ 1157791 ] Segfault in mountd.
gmorris [Sun, 6 Mar 2005 16:27:36 +0000 (16:27 +0000)]
Fix bug [ 1157791 ] Segfault in mountd.

14 years agoclose bug [ 1018450 ] typo.
gmorris [Sat, 5 Mar 2005 04:42:56 +0000 (04:42 +0000)]
close bug [ 1018450 ] typo.
And added SEE ALSO section.

14 years agoMake statd_get_socket actually honour the 'port' parameter.
neilbrown [Mon, 28 Feb 2005 03:19:40 +0000 (03:19 +0000)]
Make statd_get_socket actually honour the 'port' parameter.

14 years agoFix typo, Closes bug [1050003]
gmorris [Sun, 27 Feb 2005 02:25:17 +0000 (02:25 +0000)]
Fix typo, Closes bug [1050003]

14 years agoDebian 1.0.7-1.
chip [Wed, 12 Jan 2005 04:32:53 +0000 (04:32 +0000)]
Debian 1.0.7-1.

14 years agoMake symlinks, not hard links, to duplicated source files.
chip [Wed, 12 Jan 2005 01:14:57 +0000 (01:14 +0000)]
Make symlinks, not hard links, to duplicated source files.
Remove those symlinks during distclean.

14 years agoDisable NEED_SVCGSSD by default.
chip [Wed, 12 Jan 2005 00:50:49 +0000 (00:50 +0000)]
Disable NEED_SVCGSSD by default.

14 years agoTurn off NEED_IDMAPD and NEED_GSSD by default, on Bruce's advice.
chip [Tue, 11 Jan 2005 22:55:28 +0000 (22:55 +0000)]
Turn off NEED_IDMAPD and NEED_GSSD by default, on Bruce's advice.

14 years agorelease 1.0.7 nfs-utils-1-0-7
neilbrown [Fri, 17 Dec 2004 04:04:15 +0000 (04:04 +0000)]
release 1.0.7

14 years agorelease 1.0.7-pre2 nfs-utils-1-0-7-pre2
neilbrown [Fri, 10 Dec 2004 01:18:36 +0000 (01:18 +0000)]
release 1.0.7-pre2

14 years agoha-callout ands sigchld
neilbrown [Fri, 10 Dec 2004 01:15:45 +0000 (01:15 +0000)]
ha-callout ands sigchld

14 years agoconfigure improvements
neilbrown [Fri, 10 Dec 2004 01:09:07 +0000 (01:09 +0000)]
configure improvements

14 years agoHA statd updates
neilbrown [Mon, 6 Dec 2004 01:24:46 +0000 (01:24 +0000)]
HA statd updates

14 years agostatd fixes
neilbrown [Mon, 6 Dec 2004 01:05:53 +0000 (01:05 +0000)]
statd fixes

14 years agoauth_reload fix
neilbrown [Mon, 6 Dec 2004 00:45:12 +0000 (00:45 +0000)]
auth_reload fix

14 years agoCosmetics and quoting.
chip [Sat, 4 Dec 2004 21:39:05 +0000 (21:39 +0000)]
Cosmetics and quoting.

14 years agoset version to 1.0.7-pre1 nfs-utils-1-0-7-pre1
neilbrown [Fri, 3 Dec 2004 04:50:16 +0000 (04:50 +0000)]
set version to 1.0.7-pre1

14 years agorerun autoconf
neilbrown [Fri, 3 Dec 2004 04:39:33 +0000 (04:39 +0000)]
rerun autoconf

14 years agoremove nfs-utils.spec
neilbrown [Fri, 3 Dec 2004 03:56:59 +0000 (03:56 +0000)]
remove nfs-utils.spec

14 years agoremove nodist stuff
neilbrown [Fri, 3 Dec 2004 03:55:52 +0000 (03:55 +0000)]
remove nodist stuff

14 years agoremove redhat files
neilbrown [Fri, 3 Dec 2004 03:54:28 +0000 (03:54 +0000)]
remove redhat files

14 years agoIgnore SIGPIPE in statd
neilbrown [Fri, 3 Dec 2004 03:32:16 +0000 (03:32 +0000)]
Ignore SIGPIPE in statd

14 years ago*** empty log message *** nfs-utils-1-0-6-post9
neilbrown [Mon, 22 Nov 2004 05:40:58 +0000 (05:40 +0000)]
*** empty log message ***

14 years ago*** empty log message ***
neilbrown [Mon, 22 Nov 2004 05:37:36 +0000 (05:37 +0000)]
*** empty log message ***

14 years ago*** empty log message ***
neilbrown [Mon, 22 Nov 2004 05:37:36 +0000 (05:37 +0000)]
*** empty log message ***

14 years agofurther idmapd update
neilbrown [Mon, 22 Nov 2004 05:36:53 +0000 (05:36 +0000)]
further idmapd update

14 years agomore idmapd updates
neilbrown [Mon, 22 Nov 2004 05:36:08 +0000 (05:36 +0000)]
more idmapd updates

14 years agoidmapd updates
neilbrown [Mon, 22 Nov 2004 05:33:43 +0000 (05:33 +0000)]
idmapd updates

14 years agosvcgssd updates
neilbrown [Mon, 22 Nov 2004 05:31:33 +0000 (05:31 +0000)]
svcgssd updates

14 years agoRemove redhat and nodist stuff
neilbrown [Mon, 22 Nov 2004 05:28:56 +0000 (05:28 +0000)]
Remove redhat and nodist stuff

14 years agoman page typo
neilbrown [Mon, 22 Nov 2004 05:22:10 +0000 (05:22 +0000)]
man page typo

14 years agochangelog nfs-utils-1-0-6-post8
neilbrown [Tue, 19 Oct 2004 00:40:51 +0000 (00:40 +0000)]
changelog

14 years agomore gss fixes
neilbrown [Tue, 19 Oct 2004 00:31:28 +0000 (00:31 +0000)]
more gss fixes

14 years agoAdd gss support from citi @ umich nfs-utils-1-0-6-post7-gss
neilbrown [Tue, 19 Oct 2004 00:22:53 +0000 (00:22 +0000)]
Add gss support from citi @ umich

14 years agomisc debian fixed from trond
neilbrown [Tue, 19 Oct 2004 00:15:01 +0000 (00:15 +0000)]
misc debian fixed from trond

14 years agolittle debian bits
neilbrown [Tue, 19 Oct 2004 00:08:06 +0000 (00:08 +0000)]
little debian bits

15 years agoAdd the idmapd files... nfs-utils-1-0-6-post6
neilbrown [Wed, 15 Sep 2004 22:41:54 +0000 (22:41 +0000)]
Add the idmapd files...

15 years agoFix spurious error message: erroneous SM_UNMON if RESTRICTED_STATD nfs-utils-1-0-6-post5
neilbrown [Wed, 15 Sep 2004 03:07:09 +0000 (03:07 +0000)]
Fix spurious error message: erroneous SM_UNMON if RESTRICTED_STATD

15 years agoupdate Changelog nfs-utils-1-0-6-post4
neilbrown [Wed, 15 Sep 2004 02:07:41 +0000 (02:07 +0000)]
update Changelog

15 years agoPrepare to support gss authentication and idmap looks for nfsv4
neilbrown [Wed, 15 Sep 2004 01:58:37 +0000 (01:58 +0000)]
Prepare to support gss authentication and idmap looks for nfsv4

15 years agofix uninitialise variable
neilbrown [Mon, 6 Sep 2004 02:41:51 +0000 (02:41 +0000)]
fix uninitialise variable

15 years agoSupport --ha-callout for high-availability callouts nfs-utils-1-0-6-post3
neilbrown [Mon, 6 Sep 2004 02:15:04 +0000 (02:15 +0000)]
Support --ha-callout for high-availability callouts

15 years agofix fd bug
neilbrown [Tue, 31 Aug 2004 06:37:20 +0000 (06:37 +0000)]
fix fd bug

15 years agomount nfsd filesystem at startup, and unmount afterwards
neilbrown [Tue, 31 Aug 2004 06:21:31 +0000 (06:21 +0000)]
mount nfsd filesystem at startup, and unmount afterwards

15 years agofix careless editting in mountd.man
neilbrown [Tue, 8 Jun 2004 06:39:23 +0000 (06:39 +0000)]
fix careless editting in mountd.man

15 years agoFix cache flushing problem. nfs-utils-1-0-6-post2
neilbrown [Tue, 8 Jun 2004 03:16:36 +0000 (03:16 +0000)]
Fix cache flushing problem.

15 years ago * Remove obsolete debconf-related files in debian/rules, because source
chip [Wed, 24 Mar 2004 22:59:56 +0000 (22:59 +0000)]
  * Remove obsolete debconf-related files in debian/rules, because source
    diffs don't implement removals.  (closes: #239331)

15 years agoAdd comment about cleaning /var/lib/nfs in postrm.
chip [Thu, 18 Mar 2004 21:57:12 +0000 (21:57 +0000)]
Add comment about cleaning /var/lib/nfs in postrm.

15 years ago * Remove debconf warning notes in favor of nfs-kernel-server.NEWS.
chip [Thu, 18 Mar 2004 21:51:41 +0000 (21:51 +0000)]
  * Remove debconf warning notes in favor of nfs-kernel-server.NEWS.
    (closes: #228365)

15 years ago* debian/changelog: Version 1.0.6-2.
chip [Thu, 18 Mar 2004 21:47:42 +0000 (21:47 +0000)]
* debian/changelog: Version 1.0.6-2.

15 years ago * Make /etc/exports a conffile. (closes: #224557)
chip [Thu, 18 Mar 2004 21:45:34 +0000 (21:45 +0000)]
  * Make /etc/exports a conffile.  (closes: #224557)
  * Remove debconf warning notes in favor of nfs-kernel-server.NEWS.
    (closes: #228365)
  * Don't bother removing nfs-server's init links; it's long dead.

15 years agoauth_reload calls in cache.
neilbrown [Tue, 24 Feb 2004 03:38:33 +0000 (03:38 +0000)]
auth_reload calls in cache.

15 years agoDocument fsid= nfs-utils-1-0-6-post1
neilbrown [Tue, 24 Feb 2004 03:32:30 +0000 (03:32 +0000)]
Document fsid=

15 years agoUse kernel version to short-circuit the lockd test in nfs-common.init.
chip [Wed, 29 Oct 2003 21:32:50 +0000 (21:32 +0000)]
Use kernel version to short-circuit the lockd test in nfs-common.init.

15 years agoFix typo in 1.0.6 entry.
chip [Wed, 29 Oct 2003 16:21:54 +0000 (16:21 +0000)]
Fix typo in 1.0.6 entry.

16 years ago*** empty log message *** nfs-utils-1-0-6
neilbrown [Mon, 15 Sep 2003 00:06:15 +0000 (00:06 +0000)]
*** empty log message ***

16 years agoMakefile changes.
neilbrown [Sun, 14 Sep 2003 23:45:21 +0000 (23:45 +0000)]
Makefile changes.

16 years ago1.0.6
neilbrown [Fri, 12 Sep 2003 23:06:20 +0000 (23:06 +0000)]
1.0.6

16 years ago* debian/changelog: Version 1.0.6-1.
chip [Fri, 12 Sep 2003 16:53:17 +0000 (16:53 +0000)]
* debian/changelog: Version 1.0.6-1.

16 years ago * New upstream version.
chip [Fri, 12 Sep 2003 16:52:38 +0000 (16:52 +0000)]
  * New upstream version.
  * Japanese debconf translation from Kenshi Muto <kmuto@debian.org>.
    (closes: #209370)

16 years agoTweak formatting.
chip [Fri, 12 Sep 2003 16:45:39 +0000 (16:45 +0000)]
Tweak formatting.

16 years agoNew version
neilbrown [Fri, 12 Sep 2003 06:44:47 +0000 (06:44 +0000)]
New version

16 years agoWork around RLIMIT_NOFILE-to-big problem nfs-utils-1-0-5-post2nfs-utils-1-0-5-post3
neilbrown [Fri, 12 Sep 2003 06:37:16 +0000 (06:37 +0000)]
Work around RLIMIT_NOFILE-to-big problem

16 years agoUpdate time *again*.
chip [Tue, 9 Sep 2003 18:02:42 +0000 (18:02 +0000)]
Update time *again*.

16 years agoOops, I missed another unused var.
chip [Tue, 9 Sep 2003 18:02:06 +0000 (18:02 +0000)]
Oops, I missed another unused var.

16 years agoUpdate time of 1.0.5-3.
chip [Tue, 9 Sep 2003 17:53:56 +0000 (17:53 +0000)]
Update time of 1.0.5-3.

16 years ago * utils/showmount/showmount.c (main): Fix inet_ntoa() parameter.
chip [Tue, 9 Sep 2003 17:53:01 +0000 (17:53 +0000)]
* utils/showmount/showmount.c (main): Fix inet_ntoa() parameter.
* tools/rpcgen/rpc_cout.c (print_header): Remove unused vars.
* tools/rpcgen/rpc_parse.c (def_union): Likewise.

16 years ago * debian/changelog: Version 1.0.5-3.
chip [Tue, 9 Sep 2003 17:41:10 +0000 (17:41 +0000)]
* debian/changelog: Version 1.0.5-3.

16 years ago * support/export/hostname.c (get_reliable_hostbyaddr): Fix crash
chip [Tue, 9 Sep 2003 16:01:57 +0000 (16:01 +0000)]
* support/export/hostname.c (get_reliable_hostbyaddr): Fix crash
on invalid reverse DNS.

16 years agoRename statd log() to note() to avoid conflict with ISO C.
chip [Fri, 22 Aug 2003 16:03:04 +0000 (16:03 +0000)]
Rename statd log() to note() to avoid conflict with ISO C.

16 years agodebian/changelog: Version 1.0.5-2.
chip [Wed, 20 Aug 2003 21:03:50 +0000 (21:03 +0000)]
debian/changelog: Version 1.0.5-2.

16 years agoNormalize spacing.
chip [Wed, 20 Aug 2003 20:59:31 +0000 (20:59 +0000)]
Normalize spacing.

16 years agoclose a filehandle before opening.
neilbrown [Mon, 11 Aug 2003 05:55:49 +0000 (05:55 +0000)]
close a filehandle before opening.

16 years agoChange CROSSMNT to CROSSMOUNT
neilbrown [Wed, 6 Aug 2003 05:23:13 +0000 (05:23 +0000)]
Change CROSSMNT to CROSSMOUNT

16 years ago/proc/fs/nfsd as an alternate to /proc/fs/nfsd nfs-utils-1-0-5-post2
neilbrown [Mon, 4 Aug 2003 04:25:54 +0000 (04:25 +0000)]
/proc/fs/nfsd as an alternate to /proc/fs/nfsd

16 years agoOpen channel files O_WRONLY, and improve mountlist support. nfs-utils-1-0-5-post1
neilbrown [Mon, 4 Aug 2003 03:14:23 +0000 (03:14 +0000)]
Open channel files O_WRONLY, and improve mountlist support.