1 2004-11-22 "J. Bruce Fields" <bfields@fieldses.org>
3 * tools/rpcdebug/rpcdebug.c: support aliases "nfsdebug" and
4 "nfsddebug" and update flag names.
5 * configure.in, nodist/* redhat/* nfs-utils.spec*: remove redhat
6 specific files (as no-one actually uses them, especially not
7 redhat), and the nodist /etc files (as they drift out-of-date, and
8 the debian directory provides a suitable example.
10 2004-11-22 NeilBrown <neilb@cse.unsw.edu.au>
12 * utils/exportfs/nfsd.man: corrected typo in .BR macro usage -
13 reported by Eric Raymond
15 2004-10-19 "J. Bruce Fields" <bfields@fieldses.org>
17 * support/gssapi/* support/rpc/* utils/gssd/* utils/svcgssd/* etc
18 initial support for GSSAPI authentication
20 2004-09-15 Neil Brown <neilb@cse.unsw.edu.au>
22 * utils/statd/monitor.c(sm_unmon_1_svc): is RESTRICTED_STATD, then
23 check IP address and force my_name to 127.0.0.1 to match
24 what happens in sm_mon_1_svc. This avoid spurious "erroneous
26 * utils/statd.monitor.c(sm_unmon_all_1_svc): likewise
28 2004-09-15 "J. Bruce Fields" <bfields@fieldses.org>
30 * Assorted changes to support "gss/*" style authentication
31 * utils/idmapd: new idmapd daemon for nfsv4 username lookup
33 2004-09-06 Trond Myklebust <trond.myklebust@fys.uio.no>
34 Neil Brown <neilb@cse.unsw.edu.au>
36 * utils/mountd/auth.c(auth_authenticate_internal): fix
37 uninitialsed variable problem (causes bad error messages).
39 2004-09-06 Paul Clements <paul.clements@steeleye.com>
40 Neil Brown <neilb@cse.unsw.edu.au>
42 * utils/mountd/mountd.c(main): support --ha-callout (-H) for
43 specifying a callout program
44 * utils/mountd/rmtab.c: Call ha_callout on mount/unmount
45 * utils/statd/monitor.c: Call ha_callout on add/del client
46 * utils/statd/rmtcall.c: as above
47 * utils/statd/statd.c: handle --ha-callout (-H)
48 * utils/statd/svc_run.c: call notify_hosts is we have received a
50 * support/include/ha-callout.h: define ha_callout function
53 2004-08-31 NeilBrown <neilb@cse.unsw.edu.au>
54 * utils/mountd/cache.c(cache_process_req): clear fd after
55 processing so as not to confused libc/sunrpc into thinking
56 it need to do something with that fd.
58 2004-08-31 NeilBrown <neilb@cse.unsw.edu.au>
60 * debian/nfs-kernel-server.init(start,stop) mount the nfsd
61 filesystem, if available, before starting nfs services, and
62 unmount it afterwards.
63 * etc/nodist/nfs-server: ditto
64 * etc/redhat/nfs.init: likewise
65 * etc/redhat/nfs: add "MOUNT_NFSD" flag to control above.
67 2004-06-08 NeilBrown <neilb@cse.unsw.edu.au>
69 * utils/exportfs/exportfs.c: Don't rmtab_read if new_cache, it
71 * support/nfs/cacheio.c(cache_flush): Change order in which caches
72 are flushed so that dependancies don't keep things in the cache
75 2004-03-18 Chip Salzenberg <chip@pobox.com>
77 * debian/changelog: Version 1.0.6-2.
79 2004-02-24 NeilBrown <neilb@cse.unsw.edu.au>
80 from "J. Bruce Fields" <bfields@fieldses.org>
82 * utils/mountd/cache.c: call auth_reload to make sure auth data is
83 current before responding to kernel upcall.
85 2004-02-24 NeilBrown <neilb@cse.unsw.edu.au>
86 Based on patch from Greg Banks <gnb@melbourne.sgi.com>
88 * utils/exportfs/exports.man: Document fsid= option.
90 2003-09-15 NeilBrown <neilb@cse.unsw.edu.au>
94 * rules.mk: Add dep: rule when no OBJS, so "make dep" works in
95 support/include, and depend in "predep"
96 * support/export/Makefile, tools/rpcgen/Makefile,
97 utils/statd/Makefile: add "predep" rule so that "make dep" works.
98 * Makefile: allow a simple "make" to run ./configure and "make dep"
100 * configure.in, nfs-utils.spec: Update version to 1.0.6
103 2003-09-12 Chip Salzenberg <chip@pobox.com>
105 * debian/changelog: Version 1.0.6-1.
107 2003-09-12 NeilBrown <neilb@cse.unsw.edu.au>
109 * utils/mountd/mountd.c(main): Impose FD_SETSIZE as an upper limit
111 * utils/statd/statd.c(main): Ditto.
113 michael <michael@newdream.net> discovered that svc_setreqsize
114 in glibc can segfault if RLIMIT_NOFILE is bigger than
115 FD_SETSIZE, so a simple solution is to impose a hard limit.
117 2003-09-09 Chip Salzenberg <chip@pobox.com>
119 * debian/changelog: Version 1.0.5-3.
120 * support/export/hostname.c (get_reliable_hostbyaddr): Fix crash
121 on invalid reverse DNS.
122 * utils/showmount/showmount.c (main): Fix inet_ntoa() parameter.
123 * tools/rpcgen/rpc_cout.c (print_header): Remove unused vars.
124 * tools/rpcgen/rpc_parse.c (def_union): Likewise.
126 2003-08-22 Chip Salzenberg <chip@pobox.com>
128 * utils/statd/{log.h,log.c}: Rename log() to note() and L_* to
129 N_*, to avoid conflict with ISO C built-in log() function.
130 * utils/statd/*.c: Use note().
132 2003-08-20 Chip Salzenberg <chip@pobox.com>
134 * debian/changelog: Version 1.0.5-2.
136 2003-08-11 NeilBrown <neilb@cse.unsw.edu.au>
138 * utils/mountd/cache.c(cache_get_filehandle): close the filehandle
141 2003-08-04 NeilBrown <neilb@cse.unsw.edu.au>
143 * support/include/nfs/export.h, support/nfs/exports.c,
144 utils/exportfs/exports.c, utils/mountd/mountd.c: change
145 NFSEXP_CROSSMNT to NFSEXP_CROSSMOUNT to avoid confusion with older
146 meaning. Also remove meaningless
147 NFSEXP_{UIDMAP,KERBEROS,SUNSECURE}
149 2003-08-04 NeilBrown <neilb@cse.unsw.edu.au>
151 * support/export/xtab.c, support/include/nfslib.h,
152 support/nfs/cacheio.c, support/nfs/nfssvc.c,
153 utils/exportfs/exportfs.c, utils/exportfs/exportfs.man,
154 utils/exportfs/nfsd.man, utils/mountd/cache.c: support
155 /proc/fs/nfsd/* as a perferred alternate to /proc/fs/nfs/*
156 (nfs-utils-1.0.5-post2)
158 2003-08-04 NeilBrown <neilb@cse.unsw.edu.au>
160 * support/nfs/nfsexport.c: open channel file O_WRONLY when
162 * utils/mountd/cache.c: maintain mountlist when new_cache is
163 active. Also use O_WRONLY for channel files.
164 * utils/mountd/mountd.h: mountlist_{del,add} now take a host name
165 rather than an nfs_export.
166 * utils/mountd/rmtab.c: ditto.
167 (nfs-utils-1.5.0-post1)
169 2003-07-24 Chip Salzenberg <chip@pobox.com>
171 * support/nfs/xlog.c (xlog): Revise buffer-overflow fix to
172 use Debian security team's cleaner approach.
173 * debian/changelog: Version 1.0.5-1.
174 * debian/nfs-kernel-server.init: Cosmetic changes.
176 2003-07-18 NeilBrown <neilb@cse.unsw.edu.au>
179 1.0.4 was a bit of a brown-paper-bag-release because of the extra
180 'free' in auth.c. So I'm releasing this just a few days later.
182 * support/nfs/cacheio.c(cache_flush): Correct test for 'open
184 * utils/exportfs/exportfs.c(main): If "-f" given as lone option,
185 check if new_cache is enabled, error if not, flush and exit if it
187 * utils/exportfs/exportfs.man: Explain -f option and explain the
188 two different modes that exportfs can work in.
189 * utils/mountd/mountd.c: Do not change RLIMIT_NOFILE if the -o
191 * utils/mountd/mountd.man: Record the change if default behaviour
193 * configure.in, nfs-utils.spec: update version to 1.0.5 and
196 2003-07-15 NeilBrown <neilb@cse.unsw.edu.au>
198 * utils/mountd/mountd.c(main): getopt string fix for 'o'
199 * utils/mountd/auth.c(auth_authenticate): remove extra 'free'
200 * utils/exportfs/exportfs.c(main): make 'exportfs -f' just flush
202 * support/include/nfs/export.h: Reserve a bit for possible ACL
205 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
207 * utils/exportfs/nfsd.man: new man page for nfsd filesystem. Also
208 assorted changed to cope with section 7 of the manual.
209 * configure.in, nfs-utils.spec: Update version to 1.0.4
212 This is a 'pre-release' for 1.1.0 Hopefully 1.1.0 will be the
213 baseline for 2.6 and 2.8. I.e. it should continue to work right
214 through the 2.8 (or 3.0) kernel series. Previous releases wont.
216 2003-07-04 NeilBrown <neilb@cse.unsw.edu.au>
217 Steve Dickson <SteveD@redhat.com>
220 * utils/statd/statd.c: create a pidfile with pid of statd, and
221 truncate it when statd exists.
222 * utils/statd/statd.c: drop privs by setuid to owner of SM_DIR,
223 and warn if this is root.
224 * utils/statd/statd.c: when statd forks, connect child to parent
225 with a pipe, and send a byte down the pipe once the child is
227 * Makefile: create and chown sm, sm.bak, state when "make install"
228 * configure.in: add --with-statduser= option which defaults to
229 "rpcuser" or "nobody"
230 * config.mk.in: pass "statduser" through to Makefile
232 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
234 * support/include/nfs/nfs.h: Make sure correct __kernel_dev_t is
235 used as the size was changed somewhere in 2.5.60-2.5.70. Without
236 this nfs-utils compiles against 2.6 headers will not work on a
239 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
241 * support/nfs/nfssvc.c(nfssvc): If /proc/fs/nfs/threads exists,
242 set number of threads by writing to there. This means it will
243 still work when the syscall interface goes away in 2.7.
245 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
246 fumihiko kakuma <kakmy@mvh.biglobe.ne.jp>
248 * utils/exportfs/exportfs.c(unexportfs): improve host comparison
249 so as to only export the wildcard exports that were asked for.
250 * support/export/export.c(export_allowed): changed to return the
251 nfs_export rather than a "struct exportent", as m_changed is
253 * support/export/rmtab.c(rmtab_read): modified to deal with
254 interface change for export_allowed(), and enhanced to preserve
255 m_changed flag when a wild-card export causes the creation of
256 a non-wildcard export.
258 2003-07-02 NeilBrown <neilb@cse.unsw.edu.au>
259 Steve Dickson <SteveD@redhat.com>
261 * utils/mountd/mountd.man: Add valid kinds of debugging.
262 * utils/mountd/mountd.c(main): ignore SIGPIPE
263 * utils/nfsstat/nfsstat.c: fine-tune printing of warning so
264 we don't get warnings about unavailable stats that weren't asked
267 2003-06-24 NeilBrown <neilb@cse.unsw.edu.au>
269 * support/nfs/nfsexport.c(exp_unexp): When unexporting filesystems
270 via /rpc/net/rpc/nfsd*/channel, set the expiry date to 1, not
271 'forever', so things disappear out of the cache rather than just
274 2003-06-16 "J. Bruce Fields" <bfields@fieldses.org>
276 * utils/mountd/cache.c(nfsd_fh): don't export the export_ent
279 2003-06-16 NeilBrown <neilb@cse.unsw.edu.au>
281 * debian/nfs-kernel-server.init,etc/nodist/nfs-server,
282 etc/redhat/nfs.init: when checking if V3 is supported, make sure
283 nfs server 'knows' about 127.0.0.1 first.
285 2003-06-10 Chip Salzenberg <chip@pobox.com>
287 * support/nfs/xlog.c (xlog): Fix off-by-one buffer overflow bug.
288 * debian/changelog: Version 1.0.3-2.
290 2003-05-30 Michael Griffith <grif@michaelgriffith.com>
291 NeilBrown <neilb@cse.unsw.edu.au>
293 utils/nfsstat/nfsstat.c(print_callstats): use unsigned
294 long long to avoid overflow when printing stats.
296 2003-05-30 NeilBrown <neilb@cse.unsw.edu.au>
298 * support/export/export.c, support/include/nfslib.h,
299 support/nfs/export.c, utils/exportfs/exportfs.c,
300 utils/mountd/mountd.c: new export option "mountpoint"
301 If no path is given, then the export point must be a
302 mount point, or it won't be exported. If a path is
303 given (e.g. mountpoint=/path) then that path must be
304 a mountpoint or the exportpoint won't be exported.
305 * utils/exportfs/exportfs.man: document mountpoint option.
306 * support/misc/mountpoint.c: New file with is_mountpoint()
307 to determine if something is a mountpoint.
309 2003-05-23 NeilBrown <neilb@cse.unsw.edu.au>
311 * utils/mountd/cache.c(cache_get_filehandle): take a separate path
312 argument as we might not be getting the filehandle for the
314 * utils/mountd/mountd.c(get_rootfh): pass real path when calling
315 cache_get_filehandle.
316 * utils/mountd/mountd.c(get_rootfh): check export point and
317 requested directory are on the same filesystem, and complain if
320 2003-05-22 NeilBrown <neilb@cse.unsw.edu.au>
322 * utils/mountd/auth.c(auth_authenticate_internal): make sure
323 portnumber is still checked when using new cache lookup.
325 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
327 * utils/exportfs/exportfs.c: Use check_new_cache and cache_flush
328 Don't actually talk to kernel when new cache is in effect, except
330 * utils/exportfs/exportfs.c: add -f option to fully flush cache.
331 * support/export/xtab.c: Only rename new xtab into place if it has
332 changed, thus preserving modify date for exportfs to use when
334 * support/nfs/cacheio.c: Add cache_flush
335 * support/export/xtab.c: Only rename new xtab into place if it has
336 changed, thus preserving modify date for exportfs to use when
339 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
341 * support/export/client.c: Add client_compose, client_member to
342 handle new composite client names
343 * support/include/exportfs.h: Declare above functions.
344 * utils/mountd/auth.c: use client_compose to determine calling
345 client if new cache is being used.
346 * utils/mountd/auth.c: call cache_export to export a filesystem if
347 new_cache, check if new cache is used, and call my_svc_run instead
349 * utils/mountd/svc_run.c: new file defining my_svc_run
350 * utils/mountd/cache.c: new file for handling cache upcalls.
351 * support/nfs/cacheio.c(check_new_cache): new function to check if
352 new cache should be used.
355 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
357 * support/include/nfs/export.h: New CROSSMNT distinct from NOHIDE
358 * support/nfs/exports.c: Make CROSSMNT distinct from NOHIDE
359 * utils/exportfs/exportfs.c(dump): ditto
361 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
363 * support/export/hostname.c(get_reliable_hostbyaddr): new function
364 to get host name from address with full checking of authenticity.
365 * support/include/misc.h: declare above function
366 * utils/mountd/auth.c(auth_authenticate_internal): remove all
367 logic for authenticating address.
368 * utils/mountd/auth.c(auth_authenticate): call new
369 get_reliable_hostbyaddr to to hostname lookup before calling _internal.
372 2003-03-30 NeilBrown <neilb@cse.unsw.edu.au>
374 * tools/rpcgen/rpc_main.c(find_cpp): removed
375 * tools/rpcgen/rpc_main.c(open_input): use execvp to find "cpp",
376 then try hard-coded paths.
378 2003-03-26 Chip Salzenberg <chip@pobox.com>
380 * debian/changelog: Version 1.0.3-1.
382 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
384 * utils/mountd/rmtab.c (slink_safe_rename): real_newpath should be
385 "const char*", not "char*".
387 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
389 * configure.in (VERSION): Set to "1.0.3".
390 * nfs-utils.spec: Likewise.
391 * configure: Regenerated.
393 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
395 * support/nfs/cacheio.c: New File - support for read/writing
396 to export cache in /proc/rpc/*/channel
397 * support/nfs/Makefile: compile cacheio.c
398 * support/include/nfslib.h: declare cacheio.c functions
399 * support/nfs/nfsexport.c: export and unexport through
400 /proc/rpc/*/channel if possible, as old syscall interface
401 may not survive into 2.6 on all architectures.
403 2003-02-19 NeilBrown <neilb@cse.unsw.edu.au>
404 Ben Leslie <benno@sesgroup.net>
406 * support/nfs/rpcmisc.c(rpc_init): change test for ignoring
407 "defport" from (__rpcfdtype == 0) to (__rpcpmstart==0). The
408 former would incorectly ignore defport if the application
409 explicitly set __rpcfdtype. The later is sufficient to avoid the
410 special handling in the case where stdin is an internet socket.
412 * utils/mountd/mountd.c(main): Add 'n' to option list in
413 getopt_long as this is a short form of --no-tcp which want being
416 2003-02-12 Chip Salzenberg <chip@pobox.com>
418 * debian/changelog: Version 1.0.2-2.
420 2002-11-27 Chip Salzenberg <chip@pobox.com>
422 * utils/mountd/rmtab.c (slink_safe_rename): Fix off-by-one buffer
423 overflow bug. Reformat per rest of source file.
425 2002-11-19 NeilBrown <neilb@cse.unsw.edu.au>
427 * utils/exportfs/exports.man: Correct notes about whether the wild
428 card characters match a period. They do.
430 2002-10-15 Juan Gomez <juang@us.ibm.com>
432 * utils/mountd/rmtab.c (slink_safe_rename): New. Support
434 (mountlist_add): Call slink_safe_rename instead of rename.
436 2002-10-11 H.J. Lu <hjl@lucon.org>
438 * support/include/exportfs.h (export_errno): New.
440 * support/nfs/exports.c: Include <errno.h>.
442 (getexportent): Set export_errno to EINVAL for bad option.
443 (parseopts): Likewise.
444 Report the location of the default sync/async option.
446 * utils/exportfs/exportfs.c (main): Initialize export_errno to
447 0. Return export_errno.
449 2002-10-11 Juan Gomez <gomez@cs.sjsu.edu>
450 NeilBrown <neilb@cse.unsw.edu.au>
452 utils/statd/statd.c(killer): don't pmap_unset if in notify_only mode
453 utils/statd/statd.c(main): don't pmap_unset if in notify_only mode
455 2002-09-16 Chip Salzenberg <chip@pobox.com>
457 * utils/rquotad/rquota_svc.c (main): Use int for value of getopt.
459 2002-09-15 Chip Salzenberg <chip@pobox.com>
461 * support/nfs/rpcmisc.c (rpc_init): Allow stdin to be a non-INET
462 socket, as occurs when run from sshd.
463 * debian/changelog: Version 1.0.2-1.
465 2002-09-12 H.J. Lu <hjl@lucon.org>
467 * support/nfs/svc_socket.c: Remove HAVE_SVCTCP_SOCKET and
470 2002-09-12 H.J. Lu <hjl@lucon.org>
472 * configure.in: Remove checking svctcp_socket and svcudp_socket.
473 * configure: Regenerated.
475 * support/include/config.h.in (HAVE_SVCTCP_SOCKET): Removed.
476 (HAVE_SVCUDP_SOCKET): Removed.
478 * support/include/nfslib.h: Undo the last change.
480 2002-09-12 H.J. Lu <hjl@lucon.org>
482 * support/include/nfslib.h (svctcp_socket): Protect it with
484 (svcudp_socket): Protect it with HAVE_SVCUDP_SOCKET.
486 2002-09-12 H.J. Lu <hjl@lucon.org>
488 * configure.in (VERSION): Set to "1.0.2".
489 * configure: Regenerated.
490 * nfs-utils.spec: Likewise.
492 2002-09-12 H.J. Lu <hjl@lucon.org>
494 * configure.in: Check svctcp_socket and svcudp_socket.
495 * configure: Regenerated.
497 * support/include/config.h.in (HAVE_SVCTCP_SOCKET): New.
498 (HAVE_SVCUDP_SOCKET): New.
500 * support/include/nfslib.h (svctcp_socket): New.
501 (svcudp_socket): New.
503 * support/nfs/Makefile (OBJS): Add svc_socket.o.
505 * support/nfs/svc_socket.c: New.
507 * support/nfs/rpcmisc.c (rpc_init): Call svctcp_socket and
508 svcudp_socket if port is unspecified.
510 * utils/nfsd/nfsd.c (main): Call getservbyname for port.
512 * utils/rquotad/rquota_svc.c: Include <nfslib.h>.
513 (killer): New. Signal handler to unregister.
514 (main): Use killer. Call svcudp_socket to get the default
517 2002-09-02 Juan Gomez <juang@us.ibm.com>
518 NeilBrown <neilb@cse.unsw.edu.au>
520 Add -N option to statd to run in notify-only mode.
522 * utils/statd/statd.h: uncomment MODE_NOTIFY_ONLY
523 * utils/statd/statd.man: document -N
524 * utils/statd/statd.c: enabled -N, largely exists but needed to be
525 uncommented and completed
527 2002-09-02 Juan Gomez <juang@us.ibm.com>
528 NeilBrown <neilb@cse.unsw.edu.au>
530 statd to have " -P directory" arg to use that directory instead
531 of /var/lib/nfs. This is useful for fail-over clusters.
533 * utils/statd/statd.h: define SM_DIR etc as var, not const.
534 * utils/statd/statd.c: define "-P" option to set SM_*
536 * utils/statd/monitor.c: sprintf to cope with SM_DIR not being
538 * utils/statd/notify.c: ditto.
539 * utils/statd/statd.man: document -P option.
541 2002-08-26 Chip Salzenberg <chip@pobox.com>
543 * utils/nfsd/nfsd.man: Fix typo.
544 * debian/changelog: Version 1.0.1-1.
546 2002-05-29 NeilBrown <neilb@cse.unsw.edu.au>
548 * let parseopts know if /etc/exports was being read or not,
549 and have it only print "no sync or async" warning in that case.
551 2002-05-06 Tom McNeal <trmcneal@attbi.com>
552 NeilBrown <neilb@cse.unsw.edu.au>
554 * utils/nfsstat/nfsstat.c: Handle differing format for
555 /proc/net/rpc/nfsd between pre and post 2.4.0
557 2002-04-09 NeilBrown <neilb@cse.unsw.edu.au>
558 James Pearson <james-p@moving-picture.com>
560 * support/nfs/rmtab.c(fendrmtabent): sync changes to
561 storage before returning, as this is critical state
563 2002-04-08 Sean O'Connell <sean@ee.duke.edu>
564 H.J. Lu <hjl@lucon.org>
566 * etc/redhat/nfs: New.
568 2002-04-08 H.J. Lu <hjl@lucon.org>
570 * etc/redhat/nfs.init: Updated.
572 * nfs-utils.spec.in: Updated.
573 * nfs-utils.spec: Regenerated.
575 * utils/mountd/mountd.c (longopts): Fix a typo.
577 * utils/mountd/mountd.man: Updated.
579 2002-04-07 H.J. Lu <hjl@lucon.org>
581 * etc/redhat/nfslock.init (restart): Just do stop and start.
583 * etc/redhat/nfs.init: Fix a typo.
585 2002-04-07 H.J. Lu <hjl@lucon.org>
587 * configure.in (VERSION): Set to "1.0.1".
588 * configure: Regenerated.
589 * nfs-utils.spec: Likewise.
591 * README: Updated for 1.0.1.
593 2002-04-07 Sean O'Connell <sean@ee.duke.edu>
594 H.J. Lu <hjl@lucon.org>
596 * etc/redhat/nfs.init: Read /etc/sysconfig/nfsd for NFS tuning.
598 2002-02-28 Steven Whitehouse <steve@gw.chygwyn.com>
599 NeilBrown <neilb@cse.unsw.edu.au>
601 Add support for fsid=nn export option so that device
602 numbers don't go in filehandles.
603 * support/export/nfsctl.c(expsetup): if exporting and NFSEXP_FSID
604 is set, pass the fsid in-place of the device number
605 * support/nfs/exports.c: parse and print fsid= option.
606 Also check if efname has been set, and use "command line"
607 instead in error messages.
608 Also, use strtol instead of atoi for anon[ug]id= so that
609 bad numbers cause errors.
611 2002-01-17 Adrian Drzewiecki <drze@MissionCriticalLinux.com>
612 NeilBrown <neilb@cse.unsw.edu.au>
614 * support/nfs/exports.c: remove NFSEXP_ASYNC as a default
615 flag so that "sync" becomes the default.
616 Check that either "sync" or "async" is given as an option
617 and warn if neither are present
618 * utils/exportfs/exports.man: change documentation for "sync"
619 to be documentation for "async".
620 * utils/exportfs/exportfs.man: note that "sync" is the default
624 2002-01-02 Chip Salzenberg <chip@pobox.com>
626 * support/export/nfsctl.c (expsetup): Don't export entries that
627 specify id mappings not supported by the kernel. No extant kernel
628 supports any significant mapping, only 'identity' (i.e. none).
629 When other mappings are supported, this code will need changing.
630 * debian/changelog: Version 1.0-2.
632 2001-12-26 Chip Salzenberg <chip@pobox.com>
634 * nfs-utils.spec (Version): Set to "1.0".
635 * configure.in (VERSION): Likewise.
636 * configure: Regenerated.
638 * debian/changelog: Version 1.0-1.
640 * utils/exportfs/exports.man: Emphasize the need for options to
641 immediately follow client names. Explain that wildcards don't
642 usually work on addresses, but may work when reverse DNS fails.
643 Comment out a leftover TP that was TPing our indentation.
644 * utils/mountd/mountd.man, utils/rquotad/rquotad.man,
645 utils/statd/statd.man: Remove refs to non-existent "hosts_allow(5)".
646 * debian/changelog: Version 0.3.3-6.
648 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
650 * support/export/client.c(client_lookup): If a host has multiple
651 IP addresses, then we must always use the result of a
652 gethostbyname, not that of gethostbyaddr for exporting
654 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
656 * support/export/client.c (client_lookup): use strcasecmp when
658 * support/nfs/export.c (getexportent): add fromkernel arg and use
659 different defaults as kernels prior to 2.4.11 assume different
660 defaults in /proc/fs/nfs/exports
661 * support/include/nfslib.h, support/export/export.c,
662 support/export/xtab.c: support extra "fromkernel" arg for
665 2001-12-13 Chip Salzenberg <chip@pobox.com>
667 * debian/changelog: Version 0.3.3-5.
669 2001-11-26 TAKAI Kousuke <takai@vlsi.kuee.kyoto-u.ac.jp>
671 * support/nfs/xio.c (xskip): Call `xungetc' instead of
672 `ungetc' to keep x_line more properly.
674 2001-11-26 Chip Salzenberg <chip@pobox.com>
676 * utils/showmount/showmount.c (main): Don't assume that strings
677 starting with digits are IP addresses.
678 * utils/nfsd/nfsd.c (main): Close all fds and reopen 0,1,2 on
679 /dev/null before nfssvc(). Use syslog to report nfssvc errors.
680 * support/misc/tcpwrapper.c, utils/mountd/mountd.man,
681 utils/rquotad/rquotad.man, utils/statd/statd.man: Fix comments and
682 man pages: We check host names *and* addresses with tcpwrappers.
683 * debian/changelog: Version 0.3.3-4.
685 2001-11-21 Chip Salzenberg <chip@pobox.com>
687 * support/nfs/clients.c (cfname): Added: current clients file name.
688 (setnfsclntent): Set it.
689 ({get,end}nfsclntent, syntaxerr): Use it.
690 * support/nfs/exports.c (efname): Added: current exports file name.
691 (setnfsexportent): Set it.
692 (endnfsexportent, parseopts, getexport, syntaxerr): Use it.
693 (parseopts): Accept old-style "crossmnt" option, for old xtabs.
694 * debian/changelog: Version 0.3.3-3.
696 2001-10-11 Chip Salzenberg <chip@pobox.com>
698 * utils/mountd/mountd.c (main): Close fds > 2 _before_ RPC init.
699 * debian/changelog: Version 0.3.3-2.
701 2001-10-08 Chip Salzenberg <chip@pobox.com>
703 * utils/mountd/mountd.c (main): When daemonizing, close all fds > 2.
704 * utils/Makefile.in: Remove old Makefile in target 'distclean'.
705 * utils/mountd/mountd.man: Update paths to /var/lib.
706 * debian/*: Version 0.3.3-1, with Debian-specific fixes.
708 2001-10-06 Preston Brown <pbrown@redhat.com>
710 * utils/nfsstat/nfsstat.man: Updated.
712 2001-09-24 H.J. Lu <hjl@lucon.org>
714 * configure.in (VERSION): Set to "0.3.3".
715 * configure: Regenerated.
716 * nfs-utils.spec: Likewise.
718 * README: Updated for 0.3.3.
720 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
722 Arrange that "exportfs -au" never does DNS lookup:
724 * support/export/client.c (client_lookup) : add "canonical"
725 flag which says that the hostname is known to be canonical, so
728 * support/export/export.c (export_create) : add "canonical"
729 flag to be passed down to client_lookup
730 * support/export/export.c (export_lookup) : Likewise
732 * support/export/xtab.c (xtab_read) : pass appropriate
733 "canonical" flag to export_lookup and export_create:
734 set if reading list of filesystems currently exports
737 * support/export/export.c (export_read) : pass 0 as
738 "canonical" flag to export_lookup and export_create
739 * support/export/rmtab.s (rmtab_read) : Likewise
741 * support/include/exportfs.h : redeclare various routines
742 to have "canonical" flag
744 * utils/exportfs/exportfs.c (main) : redo logic for
745 "-au" to read in what is currently exported, but never even
746 look at what "should" be exported.
748 * utils/exportfs/exportfs.c (unexportall) : remove this
749 routine. Functionality is completely included in
752 * utils/exportfs/exportfs.c (exportfs) : set "canonical"
753 flag to zero in calls to export_lookup and export_create.
756 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
757 Anne Milicia <milicia@missioncriticallinux.com>
759 * support/export/client.c (client_lookup) call gethostbyadd
760 to make sure that we have a canonical hostname, even for
762 * utils/exportfs/exportfs.c (exportfs) Likewise
764 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
766 * support/nfs/exports.c (putexportent): \octal quote any spaces
768 * support/nfs/xio.c (xgettok): recognise double-quote and
769 \octal quoting in path names
770 * utils/exportfs/exports.man: document quoting conventions
773 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
775 * utils/mountd/auth.c (auth_authenticate_internal): Reverse
776 change from 2000-08-02: It causes problems if someone exports
777 to both a hostname and IP addresses. nfs-utils must be
778 consistant about the canonical name that it chooses.
780 2001-08-17 Ragnar Kjørstad <nfs@ragnark.vestdata.no>
781 H.J. Lu <hjl@lucon.org>
783 * etc/redhat/nfslock.init (STATDARG): New. Pass it to rpc.statd.
785 * utils/statd/statd.c (longopts): Add "name".
786 (usage): Add "-n/--name".
787 (main): Set MY_NAME with "-n/--name".
789 * utils/statd/state.c (change_state): Set MY_NAME only if it
792 * utils/statd/statd.man: Updated for "-n/--name".
794 2001-07-26 H.J. Lu <hjl@lucon.org>
796 * nfs-utils.spec (Release): Set to 8.
798 2001-07-25 H.J. Lu <hjl@lucon.org>
800 * etc/redhat/nfs.init: Check if rpc.rquotad exists before doing
803 2001-06-27 H.J. Lu <hjl@lucon.org>
805 * etc/redhat/nfs.init: Run rpc.rquotad only if it exists.
807 2001-06-27 H.J. Lu <hjl@lucon.org>
809 * utils/rquotad/rquota_server.c: Don't call statfs () for
810 the block size. Use BLOCK_SIZE instead.
812 2001-06-27 H.J. Lu <hjl@lucon.org>
814 * config.mk.in (CC_FOR_BUILD): Renamed from BUILD_CC.
815 (CFLAGS_FOR_BUILD): New. Don't use @CFLAGS@.
817 * configure.in (enable_nfsv3): Set to yes by default.
818 (--enable-rquotad): Added
819 (AC_PROG_CXX): Removed.
820 (AC_OUTPUT): Add utils/Makefile.
821 (CC_FOR_BUILD): Renamed from BUILD_CC.
822 * configure: Regenerated.
824 * utils/Makefile: Removed.
826 * utils/Makefile.in: New.
828 * nfs-utils.spec.in (rquotad): New. Set to 0 to disable
830 (CC_FOR_BUILD): Renamed from BUILD_CC.
831 * nfs-utils.spec: Regenerated.
833 2001-06-15 Chip Salzenberg <chip@debian.org>
835 * debian/changelog: Version 0.3.2-2.
836 * debian/*.init: Minor fixes.
838 2001-06-07 Lon H. Hohberger <hohberger@missioncriticallinux.com>
840 * etc/nodist/nfs-server: Fixed a bug where the script would
841 disable mounts from NFSv3 clients if NFSv3 is present.
843 2001-06-05 H.J. Lu <hjl@lucon.org>
845 * utils/mountd/mountd.c (longopts): Add "descriptors/o".
846 (main): Support --descriptors/-o to set the limit of the number
847 of open file descriptors.
850 * utils/mountd/mountd.man: Updated for --descriptors/-o.
852 2001-06-04 H.J. Lu <hjl@lucon.org>
854 * nfs-utils.spec (Release): Set to 6.
856 2001-05-28 H.J. Lu <hjl@lucon.org>
858 * utils/lockd/lockd.c (main): chdir to NFS_STATEDIR.
859 * utils/mountd/mountd.c (main): Likewise.
860 * utils/nfsd/nfsd.c (main): Likewise.
861 * utils/rquotad/rquota_svc.c (main): Likewise.
863 2001-05-06 Anne Milicia <milicia@missioncriticallinux.com>
865 * support/export/client.c (client_check): Check IP address
868 2001-05-06 Neil Brown <neilb@cse.unsw.edu.au>
870 * support/export/client.c (client_gettype): Treat `*' as
873 2001-04-22 H.J. Lu <hjl@lucon.org>
875 * nfs-utils.spec.in: Fix a typo.
876 * nfs-utils.spec: Regenerated.
878 2001-04-21 H.J. Lu <hjl@lucon.org>
880 * nfs-utils.spec.in: Fix cross build.
881 * nfs-utils.spec: Regenerated.
884 2001-04-18 H.J. Lu <hjl@lucon.org>
886 * nfs-utils.spec.in: Support cross build.
887 * nfs-utils.spec: Regenerated.
893 * config.mk.in (BUILD_CC): New.
894 (CC): Set to $(BUILD_CC) if BUILD is defined.
897 (RANLIB): Set to @RANLIB@.
899 * configure.in: Check BUILD_CC, RANLIB, AR and LD.
900 * configure: Regenerated.
902 * tools/rpcgen/Makefile (BUILD): Set to true.
904 2001-04-01 Chip Salzenberg <chip@valinux.com>
906 * tools/rpcgen/rpc_svcout.c (write_timeout_func): Remove
907 redundant, and sometimes broken, declaration of svc_fdset;
909 * support/nfs/rpcmisc.c (closedown): Likewise.
911 2001-03-21 H.J. Lu <hjl@lucon.org>
913 * nfs-utils.spec: Regenerated.
916 2001-03-21 Ion Badulescu <ionut@cs.columbia.edu>
918 * utils/statd/statd.c (main): make sure file descriptors 0-2
919 are open to /dev/null.
921 2001-03-21 H.J. Lu <hjl@lucon.org>
923 * support/nfs/rpcmisc.c: Restore the change made on 2001-03-10.
924 * support/nfs/rpcmisc.c: Likewise.
925 * utils/rquotad/rquota_svc.c: Likewise.
926 * utils/rquotad/rquotad.man: Likewise.
927 * utils/statd/Makefile: Likewise.
928 * utils/statd/rmtcall.c: Likewise.
929 * utils/statd/simulate.c: Likewise.
930 * utils/statd/statd.c: Likewise.
931 * utils/statd/statd.man: Likewise.
933 2001-03-11 H.J. Lu <hjl@lucon.org>
935 * configure.in (RELEASE): New. Default to 1, set by
936 --with-release=XXX. Substitute nfs-utils.spec.
937 * nfs-utils.spec.in (Release): Set to @RELEASE@.
938 * configure: Regenerated.
939 * nfs-utils.spec: Likewise.
941 2001-03-11 H.J. Lu <hjl@lucon.org>
943 * utils/rquotad/rquotad.man: Fix a typo.
945 2001-03-11 H.J. Lu <hjl@lucon.org>
947 * support/include/rpcmisc.h: Undo the change made on 2001-03-10.
948 * support/nfs/rpcmisc.c: Likewise.
949 * utils/rquotad/rquota_svc.c: Likewise.
950 * utils/rquotad/rquotad.man: Likewise.
951 * utils/statd/Makefile: Likewise.
952 * utils/statd/rmtcall.c: Likewise.
953 * utils/statd/simulate.c: Likewise.
954 * utils/statd/statd.c: Likewise.
955 * utils/statd/statd.man: Likewise.
957 2001-03-10 H.J. Lu <hjl@lucon.org>
959 * configure.in (VERSION): Set to "0.3.2".
960 * configure: Regenerated.
961 * nfs-utils.spec: Likewise.
963 * README: Updated for 0.3.2.
965 2001-03-10 Tavis Barr <tavis@boole.isetr.columbia.edu>
967 * utils/rquotad/rquotad.man: Updated for -p.
968 * utils/statd/statd.man: Likewise.
970 2001-03-10 Ion Badulescu <ionut@cs.columbia.edu>
972 * support/nfs/rpcmisc.c: export makesock()
974 * support/include/rpcmisc.h (makesock): Declared.
976 * utils/rquotad/rquota_svc.c: added longopts, added support for
977 specifying the port to bind to on the command line.
979 * utils/statd/statd.c: ditto, also specify port used for
980 outgoing connections.
981 (do_regist): Removed.
983 * utils/statd/rmtcall.c (statd_get_socket): Renamed from
984 get_socket. Make it extern.
986 * utils/statd/simulate.c (daemon_simulator): Call rpc_init
987 instead of do_regist.
989 * utils/statd/Makefile (LIBS): link with our own libnfs
991 2001-03-09 H.J. Lu <hjl@lucon.org>
993 * etc/redhat/nfslock.init: Changed chkconfig line to 60 86.
994 * etc/nodist/nfs-client: Likewise.
996 2001-02-26 Chip Salzenberg <chip@valinux.com>
998 * debian/changelog: Version 0.3.1-1.
999 * Mention upstream source and license in copyright file.
1000 * Add build-Depends for debhelper and libwrap0-dev.
1002 2001-02-20 Lon Hohberger <hohberger@missioncriticallinux.com>
1004 * etc/nodist/nfs-server: Changed chkconfig line to 60 20
1005 * etc/nodist/nfs-client: Likewise.
1007 2001-02-18 Lon Hohberger <hohberger@missioncriticallinux.com>
1009 * utils/statd/statd.man: Changed /usr/sbin/rpc.statd to
1012 2001-02-17 Patrick J. LoPresti <patl@curl.com>
1014 * utils/statd/log.c (log_init): Use LOG_DAEMON instead of
1017 2001-02-14 H.J. Lu <hjl@lucon.org>
1019 * utils/statd/rmtcall.c: Include <time.h>.
1020 * utils/statd/svc_run.c: Likewise.
1022 2001-02-14 H.J. Lu <hjl@lucon.org>
1024 * configure.in (VERSION): Set to "0.3.1".
1025 * configure: Regenerated.
1026 * nfs-utils.spec: Likewise.
1028 * README: Updated for 0.3.1.
1030 2001-02-14 H.J. Lu <hjl@lucon.org>
1032 * support/nfs/rpcmisc.c: Include <time.h>.
1034 2001-02-14 Chip Salzenberg <chip@valinux.com>
1036 * debian/control: Change priority of nhfsstone package to 'extra'.
1038 2001-02-12 Chip Salzenberg <chip@valinux.com>
1040 * debian/changelog: Version 0.3-2.
1042 2001-02-02 H.J. Lu <hjl@lucon.org>
1044 * support/include/rpcmisc.h (rpc_init): Remove bufsize.
1046 * support/nfs/rpcmisc.c (makesock): Remove socksz and comment
1047 out SO_SNDBUF/SO_RCVBUF.
1048 (rpc_init): Remove bufsize and remove socksz in calls to
1051 * utils/mountd/mountd.c (main): Remove bufsize in calls to
1054 2001-01-28 Chip Salzenberg <chip@valinux.com>
1056 * debian/changelog: Version 0.3-1.
1058 2001-01-25 H.J. Lu <hjl@lucon.org>
1060 * configure.in (VERSION): Set to "0.3".
1061 * configure: Regenerated.
1062 * nfs-utils.spec: Likewise.
1064 * README: Updated for 0.3.
1066 2001-01-25 H.J. Lu <hjl@lucon.org>
1068 * utils/lockd/lockd.c (main): Ignore errno == EINVAL.
1070 2001-01-20 Chip Salzenberg <chip@valinux.com>
1072 * support/include/xio.h (xgetc): Declare to return int.
1073 * support/nfs/xio.c (xgetc): Return int.
1074 (xgettok, xskip, xskipcomment): Use int for value of xgetc.
1075 * utils/statd/statd.c (main): Use int for value of getopt.
1076 * debian/changelog: Version 0.2.1-5.
1078 2000-12-10 Chip Salzenberg <chip@valinux.com>
1080 * utils/statd/monitor.c (sm_mon_1_svc): Fix buggy check for
1081 program and procedure numbers of kernel lockd's callback. Also,
1082 besides the old (and broken) procedure #24, allow #16 per Trond.
1084 2000-12-03 Chip Salzenberg <chip@valinux.com>
1086 * support/nfs/xio.c (xfopen): Initialize x_line to one, not zero.
1087 * debian/control: Let nhfsstone replace files in nfs-kernel-server.
1088 * debian/changelog: Version 0.2.1-4.
1090 2000-11-27 Tobias Ringstrom <tori@tellus.mine.nu>
1092 * utils/mountd/auth.c (auth_authenticate): Log the bad path
1095 2000-11-24 Neil Brown <neilb@cse.unsw.edu.au>
1097 * support/nfs/exports.c (getexportent): Check for host name
1098 without option, or options without hostname, and print a warning,
1099 as this is most likely a typo.
1101 2000-11-19 Chip Salzenberg <chip@valinux.com>
1103 * debian/control: Add dependency on portmap.
1104 * debian/changelog: Version 0.2.1-3.
1106 2000-11-10 H.J. Lu <hjl@lucon.org>
1108 * nfs-utils.spec.in: Don't use libtool.
1109 Add ChangeLog and COPYING to doc.
1110 * nfs-utils.spec: Rebuild.
1112 2000-11-09 H.J. Lu <hjl@lucon.org>
1114 * etc/redhat/nfs.init (start): Back out the last change.
1116 2000-11-09 H.J. Lu <hjl@lucon.org>
1118 * etc/redhat/nfs.init (start): Pass --no-tcp to mountd if
1119 TCP is not supported by kernel.
1121 * support/nfs/rpcmisc.c (rpc_init): Don't set _rpcfdtype to 0.
1123 * utils/mountd/mountd.c (longopts): Add "-n/--no-tcp".
1124 (main): Set to _rpcfdtype to SOCK_DGRAM for "-n/--no-tcp".
1126 * utils/mountd/mountd.man: Updated for "-n/--no-tcp".
1128 2000-10-24 Lon Hohberger <hohberger@missioncriticallinux.com>
1130 * utils/statd/callback.c: Fix bug preventing callbacks to local lockd.
1131 * utils/statd/rmtcall.c: Add some IP address paranoia when doing
1132 callbacks to local lockd.
1134 2000-10-18 Scott McDermott <mcdermot@questra.com>
1136 * utils/exportfs/exports.man: Updated for CIDR netmask.
1138 2000-10-17 Scott McDermott <mcdermot@questra.com>
1140 * support/export/client.c (client_init): Support CIDR netmask
1143 2000-10-11 H.J. Lu <hjl@lucon.org>
1145 * aclocal.m4 (AC_TCP_WRAPPER): Fix a typo.
1146 * configure: Rebuilt.
1148 2000-10-06 Lon Hohberger <hohberger@missioncriticallinux.com>
1150 * utils/statd/statd.man: Change "/var/lib/nfs/sm/state" to
1151 "/var/lib/nfs/state".
1153 2000-10-05 Lon Hohberger <hohberger@missioncriticallinux.com>
1155 * utils/statd/statd.h (run_mode): New global bitmask of runtime
1156 behaviors: fg/bg, logging, etc.
1157 * utils/statd/statd.c: New command line options: -V -h -? -d .
1158 * utils/statd/statd.man: Update for changes to statd.
1160 * utils/statd/log.h (log_init): Remove parameter of function; use
1161 global variable "name_p" instead.
1162 * utils/statd/log.c: Add support for logging to stderr.
1164 * utils/statd/notlist.c: Partially rewrite notify list handling
1165 functions. Eliminate run-off-end-of-list bug when calling
1166 nlist_insert_timer. Add lots of comments.
1168 2000-09-27 H.J. Lu <hjl@lucon.org>
1170 * README: Updated for RedHat 7.0.
1172 2000-09-27 H.J. Lu <hjl@lucon.org>
1174 * nfs-utils.spec: Rebuild.
1176 2000-09-27 H.J. Lu <hjl@lucon.org>
1178 * README: Updated for 0.2.1.
1180 2000-09-27 H.J. Lu <hjl@lucon.org>
1182 * nfs-utils.spec.in: Updated to use rpm macros and support
1185 2000-09-25 H.J. Lu <hjl@lucon.org>
1187 * configure.in (VERSION): Set to "0.2.1".
1188 * configure: Regenerated.
1189 * nfs-utils.spec: Updated.
1191 2000-09-25 H.J. Lu <hjl@lucon.org>
1193 * utils/mountd/auth.c (auth_authenticate_internal): Make sure a
1194 non-NULL hostent is always returned.
1196 2000-09-11 Ion Badulescu <ionut@cs.columbia.edu>
1198 * etc/redhat/nfslock.init: don't kill lockd processes that do not
1199 have an executable (i.e. kernel threads)
1201 2000-09-01 H.J. Lu <hjl@lucon.org>
1203 * README: Updated for 0.2.
1205 2000-09-01 Jay Weber <jweber@valinux.com>
1207 * etc/redhat/nfs.init: Added ability for rpc.mountd to default to
1208 supporting version 3 of nfs if available, else it will fall back to
1209 version 2 support only.
1211 2000-08-30 H.J. Lu <hjl@lucon.org>
1213 * configure.in (VERSION): Set to "0.2".
1214 * configure: Regenerated.
1215 * nfs-utils.spec: Updated.
1217 2000-08-25 H.J. Lu <hjl@lucon.org>
1219 * support/misc/tcpwrapper.c (logit): Modify the log output.
1221 2000-08-25 Ion Badulescu <ionut@cs.columbia.edu>
1223 * utils/rquotad/rquotad.man, utils/statd/statd.man,
1224 utils/mountd/mountd.man: updated
1226 * utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL)
1227 * utils/rquotad/Makefile: fix comment
1229 * support/misc/tcpwrapper.c (logit): added comment about waiting
1230 for the children after fork()
1232 * utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving
1233 zombies behind (from logit()'s fork)
1234 * utils/rquotad/rquota_svc.c (main): ditto
1235 * utils/statd/statd.c (main): ditto
1237 * utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG
1238 to check_default instead of 0, for prognum
1240 * utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG
1241 to check_default instead of 0, for prognum
1243 * utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if
1244 HAVE_TCP_WRAPPER is defined.
1245 (mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is
1246 defined. Reject an RPC call if check_default () fails.
1248 2000-08-25 H.J. Lu <hjl@lucon.org>
1250 * support/include/tcpwrapper.h: New for the tcp wrapper
1252 * support/misc/Makefile: Likewise.
1253 * support/misc/from_local.c: Likewise.
1254 * support/misc/tcpwrapper.c: Likewise.
1256 * aclocal.m4 (AC_TCP_WRAPPER): New.
1257 * configure.in: Use it. Substitute LIBWRAP.
1258 * configure: Rebuilt.
1260 * config.mk.in (LIBNSL): New.
1261 (LIBWRAP): Likewise.
1263 * support/Makefile (SUBDIRS): Add misc.
1265 * support/lib/Makefile (LIBS): Add libmisc.a.
1267 * utils/rquotad/Makefile (LIBS): Add
1269 -lmisc $(LIBWRAP) $(LIBNSL)
1271 * utils/statd/Makefile (LIBS): Likewise.
1273 * utils/rquotad/rquota_svc.c: Include "tcpwrapper.h" if
1274 HAVE_TCP_WRAPPER is defined.
1275 (rquotaprog_1): Call check_default () if HAVE_TCP_WRAPPER is
1276 defined. Reject an RPC call if check_default () fails.
1278 * utils/statd/statd.c: Include "tcpwrapper.h" if
1279 HAVE_TCP_WRAPPER is defined.
1280 (sm_prog_1_wrapper): New. A wrapper for sm_prog_1. Call
1281 check_default () before calling sm_prog_1 (). Define it as
1282 sm_prog_1_wrapper if HAVE_TCP_WRAPPER is defined.
1284 2000-08-25 Chip Salzenberg <chip@valinux.com>
1286 * debian/*: Complete Debian build support.
1287 * etc/debian/*: Remove.
1289 2000-08-24 Neil Brown <neilb@cse.unsw.edu.au>
1291 * support/export/client.c(client_check): removed the "dot+1" as a
1292 ypdomain argument to innetgr as this is entirely bogus.
1293 It should always be NULL.
1295 2000-08-23 Neil Brown <neilb@cse.unsw.edu.au>
1297 * support/export/xtab.c(xtab_read): introduce new mode for
1298 reading xtab. i.e. a list of exports that might be known to the
1299 kernel, or might not. These are flagged as m_exported == -1
1300 * support/export/xtab.c(xtab_mount_read): call xtab_read with new
1301 value "2" for xtab, meaning don't trust this too much.
1302 * support/include/exportfs.h(struct mexport): changed m_exported
1303 from one bit to an int so that it can hold new value
1304 * utils/exportfs/exportfs.c(exportfs_ipdate): add an export to the
1305 kernel if it is uncertain whether the kernel knows (m_exported == -1)
1306 * utils/mountd/mountd.c(get_rootfh): similarly export to kernel if
1309 * support/nfs/xio.c(xflock): added O_CREAT when getting
1310 a write lock so that missing files aren't fatal.
1312 * etc/debian/nfs-common: new file from "potato"
1313 * etc/debian/nfs-kernel-server: new file from "potato" plus fixes.
1315 2000-08-09 H.J. Lu <hjl@lucon.org>
1317 * etc/redhat/nfs.init: Run /usr/sbin/exportfs first during
1318 startup to ensure all existing clients work fine.
1320 * support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0
1321 to xtab_read () for reading _PATH_XTAB.
1323 2000-08-02 H.J. Lu <hjl@lucon.org>
1325 * utils/mountd/auth.c (auth_authenticate_internal): Try to
1326 avoid the reverse name lookup.
1328 2000-07-04 H.J. Lu <hjl@lucon.org>
1330 * utils/statd/log.c: Include <stdlib.h> for exit ().
1332 * utils/statd/misc.c (xunlink): Add `{' and `}' to quiet the
1335 2000-07-04 H.J. Lu <hjl@lucon.org>
1337 * configure.in (VERSION): Set to "0.1.9.1".
1338 * configure: Regenerated.
1339 * nfs-utils.spec: Updated.
1343 2000-07-04 Neil Brown <neilb@cse.unsw.edu.au>
1345 * support/export/hostname.c (hostent_dup): Handle the NULL
1348 2000-07-03 H.J. Lu <hjl@lucon.org>
1350 * README: Update the util-linux requirement.
1352 2000-07-03 H.J. Lu <hjl@lucon.org>
1354 * configure.in (VERSION): Set to "0.1.9".
1355 * configure: Regenerated.
1356 * nfs-utils.spec: Updated.
1360 2000-07-03 H.J. Lu <hjl@lucon.org>
1362 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
1363 stop to ensure all clients can still access the server
1364 before it is shutdown.
1366 2000-06-30 Jeff Uphoff <juphoff@transmeta.com>
1368 * tools/rpcgen/rpc_svcout.c (write_msg_out): Generate syslog()
1369 calls with format string.
1371 2000-06-28 Chip Salzenberg <chip@valinux.com>
1373 * utils/statd/log.c (log): Call syslog with format string.
1375 2000-06-27 H.J. Lu <hjl@lucon.org>
1377 * utils/statd/statd.c (main): Use sysconf (_SC_OPEN_MAX)
1378 instead of OPEN_MAX.
1380 2000-06-27 H.J. Lu <hjl@lucon.org>
1384 2000-06-27 H.J. Lu <hjl@lucon.org>
1386 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
1387 startup to ensure all existing clients are exported.
1389 * configure.in (VERSION): Set to "0.1.8.2".
1390 * configure: Regenerated.
1391 * nfs-utils.spec: Updated.
1393 2000-06-06 H.J. Lu <hjl@lucon.org>
1395 * configure.in (VERSION): Set to "0.1.8.1".
1396 * configure: Regenerated.
1397 * nfs-utils.spec: Updated.
1399 2000-06-06 H.J. Lu <hjl@lucon.org>
1401 * utils/mountd/mountd.c (mount_dump_1_svc): Cast svc_getcaller
1402 to "struct sockaddr_in *" for glibc 2.2.
1403 (mount_umnt_1_svc): Likewise.
1404 (mount_umntall_1_svc): Likewise.
1405 (mount_export_1_svc): Likewise.
1406 (mount_exportall_1_svc): Likewise.
1407 (mount_pathconf_2_svc): Likewise.
1408 (get_rootfh): Likewise.
1410 2000-06-04 H.J. Lu <hjl@lucon.org>
1412 * etc/redhat/nfs.init: Fix a typo in comment.
1414 2000-05-31 H.J. Lu <hjl@lucon.org>
1416 * configure.in (VERSION): Set to "0.1.8".
1417 * configure: Regenerated.
1418 * nfs-utils.spec: Updated.
1422 2000-05-31 H.J. Lu <hjl@lucon.org>
1424 * configure.in (VERSION): Set to "0.1.7.5".
1425 * configure: Regenerated.
1426 * nfs-utils.spec: Updated.
1428 * support/include/nfslib.h (exportent): Add a new field,
1429 r_count, to count the number of mounts from a client.
1430 (getrmtabent): Take a new argument for position in file.
1431 (putrmtabent): Likewise.
1432 (fgetrmtabent): Likewise.
1433 (fputrmtabent): Likewise.
1434 * support/nfs/rmtab.c (getrmtabent): Handle the new argument
1435 for position in file.
1436 (fgetrmtabent): Likewise.
1437 (putrmtabent): Likewise.
1438 (fputrmtabent): Likewise.
1440 * support/nfs/rmtab.c (fgetrmtabent): Get value for the new
1443 * support/export/rmtab.c (rmtab_read): Pass NULL as the new
1444 argument to getrmtabent (), fgetrmtabent (), putrmtabent ()
1445 and fputrmtabent ().
1446 * utils/mountd/rmtab.c (mountlist_add): Likewise.
1447 (mountlist_del): Likewise.
1448 (mountlist_del_all): Likewise.
1449 (mountlist_list): Likewise.
1451 * utils/mountd/rmtab.c (mountlist_add): Increment "r_count"
1452 for the existing entry and initialize "r_count" to 1.
1453 (mountlist_del): Decrement "r_count".
1455 2000-05-18 H.J. Lu <hjl@lucon.org>
1457 * configure.in (VERSION): Set to "0.1.7.4".
1458 * configure: Regenerated.
1459 * nfs-utils.spec: Updated.
1461 2000-05-18 H.J. Lu <hjl@lucon.org>
1463 * etc/redhat/nfs.init (restart): Just do stop and start.
1465 2000-05-09 Jay Weber <jweber@valinux.com>
1467 * utils/rquotad/hasquota.c: added support for ext3 recognition
1469 * utils/rquotad/mntent.h: Likewise.
1471 2000-05-01 H.J. Lu <hjl@lucon.org>
1473 * configure.in (VERSION): Set to "0.1.7.3".
1474 * configure: Regenerated.
1475 * nfs-utils.spec: Updated.
1477 2000-05-01 H.J. Lu <hjl@lucon.org>
1479 * utils/rquotad/rquota_server.c (getquotainfo): Skip bad
1480 mounting poins in /etc/fstab.
1482 2000-05-01 H.J. Lu <hjl@lucon.org>
1484 * configure.in (VERSION): Set to "0.1.7.2".
1485 * configure: Regenerated.
1486 * nfs-utils.spec: Updated.
1488 2000-05-01 H.J. Lu <hjl@lucon.org>
1490 * utils/rquotad/rquota_server.c (getquotainfo): Call stat ()
1491 to check for the mounting point.
1493 2000-04-29 Chip Salzenberg <chip@valinux.com>
1494 Neil Brown <neilb@cse.unsw.edu.au>
1496 * Really re-use RPC ports.
1497 (Fixes earlier patch. Sorry, Neil.)
1499 2000-04-26 H.J. Lu <hjl@lucon.org>
1501 * configure.in (VERSION): Set to "0.1.7.1".
1502 * configure: Regenerated.
1503 * nfs-utils.spec: Updated.
1505 2000-04-26 H.J. Lu <hjl@lucon.org>
1507 * etc/redhat/nfslock.init: Check if lockd exits before killing
1510 2000-04-25 H.J. Lu <hjl@lucon.org>
1512 * README: Require util-linux-2.10f-mount-rpc.patch for mount.
1514 2000-03-21 Michael Weiser <michael@weiser.saale-net.de>
1516 * support/nfs/exports.c (parsesquash): Correctly set the
1519 Tue Mar 21 11:38:48 EST 2000 NeilBrown <neilb@cse.unsw.edu.au>
1521 * support/include/nfs/nfs.h: Removed knowledge of internals of
1522 kernel filehandles (which can change) and defined nfs_fh_size
1523 which has variable size
1525 * support/nfs/getfh.c: defined getfh_size to use new syscall to
1526 get variable sized file handles, and change getfh{,old} to
1529 * utils/mountd/mountd.c: use nfd_fh_size and call getfh_size for
1532 * tools/Makefile, tools/nlmtest/nlmtest.c
1533 nlmtest.c depended on internel format of file handles, so now
1537 2000-03-12 Chip Salzenberg <chip@valinux.com>
1538 Neil Brown <neilb@cse.unsw.edu.au>
1540 * support/nfs/rpcmisc.c (rpc_init): Share transports.
1542 2000-03-13 H.J. Lu <hjl@lucon.org>
1544 * etc/redhat/nfsd.init: Updated.
1546 * etc/redhat/nfslock.init: Updated.
1548 * nfs-utils.spec.in: Updated.
1550 * configure.in (VERSION): Set to "0.1.7".
1551 * configure: Regenerated.
1552 * nfs-utils.spec: Updated.
1556 Wed Mar 8 09:42:43 2000 Neil Brown <neilb@cse.unsw.edu.au>
1558 * utils/exportfs/exportfs.c (dump): Included printing of
1559 nohide, no_subtree_check, and insecure_locks
1561 2000-02-26 Chip Salzenberg <chip@valinux.com>
1563 * config.mk.in (INSTALLSUID): Strip ("-s").
1564 (INSTALLSCRIPT): Define.
1565 * utils/nhfsstone/Makefile: Use it.
1567 2000-02-26 Chip Salzenberg <chip@valinux.com>
1569 * utils/lockd/lockd.man: Create.
1570 * utils/lockd/Makefile: Install it.
1571 * utils/nhfsstone/nhfs{run,nums,graph}.man: Create.
1572 * utils/nhfsstone/nhfsstone.man: Change suffix from ".1".
1573 * utils/nhfsstone/Makefile: Install the helper scripts and
1575 * utils/exportfs/exports.man: Fix typo.
1577 2000-02-26 Chip Salzenberg <chip@valinux.com>
1579 * support/nfs/xio.c (xungetc): Decrement line number when
1580 character to unget is newline. Make first parameter int, so
1581 it can distinguish EOF from \377.
1582 * support/include/xio.h (xungetc): Adjust prototype.
1584 Fri Feb 4 23:42:23 2000 Neil Brown <neilb@cse.unsw.edu.au>
1586 * support/include/nfs/export.h: added NFSEXP_NOAUTHNLM
1587 * support/nfs/exports.c: added handling for NFSEXP_NOAUTHNLM
1588 * utils/exportfs/exports.man: added documentation for no_auth_nlm.
1590 This is for supporting a new option introduced in 2.3.42
1592 Thu Feb 3 14:55:48 2000 H.J. Lu <hjl@lucon.org>
1594 * COPYING: Added. GPL.
1596 Thu Feb 03 14:40:40 2000 Cristian Gafton <gafton@redhat.com>
1598 * utils/rquotad/rquota_server.c (getquotainfo): Call statfs ()
1599 to get the block size.
1601 Tue Jan 25 11:04:17 2000 H.J. Lu <hjl@lucon.org>
1603 * nfs-utils.spec.in: Update ftp site.
1605 Mon Jan 17 11:48:18 2000 H.J. Lu <hjl@lucon.org>
1607 * README: Update hostnames.
1609 Tue Jan 11 10:06:22 2000 H.J. Lu <hjl@lucon.org>
1611 * configure.in (VERSION): Set to "0.1.6".
1612 * configure: Regenerated.
1613 * nfs-utils.spec: Updated.
1617 Mon Jan 10 14:26:33 2000 H.J. Lu <hjl@lucon.org>
1619 * utils/mountd/auth.c (auth_authenticate_internal): Call
1620 xstrdup for hostname before passing it to gethostbyname.
1622 * utils/mountd/mountd.c (get_exportlist): Use xstrdup instead
1625 Sun Dec 19 09:35:01 1999 H.J. Lu <hjl@lucon.org>
1627 * README: Update the mailing list address.
1629 Sun Dec 19 09:22:28 1999 H.J. Lu <hjl@lucon.org>
1631 * configure.in (VERSION): Set to "0.1.5".
1632 * configure: Regenerated.
1633 * nfs-utils.spec: Updated.
1637 Mon Dec 13 13:40:20 1999 H.J. Lu <hjl@lucon.org>
1639 * utils/rquotad/hasquota.c (hasquota): Malloc one more char
1642 Mon Dec 6 09:42:45 1999 H.J. Lu <hjl@lucon.org>
1644 * configure.in (VERSION): Set to "0.1.4".
1645 * configure: Regenerated.
1646 * nfs-utils.spec: Updated.
1650 Mon Dec 6 09:28:07 1999 H.J. Lu <hjl@lucon.org>
1652 * nfs-utils.spec.in: New file.
1654 * config.mk.in (VERSION): Changed to "nfs-utils @VERSION@".
1656 * configure.in (nfs-utils.spec): Added to AC_OUTPUT.
1658 1999-12-04 Chip Salzenberg <chip@valinux.com>
1660 * config.mk.in: Use $(CC) as set by configure.
1662 1999-12-04 Chip Salzenberg <chip@valinux.com>
1664 * rules.mk: Call $(MAKE) with $(MFLAGS).
1666 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1668 * tools/rpcgen/rpc_main.c (h_output): Generate IXDR_GET_INT32,
1669 IXDR_PUT_INT32, IXDR_GET_U_INT32 and IXDR_PUT_U_INT32.
1671 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1673 * nfs-utils.spec (Version): Set to 0.1.3.
1675 * configure.in (VERSION): Set to "nfs-utils 0.1.3".
1676 * configure: Regenerated.
1680 Mon Nov 29 11:15:47 1999 H.J. Lu <hjl@lucon.org>
1682 * utils/rquotad/rquota_server.c (nfsmount_to_devname): Removed.
1683 (_PATH_DEV_DSK): Likewise.
1684 (getquotainfo): Match the mounting point from /etc/mtab
1685 instead of calling nfsmount_to_devname ().
1687 1999-11-24 Chip Salzenberg <chip@valinux.com>
1689 * utils/statd/monitor.c (sm_mon_1_svc): Accept lockd callbacks
1690 to the new port 24 as well as the historical port 100021.
1692 Tue Nov 23 10:21:34 1999 Neil Brown <neilb@cse.unsw.edu.au>
1694 * etc/redhat/nfsd.init (stop): moved exportfs -ua after
1695 stopping nfsd to stop spurious ESTALE on server shutdown.
1697 Tue Nov 23 10:13:39 1999 Neil Brown <neilb@cse.unsw.edu.au>
1699 * support/nfs/exports.c (parseopts): make copy of opt string
1700 before 'nul'ing out commas so that
1702 # exportfs -o option1,option2 hosta:/fs hostb:/fs
1704 applies both options to both exports.
1706 Thu Oct 28 12:55:42 1999 H.J. Lu <hjl@lucon.org>
1708 * README: Fix a few typos.
1710 * tools/rpcgen/rpc_cout.c (print_header): Use int32_t instead
1712 * tools/rpcgen/rpc_hout.c (pdefine): Likewise.
1713 * tools/rpcgen/rpc_main.c (c_initialize): Likewise.
1714 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1715 (unsigned_dec): Likewise.
1716 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1717 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1719 * tools/rpcgen/rpc_cout.c (emit_single_in_line): Use INT32
1721 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1722 (unsigned_dec): Likewise.
1723 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1724 * tools/rpcgen/rpc_scan.h (tok_kind): Likewise.
1725 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1727 Thu Oct 28 11:27:51 1999 Neil Brown <neilb@cse.unsw.edu.au>
1729 * support/include/nfs/export.h addedd NFSEXP_NOSUBTREECHECK
1730 * support/nfs/exports.c: added {no_,}subtree_check and changed
1732 * utils/exportfs/exports.man: added no_subtree_check and nohide
1733 and removed irrelevant stuff from unfsd.
1734 * support/export/rmtab.c: rmtab_read didn't quite do the right
1735 thing if a pathname from rmtab was a subdirectory of an export-point
1737 Tue Oct 26 17:22:40 1999 H.J. Lu <hjl@lucon.org>
1739 * README: Updated ftp site.
1741 Mon Oct 25 18:12:45 1999 H.J. Lu <hjl@lucon.org>
1743 * nfs-utils.spec (Version): Set to 0.1.2.
1745 * configure.in (VERSION): Set to "nfs-utils 0.1.2".
1746 * configure: Regenerated.
1750 Mon Oct 25 18:11:21 1999 H.J. Lu <hjl@lucon.org>
1752 * utils/mountd/auth.c (auth_error): Add "no_forward_dns".
1753 (auth_authenticate_internal): Check for NULL return on forward
1755 (auth_authenticate): Handle "no_forward_dns".
1757 Thu Oct 21 16:22:06 1999 H.J. Lu <hjl@lucon.org>
1759 * Version 0.1.1 released.
1761 * nfs-utils.spec (Version): Set to 0.1.1.
1763 * configure.in (VERSION): Set to "nfs-utils 0.1.1".
1764 * configure: Regenerated.
1768 Mon Oct 18 17:43:29 1999 H.J. Lu <hjl@lucon.org>
1770 * nfs-utils.spec (Obsoletes): Fixed a typo, change knfsd-client
1772 (Provides): Likewise.
1774 Mon Oct 18 14:56:22 1999 H.J. Lu <hjl@lucon.org>
1776 * Initial version 0.1 released.
1778 * configure.in (VERSION): Set to "nfs-utils 0.1".
1779 * configure: Regenerated.
1781 Mon Oct 18 14:54:57 1999 H.J. Lu <hjl@lucon.org>
1783 * utils/mountd/mountd.c (get_exportlist): Cleanup.
1785 * utils/exportfs/exportfs.c (unexport_all): Unexport from
1786 kernel only if the entry is exported to kernel.
1787 (unexportfs): Likewise.
1789 Wed Sep 08 16:49:32 1999 Neil Brown <neilb@cse.unsw.edu.au>
1791 1/ utils/mountd/rmtab.c::mountlist_list
1793 This routine stats the rmtab file to see if it has changed. It
1794 if has, it cleans up it's old copy of the data. But it still
1795 always re-read the file, thus returning multiple copies of the
1796 data on consecutive calls without intervening changes.
1797 "Showmount -a" didn't show this as it appears to sort/unique the
1798 data, but 'strace showmount -a' showed that the size of the
1799 datagram that it received grew.
1801 I moved the getrmtabent loop inside the mtime test.
1803 2/ utils/exportfs/exportfs.c
1805 Many routines used the m_path field of m_export instead of
1807 According to the comment in nfslib.h, m_path should only
1808 be used when processing a mount request (i.e. in mountd)
1809 where the mountpoint may be a subdirectory of the export point.
1811 I changed all occurances of m_path to e_path
1814 3/ utils/exportfs/exportfs.c:main
1816 extra arguments are not meaningful with -a or -r, but
1817 exportfs accepted them and then ignored the -a/-r, expect that
1818 -r would still unexport everything first.
1820 I generate an error if there are extra args and f_all
1822 4/ utils/exportfs/exportfs.c:main
1823 extract dump out as a special case.
1825 5/ utils/exportfs/exportfs.c
1826 made f_reexport a local variable.
1829 6/ utils/exportfs/exportfs.c:main,exportall
1831 support/export/rmtab.c
1832 only mayexport on newly created entries, don't set xtabent at all
1834 7/ support/include/nfslib.h
1836 add #define _PATH_PROC_EXPORTS to be /proc/fs/nds/exports
1838 8/ support/export/xtab.c
1840 xtab_mount_read loads data from _PATH_PROC_EXPORTS if it exists,
1844 9/ support/export/xtab.c
1846 xtab_mount_read now sets m_exported, and NOT
1847 xtabent and mayexport
1849 removed the append arguement from xtab_write as it was
1852 added is_export flag to xtab_write similar to xtab_read
1853 if is_export, only write entries with m_xtabent or m_addxtab
1854 if !is_export, only write entries with m_exported
1856 10/ support/export/export.c::export_allowed_internal
1858 added test for exp->m_mayexport, as the export tree
1859 may have entries that are no longer allowed to be exported,
1860 and so shouldn't caused deduced exported by rmtab_read
1862 11/ utils/exportfs/exportfs.c::main
1863 error checking of flags.
1865 12/ utils/exportfs/exportfs.c
1867 total rewrite of export and unexport logic.
1869 - build an exportslist of valid exports, based on
1870 current etab file and arguments,
1871 - read rmtab to instantiate relevant wild card entries
1872 - read etab to find out what is currently exported
1873 - synchronise intention with reality
1874 - write out etab and xtab
1877 discard the m_addxtab flag
1878 add m_changed flag so we know what to report in exportfs
1880 14/ utils/mountd/auth.c:auth_authenticate
1882 the value returned by gethostbyaddr was trusted.
1884 It now follows this with a call to gethostbyname
1885 and checks that the address is in the list.
1887 15/ support/export/nfsctl.c::cltsetup,expsetup
1889 force client names to lowercase as kernel is
1892 16/ quietened a few compiler warnings
1894 17/ support/export/client:client_lookup
1896 look for pre-existing client with same name before creating
1899 18/ support/include/exportfs.h
1901 The ordering of the MCL_* enum was:
1902 ANONYMOUS, FQDN, SUBNETWORK, WILDCARD, NETGROUP
1904 I moved ANONYMOUS to the end.
1906 The ordering is significant when an export entry is being searched for to
1907 match a given address. There are two problems with ANONYMOUS being first.
1909 1/ if a directory is exported rw to a couple of hosts and ro to everyone else,
1910 then the ro case will always be found first and the privileged hosts won't get
1912 2/ When mountd gets a request to mount an ANONYMOUSly exported tree, it creates a FQDN
1913 export entry for the specific host, and writes it to xtab.
1914 When another request comes from the same host, the ANONYMOUS entry is found again,
1915 before the new FQDN entry, so it creates another FQDN entry and writes it to xtab
1916 again. If causes bloat in xtab.
1918 Putting ANONYMOUS at the end reflects it's nature as a catch-all
1920 19/ utils/exportfs/exportfs.man
1921 many updates to the man page to reflect changes to the code
1923 -----------------------
1929 - allow exportfs to modify rmtab file
1930 - make sure kernel never gets two clients with same IP address
1931 - possible kernel should reject
1932 - needs to be some way to lookup client in kernel by IP address
1933 - maybe get kernel to do case-insensitive comparisons on client names
1934 - remove unused clients from kernel
1936 - change etab to xtab and xtab to xtab.active
1938 - timestamp and/or statd-stamp in rmtab for removing old entries.
1940 Mon Oct 18 11:48:07 1999 H.J. Lu <hjl@lucon.org>
1942 * linux-nfs: New directory.
1943 * linux-nfs/ChangeLog: Moved from ..
1944 * linux-nfs/INSTALL: Likewise.
1945 * linux-nfs/KNOWNBUGS: Likewise.
1946 * linux-nfs/NEW: Likewise.
1947 * linux-nfs/README: Likewise.
1948 * linux-nfs/THANKS: Likewise.
1949 * linux-nfs/TODO: Likewise.
1951 * Starting from knfsd 1.4.7.