1 2002-09-12 H.J. Lu <hjl@lucon.org>
3 * configure.in (VERSION): Set to "1.0.2".
4 * configure: Regenerated.
5 * nfs-utils.spec: Likewise.
7 2002-09-12 H.J. Lu <hjl@lucon.org>
9 * configure.in: Check svctcp_socket and svcudp_socket.
10 * configure: Regenerated.
12 * support/include/config.h.in (HAVE_SVCTCP_SOCKET): New.
13 (HAVE_SVCUDP_SOCKET): New.
15 * support/include/nfslib.h (svctcp_socket): New.
18 * support/nfs/Makefile (OBJS): Add svc_socket.o.
20 * support/nfs/svc_socket.c: New.
22 * support/nfs/rpcmisc.c (rpc_init): Call svctcp_socket and
23 svcudp_socket if port is unspecified.
25 * utils/nfsd/nfsd.c (main): Call getservbyname for port.
27 * utils/rquotad/rquota_svc.c: Include <nfslib.h>.
28 (killer): New. Signal handler to unregister.
29 (main): Use killer. Call svcudp_socket to get the default
32 2002-09-02 Juan Gomez <juang@us.ibm.com>
33 NeilBrown <neilb@cse.unsw.edu.au>
35 Add -N option to statd to run in notify-only mode.
37 * utils/statd/statd.h: uncomment MODE_NOTIFY_ONLY
38 * utils/statd/statd.man: document -N
39 * utils/statd/statd.c: enabled -N, largely exists but needed to be
40 uncommented and completed
42 2002-09-02 Juan Gomez <juang@us.ibm.com>
43 NeilBrown <neilb@cse.unsw.edu.au>
45 statd to have " -P directory" arg to use that directory instead
46 of /var/lib/nfs. This is useful for fail-over clusters.
48 * utils/statd/statd.h: define SM_DIR etc as var, not const.
49 * utils/statd/statd.c: define "-P" option to set SM_*
51 * utils/statd/monitor.c: sprintf to cope with SM_DIR not being
53 * utils/statd/notify.c: ditto.
54 * utils/statd/statd.man: document -P option.
56 2002-08-26 Chip Salzenberg <chip@pobox.com>
58 * utils/nfsd/nfsd.man: Fix typo.
59 * debian/changelog: Version 1.0.1-1.
61 2002-05-29 NeilBrown <neilb@cse.unsw.edu.au>
63 * let parseopts know if /etc/exports was being read or not,
64 and have it only print "no sync or async" warning in that case.
66 2002-05-06 Tom McNeal <trmcneal@attbi.com>
67 NeilBrown <neilb@cse.unsw.edu.au>
69 * utils/nfsstat/nfsstat.c: Handle differing format for
70 /proc/net/rpc/nfsd between pre and post 2.4.0
72 2002-04-09 NeilBrown <neilb@cse.unsw.edu.au>
73 James Pearson <james-p@moving-picture.com>
75 * support/nfs/rmtab.c(fendrmtabent): sync changes to
76 storage before returning, as this is critical state
78 2002-04-08 Sean O'Connell <sean@ee.duke.edu>
79 H.J. Lu <hjl@lucon.org>
81 * etc/redhat/nfs: New.
83 2002-04-08 H.J. Lu <hjl@lucon.org>
85 * etc/redhat/nfs.init: Updated.
87 * nfs-utils.spec.in: Updated.
88 * nfs-utils.spec: Regenerated.
90 * utils/mountd/mountd.c (longopts): Fix a typo.
92 * utils/mountd/mountd.man: Updated.
94 2002-04-07 H.J. Lu <hjl@lucon.org>
96 * etc/redhat/nfslock.init (restart): Just do stop and start.
98 * etc/redhat/nfs.init: Fix a typo.
100 2002-04-07 H.J. Lu <hjl@lucon.org>
102 * configure.in (VERSION): Set to "1.0.1".
103 * configure: Regenerated.
104 * nfs-utils.spec: Likewise.
106 * README: Updated for 1.0.1.
108 2002-04-07 Sean O'Connell <sean@ee.duke.edu>
109 H.J. Lu <hjl@lucon.org>
111 * etc/redhat/nfs.init: Read /etc/sysconfig/nfsd for NFS tuning.
113 2002-02-28 Steven Whitehouse <steve@gw.chygwyn.com>
114 NeilBrown <neilb@cse.unsw.edu.au>
116 Add support for fsid=nn export option so that device
117 numbers don't go in filehandles.
118 * support/export/nfsctl.c(expsetup): if exporting and NFSEXP_FSID
119 is set, pass the fsid in-place of the device number
120 * support/nfs/exports.c: parse and print fsid= option.
121 Also check if efname has been set, and use "command line"
122 instead in error messages.
123 Also, use strtol instead of atoi for anon[ug]id= so that
124 bad numbers cause errors.
126 2002-01-17 Adrian Drzewiecki <drze@MissionCriticalLinux.com>
127 NeilBrown <neilb@cse.unsw.edu.au>
129 * support/nfs/exports.c: remove NFSEXP_ASYNC as a default
130 flag so that "sync" becomes the default.
131 Check that either "sync" or "async" is given as an option
132 and warn if neither are present
133 * utils/exportfs/exports.man: change documentation for "sync"
134 to be documentation for "async".
135 * utils/exportfs/exportfs.man: note that "sync" is the default
139 2002-01-02 Chip Salzenberg <chip@pobox.com>
141 * support/export/nfsctl.c (expsetup): Don't export entries that
142 specify id mappings not supported by the kernel. No extant kernel
143 supports any significant mapping, only 'identity' (i.e. none).
144 When other mappings are supported, this code will need changing.
145 * debian/changelog: Version 1.0-2.
147 2001-12-26 Chip Salzenberg <chip@pobox.com>
149 * nfs-utils.spec (Version): Set to "1.0".
150 * configure.in (VERSION): Likewise.
151 * configure: Regenerated.
153 * debian/changelog: Version 1.0-1.
155 * utils/exportfs/exports.man: Emphasize the need for options to
156 immediately follow client names. Explain that wildcards don't
157 usually work on addresses, but may work when reverse DNS fails.
158 Comment out a leftover TP that was TPing our indentation.
159 * utils/mountd/mountd.man, utils/rquotad/rquotad.man,
160 utils/statd/statd.man: Remove refs to non-existent "hosts_allow(5)".
161 * debian/changelog: Version 0.3.3-6.
163 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
165 * support/export/client.c(client_lookup): If a host has multiple
166 IP addresses, then we must always use the result of a
167 gethostbyname, not that of gethostbyaddr for exporting
169 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
171 * support/export/client.c (client_lookup): use strcasecmp when
173 * support/nfs/export.c (getexportent): add fromkernel arg and use
174 different defaults as kernels prior to 2.4.11 assume different
175 defaults in /proc/fs/nfs/exports
176 * support/include/nfslib.h, support/export/export.c,
177 support/export/xtab.c: support extra "fromkernel" arg for
180 2001-12-13 Chip Salzenberg <chip@pobox.com>
182 * debian/changelog: Version 0.3.3-5.
184 2001-11-26 TAKAI Kousuke <takai@vlsi.kuee.kyoto-u.ac.jp>
186 * support/nfs/xio.c (xskip): Call `xungetc' instead of
187 `ungetc' to keep x_line more properly.
189 2001-11-26 Chip Salzenberg <chip@pobox.com>
191 * utils/showmount/showmount.c (main): Don't assume that strings
192 starting with digits are IP addresses.
193 * utils/nfsd/nfsd.c (main): Close all fds and reopen 0,1,2 on
194 /dev/null before nfssvc(). Use syslog to report nfssvc errors.
195 * support/misc/tcpwrapper.c, utils/mountd/mountd.man,
196 utils/rquotad/rquotad.man, utils/statd/statd.man: Fix comments and
197 man pages: We check host names *and* addresses with tcpwrappers.
198 * debian/changelog: Version 0.3.3-4.
200 2001-11-21 Chip Salzenberg <chip@pobox.com>
202 * support/nfs/clients.c (cfname): Added: current clients file name.
203 (setnfsclntent): Set it.
204 ({get,end}nfsclntent, syntaxerr): Use it.
205 * support/nfs/exports.c (efname): Added: current exports file name.
206 (setnfsexportent): Set it.
207 (endnfsexportent, parseopts, getexport, syntaxerr): Use it.
208 (parseopts): Accept old-style "crossmnt" option, for old xtabs.
209 * debian/changelog: Version 0.3.3-3.
211 2001-10-11 Chip Salzenberg <chip@pobox.com>
213 * utils/mountd/mountd.c (main): Close fds > 2 _before_ RPC init.
214 * debian/changelog: Version 0.3.3-2.
216 2001-10-08 Chip Salzenberg <chip@pobox.com>
218 * utils/mountd/mountd.c (main): When daemonizing, close all fds > 2.
219 * utils/Makefile.in: Remove old Makefile in target 'distclean'.
220 * utils/mountd/mountd.man: Update paths to /var/lib.
221 * debian/*: Version 0.3.3-1, with Debian-specific fixes.
223 2001-10-06 Preston Brown <pbrown@redhat.com>
225 * utils/nfsstat/nfsstat.man: Updated.
227 2001-09-24 H.J. Lu <hjl@lucon.org>
229 * configure.in (VERSION): Set to "0.3.3".
230 * configure: Regenerated.
231 * nfs-utils.spec: Likewise.
233 * README: Updated for 0.3.3.
235 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
237 Arrange that "exportfs -au" never does DNS lookup:
239 * support/export/client.c (client_lookup) : add "canonical"
240 flag which says that the hostname is known to be canonical, so
243 * support/export/export.c (export_create) : add "canonical"
244 flag to be passed down to client_lookup
245 * support/export/export.c (export_lookup) : Likewise
247 * support/export/xtab.c (xtab_read) : pass appropriate
248 "canonical" flag to export_lookup and export_create:
249 set if reading list of filesystems currently exports
252 * support/export/export.c (export_read) : pass 0 as
253 "canonical" flag to export_lookup and export_create
254 * support/export/rmtab.s (rmtab_read) : Likewise
256 * support/include/exportfs.h : redeclare various routines
257 to have "canonical" flag
259 * utils/exportfs/exportfs.c (main) : redo logic for
260 "-au" to read in what is currently exported, but never even
261 look at what "should" be exported.
263 * utils/exportfs/exportfs.c (unexportall) : remove this
264 routine. Functionality is completely included in
267 * utils/exportfs/exportfs.c (exportfs) : set "canonical"
268 flag to zero in calls to export_lookup and export_create.
271 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
272 Anne Milicia <milicia@missioncriticallinux.com>
274 * support/export/client.c (client_lookup) call gethostbyadd
275 to make sure that we have a canonical hostname, even for
277 * utils/exportfs/exportfs.c (exportfs) Likewise
279 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
281 * support/nfs/exports.c (putexportent): \octal quote any spaces
283 * support/nfs/xio.c (xgettok): recognise double-quote and
284 \octal quoting in path names
285 * utils/exportfs/exports.man: document quoting conventions
288 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
290 * utils/mountd/auth.c (auth_authenticate_internal): Reverse
291 change from 2000-08-02: It causes problems if someone exports
292 to both a hostname and IP addresses. nfs-utils must be
293 consistant about the canonical name that it chooses.
295 2001-08-17 Ragnar Kjørstad <nfs@ragnark.vestdata.no>
296 H.J. Lu <hjl@lucon.org>
298 * etc/redhat/nfslock.init (STATDARG): New. Pass it to rpc.statd.
300 * utils/statd/statd.c (longopts): Add "name".
301 (usage): Add "-n/--name".
302 (main): Set MY_NAME with "-n/--name".
304 * utils/statd/state.c (change_state): Set MY_NAME only if it
307 * utils/statd/statd.man: Updated for "-n/--name".
309 2001-07-26 H.J. Lu <hjl@lucon.org>
311 * nfs-utils.spec (Release): Set to 8.
313 2001-07-25 H.J. Lu <hjl@lucon.org>
315 * etc/redhat/nfs.init: Check if rpc.rquotad exists before doing
318 2001-06-27 H.J. Lu <hjl@lucon.org>
320 * etc/redhat/nfs.init: Run rpc.rquotad only if it exists.
322 2001-06-27 H.J. Lu <hjl@lucon.org>
324 * utils/rquotad/rquota_server.c: Don't call statfs () for
325 the block size. Use BLOCK_SIZE instead.
327 2001-06-27 H.J. Lu <hjl@lucon.org>
329 * config.mk.in (CC_FOR_BUILD): Renamed from BUILD_CC.
330 (CFLAGS_FOR_BUILD): New. Don't use @CFLAGS@.
332 * configure.in (enable_nfsv3): Set to yes by default.
333 (--enable-rquotad): Added
334 (AC_PROG_CXX): Removed.
335 (AC_OUTPUT): Add utils/Makefile.
336 (CC_FOR_BUILD): Renamed from BUILD_CC.
337 * configure: Regenerated.
339 * utils/Makefile: Removed.
341 * utils/Makefile.in: New.
343 * nfs-utils.spec.in (rquotad): New. Set to 0 to disable
345 (CC_FOR_BUILD): Renamed from BUILD_CC.
346 * nfs-utils.spec: Regenerated.
348 2001-06-15 Chip Salzenberg <chip@debian.org>
350 * debian/changelog: Version 0.3.2-2.
351 * debian/*.init: Minor fixes.
353 2001-06-07 Lon H. Hohberger <hohberger@missioncriticallinux.com>
355 * etc/nodist/nfs-server: Fixed a bug where the script would
356 disable mounts from NFSv3 clients if NFSv3 is present.
358 2001-06-05 H.J. Lu <hjl@lucon.org>
360 * utils/mountd/mountd.c (longopts): Add "descriptors/o".
361 (main): Support --descriptors/-o to set the limit of the number
362 of open file descriptors.
365 * utils/mountd/mountd.man: Updated for --descriptors/-o.
367 2001-06-04 H.J. Lu <hjl@lucon.org>
369 * nfs-utils.spec (Release): Set to 6.
371 2001-05-28 H.J. Lu <hjl@lucon.org>
373 * utils/lockd/lockd.c (main): chdir to NFS_STATEDIR.
374 * utils/mountd/mountd.c (main): Likewise.
375 * utils/nfsd/nfsd.c (main): Likewise.
376 * utils/rquotad/rquota_svc.c (main): Likewise.
378 2001-05-06 Anne Milicia <milicia@missioncriticallinux.com>
380 * support/export/client.c (client_check): Check IP address
383 2001-05-06 Neil Brown <neilb@cse.unsw.edu.au>
385 * support/export/client.c (client_gettype): Treat `*' as
388 2001-04-22 H.J. Lu <hjl@lucon.org>
390 * nfs-utils.spec.in: Fix a typo.
391 * nfs-utils.spec: Regenerated.
393 2001-04-21 H.J. Lu <hjl@lucon.org>
395 * nfs-utils.spec.in: Fix cross build.
396 * nfs-utils.spec: Regenerated.
399 2001-04-18 H.J. Lu <hjl@lucon.org>
401 * nfs-utils.spec.in: Support cross build.
402 * nfs-utils.spec: Regenerated.
408 * config.mk.in (BUILD_CC): New.
409 (CC): Set to $(BUILD_CC) if BUILD is defined.
412 (RANLIB): Set to @RANLIB@.
414 * configure.in: Check BUILD_CC, RANLIB, AR and LD.
415 * configure: Regenerated.
417 * tools/rpcgen/Makefile (BUILD): Set to true.
419 2001-04-01 Chip Salzenberg <chip@valinux.com>
421 * tools/rpcgen/rpc_svcout.c (write_timeout_func): Remove
422 redundant, and sometimes broken, declaration of svc_fdset;
424 * support/nfs/rpcmisc.c (closedown): Likewise.
426 2001-03-21 H.J. Lu <hjl@lucon.org>
428 * nfs-utils.spec: Regenerated.
431 2001-03-21 Ion Badulescu <ionut@cs.columbia.edu>
433 * utils/statd/statd.c (main): make sure file descriptors 0-2
434 are open to /dev/null.
436 2001-03-21 H.J. Lu <hjl@lucon.org>
438 * support/nfs/rpcmisc.c: Restore the change made on 2001-03-10.
439 * support/nfs/rpcmisc.c: Likewise.
440 * utils/rquotad/rquota_svc.c: Likewise.
441 * utils/rquotad/rquotad.man: Likewise.
442 * utils/statd/Makefile: Likewise.
443 * utils/statd/rmtcall.c: Likewise.
444 * utils/statd/simulate.c: Likewise.
445 * utils/statd/statd.c: Likewise.
446 * utils/statd/statd.man: Likewise.
448 2001-03-11 H.J. Lu <hjl@lucon.org>
450 * configure.in (RELEASE): New. Default to 1, set by
451 --with-release=XXX. Substitute nfs-utils.spec.
452 * nfs-utils.spec.in (Release): Set to @RELEASE@.
453 * configure: Regenerated.
454 * nfs-utils.spec: Likewise.
456 2001-03-11 H.J. Lu <hjl@lucon.org>
458 * utils/rquotad/rquotad.man: Fix a typo.
460 2001-03-11 H.J. Lu <hjl@lucon.org>
462 * support/include/rpcmisc.h: Undo the change made on 2001-03-10.
463 * support/nfs/rpcmisc.c: Likewise.
464 * utils/rquotad/rquota_svc.c: Likewise.
465 * utils/rquotad/rquotad.man: Likewise.
466 * utils/statd/Makefile: Likewise.
467 * utils/statd/rmtcall.c: Likewise.
468 * utils/statd/simulate.c: Likewise.
469 * utils/statd/statd.c: Likewise.
470 * utils/statd/statd.man: Likewise.
472 2001-03-10 H.J. Lu <hjl@lucon.org>
474 * configure.in (VERSION): Set to "0.3.2".
475 * configure: Regenerated.
476 * nfs-utils.spec: Likewise.
478 * README: Updated for 0.3.2.
480 2001-03-10 Tavis Barr <tavis@boole.isetr.columbia.edu>
482 * utils/rquotad/rquotad.man: Updated for -p.
483 * utils/statd/statd.man: Likewise.
485 2001-03-10 Ion Badulescu <ionut@cs.columbia.edu>
487 * support/nfs/rpcmisc.c: export makesock()
489 * support/include/rpcmisc.h (makesock): Declared.
491 * utils/rquotad/rquota_svc.c: added longopts, added support for
492 specifying the port to bind to on the command line.
494 * utils/statd/statd.c: ditto, also specify port used for
495 outgoing connections.
496 (do_regist): Removed.
498 * utils/statd/rmtcall.c (statd_get_socket): Renamed from
499 get_socket. Make it extern.
501 * utils/statd/simulate.c (daemon_simulator): Call rpc_init
502 instead of do_regist.
504 * utils/statd/Makefile (LIBS): link with our own libnfs
506 2001-03-09 H.J. Lu <hjl@lucon.org>
508 * etc/redhat/nfslock.init: Changed chkconfig line to 60 86.
509 * etc/nodist/nfs-client: Likewise.
511 2001-02-26 Chip Salzenberg <chip@valinux.com>
513 * debian/changelog: Version 0.3.1-1.
514 * Mention upstream source and license in copyright file.
515 * Add build-Depends for debhelper and libwrap0-dev.
517 2001-02-20 Lon Hohberger <hohberger@missioncriticallinux.com>
519 * etc/nodist/nfs-server: Changed chkconfig line to 60 20
520 * etc/nodist/nfs-client: Likewise.
522 2001-02-18 Lon Hohberger <hohberger@missioncriticallinux.com>
524 * utils/statd/statd.man: Changed /usr/sbin/rpc.statd to
527 2001-02-17 Patrick J. LoPresti <patl@curl.com>
529 * utils/statd/log.c (log_init): Use LOG_DAEMON instead of
532 2001-02-14 H.J. Lu <hjl@lucon.org>
534 * utils/statd/rmtcall.c: Include <time.h>.
535 * utils/statd/svc_run.c: Likewise.
537 2001-02-14 H.J. Lu <hjl@lucon.org>
539 * configure.in (VERSION): Set to "0.3.1".
540 * configure: Regenerated.
541 * nfs-utils.spec: Likewise.
543 * README: Updated for 0.3.1.
545 2001-02-14 H.J. Lu <hjl@lucon.org>
547 * support/nfs/rpcmisc.c: Include <time.h>.
549 2001-02-14 Chip Salzenberg <chip@valinux.com>
551 * debian/control: Change priority of nhfsstone package to 'extra'.
553 2001-02-12 Chip Salzenberg <chip@valinux.com>
555 * debian/changelog: Version 0.3-2.
557 2001-02-02 H.J. Lu <hjl@lucon.org>
559 * support/include/rpcmisc.h (rpc_init): Remove bufsize.
561 * support/nfs/rpcmisc.c (makesock): Remove socksz and comment
562 out SO_SNDBUF/SO_RCVBUF.
563 (rpc_init): Remove bufsize and remove socksz in calls to
566 * utils/mountd/mountd.c (main): Remove bufsize in calls to
569 2001-01-28 Chip Salzenberg <chip@valinux.com>
571 * debian/changelog: Version 0.3-1.
573 2001-01-25 H.J. Lu <hjl@lucon.org>
575 * configure.in (VERSION): Set to "0.3".
576 * configure: Regenerated.
577 * nfs-utils.spec: Likewise.
579 * README: Updated for 0.3.
581 2001-01-25 H.J. Lu <hjl@lucon.org>
583 * utils/lockd/lockd.c (main): Ignore errno == EINVAL.
585 2001-01-20 Chip Salzenberg <chip@valinux.com>
587 * support/include/xio.h (xgetc): Declare to return int.
588 * support/nfs/xio.c (xgetc): Return int.
589 (xgettok, xskip, xskipcomment): Use int for value of xgetc.
590 * utils/statd/statd.c (main): Use int for value of getopt.
591 * debian/changelog: Version 0.2.1-5.
593 2000-12-10 Chip Salzenberg <chip@valinux.com>
595 * utils/statd/monitor.c (sm_mon_1_svc): Fix buggy check for
596 program and procedure numbers of kernel lockd's callback. Also,
597 besides the old (and broken) procedure #24, allow #16 per Trond.
599 2000-12-03 Chip Salzenberg <chip@valinux.com>
601 * support/nfs/xio.c (xfopen): Initialize x_line to one, not zero.
602 * debian/control: Let nhfsstone replace files in nfs-kernel-server.
603 * debian/changelog: Version 0.2.1-4.
605 2000-11-27 Tobias Ringstrom <tori@tellus.mine.nu>
607 * utils/mountd/auth.c (auth_authenticate): Log the bad path
610 2000-11-24 Neil Brown <neilb@cse.unsw.edu.au>
612 * support/nfs/exports.c (getexportent): Check for host name
613 without option, or options without hostname, and print a warning,
614 as this is most likely a typo.
616 2000-11-19 Chip Salzenberg <chip@valinux.com>
618 * debian/control: Add dependency on portmap.
619 * debian/changelog: Version 0.2.1-3.
621 2000-11-10 H.J. Lu <hjl@lucon.org>
623 * nfs-utils.spec.in: Don't use libtool.
624 Add ChangeLog and COPYING to doc.
625 * nfs-utils.spec: Rebuild.
627 2000-11-09 H.J. Lu <hjl@lucon.org>
629 * etc/redhat/nfs.init (start): Back out the last change.
631 2000-11-09 H.J. Lu <hjl@lucon.org>
633 * etc/redhat/nfs.init (start): Pass --no-tcp to mountd if
634 TCP is not supported by kernel.
636 * support/nfs/rpcmisc.c (rpc_init): Don't set _rpcfdtype to 0.
638 * utils/mountd/mountd.c (longopts): Add "-n/--no-tcp".
639 (main): Set to _rpcfdtype to SOCK_DGRAM for "-n/--no-tcp".
641 * utils/mountd/mountd.man: Updated for "-n/--no-tcp".
643 2000-10-24 Lon Hohberger <hohberger@missioncriticallinux.com>
645 * utils/statd/callback.c: Fix bug preventing callbacks to local lockd.
646 * utils/statd/rmtcall.c: Add some IP address paranoia when doing
647 callbacks to local lockd.
649 2000-10-18 Scott McDermott <mcdermot@questra.com>
651 * utils/exportfs/exports.man: Updated for CIDR netmask.
653 2000-10-17 Scott McDermott <mcdermot@questra.com>
655 * support/export/client.c (client_init): Support CIDR netmask
658 2000-10-11 H.J. Lu <hjl@lucon.org>
660 * aclocal.m4 (AC_TCP_WRAPPER): Fix a typo.
661 * configure: Rebuilt.
663 2000-10-06 Lon Hohberger <hohberger@missioncriticallinux.com>
665 * utils/statd/statd.man: Change "/var/lib/nfs/sm/state" to
666 "/var/lib/nfs/state".
668 2000-10-05 Lon Hohberger <hohberger@missioncriticallinux.com>
670 * utils/statd/statd.h (run_mode): New global bitmask of runtime
671 behaviors: fg/bg, logging, etc.
672 * utils/statd/statd.c: New command line options: -V -h -? -d .
673 * utils/statd/statd.man: Update for changes to statd.
675 * utils/statd/log.h (log_init): Remove parameter of function; use
676 global variable "name_p" instead.
677 * utils/statd/log.c: Add support for logging to stderr.
679 * utils/statd/notlist.c: Partially rewrite notify list handling
680 functions. Eliminate run-off-end-of-list bug when calling
681 nlist_insert_timer. Add lots of comments.
683 2000-09-27 H.J. Lu <hjl@lucon.org>
685 * README: Updated for RedHat 7.0.
687 2000-09-27 H.J. Lu <hjl@lucon.org>
689 * nfs-utils.spec: Rebuild.
691 2000-09-27 H.J. Lu <hjl@lucon.org>
693 * README: Updated for 0.2.1.
695 2000-09-27 H.J. Lu <hjl@lucon.org>
697 * nfs-utils.spec.in: Updated to use rpm macros and support
700 2000-09-25 H.J. Lu <hjl@lucon.org>
702 * configure.in (VERSION): Set to "0.2.1".
703 * configure: Regenerated.
704 * nfs-utils.spec: Updated.
706 2000-09-25 H.J. Lu <hjl@lucon.org>
708 * utils/mountd/auth.c (auth_authenticate_internal): Make sure a
709 non-NULL hostent is always returned.
711 2000-09-11 Ion Badulescu <ionut@cs.columbia.edu>
713 * etc/redhat/nfslock.init: don't kill lockd processes that do not
714 have an executable (i.e. kernel threads)
716 2000-09-01 H.J. Lu <hjl@lucon.org>
718 * README: Updated for 0.2.
720 2000-09-01 Jay Weber <jweber@valinux.com>
722 * etc/redhat/nfs.init: Added ability for rpc.mountd to default to
723 supporting version 3 of nfs if available, else it will fall back to
724 version 2 support only.
726 2000-08-30 H.J. Lu <hjl@lucon.org>
728 * configure.in (VERSION): Set to "0.2".
729 * configure: Regenerated.
730 * nfs-utils.spec: Updated.
732 2000-08-25 H.J. Lu <hjl@lucon.org>
734 * support/misc/tcpwrapper.c (logit): Modify the log output.
736 2000-08-25 Ion Badulescu <ionut@cs.columbia.edu>
738 * utils/rquotad/rquotad.man, utils/statd/statd.man,
739 utils/mountd/mountd.man: updated
741 * utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL)
742 * utils/rquotad/Makefile: fix comment
744 * support/misc/tcpwrapper.c (logit): added comment about waiting
745 for the children after fork()
747 * utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving
748 zombies behind (from logit()'s fork)
749 * utils/rquotad/rquota_svc.c (main): ditto
750 * utils/statd/statd.c (main): ditto
752 * utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG
753 to check_default instead of 0, for prognum
755 * utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG
756 to check_default instead of 0, for prognum
758 * utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if
759 HAVE_TCP_WRAPPER is defined.
760 (mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is
761 defined. Reject an RPC call if check_default () fails.
763 2000-08-25 H.J. Lu <hjl@lucon.org>
765 * support/include/tcpwrapper.h: New for the tcp wrapper
767 * support/misc/Makefile: Likewise.
768 * support/misc/from_local.c: Likewise.
769 * support/misc/tcpwrapper.c: Likewise.
771 * aclocal.m4 (AC_TCP_WRAPPER): New.
772 * configure.in: Use it. Substitute LIBWRAP.
773 * configure: Rebuilt.
775 * config.mk.in (LIBNSL): New.
778 * support/Makefile (SUBDIRS): Add misc.
780 * support/lib/Makefile (LIBS): Add libmisc.a.
782 * utils/rquotad/Makefile (LIBS): Add
784 -lmisc $(LIBWRAP) $(LIBNSL)
786 * utils/statd/Makefile (LIBS): Likewise.
788 * utils/rquotad/rquota_svc.c: Include "tcpwrapper.h" if
789 HAVE_TCP_WRAPPER is defined.
790 (rquotaprog_1): Call check_default () if HAVE_TCP_WRAPPER is
791 defined. Reject an RPC call if check_default () fails.
793 * utils/statd/statd.c: Include "tcpwrapper.h" if
794 HAVE_TCP_WRAPPER is defined.
795 (sm_prog_1_wrapper): New. A wrapper for sm_prog_1. Call
796 check_default () before calling sm_prog_1 (). Define it as
797 sm_prog_1_wrapper if HAVE_TCP_WRAPPER is defined.
799 2000-08-25 Chip Salzenberg <chip@valinux.com>
801 * debian/*: Complete Debian build support.
802 * etc/debian/*: Remove.
804 2000-08-24 Neil Brown <neilb@cse.unsw.edu.au>
806 * support/export/client.c(client_check): removed the "dot+1" as a
807 ypdomain argument to innetgr as this is entirely bogus.
808 It should always be NULL.
810 2000-08-23 Neil Brown <neilb@cse.unsw.edu.au>
812 * support/export/xtab.c(xtab_read): introduce new mode for
813 reading xtab. i.e. a list of exports that might be known to the
814 kernel, or might not. These are flagged as m_exported == -1
815 * support/export/xtab.c(xtab_mount_read): call xtab_read with new
816 value "2" for xtab, meaning don't trust this too much.
817 * support/include/exportfs.h(struct mexport): changed m_exported
818 from one bit to an int so that it can hold new value
819 * utils/exportfs/exportfs.c(exportfs_ipdate): add an export to the
820 kernel if it is uncertain whether the kernel knows (m_exported == -1)
821 * utils/mountd/mountd.c(get_rootfh): similarly export to kernel if
824 * support/nfs/xio.c(xflock): added O_CREAT when getting
825 a write lock so that missing files aren't fatal.
827 * etc/debian/nfs-common: new file from "potato"
828 * etc/debian/nfs-kernel-server: new file from "potato" plus fixes.
830 2000-08-09 H.J. Lu <hjl@lucon.org>
832 * etc/redhat/nfs.init: Run /usr/sbin/exportfs first during
833 startup to ensure all existing clients work fine.
835 * support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0
836 to xtab_read () for reading _PATH_XTAB.
838 2000-08-02 H.J. Lu <hjl@lucon.org>
840 * utils/mountd/auth.c (auth_authenticate_internal): Try to
841 avoid the reverse name lookup.
843 2000-07-04 H.J. Lu <hjl@lucon.org>
845 * utils/statd/log.c: Include <stdlib.h> for exit ().
847 * utils/statd/misc.c (xunlink): Add `{' and `}' to quiet the
850 2000-07-04 H.J. Lu <hjl@lucon.org>
852 * configure.in (VERSION): Set to "0.1.9.1".
853 * configure: Regenerated.
854 * nfs-utils.spec: Updated.
858 2000-07-04 Neil Brown <neilb@cse.unsw.edu.au>
860 * support/export/hostname.c (hostent_dup): Handle the NULL
863 2000-07-03 H.J. Lu <hjl@lucon.org>
865 * README: Update the util-linux requirement.
867 2000-07-03 H.J. Lu <hjl@lucon.org>
869 * configure.in (VERSION): Set to "0.1.9".
870 * configure: Regenerated.
871 * nfs-utils.spec: Updated.
875 2000-07-03 H.J. Lu <hjl@lucon.org>
877 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
878 stop to ensure all clients can still access the server
879 before it is shutdown.
881 2000-06-30 Jeff Uphoff <juphoff@transmeta.com>
883 * tools/rpcgen/rpc_svcout.c (write_msg_out): Generate syslog()
884 calls with format string.
886 2000-06-28 Chip Salzenberg <chip@valinux.com>
888 * utils/statd/log.c (log): Call syslog with format string.
890 2000-06-27 H.J. Lu <hjl@lucon.org>
892 * utils/statd/statd.c (main): Use sysconf (_SC_OPEN_MAX)
895 2000-06-27 H.J. Lu <hjl@lucon.org>
899 2000-06-27 H.J. Lu <hjl@lucon.org>
901 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
902 startup to ensure all existing clients are exported.
904 * configure.in (VERSION): Set to "0.1.8.2".
905 * configure: Regenerated.
906 * nfs-utils.spec: Updated.
908 2000-06-06 H.J. Lu <hjl@lucon.org>
910 * configure.in (VERSION): Set to "0.1.8.1".
911 * configure: Regenerated.
912 * nfs-utils.spec: Updated.
914 2000-06-06 H.J. Lu <hjl@lucon.org>
916 * utils/mountd/mountd.c (mount_dump_1_svc): Cast svc_getcaller
917 to "struct sockaddr_in *" for glibc 2.2.
918 (mount_umnt_1_svc): Likewise.
919 (mount_umntall_1_svc): Likewise.
920 (mount_export_1_svc): Likewise.
921 (mount_exportall_1_svc): Likewise.
922 (mount_pathconf_2_svc): Likewise.
923 (get_rootfh): Likewise.
925 2000-06-04 H.J. Lu <hjl@lucon.org>
927 * etc/redhat/nfs.init: Fix a typo in comment.
929 2000-05-31 H.J. Lu <hjl@lucon.org>
931 * configure.in (VERSION): Set to "0.1.8".
932 * configure: Regenerated.
933 * nfs-utils.spec: Updated.
937 2000-05-31 H.J. Lu <hjl@lucon.org>
939 * configure.in (VERSION): Set to "0.1.7.5".
940 * configure: Regenerated.
941 * nfs-utils.spec: Updated.
943 * support/include/nfslib.h (exportent): Add a new field,
944 r_count, to count the number of mounts from a client.
945 (getrmtabent): Take a new argument for position in file.
946 (putrmtabent): Likewise.
947 (fgetrmtabent): Likewise.
948 (fputrmtabent): Likewise.
949 * support/nfs/rmtab.c (getrmtabent): Handle the new argument
950 for position in file.
951 (fgetrmtabent): Likewise.
952 (putrmtabent): Likewise.
953 (fputrmtabent): Likewise.
955 * support/nfs/rmtab.c (fgetrmtabent): Get value for the new
958 * support/export/rmtab.c (rmtab_read): Pass NULL as the new
959 argument to getrmtabent (), fgetrmtabent (), putrmtabent ()
961 * utils/mountd/rmtab.c (mountlist_add): Likewise.
962 (mountlist_del): Likewise.
963 (mountlist_del_all): Likewise.
964 (mountlist_list): Likewise.
966 * utils/mountd/rmtab.c (mountlist_add): Increment "r_count"
967 for the existing entry and initialize "r_count" to 1.
968 (mountlist_del): Decrement "r_count".
970 2000-05-18 H.J. Lu <hjl@lucon.org>
972 * configure.in (VERSION): Set to "0.1.7.4".
973 * configure: Regenerated.
974 * nfs-utils.spec: Updated.
976 2000-05-18 H.J. Lu <hjl@lucon.org>
978 * etc/redhat/nfs.init (restart): Just do stop and start.
980 2000-05-09 Jay Weber <jweber@valinux.com>
982 * utils/rquotad/hasquota.c: added support for ext3 recognition
984 * utils/rquotad/mntent.h: Likewise.
986 2000-05-01 H.J. Lu <hjl@lucon.org>
988 * configure.in (VERSION): Set to "0.1.7.3".
989 * configure: Regenerated.
990 * nfs-utils.spec: Updated.
992 2000-05-01 H.J. Lu <hjl@lucon.org>
994 * utils/rquotad/rquota_server.c (getquotainfo): Skip bad
995 mounting poins in /etc/fstab.
997 2000-05-01 H.J. Lu <hjl@lucon.org>
999 * configure.in (VERSION): Set to "0.1.7.2".
1000 * configure: Regenerated.
1001 * nfs-utils.spec: Updated.
1003 2000-05-01 H.J. Lu <hjl@lucon.org>
1005 * utils/rquotad/rquota_server.c (getquotainfo): Call stat ()
1006 to check for the mounting point.
1008 2000-04-29 Chip Salzenberg <chip@valinux.com>
1009 Neil Brown <neilb@cse.unsw.edu.au>
1011 * Really re-use RPC ports.
1012 (Fixes earlier patch. Sorry, Neil.)
1014 2000-04-26 H.J. Lu <hjl@lucon.org>
1016 * configure.in (VERSION): Set to "0.1.7.1".
1017 * configure: Regenerated.
1018 * nfs-utils.spec: Updated.
1020 2000-04-26 H.J. Lu <hjl@lucon.org>
1022 * etc/redhat/nfslock.init: Check if lockd exits before killing
1025 2000-04-25 H.J. Lu <hjl@lucon.org>
1027 * README: Require util-linux-2.10f-mount-rpc.patch for mount.
1029 2000-03-21 Michael Weiser <michael@weiser.saale-net.de>
1031 * support/nfs/exports.c (parsesquash): Correctly set the
1034 Tue Mar 21 11:38:48 EST 2000 NeilBrown <neilb@cse.unsw.edu.au>
1036 * support/include/nfs/nfs.h: Removed knowledge of internals of
1037 kernel filehandles (which can change) and defined nfs_fh_size
1038 which has variable size
1040 * support/nfs/getfh.c: defined getfh_size to use new syscall to
1041 get variable sized file handles, and change getfh{,old} to
1044 * utils/mountd/mountd.c: use nfd_fh_size and call getfh_size for
1047 * tools/Makefile, tools/nlmtest/nlmtest.c
1048 nlmtest.c depended on internel format of file handles, so now
1052 2000-03-12 Chip Salzenberg <chip@valinux.com>
1053 Neil Brown <neilb@cse.unsw.edu.au>
1055 * support/nfs/rpcmisc.c (rpc_init): Share transports.
1057 2000-03-13 H.J. Lu <hjl@lucon.org>
1059 * etc/redhat/nfsd.init: Updated.
1061 * etc/redhat/nfslock.init: Updated.
1063 * nfs-utils.spec.in: Updated.
1065 * configure.in (VERSION): Set to "0.1.7".
1066 * configure: Regenerated.
1067 * nfs-utils.spec: Updated.
1071 Wed Mar 8 09:42:43 2000 Neil Brown <neilb@cse.unsw.edu.au>
1073 * utils/exportfs/exportfs.c (dump): Included printing of
1074 nohide, no_subtree_check, and insecure_locks
1076 2000-02-26 Chip Salzenberg <chip@valinux.com>
1078 * config.mk.in (INSTALLSUID): Strip ("-s").
1079 (INSTALLSCRIPT): Define.
1080 * utils/nhfsstone/Makefile: Use it.
1082 2000-02-26 Chip Salzenberg <chip@valinux.com>
1084 * utils/lockd/lockd.man: Create.
1085 * utils/lockd/Makefile: Install it.
1086 * utils/nhfsstone/nhfs{run,nums,graph}.man: Create.
1087 * utils/nhfsstone/nhfsstone.man: Change suffix from ".1".
1088 * utils/nhfsstone/Makefile: Install the helper scripts and
1090 * utils/exportfs/exports.man: Fix typo.
1092 2000-02-26 Chip Salzenberg <chip@valinux.com>
1094 * support/nfs/xio.c (xungetc): Decrement line number when
1095 character to unget is newline. Make first parameter int, so
1096 it can distinguish EOF from \377.
1097 * support/include/xio.h (xungetc): Adjust prototype.
1099 Fri Feb 4 23:42:23 2000 Neil Brown <neilb@cse.unsw.edu.au>
1101 * support/include/nfs/export.h: added NFSEXP_NOAUTHNLM
1102 * support/nfs/exports.c: added handling for NFSEXP_NOAUTHNLM
1103 * utils/exportfs/exports.man: added documentation for no_auth_nlm.
1105 This is for supporting a new option introduced in 2.3.42
1107 Thu Feb 3 14:55:48 2000 H.J. Lu <hjl@lucon.org>
1109 * COPYING: Added. GPL.
1111 Thu Feb 03 14:40:40 2000 Cristian Gafton <gafton@redhat.com>
1113 * utils/rquotad/rquota_server.c (getquotainfo): Call statfs ()
1114 to get the block size.
1116 Tue Jan 25 11:04:17 2000 H.J. Lu <hjl@lucon.org>
1118 * nfs-utils.spec.in: Update ftp site.
1120 Mon Jan 17 11:48:18 2000 H.J. Lu <hjl@lucon.org>
1122 * README: Update hostnames.
1124 Tue Jan 11 10:06:22 2000 H.J. Lu <hjl@lucon.org>
1126 * configure.in (VERSION): Set to "0.1.6".
1127 * configure: Regenerated.
1128 * nfs-utils.spec: Updated.
1132 Mon Jan 10 14:26:33 2000 H.J. Lu <hjl@lucon.org>
1134 * utils/mountd/auth.c (auth_authenticate_internal): Call
1135 xstrdup for hostname before passing it to gethostbyname.
1137 * utils/mountd/mountd.c (get_exportlist): Use xstrdup instead
1140 Sun Dec 19 09:35:01 1999 H.J. Lu <hjl@lucon.org>
1142 * README: Update the mailing list address.
1144 Sun Dec 19 09:22:28 1999 H.J. Lu <hjl@lucon.org>
1146 * configure.in (VERSION): Set to "0.1.5".
1147 * configure: Regenerated.
1148 * nfs-utils.spec: Updated.
1152 Mon Dec 13 13:40:20 1999 H.J. Lu <hjl@lucon.org>
1154 * utils/rquotad/hasquota.c (hasquota): Malloc one more char
1157 Mon Dec 6 09:42:45 1999 H.J. Lu <hjl@lucon.org>
1159 * configure.in (VERSION): Set to "0.1.4".
1160 * configure: Regenerated.
1161 * nfs-utils.spec: Updated.
1165 Mon Dec 6 09:28:07 1999 H.J. Lu <hjl@lucon.org>
1167 * nfs-utils.spec.in: New file.
1169 * config.mk.in (VERSION): Changed to "nfs-utils @VERSION@".
1171 * configure.in (nfs-utils.spec): Added to AC_OUTPUT.
1173 1999-12-04 Chip Salzenberg <chip@valinux.com>
1175 * config.mk.in: Use $(CC) as set by configure.
1177 1999-12-04 Chip Salzenberg <chip@valinux.com>
1179 * rules.mk: Call $(MAKE) with $(MFLAGS).
1181 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1183 * tools/rpcgen/rpc_main.c (h_output): Generate IXDR_GET_INT32,
1184 IXDR_PUT_INT32, IXDR_GET_U_INT32 and IXDR_PUT_U_INT32.
1186 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1188 * nfs-utils.spec (Version): Set to 0.1.3.
1190 * configure.in (VERSION): Set to "nfs-utils 0.1.3".
1191 * configure: Regenerated.
1195 Mon Nov 29 11:15:47 1999 H.J. Lu <hjl@lucon.org>
1197 * utils/rquotad/rquota_server.c (nfsmount_to_devname): Removed.
1198 (_PATH_DEV_DSK): Likewise.
1199 (getquotainfo): Match the mounting point from /etc/mtab
1200 instead of calling nfsmount_to_devname ().
1202 1999-11-24 Chip Salzenberg <chip@valinux.com>
1204 * utils/statd/monitor.c (sm_mon_1_svc): Accept lockd callbacks
1205 to the new port 24 as well as the historical port 100021.
1207 Tue Nov 23 10:21:34 1999 Neil Brown <neilb@cse.unsw.edu.au>
1209 * etc/redhat/nfsd.init (stop): moved exportfs -ua after
1210 stopping nfsd to stop spurious ESTALE on server shutdown.
1212 Tue Nov 23 10:13:39 1999 Neil Brown <neilb@cse.unsw.edu.au>
1214 * support/nfs/exports.c (parseopts): make copy of opt string
1215 before 'nul'ing out commas so that
1217 # exportfs -o option1,option2 hosta:/fs hostb:/fs
1219 applies both options to both exports.
1221 Thu Oct 28 12:55:42 1999 H.J. Lu <hjl@lucon.org>
1223 * README: Fix a few typos.
1225 * tools/rpcgen/rpc_cout.c (print_header): Use int32_t instead
1227 * tools/rpcgen/rpc_hout.c (pdefine): Likewise.
1228 * tools/rpcgen/rpc_main.c (c_initialize): Likewise.
1229 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1230 (unsigned_dec): Likewise.
1231 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1232 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1234 * tools/rpcgen/rpc_cout.c (emit_single_in_line): Use INT32
1236 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1237 (unsigned_dec): Likewise.
1238 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1239 * tools/rpcgen/rpc_scan.h (tok_kind): Likewise.
1240 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1242 Thu Oct 28 11:27:51 1999 Neil Brown <neilb@cse.unsw.edu.au>
1244 * support/include/nfs/export.h addedd NFSEXP_NOSUBTREECHECK
1245 * support/nfs/exports.c: added {no_,}subtree_check and changed
1247 * utils/exportfs/exports.man: added no_subtree_check and nohide
1248 and removed irrelevant stuff from unfsd.
1249 * support/export/rmtab.c: rmtab_read didn't quite do the right
1250 thing if a pathname from rmtab was a subdirectory of an export-point
1252 Tue Oct 26 17:22:40 1999 H.J. Lu <hjl@lucon.org>
1254 * README: Updated ftp site.
1256 Mon Oct 25 18:12:45 1999 H.J. Lu <hjl@lucon.org>
1258 * nfs-utils.spec (Version): Set to 0.1.2.
1260 * configure.in (VERSION): Set to "nfs-utils 0.1.2".
1261 * configure: Regenerated.
1265 Mon Oct 25 18:11:21 1999 H.J. Lu <hjl@lucon.org>
1267 * utils/mountd/auth.c (auth_error): Add "no_forward_dns".
1268 (auth_authenticate_internal): Check for NULL return on forward
1270 (auth_authenticate): Handle "no_forward_dns".
1272 Thu Oct 21 16:22:06 1999 H.J. Lu <hjl@lucon.org>
1274 * Version 0.1.1 released.
1276 * nfs-utils.spec (Version): Set to 0.1.1.
1278 * configure.in (VERSION): Set to "nfs-utils 0.1.1".
1279 * configure: Regenerated.
1283 Mon Oct 18 17:43:29 1999 H.J. Lu <hjl@lucon.org>
1285 * nfs-utils.spec (Obsoletes): Fixed a typo, change knfsd-client
1287 (Provides): Likewise.
1289 Mon Oct 18 14:56:22 1999 H.J. Lu <hjl@lucon.org>
1291 * Initial version 0.1 released.
1293 * configure.in (VERSION): Set to "nfs-utils 0.1".
1294 * configure: Regenerated.
1296 Mon Oct 18 14:54:57 1999 H.J. Lu <hjl@lucon.org>
1298 * utils/mountd/mountd.c (get_exportlist): Cleanup.
1300 * utils/exportfs/exportfs.c (unexport_all): Unexport from
1301 kernel only if the entry is exported to kernel.
1302 (unexportfs): Likewise.
1304 Wed Sep 08 16:49:32 1999 Neil Brown <neilb@cse.unsw.edu.au>
1306 1/ utils/mountd/rmtab.c::mountlist_list
1308 This routine stats the rmtab file to see if it has changed. It
1309 if has, it cleans up it's old copy of the data. But it still
1310 always re-read the file, thus returning multiple copies of the
1311 data on consecutive calls without intervening changes.
1312 "Showmount -a" didn't show this as it appears to sort/unique the
1313 data, but 'strace showmount -a' showed that the size of the
1314 datagram that it received grew.
1316 I moved the getrmtabent loop inside the mtime test.
1318 2/ utils/exportfs/exportfs.c
1320 Many routines used the m_path field of m_export instead of
1322 According to the comment in nfslib.h, m_path should only
1323 be used when processing a mount request (i.e. in mountd)
1324 where the mountpoint may be a subdirectory of the export point.
1326 I changed all occurances of m_path to e_path
1329 3/ utils/exportfs/exportfs.c:main
1331 extra arguments are not meaningful with -a or -r, but
1332 exportfs accepted them and then ignored the -a/-r, expect that
1333 -r would still unexport everything first.
1335 I generate an error if there are extra args and f_all
1337 4/ utils/exportfs/exportfs.c:main
1338 extract dump out as a special case.
1340 5/ utils/exportfs/exportfs.c
1341 made f_reexport a local variable.
1344 6/ utils/exportfs/exportfs.c:main,exportall
1346 support/export/rmtab.c
1347 only mayexport on newly created entries, don't set xtabent at all
1349 7/ support/include/nfslib.h
1351 add #define _PATH_PROC_EXPORTS to be /proc/fs/nds/exports
1353 8/ support/export/xtab.c
1355 xtab_mount_read loads data from _PATH_PROC_EXPORTS if it exists,
1359 9/ support/export/xtab.c
1361 xtab_mount_read now sets m_exported, and NOT
1362 xtabent and mayexport
1364 removed the append arguement from xtab_write as it was
1367 added is_export flag to xtab_write similar to xtab_read
1368 if is_export, only write entries with m_xtabent or m_addxtab
1369 if !is_export, only write entries with m_exported
1371 10/ support/export/export.c::export_allowed_internal
1373 added test for exp->m_mayexport, as the export tree
1374 may have entries that are no longer allowed to be exported,
1375 and so shouldn't caused deduced exported by rmtab_read
1377 11/ utils/exportfs/exportfs.c::main
1378 error checking of flags.
1380 12/ utils/exportfs/exportfs.c
1382 total rewrite of export and unexport logic.
1384 - build an exportslist of valid exports, based on
1385 current etab file and arguments,
1386 - read rmtab to instantiate relevant wild card entries
1387 - read etab to find out what is currently exported
1388 - synchronise intention with reality
1389 - write out etab and xtab
1392 discard the m_addxtab flag
1393 add m_changed flag so we know what to report in exportfs
1395 14/ utils/mountd/auth.c:auth_authenticate
1397 the value returned by gethostbyaddr was trusted.
1399 It now follows this with a call to gethostbyname
1400 and checks that the address is in the list.
1402 15/ support/export/nfsctl.c::cltsetup,expsetup
1404 force client names to lowercase as kernel is
1407 16/ quietened a few compiler warnings
1409 17/ support/export/client:client_lookup
1411 look for pre-existing client with same name before creating
1414 18/ support/include/exportfs.h
1416 The ordering of the MCL_* enum was:
1417 ANONYMOUS, FQDN, SUBNETWORK, WILDCARD, NETGROUP
1419 I moved ANONYMOUS to the end.
1421 The ordering is significant when an export entry is being searched for to
1422 match a given address. There are two problems with ANONYMOUS being first.
1424 1/ if a directory is exported rw to a couple of hosts and ro to everyone else,
1425 then the ro case will always be found first and the privileged hosts won't get
1427 2/ When mountd gets a request to mount an ANONYMOUSly exported tree, it creates a FQDN
1428 export entry for the specific host, and writes it to xtab.
1429 When another request comes from the same host, the ANONYMOUS entry is found again,
1430 before the new FQDN entry, so it creates another FQDN entry and writes it to xtab
1431 again. If causes bloat in xtab.
1433 Putting ANONYMOUS at the end reflects it's nature as a catch-all
1435 19/ utils/exportfs/exportfs.man
1436 many updates to the man page to reflect changes to the code
1438 -----------------------
1444 - allow exportfs to modify rmtab file
1445 - make sure kernel never gets two clients with same IP address
1446 - possible kernel should reject
1447 - needs to be some way to lookup client in kernel by IP address
1448 - maybe get kernel to do case-insensitive comparisons on client names
1449 - remove unused clients from kernel
1451 - change etab to xtab and xtab to xtab.active
1453 - timestamp and/or statd-stamp in rmtab for removing old entries.
1455 Mon Oct 18 11:48:07 1999 H.J. Lu <hjl@lucon.org>
1457 * linux-nfs: New directory.
1458 * linux-nfs/ChangeLog: Moved from ..
1459 * linux-nfs/INSTALL: Likewise.
1460 * linux-nfs/KNOWNBUGS: Likewise.
1461 * linux-nfs/NEW: Likewise.
1462 * linux-nfs/README: Likewise.
1463 * linux-nfs/THANKS: Likewise.
1464 * linux-nfs/TODO: Likewise.
1466 * Starting from knfsd 1.4.7.