1 2002-09-02 Juan Gomez <juang@us.ibm.com>
2 NeilBrown <neilb@cse.unsw.edu.au>
4 Add -N option to statd to run in notify-only mode.
6 * utils/statd/statd.h: uncomment MODE_NOTIFY_ONLY
7 * utils/statd/statd.man: document -N
8 * utils/statd/statd.c: enabled -N, largely exists but needed to be
9 uncommented and completed
11 2002-09-02 Juan Gomez <juang@us.ibm.com>
12 NeilBrown <neilb@cse.unsw.edu.au>
14 statd to have " -P directory" arg to use that directory instead
15 of /var/lib/nfs. This is useful for fail-over clusters.
17 * utils/statd/statd.h: define SM_DIR etc as var, not const.
18 * utils/statd/statd.c: define "-P" option to set SM_*
20 * utils/statd/monitor.c: sprintf to cope with SM_DIR not being
22 * utils/statd/notify.c: ditto.
23 * utils/statd/statd.man: document -P option.
25 2002-08-26 Chip Salzenberg <chip@pobox.com>
27 * utils/nfsd/nfsd.man: Fix typo.
28 * debian/changelog: Version 1.0.1-1.
30 2002-05-29 NeilBrown <neilb@cse.unsw.edu.au>
32 * let parseopts know if /etc/exports was being read or not,
33 and have it only print "no sync or async" warning in that case.
35 2002-05-06 Tom McNeal <trmcneal@attbi.com>
36 NeilBrown <neilb@cse.unsw.edu.au>
38 * utils/nfsstat/nfsstat.c: Handle differing format for
39 /proc/net/rpc/nfsd between pre and post 2.4.0
41 2002-04-09 NeilBrown <neilb@cse.unsw.edu.au>
42 James Pearson <james-p@moving-picture.com>
44 * support/nfs/rmtab.c(fendrmtabent): sync changes to
45 storage before returning, as this is critical state
47 2002-04-08 Sean O'Connell <sean@ee.duke.edu>
48 H.J. Lu <hjl@lucon.org>
50 * etc/redhat/nfs: New.
52 2002-04-08 H.J. Lu <hjl@lucon.org>
54 * etc/redhat/nfs.init: Updated.
56 * nfs-utils.spec.in: Updated.
57 * nfs-utils.spec: Regenerated.
59 * utils/mountd/mountd.c (longopts): Fix a typo.
61 * utils/mountd/mountd.man: Updated.
63 2002-04-07 H.J. Lu <hjl@lucon.org>
65 * etc/redhat/nfslock.init (restart): Just do stop and start.
67 * etc/redhat/nfs.init: Fix a typo.
69 2002-04-07 H.J. Lu <hjl@lucon.org>
71 * configure.in (VERSION): Set to "1.0.1".
72 * configure: Regenerated.
73 * nfs-utils.spec: Likewise.
75 * README: Updated for 1.0.1.
77 2002-04-07 Sean O'Connell <sean@ee.duke.edu>
78 H.J. Lu <hjl@lucon.org>
80 * etc/redhat/nfs.init: Read /etc/sysconfig/nfsd for NFS tuning.
82 2002-02-28 Steven Whitehouse <steve@gw.chygwyn.com>
83 NeilBrown <neilb@cse.unsw.edu.au>
85 Add support for fsid=nn export option so that device
86 numbers don't go in filehandles.
87 * support/export/nfsctl.c(expsetup): if exporting and NFSEXP_FSID
88 is set, pass the fsid in-place of the device number
89 * support/nfs/exports.c: parse and print fsid= option.
90 Also check if efname has been set, and use "command line"
91 instead in error messages.
92 Also, use strtol instead of atoi for anon[ug]id= so that
93 bad numbers cause errors.
95 2002-01-17 Adrian Drzewiecki <drze@MissionCriticalLinux.com>
96 NeilBrown <neilb@cse.unsw.edu.au>
98 * support/nfs/exports.c: remove NFSEXP_ASYNC as a default
99 flag so that "sync" becomes the default.
100 Check that either "sync" or "async" is given as an option
101 and warn if neither are present
102 * utils/exportfs/exports.man: change documentation for "sync"
103 to be documentation for "async".
104 * utils/exportfs/exportfs.man: note that "sync" is the default
108 2002-01-02 Chip Salzenberg <chip@pobox.com>
110 * support/export/nfsctl.c (expsetup): Don't export entries that
111 specify id mappings not supported by the kernel. No extant kernel
112 supports any significant mapping, only 'identity' (i.e. none).
113 When other mappings are supported, this code will need changing.
114 * debian/changelog: Version 1.0-2.
116 2001-12-26 Chip Salzenberg <chip@pobox.com>
118 * nfs-utils.spec (Version): Set to "1.0".
119 * configure.in (VERSION): Likewise.
120 * configure: Regenerated.
122 * debian/changelog: Version 1.0-1.
124 * utils/exportfs/exports.man: Emphasize the need for options to
125 immediately follow client names. Explain that wildcards don't
126 usually work on addresses, but may work when reverse DNS fails.
127 Comment out a leftover TP that was TPing our indentation.
128 * utils/mountd/mountd.man, utils/rquotad/rquotad.man,
129 utils/statd/statd.man: Remove refs to non-existent "hosts_allow(5)".
130 * debian/changelog: Version 0.3.3-6.
132 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
134 * support/export/client.c(client_lookup): If a host has multiple
135 IP addresses, then we must always use the result of a
136 gethostbyname, not that of gethostbyaddr for exporting
138 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
140 * support/export/client.c (client_lookup): use strcasecmp when
142 * support/nfs/export.c (getexportent): add fromkernel arg and use
143 different defaults as kernels prior to 2.4.11 assume different
144 defaults in /proc/fs/nfs/exports
145 * support/include/nfslib.h, support/export/export.c,
146 support/export/xtab.c: support extra "fromkernel" arg for
149 2001-12-13 Chip Salzenberg <chip@pobox.com>
151 * debian/changelog: Version 0.3.3-5.
153 2001-11-26 TAKAI Kousuke <takai@vlsi.kuee.kyoto-u.ac.jp>
155 * support/nfs/xio.c (xskip): Call `xungetc' instead of
156 `ungetc' to keep x_line more properly.
158 2001-11-26 Chip Salzenberg <chip@pobox.com>
160 * utils/showmount/showmount.c (main): Don't assume that strings
161 starting with digits are IP addresses.
162 * utils/nfsd/nfsd.c (main): Close all fds and reopen 0,1,2 on
163 /dev/null before nfssvc(). Use syslog to report nfssvc errors.
164 * support/misc/tcpwrapper.c, utils/mountd/mountd.man,
165 utils/rquotad/rquotad.man, utils/statd/statd.man: Fix comments and
166 man pages: We check host names *and* addresses with tcpwrappers.
167 * debian/changelog: Version 0.3.3-4.
169 2001-11-21 Chip Salzenberg <chip@pobox.com>
171 * support/nfs/clients.c (cfname): Added: current clients file name.
172 (setnfsclntent): Set it.
173 ({get,end}nfsclntent, syntaxerr): Use it.
174 * support/nfs/exports.c (efname): Added: current exports file name.
175 (setnfsexportent): Set it.
176 (endnfsexportent, parseopts, getexport, syntaxerr): Use it.
177 (parseopts): Accept old-style "crossmnt" option, for old xtabs.
178 * debian/changelog: Version 0.3.3-3.
180 2001-10-11 Chip Salzenberg <chip@pobox.com>
182 * utils/mountd/mountd.c (main): Close fds > 2 _before_ RPC init.
183 * debian/changelog: Version 0.3.3-2.
185 2001-10-08 Chip Salzenberg <chip@pobox.com>
187 * utils/mountd/mountd.c (main): When daemonizing, close all fds > 2.
188 * utils/Makefile.in: Remove old Makefile in target 'distclean'.
189 * utils/mountd/mountd.man: Update paths to /var/lib.
190 * debian/*: Version 0.3.3-1, with Debian-specific fixes.
192 2001-10-06 Preston Brown <pbrown@redhat.com>
194 * utils/nfsstat/nfsstat.man: Updated.
196 2001-09-24 H.J. Lu <hjl@lucon.org>
198 * configure.in (VERSION): Set to "0.3.3".
199 * configure: Regenerated.
200 * nfs-utils.spec: Likewise.
202 * README: Updated for 0.3.3.
204 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
206 Arrange that "exportfs -au" never does DNS lookup:
208 * support/export/client.c (client_lookup) : add "canonical"
209 flag which says that the hostname is known to be canonical, so
212 * support/export/export.c (export_create) : add "canonical"
213 flag to be passed down to client_lookup
214 * support/export/export.c (export_lookup) : Likewise
216 * support/export/xtab.c (xtab_read) : pass appropriate
217 "canonical" flag to export_lookup and export_create:
218 set if reading list of filesystems currently exports
221 * support/export/export.c (export_read) : pass 0 as
222 "canonical" flag to export_lookup and export_create
223 * support/export/rmtab.s (rmtab_read) : Likewise
225 * support/include/exportfs.h : redeclare various routines
226 to have "canonical" flag
228 * utils/exportfs/exportfs.c (main) : redo logic for
229 "-au" to read in what is currently exported, but never even
230 look at what "should" be exported.
232 * utils/exportfs/exportfs.c (unexportall) : remove this
233 routine. Functionality is completely included in
236 * utils/exportfs/exportfs.c (exportfs) : set "canonical"
237 flag to zero in calls to export_lookup and export_create.
240 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
241 Anne Milicia <milicia@missioncriticallinux.com>
243 * support/export/client.c (client_lookup) call gethostbyadd
244 to make sure that we have a canonical hostname, even for
246 * utils/exportfs/exportfs.c (exportfs) Likewise
248 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
250 * support/nfs/exports.c (putexportent): \octal quote any spaces
252 * support/nfs/xio.c (xgettok): recognise double-quote and
253 \octal quoting in path names
254 * utils/exportfs/exports.man: document quoting conventions
257 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
259 * utils/mountd/auth.c (auth_authenticate_internal): Reverse
260 change from 2000-08-02: It causes problems if someone exports
261 to both a hostname and IP addresses. nfs-utils must be
262 consistant about the canonical name that it chooses.
264 2001-08-17 Ragnar Kjørstad <nfs@ragnark.vestdata.no>
265 H.J. Lu <hjl@lucon.org>
267 * etc/redhat/nfslock.init (STATDARG): New. Pass it to rpc.statd.
269 * utils/statd/statd.c (longopts): Add "name".
270 (usage): Add "-n/--name".
271 (main): Set MY_NAME with "-n/--name".
273 * utils/statd/state.c (change_state): Set MY_NAME only if it
276 * utils/statd/statd.man: Updated for "-n/--name".
278 2001-07-26 H.J. Lu <hjl@lucon.org>
280 * nfs-utils.spec (Release): Set to 8.
282 2001-07-25 H.J. Lu <hjl@lucon.org>
284 * etc/redhat/nfs.init: Check if rpc.rquotad exists before doing
287 2001-06-27 H.J. Lu <hjl@lucon.org>
289 * etc/redhat/nfs.init: Run rpc.rquotad only if it exists.
291 2001-06-27 H.J. Lu <hjl@lucon.org>
293 * utils/rquotad/rquota_server.c: Don't call statfs () for
294 the block size. Use BLOCK_SIZE instead.
296 2001-06-27 H.J. Lu <hjl@lucon.org>
298 * config.mk.in (CC_FOR_BUILD): Renamed from BUILD_CC.
299 (CFLAGS_FOR_BUILD): New. Don't use @CFLAGS@.
301 * configure.in (enable_nfsv3): Set to yes by default.
302 (--enable-rquotad): Added
303 (AC_PROG_CXX): Removed.
304 (AC_OUTPUT): Add utils/Makefile.
305 (CC_FOR_BUILD): Renamed from BUILD_CC.
306 * configure: Regenerated.
308 * utils/Makefile: Removed.
310 * utils/Makefile.in: New.
312 * nfs-utils.spec.in (rquotad): New. Set to 0 to disable
314 (CC_FOR_BUILD): Renamed from BUILD_CC.
315 * nfs-utils.spec: Regenerated.
317 2001-06-15 Chip Salzenberg <chip@debian.org>
319 * debian/changelog: Version 0.3.2-2.
320 * debian/*.init: Minor fixes.
322 2001-06-07 Lon H. Hohberger <hohberger@missioncriticallinux.com>
324 * etc/nodist/nfs-server: Fixed a bug where the script would
325 disable mounts from NFSv3 clients if NFSv3 is present.
327 2001-06-05 H.J. Lu <hjl@lucon.org>
329 * utils/mountd/mountd.c (longopts): Add "descriptors/o".
330 (main): Support --descriptors/-o to set the limit of the number
331 of open file descriptors.
334 * utils/mountd/mountd.man: Updated for --descriptors/-o.
336 2001-06-04 H.J. Lu <hjl@lucon.org>
338 * nfs-utils.spec (Release): Set to 6.
340 2001-05-28 H.J. Lu <hjl@lucon.org>
342 * utils/lockd/lockd.c (main): chdir to NFS_STATEDIR.
343 * utils/mountd/mountd.c (main): Likewise.
344 * utils/nfsd/nfsd.c (main): Likewise.
345 * utils/rquotad/rquota_svc.c (main): Likewise.
347 2001-05-06 Anne Milicia <milicia@missioncriticallinux.com>
349 * support/export/client.c (client_check): Check IP address
352 2001-05-06 Neil Brown <neilb@cse.unsw.edu.au>
354 * support/export/client.c (client_gettype): Treat `*' as
357 2001-04-22 H.J. Lu <hjl@lucon.org>
359 * nfs-utils.spec.in: Fix a typo.
360 * nfs-utils.spec: Regenerated.
362 2001-04-21 H.J. Lu <hjl@lucon.org>
364 * nfs-utils.spec.in: Fix cross build.
365 * nfs-utils.spec: Regenerated.
368 2001-04-18 H.J. Lu <hjl@lucon.org>
370 * nfs-utils.spec.in: Support cross build.
371 * nfs-utils.spec: Regenerated.
377 * config.mk.in (BUILD_CC): New.
378 (CC): Set to $(BUILD_CC) if BUILD is defined.
381 (RANLIB): Set to @RANLIB@.
383 * configure.in: Check BUILD_CC, RANLIB, AR and LD.
384 * configure: Regenerated.
386 * tools/rpcgen/Makefile (BUILD): Set to true.
388 2001-04-01 Chip Salzenberg <chip@valinux.com>
390 * tools/rpcgen/rpc_svcout.c (write_timeout_func): Remove
391 redundant, and sometimes broken, declaration of svc_fdset;
393 * support/nfs/rpcmisc.c (closedown): Likewise.
395 2001-03-21 H.J. Lu <hjl@lucon.org>
397 * nfs-utils.spec: Regenerated.
400 2001-03-21 Ion Badulescu <ionut@cs.columbia.edu>
402 * utils/statd/statd.c (main): make sure file descriptors 0-2
403 are open to /dev/null.
405 2001-03-21 H.J. Lu <hjl@lucon.org>
407 * support/nfs/rpcmisc.c: Restore the change made on 2001-03-10.
408 * support/nfs/rpcmisc.c: Likewise.
409 * utils/rquotad/rquota_svc.c: Likewise.
410 * utils/rquotad/rquotad.man: Likewise.
411 * utils/statd/Makefile: Likewise.
412 * utils/statd/rmtcall.c: Likewise.
413 * utils/statd/simulate.c: Likewise.
414 * utils/statd/statd.c: Likewise.
415 * utils/statd/statd.man: Likewise.
417 2001-03-11 H.J. Lu <hjl@lucon.org>
419 * configure.in (RELEASE): New. Default to 1, set by
420 --with-release=XXX. Substitute nfs-utils.spec.
421 * nfs-utils.spec.in (Release): Set to @RELEASE@.
422 * configure: Regenerated.
423 * nfs-utils.spec: Likewise.
425 2001-03-11 H.J. Lu <hjl@lucon.org>
427 * utils/rquotad/rquotad.man: Fix a typo.
429 2001-03-11 H.J. Lu <hjl@lucon.org>
431 * support/include/rpcmisc.h: Undo the change made on 2001-03-10.
432 * support/nfs/rpcmisc.c: Likewise.
433 * utils/rquotad/rquota_svc.c: Likewise.
434 * utils/rquotad/rquotad.man: Likewise.
435 * utils/statd/Makefile: Likewise.
436 * utils/statd/rmtcall.c: Likewise.
437 * utils/statd/simulate.c: Likewise.
438 * utils/statd/statd.c: Likewise.
439 * utils/statd/statd.man: Likewise.
441 2001-03-10 H.J. Lu <hjl@lucon.org>
443 * configure.in (VERSION): Set to "0.3.2".
444 * configure: Regenerated.
445 * nfs-utils.spec: Likewise.
447 * README: Updated for 0.3.2.
449 2001-03-10 Tavis Barr <tavis@boole.isetr.columbia.edu>
451 * utils/rquotad/rquotad.man: Updated for -p.
452 * utils/statd/statd.man: Likewise.
454 2001-03-10 Ion Badulescu <ionut@cs.columbia.edu>
456 * support/nfs/rpcmisc.c: export makesock()
458 * support/include/rpcmisc.h (makesock): Declared.
460 * utils/rquotad/rquota_svc.c: added longopts, added support for
461 specifying the port to bind to on the command line.
463 * utils/statd/statd.c: ditto, also specify port used for
464 outgoing connections.
465 (do_regist): Removed.
467 * utils/statd/rmtcall.c (statd_get_socket): Renamed from
468 get_socket. Make it extern.
470 * utils/statd/simulate.c (daemon_simulator): Call rpc_init
471 instead of do_regist.
473 * utils/statd/Makefile (LIBS): link with our own libnfs
475 2001-03-09 H.J. Lu <hjl@lucon.org>
477 * etc/redhat/nfslock.init: Changed chkconfig line to 60 86.
478 * etc/nodist/nfs-client: Likewise.
480 2001-02-26 Chip Salzenberg <chip@valinux.com>
482 * debian/changelog: Version 0.3.1-1.
483 * Mention upstream source and license in copyright file.
484 * Add build-Depends for debhelper and libwrap0-dev.
486 2001-02-20 Lon Hohberger <hohberger@missioncriticallinux.com>
488 * etc/nodist/nfs-server: Changed chkconfig line to 60 20
489 * etc/nodist/nfs-client: Likewise.
491 2001-02-18 Lon Hohberger <hohberger@missioncriticallinux.com>
493 * utils/statd/statd.man: Changed /usr/sbin/rpc.statd to
496 2001-02-17 Patrick J. LoPresti <patl@curl.com>
498 * utils/statd/log.c (log_init): Use LOG_DAEMON instead of
501 2001-02-14 H.J. Lu <hjl@lucon.org>
503 * utils/statd/rmtcall.c: Include <time.h>.
504 * utils/statd/svc_run.c: Likewise.
506 2001-02-14 H.J. Lu <hjl@lucon.org>
508 * configure.in (VERSION): Set to "0.3.1".
509 * configure: Regenerated.
510 * nfs-utils.spec: Likewise.
512 * README: Updated for 0.3.1.
514 2001-02-14 H.J. Lu <hjl@lucon.org>
516 * support/nfs/rpcmisc.c: Include <time.h>.
518 2001-02-14 Chip Salzenberg <chip@valinux.com>
520 * debian/control: Change priority of nhfsstone package to 'extra'.
522 2001-02-12 Chip Salzenberg <chip@valinux.com>
524 * debian/changelog: Version 0.3-2.
526 2001-02-02 H.J. Lu <hjl@lucon.org>
528 * support/include/rpcmisc.h (rpc_init): Remove bufsize.
530 * support/nfs/rpcmisc.c (makesock): Remove socksz and comment
531 out SO_SNDBUF/SO_RCVBUF.
532 (rpc_init): Remove bufsize and remove socksz in calls to
535 * utils/mountd/mountd.c (main): Remove bufsize in calls to
538 2001-01-28 Chip Salzenberg <chip@valinux.com>
540 * debian/changelog: Version 0.3-1.
542 2001-01-25 H.J. Lu <hjl@lucon.org>
544 * configure.in (VERSION): Set to "0.3".
545 * configure: Regenerated.
546 * nfs-utils.spec: Likewise.
548 * README: Updated for 0.3.
550 2001-01-25 H.J. Lu <hjl@lucon.org>
552 * utils/lockd/lockd.c (main): Ignore errno == EINVAL.
554 2001-01-20 Chip Salzenberg <chip@valinux.com>
556 * support/include/xio.h (xgetc): Declare to return int.
557 * support/nfs/xio.c (xgetc): Return int.
558 (xgettok, xskip, xskipcomment): Use int for value of xgetc.
559 * utils/statd/statd.c (main): Use int for value of getopt.
560 * debian/changelog: Version 0.2.1-5.
562 2000-12-10 Chip Salzenberg <chip@valinux.com>
564 * utils/statd/monitor.c (sm_mon_1_svc): Fix buggy check for
565 program and procedure numbers of kernel lockd's callback. Also,
566 besides the old (and broken) procedure #24, allow #16 per Trond.
568 2000-12-03 Chip Salzenberg <chip@valinux.com>
570 * support/nfs/xio.c (xfopen): Initialize x_line to one, not zero.
571 * debian/control: Let nhfsstone replace files in nfs-kernel-server.
572 * debian/changelog: Version 0.2.1-4.
574 2000-11-27 Tobias Ringstrom <tori@tellus.mine.nu>
576 * utils/mountd/auth.c (auth_authenticate): Log the bad path
579 2000-11-24 Neil Brown <neilb@cse.unsw.edu.au>
581 * support/nfs/exports.c (getexportent): Check for host name
582 without option, or options without hostname, and print a warning,
583 as this is most likely a typo.
585 2000-11-19 Chip Salzenberg <chip@valinux.com>
587 * debian/control: Add dependency on portmap.
588 * debian/changelog: Version 0.2.1-3.
590 2000-11-10 H.J. Lu <hjl@lucon.org>
592 * nfs-utils.spec.in: Don't use libtool.
593 Add ChangeLog and COPYING to doc.
594 * nfs-utils.spec: Rebuild.
596 2000-11-09 H.J. Lu <hjl@lucon.org>
598 * etc/redhat/nfs.init (start): Back out the last change.
600 2000-11-09 H.J. Lu <hjl@lucon.org>
602 * etc/redhat/nfs.init (start): Pass --no-tcp to mountd if
603 TCP is not supported by kernel.
605 * support/nfs/rpcmisc.c (rpc_init): Don't set _rpcfdtype to 0.
607 * utils/mountd/mountd.c (longopts): Add "-n/--no-tcp".
608 (main): Set to _rpcfdtype to SOCK_DGRAM for "-n/--no-tcp".
610 * utils/mountd/mountd.man: Updated for "-n/--no-tcp".
612 2000-10-24 Lon Hohberger <hohberger@missioncriticallinux.com>
614 * utils/statd/callback.c: Fix bug preventing callbacks to local lockd.
615 * utils/statd/rmtcall.c: Add some IP address paranoia when doing
616 callbacks to local lockd.
618 2000-10-18 Scott McDermott <mcdermot@questra.com>
620 * utils/exportfs/exports.man: Updated for CIDR netmask.
622 2000-10-17 Scott McDermott <mcdermot@questra.com>
624 * support/export/client.c (client_init): Support CIDR netmask
627 2000-10-11 H.J. Lu <hjl@lucon.org>
629 * aclocal.m4 (AC_TCP_WRAPPER): Fix a typo.
630 * configure: Rebuilt.
632 2000-10-06 Lon Hohberger <hohberger@missioncriticallinux.com>
634 * utils/statd/statd.man: Change "/var/lib/nfs/sm/state" to
635 "/var/lib/nfs/state".
637 2000-10-05 Lon Hohberger <hohberger@missioncriticallinux.com>
639 * utils/statd/statd.h (run_mode): New global bitmask of runtime
640 behaviors: fg/bg, logging, etc.
641 * utils/statd/statd.c: New command line options: -V -h -? -d .
642 * utils/statd/statd.man: Update for changes to statd.
644 * utils/statd/log.h (log_init): Remove parameter of function; use
645 global variable "name_p" instead.
646 * utils/statd/log.c: Add support for logging to stderr.
648 * utils/statd/notlist.c: Partially rewrite notify list handling
649 functions. Eliminate run-off-end-of-list bug when calling
650 nlist_insert_timer. Add lots of comments.
652 2000-09-27 H.J. Lu <hjl@lucon.org>
654 * README: Updated for RedHat 7.0.
656 2000-09-27 H.J. Lu <hjl@lucon.org>
658 * nfs-utils.spec: Rebuild.
660 2000-09-27 H.J. Lu <hjl@lucon.org>
662 * README: Updated for 0.2.1.
664 2000-09-27 H.J. Lu <hjl@lucon.org>
666 * nfs-utils.spec.in: Updated to use rpm macros and support
669 2000-09-25 H.J. Lu <hjl@lucon.org>
671 * configure.in (VERSION): Set to "0.2.1".
672 * configure: Regenerated.
673 * nfs-utils.spec: Updated.
675 2000-09-25 H.J. Lu <hjl@lucon.org>
677 * utils/mountd/auth.c (auth_authenticate_internal): Make sure a
678 non-NULL hostent is always returned.
680 2000-09-11 Ion Badulescu <ionut@cs.columbia.edu>
682 * etc/redhat/nfslock.init: don't kill lockd processes that do not
683 have an executable (i.e. kernel threads)
685 2000-09-01 H.J. Lu <hjl@lucon.org>
687 * README: Updated for 0.2.
689 2000-09-01 Jay Weber <jweber@valinux.com>
691 * etc/redhat/nfs.init: Added ability for rpc.mountd to default to
692 supporting version 3 of nfs if available, else it will fall back to
693 version 2 support only.
695 2000-08-30 H.J. Lu <hjl@lucon.org>
697 * configure.in (VERSION): Set to "0.2".
698 * configure: Regenerated.
699 * nfs-utils.spec: Updated.
701 2000-08-25 H.J. Lu <hjl@lucon.org>
703 * support/misc/tcpwrapper.c (logit): Modify the log output.
705 2000-08-25 Ion Badulescu <ionut@cs.columbia.edu>
707 * utils/rquotad/rquotad.man, utils/statd/statd.man,
708 utils/mountd/mountd.man: updated
710 * utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL)
711 * utils/rquotad/Makefile: fix comment
713 * support/misc/tcpwrapper.c (logit): added comment about waiting
714 for the children after fork()
716 * utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving
717 zombies behind (from logit()'s fork)
718 * utils/rquotad/rquota_svc.c (main): ditto
719 * utils/statd/statd.c (main): ditto
721 * utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG
722 to check_default instead of 0, for prognum
724 * utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG
725 to check_default instead of 0, for prognum
727 * utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if
728 HAVE_TCP_WRAPPER is defined.
729 (mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is
730 defined. Reject an RPC call if check_default () fails.
732 2000-08-25 H.J. Lu <hjl@lucon.org>
734 * support/include/tcpwrapper.h: New for the tcp wrapper
736 * support/misc/Makefile: Likewise.
737 * support/misc/from_local.c: Likewise.
738 * support/misc/tcpwrapper.c: Likewise.
740 * aclocal.m4 (AC_TCP_WRAPPER): New.
741 * configure.in: Use it. Substitute LIBWRAP.
742 * configure: Rebuilt.
744 * config.mk.in (LIBNSL): New.
747 * support/Makefile (SUBDIRS): Add misc.
749 * support/lib/Makefile (LIBS): Add libmisc.a.
751 * utils/rquotad/Makefile (LIBS): Add
753 -lmisc $(LIBWRAP) $(LIBNSL)
755 * utils/statd/Makefile (LIBS): Likewise.
757 * utils/rquotad/rquota_svc.c: Include "tcpwrapper.h" if
758 HAVE_TCP_WRAPPER is defined.
759 (rquotaprog_1): Call check_default () if HAVE_TCP_WRAPPER is
760 defined. Reject an RPC call if check_default () fails.
762 * utils/statd/statd.c: Include "tcpwrapper.h" if
763 HAVE_TCP_WRAPPER is defined.
764 (sm_prog_1_wrapper): New. A wrapper for sm_prog_1. Call
765 check_default () before calling sm_prog_1 (). Define it as
766 sm_prog_1_wrapper if HAVE_TCP_WRAPPER is defined.
768 2000-08-25 Chip Salzenberg <chip@valinux.com>
770 * debian/*: Complete Debian build support.
771 * etc/debian/*: Remove.
773 2000-08-24 Neil Brown <neilb@cse.unsw.edu.au>
775 * support/export/client.c(client_check): removed the "dot+1" as a
776 ypdomain argument to innetgr as this is entirely bogus.
777 It should always be NULL.
779 2000-08-23 Neil Brown <neilb@cse.unsw.edu.au>
781 * support/export/xtab.c(xtab_read): introduce new mode for
782 reading xtab. i.e. a list of exports that might be known to the
783 kernel, or might not. These are flagged as m_exported == -1
784 * support/export/xtab.c(xtab_mount_read): call xtab_read with new
785 value "2" for xtab, meaning don't trust this too much.
786 * support/include/exportfs.h(struct mexport): changed m_exported
787 from one bit to an int so that it can hold new value
788 * utils/exportfs/exportfs.c(exportfs_ipdate): add an export to the
789 kernel if it is uncertain whether the kernel knows (m_exported == -1)
790 * utils/mountd/mountd.c(get_rootfh): similarly export to kernel if
793 * support/nfs/xio.c(xflock): added O_CREAT when getting
794 a write lock so that missing files aren't fatal.
796 * etc/debian/nfs-common: new file from "potato"
797 * etc/debian/nfs-kernel-server: new file from "potato" plus fixes.
799 2000-08-09 H.J. Lu <hjl@lucon.org>
801 * etc/redhat/nfs.init: Run /usr/sbin/exportfs first during
802 startup to ensure all existing clients work fine.
804 * support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0
805 to xtab_read () for reading _PATH_XTAB.
807 2000-08-02 H.J. Lu <hjl@lucon.org>
809 * utils/mountd/auth.c (auth_authenticate_internal): Try to
810 avoid the reverse name lookup.
812 2000-07-04 H.J. Lu <hjl@lucon.org>
814 * utils/statd/log.c: Include <stdlib.h> for exit ().
816 * utils/statd/misc.c (xunlink): Add `{' and `}' to quiet the
819 2000-07-04 H.J. Lu <hjl@lucon.org>
821 * configure.in (VERSION): Set to "0.1.9.1".
822 * configure: Regenerated.
823 * nfs-utils.spec: Updated.
827 2000-07-04 Neil Brown <neilb@cse.unsw.edu.au>
829 * support/export/hostname.c (hostent_dup): Handle the NULL
832 2000-07-03 H.J. Lu <hjl@lucon.org>
834 * README: Update the util-linux requirement.
836 2000-07-03 H.J. Lu <hjl@lucon.org>
838 * configure.in (VERSION): Set to "0.1.9".
839 * configure: Regenerated.
840 * nfs-utils.spec: Updated.
844 2000-07-03 H.J. Lu <hjl@lucon.org>
846 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
847 stop to ensure all clients can still access the server
848 before it is shutdown.
850 2000-06-30 Jeff Uphoff <juphoff@transmeta.com>
852 * tools/rpcgen/rpc_svcout.c (write_msg_out): Generate syslog()
853 calls with format string.
855 2000-06-28 Chip Salzenberg <chip@valinux.com>
857 * utils/statd/log.c (log): Call syslog with format string.
859 2000-06-27 H.J. Lu <hjl@lucon.org>
861 * utils/statd/statd.c (main): Use sysconf (_SC_OPEN_MAX)
864 2000-06-27 H.J. Lu <hjl@lucon.org>
868 2000-06-27 H.J. Lu <hjl@lucon.org>
870 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
871 startup to ensure all existing clients are exported.
873 * configure.in (VERSION): Set to "0.1.8.2".
874 * configure: Regenerated.
875 * nfs-utils.spec: Updated.
877 2000-06-06 H.J. Lu <hjl@lucon.org>
879 * configure.in (VERSION): Set to "0.1.8.1".
880 * configure: Regenerated.
881 * nfs-utils.spec: Updated.
883 2000-06-06 H.J. Lu <hjl@lucon.org>
885 * utils/mountd/mountd.c (mount_dump_1_svc): Cast svc_getcaller
886 to "struct sockaddr_in *" for glibc 2.2.
887 (mount_umnt_1_svc): Likewise.
888 (mount_umntall_1_svc): Likewise.
889 (mount_export_1_svc): Likewise.
890 (mount_exportall_1_svc): Likewise.
891 (mount_pathconf_2_svc): Likewise.
892 (get_rootfh): Likewise.
894 2000-06-04 H.J. Lu <hjl@lucon.org>
896 * etc/redhat/nfs.init: Fix a typo in comment.
898 2000-05-31 H.J. Lu <hjl@lucon.org>
900 * configure.in (VERSION): Set to "0.1.8".
901 * configure: Regenerated.
902 * nfs-utils.spec: Updated.
906 2000-05-31 H.J. Lu <hjl@lucon.org>
908 * configure.in (VERSION): Set to "0.1.7.5".
909 * configure: Regenerated.
910 * nfs-utils.spec: Updated.
912 * support/include/nfslib.h (exportent): Add a new field,
913 r_count, to count the number of mounts from a client.
914 (getrmtabent): Take a new argument for position in file.
915 (putrmtabent): Likewise.
916 (fgetrmtabent): Likewise.
917 (fputrmtabent): Likewise.
918 * support/nfs/rmtab.c (getrmtabent): Handle the new argument
919 for position in file.
920 (fgetrmtabent): Likewise.
921 (putrmtabent): Likewise.
922 (fputrmtabent): Likewise.
924 * support/nfs/rmtab.c (fgetrmtabent): Get value for the new
927 * support/export/rmtab.c (rmtab_read): Pass NULL as the new
928 argument to getrmtabent (), fgetrmtabent (), putrmtabent ()
930 * utils/mountd/rmtab.c (mountlist_add): Likewise.
931 (mountlist_del): Likewise.
932 (mountlist_del_all): Likewise.
933 (mountlist_list): Likewise.
935 * utils/mountd/rmtab.c (mountlist_add): Increment "r_count"
936 for the existing entry and initialize "r_count" to 1.
937 (mountlist_del): Decrement "r_count".
939 2000-05-18 H.J. Lu <hjl@lucon.org>
941 * configure.in (VERSION): Set to "0.1.7.4".
942 * configure: Regenerated.
943 * nfs-utils.spec: Updated.
945 2000-05-18 H.J. Lu <hjl@lucon.org>
947 * etc/redhat/nfs.init (restart): Just do stop and start.
949 2000-05-09 Jay Weber <jweber@valinux.com>
951 * utils/rquotad/hasquota.c: added support for ext3 recognition
953 * utils/rquotad/mntent.h: Likewise.
955 2000-05-01 H.J. Lu <hjl@lucon.org>
957 * configure.in (VERSION): Set to "0.1.7.3".
958 * configure: Regenerated.
959 * nfs-utils.spec: Updated.
961 2000-05-01 H.J. Lu <hjl@lucon.org>
963 * utils/rquotad/rquota_server.c (getquotainfo): Skip bad
964 mounting poins in /etc/fstab.
966 2000-05-01 H.J. Lu <hjl@lucon.org>
968 * configure.in (VERSION): Set to "0.1.7.2".
969 * configure: Regenerated.
970 * nfs-utils.spec: Updated.
972 2000-05-01 H.J. Lu <hjl@lucon.org>
974 * utils/rquotad/rquota_server.c (getquotainfo): Call stat ()
975 to check for the mounting point.
977 2000-04-29 Chip Salzenberg <chip@valinux.com>
978 Neil Brown <neilb@cse.unsw.edu.au>
980 * Really re-use RPC ports.
981 (Fixes earlier patch. Sorry, Neil.)
983 2000-04-26 H.J. Lu <hjl@lucon.org>
985 * configure.in (VERSION): Set to "0.1.7.1".
986 * configure: Regenerated.
987 * nfs-utils.spec: Updated.
989 2000-04-26 H.J. Lu <hjl@lucon.org>
991 * etc/redhat/nfslock.init: Check if lockd exits before killing
994 2000-04-25 H.J. Lu <hjl@lucon.org>
996 * README: Require util-linux-2.10f-mount-rpc.patch for mount.
998 2000-03-21 Michael Weiser <michael@weiser.saale-net.de>
1000 * support/nfs/exports.c (parsesquash): Correctly set the
1003 Tue Mar 21 11:38:48 EST 2000 NeilBrown <neilb@cse.unsw.edu.au>
1005 * support/include/nfs/nfs.h: Removed knowledge of internals of
1006 kernel filehandles (which can change) and defined nfs_fh_size
1007 which has variable size
1009 * support/nfs/getfh.c: defined getfh_size to use new syscall to
1010 get variable sized file handles, and change getfh{,old} to
1013 * utils/mountd/mountd.c: use nfd_fh_size and call getfh_size for
1016 * tools/Makefile, tools/nlmtest/nlmtest.c
1017 nlmtest.c depended on internel format of file handles, so now
1021 2000-03-12 Chip Salzenberg <chip@valinux.com>
1022 Neil Brown <neilb@cse.unsw.edu.au>
1024 * support/nfs/rpcmisc.c (rpc_init): Share transports.
1026 2000-03-13 H.J. Lu <hjl@lucon.org>
1028 * etc/redhat/nfsd.init: Updated.
1030 * etc/redhat/nfslock.init: Updated.
1032 * nfs-utils.spec.in: Updated.
1034 * configure.in (VERSION): Set to "0.1.7".
1035 * configure: Regenerated.
1036 * nfs-utils.spec: Updated.
1040 Wed Mar 8 09:42:43 2000 Neil Brown <neilb@cse.unsw.edu.au>
1042 * utils/exportfs/exportfs.c (dump): Included printing of
1043 nohide, no_subtree_check, and insecure_locks
1045 2000-02-26 Chip Salzenberg <chip@valinux.com>
1047 * config.mk.in (INSTALLSUID): Strip ("-s").
1048 (INSTALLSCRIPT): Define.
1049 * utils/nhfsstone/Makefile: Use it.
1051 2000-02-26 Chip Salzenberg <chip@valinux.com>
1053 * utils/lockd/lockd.man: Create.
1054 * utils/lockd/Makefile: Install it.
1055 * utils/nhfsstone/nhfs{run,nums,graph}.man: Create.
1056 * utils/nhfsstone/nhfsstone.man: Change suffix from ".1".
1057 * utils/nhfsstone/Makefile: Install the helper scripts and
1059 * utils/exportfs/exports.man: Fix typo.
1061 2000-02-26 Chip Salzenberg <chip@valinux.com>
1063 * support/nfs/xio.c (xungetc): Decrement line number when
1064 character to unget is newline. Make first parameter int, so
1065 it can distinguish EOF from \377.
1066 * support/include/xio.h (xungetc): Adjust prototype.
1068 Fri Feb 4 23:42:23 2000 Neil Brown <neilb@cse.unsw.edu.au>
1070 * support/include/nfs/export.h: added NFSEXP_NOAUTHNLM
1071 * support/nfs/exports.c: added handling for NFSEXP_NOAUTHNLM
1072 * utils/exportfs/exports.man: added documentation for no_auth_nlm.
1074 This is for supporting a new option introduced in 2.3.42
1076 Thu Feb 3 14:55:48 2000 H.J. Lu <hjl@lucon.org>
1078 * COPYING: Added. GPL.
1080 Thu Feb 03 14:40:40 2000 Cristian Gafton <gafton@redhat.com>
1082 * utils/rquotad/rquota_server.c (getquotainfo): Call statfs ()
1083 to get the block size.
1085 Tue Jan 25 11:04:17 2000 H.J. Lu <hjl@lucon.org>
1087 * nfs-utils.spec.in: Update ftp site.
1089 Mon Jan 17 11:48:18 2000 H.J. Lu <hjl@lucon.org>
1091 * README: Update hostnames.
1093 Tue Jan 11 10:06:22 2000 H.J. Lu <hjl@lucon.org>
1095 * configure.in (VERSION): Set to "0.1.6".
1096 * configure: Regenerated.
1097 * nfs-utils.spec: Updated.
1101 Mon Jan 10 14:26:33 2000 H.J. Lu <hjl@lucon.org>
1103 * utils/mountd/auth.c (auth_authenticate_internal): Call
1104 xstrdup for hostname before passing it to gethostbyname.
1106 * utils/mountd/mountd.c (get_exportlist): Use xstrdup instead
1109 Sun Dec 19 09:35:01 1999 H.J. Lu <hjl@lucon.org>
1111 * README: Update the mailing list address.
1113 Sun Dec 19 09:22:28 1999 H.J. Lu <hjl@lucon.org>
1115 * configure.in (VERSION): Set to "0.1.5".
1116 * configure: Regenerated.
1117 * nfs-utils.spec: Updated.
1121 Mon Dec 13 13:40:20 1999 H.J. Lu <hjl@lucon.org>
1123 * utils/rquotad/hasquota.c (hasquota): Malloc one more char
1126 Mon Dec 6 09:42:45 1999 H.J. Lu <hjl@lucon.org>
1128 * configure.in (VERSION): Set to "0.1.4".
1129 * configure: Regenerated.
1130 * nfs-utils.spec: Updated.
1134 Mon Dec 6 09:28:07 1999 H.J. Lu <hjl@lucon.org>
1136 * nfs-utils.spec.in: New file.
1138 * config.mk.in (VERSION): Changed to "nfs-utils @VERSION@".
1140 * configure.in (nfs-utils.spec): Added to AC_OUTPUT.
1142 1999-12-04 Chip Salzenberg <chip@valinux.com>
1144 * config.mk.in: Use $(CC) as set by configure.
1146 1999-12-04 Chip Salzenberg <chip@valinux.com>
1148 * rules.mk: Call $(MAKE) with $(MFLAGS).
1150 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1152 * tools/rpcgen/rpc_main.c (h_output): Generate IXDR_GET_INT32,
1153 IXDR_PUT_INT32, IXDR_GET_U_INT32 and IXDR_PUT_U_INT32.
1155 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1157 * nfs-utils.spec (Version): Set to 0.1.3.
1159 * configure.in (VERSION): Set to "nfs-utils 0.1.3".
1160 * configure: Regenerated.
1164 Mon Nov 29 11:15:47 1999 H.J. Lu <hjl@lucon.org>
1166 * utils/rquotad/rquota_server.c (nfsmount_to_devname): Removed.
1167 (_PATH_DEV_DSK): Likewise.
1168 (getquotainfo): Match the mounting point from /etc/mtab
1169 instead of calling nfsmount_to_devname ().
1171 1999-11-24 Chip Salzenberg <chip@valinux.com>
1173 * utils/statd/monitor.c (sm_mon_1_svc): Accept lockd callbacks
1174 to the new port 24 as well as the historical port 100021.
1176 Tue Nov 23 10:21:34 1999 Neil Brown <neilb@cse.unsw.edu.au>
1178 * etc/redhat/nfsd.init (stop): moved exportfs -ua after
1179 stopping nfsd to stop spurious ESTALE on server shutdown.
1181 Tue Nov 23 10:13:39 1999 Neil Brown <neilb@cse.unsw.edu.au>
1183 * support/nfs/exports.c (parseopts): make copy of opt string
1184 before 'nul'ing out commas so that
1186 # exportfs -o option1,option2 hosta:/fs hostb:/fs
1188 applies both options to both exports.
1190 Thu Oct 28 12:55:42 1999 H.J. Lu <hjl@lucon.org>
1192 * README: Fix a few typos.
1194 * tools/rpcgen/rpc_cout.c (print_header): Use int32_t instead
1196 * tools/rpcgen/rpc_hout.c (pdefine): Likewise.
1197 * tools/rpcgen/rpc_main.c (c_initialize): Likewise.
1198 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1199 (unsigned_dec): Likewise.
1200 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1201 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1203 * tools/rpcgen/rpc_cout.c (emit_single_in_line): Use INT32
1205 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1206 (unsigned_dec): Likewise.
1207 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1208 * tools/rpcgen/rpc_scan.h (tok_kind): Likewise.
1209 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1211 Thu Oct 28 11:27:51 1999 Neil Brown <neilb@cse.unsw.edu.au>
1213 * support/include/nfs/export.h addedd NFSEXP_NOSUBTREECHECK
1214 * support/nfs/exports.c: added {no_,}subtree_check and changed
1216 * utils/exportfs/exports.man: added no_subtree_check and nohide
1217 and removed irrelevant stuff from unfsd.
1218 * support/export/rmtab.c: rmtab_read didn't quite do the right
1219 thing if a pathname from rmtab was a subdirectory of an export-point
1221 Tue Oct 26 17:22:40 1999 H.J. Lu <hjl@lucon.org>
1223 * README: Updated ftp site.
1225 Mon Oct 25 18:12:45 1999 H.J. Lu <hjl@lucon.org>
1227 * nfs-utils.spec (Version): Set to 0.1.2.
1229 * configure.in (VERSION): Set to "nfs-utils 0.1.2".
1230 * configure: Regenerated.
1234 Mon Oct 25 18:11:21 1999 H.J. Lu <hjl@lucon.org>
1236 * utils/mountd/auth.c (auth_error): Add "no_forward_dns".
1237 (auth_authenticate_internal): Check for NULL return on forward
1239 (auth_authenticate): Handle "no_forward_dns".
1241 Thu Oct 21 16:22:06 1999 H.J. Lu <hjl@lucon.org>
1243 * Version 0.1.1 released.
1245 * nfs-utils.spec (Version): Set to 0.1.1.
1247 * configure.in (VERSION): Set to "nfs-utils 0.1.1".
1248 * configure: Regenerated.
1252 Mon Oct 18 17:43:29 1999 H.J. Lu <hjl@lucon.org>
1254 * nfs-utils.spec (Obsoletes): Fixed a typo, change knfsd-client
1256 (Provides): Likewise.
1258 Mon Oct 18 14:56:22 1999 H.J. Lu <hjl@lucon.org>
1260 * Initial version 0.1 released.
1262 * configure.in (VERSION): Set to "nfs-utils 0.1".
1263 * configure: Regenerated.
1265 Mon Oct 18 14:54:57 1999 H.J. Lu <hjl@lucon.org>
1267 * utils/mountd/mountd.c (get_exportlist): Cleanup.
1269 * utils/exportfs/exportfs.c (unexport_all): Unexport from
1270 kernel only if the entry is exported to kernel.
1271 (unexportfs): Likewise.
1273 Wed Sep 08 16:49:32 1999 Neil Brown <neilb@cse.unsw.edu.au>
1275 1/ utils/mountd/rmtab.c::mountlist_list
1277 This routine stats the rmtab file to see if it has changed. It
1278 if has, it cleans up it's old copy of the data. But it still
1279 always re-read the file, thus returning multiple copies of the
1280 data on consecutive calls without intervening changes.
1281 "Showmount -a" didn't show this as it appears to sort/unique the
1282 data, but 'strace showmount -a' showed that the size of the
1283 datagram that it received grew.
1285 I moved the getrmtabent loop inside the mtime test.
1287 2/ utils/exportfs/exportfs.c
1289 Many routines used the m_path field of m_export instead of
1291 According to the comment in nfslib.h, m_path should only
1292 be used when processing a mount request (i.e. in mountd)
1293 where the mountpoint may be a subdirectory of the export point.
1295 I changed all occurances of m_path to e_path
1298 3/ utils/exportfs/exportfs.c:main
1300 extra arguments are not meaningful with -a or -r, but
1301 exportfs accepted them and then ignored the -a/-r, expect that
1302 -r would still unexport everything first.
1304 I generate an error if there are extra args and f_all
1306 4/ utils/exportfs/exportfs.c:main
1307 extract dump out as a special case.
1309 5/ utils/exportfs/exportfs.c
1310 made f_reexport a local variable.
1313 6/ utils/exportfs/exportfs.c:main,exportall
1315 support/export/rmtab.c
1316 only mayexport on newly created entries, don't set xtabent at all
1318 7/ support/include/nfslib.h
1320 add #define _PATH_PROC_EXPORTS to be /proc/fs/nds/exports
1322 8/ support/export/xtab.c
1324 xtab_mount_read loads data from _PATH_PROC_EXPORTS if it exists,
1328 9/ support/export/xtab.c
1330 xtab_mount_read now sets m_exported, and NOT
1331 xtabent and mayexport
1333 removed the append arguement from xtab_write as it was
1336 added is_export flag to xtab_write similar to xtab_read
1337 if is_export, only write entries with m_xtabent or m_addxtab
1338 if !is_export, only write entries with m_exported
1340 10/ support/export/export.c::export_allowed_internal
1342 added test for exp->m_mayexport, as the export tree
1343 may have entries that are no longer allowed to be exported,
1344 and so shouldn't caused deduced exported by rmtab_read
1346 11/ utils/exportfs/exportfs.c::main
1347 error checking of flags.
1349 12/ utils/exportfs/exportfs.c
1351 total rewrite of export and unexport logic.
1353 - build an exportslist of valid exports, based on
1354 current etab file and arguments,
1355 - read rmtab to instantiate relevant wild card entries
1356 - read etab to find out what is currently exported
1357 - synchronise intention with reality
1358 - write out etab and xtab
1361 discard the m_addxtab flag
1362 add m_changed flag so we know what to report in exportfs
1364 14/ utils/mountd/auth.c:auth_authenticate
1366 the value returned by gethostbyaddr was trusted.
1368 It now follows this with a call to gethostbyname
1369 and checks that the address is in the list.
1371 15/ support/export/nfsctl.c::cltsetup,expsetup
1373 force client names to lowercase as kernel is
1376 16/ quietened a few compiler warnings
1378 17/ support/export/client:client_lookup
1380 look for pre-existing client with same name before creating
1383 18/ support/include/exportfs.h
1385 The ordering of the MCL_* enum was:
1386 ANONYMOUS, FQDN, SUBNETWORK, WILDCARD, NETGROUP
1388 I moved ANONYMOUS to the end.
1390 The ordering is significant when an export entry is being searched for to
1391 match a given address. There are two problems with ANONYMOUS being first.
1393 1/ if a directory is exported rw to a couple of hosts and ro to everyone else,
1394 then the ro case will always be found first and the privileged hosts won't get
1396 2/ When mountd gets a request to mount an ANONYMOUSly exported tree, it creates a FQDN
1397 export entry for the specific host, and writes it to xtab.
1398 When another request comes from the same host, the ANONYMOUS entry is found again,
1399 before the new FQDN entry, so it creates another FQDN entry and writes it to xtab
1400 again. If causes bloat in xtab.
1402 Putting ANONYMOUS at the end reflects it's nature as a catch-all
1404 19/ utils/exportfs/exportfs.man
1405 many updates to the man page to reflect changes to the code
1407 -----------------------
1413 - allow exportfs to modify rmtab file
1414 - make sure kernel never gets two clients with same IP address
1415 - possible kernel should reject
1416 - needs to be some way to lookup client in kernel by IP address
1417 - maybe get kernel to do case-insensitive comparisons on client names
1418 - remove unused clients from kernel
1420 - change etab to xtab and xtab to xtab.active
1422 - timestamp and/or statd-stamp in rmtab for removing old entries.
1424 Mon Oct 18 11:48:07 1999 H.J. Lu <hjl@lucon.org>
1426 * linux-nfs: New directory.
1427 * linux-nfs/ChangeLog: Moved from ..
1428 * linux-nfs/INSTALL: Likewise.
1429 * linux-nfs/KNOWNBUGS: Likewise.
1430 * linux-nfs/NEW: Likewise.
1431 * linux-nfs/README: Likewise.
1432 * linux-nfs/THANKS: Likewise.
1433 * linux-nfs/TODO: Likewise.
1435 * Starting from knfsd 1.4.7.