1 2002-04-08 H.J. Lu <hjl@lucon.org>
5 * etc/redhat/nfs.init: Updated.
7 * nfs-utils.spec.in: Updated.
8 * nfs-utils.spec: Regenerated.
10 * utils/mountd/mountd.c (longopts): Fix a typo.
12 * utils/mountd/mountd.man: Updated.
14 2002-04-07 H.J. Lu <hjl@lucon.org>
16 * etc/redhat/nfslock.init (restart): Just do stop and start.
18 * etc/redhat/nfs.init: Fix a typo.
20 2002-04-07 H.J. Lu <hjl@lucon.org>
22 * configure.in (VERSION): Set to "1.0.1".
23 * configure: Regenerated.
24 * nfs-utils.spec: Likewise.
26 * README: Updated for 1.0.1.
28 2002-04-07 Sean O'Connell <sean@ee.duke.edu>
29 H.J. Lu <hjl@lucon.org>
31 * etc/redhat/nfs.init: Read /etc/sysconfig/nfsd for NFS tuning.
33 2002-02-28 Steven Whitehouse <steve@gw.chygwyn.com>
34 NeilBrown <neilb@cse.unsw.edu.au>
36 Add support for fsid=nn export option so that device
37 numbers don't go in filehandles.
38 * support/export/nfsctl.c(expsetup): if exporting and NFSEXP_FSID
39 is set, pass the fsid in-place of the device number
40 * support/nfs/exports.c: parse and print fsid= option.
41 Also check if efname has been set, and use "command line"
42 instead in error messages.
43 Also, use strtol instead of atoi for anon[ug]id= so that
44 bad numbers cause errors.
46 2002-01-17 Adrian Drzewiecki <drze@MissionCriticalLinux.com>
47 NeilBrown <neilb@cse.unsw.edu.au>
49 * support/nfs/exports.c: remove NFSEXP_ASYNC as a default
50 flag so that "sync" becomes the default.
51 Check that either "sync" or "async" is given as an option
52 and warn if neither are present
53 * utils/exportfs/exports.man: change documentation for "sync"
54 to be documentation for "async".
55 * utils/exportfs/exportfs.man: note that "sync" is the default
59 2002-01-02 Chip Salzenberg <chip@pobox.com>
61 * support/export/nfsctl.c (expsetup): Don't export entries that
62 specify id mappings not supported by the kernel. No extant kernel
63 supports any significant mapping, only 'identity' (i.e. none).
64 When other mappings are supported, this code will need changing.
65 * debian/changelog: Version 1.0-2.
67 2001-12-26 Chip Salzenberg <chip@pobox.com>
69 * nfs-utils.spec (Version): Set to "1.0".
70 * configure.in (VERSION): Likewise.
71 * configure: Regenerated.
73 * debian/changelog: Version 1.0-1.
75 * utils/exportfs/exports.man: Emphasize the need for options to
76 immediately follow client names. Explain that wildcards don't
77 usually work on addresses, but may work when reverse DNS fails.
78 Comment out a leftover TP that was TPing our indentation.
79 * utils/mountd/mountd.man, utils/rquotad/rquotad.man,
80 utils/statd/statd.man: Remove refs to non-existent "hosts_allow(5)".
81 * debian/changelog: Version 0.3.3-6.
83 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
85 * support/export/client.c(client_lookup): If a host has multiple
86 IP addresses, then we must always use the result of a
87 gethostbyname, not that of gethostbyaddr for exporting
89 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
91 * support/export/client.c (client_lookup): use strcasecmp when
93 * support/nfs/export.c (getexportent): add fromkernel arg and use
94 different defaults as kernels prior to 2.4.11 assume different
95 defaults in /proc/fs/nfs/exports
96 * support/include/nfslib.h, support/export/export.c,
97 support/export/xtab.c: support extra "fromkernel" arg for
100 2001-12-13 Chip Salzenberg <chip@pobox.com>
102 * debian/changelog: Version 0.3.3-5.
104 2001-11-26 TAKAI Kousuke <takai@vlsi.kuee.kyoto-u.ac.jp>
106 * support/nfs/xio.c (xskip): Call `xungetc' instead of
107 `ungetc' to keep x_line more properly.
109 2001-11-26 Chip Salzenberg <chip@pobox.com>
111 * utils/showmount/showmount.c (main): Don't assume that strings
112 starting with digits are IP addresses.
113 * utils/nfsd/nfsd.c (main): Close all fds and reopen 0,1,2 on
114 /dev/null before nfssvc(). Use syslog to report nfssvc errors.
115 * support/misc/tcpwrapper.c, utils/mountd/mountd.man,
116 utils/rquotad/rquotad.man, utils/statd/statd.man: Fix comments and
117 man pages: We check host names *and* addresses with tcpwrappers.
118 * debian/changelog: Version 0.3.3-4.
120 2001-11-21 Chip Salzenberg <chip@pobox.com>
122 * support/nfs/clients.c (cfname): Added: current clients file name.
123 (setnfsclntent): Set it.
124 ({get,end}nfsclntent, syntaxerr): Use it.
125 * support/nfs/exports.c (efname): Added: current exports file name.
126 (setnfsexportent): Set it.
127 (endnfsexportent, parseopts, getexport, syntaxerr): Use it.
128 (parseopts): Accept old-style "crossmnt" option, for old xtabs.
129 * debian/changelog: Version 0.3.3-3.
131 2001-10-11 Chip Salzenberg <chip@pobox.com>
133 * utils/mountd/mountd.c (main): Close fds > 2 _before_ RPC init.
134 * debian/changelog: Version 0.3.3-2.
136 2001-10-08 Chip Salzenberg <chip@pobox.com>
138 * utils/mountd/mountd.c (main): When daemonizing, close all fds > 2.
139 * utils/Makefile.in: Remove old Makefile in target 'distclean'.
140 * utils/mountd/mountd.man: Update paths to /var/lib.
141 * debian/*: Version 0.3.3-1, with Debian-specific fixes.
143 2001-10-06 Preston Brown <pbrown@redhat.com>
145 * utils/nfsstat/nfsstat.man: Updated.
147 2001-09-24 H.J. Lu <hjl@lucon.org>
149 * configure.in (VERSION): Set to "0.3.3".
150 * configure: Regenerated.
151 * nfs-utils.spec: Likewise.
153 * README: Updated for 0.3.3.
155 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
157 Arrange that "exportfs -au" never does DNS lookup:
159 * support/export/client.c (client_lookup) : add "canonical"
160 flag which says that the hostname is known to be canonical, so
163 * support/export/export.c (export_create) : add "canonical"
164 flag to be passed down to client_lookup
165 * support/export/export.c (export_lookup) : Likewise
167 * support/export/xtab.c (xtab_read) : pass appropriate
168 "canonical" flag to export_lookup and export_create:
169 set if reading list of filesystems currently exports
172 * support/export/export.c (export_read) : pass 0 as
173 "canonical" flag to export_lookup and export_create
174 * support/export/rmtab.s (rmtab_read) : Likewise
176 * support/include/exportfs.h : redeclare various routines
177 to have "canonical" flag
179 * utils/exportfs/exportfs.c (main) : redo logic for
180 "-au" to read in what is currently exported, but never even
181 look at what "should" be exported.
183 * utils/exportfs/exportfs.c (unexportall) : remove this
184 routine. Functionality is completely included in
187 * utils/exportfs/exportfs.c (exportfs) : set "canonical"
188 flag to zero in calls to export_lookup and export_create.
191 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
192 Anne Milicia <milicia@missioncriticallinux.com>
194 * support/export/client.c (client_lookup) call gethostbyadd
195 to make sure that we have a canonical hostname, even for
197 * utils/exportfs/exportfs.c (exportfs) Likewise
199 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
201 * support/nfs/exports.c (putexportent): \octal quote any spaces
203 * support/nfs/xio.c (xgettok): recognise double-quote and
204 \octal quoting in path names
205 * utils/exportfs/exports.man: document quoting conventions
208 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
210 * utils/mountd/auth.c (auth_authenticate_internal): Reverse
211 change from 2000-08-02: It causes problems if someone exports
212 to both a hostname and IP addresses. nfs-utils must be
213 consistant about the canonical name that it chooses.
215 2001-08-17 Ragnar Kjørstad <nfs@ragnark.vestdata.no>
216 H.J. Lu <hjl@lucon.org>
218 * etc/redhat/nfslock.init (STATDARG): New. Pass it to rpc.statd.
220 * utils/statd/statd.c (longopts): Add "name".
221 (usage): Add "-n/--name".
222 (main): Set MY_NAME with "-n/--name".
224 * utils/statd/state.c (change_state): Set MY_NAME only if it
227 * utils/statd/statd.man: Updated for "-n/--name".
229 2001-07-26 H.J. Lu <hjl@lucon.org>
231 * nfs-utils.spec (Release): Set to 8.
233 2001-07-25 H.J. Lu <hjl@lucon.org>
235 * etc/redhat/nfs.init: Check if rpc.rquotad exists before doing
238 2001-06-27 H.J. Lu <hjl@lucon.org>
240 * etc/redhat/nfs.init: Run rpc.rquotad only if it exists.
242 2001-06-27 H.J. Lu <hjl@lucon.org>
244 * utils/rquotad/rquota_server.c: Don't call statfs () for
245 the block size. Use BLOCK_SIZE instead.
247 2001-06-27 H.J. Lu <hjl@lucon.org>
249 * config.mk.in (CC_FOR_BUILD): Renamed from BUILD_CC.
250 (CFLAGS_FOR_BUILD): New. Don't use @CFLAGS@.
252 * configure.in (enable_nfsv3): Set to yes by default.
253 (--enable-rquotad): Added
254 (AC_PROG_CXX): Removed.
255 (AC_OUTPUT): Add utils/Makefile.
256 (CC_FOR_BUILD): Renamed from BUILD_CC.
257 * configure: Regenerated.
259 * utils/Makefile: Removed.
261 * utils/Makefile.in: New.
263 * nfs-utils.spec.in (rquotad): New. Set to 0 to disable
265 (CC_FOR_BUILD): Renamed from BUILD_CC.
266 * nfs-utils.spec: Regenerated.
268 2001-06-15 Chip Salzenberg <chip@debian.org>
270 * debian/changelog: Version 0.3.2-2.
271 * debian/*.init: Minor fixes.
273 2001-06-07 Lon H. Hohberger <hohberger@missioncriticallinux.com>
275 * etc/nodist/nfs-server: Fixed a bug where the script would
276 disable mounts from NFSv3 clients if NFSv3 is present.
278 2001-06-05 H.J. Lu <hjl@lucon.org>
280 * utils/mountd/mountd.c (longopts): Add "descriptors/o".
281 (main): Support --descriptors/-o to set the limit of the number
282 of open file descriptors.
285 * utils/mountd/mountd.man: Updated for --descriptors/-o.
287 2001-06-04 H.J. Lu <hjl@lucon.org>
289 * nfs-utils.spec (Release): Set to 6.
291 2001-05-28 H.J. Lu <hjl@lucon.org>
293 * utils/lockd/lockd.c (main): chdir to NFS_STATEDIR.
294 * utils/mountd/mountd.c (main): Likewise.
295 * utils/nfsd/nfsd.c (main): Likewise.
296 * utils/rquotad/rquota_svc.c (main): Likewise.
298 2001-05-06 Anne Milicia <milicia@missioncriticallinux.com>
300 * support/export/client.c (client_check): Check IP address
303 2001-05-06 Neil Brown <neilb@cse.unsw.edu.au>
305 * support/export/client.c (client_gettype): Treat `*' as
308 2001-04-22 H.J. Lu <hjl@lucon.org>
310 * nfs-utils.spec.in: Fix a typo.
311 * nfs-utils.spec: Regenerated.
313 2001-04-21 H.J. Lu <hjl@lucon.org>
315 * nfs-utils.spec.in: Fix cross build.
316 * nfs-utils.spec: Regenerated.
319 2001-04-18 H.J. Lu <hjl@lucon.org>
321 * nfs-utils.spec.in: Support cross build.
322 * nfs-utils.spec: Regenerated.
328 * config.mk.in (BUILD_CC): New.
329 (CC): Set to $(BUILD_CC) if BUILD is defined.
332 (RANLIB): Set to @RANLIB@.
334 * configure.in: Check BUILD_CC, RANLIB, AR and LD.
335 * configure: Regenerated.
337 * tools/rpcgen/Makefile (BUILD): Set to true.
339 2001-04-01 Chip Salzenberg <chip@valinux.com>
341 * tools/rpcgen/rpc_svcout.c (write_timeout_func): Remove
342 redundant, and sometimes broken, declaration of svc_fdset;
344 * support/nfs/rpcmisc.c (closedown): Likewise.
346 2001-03-21 H.J. Lu <hjl@lucon.org>
348 * nfs-utils.spec: Regenerated.
351 2001-03-21 Ion Badulescu <ionut@cs.columbia.edu>
353 * utils/statd/statd.c (main): make sure file descriptors 0-2
354 are open to /dev/null.
356 2001-03-21 H.J. Lu <hjl@lucon.org>
358 * support/nfs/rpcmisc.c: Restore the change made on 2001-03-10.
359 * support/nfs/rpcmisc.c: Likewise.
360 * utils/rquotad/rquota_svc.c: Likewise.
361 * utils/rquotad/rquotad.man: Likewise.
362 * utils/statd/Makefile: Likewise.
363 * utils/statd/rmtcall.c: Likewise.
364 * utils/statd/simulate.c: Likewise.
365 * utils/statd/statd.c: Likewise.
366 * utils/statd/statd.man: Likewise.
368 2001-03-11 H.J. Lu <hjl@lucon.org>
370 * configure.in (RELEASE): New. Default to 1, set by
371 --with-release=XXX. Substitute nfs-utils.spec.
372 * nfs-utils.spec.in (Release): Set to @RELEASE@.
373 * configure: Regenerated.
374 * nfs-utils.spec: Likewise.
376 2001-03-11 H.J. Lu <hjl@lucon.org>
378 * utils/rquotad/rquotad.man: Fix a typo.
380 2001-03-11 H.J. Lu <hjl@lucon.org>
382 * support/include/rpcmisc.h: Undo the change made on 2001-03-10.
383 * support/nfs/rpcmisc.c: Likewise.
384 * utils/rquotad/rquota_svc.c: Likewise.
385 * utils/rquotad/rquotad.man: Likewise.
386 * utils/statd/Makefile: Likewise.
387 * utils/statd/rmtcall.c: Likewise.
388 * utils/statd/simulate.c: Likewise.
389 * utils/statd/statd.c: Likewise.
390 * utils/statd/statd.man: Likewise.
392 2001-03-10 H.J. Lu <hjl@lucon.org>
394 * configure.in (VERSION): Set to "0.3.2".
395 * configure: Regenerated.
396 * nfs-utils.spec: Likewise.
398 * README: Updated for 0.3.2.
400 2001-03-10 Tavis Barr <tavis@boole.isetr.columbia.edu>
402 * utils/rquotad/rquotad.man: Updated for -p.
403 * utils/statd/statd.man: Likewise.
405 2001-03-10 Ion Badulescu <ionut@cs.columbia.edu>
407 * support/nfs/rpcmisc.c: export makesock()
409 * support/include/rpcmisc.h (makesock): Declared.
411 * utils/rquotad/rquota_svc.c: added longopts, added support for
412 specifying the port to bind to on the command line.
414 * utils/statd/statd.c: ditto, also specify port used for
415 outgoing connections.
416 (do_regist): Removed.
418 * utils/statd/rmtcall.c (statd_get_socket): Renamed from
419 get_socket. Make it extern.
421 * utils/statd/simulate.c (daemon_simulator): Call rpc_init
422 instead of do_regist.
424 * utils/statd/Makefile (LIBS): link with our own libnfs
426 2001-03-09 H.J. Lu <hjl@lucon.org>
428 * etc/redhat/nfslock.init: Changed chkconfig line to 60 86.
429 * etc/nodist/nfs-client: Likewise.
431 2001-02-26 Chip Salzenberg <chip@valinux.com>
433 * debian/changelog: Version 0.3.1-1.
434 * Mention upstream source and license in copyright file.
435 * Add build-Depends for debhelper and libwrap0-dev.
437 2001-02-20 Lon Hohberger <hohberger@missioncriticallinux.com>
439 * etc/nodist/nfs-server: Changed chkconfig line to 60 20
440 * etc/nodist/nfs-client: Likewise.
442 2001-02-18 Lon Hohberger <hohberger@missioncriticallinux.com>
444 * utils/statd/statd.man: Changed /usr/sbin/rpc.statd to
447 2001-02-17 Patrick J. LoPresti <patl@curl.com>
449 * utils/statd/log.c (log_init): Use LOG_DAEMON instead of
452 2001-02-14 H.J. Lu <hjl@lucon.org>
454 * utils/statd/rmtcall.c: Include <time.h>.
455 * utils/statd/svc_run.c: Likewise.
457 2001-02-14 H.J. Lu <hjl@lucon.org>
459 * configure.in (VERSION): Set to "0.3.1".
460 * configure: Regenerated.
461 * nfs-utils.spec: Likewise.
463 * README: Updated for 0.3.1.
465 2001-02-14 H.J. Lu <hjl@lucon.org>
467 * support/nfs/rpcmisc.c: Include <time.h>.
469 2001-02-14 Chip Salzenberg <chip@valinux.com>
471 * debian/control: Change priority of nhfsstone package to 'extra'.
473 2001-02-12 Chip Salzenberg <chip@valinux.com>
475 * debian/changelog: Version 0.3-2.
477 2001-02-02 H.J. Lu <hjl@lucon.org>
479 * support/include/rpcmisc.h (rpc_init): Remove bufsize.
481 * support/nfs/rpcmisc.c (makesock): Remove socksz and comment
482 out SO_SNDBUF/SO_RCVBUF.
483 (rpc_init): Remove bufsize and remove socksz in calls to
486 * utils/mountd/mountd.c (main): Remove bufsize in calls to
489 2001-01-28 Chip Salzenberg <chip@valinux.com>
491 * debian/changelog: Version 0.3-1.
493 2001-01-25 H.J. Lu <hjl@lucon.org>
495 * configure.in (VERSION): Set to "0.3".
496 * configure: Regenerated.
497 * nfs-utils.spec: Likewise.
499 * README: Updated for 0.3.
501 2001-01-25 H.J. Lu <hjl@lucon.org>
503 * utils/lockd/lockd.c (main): Ignore errno == EINVAL.
505 2001-01-20 Chip Salzenberg <chip@valinux.com>
507 * support/include/xio.h (xgetc): Declare to return int.
508 * support/nfs/xio.c (xgetc): Return int.
509 (xgettok, xskip, xskipcomment): Use int for value of xgetc.
510 * utils/statd/statd.c (main): Use int for value of getopt.
511 * debian/changelog: Version 0.2.1-5.
513 2000-12-10 Chip Salzenberg <chip@valinux.com>
515 * utils/statd/monitor.c (sm_mon_1_svc): Fix buggy check for
516 program and procedure numbers of kernel lockd's callback. Also,
517 besides the old (and broken) procedure #24, allow #16 per Trond.
519 2000-12-03 Chip Salzenberg <chip@valinux.com>
521 * support/nfs/xio.c (xfopen): Initialize x_line to one, not zero.
522 * debian/control: Let nhfsstone replace files in nfs-kernel-server.
523 * debian/changelog: Version 0.2.1-4.
525 2000-11-27 Tobias Ringstrom <tori@tellus.mine.nu>
527 * utils/mountd/auth.c (auth_authenticate): Log the bad path
530 2000-11-24 Neil Brown <neilb@cse.unsw.edu.au>
532 * support/nfs/exports.c (getexportent): Check for host name
533 without option, or options without hostname, and print a warning,
534 as this is most likely a typo.
536 2000-11-19 Chip Salzenberg <chip@valinux.com>
538 * debian/control: Add dependency on portmap.
539 * debian/changelog: Version 0.2.1-3.
541 2000-11-10 H.J. Lu <hjl@lucon.org>
543 * nfs-utils.spec.in: Don't use libtool.
544 Add ChangeLog and COPYING to doc.
545 * nfs-utils.spec: Rebuild.
547 2000-11-09 H.J. Lu <hjl@lucon.org>
549 * etc/redhat/nfs.init (start): Back out the last change.
551 2000-11-09 H.J. Lu <hjl@lucon.org>
553 * etc/redhat/nfs.init (start): Pass --no-tcp to mountd if
554 TCP is not supported by kernel.
556 * support/nfs/rpcmisc.c (rpc_init): Don't set _rpcfdtype to 0.
558 * utils/mountd/mountd.c (longopts): Add "-n/--no-tcp".
559 (main): Set to _rpcfdtype to SOCK_DGRAM for "-n/--no-tcp".
561 * utils/mountd/mountd.man: Updated for "-n/--no-tcp".
563 2000-10-24 Lon Hohberger <hohberger@missioncriticallinux.com>
565 * utils/statd/callback.c: Fix bug preventing callbacks to local lockd.
566 * utils/statd/rmtcall.c: Add some IP address paranoia when doing
567 callbacks to local lockd.
569 2000-10-18 Scott McDermott <mcdermot@questra.com>
571 * utils/exportfs/exports.man: Updated for CIDR netmask.
573 2000-10-17 Scott McDermott <mcdermot@questra.com>
575 * support/export/client.c (client_init): Support CIDR netmask
578 2000-10-11 H.J. Lu <hjl@lucon.org>
580 * aclocal.m4 (AC_TCP_WRAPPER): Fix a typo.
581 * configure: Rebuilt.
583 2000-10-06 Lon Hohberger <hohberger@missioncriticallinux.com>
585 * utils/statd/statd.man: Change "/var/lib/nfs/sm/state" to
586 "/var/lib/nfs/state".
588 2000-10-05 Lon Hohberger <hohberger@missioncriticallinux.com>
590 * utils/statd/statd.h (run_mode): New global bitmask of runtime
591 behaviors: fg/bg, logging, etc.
592 * utils/statd/statd.c: New command line options: -V -h -? -d .
593 * utils/statd/statd.man: Update for changes to statd.
595 * utils/statd/log.h (log_init): Remove parameter of function; use
596 global variable "name_p" instead.
597 * utils/statd/log.c: Add support for logging to stderr.
599 * utils/statd/notlist.c: Partially rewrite notify list handling
600 functions. Eliminate run-off-end-of-list bug when calling
601 nlist_insert_timer. Add lots of comments.
603 2000-09-27 H.J. Lu <hjl@lucon.org>
605 * README: Updated for RedHat 7.0.
607 2000-09-27 H.J. Lu <hjl@lucon.org>
609 * nfs-utils.spec: Rebuild.
611 2000-09-27 H.J. Lu <hjl@lucon.org>
613 * README: Updated for 0.2.1.
615 2000-09-27 H.J. Lu <hjl@lucon.org>
617 * nfs-utils.spec.in: Updated to use rpm macros and support
620 2000-09-25 H.J. Lu <hjl@lucon.org>
622 * configure.in (VERSION): Set to "0.2.1".
623 * configure: Regenerated.
624 * nfs-utils.spec: Updated.
626 2000-09-25 H.J. Lu <hjl@lucon.org>
628 * utils/mountd/auth.c (auth_authenticate_internal): Make sure a
629 non-NULL hostent is always returned.
631 2000-09-11 Ion Badulescu <ionut@cs.columbia.edu>
633 * etc/redhat/nfslock.init: don't kill lockd processes that do not
634 have an executable (i.e. kernel threads)
636 2000-09-01 H.J. Lu <hjl@lucon.org>
638 * README: Updated for 0.2.
640 2000-09-01 Jay Weber <jweber@valinux.com>
642 * etc/redhat/nfs.init: Added ability for rpc.mountd to default to
643 supporting version 3 of nfs if available, else it will fall back to
644 version 2 support only.
646 2000-08-30 H.J. Lu <hjl@lucon.org>
648 * configure.in (VERSION): Set to "0.2".
649 * configure: Regenerated.
650 * nfs-utils.spec: Updated.
652 2000-08-25 H.J. Lu <hjl@lucon.org>
654 * support/misc/tcpwrapper.c (logit): Modify the log output.
656 2000-08-25 Ion Badulescu <ionut@cs.columbia.edu>
658 * utils/rquotad/rquotad.man, utils/statd/statd.man,
659 utils/mountd/mountd.man: updated
661 * utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL)
662 * utils/rquotad/Makefile: fix comment
664 * support/misc/tcpwrapper.c (logit): added comment about waiting
665 for the children after fork()
667 * utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving
668 zombies behind (from logit()'s fork)
669 * utils/rquotad/rquota_svc.c (main): ditto
670 * utils/statd/statd.c (main): ditto
672 * utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG
673 to check_default instead of 0, for prognum
675 * utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG
676 to check_default instead of 0, for prognum
678 * utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if
679 HAVE_TCP_WRAPPER is defined.
680 (mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is
681 defined. Reject an RPC call if check_default () fails.
683 2000-08-25 H.J. Lu <hjl@lucon.org>
685 * support/include/tcpwrapper.h: New for the tcp wrapper
687 * support/misc/Makefile: Likewise.
688 * support/misc/from_local.c: Likewise.
689 * support/misc/tcpwrapper.c: Likewise.
691 * aclocal.m4 (AC_TCP_WRAPPER): New.
692 * configure.in: Use it. Substitute LIBWRAP.
693 * configure: Rebuilt.
695 * config.mk.in (LIBNSL): New.
698 * support/Makefile (SUBDIRS): Add misc.
700 * support/lib/Makefile (LIBS): Add libmisc.a.
702 * utils/rquotad/Makefile (LIBS): Add
704 -lmisc $(LIBWRAP) $(LIBNSL)
706 * utils/statd/Makefile (LIBS): Likewise.
708 * utils/rquotad/rquota_svc.c: Include "tcpwrapper.h" if
709 HAVE_TCP_WRAPPER is defined.
710 (rquotaprog_1): Call check_default () if HAVE_TCP_WRAPPER is
711 defined. Reject an RPC call if check_default () fails.
713 * utils/statd/statd.c: Include "tcpwrapper.h" if
714 HAVE_TCP_WRAPPER is defined.
715 (sm_prog_1_wrapper): New. A wrapper for sm_prog_1. Call
716 check_default () before calling sm_prog_1 (). Define it as
717 sm_prog_1_wrapper if HAVE_TCP_WRAPPER is defined.
719 2000-08-25 Chip Salzenberg <chip@valinux.com>
721 * debian/*: Complete Debian build support.
722 * etc/debian/*: Remove.
724 2000-08-24 Neil Brown <neilb@cse.unsw.edu.au>
726 * support/export/client.c(client_check): removed the "dot+1" as a
727 ypdomain argument to innetgr as this is entirely bogus.
728 It should always be NULL.
730 2000-08-23 Neil Brown <neilb@cse.unsw.edu.au>
732 * support/export/xtab.c(xtab_read): introduce new mode for
733 reading xtab. i.e. a list of exports that might be known to the
734 kernel, or might not. These are flagged as m_exported == -1
735 * support/export/xtab.c(xtab_mount_read): call xtab_read with new
736 value "2" for xtab, meaning don't trust this too much.
737 * support/include/exportfs.h(struct mexport): changed m_exported
738 from one bit to an int so that it can hold new value
739 * utils/exportfs/exportfs.c(exportfs_ipdate): add an export to the
740 kernel if it is uncertain whether the kernel knows (m_exported == -1)
741 * utils/mountd/mountd.c(get_rootfh): similarly export to kernel if
744 * support/nfs/xio.c(xflock): added O_CREAT when getting
745 a write lock so that missing files aren't fatal.
747 * etc/debian/nfs-common: new file from "potato"
748 * etc/debian/nfs-kernel-server: new file from "potato" plus fixes.
750 2000-08-09 H.J. Lu <hjl@lucon.org>
752 * etc/redhat/nfs.init: Run /usr/sbin/exportfs first during
753 startup to ensure all existing clients work fine.
755 * support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0
756 to xtab_read () for reading _PATH_XTAB.
758 2000-08-02 H.J. Lu <hjl@lucon.org>
760 * utils/mountd/auth.c (auth_authenticate_internal): Try to
761 avoid the reverse name lookup.
763 2000-07-04 H.J. Lu <hjl@lucon.org>
765 * utils/statd/log.c: Include <stdlib.h> for exit ().
767 * utils/statd/misc.c (xunlink): Add `{' and `}' to quiet the
770 2000-07-04 H.J. Lu <hjl@lucon.org>
772 * configure.in (VERSION): Set to "0.1.9.1".
773 * configure: Regenerated.
774 * nfs-utils.spec: Updated.
778 2000-07-04 Neil Brown <neilb@cse.unsw.edu.au>
780 * support/export/hostname.c (hostent_dup): Handle the NULL
783 2000-07-03 H.J. Lu <hjl@lucon.org>
785 * README: Update the util-linux requirement.
787 2000-07-03 H.J. Lu <hjl@lucon.org>
789 * configure.in (VERSION): Set to "0.1.9".
790 * configure: Regenerated.
791 * nfs-utils.spec: Updated.
795 2000-07-03 H.J. Lu <hjl@lucon.org>
797 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
798 stop to ensure all clients can still access the server
799 before it is shutdown.
801 2000-06-30 Jeff Uphoff <juphoff@transmeta.com>
803 * tools/rpcgen/rpc_svcout.c (write_msg_out): Generate syslog()
804 calls with format string.
806 2000-06-28 Chip Salzenberg <chip@valinux.com>
808 * utils/statd/log.c (log): Call syslog with format string.
810 2000-06-27 H.J. Lu <hjl@lucon.org>
812 * utils/statd/statd.c (main): Use sysconf (_SC_OPEN_MAX)
815 2000-06-27 H.J. Lu <hjl@lucon.org>
819 2000-06-27 H.J. Lu <hjl@lucon.org>
821 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
822 startup to ensure all existing clients are exported.
824 * configure.in (VERSION): Set to "0.1.8.2".
825 * configure: Regenerated.
826 * nfs-utils.spec: Updated.
828 2000-06-06 H.J. Lu <hjl@lucon.org>
830 * configure.in (VERSION): Set to "0.1.8.1".
831 * configure: Regenerated.
832 * nfs-utils.spec: Updated.
834 2000-06-06 H.J. Lu <hjl@lucon.org>
836 * utils/mountd/mountd.c (mount_dump_1_svc): Cast svc_getcaller
837 to "struct sockaddr_in *" for glibc 2.2.
838 (mount_umnt_1_svc): Likewise.
839 (mount_umntall_1_svc): Likewise.
840 (mount_export_1_svc): Likewise.
841 (mount_exportall_1_svc): Likewise.
842 (mount_pathconf_2_svc): Likewise.
843 (get_rootfh): Likewise.
845 2000-06-04 H.J. Lu <hjl@lucon.org>
847 * etc/redhat/nfs.init: Fix a typo in comment.
849 2000-05-31 H.J. Lu <hjl@lucon.org>
851 * configure.in (VERSION): Set to "0.1.8".
852 * configure: Regenerated.
853 * nfs-utils.spec: Updated.
857 2000-05-31 H.J. Lu <hjl@lucon.org>
859 * configure.in (VERSION): Set to "0.1.7.5".
860 * configure: Regenerated.
861 * nfs-utils.spec: Updated.
863 * support/include/nfslib.h (exportent): Add a new field,
864 r_count, to count the number of mounts from a client.
865 (getrmtabent): Take a new argument for position in file.
866 (putrmtabent): Likewise.
867 (fgetrmtabent): Likewise.
868 (fputrmtabent): Likewise.
869 * support/nfs/rmtab.c (getrmtabent): Handle the new argument
870 for position in file.
871 (fgetrmtabent): Likewise.
872 (putrmtabent): Likewise.
873 (fputrmtabent): Likewise.
875 * support/nfs/rmtab.c (fgetrmtabent): Get value for the new
878 * support/export/rmtab.c (rmtab_read): Pass NULL as the new
879 argument to getrmtabent (), fgetrmtabent (), putrmtabent ()
881 * utils/mountd/rmtab.c (mountlist_add): Likewise.
882 (mountlist_del): Likewise.
883 (mountlist_del_all): Likewise.
884 (mountlist_list): Likewise.
886 * utils/mountd/rmtab.c (mountlist_add): Increment "r_count"
887 for the existing entry and initialize "r_count" to 1.
888 (mountlist_del): Decrement "r_count".
890 2000-05-18 H.J. Lu <hjl@lucon.org>
892 * configure.in (VERSION): Set to "0.1.7.4".
893 * configure: Regenerated.
894 * nfs-utils.spec: Updated.
896 2000-05-18 H.J. Lu <hjl@lucon.org>
898 * etc/redhat/nfs.init (restart): Just do stop and start.
900 2000-05-09 Jay Weber <jweber@valinux.com>
902 * utils/rquotad/hasquota.c: added support for ext3 recognition
904 * utils/rquotad/mntent.h: Likewise.
906 2000-05-01 H.J. Lu <hjl@lucon.org>
908 * configure.in (VERSION): Set to "0.1.7.3".
909 * configure: Regenerated.
910 * nfs-utils.spec: Updated.
912 2000-05-01 H.J. Lu <hjl@lucon.org>
914 * utils/rquotad/rquota_server.c (getquotainfo): Skip bad
915 mounting poins in /etc/fstab.
917 2000-05-01 H.J. Lu <hjl@lucon.org>
919 * configure.in (VERSION): Set to "0.1.7.2".
920 * configure: Regenerated.
921 * nfs-utils.spec: Updated.
923 2000-05-01 H.J. Lu <hjl@lucon.org>
925 * utils/rquotad/rquota_server.c (getquotainfo): Call stat ()
926 to check for the mounting point.
928 2000-04-29 Chip Salzenberg <chip@valinux.com>
929 Neil Brown <neilb@cse.unsw.edu.au>
931 * Really re-use RPC ports.
932 (Fixes earlier patch. Sorry, Neil.)
934 2000-04-26 H.J. Lu <hjl@lucon.org>
936 * configure.in (VERSION): Set to "0.1.7.1".
937 * configure: Regenerated.
938 * nfs-utils.spec: Updated.
940 2000-04-26 H.J. Lu <hjl@lucon.org>
942 * etc/redhat/nfslock.init: Check if lockd exits before killing
945 2000-04-25 H.J. Lu <hjl@lucon.org>
947 * README: Require util-linux-2.10f-mount-rpc.patch for mount.
949 2000-03-21 Michael Weiser <michael@weiser.saale-net.de>
951 * support/nfs/exports.c (parsesquash): Correctly set the
954 Tue Mar 21 11:38:48 EST 2000 NeilBrown <neilb@cse.unsw.edu.au>
956 * support/include/nfs/nfs.h: Removed knowledge of internals of
957 kernel filehandles (which can change) and defined nfs_fh_size
958 which has variable size
960 * support/nfs/getfh.c: defined getfh_size to use new syscall to
961 get variable sized file handles, and change getfh{,old} to
964 * utils/mountd/mountd.c: use nfd_fh_size and call getfh_size for
967 * tools/Makefile, tools/nlmtest/nlmtest.c
968 nlmtest.c depended on internel format of file handles, so now
972 2000-03-12 Chip Salzenberg <chip@valinux.com>
973 Neil Brown <neilb@cse.unsw.edu.au>
975 * support/nfs/rpcmisc.c (rpc_init): Share transports.
977 2000-03-13 H.J. Lu <hjl@lucon.org>
979 * etc/redhat/nfsd.init: Updated.
981 * etc/redhat/nfslock.init: Updated.
983 * nfs-utils.spec.in: Updated.
985 * configure.in (VERSION): Set to "0.1.7".
986 * configure: Regenerated.
987 * nfs-utils.spec: Updated.
991 Wed Mar 8 09:42:43 2000 Neil Brown <neilb@cse.unsw.edu.au>
993 * utils/exportfs/exportfs.c (dump): Included printing of
994 nohide, no_subtree_check, and insecure_locks
996 2000-02-26 Chip Salzenberg <chip@valinux.com>
998 * config.mk.in (INSTALLSUID): Strip ("-s").
999 (INSTALLSCRIPT): Define.
1000 * utils/nhfsstone/Makefile: Use it.
1002 2000-02-26 Chip Salzenberg <chip@valinux.com>
1004 * utils/lockd/lockd.man: Create.
1005 * utils/lockd/Makefile: Install it.
1006 * utils/nhfsstone/nhfs{run,nums,graph}.man: Create.
1007 * utils/nhfsstone/nhfsstone.man: Change suffix from ".1".
1008 * utils/nhfsstone/Makefile: Install the helper scripts and
1010 * utils/exportfs/exports.man: Fix typo.
1012 2000-02-26 Chip Salzenberg <chip@valinux.com>
1014 * support/nfs/xio.c (xungetc): Decrement line number when
1015 character to unget is newline. Make first parameter int, so
1016 it can distinguish EOF from \377.
1017 * support/include/xio.h (xungetc): Adjust prototype.
1019 Fri Feb 4 23:42:23 2000 Neil Brown <neilb@cse.unsw.edu.au>
1021 * support/include/nfs/export.h: added NFSEXP_NOAUTHNLM
1022 * support/nfs/exports.c: added handling for NFSEXP_NOAUTHNLM
1023 * utils/exportfs/exports.man: added documentation for no_auth_nlm.
1025 This is for supporting a new option introduced in 2.3.42
1027 Thu Feb 3 14:55:48 2000 H.J. Lu <hjl@lucon.org>
1029 * COPYING: Added. GPL.
1031 Thu Feb 03 14:40:40 2000 Cristian Gafton <gafton@redhat.com>
1033 * utils/rquotad/rquota_server.c (getquotainfo): Call statfs ()
1034 to get the block size.
1036 Tue Jan 25 11:04:17 2000 H.J. Lu <hjl@lucon.org>
1038 * nfs-utils.spec.in: Update ftp site.
1040 Mon Jan 17 11:48:18 2000 H.J. Lu <hjl@lucon.org>
1042 * README: Update hostnames.
1044 Tue Jan 11 10:06:22 2000 H.J. Lu <hjl@lucon.org>
1046 * configure.in (VERSION): Set to "0.1.6".
1047 * configure: Regenerated.
1048 * nfs-utils.spec: Updated.
1052 Mon Jan 10 14:26:33 2000 H.J. Lu <hjl@lucon.org>
1054 * utils/mountd/auth.c (auth_authenticate_internal): Call
1055 xstrdup for hostname before passing it to gethostbyname.
1057 * utils/mountd/mountd.c (get_exportlist): Use xstrdup instead
1060 Sun Dec 19 09:35:01 1999 H.J. Lu <hjl@lucon.org>
1062 * README: Update the mailing list address.
1064 Sun Dec 19 09:22:28 1999 H.J. Lu <hjl@lucon.org>
1066 * configure.in (VERSION): Set to "0.1.5".
1067 * configure: Regenerated.
1068 * nfs-utils.spec: Updated.
1072 Mon Dec 13 13:40:20 1999 H.J. Lu <hjl@lucon.org>
1074 * utils/rquotad/hasquota.c (hasquota): Malloc one more char
1077 Mon Dec 6 09:42:45 1999 H.J. Lu <hjl@lucon.org>
1079 * configure.in (VERSION): Set to "0.1.4".
1080 * configure: Regenerated.
1081 * nfs-utils.spec: Updated.
1085 Mon Dec 6 09:28:07 1999 H.J. Lu <hjl@lucon.org>
1087 * nfs-utils.spec.in: New file.
1089 * config.mk.in (VERSION): Changed to "nfs-utils @VERSION@".
1091 * configure.in (nfs-utils.spec): Added to AC_OUTPUT.
1093 1999-12-04 Chip Salzenberg <chip@valinux.com>
1095 * config.mk.in: Use $(CC) as set by configure.
1097 1999-12-04 Chip Salzenberg <chip@valinux.com>
1099 * rules.mk: Call $(MAKE) with $(MFLAGS).
1101 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1103 * tools/rpcgen/rpc_main.c (h_output): Generate IXDR_GET_INT32,
1104 IXDR_PUT_INT32, IXDR_GET_U_INT32 and IXDR_PUT_U_INT32.
1106 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1108 * nfs-utils.spec (Version): Set to 0.1.3.
1110 * configure.in (VERSION): Set to "nfs-utils 0.1.3".
1111 * configure: Regenerated.
1115 Mon Nov 29 11:15:47 1999 H.J. Lu <hjl@lucon.org>
1117 * utils/rquotad/rquota_server.c (nfsmount_to_devname): Removed.
1118 (_PATH_DEV_DSK): Likewise.
1119 (getquotainfo): Match the mounting point from /etc/mtab
1120 instead of calling nfsmount_to_devname ().
1122 1999-11-24 Chip Salzenberg <chip@valinux.com>
1124 * utils/statd/monitor.c (sm_mon_1_svc): Accept lockd callbacks
1125 to the new port 24 as well as the historical port 100021.
1127 Tue Nov 23 10:21:34 1999 Neil Brown <neilb@cse.unsw.edu.au>
1129 * etc/redhat/nfsd.init (stop): moved exportfs -ua after
1130 stopping nfsd to stop spurious ESTALE on server shutdown.
1132 Tue Nov 23 10:13:39 1999 Neil Brown <neilb@cse.unsw.edu.au>
1134 * support/nfs/exports.c (parseopts): make copy of opt string
1135 before 'nul'ing out commas so that
1137 # exportfs -o option1,option2 hosta:/fs hostb:/fs
1139 applies both options to both exports.
1141 Thu Oct 28 12:55:42 1999 H.J. Lu <hjl@lucon.org>
1143 * README: Fix a few typos.
1145 * tools/rpcgen/rpc_cout.c (print_header): Use int32_t instead
1147 * tools/rpcgen/rpc_hout.c (pdefine): Likewise.
1148 * tools/rpcgen/rpc_main.c (c_initialize): Likewise.
1149 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1150 (unsigned_dec): Likewise.
1151 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1152 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1154 * tools/rpcgen/rpc_cout.c (emit_single_in_line): Use INT32
1156 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1157 (unsigned_dec): Likewise.
1158 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1159 * tools/rpcgen/rpc_scan.h (tok_kind): Likewise.
1160 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1162 Thu Oct 28 11:27:51 1999 Neil Brown <neilb@cse.unsw.edu.au>
1164 * support/include/nfs/export.h addedd NFSEXP_NOSUBTREECHECK
1165 * support/nfs/exports.c: added {no_,}subtree_check and changed
1167 * utils/exportfs/exports.man: added no_subtree_check and nohide
1168 and removed irrelevant stuff from unfsd.
1169 * support/export/rmtab.c: rmtab_read didn't quite do the right
1170 thing if a pathname from rmtab was a subdirectory of an export-point
1172 Tue Oct 26 17:22:40 1999 H.J. Lu <hjl@lucon.org>
1174 * README: Updated ftp site.
1176 Mon Oct 25 18:12:45 1999 H.J. Lu <hjl@lucon.org>
1178 * nfs-utils.spec (Version): Set to 0.1.2.
1180 * configure.in (VERSION): Set to "nfs-utils 0.1.2".
1181 * configure: Regenerated.
1185 Mon Oct 25 18:11:21 1999 H.J. Lu <hjl@lucon.org>
1187 * utils/mountd/auth.c (auth_error): Add "no_forward_dns".
1188 (auth_authenticate_internal): Check for NULL return on forward
1190 (auth_authenticate): Handle "no_forward_dns".
1192 Thu Oct 21 16:22:06 1999 H.J. Lu <hjl@lucon.org>
1194 * Version 0.1.1 released.
1196 * nfs-utils.spec (Version): Set to 0.1.1.
1198 * configure.in (VERSION): Set to "nfs-utils 0.1.1".
1199 * configure: Regenerated.
1203 Mon Oct 18 17:43:29 1999 H.J. Lu <hjl@lucon.org>
1205 * nfs-utils.spec (Obsoletes): Fixed a typo, change knfsd-client
1207 (Provides): Likewise.
1209 Mon Oct 18 14:56:22 1999 H.J. Lu <hjl@lucon.org>
1211 * Initial version 0.1 released.
1213 * configure.in (VERSION): Set to "nfs-utils 0.1".
1214 * configure: Regenerated.
1216 Mon Oct 18 14:54:57 1999 H.J. Lu <hjl@lucon.org>
1218 * utils/mountd/mountd.c (get_exportlist): Cleanup.
1220 * utils/exportfs/exportfs.c (unexport_all): Unexport from
1221 kernel only if the entry is exported to kernel.
1222 (unexportfs): Likewise.
1224 Wed Sep 08 16:49:32 1999 Neil Brown <neilb@cse.unsw.edu.au>
1226 1/ utils/mountd/rmtab.c::mountlist_list
1228 This routine stats the rmtab file to see if it has changed. It
1229 if has, it cleans up it's old copy of the data. But it still
1230 always re-read the file, thus returning multiple copies of the
1231 data on consecutive calls without intervening changes.
1232 "Showmount -a" didn't show this as it appears to sort/unique the
1233 data, but 'strace showmount -a' showed that the size of the
1234 datagram that it received grew.
1236 I moved the getrmtabent loop inside the mtime test.
1238 2/ utils/exportfs/exportfs.c
1240 Many routines used the m_path field of m_export instead of
1242 According to the comment in nfslib.h, m_path should only
1243 be used when processing a mount request (i.e. in mountd)
1244 where the mountpoint may be a subdirectory of the export point.
1246 I changed all occurances of m_path to e_path
1249 3/ utils/exportfs/exportfs.c:main
1251 extra arguments are not meaningful with -a or -r, but
1252 exportfs accepted them and then ignored the -a/-r, expect that
1253 -r would still unexport everything first.
1255 I generate an error if there are extra args and f_all
1257 4/ utils/exportfs/exportfs.c:main
1258 extract dump out as a special case.
1260 5/ utils/exportfs/exportfs.c
1261 made f_reexport a local variable.
1264 6/ utils/exportfs/exportfs.c:main,exportall
1266 support/export/rmtab.c
1267 only mayexport on newly created entries, don't set xtabent at all
1269 7/ support/include/nfslib.h
1271 add #define _PATH_PROC_EXPORTS to be /proc/fs/nds/exports
1273 8/ support/export/xtab.c
1275 xtab_mount_read loads data from _PATH_PROC_EXPORTS if it exists,
1279 9/ support/export/xtab.c
1281 xtab_mount_read now sets m_exported, and NOT
1282 xtabent and mayexport
1284 removed the append arguement from xtab_write as it was
1287 added is_export flag to xtab_write similar to xtab_read
1288 if is_export, only write entries with m_xtabent or m_addxtab
1289 if !is_export, only write entries with m_exported
1291 10/ support/export/export.c::export_allowed_internal
1293 added test for exp->m_mayexport, as the export tree
1294 may have entries that are no longer allowed to be exported,
1295 and so shouldn't caused deduced exported by rmtab_read
1297 11/ utils/exportfs/exportfs.c::main
1298 error checking of flags.
1300 12/ utils/exportfs/exportfs.c
1302 total rewrite of export and unexport logic.
1304 - build an exportslist of valid exports, based on
1305 current etab file and arguments,
1306 - read rmtab to instantiate relevant wild card entries
1307 - read etab to find out what is currently exported
1308 - synchronise intention with reality
1309 - write out etab and xtab
1312 discard the m_addxtab flag
1313 add m_changed flag so we know what to report in exportfs
1315 14/ utils/mountd/auth.c:auth_authenticate
1317 the value returned by gethostbyaddr was trusted.
1319 It now follows this with a call to gethostbyname
1320 and checks that the address is in the list.
1322 15/ support/export/nfsctl.c::cltsetup,expsetup
1324 force client names to lowercase as kernel is
1327 16/ quietened a few compiler warnings
1329 17/ support/export/client:client_lookup
1331 look for pre-existing client with same name before creating
1334 18/ support/include/exportfs.h
1336 The ordering of the MCL_* enum was:
1337 ANONYMOUS, FQDN, SUBNETWORK, WILDCARD, NETGROUP
1339 I moved ANONYMOUS to the end.
1341 The ordering is significant when an export entry is being searched for to
1342 match a given address. There are two problems with ANONYMOUS being first.
1344 1/ if a directory is exported rw to a couple of hosts and ro to everyone else,
1345 then the ro case will always be found first and the privileged hosts won't get
1347 2/ When mountd gets a request to mount an ANONYMOUSly exported tree, it creates a FQDN
1348 export entry for the specific host, and writes it to xtab.
1349 When another request comes from the same host, the ANONYMOUS entry is found again,
1350 before the new FQDN entry, so it creates another FQDN entry and writes it to xtab
1351 again. If causes bloat in xtab.
1353 Putting ANONYMOUS at the end reflects it's nature as a catch-all
1355 19/ utils/exportfs/exportfs.man
1356 many updates to the man page to reflect changes to the code
1358 -----------------------
1364 - allow exportfs to modify rmtab file
1365 - make sure kernel never gets two clients with same IP address
1366 - possible kernel should reject
1367 - needs to be some way to lookup client in kernel by IP address
1368 - maybe get kernel to do case-insensitive comparisons on client names
1369 - remove unused clients from kernel
1371 - change etab to xtab and xtab to xtab.active
1373 - timestamp and/or statd-stamp in rmtab for removing old entries.
1375 Mon Oct 18 11:48:07 1999 H.J. Lu <hjl@lucon.org>
1377 * linux-nfs: New directory.
1378 * linux-nfs/ChangeLog: Moved from ..
1379 * linux-nfs/INSTALL: Likewise.
1380 * linux-nfs/KNOWNBUGS: Likewise.
1381 * linux-nfs/NEW: Likewise.
1382 * linux-nfs/README: Likewise.
1383 * linux-nfs/THANKS: Likewise.
1384 * linux-nfs/TODO: Likewise.
1386 * Starting from knfsd 1.4.7.