1 2002-09-02 Juan Gomez <juang@us.ibm.com>
2 NeilBrown <neilb@cse.unsw.edu.au>
4 statd to have " -P directory" arg to use that directory instead
5 of /var/lib/nfs. This is useful for fail-over clusters.
7 * utils/statd/statd.h: define SM_DIR etc as var, not const.
8 * utils/statd/statd.c: define "-P" option to set SM_*
10 * utils/statd/monitor.c: sprintf to cope with SM_DIR not being
12 * utils/statd/notify.c: ditto.
13 * utils/statd/statd.man: document -P option.
15 2002-08-26 Chip Salzenberg <chip@pobox.com>
17 * utils/nfsd/nfsd.man: Fix typo.
18 * debian/changelog: Version 1.0.1-1.
20 2002-05-29 NeilBrown <neilb@cse.unsw.edu.au>
22 * let parseopts know if /etc/exports was being read or not,
23 and have it only print "no sync or async" warning in that case.
25 2002-05-06 Tom McNeal <trmcneal@attbi.com>
26 NeilBrown <neilb@cse.unsw.edu.au>
28 * utils/nfsstat/nfsstat.c: Handle differing format for
29 /proc/net/rpc/nfsd between pre and post 2.4.0
31 2002-04-09 NeilBrown <neilb@cse.unsw.edu.au>
32 James Pearson <james-p@moving-picture.com>
34 * support/nfs/rmtab.c(fendrmtabent): sync changes to
35 storage before returning, as this is critical state
37 2002-04-08 Sean O'Connell <sean@ee.duke.edu>
38 H.J. Lu <hjl@lucon.org>
40 * etc/redhat/nfs: New.
42 2002-04-08 H.J. Lu <hjl@lucon.org>
44 * etc/redhat/nfs.init: Updated.
46 * nfs-utils.spec.in: Updated.
47 * nfs-utils.spec: Regenerated.
49 * utils/mountd/mountd.c (longopts): Fix a typo.
51 * utils/mountd/mountd.man: Updated.
53 2002-04-07 H.J. Lu <hjl@lucon.org>
55 * etc/redhat/nfslock.init (restart): Just do stop and start.
57 * etc/redhat/nfs.init: Fix a typo.
59 2002-04-07 H.J. Lu <hjl@lucon.org>
61 * configure.in (VERSION): Set to "1.0.1".
62 * configure: Regenerated.
63 * nfs-utils.spec: Likewise.
65 * README: Updated for 1.0.1.
67 2002-04-07 Sean O'Connell <sean@ee.duke.edu>
68 H.J. Lu <hjl@lucon.org>
70 * etc/redhat/nfs.init: Read /etc/sysconfig/nfsd for NFS tuning.
72 2002-02-28 Steven Whitehouse <steve@gw.chygwyn.com>
73 NeilBrown <neilb@cse.unsw.edu.au>
75 Add support for fsid=nn export option so that device
76 numbers don't go in filehandles.
77 * support/export/nfsctl.c(expsetup): if exporting and NFSEXP_FSID
78 is set, pass the fsid in-place of the device number
79 * support/nfs/exports.c: parse and print fsid= option.
80 Also check if efname has been set, and use "command line"
81 instead in error messages.
82 Also, use strtol instead of atoi for anon[ug]id= so that
83 bad numbers cause errors.
85 2002-01-17 Adrian Drzewiecki <drze@MissionCriticalLinux.com>
86 NeilBrown <neilb@cse.unsw.edu.au>
88 * support/nfs/exports.c: remove NFSEXP_ASYNC as a default
89 flag so that "sync" becomes the default.
90 Check that either "sync" or "async" is given as an option
91 and warn if neither are present
92 * utils/exportfs/exports.man: change documentation for "sync"
93 to be documentation for "async".
94 * utils/exportfs/exportfs.man: note that "sync" is the default
98 2002-01-02 Chip Salzenberg <chip@pobox.com>
100 * support/export/nfsctl.c (expsetup): Don't export entries that
101 specify id mappings not supported by the kernel. No extant kernel
102 supports any significant mapping, only 'identity' (i.e. none).
103 When other mappings are supported, this code will need changing.
104 * debian/changelog: Version 1.0-2.
106 2001-12-26 Chip Salzenberg <chip@pobox.com>
108 * nfs-utils.spec (Version): Set to "1.0".
109 * configure.in (VERSION): Likewise.
110 * configure: Regenerated.
112 * debian/changelog: Version 1.0-1.
114 * utils/exportfs/exports.man: Emphasize the need for options to
115 immediately follow client names. Explain that wildcards don't
116 usually work on addresses, but may work when reverse DNS fails.
117 Comment out a leftover TP that was TPing our indentation.
118 * utils/mountd/mountd.man, utils/rquotad/rquotad.man,
119 utils/statd/statd.man: Remove refs to non-existent "hosts_allow(5)".
120 * debian/changelog: Version 0.3.3-6.
122 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
124 * support/export/client.c(client_lookup): If a host has multiple
125 IP addresses, then we must always use the result of a
126 gethostbyname, not that of gethostbyaddr for exporting
128 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
130 * support/export/client.c (client_lookup): use strcasecmp when
132 * support/nfs/export.c (getexportent): add fromkernel arg and use
133 different defaults as kernels prior to 2.4.11 assume different
134 defaults in /proc/fs/nfs/exports
135 * support/include/nfslib.h, support/export/export.c,
136 support/export/xtab.c: support extra "fromkernel" arg for
139 2001-12-13 Chip Salzenberg <chip@pobox.com>
141 * debian/changelog: Version 0.3.3-5.
143 2001-11-26 TAKAI Kousuke <takai@vlsi.kuee.kyoto-u.ac.jp>
145 * support/nfs/xio.c (xskip): Call `xungetc' instead of
146 `ungetc' to keep x_line more properly.
148 2001-11-26 Chip Salzenberg <chip@pobox.com>
150 * utils/showmount/showmount.c (main): Don't assume that strings
151 starting with digits are IP addresses.
152 * utils/nfsd/nfsd.c (main): Close all fds and reopen 0,1,2 on
153 /dev/null before nfssvc(). Use syslog to report nfssvc errors.
154 * support/misc/tcpwrapper.c, utils/mountd/mountd.man,
155 utils/rquotad/rquotad.man, utils/statd/statd.man: Fix comments and
156 man pages: We check host names *and* addresses with tcpwrappers.
157 * debian/changelog: Version 0.3.3-4.
159 2001-11-21 Chip Salzenberg <chip@pobox.com>
161 * support/nfs/clients.c (cfname): Added: current clients file name.
162 (setnfsclntent): Set it.
163 ({get,end}nfsclntent, syntaxerr): Use it.
164 * support/nfs/exports.c (efname): Added: current exports file name.
165 (setnfsexportent): Set it.
166 (endnfsexportent, parseopts, getexport, syntaxerr): Use it.
167 (parseopts): Accept old-style "crossmnt" option, for old xtabs.
168 * debian/changelog: Version 0.3.3-3.
170 2001-10-11 Chip Salzenberg <chip@pobox.com>
172 * utils/mountd/mountd.c (main): Close fds > 2 _before_ RPC init.
173 * debian/changelog: Version 0.3.3-2.
175 2001-10-08 Chip Salzenberg <chip@pobox.com>
177 * utils/mountd/mountd.c (main): When daemonizing, close all fds > 2.
178 * utils/Makefile.in: Remove old Makefile in target 'distclean'.
179 * utils/mountd/mountd.man: Update paths to /var/lib.
180 * debian/*: Version 0.3.3-1, with Debian-specific fixes.
182 2001-10-06 Preston Brown <pbrown@redhat.com>
184 * utils/nfsstat/nfsstat.man: Updated.
186 2001-09-24 H.J. Lu <hjl@lucon.org>
188 * configure.in (VERSION): Set to "0.3.3".
189 * configure: Regenerated.
190 * nfs-utils.spec: Likewise.
192 * README: Updated for 0.3.3.
194 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
196 Arrange that "exportfs -au" never does DNS lookup:
198 * support/export/client.c (client_lookup) : add "canonical"
199 flag which says that the hostname is known to be canonical, so
202 * support/export/export.c (export_create) : add "canonical"
203 flag to be passed down to client_lookup
204 * support/export/export.c (export_lookup) : Likewise
206 * support/export/xtab.c (xtab_read) : pass appropriate
207 "canonical" flag to export_lookup and export_create:
208 set if reading list of filesystems currently exports
211 * support/export/export.c (export_read) : pass 0 as
212 "canonical" flag to export_lookup and export_create
213 * support/export/rmtab.s (rmtab_read) : Likewise
215 * support/include/exportfs.h : redeclare various routines
216 to have "canonical" flag
218 * utils/exportfs/exportfs.c (main) : redo logic for
219 "-au" to read in what is currently exported, but never even
220 look at what "should" be exported.
222 * utils/exportfs/exportfs.c (unexportall) : remove this
223 routine. Functionality is completely included in
226 * utils/exportfs/exportfs.c (exportfs) : set "canonical"
227 flag to zero in calls to export_lookup and export_create.
230 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
231 Anne Milicia <milicia@missioncriticallinux.com>
233 * support/export/client.c (client_lookup) call gethostbyadd
234 to make sure that we have a canonical hostname, even for
236 * utils/exportfs/exportfs.c (exportfs) Likewise
238 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
240 * support/nfs/exports.c (putexportent): \octal quote any spaces
242 * support/nfs/xio.c (xgettok): recognise double-quote and
243 \octal quoting in path names
244 * utils/exportfs/exports.man: document quoting conventions
247 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
249 * utils/mountd/auth.c (auth_authenticate_internal): Reverse
250 change from 2000-08-02: It causes problems if someone exports
251 to both a hostname and IP addresses. nfs-utils must be
252 consistant about the canonical name that it chooses.
254 2001-08-17 Ragnar Kjørstad <nfs@ragnark.vestdata.no>
255 H.J. Lu <hjl@lucon.org>
257 * etc/redhat/nfslock.init (STATDARG): New. Pass it to rpc.statd.
259 * utils/statd/statd.c (longopts): Add "name".
260 (usage): Add "-n/--name".
261 (main): Set MY_NAME with "-n/--name".
263 * utils/statd/state.c (change_state): Set MY_NAME only if it
266 * utils/statd/statd.man: Updated for "-n/--name".
268 2001-07-26 H.J. Lu <hjl@lucon.org>
270 * nfs-utils.spec (Release): Set to 8.
272 2001-07-25 H.J. Lu <hjl@lucon.org>
274 * etc/redhat/nfs.init: Check if rpc.rquotad exists before doing
277 2001-06-27 H.J. Lu <hjl@lucon.org>
279 * etc/redhat/nfs.init: Run rpc.rquotad only if it exists.
281 2001-06-27 H.J. Lu <hjl@lucon.org>
283 * utils/rquotad/rquota_server.c: Don't call statfs () for
284 the block size. Use BLOCK_SIZE instead.
286 2001-06-27 H.J. Lu <hjl@lucon.org>
288 * config.mk.in (CC_FOR_BUILD): Renamed from BUILD_CC.
289 (CFLAGS_FOR_BUILD): New. Don't use @CFLAGS@.
291 * configure.in (enable_nfsv3): Set to yes by default.
292 (--enable-rquotad): Added
293 (AC_PROG_CXX): Removed.
294 (AC_OUTPUT): Add utils/Makefile.
295 (CC_FOR_BUILD): Renamed from BUILD_CC.
296 * configure: Regenerated.
298 * utils/Makefile: Removed.
300 * utils/Makefile.in: New.
302 * nfs-utils.spec.in (rquotad): New. Set to 0 to disable
304 (CC_FOR_BUILD): Renamed from BUILD_CC.
305 * nfs-utils.spec: Regenerated.
307 2001-06-15 Chip Salzenberg <chip@debian.org>
309 * debian/changelog: Version 0.3.2-2.
310 * debian/*.init: Minor fixes.
312 2001-06-07 Lon H. Hohberger <hohberger@missioncriticallinux.com>
314 * etc/nodist/nfs-server: Fixed a bug where the script would
315 disable mounts from NFSv3 clients if NFSv3 is present.
317 2001-06-05 H.J. Lu <hjl@lucon.org>
319 * utils/mountd/mountd.c (longopts): Add "descriptors/o".
320 (main): Support --descriptors/-o to set the limit of the number
321 of open file descriptors.
324 * utils/mountd/mountd.man: Updated for --descriptors/-o.
326 2001-06-04 H.J. Lu <hjl@lucon.org>
328 * nfs-utils.spec (Release): Set to 6.
330 2001-05-28 H.J. Lu <hjl@lucon.org>
332 * utils/lockd/lockd.c (main): chdir to NFS_STATEDIR.
333 * utils/mountd/mountd.c (main): Likewise.
334 * utils/nfsd/nfsd.c (main): Likewise.
335 * utils/rquotad/rquota_svc.c (main): Likewise.
337 2001-05-06 Anne Milicia <milicia@missioncriticallinux.com>
339 * support/export/client.c (client_check): Check IP address
342 2001-05-06 Neil Brown <neilb@cse.unsw.edu.au>
344 * support/export/client.c (client_gettype): Treat `*' as
347 2001-04-22 H.J. Lu <hjl@lucon.org>
349 * nfs-utils.spec.in: Fix a typo.
350 * nfs-utils.spec: Regenerated.
352 2001-04-21 H.J. Lu <hjl@lucon.org>
354 * nfs-utils.spec.in: Fix cross build.
355 * nfs-utils.spec: Regenerated.
358 2001-04-18 H.J. Lu <hjl@lucon.org>
360 * nfs-utils.spec.in: Support cross build.
361 * nfs-utils.spec: Regenerated.
367 * config.mk.in (BUILD_CC): New.
368 (CC): Set to $(BUILD_CC) if BUILD is defined.
371 (RANLIB): Set to @RANLIB@.
373 * configure.in: Check BUILD_CC, RANLIB, AR and LD.
374 * configure: Regenerated.
376 * tools/rpcgen/Makefile (BUILD): Set to true.
378 2001-04-01 Chip Salzenberg <chip@valinux.com>
380 * tools/rpcgen/rpc_svcout.c (write_timeout_func): Remove
381 redundant, and sometimes broken, declaration of svc_fdset;
383 * support/nfs/rpcmisc.c (closedown): Likewise.
385 2001-03-21 H.J. Lu <hjl@lucon.org>
387 * nfs-utils.spec: Regenerated.
390 2001-03-21 Ion Badulescu <ionut@cs.columbia.edu>
392 * utils/statd/statd.c (main): make sure file descriptors 0-2
393 are open to /dev/null.
395 2001-03-21 H.J. Lu <hjl@lucon.org>
397 * support/nfs/rpcmisc.c: Restore the change made on 2001-03-10.
398 * support/nfs/rpcmisc.c: Likewise.
399 * utils/rquotad/rquota_svc.c: Likewise.
400 * utils/rquotad/rquotad.man: Likewise.
401 * utils/statd/Makefile: Likewise.
402 * utils/statd/rmtcall.c: Likewise.
403 * utils/statd/simulate.c: Likewise.
404 * utils/statd/statd.c: Likewise.
405 * utils/statd/statd.man: Likewise.
407 2001-03-11 H.J. Lu <hjl@lucon.org>
409 * configure.in (RELEASE): New. Default to 1, set by
410 --with-release=XXX. Substitute nfs-utils.spec.
411 * nfs-utils.spec.in (Release): Set to @RELEASE@.
412 * configure: Regenerated.
413 * nfs-utils.spec: Likewise.
415 2001-03-11 H.J. Lu <hjl@lucon.org>
417 * utils/rquotad/rquotad.man: Fix a typo.
419 2001-03-11 H.J. Lu <hjl@lucon.org>
421 * support/include/rpcmisc.h: Undo the change made on 2001-03-10.
422 * support/nfs/rpcmisc.c: Likewise.
423 * utils/rquotad/rquota_svc.c: Likewise.
424 * utils/rquotad/rquotad.man: Likewise.
425 * utils/statd/Makefile: Likewise.
426 * utils/statd/rmtcall.c: Likewise.
427 * utils/statd/simulate.c: Likewise.
428 * utils/statd/statd.c: Likewise.
429 * utils/statd/statd.man: Likewise.
431 2001-03-10 H.J. Lu <hjl@lucon.org>
433 * configure.in (VERSION): Set to "0.3.2".
434 * configure: Regenerated.
435 * nfs-utils.spec: Likewise.
437 * README: Updated for 0.3.2.
439 2001-03-10 Tavis Barr <tavis@boole.isetr.columbia.edu>
441 * utils/rquotad/rquotad.man: Updated for -p.
442 * utils/statd/statd.man: Likewise.
444 2001-03-10 Ion Badulescu <ionut@cs.columbia.edu>
446 * support/nfs/rpcmisc.c: export makesock()
448 * support/include/rpcmisc.h (makesock): Declared.
450 * utils/rquotad/rquota_svc.c: added longopts, added support for
451 specifying the port to bind to on the command line.
453 * utils/statd/statd.c: ditto, also specify port used for
454 outgoing connections.
455 (do_regist): Removed.
457 * utils/statd/rmtcall.c (statd_get_socket): Renamed from
458 get_socket. Make it extern.
460 * utils/statd/simulate.c (daemon_simulator): Call rpc_init
461 instead of do_regist.
463 * utils/statd/Makefile (LIBS): link with our own libnfs
465 2001-03-09 H.J. Lu <hjl@lucon.org>
467 * etc/redhat/nfslock.init: Changed chkconfig line to 60 86.
468 * etc/nodist/nfs-client: Likewise.
470 2001-02-26 Chip Salzenberg <chip@valinux.com>
472 * debian/changelog: Version 0.3.1-1.
473 * Mention upstream source and license in copyright file.
474 * Add build-Depends for debhelper and libwrap0-dev.
476 2001-02-20 Lon Hohberger <hohberger@missioncriticallinux.com>
478 * etc/nodist/nfs-server: Changed chkconfig line to 60 20
479 * etc/nodist/nfs-client: Likewise.
481 2001-02-18 Lon Hohberger <hohberger@missioncriticallinux.com>
483 * utils/statd/statd.man: Changed /usr/sbin/rpc.statd to
486 2001-02-17 Patrick J. LoPresti <patl@curl.com>
488 * utils/statd/log.c (log_init): Use LOG_DAEMON instead of
491 2001-02-14 H.J. Lu <hjl@lucon.org>
493 * utils/statd/rmtcall.c: Include <time.h>.
494 * utils/statd/svc_run.c: Likewise.
496 2001-02-14 H.J. Lu <hjl@lucon.org>
498 * configure.in (VERSION): Set to "0.3.1".
499 * configure: Regenerated.
500 * nfs-utils.spec: Likewise.
502 * README: Updated for 0.3.1.
504 2001-02-14 H.J. Lu <hjl@lucon.org>
506 * support/nfs/rpcmisc.c: Include <time.h>.
508 2001-02-14 Chip Salzenberg <chip@valinux.com>
510 * debian/control: Change priority of nhfsstone package to 'extra'.
512 2001-02-12 Chip Salzenberg <chip@valinux.com>
514 * debian/changelog: Version 0.3-2.
516 2001-02-02 H.J. Lu <hjl@lucon.org>
518 * support/include/rpcmisc.h (rpc_init): Remove bufsize.
520 * support/nfs/rpcmisc.c (makesock): Remove socksz and comment
521 out SO_SNDBUF/SO_RCVBUF.
522 (rpc_init): Remove bufsize and remove socksz in calls to
525 * utils/mountd/mountd.c (main): Remove bufsize in calls to
528 2001-01-28 Chip Salzenberg <chip@valinux.com>
530 * debian/changelog: Version 0.3-1.
532 2001-01-25 H.J. Lu <hjl@lucon.org>
534 * configure.in (VERSION): Set to "0.3".
535 * configure: Regenerated.
536 * nfs-utils.spec: Likewise.
538 * README: Updated for 0.3.
540 2001-01-25 H.J. Lu <hjl@lucon.org>
542 * utils/lockd/lockd.c (main): Ignore errno == EINVAL.
544 2001-01-20 Chip Salzenberg <chip@valinux.com>
546 * support/include/xio.h (xgetc): Declare to return int.
547 * support/nfs/xio.c (xgetc): Return int.
548 (xgettok, xskip, xskipcomment): Use int for value of xgetc.
549 * utils/statd/statd.c (main): Use int for value of getopt.
550 * debian/changelog: Version 0.2.1-5.
552 2000-12-10 Chip Salzenberg <chip@valinux.com>
554 * utils/statd/monitor.c (sm_mon_1_svc): Fix buggy check for
555 program and procedure numbers of kernel lockd's callback. Also,
556 besides the old (and broken) procedure #24, allow #16 per Trond.
558 2000-12-03 Chip Salzenberg <chip@valinux.com>
560 * support/nfs/xio.c (xfopen): Initialize x_line to one, not zero.
561 * debian/control: Let nhfsstone replace files in nfs-kernel-server.
562 * debian/changelog: Version 0.2.1-4.
564 2000-11-27 Tobias Ringstrom <tori@tellus.mine.nu>
566 * utils/mountd/auth.c (auth_authenticate): Log the bad path
569 2000-11-24 Neil Brown <neilb@cse.unsw.edu.au>
571 * support/nfs/exports.c (getexportent): Check for host name
572 without option, or options without hostname, and print a warning,
573 as this is most likely a typo.
575 2000-11-19 Chip Salzenberg <chip@valinux.com>
577 * debian/control: Add dependency on portmap.
578 * debian/changelog: Version 0.2.1-3.
580 2000-11-10 H.J. Lu <hjl@lucon.org>
582 * nfs-utils.spec.in: Don't use libtool.
583 Add ChangeLog and COPYING to doc.
584 * nfs-utils.spec: Rebuild.
586 2000-11-09 H.J. Lu <hjl@lucon.org>
588 * etc/redhat/nfs.init (start): Back out the last change.
590 2000-11-09 H.J. Lu <hjl@lucon.org>
592 * etc/redhat/nfs.init (start): Pass --no-tcp to mountd if
593 TCP is not supported by kernel.
595 * support/nfs/rpcmisc.c (rpc_init): Don't set _rpcfdtype to 0.
597 * utils/mountd/mountd.c (longopts): Add "-n/--no-tcp".
598 (main): Set to _rpcfdtype to SOCK_DGRAM for "-n/--no-tcp".
600 * utils/mountd/mountd.man: Updated for "-n/--no-tcp".
602 2000-10-24 Lon Hohberger <hohberger@missioncriticallinux.com>
604 * utils/statd/callback.c: Fix bug preventing callbacks to local lockd.
605 * utils/statd/rmtcall.c: Add some IP address paranoia when doing
606 callbacks to local lockd.
608 2000-10-18 Scott McDermott <mcdermot@questra.com>
610 * utils/exportfs/exports.man: Updated for CIDR netmask.
612 2000-10-17 Scott McDermott <mcdermot@questra.com>
614 * support/export/client.c (client_init): Support CIDR netmask
617 2000-10-11 H.J. Lu <hjl@lucon.org>
619 * aclocal.m4 (AC_TCP_WRAPPER): Fix a typo.
620 * configure: Rebuilt.
622 2000-10-06 Lon Hohberger <hohberger@missioncriticallinux.com>
624 * utils/statd/statd.man: Change "/var/lib/nfs/sm/state" to
625 "/var/lib/nfs/state".
627 2000-10-05 Lon Hohberger <hohberger@missioncriticallinux.com>
629 * utils/statd/statd.h (run_mode): New global bitmask of runtime
630 behaviors: fg/bg, logging, etc.
631 * utils/statd/statd.c: New command line options: -V -h -? -d .
632 * utils/statd/statd.man: Update for changes to statd.
634 * utils/statd/log.h (log_init): Remove parameter of function; use
635 global variable "name_p" instead.
636 * utils/statd/log.c: Add support for logging to stderr.
638 * utils/statd/notlist.c: Partially rewrite notify list handling
639 functions. Eliminate run-off-end-of-list bug when calling
640 nlist_insert_timer. Add lots of comments.
642 2000-09-27 H.J. Lu <hjl@lucon.org>
644 * README: Updated for RedHat 7.0.
646 2000-09-27 H.J. Lu <hjl@lucon.org>
648 * nfs-utils.spec: Rebuild.
650 2000-09-27 H.J. Lu <hjl@lucon.org>
652 * README: Updated for 0.2.1.
654 2000-09-27 H.J. Lu <hjl@lucon.org>
656 * nfs-utils.spec.in: Updated to use rpm macros and support
659 2000-09-25 H.J. Lu <hjl@lucon.org>
661 * configure.in (VERSION): Set to "0.2.1".
662 * configure: Regenerated.
663 * nfs-utils.spec: Updated.
665 2000-09-25 H.J. Lu <hjl@lucon.org>
667 * utils/mountd/auth.c (auth_authenticate_internal): Make sure a
668 non-NULL hostent is always returned.
670 2000-09-11 Ion Badulescu <ionut@cs.columbia.edu>
672 * etc/redhat/nfslock.init: don't kill lockd processes that do not
673 have an executable (i.e. kernel threads)
675 2000-09-01 H.J. Lu <hjl@lucon.org>
677 * README: Updated for 0.2.
679 2000-09-01 Jay Weber <jweber@valinux.com>
681 * etc/redhat/nfs.init: Added ability for rpc.mountd to default to
682 supporting version 3 of nfs if available, else it will fall back to
683 version 2 support only.
685 2000-08-30 H.J. Lu <hjl@lucon.org>
687 * configure.in (VERSION): Set to "0.2".
688 * configure: Regenerated.
689 * nfs-utils.spec: Updated.
691 2000-08-25 H.J. Lu <hjl@lucon.org>
693 * support/misc/tcpwrapper.c (logit): Modify the log output.
695 2000-08-25 Ion Badulescu <ionut@cs.columbia.edu>
697 * utils/rquotad/rquotad.man, utils/statd/statd.man,
698 utils/mountd/mountd.man: updated
700 * utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL)
701 * utils/rquotad/Makefile: fix comment
703 * support/misc/tcpwrapper.c (logit): added comment about waiting
704 for the children after fork()
706 * utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving
707 zombies behind (from logit()'s fork)
708 * utils/rquotad/rquota_svc.c (main): ditto
709 * utils/statd/statd.c (main): ditto
711 * utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG
712 to check_default instead of 0, for prognum
714 * utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG
715 to check_default instead of 0, for prognum
717 * utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if
718 HAVE_TCP_WRAPPER is defined.
719 (mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is
720 defined. Reject an RPC call if check_default () fails.
722 2000-08-25 H.J. Lu <hjl@lucon.org>
724 * support/include/tcpwrapper.h: New for the tcp wrapper
726 * support/misc/Makefile: Likewise.
727 * support/misc/from_local.c: Likewise.
728 * support/misc/tcpwrapper.c: Likewise.
730 * aclocal.m4 (AC_TCP_WRAPPER): New.
731 * configure.in: Use it. Substitute LIBWRAP.
732 * configure: Rebuilt.
734 * config.mk.in (LIBNSL): New.
737 * support/Makefile (SUBDIRS): Add misc.
739 * support/lib/Makefile (LIBS): Add libmisc.a.
741 * utils/rquotad/Makefile (LIBS): Add
743 -lmisc $(LIBWRAP) $(LIBNSL)
745 * utils/statd/Makefile (LIBS): Likewise.
747 * utils/rquotad/rquota_svc.c: Include "tcpwrapper.h" if
748 HAVE_TCP_WRAPPER is defined.
749 (rquotaprog_1): Call check_default () if HAVE_TCP_WRAPPER is
750 defined. Reject an RPC call if check_default () fails.
752 * utils/statd/statd.c: Include "tcpwrapper.h" if
753 HAVE_TCP_WRAPPER is defined.
754 (sm_prog_1_wrapper): New. A wrapper for sm_prog_1. Call
755 check_default () before calling sm_prog_1 (). Define it as
756 sm_prog_1_wrapper if HAVE_TCP_WRAPPER is defined.
758 2000-08-25 Chip Salzenberg <chip@valinux.com>
760 * debian/*: Complete Debian build support.
761 * etc/debian/*: Remove.
763 2000-08-24 Neil Brown <neilb@cse.unsw.edu.au>
765 * support/export/client.c(client_check): removed the "dot+1" as a
766 ypdomain argument to innetgr as this is entirely bogus.
767 It should always be NULL.
769 2000-08-23 Neil Brown <neilb@cse.unsw.edu.au>
771 * support/export/xtab.c(xtab_read): introduce new mode for
772 reading xtab. i.e. a list of exports that might be known to the
773 kernel, or might not. These are flagged as m_exported == -1
774 * support/export/xtab.c(xtab_mount_read): call xtab_read with new
775 value "2" for xtab, meaning don't trust this too much.
776 * support/include/exportfs.h(struct mexport): changed m_exported
777 from one bit to an int so that it can hold new value
778 * utils/exportfs/exportfs.c(exportfs_ipdate): add an export to the
779 kernel if it is uncertain whether the kernel knows (m_exported == -1)
780 * utils/mountd/mountd.c(get_rootfh): similarly export to kernel if
783 * support/nfs/xio.c(xflock): added O_CREAT when getting
784 a write lock so that missing files aren't fatal.
786 * etc/debian/nfs-common: new file from "potato"
787 * etc/debian/nfs-kernel-server: new file from "potato" plus fixes.
789 2000-08-09 H.J. Lu <hjl@lucon.org>
791 * etc/redhat/nfs.init: Run /usr/sbin/exportfs first during
792 startup to ensure all existing clients work fine.
794 * support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0
795 to xtab_read () for reading _PATH_XTAB.
797 2000-08-02 H.J. Lu <hjl@lucon.org>
799 * utils/mountd/auth.c (auth_authenticate_internal): Try to
800 avoid the reverse name lookup.
802 2000-07-04 H.J. Lu <hjl@lucon.org>
804 * utils/statd/log.c: Include <stdlib.h> for exit ().
806 * utils/statd/misc.c (xunlink): Add `{' and `}' to quiet the
809 2000-07-04 H.J. Lu <hjl@lucon.org>
811 * configure.in (VERSION): Set to "0.1.9.1".
812 * configure: Regenerated.
813 * nfs-utils.spec: Updated.
817 2000-07-04 Neil Brown <neilb@cse.unsw.edu.au>
819 * support/export/hostname.c (hostent_dup): Handle the NULL
822 2000-07-03 H.J. Lu <hjl@lucon.org>
824 * README: Update the util-linux requirement.
826 2000-07-03 H.J. Lu <hjl@lucon.org>
828 * configure.in (VERSION): Set to "0.1.9".
829 * configure: Regenerated.
830 * nfs-utils.spec: Updated.
834 2000-07-03 H.J. Lu <hjl@lucon.org>
836 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
837 stop to ensure all clients can still access the server
838 before it is shutdown.
840 2000-06-30 Jeff Uphoff <juphoff@transmeta.com>
842 * tools/rpcgen/rpc_svcout.c (write_msg_out): Generate syslog()
843 calls with format string.
845 2000-06-28 Chip Salzenberg <chip@valinux.com>
847 * utils/statd/log.c (log): Call syslog with format string.
849 2000-06-27 H.J. Lu <hjl@lucon.org>
851 * utils/statd/statd.c (main): Use sysconf (_SC_OPEN_MAX)
854 2000-06-27 H.J. Lu <hjl@lucon.org>
858 2000-06-27 H.J. Lu <hjl@lucon.org>
860 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
861 startup to ensure all existing clients are exported.
863 * configure.in (VERSION): Set to "0.1.8.2".
864 * configure: Regenerated.
865 * nfs-utils.spec: Updated.
867 2000-06-06 H.J. Lu <hjl@lucon.org>
869 * configure.in (VERSION): Set to "0.1.8.1".
870 * configure: Regenerated.
871 * nfs-utils.spec: Updated.
873 2000-06-06 H.J. Lu <hjl@lucon.org>
875 * utils/mountd/mountd.c (mount_dump_1_svc): Cast svc_getcaller
876 to "struct sockaddr_in *" for glibc 2.2.
877 (mount_umnt_1_svc): Likewise.
878 (mount_umntall_1_svc): Likewise.
879 (mount_export_1_svc): Likewise.
880 (mount_exportall_1_svc): Likewise.
881 (mount_pathconf_2_svc): Likewise.
882 (get_rootfh): Likewise.
884 2000-06-04 H.J. Lu <hjl@lucon.org>
886 * etc/redhat/nfs.init: Fix a typo in comment.
888 2000-05-31 H.J. Lu <hjl@lucon.org>
890 * configure.in (VERSION): Set to "0.1.8".
891 * configure: Regenerated.
892 * nfs-utils.spec: Updated.
896 2000-05-31 H.J. Lu <hjl@lucon.org>
898 * configure.in (VERSION): Set to "0.1.7.5".
899 * configure: Regenerated.
900 * nfs-utils.spec: Updated.
902 * support/include/nfslib.h (exportent): Add a new field,
903 r_count, to count the number of mounts from a client.
904 (getrmtabent): Take a new argument for position in file.
905 (putrmtabent): Likewise.
906 (fgetrmtabent): Likewise.
907 (fputrmtabent): Likewise.
908 * support/nfs/rmtab.c (getrmtabent): Handle the new argument
909 for position in file.
910 (fgetrmtabent): Likewise.
911 (putrmtabent): Likewise.
912 (fputrmtabent): Likewise.
914 * support/nfs/rmtab.c (fgetrmtabent): Get value for the new
917 * support/export/rmtab.c (rmtab_read): Pass NULL as the new
918 argument to getrmtabent (), fgetrmtabent (), putrmtabent ()
920 * utils/mountd/rmtab.c (mountlist_add): Likewise.
921 (mountlist_del): Likewise.
922 (mountlist_del_all): Likewise.
923 (mountlist_list): Likewise.
925 * utils/mountd/rmtab.c (mountlist_add): Increment "r_count"
926 for the existing entry and initialize "r_count" to 1.
927 (mountlist_del): Decrement "r_count".
929 2000-05-18 H.J. Lu <hjl@lucon.org>
931 * configure.in (VERSION): Set to "0.1.7.4".
932 * configure: Regenerated.
933 * nfs-utils.spec: Updated.
935 2000-05-18 H.J. Lu <hjl@lucon.org>
937 * etc/redhat/nfs.init (restart): Just do stop and start.
939 2000-05-09 Jay Weber <jweber@valinux.com>
941 * utils/rquotad/hasquota.c: added support for ext3 recognition
943 * utils/rquotad/mntent.h: Likewise.
945 2000-05-01 H.J. Lu <hjl@lucon.org>
947 * configure.in (VERSION): Set to "0.1.7.3".
948 * configure: Regenerated.
949 * nfs-utils.spec: Updated.
951 2000-05-01 H.J. Lu <hjl@lucon.org>
953 * utils/rquotad/rquota_server.c (getquotainfo): Skip bad
954 mounting poins in /etc/fstab.
956 2000-05-01 H.J. Lu <hjl@lucon.org>
958 * configure.in (VERSION): Set to "0.1.7.2".
959 * configure: Regenerated.
960 * nfs-utils.spec: Updated.
962 2000-05-01 H.J. Lu <hjl@lucon.org>
964 * utils/rquotad/rquota_server.c (getquotainfo): Call stat ()
965 to check for the mounting point.
967 2000-04-29 Chip Salzenberg <chip@valinux.com>
968 Neil Brown <neilb@cse.unsw.edu.au>
970 * Really re-use RPC ports.
971 (Fixes earlier patch. Sorry, Neil.)
973 2000-04-26 H.J. Lu <hjl@lucon.org>
975 * configure.in (VERSION): Set to "0.1.7.1".
976 * configure: Regenerated.
977 * nfs-utils.spec: Updated.
979 2000-04-26 H.J. Lu <hjl@lucon.org>
981 * etc/redhat/nfslock.init: Check if lockd exits before killing
984 2000-04-25 H.J. Lu <hjl@lucon.org>
986 * README: Require util-linux-2.10f-mount-rpc.patch for mount.
988 2000-03-21 Michael Weiser <michael@weiser.saale-net.de>
990 * support/nfs/exports.c (parsesquash): Correctly set the
993 Tue Mar 21 11:38:48 EST 2000 NeilBrown <neilb@cse.unsw.edu.au>
995 * support/include/nfs/nfs.h: Removed knowledge of internals of
996 kernel filehandles (which can change) and defined nfs_fh_size
997 which has variable size
999 * support/nfs/getfh.c: defined getfh_size to use new syscall to
1000 get variable sized file handles, and change getfh{,old} to
1003 * utils/mountd/mountd.c: use nfd_fh_size and call getfh_size for
1006 * tools/Makefile, tools/nlmtest/nlmtest.c
1007 nlmtest.c depended on internel format of file handles, so now
1011 2000-03-12 Chip Salzenberg <chip@valinux.com>
1012 Neil Brown <neilb@cse.unsw.edu.au>
1014 * support/nfs/rpcmisc.c (rpc_init): Share transports.
1016 2000-03-13 H.J. Lu <hjl@lucon.org>
1018 * etc/redhat/nfsd.init: Updated.
1020 * etc/redhat/nfslock.init: Updated.
1022 * nfs-utils.spec.in: Updated.
1024 * configure.in (VERSION): Set to "0.1.7".
1025 * configure: Regenerated.
1026 * nfs-utils.spec: Updated.
1030 Wed Mar 8 09:42:43 2000 Neil Brown <neilb@cse.unsw.edu.au>
1032 * utils/exportfs/exportfs.c (dump): Included printing of
1033 nohide, no_subtree_check, and insecure_locks
1035 2000-02-26 Chip Salzenberg <chip@valinux.com>
1037 * config.mk.in (INSTALLSUID): Strip ("-s").
1038 (INSTALLSCRIPT): Define.
1039 * utils/nhfsstone/Makefile: Use it.
1041 2000-02-26 Chip Salzenberg <chip@valinux.com>
1043 * utils/lockd/lockd.man: Create.
1044 * utils/lockd/Makefile: Install it.
1045 * utils/nhfsstone/nhfs{run,nums,graph}.man: Create.
1046 * utils/nhfsstone/nhfsstone.man: Change suffix from ".1".
1047 * utils/nhfsstone/Makefile: Install the helper scripts and
1049 * utils/exportfs/exports.man: Fix typo.
1051 2000-02-26 Chip Salzenberg <chip@valinux.com>
1053 * support/nfs/xio.c (xungetc): Decrement line number when
1054 character to unget is newline. Make first parameter int, so
1055 it can distinguish EOF from \377.
1056 * support/include/xio.h (xungetc): Adjust prototype.
1058 Fri Feb 4 23:42:23 2000 Neil Brown <neilb@cse.unsw.edu.au>
1060 * support/include/nfs/export.h: added NFSEXP_NOAUTHNLM
1061 * support/nfs/exports.c: added handling for NFSEXP_NOAUTHNLM
1062 * utils/exportfs/exports.man: added documentation for no_auth_nlm.
1064 This is for supporting a new option introduced in 2.3.42
1066 Thu Feb 3 14:55:48 2000 H.J. Lu <hjl@lucon.org>
1068 * COPYING: Added. GPL.
1070 Thu Feb 03 14:40:40 2000 Cristian Gafton <gafton@redhat.com>
1072 * utils/rquotad/rquota_server.c (getquotainfo): Call statfs ()
1073 to get the block size.
1075 Tue Jan 25 11:04:17 2000 H.J. Lu <hjl@lucon.org>
1077 * nfs-utils.spec.in: Update ftp site.
1079 Mon Jan 17 11:48:18 2000 H.J. Lu <hjl@lucon.org>
1081 * README: Update hostnames.
1083 Tue Jan 11 10:06:22 2000 H.J. Lu <hjl@lucon.org>
1085 * configure.in (VERSION): Set to "0.1.6".
1086 * configure: Regenerated.
1087 * nfs-utils.spec: Updated.
1091 Mon Jan 10 14:26:33 2000 H.J. Lu <hjl@lucon.org>
1093 * utils/mountd/auth.c (auth_authenticate_internal): Call
1094 xstrdup for hostname before passing it to gethostbyname.
1096 * utils/mountd/mountd.c (get_exportlist): Use xstrdup instead
1099 Sun Dec 19 09:35:01 1999 H.J. Lu <hjl@lucon.org>
1101 * README: Update the mailing list address.
1103 Sun Dec 19 09:22:28 1999 H.J. Lu <hjl@lucon.org>
1105 * configure.in (VERSION): Set to "0.1.5".
1106 * configure: Regenerated.
1107 * nfs-utils.spec: Updated.
1111 Mon Dec 13 13:40:20 1999 H.J. Lu <hjl@lucon.org>
1113 * utils/rquotad/hasquota.c (hasquota): Malloc one more char
1116 Mon Dec 6 09:42:45 1999 H.J. Lu <hjl@lucon.org>
1118 * configure.in (VERSION): Set to "0.1.4".
1119 * configure: Regenerated.
1120 * nfs-utils.spec: Updated.
1124 Mon Dec 6 09:28:07 1999 H.J. Lu <hjl@lucon.org>
1126 * nfs-utils.spec.in: New file.
1128 * config.mk.in (VERSION): Changed to "nfs-utils @VERSION@".
1130 * configure.in (nfs-utils.spec): Added to AC_OUTPUT.
1132 1999-12-04 Chip Salzenberg <chip@valinux.com>
1134 * config.mk.in: Use $(CC) as set by configure.
1136 1999-12-04 Chip Salzenberg <chip@valinux.com>
1138 * rules.mk: Call $(MAKE) with $(MFLAGS).
1140 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1142 * tools/rpcgen/rpc_main.c (h_output): Generate IXDR_GET_INT32,
1143 IXDR_PUT_INT32, IXDR_GET_U_INT32 and IXDR_PUT_U_INT32.
1145 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1147 * nfs-utils.spec (Version): Set to 0.1.3.
1149 * configure.in (VERSION): Set to "nfs-utils 0.1.3".
1150 * configure: Regenerated.
1154 Mon Nov 29 11:15:47 1999 H.J. Lu <hjl@lucon.org>
1156 * utils/rquotad/rquota_server.c (nfsmount_to_devname): Removed.
1157 (_PATH_DEV_DSK): Likewise.
1158 (getquotainfo): Match the mounting point from /etc/mtab
1159 instead of calling nfsmount_to_devname ().
1161 1999-11-24 Chip Salzenberg <chip@valinux.com>
1163 * utils/statd/monitor.c (sm_mon_1_svc): Accept lockd callbacks
1164 to the new port 24 as well as the historical port 100021.
1166 Tue Nov 23 10:21:34 1999 Neil Brown <neilb@cse.unsw.edu.au>
1168 * etc/redhat/nfsd.init (stop): moved exportfs -ua after
1169 stopping nfsd to stop spurious ESTALE on server shutdown.
1171 Tue Nov 23 10:13:39 1999 Neil Brown <neilb@cse.unsw.edu.au>
1173 * support/nfs/exports.c (parseopts): make copy of opt string
1174 before 'nul'ing out commas so that
1176 # exportfs -o option1,option2 hosta:/fs hostb:/fs
1178 applies both options to both exports.
1180 Thu Oct 28 12:55:42 1999 H.J. Lu <hjl@lucon.org>
1182 * README: Fix a few typos.
1184 * tools/rpcgen/rpc_cout.c (print_header): Use int32_t instead
1186 * tools/rpcgen/rpc_hout.c (pdefine): Likewise.
1187 * tools/rpcgen/rpc_main.c (c_initialize): Likewise.
1188 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1189 (unsigned_dec): Likewise.
1190 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1191 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1193 * tools/rpcgen/rpc_cout.c (emit_single_in_line): Use INT32
1195 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1196 (unsigned_dec): Likewise.
1197 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1198 * tools/rpcgen/rpc_scan.h (tok_kind): Likewise.
1199 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1201 Thu Oct 28 11:27:51 1999 Neil Brown <neilb@cse.unsw.edu.au>
1203 * support/include/nfs/export.h addedd NFSEXP_NOSUBTREECHECK
1204 * support/nfs/exports.c: added {no_,}subtree_check and changed
1206 * utils/exportfs/exports.man: added no_subtree_check and nohide
1207 and removed irrelevant stuff from unfsd.
1208 * support/export/rmtab.c: rmtab_read didn't quite do the right
1209 thing if a pathname from rmtab was a subdirectory of an export-point
1211 Tue Oct 26 17:22:40 1999 H.J. Lu <hjl@lucon.org>
1213 * README: Updated ftp site.
1215 Mon Oct 25 18:12:45 1999 H.J. Lu <hjl@lucon.org>
1217 * nfs-utils.spec (Version): Set to 0.1.2.
1219 * configure.in (VERSION): Set to "nfs-utils 0.1.2".
1220 * configure: Regenerated.
1224 Mon Oct 25 18:11:21 1999 H.J. Lu <hjl@lucon.org>
1226 * utils/mountd/auth.c (auth_error): Add "no_forward_dns".
1227 (auth_authenticate_internal): Check for NULL return on forward
1229 (auth_authenticate): Handle "no_forward_dns".
1231 Thu Oct 21 16:22:06 1999 H.J. Lu <hjl@lucon.org>
1233 * Version 0.1.1 released.
1235 * nfs-utils.spec (Version): Set to 0.1.1.
1237 * configure.in (VERSION): Set to "nfs-utils 0.1.1".
1238 * configure: Regenerated.
1242 Mon Oct 18 17:43:29 1999 H.J. Lu <hjl@lucon.org>
1244 * nfs-utils.spec (Obsoletes): Fixed a typo, change knfsd-client
1246 (Provides): Likewise.
1248 Mon Oct 18 14:56:22 1999 H.J. Lu <hjl@lucon.org>
1250 * Initial version 0.1 released.
1252 * configure.in (VERSION): Set to "nfs-utils 0.1".
1253 * configure: Regenerated.
1255 Mon Oct 18 14:54:57 1999 H.J. Lu <hjl@lucon.org>
1257 * utils/mountd/mountd.c (get_exportlist): Cleanup.
1259 * utils/exportfs/exportfs.c (unexport_all): Unexport from
1260 kernel only if the entry is exported to kernel.
1261 (unexportfs): Likewise.
1263 Wed Sep 08 16:49:32 1999 Neil Brown <neilb@cse.unsw.edu.au>
1265 1/ utils/mountd/rmtab.c::mountlist_list
1267 This routine stats the rmtab file to see if it has changed. It
1268 if has, it cleans up it's old copy of the data. But it still
1269 always re-read the file, thus returning multiple copies of the
1270 data on consecutive calls without intervening changes.
1271 "Showmount -a" didn't show this as it appears to sort/unique the
1272 data, but 'strace showmount -a' showed that the size of the
1273 datagram that it received grew.
1275 I moved the getrmtabent loop inside the mtime test.
1277 2/ utils/exportfs/exportfs.c
1279 Many routines used the m_path field of m_export instead of
1281 According to the comment in nfslib.h, m_path should only
1282 be used when processing a mount request (i.e. in mountd)
1283 where the mountpoint may be a subdirectory of the export point.
1285 I changed all occurances of m_path to e_path
1288 3/ utils/exportfs/exportfs.c:main
1290 extra arguments are not meaningful with -a or -r, but
1291 exportfs accepted them and then ignored the -a/-r, expect that
1292 -r would still unexport everything first.
1294 I generate an error if there are extra args and f_all
1296 4/ utils/exportfs/exportfs.c:main
1297 extract dump out as a special case.
1299 5/ utils/exportfs/exportfs.c
1300 made f_reexport a local variable.
1303 6/ utils/exportfs/exportfs.c:main,exportall
1305 support/export/rmtab.c
1306 only mayexport on newly created entries, don't set xtabent at all
1308 7/ support/include/nfslib.h
1310 add #define _PATH_PROC_EXPORTS to be /proc/fs/nds/exports
1312 8/ support/export/xtab.c
1314 xtab_mount_read loads data from _PATH_PROC_EXPORTS if it exists,
1318 9/ support/export/xtab.c
1320 xtab_mount_read now sets m_exported, and NOT
1321 xtabent and mayexport
1323 removed the append arguement from xtab_write as it was
1326 added is_export flag to xtab_write similar to xtab_read
1327 if is_export, only write entries with m_xtabent or m_addxtab
1328 if !is_export, only write entries with m_exported
1330 10/ support/export/export.c::export_allowed_internal
1332 added test for exp->m_mayexport, as the export tree
1333 may have entries that are no longer allowed to be exported,
1334 and so shouldn't caused deduced exported by rmtab_read
1336 11/ utils/exportfs/exportfs.c::main
1337 error checking of flags.
1339 12/ utils/exportfs/exportfs.c
1341 total rewrite of export and unexport logic.
1343 - build an exportslist of valid exports, based on
1344 current etab file and arguments,
1345 - read rmtab to instantiate relevant wild card entries
1346 - read etab to find out what is currently exported
1347 - synchronise intention with reality
1348 - write out etab and xtab
1351 discard the m_addxtab flag
1352 add m_changed flag so we know what to report in exportfs
1354 14/ utils/mountd/auth.c:auth_authenticate
1356 the value returned by gethostbyaddr was trusted.
1358 It now follows this with a call to gethostbyname
1359 and checks that the address is in the list.
1361 15/ support/export/nfsctl.c::cltsetup,expsetup
1363 force client names to lowercase as kernel is
1366 16/ quietened a few compiler warnings
1368 17/ support/export/client:client_lookup
1370 look for pre-existing client with same name before creating
1373 18/ support/include/exportfs.h
1375 The ordering of the MCL_* enum was:
1376 ANONYMOUS, FQDN, SUBNETWORK, WILDCARD, NETGROUP
1378 I moved ANONYMOUS to the end.
1380 The ordering is significant when an export entry is being searched for to
1381 match a given address. There are two problems with ANONYMOUS being first.
1383 1/ if a directory is exported rw to a couple of hosts and ro to everyone else,
1384 then the ro case will always be found first and the privileged hosts won't get
1386 2/ When mountd gets a request to mount an ANONYMOUSly exported tree, it creates a FQDN
1387 export entry for the specific host, and writes it to xtab.
1388 When another request comes from the same host, the ANONYMOUS entry is found again,
1389 before the new FQDN entry, so it creates another FQDN entry and writes it to xtab
1390 again. If causes bloat in xtab.
1392 Putting ANONYMOUS at the end reflects it's nature as a catch-all
1394 19/ utils/exportfs/exportfs.man
1395 many updates to the man page to reflect changes to the code
1397 -----------------------
1403 - allow exportfs to modify rmtab file
1404 - make sure kernel never gets two clients with same IP address
1405 - possible kernel should reject
1406 - needs to be some way to lookup client in kernel by IP address
1407 - maybe get kernel to do case-insensitive comparisons on client names
1408 - remove unused clients from kernel
1410 - change etab to xtab and xtab to xtab.active
1412 - timestamp and/or statd-stamp in rmtab for removing old entries.
1414 Mon Oct 18 11:48:07 1999 H.J. Lu <hjl@lucon.org>
1416 * linux-nfs: New directory.
1417 * linux-nfs/ChangeLog: Moved from ..
1418 * linux-nfs/INSTALL: Likewise.
1419 * linux-nfs/KNOWNBUGS: Likewise.
1420 * linux-nfs/NEW: Likewise.
1421 * linux-nfs/README: Likewise.
1422 * linux-nfs/THANKS: Likewise.
1423 * linux-nfs/TODO: Likewise.
1425 * Starting from knfsd 1.4.7.