X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=ChangeLog;h=1567d8287e28d40ba58f3baee06fdbc7dc71f7b1;hp=36a16635ed4c821a85e90f03fe1dfaaa0bc97c97;hb=0036a143c415eac6388d992a4e637e7004147296;hpb=9743207017ccface520f839fb573ddef22e464ed diff --git a/ChangeLog b/ChangeLog index 36a1663..1567d82 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,263 @@ +2002-10-11 H.J. Lu + + * support/include/exportfs.h (export_errno): New. + + * support/nfs/exports.c: Include . + (export_errno): New. + (getexportent): Set export_errno to EINVAL for bad option. + (parseopts): Likewise. + Report the location of the default sync/async option. + + * utils/exportfs/exportfs.c (main): Initialize export_errno to + 0. Return export_errno. + +2002-10-11 Juan Gomez + NeilBrown + + utils/statd/statd.c(killer): don't pmap_unset if in notify_only mode + utils/statd/statd.c(main): don't pmap_unset if in notify_only mode + +2002-09-16 Chip Salzenberg + + * utils/rquotad/rquota_svc.c (main): Use int for value of getopt. + +2002-09-15 Chip Salzenberg + + * support/nfs/rpcmisc.c (rpc_init): Allow stdin to be a non-INET + socket, as occurs when run from sshd. + * debian/changelog: Version 1.0.2-1. + +2002-09-12 H.J. Lu + + * support/nfs/svc_socket.c: Remove HAVE_SVCTCP_SOCKET and + HAVE_SVCUDP_SOCKET. + +2002-09-12 H.J. Lu + + * configure.in: Remove checking svctcp_socket and svcudp_socket. + * configure: Regenerated. + + * support/include/config.h.in (HAVE_SVCTCP_SOCKET): Removed. + (HAVE_SVCUDP_SOCKET): Removed. + + * support/include/nfslib.h: Undo the last change. + +2002-09-12 H.J. Lu + + * support/include/nfslib.h (svctcp_socket): Protect it with + HAVE_SVCTCP_SOCKET. + (svcudp_socket): Protect it with HAVE_SVCUDP_SOCKET. + +2002-09-12 H.J. Lu + + * configure.in (VERSION): Set to "1.0.2". + * configure: Regenerated. + * nfs-utils.spec: Likewise. + +2002-09-12 H.J. Lu + + * configure.in: Check svctcp_socket and svcudp_socket. + * configure: Regenerated. + + * support/include/config.h.in (HAVE_SVCTCP_SOCKET): New. + (HAVE_SVCUDP_SOCKET): New. + + * support/include/nfslib.h (svctcp_socket): New. + (svcudp_socket): New. + + * support/nfs/Makefile (OBJS): Add svc_socket.o. + + * support/nfs/svc_socket.c: New. + + * support/nfs/rpcmisc.c (rpc_init): Call svctcp_socket and + svcudp_socket if port is unspecified. + + * utils/nfsd/nfsd.c (main): Call getservbyname for port. + + * utils/rquotad/rquota_svc.c: Include . + (killer): New. Signal handler to unregister. + (main): Use killer. Call svcudp_socket to get the default + socket. + +2002-09-02 Juan Gomez + NeilBrown + + Add -N option to statd to run in notify-only mode. + + * utils/statd/statd.h: uncomment MODE_NOTIFY_ONLY + * utils/statd/statd.man: document -N + * utils/statd/statd.c: enabled -N, largely exists but needed to be + uncommented and completed + +2002-09-02 Juan Gomez + NeilBrown + + statd to have " -P directory" arg to use that directory instead + of /var/lib/nfs. This is useful for fail-over clusters. + + * utils/statd/statd.h: define SM_DIR etc as var, not const. + * utils/statd/statd.c: define "-P" option to set SM_* + appropriately. + * utils/statd/monitor.c: sprintf to cope with SM_DIR not being + a constant any more. + * utils/statd/notify.c: ditto. + * utils/statd/statd.man: document -P option. + +2002-08-26 Chip Salzenberg + + * utils/nfsd/nfsd.man: Fix typo. + * debian/changelog: Version 1.0.1-1. + +2002-05-29 NeilBrown + + * let parseopts know if /etc/exports was being read or not, + and have it only print "no sync or async" warning in that case. + +2002-05-06 Tom McNeal + NeilBrown + + * utils/nfsstat/nfsstat.c: Handle differing format for + /proc/net/rpc/nfsd between pre and post 2.4.0 + +2002-04-09 NeilBrown + James Pearson + + * support/nfs/rmtab.c(fendrmtabent): sync changes to + storage before returning, as this is critical state + +2002-04-08 Sean O'Connell + H.J. Lu + + * etc/redhat/nfs: New. + +2002-04-08 H.J. Lu + + * etc/redhat/nfs.init: Updated. + + * nfs-utils.spec.in: Updated. + * nfs-utils.spec: Regenerated. + + * utils/mountd/mountd.c (longopts): Fix a typo. + + * utils/mountd/mountd.man: Updated. + +2002-04-07 H.J. Lu + + * etc/redhat/nfslock.init (restart): Just do stop and start. + + * etc/redhat/nfs.init: Fix a typo. + +2002-04-07 H.J. Lu + + * configure.in (VERSION): Set to "1.0.1". + * configure: Regenerated. + * nfs-utils.spec: Likewise. + + * README: Updated for 1.0.1. + +2002-04-07 Sean O'Connell + H.J. Lu + + * etc/redhat/nfs.init: Read /etc/sysconfig/nfsd for NFS tuning. + +2002-02-28 Steven Whitehouse + NeilBrown + + Add support for fsid=nn export option so that device + numbers don't go in filehandles. + * support/export/nfsctl.c(expsetup): if exporting and NFSEXP_FSID + is set, pass the fsid in-place of the device number + * support/nfs/exports.c: parse and print fsid= option. + Also check if efname has been set, and use "command line" + instead in error messages. + Also, use strtol instead of atoi for anon[ug]id= so that + bad numbers cause errors. + +2002-01-17 Adrian Drzewiecki + NeilBrown + + * support/nfs/exports.c: remove NFSEXP_ASYNC as a default + flag so that "sync" becomes the default. + Check that either "sync" or "async" is given as an option + and warn if neither are present + * utils/exportfs/exports.man: change documentation for "sync" + to be documentation for "async". + * utils/exportfs/exportfs.man: note that "sync" is the default + rather than "async" + + +2002-01-02 Chip Salzenberg + + * support/export/nfsctl.c (expsetup): Don't export entries that + specify id mappings not supported by the kernel. No extant kernel + supports any significant mapping, only 'identity' (i.e. none). + When other mappings are supported, this code will need changing. + * debian/changelog: Version 1.0-2. + +2001-12-26 Chip Salzenberg + + * nfs-utils.spec (Version): Set to "1.0". + * configure.in (VERSION): Likewise. + * configure: Regenerated. + * README: Rewritten. + * debian/changelog: Version 1.0-1. + + * utils/exportfs/exports.man: Emphasize the need for options to + immediately follow client names. Explain that wildcards don't + usually work on addresses, but may work when reverse DNS fails. + Comment out a leftover TP that was TPing our indentation. + * utils/mountd/mountd.man, utils/rquotad/rquotad.man, + utils/statd/statd.man: Remove refs to non-existent "hosts_allow(5)". + * debian/changelog: Version 0.3.3-6. + +2001-12-20 NeilBrown + + * support/export/client.c(client_lookup): If a host has multiple + IP addresses, then we must always use the result of a + gethostbyname, not that of gethostbyaddr for exporting + +2001-12-20 NeilBrown + + * support/export/client.c (client_lookup): use strcasecmp when + comparing host names + * support/nfs/export.c (getexportent): add fromkernel arg and use + different defaults as kernels prior to 2.4.11 assume different + defaults in /proc/fs/nfs/exports + * support/include/nfslib.h, support/export/export.c, + support/export/xtab.c: support extra "fromkernel" arg for + getexportent. + +2001-12-13 Chip Salzenberg + + * debian/changelog: Version 0.3.3-5. + +2001-11-26 TAKAI Kousuke + + * support/nfs/xio.c (xskip): Call `xungetc' instead of + `ungetc' to keep x_line more properly. + +2001-11-26 Chip Salzenberg + + * utils/showmount/showmount.c (main): Don't assume that strings + starting with digits are IP addresses. + * utils/nfsd/nfsd.c (main): Close all fds and reopen 0,1,2 on + /dev/null before nfssvc(). Use syslog to report nfssvc errors. + * support/misc/tcpwrapper.c, utils/mountd/mountd.man, + utils/rquotad/rquotad.man, utils/statd/statd.man: Fix comments and + man pages: We check host names *and* addresses with tcpwrappers. + * debian/changelog: Version 0.3.3-4. + +2001-11-21 Chip Salzenberg + + * support/nfs/clients.c (cfname): Added: current clients file name. + (setnfsclntent): Set it. + ({get,end}nfsclntent, syntaxerr): Use it. + * support/nfs/exports.c (efname): Added: current exports file name. + (setnfsexportent): Set it. + (endnfsexportent, parseopts, getexport, syntaxerr): Use it. + (parseopts): Accept old-style "crossmnt" option, for old xtabs. + * debian/changelog: Version 0.3.3-3. + 2001-10-11 Chip Salzenberg * utils/mountd/mountd.c (main): Close fds > 2 _before_ RPC init.