1 2002-04-09 NeilBrown <neilb@cse.unsw.edu.au>
2 James Pearson <james-p@moving-picture.com>
4 * support/nfs/rmtab.c(fendrmtabent): sync changes to
5 storage before returning, as this is critical state
7 2002-04-08 Sean O'Connell <sean@ee.duke.edu>
8 H.J. Lu <hjl@lucon.org>
10 * etc/redhat/nfs: New.
12 2002-04-08 H.J. Lu <hjl@lucon.org>
14 * etc/redhat/nfs.init: Updated.
16 * nfs-utils.spec.in: Updated.
17 * nfs-utils.spec: Regenerated.
19 * utils/mountd/mountd.c (longopts): Fix a typo.
21 * utils/mountd/mountd.man: Updated.
23 2002-04-07 H.J. Lu <hjl@lucon.org>
25 * etc/redhat/nfslock.init (restart): Just do stop and start.
27 * etc/redhat/nfs.init: Fix a typo.
29 2002-04-07 H.J. Lu <hjl@lucon.org>
31 * configure.in (VERSION): Set to "1.0.1".
32 * configure: Regenerated.
33 * nfs-utils.spec: Likewise.
35 * README: Updated for 1.0.1.
37 2002-04-07 Sean O'Connell <sean@ee.duke.edu>
38 H.J. Lu <hjl@lucon.org>
40 * etc/redhat/nfs.init: Read /etc/sysconfig/nfsd for NFS tuning.
42 2002-02-28 Steven Whitehouse <steve@gw.chygwyn.com>
43 NeilBrown <neilb@cse.unsw.edu.au>
45 Add support for fsid=nn export option so that device
46 numbers don't go in filehandles.
47 * support/export/nfsctl.c(expsetup): if exporting and NFSEXP_FSID
48 is set, pass the fsid in-place of the device number
49 * support/nfs/exports.c: parse and print fsid= option.
50 Also check if efname has been set, and use "command line"
51 instead in error messages.
52 Also, use strtol instead of atoi for anon[ug]id= so that
53 bad numbers cause errors.
55 2002-01-17 Adrian Drzewiecki <drze@MissionCriticalLinux.com>
56 NeilBrown <neilb@cse.unsw.edu.au>
58 * support/nfs/exports.c: remove NFSEXP_ASYNC as a default
59 flag so that "sync" becomes the default.
60 Check that either "sync" or "async" is given as an option
61 and warn if neither are present
62 * utils/exportfs/exports.man: change documentation for "sync"
63 to be documentation for "async".
64 * utils/exportfs/exportfs.man: note that "sync" is the default
68 2002-01-02 Chip Salzenberg <chip@pobox.com>
70 * support/export/nfsctl.c (expsetup): Don't export entries that
71 specify id mappings not supported by the kernel. No extant kernel
72 supports any significant mapping, only 'identity' (i.e. none).
73 When other mappings are supported, this code will need changing.
74 * debian/changelog: Version 1.0-2.
76 2001-12-26 Chip Salzenberg <chip@pobox.com>
78 * nfs-utils.spec (Version): Set to "1.0".
79 * configure.in (VERSION): Likewise.
80 * configure: Regenerated.
82 * debian/changelog: Version 1.0-1.
84 * utils/exportfs/exports.man: Emphasize the need for options to
85 immediately follow client names. Explain that wildcards don't
86 usually work on addresses, but may work when reverse DNS fails.
87 Comment out a leftover TP that was TPing our indentation.
88 * utils/mountd/mountd.man, utils/rquotad/rquotad.man,
89 utils/statd/statd.man: Remove refs to non-existent "hosts_allow(5)".
90 * debian/changelog: Version 0.3.3-6.
92 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
94 * support/export/client.c(client_lookup): If a host has multiple
95 IP addresses, then we must always use the result of a
96 gethostbyname, not that of gethostbyaddr for exporting
98 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
100 * support/export/client.c (client_lookup): use strcasecmp when
102 * support/nfs/export.c (getexportent): add fromkernel arg and use
103 different defaults as kernels prior to 2.4.11 assume different
104 defaults in /proc/fs/nfs/exports
105 * support/include/nfslib.h, support/export/export.c,
106 support/export/xtab.c: support extra "fromkernel" arg for
109 2001-12-13 Chip Salzenberg <chip@pobox.com>
111 * debian/changelog: Version 0.3.3-5.
113 2001-11-26 TAKAI Kousuke <takai@vlsi.kuee.kyoto-u.ac.jp>
115 * support/nfs/xio.c (xskip): Call `xungetc' instead of
116 `ungetc' to keep x_line more properly.
118 2001-11-26 Chip Salzenberg <chip@pobox.com>
120 * utils/showmount/showmount.c (main): Don't assume that strings
121 starting with digits are IP addresses.
122 * utils/nfsd/nfsd.c (main): Close all fds and reopen 0,1,2 on
123 /dev/null before nfssvc(). Use syslog to report nfssvc errors.
124 * support/misc/tcpwrapper.c, utils/mountd/mountd.man,
125 utils/rquotad/rquotad.man, utils/statd/statd.man: Fix comments and
126 man pages: We check host names *and* addresses with tcpwrappers.
127 * debian/changelog: Version 0.3.3-4.
129 2001-11-21 Chip Salzenberg <chip@pobox.com>
131 * support/nfs/clients.c (cfname): Added: current clients file name.
132 (setnfsclntent): Set it.
133 ({get,end}nfsclntent, syntaxerr): Use it.
134 * support/nfs/exports.c (efname): Added: current exports file name.
135 (setnfsexportent): Set it.
136 (endnfsexportent, parseopts, getexport, syntaxerr): Use it.
137 (parseopts): Accept old-style "crossmnt" option, for old xtabs.
138 * debian/changelog: Version 0.3.3-3.
140 2001-10-11 Chip Salzenberg <chip@pobox.com>
142 * utils/mountd/mountd.c (main): Close fds > 2 _before_ RPC init.
143 * debian/changelog: Version 0.3.3-2.
145 2001-10-08 Chip Salzenberg <chip@pobox.com>
147 * utils/mountd/mountd.c (main): When daemonizing, close all fds > 2.
148 * utils/Makefile.in: Remove old Makefile in target 'distclean'.
149 * utils/mountd/mountd.man: Update paths to /var/lib.
150 * debian/*: Version 0.3.3-1, with Debian-specific fixes.
152 2001-10-06 Preston Brown <pbrown@redhat.com>
154 * utils/nfsstat/nfsstat.man: Updated.
156 2001-09-24 H.J. Lu <hjl@lucon.org>
158 * configure.in (VERSION): Set to "0.3.3".
159 * configure: Regenerated.
160 * nfs-utils.spec: Likewise.
162 * README: Updated for 0.3.3.
164 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
166 Arrange that "exportfs -au" never does DNS lookup:
168 * support/export/client.c (client_lookup) : add "canonical"
169 flag which says that the hostname is known to be canonical, so
172 * support/export/export.c (export_create) : add "canonical"
173 flag to be passed down to client_lookup
174 * support/export/export.c (export_lookup) : Likewise
176 * support/export/xtab.c (xtab_read) : pass appropriate
177 "canonical" flag to export_lookup and export_create:
178 set if reading list of filesystems currently exports
181 * support/export/export.c (export_read) : pass 0 as
182 "canonical" flag to export_lookup and export_create
183 * support/export/rmtab.s (rmtab_read) : Likewise
185 * support/include/exportfs.h : redeclare various routines
186 to have "canonical" flag
188 * utils/exportfs/exportfs.c (main) : redo logic for
189 "-au" to read in what is currently exported, but never even
190 look at what "should" be exported.
192 * utils/exportfs/exportfs.c (unexportall) : remove this
193 routine. Functionality is completely included in
196 * utils/exportfs/exportfs.c (exportfs) : set "canonical"
197 flag to zero in calls to export_lookup and export_create.
200 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
201 Anne Milicia <milicia@missioncriticallinux.com>
203 * support/export/client.c (client_lookup) call gethostbyadd
204 to make sure that we have a canonical hostname, even for
206 * utils/exportfs/exportfs.c (exportfs) Likewise
208 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
210 * support/nfs/exports.c (putexportent): \octal quote any spaces
212 * support/nfs/xio.c (xgettok): recognise double-quote and
213 \octal quoting in path names
214 * utils/exportfs/exports.man: document quoting conventions
217 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
219 * utils/mountd/auth.c (auth_authenticate_internal): Reverse
220 change from 2000-08-02: It causes problems if someone exports
221 to both a hostname and IP addresses. nfs-utils must be
222 consistant about the canonical name that it chooses.
224 2001-08-17 Ragnar Kjørstad <nfs@ragnark.vestdata.no>
225 H.J. Lu <hjl@lucon.org>
227 * etc/redhat/nfslock.init (STATDARG): New. Pass it to rpc.statd.
229 * utils/statd/statd.c (longopts): Add "name".
230 (usage): Add "-n/--name".
231 (main): Set MY_NAME with "-n/--name".
233 * utils/statd/state.c (change_state): Set MY_NAME only if it
236 * utils/statd/statd.man: Updated for "-n/--name".
238 2001-07-26 H.J. Lu <hjl@lucon.org>
240 * nfs-utils.spec (Release): Set to 8.
242 2001-07-25 H.J. Lu <hjl@lucon.org>
244 * etc/redhat/nfs.init: Check if rpc.rquotad exists before doing
247 2001-06-27 H.J. Lu <hjl@lucon.org>
249 * etc/redhat/nfs.init: Run rpc.rquotad only if it exists.
251 2001-06-27 H.J. Lu <hjl@lucon.org>
253 * utils/rquotad/rquota_server.c: Don't call statfs () for
254 the block size. Use BLOCK_SIZE instead.
256 2001-06-27 H.J. Lu <hjl@lucon.org>
258 * config.mk.in (CC_FOR_BUILD): Renamed from BUILD_CC.
259 (CFLAGS_FOR_BUILD): New. Don't use @CFLAGS@.
261 * configure.in (enable_nfsv3): Set to yes by default.
262 (--enable-rquotad): Added
263 (AC_PROG_CXX): Removed.
264 (AC_OUTPUT): Add utils/Makefile.
265 (CC_FOR_BUILD): Renamed from BUILD_CC.
266 * configure: Regenerated.
268 * utils/Makefile: Removed.
270 * utils/Makefile.in: New.
272 * nfs-utils.spec.in (rquotad): New. Set to 0 to disable
274 (CC_FOR_BUILD): Renamed from BUILD_CC.
275 * nfs-utils.spec: Regenerated.
277 2001-06-15 Chip Salzenberg <chip@debian.org>
279 * debian/changelog: Version 0.3.2-2.
280 * debian/*.init: Minor fixes.
282 2001-06-07 Lon H. Hohberger <hohberger@missioncriticallinux.com>
284 * etc/nodist/nfs-server: Fixed a bug where the script would
285 disable mounts from NFSv3 clients if NFSv3 is present.
287 2001-06-05 H.J. Lu <hjl@lucon.org>
289 * utils/mountd/mountd.c (longopts): Add "descriptors/o".
290 (main): Support --descriptors/-o to set the limit of the number
291 of open file descriptors.
294 * utils/mountd/mountd.man: Updated for --descriptors/-o.
296 2001-06-04 H.J. Lu <hjl@lucon.org>
298 * nfs-utils.spec (Release): Set to 6.
300 2001-05-28 H.J. Lu <hjl@lucon.org>
302 * utils/lockd/lockd.c (main): chdir to NFS_STATEDIR.
303 * utils/mountd/mountd.c (main): Likewise.
304 * utils/nfsd/nfsd.c (main): Likewise.
305 * utils/rquotad/rquota_svc.c (main): Likewise.
307 2001-05-06 Anne Milicia <milicia@missioncriticallinux.com>
309 * support/export/client.c (client_check): Check IP address
312 2001-05-06 Neil Brown <neilb@cse.unsw.edu.au>
314 * support/export/client.c (client_gettype): Treat `*' as
317 2001-04-22 H.J. Lu <hjl@lucon.org>
319 * nfs-utils.spec.in: Fix a typo.
320 * nfs-utils.spec: Regenerated.
322 2001-04-21 H.J. Lu <hjl@lucon.org>
324 * nfs-utils.spec.in: Fix cross build.
325 * nfs-utils.spec: Regenerated.
328 2001-04-18 H.J. Lu <hjl@lucon.org>
330 * nfs-utils.spec.in: Support cross build.
331 * nfs-utils.spec: Regenerated.
337 * config.mk.in (BUILD_CC): New.
338 (CC): Set to $(BUILD_CC) if BUILD is defined.
341 (RANLIB): Set to @RANLIB@.
343 * configure.in: Check BUILD_CC, RANLIB, AR and LD.
344 * configure: Regenerated.
346 * tools/rpcgen/Makefile (BUILD): Set to true.
348 2001-04-01 Chip Salzenberg <chip@valinux.com>
350 * tools/rpcgen/rpc_svcout.c (write_timeout_func): Remove
351 redundant, and sometimes broken, declaration of svc_fdset;
353 * support/nfs/rpcmisc.c (closedown): Likewise.
355 2001-03-21 H.J. Lu <hjl@lucon.org>
357 * nfs-utils.spec: Regenerated.
360 2001-03-21 Ion Badulescu <ionut@cs.columbia.edu>
362 * utils/statd/statd.c (main): make sure file descriptors 0-2
363 are open to /dev/null.
365 2001-03-21 H.J. Lu <hjl@lucon.org>
367 * support/nfs/rpcmisc.c: Restore the change made on 2001-03-10.
368 * support/nfs/rpcmisc.c: Likewise.
369 * utils/rquotad/rquota_svc.c: Likewise.
370 * utils/rquotad/rquotad.man: Likewise.
371 * utils/statd/Makefile: Likewise.
372 * utils/statd/rmtcall.c: Likewise.
373 * utils/statd/simulate.c: Likewise.
374 * utils/statd/statd.c: Likewise.
375 * utils/statd/statd.man: Likewise.
377 2001-03-11 H.J. Lu <hjl@lucon.org>
379 * configure.in (RELEASE): New. Default to 1, set by
380 --with-release=XXX. Substitute nfs-utils.spec.
381 * nfs-utils.spec.in (Release): Set to @RELEASE@.
382 * configure: Regenerated.
383 * nfs-utils.spec: Likewise.
385 2001-03-11 H.J. Lu <hjl@lucon.org>
387 * utils/rquotad/rquotad.man: Fix a typo.
389 2001-03-11 H.J. Lu <hjl@lucon.org>
391 * support/include/rpcmisc.h: Undo the change made on 2001-03-10.
392 * support/nfs/rpcmisc.c: Likewise.
393 * utils/rquotad/rquota_svc.c: Likewise.
394 * utils/rquotad/rquotad.man: Likewise.
395 * utils/statd/Makefile: Likewise.
396 * utils/statd/rmtcall.c: Likewise.
397 * utils/statd/simulate.c: Likewise.
398 * utils/statd/statd.c: Likewise.
399 * utils/statd/statd.man: Likewise.
401 2001-03-10 H.J. Lu <hjl@lucon.org>
403 * configure.in (VERSION): Set to "0.3.2".
404 * configure: Regenerated.
405 * nfs-utils.spec: Likewise.
407 * README: Updated for 0.3.2.
409 2001-03-10 Tavis Barr <tavis@boole.isetr.columbia.edu>
411 * utils/rquotad/rquotad.man: Updated for -p.
412 * utils/statd/statd.man: Likewise.
414 2001-03-10 Ion Badulescu <ionut@cs.columbia.edu>
416 * support/nfs/rpcmisc.c: export makesock()
418 * support/include/rpcmisc.h (makesock): Declared.
420 * utils/rquotad/rquota_svc.c: added longopts, added support for
421 specifying the port to bind to on the command line.
423 * utils/statd/statd.c: ditto, also specify port used for
424 outgoing connections.
425 (do_regist): Removed.
427 * utils/statd/rmtcall.c (statd_get_socket): Renamed from
428 get_socket. Make it extern.
430 * utils/statd/simulate.c (daemon_simulator): Call rpc_init
431 instead of do_regist.
433 * utils/statd/Makefile (LIBS): link with our own libnfs
435 2001-03-09 H.J. Lu <hjl@lucon.org>
437 * etc/redhat/nfslock.init: Changed chkconfig line to 60 86.
438 * etc/nodist/nfs-client: Likewise.
440 2001-02-26 Chip Salzenberg <chip@valinux.com>
442 * debian/changelog: Version 0.3.1-1.
443 * Mention upstream source and license in copyright file.
444 * Add build-Depends for debhelper and libwrap0-dev.
446 2001-02-20 Lon Hohberger <hohberger@missioncriticallinux.com>
448 * etc/nodist/nfs-server: Changed chkconfig line to 60 20
449 * etc/nodist/nfs-client: Likewise.
451 2001-02-18 Lon Hohberger <hohberger@missioncriticallinux.com>
453 * utils/statd/statd.man: Changed /usr/sbin/rpc.statd to
456 2001-02-17 Patrick J. LoPresti <patl@curl.com>
458 * utils/statd/log.c (log_init): Use LOG_DAEMON instead of
461 2001-02-14 H.J. Lu <hjl@lucon.org>
463 * utils/statd/rmtcall.c: Include <time.h>.
464 * utils/statd/svc_run.c: Likewise.
466 2001-02-14 H.J. Lu <hjl@lucon.org>
468 * configure.in (VERSION): Set to "0.3.1".
469 * configure: Regenerated.
470 * nfs-utils.spec: Likewise.
472 * README: Updated for 0.3.1.
474 2001-02-14 H.J. Lu <hjl@lucon.org>
476 * support/nfs/rpcmisc.c: Include <time.h>.
478 2001-02-14 Chip Salzenberg <chip@valinux.com>
480 * debian/control: Change priority of nhfsstone package to 'extra'.
482 2001-02-12 Chip Salzenberg <chip@valinux.com>
484 * debian/changelog: Version 0.3-2.
486 2001-02-02 H.J. Lu <hjl@lucon.org>
488 * support/include/rpcmisc.h (rpc_init): Remove bufsize.
490 * support/nfs/rpcmisc.c (makesock): Remove socksz and comment
491 out SO_SNDBUF/SO_RCVBUF.
492 (rpc_init): Remove bufsize and remove socksz in calls to
495 * utils/mountd/mountd.c (main): Remove bufsize in calls to
498 2001-01-28 Chip Salzenberg <chip@valinux.com>
500 * debian/changelog: Version 0.3-1.
502 2001-01-25 H.J. Lu <hjl@lucon.org>
504 * configure.in (VERSION): Set to "0.3".
505 * configure: Regenerated.
506 * nfs-utils.spec: Likewise.
508 * README: Updated for 0.3.
510 2001-01-25 H.J. Lu <hjl@lucon.org>
512 * utils/lockd/lockd.c (main): Ignore errno == EINVAL.
514 2001-01-20 Chip Salzenberg <chip@valinux.com>
516 * support/include/xio.h (xgetc): Declare to return int.
517 * support/nfs/xio.c (xgetc): Return int.
518 (xgettok, xskip, xskipcomment): Use int for value of xgetc.
519 * utils/statd/statd.c (main): Use int for value of getopt.
520 * debian/changelog: Version 0.2.1-5.
522 2000-12-10 Chip Salzenberg <chip@valinux.com>
524 * utils/statd/monitor.c (sm_mon_1_svc): Fix buggy check for
525 program and procedure numbers of kernel lockd's callback. Also,
526 besides the old (and broken) procedure #24, allow #16 per Trond.
528 2000-12-03 Chip Salzenberg <chip@valinux.com>
530 * support/nfs/xio.c (xfopen): Initialize x_line to one, not zero.
531 * debian/control: Let nhfsstone replace files in nfs-kernel-server.
532 * debian/changelog: Version 0.2.1-4.
534 2000-11-27 Tobias Ringstrom <tori@tellus.mine.nu>
536 * utils/mountd/auth.c (auth_authenticate): Log the bad path
539 2000-11-24 Neil Brown <neilb@cse.unsw.edu.au>
541 * support/nfs/exports.c (getexportent): Check for host name
542 without option, or options without hostname, and print a warning,
543 as this is most likely a typo.
545 2000-11-19 Chip Salzenberg <chip@valinux.com>
547 * debian/control: Add dependency on portmap.
548 * debian/changelog: Version 0.2.1-3.
550 2000-11-10 H.J. Lu <hjl@lucon.org>
552 * nfs-utils.spec.in: Don't use libtool.
553 Add ChangeLog and COPYING to doc.
554 * nfs-utils.spec: Rebuild.
556 2000-11-09 H.J. Lu <hjl@lucon.org>
558 * etc/redhat/nfs.init (start): Back out the last change.
560 2000-11-09 H.J. Lu <hjl@lucon.org>
562 * etc/redhat/nfs.init (start): Pass --no-tcp to mountd if
563 TCP is not supported by kernel.
565 * support/nfs/rpcmisc.c (rpc_init): Don't set _rpcfdtype to 0.
567 * utils/mountd/mountd.c (longopts): Add "-n/--no-tcp".
568 (main): Set to _rpcfdtype to SOCK_DGRAM for "-n/--no-tcp".
570 * utils/mountd/mountd.man: Updated for "-n/--no-tcp".
572 2000-10-24 Lon Hohberger <hohberger@missioncriticallinux.com>
574 * utils/statd/callback.c: Fix bug preventing callbacks to local lockd.
575 * utils/statd/rmtcall.c: Add some IP address paranoia when doing
576 callbacks to local lockd.
578 2000-10-18 Scott McDermott <mcdermot@questra.com>
580 * utils/exportfs/exports.man: Updated for CIDR netmask.
582 2000-10-17 Scott McDermott <mcdermot@questra.com>
584 * support/export/client.c (client_init): Support CIDR netmask
587 2000-10-11 H.J. Lu <hjl@lucon.org>
589 * aclocal.m4 (AC_TCP_WRAPPER): Fix a typo.
590 * configure: Rebuilt.
592 2000-10-06 Lon Hohberger <hohberger@missioncriticallinux.com>
594 * utils/statd/statd.man: Change "/var/lib/nfs/sm/state" to
595 "/var/lib/nfs/state".
597 2000-10-05 Lon Hohberger <hohberger@missioncriticallinux.com>
599 * utils/statd/statd.h (run_mode): New global bitmask of runtime
600 behaviors: fg/bg, logging, etc.
601 * utils/statd/statd.c: New command line options: -V -h -? -d .
602 * utils/statd/statd.man: Update for changes to statd.
604 * utils/statd/log.h (log_init): Remove parameter of function; use
605 global variable "name_p" instead.
606 * utils/statd/log.c: Add support for logging to stderr.
608 * utils/statd/notlist.c: Partially rewrite notify list handling
609 functions. Eliminate run-off-end-of-list bug when calling
610 nlist_insert_timer. Add lots of comments.
612 2000-09-27 H.J. Lu <hjl@lucon.org>
614 * README: Updated for RedHat 7.0.
616 2000-09-27 H.J. Lu <hjl@lucon.org>
618 * nfs-utils.spec: Rebuild.
620 2000-09-27 H.J. Lu <hjl@lucon.org>
622 * README: Updated for 0.2.1.
624 2000-09-27 H.J. Lu <hjl@lucon.org>
626 * nfs-utils.spec.in: Updated to use rpm macros and support
629 2000-09-25 H.J. Lu <hjl@lucon.org>
631 * configure.in (VERSION): Set to "0.2.1".
632 * configure: Regenerated.
633 * nfs-utils.spec: Updated.
635 2000-09-25 H.J. Lu <hjl@lucon.org>
637 * utils/mountd/auth.c (auth_authenticate_internal): Make sure a
638 non-NULL hostent is always returned.
640 2000-09-11 Ion Badulescu <ionut@cs.columbia.edu>
642 * etc/redhat/nfslock.init: don't kill lockd processes that do not
643 have an executable (i.e. kernel threads)
645 2000-09-01 H.J. Lu <hjl@lucon.org>
647 * README: Updated for 0.2.
649 2000-09-01 Jay Weber <jweber@valinux.com>
651 * etc/redhat/nfs.init: Added ability for rpc.mountd to default to
652 supporting version 3 of nfs if available, else it will fall back to
653 version 2 support only.
655 2000-08-30 H.J. Lu <hjl@lucon.org>
657 * configure.in (VERSION): Set to "0.2".
658 * configure: Regenerated.
659 * nfs-utils.spec: Updated.
661 2000-08-25 H.J. Lu <hjl@lucon.org>
663 * support/misc/tcpwrapper.c (logit): Modify the log output.
665 2000-08-25 Ion Badulescu <ionut@cs.columbia.edu>
667 * utils/rquotad/rquotad.man, utils/statd/statd.man,
668 utils/mountd/mountd.man: updated
670 * utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL)
671 * utils/rquotad/Makefile: fix comment
673 * support/misc/tcpwrapper.c (logit): added comment about waiting
674 for the children after fork()
676 * utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving
677 zombies behind (from logit()'s fork)
678 * utils/rquotad/rquota_svc.c (main): ditto
679 * utils/statd/statd.c (main): ditto
681 * utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG
682 to check_default instead of 0, for prognum
684 * utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG
685 to check_default instead of 0, for prognum
687 * utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if
688 HAVE_TCP_WRAPPER is defined.
689 (mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is
690 defined. Reject an RPC call if check_default () fails.
692 2000-08-25 H.J. Lu <hjl@lucon.org>
694 * support/include/tcpwrapper.h: New for the tcp wrapper
696 * support/misc/Makefile: Likewise.
697 * support/misc/from_local.c: Likewise.
698 * support/misc/tcpwrapper.c: Likewise.
700 * aclocal.m4 (AC_TCP_WRAPPER): New.
701 * configure.in: Use it. Substitute LIBWRAP.
702 * configure: Rebuilt.
704 * config.mk.in (LIBNSL): New.
707 * support/Makefile (SUBDIRS): Add misc.
709 * support/lib/Makefile (LIBS): Add libmisc.a.
711 * utils/rquotad/Makefile (LIBS): Add
713 -lmisc $(LIBWRAP) $(LIBNSL)
715 * utils/statd/Makefile (LIBS): Likewise.
717 * utils/rquotad/rquota_svc.c: Include "tcpwrapper.h" if
718 HAVE_TCP_WRAPPER is defined.
719 (rquotaprog_1): Call check_default () if HAVE_TCP_WRAPPER is
720 defined. Reject an RPC call if check_default () fails.
722 * utils/statd/statd.c: Include "tcpwrapper.h" if
723 HAVE_TCP_WRAPPER is defined.
724 (sm_prog_1_wrapper): New. A wrapper for sm_prog_1. Call
725 check_default () before calling sm_prog_1 (). Define it as
726 sm_prog_1_wrapper if HAVE_TCP_WRAPPER is defined.
728 2000-08-25 Chip Salzenberg <chip@valinux.com>
730 * debian/*: Complete Debian build support.
731 * etc/debian/*: Remove.
733 2000-08-24 Neil Brown <neilb@cse.unsw.edu.au>
735 * support/export/client.c(client_check): removed the "dot+1" as a
736 ypdomain argument to innetgr as this is entirely bogus.
737 It should always be NULL.
739 2000-08-23 Neil Brown <neilb@cse.unsw.edu.au>
741 * support/export/xtab.c(xtab_read): introduce new mode for
742 reading xtab. i.e. a list of exports that might be known to the
743 kernel, or might not. These are flagged as m_exported == -1
744 * support/export/xtab.c(xtab_mount_read): call xtab_read with new
745 value "2" for xtab, meaning don't trust this too much.
746 * support/include/exportfs.h(struct mexport): changed m_exported
747 from one bit to an int so that it can hold new value
748 * utils/exportfs/exportfs.c(exportfs_ipdate): add an export to the
749 kernel if it is uncertain whether the kernel knows (m_exported == -1)
750 * utils/mountd/mountd.c(get_rootfh): similarly export to kernel if
753 * support/nfs/xio.c(xflock): added O_CREAT when getting
754 a write lock so that missing files aren't fatal.
756 * etc/debian/nfs-common: new file from "potato"
757 * etc/debian/nfs-kernel-server: new file from "potato" plus fixes.
759 2000-08-09 H.J. Lu <hjl@lucon.org>
761 * etc/redhat/nfs.init: Run /usr/sbin/exportfs first during
762 startup to ensure all existing clients work fine.
764 * support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0
765 to xtab_read () for reading _PATH_XTAB.
767 2000-08-02 H.J. Lu <hjl@lucon.org>
769 * utils/mountd/auth.c (auth_authenticate_internal): Try to
770 avoid the reverse name lookup.
772 2000-07-04 H.J. Lu <hjl@lucon.org>
774 * utils/statd/log.c: Include <stdlib.h> for exit ().
776 * utils/statd/misc.c (xunlink): Add `{' and `}' to quiet the
779 2000-07-04 H.J. Lu <hjl@lucon.org>
781 * configure.in (VERSION): Set to "0.1.9.1".
782 * configure: Regenerated.
783 * nfs-utils.spec: Updated.
787 2000-07-04 Neil Brown <neilb@cse.unsw.edu.au>
789 * support/export/hostname.c (hostent_dup): Handle the NULL
792 2000-07-03 H.J. Lu <hjl@lucon.org>
794 * README: Update the util-linux requirement.
796 2000-07-03 H.J. Lu <hjl@lucon.org>
798 * configure.in (VERSION): Set to "0.1.9".
799 * configure: Regenerated.
800 * nfs-utils.spec: Updated.
804 2000-07-03 H.J. Lu <hjl@lucon.org>
806 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
807 stop to ensure all clients can still access the server
808 before it is shutdown.
810 2000-06-30 Jeff Uphoff <juphoff@transmeta.com>
812 * tools/rpcgen/rpc_svcout.c (write_msg_out): Generate syslog()
813 calls with format string.
815 2000-06-28 Chip Salzenberg <chip@valinux.com>
817 * utils/statd/log.c (log): Call syslog with format string.
819 2000-06-27 H.J. Lu <hjl@lucon.org>
821 * utils/statd/statd.c (main): Use sysconf (_SC_OPEN_MAX)
824 2000-06-27 H.J. Lu <hjl@lucon.org>
828 2000-06-27 H.J. Lu <hjl@lucon.org>
830 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
831 startup to ensure all existing clients are exported.
833 * configure.in (VERSION): Set to "0.1.8.2".
834 * configure: Regenerated.
835 * nfs-utils.spec: Updated.
837 2000-06-06 H.J. Lu <hjl@lucon.org>
839 * configure.in (VERSION): Set to "0.1.8.1".
840 * configure: Regenerated.
841 * nfs-utils.spec: Updated.
843 2000-06-06 H.J. Lu <hjl@lucon.org>
845 * utils/mountd/mountd.c (mount_dump_1_svc): Cast svc_getcaller
846 to "struct sockaddr_in *" for glibc 2.2.
847 (mount_umnt_1_svc): Likewise.
848 (mount_umntall_1_svc): Likewise.
849 (mount_export_1_svc): Likewise.
850 (mount_exportall_1_svc): Likewise.
851 (mount_pathconf_2_svc): Likewise.
852 (get_rootfh): Likewise.
854 2000-06-04 H.J. Lu <hjl@lucon.org>
856 * etc/redhat/nfs.init: Fix a typo in comment.
858 2000-05-31 H.J. Lu <hjl@lucon.org>
860 * configure.in (VERSION): Set to "0.1.8".
861 * configure: Regenerated.
862 * nfs-utils.spec: Updated.
866 2000-05-31 H.J. Lu <hjl@lucon.org>
868 * configure.in (VERSION): Set to "0.1.7.5".
869 * configure: Regenerated.
870 * nfs-utils.spec: Updated.
872 * support/include/nfslib.h (exportent): Add a new field,
873 r_count, to count the number of mounts from a client.
874 (getrmtabent): Take a new argument for position in file.
875 (putrmtabent): Likewise.
876 (fgetrmtabent): Likewise.
877 (fputrmtabent): Likewise.
878 * support/nfs/rmtab.c (getrmtabent): Handle the new argument
879 for position in file.
880 (fgetrmtabent): Likewise.
881 (putrmtabent): Likewise.
882 (fputrmtabent): Likewise.
884 * support/nfs/rmtab.c (fgetrmtabent): Get value for the new
887 * support/export/rmtab.c (rmtab_read): Pass NULL as the new
888 argument to getrmtabent (), fgetrmtabent (), putrmtabent ()
890 * utils/mountd/rmtab.c (mountlist_add): Likewise.
891 (mountlist_del): Likewise.
892 (mountlist_del_all): Likewise.
893 (mountlist_list): Likewise.
895 * utils/mountd/rmtab.c (mountlist_add): Increment "r_count"
896 for the existing entry and initialize "r_count" to 1.
897 (mountlist_del): Decrement "r_count".
899 2000-05-18 H.J. Lu <hjl@lucon.org>
901 * configure.in (VERSION): Set to "0.1.7.4".
902 * configure: Regenerated.
903 * nfs-utils.spec: Updated.
905 2000-05-18 H.J. Lu <hjl@lucon.org>
907 * etc/redhat/nfs.init (restart): Just do stop and start.
909 2000-05-09 Jay Weber <jweber@valinux.com>
911 * utils/rquotad/hasquota.c: added support for ext3 recognition
913 * utils/rquotad/mntent.h: Likewise.
915 2000-05-01 H.J. Lu <hjl@lucon.org>
917 * configure.in (VERSION): Set to "0.1.7.3".
918 * configure: Regenerated.
919 * nfs-utils.spec: Updated.
921 2000-05-01 H.J. Lu <hjl@lucon.org>
923 * utils/rquotad/rquota_server.c (getquotainfo): Skip bad
924 mounting poins in /etc/fstab.
926 2000-05-01 H.J. Lu <hjl@lucon.org>
928 * configure.in (VERSION): Set to "0.1.7.2".
929 * configure: Regenerated.
930 * nfs-utils.spec: Updated.
932 2000-05-01 H.J. Lu <hjl@lucon.org>
934 * utils/rquotad/rquota_server.c (getquotainfo): Call stat ()
935 to check for the mounting point.
937 2000-04-29 Chip Salzenberg <chip@valinux.com>
938 Neil Brown <neilb@cse.unsw.edu.au>
940 * Really re-use RPC ports.
941 (Fixes earlier patch. Sorry, Neil.)
943 2000-04-26 H.J. Lu <hjl@lucon.org>
945 * configure.in (VERSION): Set to "0.1.7.1".
946 * configure: Regenerated.
947 * nfs-utils.spec: Updated.
949 2000-04-26 H.J. Lu <hjl@lucon.org>
951 * etc/redhat/nfslock.init: Check if lockd exits before killing
954 2000-04-25 H.J. Lu <hjl@lucon.org>
956 * README: Require util-linux-2.10f-mount-rpc.patch for mount.
958 2000-03-21 Michael Weiser <michael@weiser.saale-net.de>
960 * support/nfs/exports.c (parsesquash): Correctly set the
963 Tue Mar 21 11:38:48 EST 2000 NeilBrown <neilb@cse.unsw.edu.au>
965 * support/include/nfs/nfs.h: Removed knowledge of internals of
966 kernel filehandles (which can change) and defined nfs_fh_size
967 which has variable size
969 * support/nfs/getfh.c: defined getfh_size to use new syscall to
970 get variable sized file handles, and change getfh{,old} to
973 * utils/mountd/mountd.c: use nfd_fh_size and call getfh_size for
976 * tools/Makefile, tools/nlmtest/nlmtest.c
977 nlmtest.c depended on internel format of file handles, so now
981 2000-03-12 Chip Salzenberg <chip@valinux.com>
982 Neil Brown <neilb@cse.unsw.edu.au>
984 * support/nfs/rpcmisc.c (rpc_init): Share transports.
986 2000-03-13 H.J. Lu <hjl@lucon.org>
988 * etc/redhat/nfsd.init: Updated.
990 * etc/redhat/nfslock.init: Updated.
992 * nfs-utils.spec.in: Updated.
994 * configure.in (VERSION): Set to "0.1.7".
995 * configure: Regenerated.
996 * nfs-utils.spec: Updated.
1000 Wed Mar 8 09:42:43 2000 Neil Brown <neilb@cse.unsw.edu.au>
1002 * utils/exportfs/exportfs.c (dump): Included printing of
1003 nohide, no_subtree_check, and insecure_locks
1005 2000-02-26 Chip Salzenberg <chip@valinux.com>
1007 * config.mk.in (INSTALLSUID): Strip ("-s").
1008 (INSTALLSCRIPT): Define.
1009 * utils/nhfsstone/Makefile: Use it.
1011 2000-02-26 Chip Salzenberg <chip@valinux.com>
1013 * utils/lockd/lockd.man: Create.
1014 * utils/lockd/Makefile: Install it.
1015 * utils/nhfsstone/nhfs{run,nums,graph}.man: Create.
1016 * utils/nhfsstone/nhfsstone.man: Change suffix from ".1".
1017 * utils/nhfsstone/Makefile: Install the helper scripts and
1019 * utils/exportfs/exports.man: Fix typo.
1021 2000-02-26 Chip Salzenberg <chip@valinux.com>
1023 * support/nfs/xio.c (xungetc): Decrement line number when
1024 character to unget is newline. Make first parameter int, so
1025 it can distinguish EOF from \377.
1026 * support/include/xio.h (xungetc): Adjust prototype.
1028 Fri Feb 4 23:42:23 2000 Neil Brown <neilb@cse.unsw.edu.au>
1030 * support/include/nfs/export.h: added NFSEXP_NOAUTHNLM
1031 * support/nfs/exports.c: added handling for NFSEXP_NOAUTHNLM
1032 * utils/exportfs/exports.man: added documentation for no_auth_nlm.
1034 This is for supporting a new option introduced in 2.3.42
1036 Thu Feb 3 14:55:48 2000 H.J. Lu <hjl@lucon.org>
1038 * COPYING: Added. GPL.
1040 Thu Feb 03 14:40:40 2000 Cristian Gafton <gafton@redhat.com>
1042 * utils/rquotad/rquota_server.c (getquotainfo): Call statfs ()
1043 to get the block size.
1045 Tue Jan 25 11:04:17 2000 H.J. Lu <hjl@lucon.org>
1047 * nfs-utils.spec.in: Update ftp site.
1049 Mon Jan 17 11:48:18 2000 H.J. Lu <hjl@lucon.org>
1051 * README: Update hostnames.
1053 Tue Jan 11 10:06:22 2000 H.J. Lu <hjl@lucon.org>
1055 * configure.in (VERSION): Set to "0.1.6".
1056 * configure: Regenerated.
1057 * nfs-utils.spec: Updated.
1061 Mon Jan 10 14:26:33 2000 H.J. Lu <hjl@lucon.org>
1063 * utils/mountd/auth.c (auth_authenticate_internal): Call
1064 xstrdup for hostname before passing it to gethostbyname.
1066 * utils/mountd/mountd.c (get_exportlist): Use xstrdup instead
1069 Sun Dec 19 09:35:01 1999 H.J. Lu <hjl@lucon.org>
1071 * README: Update the mailing list address.
1073 Sun Dec 19 09:22:28 1999 H.J. Lu <hjl@lucon.org>
1075 * configure.in (VERSION): Set to "0.1.5".
1076 * configure: Regenerated.
1077 * nfs-utils.spec: Updated.
1081 Mon Dec 13 13:40:20 1999 H.J. Lu <hjl@lucon.org>
1083 * utils/rquotad/hasquota.c (hasquota): Malloc one more char
1086 Mon Dec 6 09:42:45 1999 H.J. Lu <hjl@lucon.org>
1088 * configure.in (VERSION): Set to "0.1.4".
1089 * configure: Regenerated.
1090 * nfs-utils.spec: Updated.
1094 Mon Dec 6 09:28:07 1999 H.J. Lu <hjl@lucon.org>
1096 * nfs-utils.spec.in: New file.
1098 * config.mk.in (VERSION): Changed to "nfs-utils @VERSION@".
1100 * configure.in (nfs-utils.spec): Added to AC_OUTPUT.
1102 1999-12-04 Chip Salzenberg <chip@valinux.com>
1104 * config.mk.in: Use $(CC) as set by configure.
1106 1999-12-04 Chip Salzenberg <chip@valinux.com>
1108 * rules.mk: Call $(MAKE) with $(MFLAGS).
1110 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1112 * tools/rpcgen/rpc_main.c (h_output): Generate IXDR_GET_INT32,
1113 IXDR_PUT_INT32, IXDR_GET_U_INT32 and IXDR_PUT_U_INT32.
1115 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1117 * nfs-utils.spec (Version): Set to 0.1.3.
1119 * configure.in (VERSION): Set to "nfs-utils 0.1.3".
1120 * configure: Regenerated.
1124 Mon Nov 29 11:15:47 1999 H.J. Lu <hjl@lucon.org>
1126 * utils/rquotad/rquota_server.c (nfsmount_to_devname): Removed.
1127 (_PATH_DEV_DSK): Likewise.
1128 (getquotainfo): Match the mounting point from /etc/mtab
1129 instead of calling nfsmount_to_devname ().
1131 1999-11-24 Chip Salzenberg <chip@valinux.com>
1133 * utils/statd/monitor.c (sm_mon_1_svc): Accept lockd callbacks
1134 to the new port 24 as well as the historical port 100021.
1136 Tue Nov 23 10:21:34 1999 Neil Brown <neilb@cse.unsw.edu.au>
1138 * etc/redhat/nfsd.init (stop): moved exportfs -ua after
1139 stopping nfsd to stop spurious ESTALE on server shutdown.
1141 Tue Nov 23 10:13:39 1999 Neil Brown <neilb@cse.unsw.edu.au>
1143 * support/nfs/exports.c (parseopts): make copy of opt string
1144 before 'nul'ing out commas so that
1146 # exportfs -o option1,option2 hosta:/fs hostb:/fs
1148 applies both options to both exports.
1150 Thu Oct 28 12:55:42 1999 H.J. Lu <hjl@lucon.org>
1152 * README: Fix a few typos.
1154 * tools/rpcgen/rpc_cout.c (print_header): Use int32_t instead
1156 * tools/rpcgen/rpc_hout.c (pdefine): Likewise.
1157 * tools/rpcgen/rpc_main.c (c_initialize): Likewise.
1158 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1159 (unsigned_dec): Likewise.
1160 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1161 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1163 * tools/rpcgen/rpc_cout.c (emit_single_in_line): Use INT32
1165 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1166 (unsigned_dec): Likewise.
1167 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1168 * tools/rpcgen/rpc_scan.h (tok_kind): Likewise.
1169 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1171 Thu Oct 28 11:27:51 1999 Neil Brown <neilb@cse.unsw.edu.au>
1173 * support/include/nfs/export.h addedd NFSEXP_NOSUBTREECHECK
1174 * support/nfs/exports.c: added {no_,}subtree_check and changed
1176 * utils/exportfs/exports.man: added no_subtree_check and nohide
1177 and removed irrelevant stuff from unfsd.
1178 * support/export/rmtab.c: rmtab_read didn't quite do the right
1179 thing if a pathname from rmtab was a subdirectory of an export-point
1181 Tue Oct 26 17:22:40 1999 H.J. Lu <hjl@lucon.org>
1183 * README: Updated ftp site.
1185 Mon Oct 25 18:12:45 1999 H.J. Lu <hjl@lucon.org>
1187 * nfs-utils.spec (Version): Set to 0.1.2.
1189 * configure.in (VERSION): Set to "nfs-utils 0.1.2".
1190 * configure: Regenerated.
1194 Mon Oct 25 18:11:21 1999 H.J. Lu <hjl@lucon.org>
1196 * utils/mountd/auth.c (auth_error): Add "no_forward_dns".
1197 (auth_authenticate_internal): Check for NULL return on forward
1199 (auth_authenticate): Handle "no_forward_dns".
1201 Thu Oct 21 16:22:06 1999 H.J. Lu <hjl@lucon.org>
1203 * Version 0.1.1 released.
1205 * nfs-utils.spec (Version): Set to 0.1.1.
1207 * configure.in (VERSION): Set to "nfs-utils 0.1.1".
1208 * configure: Regenerated.
1212 Mon Oct 18 17:43:29 1999 H.J. Lu <hjl@lucon.org>
1214 * nfs-utils.spec (Obsoletes): Fixed a typo, change knfsd-client
1216 (Provides): Likewise.
1218 Mon Oct 18 14:56:22 1999 H.J. Lu <hjl@lucon.org>
1220 * Initial version 0.1 released.
1222 * configure.in (VERSION): Set to "nfs-utils 0.1".
1223 * configure: Regenerated.
1225 Mon Oct 18 14:54:57 1999 H.J. Lu <hjl@lucon.org>
1227 * utils/mountd/mountd.c (get_exportlist): Cleanup.
1229 * utils/exportfs/exportfs.c (unexport_all): Unexport from
1230 kernel only if the entry is exported to kernel.
1231 (unexportfs): Likewise.
1233 Wed Sep 08 16:49:32 1999 Neil Brown <neilb@cse.unsw.edu.au>
1235 1/ utils/mountd/rmtab.c::mountlist_list
1237 This routine stats the rmtab file to see if it has changed. It
1238 if has, it cleans up it's old copy of the data. But it still
1239 always re-read the file, thus returning multiple copies of the
1240 data on consecutive calls without intervening changes.
1241 "Showmount -a" didn't show this as it appears to sort/unique the
1242 data, but 'strace showmount -a' showed that the size of the
1243 datagram that it received grew.
1245 I moved the getrmtabent loop inside the mtime test.
1247 2/ utils/exportfs/exportfs.c
1249 Many routines used the m_path field of m_export instead of
1251 According to the comment in nfslib.h, m_path should only
1252 be used when processing a mount request (i.e. in mountd)
1253 where the mountpoint may be a subdirectory of the export point.
1255 I changed all occurances of m_path to e_path
1258 3/ utils/exportfs/exportfs.c:main
1260 extra arguments are not meaningful with -a or -r, but
1261 exportfs accepted them and then ignored the -a/-r, expect that
1262 -r would still unexport everything first.
1264 I generate an error if there are extra args and f_all
1266 4/ utils/exportfs/exportfs.c:main
1267 extract dump out as a special case.
1269 5/ utils/exportfs/exportfs.c
1270 made f_reexport a local variable.
1273 6/ utils/exportfs/exportfs.c:main,exportall
1275 support/export/rmtab.c
1276 only mayexport on newly created entries, don't set xtabent at all
1278 7/ support/include/nfslib.h
1280 add #define _PATH_PROC_EXPORTS to be /proc/fs/nds/exports
1282 8/ support/export/xtab.c
1284 xtab_mount_read loads data from _PATH_PROC_EXPORTS if it exists,
1288 9/ support/export/xtab.c
1290 xtab_mount_read now sets m_exported, and NOT
1291 xtabent and mayexport
1293 removed the append arguement from xtab_write as it was
1296 added is_export flag to xtab_write similar to xtab_read
1297 if is_export, only write entries with m_xtabent or m_addxtab
1298 if !is_export, only write entries with m_exported
1300 10/ support/export/export.c::export_allowed_internal
1302 added test for exp->m_mayexport, as the export tree
1303 may have entries that are no longer allowed to be exported,
1304 and so shouldn't caused deduced exported by rmtab_read
1306 11/ utils/exportfs/exportfs.c::main
1307 error checking of flags.
1309 12/ utils/exportfs/exportfs.c
1311 total rewrite of export and unexport logic.
1313 - build an exportslist of valid exports, based on
1314 current etab file and arguments,
1315 - read rmtab to instantiate relevant wild card entries
1316 - read etab to find out what is currently exported
1317 - synchronise intention with reality
1318 - write out etab and xtab
1321 discard the m_addxtab flag
1322 add m_changed flag so we know what to report in exportfs
1324 14/ utils/mountd/auth.c:auth_authenticate
1326 the value returned by gethostbyaddr was trusted.
1328 It now follows this with a call to gethostbyname
1329 and checks that the address is in the list.
1331 15/ support/export/nfsctl.c::cltsetup,expsetup
1333 force client names to lowercase as kernel is
1336 16/ quietened a few compiler warnings
1338 17/ support/export/client:client_lookup
1340 look for pre-existing client with same name before creating
1343 18/ support/include/exportfs.h
1345 The ordering of the MCL_* enum was:
1346 ANONYMOUS, FQDN, SUBNETWORK, WILDCARD, NETGROUP
1348 I moved ANONYMOUS to the end.
1350 The ordering is significant when an export entry is being searched for to
1351 match a given address. There are two problems with ANONYMOUS being first.
1353 1/ if a directory is exported rw to a couple of hosts and ro to everyone else,
1354 then the ro case will always be found first and the privileged hosts won't get
1356 2/ When mountd gets a request to mount an ANONYMOUSly exported tree, it creates a FQDN
1357 export entry for the specific host, and writes it to xtab.
1358 When another request comes from the same host, the ANONYMOUS entry is found again,
1359 before the new FQDN entry, so it creates another FQDN entry and writes it to xtab
1360 again. If causes bloat in xtab.
1362 Putting ANONYMOUS at the end reflects it's nature as a catch-all
1364 19/ utils/exportfs/exportfs.man
1365 many updates to the man page to reflect changes to the code
1367 -----------------------
1373 - allow exportfs to modify rmtab file
1374 - make sure kernel never gets two clients with same IP address
1375 - possible kernel should reject
1376 - needs to be some way to lookup client in kernel by IP address
1377 - maybe get kernel to do case-insensitive comparisons on client names
1378 - remove unused clients from kernel
1380 - change etab to xtab and xtab to xtab.active
1382 - timestamp and/or statd-stamp in rmtab for removing old entries.
1384 Mon Oct 18 11:48:07 1999 H.J. Lu <hjl@lucon.org>
1386 * linux-nfs: New directory.
1387 * linux-nfs/ChangeLog: Moved from ..
1388 * linux-nfs/INSTALL: Likewise.
1389 * linux-nfs/KNOWNBUGS: Likewise.
1390 * linux-nfs/NEW: Likewise.
1391 * linux-nfs/README: Likewise.
1392 * linux-nfs/THANKS: Likewise.
1393 * linux-nfs/TODO: Likewise.
1395 * Starting from knfsd 1.4.7.