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.
9 * utils/svcgssd_proc.c(get_ids): fix memory leak
10 * utils/svcgssd/svcgssd_proc.c: Rely on count of the number of
11 groups instead of using a special guard value to identify the end
13 * utils/idmapd/idmapd.c: don't allow Default domain and anon-uid
14 or -gid to be specified on command line.
15 * utils/idmapd/idmapd.c: improve error messages
17 2004-11-22 NeilBrown <neilb@cse.unsw.edu.au>
19 * utils/exportfs/nfsd.man: corrected typo in .BR macro usage -
20 reported by Eric Raymond
22 2004-10-19 "J. Bruce Fields" <bfields@fieldses.org>
24 * support/gssapi/* support/rpc/* utils/gssd/* utils/svcgssd/* etc
25 initial support for GSSAPI authentication
27 2004-09-15 Neil Brown <neilb@cse.unsw.edu.au>
29 * utils/statd/monitor.c(sm_unmon_1_svc): is RESTRICTED_STATD, then
30 check IP address and force my_name to 127.0.0.1 to match
31 what happens in sm_mon_1_svc. This avoid spurious "erroneous
33 * utils/statd.monitor.c(sm_unmon_all_1_svc): likewise
35 2004-09-15 "J. Bruce Fields" <bfields@fieldses.org>
37 * Assorted changes to support "gss/*" style authentication
38 * utils/idmapd: new idmapd daemon for nfsv4 username lookup
40 2004-09-06 Trond Myklebust <trond.myklebust@fys.uio.no>
41 Neil Brown <neilb@cse.unsw.edu.au>
43 * utils/mountd/auth.c(auth_authenticate_internal): fix
44 uninitialsed variable problem (causes bad error messages).
46 2004-09-06 Paul Clements <paul.clements@steeleye.com>
47 Neil Brown <neilb@cse.unsw.edu.au>
49 * utils/mountd/mountd.c(main): support --ha-callout (-H) for
50 specifying a callout program
51 * utils/mountd/rmtab.c: Call ha_callout on mount/unmount
52 * utils/statd/monitor.c: Call ha_callout on add/del client
53 * utils/statd/rmtcall.c: as above
54 * utils/statd/statd.c: handle --ha-callout (-H)
55 * utils/statd/svc_run.c: call notify_hosts is we have received a
57 * support/include/ha-callout.h: define ha_callout function
60 2004-08-31 NeilBrown <neilb@cse.unsw.edu.au>
61 * utils/mountd/cache.c(cache_process_req): clear fd after
62 processing so as not to confused libc/sunrpc into thinking
63 it need to do something with that fd.
65 2004-08-31 NeilBrown <neilb@cse.unsw.edu.au>
67 * debian/nfs-kernel-server.init(start,stop) mount the nfsd
68 filesystem, if available, before starting nfs services, and
69 unmount it afterwards.
70 * etc/nodist/nfs-server: ditto
71 * etc/redhat/nfs.init: likewise
72 * etc/redhat/nfs: add "MOUNT_NFSD" flag to control above.
74 2004-06-08 NeilBrown <neilb@cse.unsw.edu.au>
76 * utils/exportfs/exportfs.c: Don't rmtab_read if new_cache, it
78 * support/nfs/cacheio.c(cache_flush): Change order in which caches
79 are flushed so that dependancies don't keep things in the cache
82 2004-03-18 Chip Salzenberg <chip@pobox.com>
84 * debian/changelog: Version 1.0.6-2.
86 2004-02-24 NeilBrown <neilb@cse.unsw.edu.au>
87 from "J. Bruce Fields" <bfields@fieldses.org>
89 * utils/mountd/cache.c: call auth_reload to make sure auth data is
90 current before responding to kernel upcall.
92 2004-02-24 NeilBrown <neilb@cse.unsw.edu.au>
93 Based on patch from Greg Banks <gnb@melbourne.sgi.com>
95 * utils/exportfs/exports.man: Document fsid= option.
97 2003-09-15 NeilBrown <neilb@cse.unsw.edu.au>
101 * rules.mk: Add dep: rule when no OBJS, so "make dep" works in
102 support/include, and depend in "predep"
103 * support/export/Makefile, tools/rpcgen/Makefile,
104 utils/statd/Makefile: add "predep" rule so that "make dep" works.
105 * Makefile: allow a simple "make" to run ./configure and "make dep"
107 * configure.in, nfs-utils.spec: Update version to 1.0.6
110 2003-09-12 Chip Salzenberg <chip@pobox.com>
112 * debian/changelog: Version 1.0.6-1.
114 2003-09-12 NeilBrown <neilb@cse.unsw.edu.au>
116 * utils/mountd/mountd.c(main): Impose FD_SETSIZE as an upper limit
118 * utils/statd/statd.c(main): Ditto.
120 michael <michael@newdream.net> discovered that svc_setreqsize
121 in glibc can segfault if RLIMIT_NOFILE is bigger than
122 FD_SETSIZE, so a simple solution is to impose a hard limit.
124 2003-09-09 Chip Salzenberg <chip@pobox.com>
126 * debian/changelog: Version 1.0.5-3.
127 * support/export/hostname.c (get_reliable_hostbyaddr): Fix crash
128 on invalid reverse DNS.
129 * utils/showmount/showmount.c (main): Fix inet_ntoa() parameter.
130 * tools/rpcgen/rpc_cout.c (print_header): Remove unused vars.
131 * tools/rpcgen/rpc_parse.c (def_union): Likewise.
133 2003-08-22 Chip Salzenberg <chip@pobox.com>
135 * utils/statd/{log.h,log.c}: Rename log() to note() and L_* to
136 N_*, to avoid conflict with ISO C built-in log() function.
137 * utils/statd/*.c: Use note().
139 2003-08-20 Chip Salzenberg <chip@pobox.com>
141 * debian/changelog: Version 1.0.5-2.
143 2003-08-11 NeilBrown <neilb@cse.unsw.edu.au>
145 * utils/mountd/cache.c(cache_get_filehandle): close the filehandle
148 2003-08-04 NeilBrown <neilb@cse.unsw.edu.au>
150 * support/include/nfs/export.h, support/nfs/exports.c,
151 utils/exportfs/exports.c, utils/mountd/mountd.c: change
152 NFSEXP_CROSSMNT to NFSEXP_CROSSMOUNT to avoid confusion with older
153 meaning. Also remove meaningless
154 NFSEXP_{UIDMAP,KERBEROS,SUNSECURE}
156 2003-08-04 NeilBrown <neilb@cse.unsw.edu.au>
158 * support/export/xtab.c, support/include/nfslib.h,
159 support/nfs/cacheio.c, support/nfs/nfssvc.c,
160 utils/exportfs/exportfs.c, utils/exportfs/exportfs.man,
161 utils/exportfs/nfsd.man, utils/mountd/cache.c: support
162 /proc/fs/nfsd/* as a perferred alternate to /proc/fs/nfs/*
163 (nfs-utils-1.0.5-post2)
165 2003-08-04 NeilBrown <neilb@cse.unsw.edu.au>
167 * support/nfs/nfsexport.c: open channel file O_WRONLY when
169 * utils/mountd/cache.c: maintain mountlist when new_cache is
170 active. Also use O_WRONLY for channel files.
171 * utils/mountd/mountd.h: mountlist_{del,add} now take a host name
172 rather than an nfs_export.
173 * utils/mountd/rmtab.c: ditto.
174 (nfs-utils-1.5.0-post1)
176 2003-07-24 Chip Salzenberg <chip@pobox.com>
178 * support/nfs/xlog.c (xlog): Revise buffer-overflow fix to
179 use Debian security team's cleaner approach.
180 * debian/changelog: Version 1.0.5-1.
181 * debian/nfs-kernel-server.init: Cosmetic changes.
183 2003-07-18 NeilBrown <neilb@cse.unsw.edu.au>
186 1.0.4 was a bit of a brown-paper-bag-release because of the extra
187 'free' in auth.c. So I'm releasing this just a few days later.
189 * support/nfs/cacheio.c(cache_flush): Correct test for 'open
191 * utils/exportfs/exportfs.c(main): If "-f" given as lone option,
192 check if new_cache is enabled, error if not, flush and exit if it
194 * utils/exportfs/exportfs.man: Explain -f option and explain the
195 two different modes that exportfs can work in.
196 * utils/mountd/mountd.c: Do not change RLIMIT_NOFILE if the -o
198 * utils/mountd/mountd.man: Record the change if default behaviour
200 * configure.in, nfs-utils.spec: update version to 1.0.5 and
203 2003-07-15 NeilBrown <neilb@cse.unsw.edu.au>
205 * utils/mountd/mountd.c(main): getopt string fix for 'o'
206 * utils/mountd/auth.c(auth_authenticate): remove extra 'free'
207 * utils/exportfs/exportfs.c(main): make 'exportfs -f' just flush
209 * support/include/nfs/export.h: Reserve a bit for possible ACL
212 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
214 * utils/exportfs/nfsd.man: new man page for nfsd filesystem. Also
215 assorted changed to cope with section 7 of the manual.
216 * configure.in, nfs-utils.spec: Update version to 1.0.4
219 This is a 'pre-release' for 1.1.0 Hopefully 1.1.0 will be the
220 baseline for 2.6 and 2.8. I.e. it should continue to work right
221 through the 2.8 (or 3.0) kernel series. Previous releases wont.
223 2003-07-04 NeilBrown <neilb@cse.unsw.edu.au>
224 Steve Dickson <SteveD@redhat.com>
227 * utils/statd/statd.c: create a pidfile with pid of statd, and
228 truncate it when statd exists.
229 * utils/statd/statd.c: drop privs by setuid to owner of SM_DIR,
230 and warn if this is root.
231 * utils/statd/statd.c: when statd forks, connect child to parent
232 with a pipe, and send a byte down the pipe once the child is
234 * Makefile: create and chown sm, sm.bak, state when "make install"
235 * configure.in: add --with-statduser= option which defaults to
236 "rpcuser" or "nobody"
237 * config.mk.in: pass "statduser" through to Makefile
239 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
241 * support/include/nfs/nfs.h: Make sure correct __kernel_dev_t is
242 used as the size was changed somewhere in 2.5.60-2.5.70. Without
243 this nfs-utils compiles against 2.6 headers will not work on a
246 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
248 * support/nfs/nfssvc.c(nfssvc): If /proc/fs/nfs/threads exists,
249 set number of threads by writing to there. This means it will
250 still work when the syscall interface goes away in 2.7.
252 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
253 fumihiko kakuma <kakmy@mvh.biglobe.ne.jp>
255 * utils/exportfs/exportfs.c(unexportfs): improve host comparison
256 so as to only export the wildcard exports that were asked for.
257 * support/export/export.c(export_allowed): changed to return the
258 nfs_export rather than a "struct exportent", as m_changed is
260 * support/export/rmtab.c(rmtab_read): modified to deal with
261 interface change for export_allowed(), and enhanced to preserve
262 m_changed flag when a wild-card export causes the creation of
263 a non-wildcard export.
265 2003-07-02 NeilBrown <neilb@cse.unsw.edu.au>
266 Steve Dickson <SteveD@redhat.com>
268 * utils/mountd/mountd.man: Add valid kinds of debugging.
269 * utils/mountd/mountd.c(main): ignore SIGPIPE
270 * utils/nfsstat/nfsstat.c: fine-tune printing of warning so
271 we don't get warnings about unavailable stats that weren't asked
274 2003-06-24 NeilBrown <neilb@cse.unsw.edu.au>
276 * support/nfs/nfsexport.c(exp_unexp): When unexporting filesystems
277 via /rpc/net/rpc/nfsd*/channel, set the expiry date to 1, not
278 'forever', so things disappear out of the cache rather than just
281 2003-06-16 "J. Bruce Fields" <bfields@fieldses.org>
283 * utils/mountd/cache.c(nfsd_fh): don't export the export_ent
286 2003-06-16 NeilBrown <neilb@cse.unsw.edu.au>
288 * debian/nfs-kernel-server.init,etc/nodist/nfs-server,
289 etc/redhat/nfs.init: when checking if V3 is supported, make sure
290 nfs server 'knows' about 127.0.0.1 first.
292 2003-06-10 Chip Salzenberg <chip@pobox.com>
294 * support/nfs/xlog.c (xlog): Fix off-by-one buffer overflow bug.
295 * debian/changelog: Version 1.0.3-2.
297 2003-05-30 Michael Griffith <grif@michaelgriffith.com>
298 NeilBrown <neilb@cse.unsw.edu.au>
300 utils/nfsstat/nfsstat.c(print_callstats): use unsigned
301 long long to avoid overflow when printing stats.
303 2003-05-30 NeilBrown <neilb@cse.unsw.edu.au>
305 * support/export/export.c, support/include/nfslib.h,
306 support/nfs/export.c, utils/exportfs/exportfs.c,
307 utils/mountd/mountd.c: new export option "mountpoint"
308 If no path is given, then the export point must be a
309 mount point, or it won't be exported. If a path is
310 given (e.g. mountpoint=/path) then that path must be
311 a mountpoint or the exportpoint won't be exported.
312 * utils/exportfs/exportfs.man: document mountpoint option.
313 * support/misc/mountpoint.c: New file with is_mountpoint()
314 to determine if something is a mountpoint.
316 2003-05-23 NeilBrown <neilb@cse.unsw.edu.au>
318 * utils/mountd/cache.c(cache_get_filehandle): take a separate path
319 argument as we might not be getting the filehandle for the
321 * utils/mountd/mountd.c(get_rootfh): pass real path when calling
322 cache_get_filehandle.
323 * utils/mountd/mountd.c(get_rootfh): check export point and
324 requested directory are on the same filesystem, and complain if
327 2003-05-22 NeilBrown <neilb@cse.unsw.edu.au>
329 * utils/mountd/auth.c(auth_authenticate_internal): make sure
330 portnumber is still checked when using new cache lookup.
332 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
334 * utils/exportfs/exportfs.c: Use check_new_cache and cache_flush
335 Don't actually talk to kernel when new cache is in effect, except
337 * utils/exportfs/exportfs.c: add -f option to fully flush cache.
338 * support/export/xtab.c: Only rename new xtab into place if it has
339 changed, thus preserving modify date for exportfs to use when
341 * support/nfs/cacheio.c: Add cache_flush
342 * support/export/xtab.c: Only rename new xtab into place if it has
343 changed, thus preserving modify date for exportfs to use when
346 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
348 * support/export/client.c: Add client_compose, client_member to
349 handle new composite client names
350 * support/include/exportfs.h: Declare above functions.
351 * utils/mountd/auth.c: use client_compose to determine calling
352 client if new cache is being used.
353 * utils/mountd/auth.c: call cache_export to export a filesystem if
354 new_cache, check if new cache is used, and call my_svc_run instead
356 * utils/mountd/svc_run.c: new file defining my_svc_run
357 * utils/mountd/cache.c: new file for handling cache upcalls.
358 * support/nfs/cacheio.c(check_new_cache): new function to check if
359 new cache should be used.
362 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
364 * support/include/nfs/export.h: New CROSSMNT distinct from NOHIDE
365 * support/nfs/exports.c: Make CROSSMNT distinct from NOHIDE
366 * utils/exportfs/exportfs.c(dump): ditto
368 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
370 * support/export/hostname.c(get_reliable_hostbyaddr): new function
371 to get host name from address with full checking of authenticity.
372 * support/include/misc.h: declare above function
373 * utils/mountd/auth.c(auth_authenticate_internal): remove all
374 logic for authenticating address.
375 * utils/mountd/auth.c(auth_authenticate): call new
376 get_reliable_hostbyaddr to to hostname lookup before calling _internal.
379 2003-03-30 NeilBrown <neilb@cse.unsw.edu.au>
381 * tools/rpcgen/rpc_main.c(find_cpp): removed
382 * tools/rpcgen/rpc_main.c(open_input): use execvp to find "cpp",
383 then try hard-coded paths.
385 2003-03-26 Chip Salzenberg <chip@pobox.com>
387 * debian/changelog: Version 1.0.3-1.
389 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
391 * utils/mountd/rmtab.c (slink_safe_rename): real_newpath should be
392 "const char*", not "char*".
394 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
396 * configure.in (VERSION): Set to "1.0.3".
397 * nfs-utils.spec: Likewise.
398 * configure: Regenerated.
400 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
402 * support/nfs/cacheio.c: New File - support for read/writing
403 to export cache in /proc/rpc/*/channel
404 * support/nfs/Makefile: compile cacheio.c
405 * support/include/nfslib.h: declare cacheio.c functions
406 * support/nfs/nfsexport.c: export and unexport through
407 /proc/rpc/*/channel if possible, as old syscall interface
408 may not survive into 2.6 on all architectures.
410 2003-02-19 NeilBrown <neilb@cse.unsw.edu.au>
411 Ben Leslie <benno@sesgroup.net>
413 * support/nfs/rpcmisc.c(rpc_init): change test for ignoring
414 "defport" from (__rpcfdtype == 0) to (__rpcpmstart==0). The
415 former would incorectly ignore defport if the application
416 explicitly set __rpcfdtype. The later is sufficient to avoid the
417 special handling in the case where stdin is an internet socket.
419 * utils/mountd/mountd.c(main): Add 'n' to option list in
420 getopt_long as this is a short form of --no-tcp which want being
423 2003-02-12 Chip Salzenberg <chip@pobox.com>
425 * debian/changelog: Version 1.0.2-2.
427 2002-11-27 Chip Salzenberg <chip@pobox.com>
429 * utils/mountd/rmtab.c (slink_safe_rename): Fix off-by-one buffer
430 overflow bug. Reformat per rest of source file.
432 2002-11-19 NeilBrown <neilb@cse.unsw.edu.au>
434 * utils/exportfs/exports.man: Correct notes about whether the wild
435 card characters match a period. They do.
437 2002-10-15 Juan Gomez <juang@us.ibm.com>
439 * utils/mountd/rmtab.c (slink_safe_rename): New. Support
441 (mountlist_add): Call slink_safe_rename instead of rename.
443 2002-10-11 H.J. Lu <hjl@lucon.org>
445 * support/include/exportfs.h (export_errno): New.
447 * support/nfs/exports.c: Include <errno.h>.
449 (getexportent): Set export_errno to EINVAL for bad option.
450 (parseopts): Likewise.
451 Report the location of the default sync/async option.
453 * utils/exportfs/exportfs.c (main): Initialize export_errno to
454 0. Return export_errno.
456 2002-10-11 Juan Gomez <gomez@cs.sjsu.edu>
457 NeilBrown <neilb@cse.unsw.edu.au>
459 utils/statd/statd.c(killer): don't pmap_unset if in notify_only mode
460 utils/statd/statd.c(main): don't pmap_unset if in notify_only mode
462 2002-09-16 Chip Salzenberg <chip@pobox.com>
464 * utils/rquotad/rquota_svc.c (main): Use int for value of getopt.
466 2002-09-15 Chip Salzenberg <chip@pobox.com>
468 * support/nfs/rpcmisc.c (rpc_init): Allow stdin to be a non-INET
469 socket, as occurs when run from sshd.
470 * debian/changelog: Version 1.0.2-1.
472 2002-09-12 H.J. Lu <hjl@lucon.org>
474 * support/nfs/svc_socket.c: Remove HAVE_SVCTCP_SOCKET and
477 2002-09-12 H.J. Lu <hjl@lucon.org>
479 * configure.in: Remove checking svctcp_socket and svcudp_socket.
480 * configure: Regenerated.
482 * support/include/config.h.in (HAVE_SVCTCP_SOCKET): Removed.
483 (HAVE_SVCUDP_SOCKET): Removed.
485 * support/include/nfslib.h: Undo the last change.
487 2002-09-12 H.J. Lu <hjl@lucon.org>
489 * support/include/nfslib.h (svctcp_socket): Protect it with
491 (svcudp_socket): Protect it with HAVE_SVCUDP_SOCKET.
493 2002-09-12 H.J. Lu <hjl@lucon.org>
495 * configure.in (VERSION): Set to "1.0.2".
496 * configure: Regenerated.
497 * nfs-utils.spec: Likewise.
499 2002-09-12 H.J. Lu <hjl@lucon.org>
501 * configure.in: Check svctcp_socket and svcudp_socket.
502 * configure: Regenerated.
504 * support/include/config.h.in (HAVE_SVCTCP_SOCKET): New.
505 (HAVE_SVCUDP_SOCKET): New.
507 * support/include/nfslib.h (svctcp_socket): New.
508 (svcudp_socket): New.
510 * support/nfs/Makefile (OBJS): Add svc_socket.o.
512 * support/nfs/svc_socket.c: New.
514 * support/nfs/rpcmisc.c (rpc_init): Call svctcp_socket and
515 svcudp_socket if port is unspecified.
517 * utils/nfsd/nfsd.c (main): Call getservbyname for port.
519 * utils/rquotad/rquota_svc.c: Include <nfslib.h>.
520 (killer): New. Signal handler to unregister.
521 (main): Use killer. Call svcudp_socket to get the default
524 2002-09-02 Juan Gomez <juang@us.ibm.com>
525 NeilBrown <neilb@cse.unsw.edu.au>
527 Add -N option to statd to run in notify-only mode.
529 * utils/statd/statd.h: uncomment MODE_NOTIFY_ONLY
530 * utils/statd/statd.man: document -N
531 * utils/statd/statd.c: enabled -N, largely exists but needed to be
532 uncommented and completed
534 2002-09-02 Juan Gomez <juang@us.ibm.com>
535 NeilBrown <neilb@cse.unsw.edu.au>
537 statd to have " -P directory" arg to use that directory instead
538 of /var/lib/nfs. This is useful for fail-over clusters.
540 * utils/statd/statd.h: define SM_DIR etc as var, not const.
541 * utils/statd/statd.c: define "-P" option to set SM_*
543 * utils/statd/monitor.c: sprintf to cope with SM_DIR not being
545 * utils/statd/notify.c: ditto.
546 * utils/statd/statd.man: document -P option.
548 2002-08-26 Chip Salzenberg <chip@pobox.com>
550 * utils/nfsd/nfsd.man: Fix typo.
551 * debian/changelog: Version 1.0.1-1.
553 2002-05-29 NeilBrown <neilb@cse.unsw.edu.au>
555 * let parseopts know if /etc/exports was being read or not,
556 and have it only print "no sync or async" warning in that case.
558 2002-05-06 Tom McNeal <trmcneal@attbi.com>
559 NeilBrown <neilb@cse.unsw.edu.au>
561 * utils/nfsstat/nfsstat.c: Handle differing format for
562 /proc/net/rpc/nfsd between pre and post 2.4.0
564 2002-04-09 NeilBrown <neilb@cse.unsw.edu.au>
565 James Pearson <james-p@moving-picture.com>
567 * support/nfs/rmtab.c(fendrmtabent): sync changes to
568 storage before returning, as this is critical state
570 2002-04-08 Sean O'Connell <sean@ee.duke.edu>
571 H.J. Lu <hjl@lucon.org>
573 * etc/redhat/nfs: New.
575 2002-04-08 H.J. Lu <hjl@lucon.org>
577 * etc/redhat/nfs.init: Updated.
579 * nfs-utils.spec.in: Updated.
580 * nfs-utils.spec: Regenerated.
582 * utils/mountd/mountd.c (longopts): Fix a typo.
584 * utils/mountd/mountd.man: Updated.
586 2002-04-07 H.J. Lu <hjl@lucon.org>
588 * etc/redhat/nfslock.init (restart): Just do stop and start.
590 * etc/redhat/nfs.init: Fix a typo.
592 2002-04-07 H.J. Lu <hjl@lucon.org>
594 * configure.in (VERSION): Set to "1.0.1".
595 * configure: Regenerated.
596 * nfs-utils.spec: Likewise.
598 * README: Updated for 1.0.1.
600 2002-04-07 Sean O'Connell <sean@ee.duke.edu>
601 H.J. Lu <hjl@lucon.org>
603 * etc/redhat/nfs.init: Read /etc/sysconfig/nfsd for NFS tuning.
605 2002-02-28 Steven Whitehouse <steve@gw.chygwyn.com>
606 NeilBrown <neilb@cse.unsw.edu.au>
608 Add support for fsid=nn export option so that device
609 numbers don't go in filehandles.
610 * support/export/nfsctl.c(expsetup): if exporting and NFSEXP_FSID
611 is set, pass the fsid in-place of the device number
612 * support/nfs/exports.c: parse and print fsid= option.
613 Also check if efname has been set, and use "command line"
614 instead in error messages.
615 Also, use strtol instead of atoi for anon[ug]id= so that
616 bad numbers cause errors.
618 2002-01-17 Adrian Drzewiecki <drze@MissionCriticalLinux.com>
619 NeilBrown <neilb@cse.unsw.edu.au>
621 * support/nfs/exports.c: remove NFSEXP_ASYNC as a default
622 flag so that "sync" becomes the default.
623 Check that either "sync" or "async" is given as an option
624 and warn if neither are present
625 * utils/exportfs/exports.man: change documentation for "sync"
626 to be documentation for "async".
627 * utils/exportfs/exportfs.man: note that "sync" is the default
631 2002-01-02 Chip Salzenberg <chip@pobox.com>
633 * support/export/nfsctl.c (expsetup): Don't export entries that
634 specify id mappings not supported by the kernel. No extant kernel
635 supports any significant mapping, only 'identity' (i.e. none).
636 When other mappings are supported, this code will need changing.
637 * debian/changelog: Version 1.0-2.
639 2001-12-26 Chip Salzenberg <chip@pobox.com>
641 * nfs-utils.spec (Version): Set to "1.0".
642 * configure.in (VERSION): Likewise.
643 * configure: Regenerated.
645 * debian/changelog: Version 1.0-1.
647 * utils/exportfs/exports.man: Emphasize the need for options to
648 immediately follow client names. Explain that wildcards don't
649 usually work on addresses, but may work when reverse DNS fails.
650 Comment out a leftover TP that was TPing our indentation.
651 * utils/mountd/mountd.man, utils/rquotad/rquotad.man,
652 utils/statd/statd.man: Remove refs to non-existent "hosts_allow(5)".
653 * debian/changelog: Version 0.3.3-6.
655 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
657 * support/export/client.c(client_lookup): If a host has multiple
658 IP addresses, then we must always use the result of a
659 gethostbyname, not that of gethostbyaddr for exporting
661 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
663 * support/export/client.c (client_lookup): use strcasecmp when
665 * support/nfs/export.c (getexportent): add fromkernel arg and use
666 different defaults as kernels prior to 2.4.11 assume different
667 defaults in /proc/fs/nfs/exports
668 * support/include/nfslib.h, support/export/export.c,
669 support/export/xtab.c: support extra "fromkernel" arg for
672 2001-12-13 Chip Salzenberg <chip@pobox.com>
674 * debian/changelog: Version 0.3.3-5.
676 2001-11-26 TAKAI Kousuke <takai@vlsi.kuee.kyoto-u.ac.jp>
678 * support/nfs/xio.c (xskip): Call `xungetc' instead of
679 `ungetc' to keep x_line more properly.
681 2001-11-26 Chip Salzenberg <chip@pobox.com>
683 * utils/showmount/showmount.c (main): Don't assume that strings
684 starting with digits are IP addresses.
685 * utils/nfsd/nfsd.c (main): Close all fds and reopen 0,1,2 on
686 /dev/null before nfssvc(). Use syslog to report nfssvc errors.
687 * support/misc/tcpwrapper.c, utils/mountd/mountd.man,
688 utils/rquotad/rquotad.man, utils/statd/statd.man: Fix comments and
689 man pages: We check host names *and* addresses with tcpwrappers.
690 * debian/changelog: Version 0.3.3-4.
692 2001-11-21 Chip Salzenberg <chip@pobox.com>
694 * support/nfs/clients.c (cfname): Added: current clients file name.
695 (setnfsclntent): Set it.
696 ({get,end}nfsclntent, syntaxerr): Use it.
697 * support/nfs/exports.c (efname): Added: current exports file name.
698 (setnfsexportent): Set it.
699 (endnfsexportent, parseopts, getexport, syntaxerr): Use it.
700 (parseopts): Accept old-style "crossmnt" option, for old xtabs.
701 * debian/changelog: Version 0.3.3-3.
703 2001-10-11 Chip Salzenberg <chip@pobox.com>
705 * utils/mountd/mountd.c (main): Close fds > 2 _before_ RPC init.
706 * debian/changelog: Version 0.3.3-2.
708 2001-10-08 Chip Salzenberg <chip@pobox.com>
710 * utils/mountd/mountd.c (main): When daemonizing, close all fds > 2.
711 * utils/Makefile.in: Remove old Makefile in target 'distclean'.
712 * utils/mountd/mountd.man: Update paths to /var/lib.
713 * debian/*: Version 0.3.3-1, with Debian-specific fixes.
715 2001-10-06 Preston Brown <pbrown@redhat.com>
717 * utils/nfsstat/nfsstat.man: Updated.
719 2001-09-24 H.J. Lu <hjl@lucon.org>
721 * configure.in (VERSION): Set to "0.3.3".
722 * configure: Regenerated.
723 * nfs-utils.spec: Likewise.
725 * README: Updated for 0.3.3.
727 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
729 Arrange that "exportfs -au" never does DNS lookup:
731 * support/export/client.c (client_lookup) : add "canonical"
732 flag which says that the hostname is known to be canonical, so
735 * support/export/export.c (export_create) : add "canonical"
736 flag to be passed down to client_lookup
737 * support/export/export.c (export_lookup) : Likewise
739 * support/export/xtab.c (xtab_read) : pass appropriate
740 "canonical" flag to export_lookup and export_create:
741 set if reading list of filesystems currently exports
744 * support/export/export.c (export_read) : pass 0 as
745 "canonical" flag to export_lookup and export_create
746 * support/export/rmtab.s (rmtab_read) : Likewise
748 * support/include/exportfs.h : redeclare various routines
749 to have "canonical" flag
751 * utils/exportfs/exportfs.c (main) : redo logic for
752 "-au" to read in what is currently exported, but never even
753 look at what "should" be exported.
755 * utils/exportfs/exportfs.c (unexportall) : remove this
756 routine. Functionality is completely included in
759 * utils/exportfs/exportfs.c (exportfs) : set "canonical"
760 flag to zero in calls to export_lookup and export_create.
763 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
764 Anne Milicia <milicia@missioncriticallinux.com>
766 * support/export/client.c (client_lookup) call gethostbyadd
767 to make sure that we have a canonical hostname, even for
769 * utils/exportfs/exportfs.c (exportfs) Likewise
771 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
773 * support/nfs/exports.c (putexportent): \octal quote any spaces
775 * support/nfs/xio.c (xgettok): recognise double-quote and
776 \octal quoting in path names
777 * utils/exportfs/exports.man: document quoting conventions
780 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
782 * utils/mountd/auth.c (auth_authenticate_internal): Reverse
783 change from 2000-08-02: It causes problems if someone exports
784 to both a hostname and IP addresses. nfs-utils must be
785 consistant about the canonical name that it chooses.
787 2001-08-17 Ragnar Kjørstad <nfs@ragnark.vestdata.no>
788 H.J. Lu <hjl@lucon.org>
790 * etc/redhat/nfslock.init (STATDARG): New. Pass it to rpc.statd.
792 * utils/statd/statd.c (longopts): Add "name".
793 (usage): Add "-n/--name".
794 (main): Set MY_NAME with "-n/--name".
796 * utils/statd/state.c (change_state): Set MY_NAME only if it
799 * utils/statd/statd.man: Updated for "-n/--name".
801 2001-07-26 H.J. Lu <hjl@lucon.org>
803 * nfs-utils.spec (Release): Set to 8.
805 2001-07-25 H.J. Lu <hjl@lucon.org>
807 * etc/redhat/nfs.init: Check if rpc.rquotad exists before doing
810 2001-06-27 H.J. Lu <hjl@lucon.org>
812 * etc/redhat/nfs.init: Run rpc.rquotad only if it exists.
814 2001-06-27 H.J. Lu <hjl@lucon.org>
816 * utils/rquotad/rquota_server.c: Don't call statfs () for
817 the block size. Use BLOCK_SIZE instead.
819 2001-06-27 H.J. Lu <hjl@lucon.org>
821 * config.mk.in (CC_FOR_BUILD): Renamed from BUILD_CC.
822 (CFLAGS_FOR_BUILD): New. Don't use @CFLAGS@.
824 * configure.in (enable_nfsv3): Set to yes by default.
825 (--enable-rquotad): Added
826 (AC_PROG_CXX): Removed.
827 (AC_OUTPUT): Add utils/Makefile.
828 (CC_FOR_BUILD): Renamed from BUILD_CC.
829 * configure: Regenerated.
831 * utils/Makefile: Removed.
833 * utils/Makefile.in: New.
835 * nfs-utils.spec.in (rquotad): New. Set to 0 to disable
837 (CC_FOR_BUILD): Renamed from BUILD_CC.
838 * nfs-utils.spec: Regenerated.
840 2001-06-15 Chip Salzenberg <chip@debian.org>
842 * debian/changelog: Version 0.3.2-2.
843 * debian/*.init: Minor fixes.
845 2001-06-07 Lon H. Hohberger <hohberger@missioncriticallinux.com>
847 * etc/nodist/nfs-server: Fixed a bug where the script would
848 disable mounts from NFSv3 clients if NFSv3 is present.
850 2001-06-05 H.J. Lu <hjl@lucon.org>
852 * utils/mountd/mountd.c (longopts): Add "descriptors/o".
853 (main): Support --descriptors/-o to set the limit of the number
854 of open file descriptors.
857 * utils/mountd/mountd.man: Updated for --descriptors/-o.
859 2001-06-04 H.J. Lu <hjl@lucon.org>
861 * nfs-utils.spec (Release): Set to 6.
863 2001-05-28 H.J. Lu <hjl@lucon.org>
865 * utils/lockd/lockd.c (main): chdir to NFS_STATEDIR.
866 * utils/mountd/mountd.c (main): Likewise.
867 * utils/nfsd/nfsd.c (main): Likewise.
868 * utils/rquotad/rquota_svc.c (main): Likewise.
870 2001-05-06 Anne Milicia <milicia@missioncriticallinux.com>
872 * support/export/client.c (client_check): Check IP address
875 2001-05-06 Neil Brown <neilb@cse.unsw.edu.au>
877 * support/export/client.c (client_gettype): Treat `*' as
880 2001-04-22 H.J. Lu <hjl@lucon.org>
882 * nfs-utils.spec.in: Fix a typo.
883 * nfs-utils.spec: Regenerated.
885 2001-04-21 H.J. Lu <hjl@lucon.org>
887 * nfs-utils.spec.in: Fix cross build.
888 * nfs-utils.spec: Regenerated.
891 2001-04-18 H.J. Lu <hjl@lucon.org>
893 * nfs-utils.spec.in: Support cross build.
894 * nfs-utils.spec: Regenerated.
900 * config.mk.in (BUILD_CC): New.
901 (CC): Set to $(BUILD_CC) if BUILD is defined.
904 (RANLIB): Set to @RANLIB@.
906 * configure.in: Check BUILD_CC, RANLIB, AR and LD.
907 * configure: Regenerated.
909 * tools/rpcgen/Makefile (BUILD): Set to true.
911 2001-04-01 Chip Salzenberg <chip@valinux.com>
913 * tools/rpcgen/rpc_svcout.c (write_timeout_func): Remove
914 redundant, and sometimes broken, declaration of svc_fdset;
916 * support/nfs/rpcmisc.c (closedown): Likewise.
918 2001-03-21 H.J. Lu <hjl@lucon.org>
920 * nfs-utils.spec: Regenerated.
923 2001-03-21 Ion Badulescu <ionut@cs.columbia.edu>
925 * utils/statd/statd.c (main): make sure file descriptors 0-2
926 are open to /dev/null.
928 2001-03-21 H.J. Lu <hjl@lucon.org>
930 * support/nfs/rpcmisc.c: Restore the change made on 2001-03-10.
931 * support/nfs/rpcmisc.c: Likewise.
932 * utils/rquotad/rquota_svc.c: Likewise.
933 * utils/rquotad/rquotad.man: Likewise.
934 * utils/statd/Makefile: Likewise.
935 * utils/statd/rmtcall.c: Likewise.
936 * utils/statd/simulate.c: Likewise.
937 * utils/statd/statd.c: Likewise.
938 * utils/statd/statd.man: Likewise.
940 2001-03-11 H.J. Lu <hjl@lucon.org>
942 * configure.in (RELEASE): New. Default to 1, set by
943 --with-release=XXX. Substitute nfs-utils.spec.
944 * nfs-utils.spec.in (Release): Set to @RELEASE@.
945 * configure: Regenerated.
946 * nfs-utils.spec: Likewise.
948 2001-03-11 H.J. Lu <hjl@lucon.org>
950 * utils/rquotad/rquotad.man: Fix a typo.
952 2001-03-11 H.J. Lu <hjl@lucon.org>
954 * support/include/rpcmisc.h: Undo the change made on 2001-03-10.
955 * support/nfs/rpcmisc.c: Likewise.
956 * utils/rquotad/rquota_svc.c: Likewise.
957 * utils/rquotad/rquotad.man: Likewise.
958 * utils/statd/Makefile: Likewise.
959 * utils/statd/rmtcall.c: Likewise.
960 * utils/statd/simulate.c: Likewise.
961 * utils/statd/statd.c: Likewise.
962 * utils/statd/statd.man: Likewise.
964 2001-03-10 H.J. Lu <hjl@lucon.org>
966 * configure.in (VERSION): Set to "0.3.2".
967 * configure: Regenerated.
968 * nfs-utils.spec: Likewise.
970 * README: Updated for 0.3.2.
972 2001-03-10 Tavis Barr <tavis@boole.isetr.columbia.edu>
974 * utils/rquotad/rquotad.man: Updated for -p.
975 * utils/statd/statd.man: Likewise.
977 2001-03-10 Ion Badulescu <ionut@cs.columbia.edu>
979 * support/nfs/rpcmisc.c: export makesock()
981 * support/include/rpcmisc.h (makesock): Declared.
983 * utils/rquotad/rquota_svc.c: added longopts, added support for
984 specifying the port to bind to on the command line.
986 * utils/statd/statd.c: ditto, also specify port used for
987 outgoing connections.
988 (do_regist): Removed.
990 * utils/statd/rmtcall.c (statd_get_socket): Renamed from
991 get_socket. Make it extern.
993 * utils/statd/simulate.c (daemon_simulator): Call rpc_init
994 instead of do_regist.
996 * utils/statd/Makefile (LIBS): link with our own libnfs
998 2001-03-09 H.J. Lu <hjl@lucon.org>
1000 * etc/redhat/nfslock.init: Changed chkconfig line to 60 86.
1001 * etc/nodist/nfs-client: Likewise.
1003 2001-02-26 Chip Salzenberg <chip@valinux.com>
1005 * debian/changelog: Version 0.3.1-1.
1006 * Mention upstream source and license in copyright file.
1007 * Add build-Depends for debhelper and libwrap0-dev.
1009 2001-02-20 Lon Hohberger <hohberger@missioncriticallinux.com>
1011 * etc/nodist/nfs-server: Changed chkconfig line to 60 20
1012 * etc/nodist/nfs-client: Likewise.
1014 2001-02-18 Lon Hohberger <hohberger@missioncriticallinux.com>
1016 * utils/statd/statd.man: Changed /usr/sbin/rpc.statd to
1019 2001-02-17 Patrick J. LoPresti <patl@curl.com>
1021 * utils/statd/log.c (log_init): Use LOG_DAEMON instead of
1024 2001-02-14 H.J. Lu <hjl@lucon.org>
1026 * utils/statd/rmtcall.c: Include <time.h>.
1027 * utils/statd/svc_run.c: Likewise.
1029 2001-02-14 H.J. Lu <hjl@lucon.org>
1031 * configure.in (VERSION): Set to "0.3.1".
1032 * configure: Regenerated.
1033 * nfs-utils.spec: Likewise.
1035 * README: Updated for 0.3.1.
1037 2001-02-14 H.J. Lu <hjl@lucon.org>
1039 * support/nfs/rpcmisc.c: Include <time.h>.
1041 2001-02-14 Chip Salzenberg <chip@valinux.com>
1043 * debian/control: Change priority of nhfsstone package to 'extra'.
1045 2001-02-12 Chip Salzenberg <chip@valinux.com>
1047 * debian/changelog: Version 0.3-2.
1049 2001-02-02 H.J. Lu <hjl@lucon.org>
1051 * support/include/rpcmisc.h (rpc_init): Remove bufsize.
1053 * support/nfs/rpcmisc.c (makesock): Remove socksz and comment
1054 out SO_SNDBUF/SO_RCVBUF.
1055 (rpc_init): Remove bufsize and remove socksz in calls to
1058 * utils/mountd/mountd.c (main): Remove bufsize in calls to
1061 2001-01-28 Chip Salzenberg <chip@valinux.com>
1063 * debian/changelog: Version 0.3-1.
1065 2001-01-25 H.J. Lu <hjl@lucon.org>
1067 * configure.in (VERSION): Set to "0.3".
1068 * configure: Regenerated.
1069 * nfs-utils.spec: Likewise.
1071 * README: Updated for 0.3.
1073 2001-01-25 H.J. Lu <hjl@lucon.org>
1075 * utils/lockd/lockd.c (main): Ignore errno == EINVAL.
1077 2001-01-20 Chip Salzenberg <chip@valinux.com>
1079 * support/include/xio.h (xgetc): Declare to return int.
1080 * support/nfs/xio.c (xgetc): Return int.
1081 (xgettok, xskip, xskipcomment): Use int for value of xgetc.
1082 * utils/statd/statd.c (main): Use int for value of getopt.
1083 * debian/changelog: Version 0.2.1-5.
1085 2000-12-10 Chip Salzenberg <chip@valinux.com>
1087 * utils/statd/monitor.c (sm_mon_1_svc): Fix buggy check for
1088 program and procedure numbers of kernel lockd's callback. Also,
1089 besides the old (and broken) procedure #24, allow #16 per Trond.
1091 2000-12-03 Chip Salzenberg <chip@valinux.com>
1093 * support/nfs/xio.c (xfopen): Initialize x_line to one, not zero.
1094 * debian/control: Let nhfsstone replace files in nfs-kernel-server.
1095 * debian/changelog: Version 0.2.1-4.
1097 2000-11-27 Tobias Ringstrom <tori@tellus.mine.nu>
1099 * utils/mountd/auth.c (auth_authenticate): Log the bad path
1102 2000-11-24 Neil Brown <neilb@cse.unsw.edu.au>
1104 * support/nfs/exports.c (getexportent): Check for host name
1105 without option, or options without hostname, and print a warning,
1106 as this is most likely a typo.
1108 2000-11-19 Chip Salzenberg <chip@valinux.com>
1110 * debian/control: Add dependency on portmap.
1111 * debian/changelog: Version 0.2.1-3.
1113 2000-11-10 H.J. Lu <hjl@lucon.org>
1115 * nfs-utils.spec.in: Don't use libtool.
1116 Add ChangeLog and COPYING to doc.
1117 * nfs-utils.spec: Rebuild.
1119 2000-11-09 H.J. Lu <hjl@lucon.org>
1121 * etc/redhat/nfs.init (start): Back out the last change.
1123 2000-11-09 H.J. Lu <hjl@lucon.org>
1125 * etc/redhat/nfs.init (start): Pass --no-tcp to mountd if
1126 TCP is not supported by kernel.
1128 * support/nfs/rpcmisc.c (rpc_init): Don't set _rpcfdtype to 0.
1130 * utils/mountd/mountd.c (longopts): Add "-n/--no-tcp".
1131 (main): Set to _rpcfdtype to SOCK_DGRAM for "-n/--no-tcp".
1133 * utils/mountd/mountd.man: Updated for "-n/--no-tcp".
1135 2000-10-24 Lon Hohberger <hohberger@missioncriticallinux.com>
1137 * utils/statd/callback.c: Fix bug preventing callbacks to local lockd.
1138 * utils/statd/rmtcall.c: Add some IP address paranoia when doing
1139 callbacks to local lockd.
1141 2000-10-18 Scott McDermott <mcdermot@questra.com>
1143 * utils/exportfs/exports.man: Updated for CIDR netmask.
1145 2000-10-17 Scott McDermott <mcdermot@questra.com>
1147 * support/export/client.c (client_init): Support CIDR netmask
1150 2000-10-11 H.J. Lu <hjl@lucon.org>
1152 * aclocal.m4 (AC_TCP_WRAPPER): Fix a typo.
1153 * configure: Rebuilt.
1155 2000-10-06 Lon Hohberger <hohberger@missioncriticallinux.com>
1157 * utils/statd/statd.man: Change "/var/lib/nfs/sm/state" to
1158 "/var/lib/nfs/state".
1160 2000-10-05 Lon Hohberger <hohberger@missioncriticallinux.com>
1162 * utils/statd/statd.h (run_mode): New global bitmask of runtime
1163 behaviors: fg/bg, logging, etc.
1164 * utils/statd/statd.c: New command line options: -V -h -? -d .
1165 * utils/statd/statd.man: Update for changes to statd.
1167 * utils/statd/log.h (log_init): Remove parameter of function; use
1168 global variable "name_p" instead.
1169 * utils/statd/log.c: Add support for logging to stderr.
1171 * utils/statd/notlist.c: Partially rewrite notify list handling
1172 functions. Eliminate run-off-end-of-list bug when calling
1173 nlist_insert_timer. Add lots of comments.
1175 2000-09-27 H.J. Lu <hjl@lucon.org>
1177 * README: Updated for RedHat 7.0.
1179 2000-09-27 H.J. Lu <hjl@lucon.org>
1181 * nfs-utils.spec: Rebuild.
1183 2000-09-27 H.J. Lu <hjl@lucon.org>
1185 * README: Updated for 0.2.1.
1187 2000-09-27 H.J. Lu <hjl@lucon.org>
1189 * nfs-utils.spec.in: Updated to use rpm macros and support
1192 2000-09-25 H.J. Lu <hjl@lucon.org>
1194 * configure.in (VERSION): Set to "0.2.1".
1195 * configure: Regenerated.
1196 * nfs-utils.spec: Updated.
1198 2000-09-25 H.J. Lu <hjl@lucon.org>
1200 * utils/mountd/auth.c (auth_authenticate_internal): Make sure a
1201 non-NULL hostent is always returned.
1203 2000-09-11 Ion Badulescu <ionut@cs.columbia.edu>
1205 * etc/redhat/nfslock.init: don't kill lockd processes that do not
1206 have an executable (i.e. kernel threads)
1208 2000-09-01 H.J. Lu <hjl@lucon.org>
1210 * README: Updated for 0.2.
1212 2000-09-01 Jay Weber <jweber@valinux.com>
1214 * etc/redhat/nfs.init: Added ability for rpc.mountd to default to
1215 supporting version 3 of nfs if available, else it will fall back to
1216 version 2 support only.
1218 2000-08-30 H.J. Lu <hjl@lucon.org>
1220 * configure.in (VERSION): Set to "0.2".
1221 * configure: Regenerated.
1222 * nfs-utils.spec: Updated.
1224 2000-08-25 H.J. Lu <hjl@lucon.org>
1226 * support/misc/tcpwrapper.c (logit): Modify the log output.
1228 2000-08-25 Ion Badulescu <ionut@cs.columbia.edu>
1230 * utils/rquotad/rquotad.man, utils/statd/statd.man,
1231 utils/mountd/mountd.man: updated
1233 * utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL)
1234 * utils/rquotad/Makefile: fix comment
1236 * support/misc/tcpwrapper.c (logit): added comment about waiting
1237 for the children after fork()
1239 * utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving
1240 zombies behind (from logit()'s fork)
1241 * utils/rquotad/rquota_svc.c (main): ditto
1242 * utils/statd/statd.c (main): ditto
1244 * utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG
1245 to check_default instead of 0, for prognum
1247 * utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG
1248 to check_default instead of 0, for prognum
1250 * utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if
1251 HAVE_TCP_WRAPPER is defined.
1252 (mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is
1253 defined. Reject an RPC call if check_default () fails.
1255 2000-08-25 H.J. Lu <hjl@lucon.org>
1257 * support/include/tcpwrapper.h: New for the tcp wrapper
1259 * support/misc/Makefile: Likewise.
1260 * support/misc/from_local.c: Likewise.
1261 * support/misc/tcpwrapper.c: Likewise.
1263 * aclocal.m4 (AC_TCP_WRAPPER): New.
1264 * configure.in: Use it. Substitute LIBWRAP.
1265 * configure: Rebuilt.
1267 * config.mk.in (LIBNSL): New.
1268 (LIBWRAP): Likewise.
1270 * support/Makefile (SUBDIRS): Add misc.
1272 * support/lib/Makefile (LIBS): Add libmisc.a.
1274 * utils/rquotad/Makefile (LIBS): Add
1276 -lmisc $(LIBWRAP) $(LIBNSL)
1278 * utils/statd/Makefile (LIBS): Likewise.
1280 * utils/rquotad/rquota_svc.c: Include "tcpwrapper.h" if
1281 HAVE_TCP_WRAPPER is defined.
1282 (rquotaprog_1): Call check_default () if HAVE_TCP_WRAPPER is
1283 defined. Reject an RPC call if check_default () fails.
1285 * utils/statd/statd.c: Include "tcpwrapper.h" if
1286 HAVE_TCP_WRAPPER is defined.
1287 (sm_prog_1_wrapper): New. A wrapper for sm_prog_1. Call
1288 check_default () before calling sm_prog_1 (). Define it as
1289 sm_prog_1_wrapper if HAVE_TCP_WRAPPER is defined.
1291 2000-08-25 Chip Salzenberg <chip@valinux.com>
1293 * debian/*: Complete Debian build support.
1294 * etc/debian/*: Remove.
1296 2000-08-24 Neil Brown <neilb@cse.unsw.edu.au>
1298 * support/export/client.c(client_check): removed the "dot+1" as a
1299 ypdomain argument to innetgr as this is entirely bogus.
1300 It should always be NULL.
1302 2000-08-23 Neil Brown <neilb@cse.unsw.edu.au>
1304 * support/export/xtab.c(xtab_read): introduce new mode for
1305 reading xtab. i.e. a list of exports that might be known to the
1306 kernel, or might not. These are flagged as m_exported == -1
1307 * support/export/xtab.c(xtab_mount_read): call xtab_read with new
1308 value "2" for xtab, meaning don't trust this too much.
1309 * support/include/exportfs.h(struct mexport): changed m_exported
1310 from one bit to an int so that it can hold new value
1311 * utils/exportfs/exportfs.c(exportfs_ipdate): add an export to the
1312 kernel if it is uncertain whether the kernel knows (m_exported == -1)
1313 * utils/mountd/mountd.c(get_rootfh): similarly export to kernel if
1316 * support/nfs/xio.c(xflock): added O_CREAT when getting
1317 a write lock so that missing files aren't fatal.
1319 * etc/debian/nfs-common: new file from "potato"
1320 * etc/debian/nfs-kernel-server: new file from "potato" plus fixes.
1322 2000-08-09 H.J. Lu <hjl@lucon.org>
1324 * etc/redhat/nfs.init: Run /usr/sbin/exportfs first during
1325 startup to ensure all existing clients work fine.
1327 * support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0
1328 to xtab_read () for reading _PATH_XTAB.
1330 2000-08-02 H.J. Lu <hjl@lucon.org>
1332 * utils/mountd/auth.c (auth_authenticate_internal): Try to
1333 avoid the reverse name lookup.
1335 2000-07-04 H.J. Lu <hjl@lucon.org>
1337 * utils/statd/log.c: Include <stdlib.h> for exit ().
1339 * utils/statd/misc.c (xunlink): Add `{' and `}' to quiet the
1342 2000-07-04 H.J. Lu <hjl@lucon.org>
1344 * configure.in (VERSION): Set to "0.1.9.1".
1345 * configure: Regenerated.
1346 * nfs-utils.spec: Updated.
1350 2000-07-04 Neil Brown <neilb@cse.unsw.edu.au>
1352 * support/export/hostname.c (hostent_dup): Handle the NULL
1355 2000-07-03 H.J. Lu <hjl@lucon.org>
1357 * README: Update the util-linux requirement.
1359 2000-07-03 H.J. Lu <hjl@lucon.org>
1361 * configure.in (VERSION): Set to "0.1.9".
1362 * configure: Regenerated.
1363 * nfs-utils.spec: Updated.
1367 2000-07-03 H.J. Lu <hjl@lucon.org>
1369 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
1370 stop to ensure all clients can still access the server
1371 before it is shutdown.
1373 2000-06-30 Jeff Uphoff <juphoff@transmeta.com>
1375 * tools/rpcgen/rpc_svcout.c (write_msg_out): Generate syslog()
1376 calls with format string.
1378 2000-06-28 Chip Salzenberg <chip@valinux.com>
1380 * utils/statd/log.c (log): Call syslog with format string.
1382 2000-06-27 H.J. Lu <hjl@lucon.org>
1384 * utils/statd/statd.c (main): Use sysconf (_SC_OPEN_MAX)
1385 instead of OPEN_MAX.
1387 2000-06-27 H.J. Lu <hjl@lucon.org>
1391 2000-06-27 H.J. Lu <hjl@lucon.org>
1393 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
1394 startup to ensure all existing clients are exported.
1396 * configure.in (VERSION): Set to "0.1.8.2".
1397 * configure: Regenerated.
1398 * nfs-utils.spec: Updated.
1400 2000-06-06 H.J. Lu <hjl@lucon.org>
1402 * configure.in (VERSION): Set to "0.1.8.1".
1403 * configure: Regenerated.
1404 * nfs-utils.spec: Updated.
1406 2000-06-06 H.J. Lu <hjl@lucon.org>
1408 * utils/mountd/mountd.c (mount_dump_1_svc): Cast svc_getcaller
1409 to "struct sockaddr_in *" for glibc 2.2.
1410 (mount_umnt_1_svc): Likewise.
1411 (mount_umntall_1_svc): Likewise.
1412 (mount_export_1_svc): Likewise.
1413 (mount_exportall_1_svc): Likewise.
1414 (mount_pathconf_2_svc): Likewise.
1415 (get_rootfh): Likewise.
1417 2000-06-04 H.J. Lu <hjl@lucon.org>
1419 * etc/redhat/nfs.init: Fix a typo in comment.
1421 2000-05-31 H.J. Lu <hjl@lucon.org>
1423 * configure.in (VERSION): Set to "0.1.8".
1424 * configure: Regenerated.
1425 * nfs-utils.spec: Updated.
1429 2000-05-31 H.J. Lu <hjl@lucon.org>
1431 * configure.in (VERSION): Set to "0.1.7.5".
1432 * configure: Regenerated.
1433 * nfs-utils.spec: Updated.
1435 * support/include/nfslib.h (exportent): Add a new field,
1436 r_count, to count the number of mounts from a client.
1437 (getrmtabent): Take a new argument for position in file.
1438 (putrmtabent): Likewise.
1439 (fgetrmtabent): Likewise.
1440 (fputrmtabent): Likewise.
1441 * support/nfs/rmtab.c (getrmtabent): Handle the new argument
1442 for position in file.
1443 (fgetrmtabent): Likewise.
1444 (putrmtabent): Likewise.
1445 (fputrmtabent): Likewise.
1447 * support/nfs/rmtab.c (fgetrmtabent): Get value for the new
1450 * support/export/rmtab.c (rmtab_read): Pass NULL as the new
1451 argument to getrmtabent (), fgetrmtabent (), putrmtabent ()
1452 and fputrmtabent ().
1453 * utils/mountd/rmtab.c (mountlist_add): Likewise.
1454 (mountlist_del): Likewise.
1455 (mountlist_del_all): Likewise.
1456 (mountlist_list): Likewise.
1458 * utils/mountd/rmtab.c (mountlist_add): Increment "r_count"
1459 for the existing entry and initialize "r_count" to 1.
1460 (mountlist_del): Decrement "r_count".
1462 2000-05-18 H.J. Lu <hjl@lucon.org>
1464 * configure.in (VERSION): Set to "0.1.7.4".
1465 * configure: Regenerated.
1466 * nfs-utils.spec: Updated.
1468 2000-05-18 H.J. Lu <hjl@lucon.org>
1470 * etc/redhat/nfs.init (restart): Just do stop and start.
1472 2000-05-09 Jay Weber <jweber@valinux.com>
1474 * utils/rquotad/hasquota.c: added support for ext3 recognition
1476 * utils/rquotad/mntent.h: Likewise.
1478 2000-05-01 H.J. Lu <hjl@lucon.org>
1480 * configure.in (VERSION): Set to "0.1.7.3".
1481 * configure: Regenerated.
1482 * nfs-utils.spec: Updated.
1484 2000-05-01 H.J. Lu <hjl@lucon.org>
1486 * utils/rquotad/rquota_server.c (getquotainfo): Skip bad
1487 mounting poins in /etc/fstab.
1489 2000-05-01 H.J. Lu <hjl@lucon.org>
1491 * configure.in (VERSION): Set to "0.1.7.2".
1492 * configure: Regenerated.
1493 * nfs-utils.spec: Updated.
1495 2000-05-01 H.J. Lu <hjl@lucon.org>
1497 * utils/rquotad/rquota_server.c (getquotainfo): Call stat ()
1498 to check for the mounting point.
1500 2000-04-29 Chip Salzenberg <chip@valinux.com>
1501 Neil Brown <neilb@cse.unsw.edu.au>
1503 * Really re-use RPC ports.
1504 (Fixes earlier patch. Sorry, Neil.)
1506 2000-04-26 H.J. Lu <hjl@lucon.org>
1508 * configure.in (VERSION): Set to "0.1.7.1".
1509 * configure: Regenerated.
1510 * nfs-utils.spec: Updated.
1512 2000-04-26 H.J. Lu <hjl@lucon.org>
1514 * etc/redhat/nfslock.init: Check if lockd exits before killing
1517 2000-04-25 H.J. Lu <hjl@lucon.org>
1519 * README: Require util-linux-2.10f-mount-rpc.patch for mount.
1521 2000-03-21 Michael Weiser <michael@weiser.saale-net.de>
1523 * support/nfs/exports.c (parsesquash): Correctly set the
1526 Tue Mar 21 11:38:48 EST 2000 NeilBrown <neilb@cse.unsw.edu.au>
1528 * support/include/nfs/nfs.h: Removed knowledge of internals of
1529 kernel filehandles (which can change) and defined nfs_fh_size
1530 which has variable size
1532 * support/nfs/getfh.c: defined getfh_size to use new syscall to
1533 get variable sized file handles, and change getfh{,old} to
1536 * utils/mountd/mountd.c: use nfd_fh_size and call getfh_size for
1539 * tools/Makefile, tools/nlmtest/nlmtest.c
1540 nlmtest.c depended on internel format of file handles, so now
1544 2000-03-12 Chip Salzenberg <chip@valinux.com>
1545 Neil Brown <neilb@cse.unsw.edu.au>
1547 * support/nfs/rpcmisc.c (rpc_init): Share transports.
1549 2000-03-13 H.J. Lu <hjl@lucon.org>
1551 * etc/redhat/nfsd.init: Updated.
1553 * etc/redhat/nfslock.init: Updated.
1555 * nfs-utils.spec.in: Updated.
1557 * configure.in (VERSION): Set to "0.1.7".
1558 * configure: Regenerated.
1559 * nfs-utils.spec: Updated.
1563 Wed Mar 8 09:42:43 2000 Neil Brown <neilb@cse.unsw.edu.au>
1565 * utils/exportfs/exportfs.c (dump): Included printing of
1566 nohide, no_subtree_check, and insecure_locks
1568 2000-02-26 Chip Salzenberg <chip@valinux.com>
1570 * config.mk.in (INSTALLSUID): Strip ("-s").
1571 (INSTALLSCRIPT): Define.
1572 * utils/nhfsstone/Makefile: Use it.
1574 2000-02-26 Chip Salzenberg <chip@valinux.com>
1576 * utils/lockd/lockd.man: Create.
1577 * utils/lockd/Makefile: Install it.
1578 * utils/nhfsstone/nhfs{run,nums,graph}.man: Create.
1579 * utils/nhfsstone/nhfsstone.man: Change suffix from ".1".
1580 * utils/nhfsstone/Makefile: Install the helper scripts and
1582 * utils/exportfs/exports.man: Fix typo.
1584 2000-02-26 Chip Salzenberg <chip@valinux.com>
1586 * support/nfs/xio.c (xungetc): Decrement line number when
1587 character to unget is newline. Make first parameter int, so
1588 it can distinguish EOF from \377.
1589 * support/include/xio.h (xungetc): Adjust prototype.
1591 Fri Feb 4 23:42:23 2000 Neil Brown <neilb@cse.unsw.edu.au>
1593 * support/include/nfs/export.h: added NFSEXP_NOAUTHNLM
1594 * support/nfs/exports.c: added handling for NFSEXP_NOAUTHNLM
1595 * utils/exportfs/exports.man: added documentation for no_auth_nlm.
1597 This is for supporting a new option introduced in 2.3.42
1599 Thu Feb 3 14:55:48 2000 H.J. Lu <hjl@lucon.org>
1601 * COPYING: Added. GPL.
1603 Thu Feb 03 14:40:40 2000 Cristian Gafton <gafton@redhat.com>
1605 * utils/rquotad/rquota_server.c (getquotainfo): Call statfs ()
1606 to get the block size.
1608 Tue Jan 25 11:04:17 2000 H.J. Lu <hjl@lucon.org>
1610 * nfs-utils.spec.in: Update ftp site.
1612 Mon Jan 17 11:48:18 2000 H.J. Lu <hjl@lucon.org>
1614 * README: Update hostnames.
1616 Tue Jan 11 10:06:22 2000 H.J. Lu <hjl@lucon.org>
1618 * configure.in (VERSION): Set to "0.1.6".
1619 * configure: Regenerated.
1620 * nfs-utils.spec: Updated.
1624 Mon Jan 10 14:26:33 2000 H.J. Lu <hjl@lucon.org>
1626 * utils/mountd/auth.c (auth_authenticate_internal): Call
1627 xstrdup for hostname before passing it to gethostbyname.
1629 * utils/mountd/mountd.c (get_exportlist): Use xstrdup instead
1632 Sun Dec 19 09:35:01 1999 H.J. Lu <hjl@lucon.org>
1634 * README: Update the mailing list address.
1636 Sun Dec 19 09:22:28 1999 H.J. Lu <hjl@lucon.org>
1638 * configure.in (VERSION): Set to "0.1.5".
1639 * configure: Regenerated.
1640 * nfs-utils.spec: Updated.
1644 Mon Dec 13 13:40:20 1999 H.J. Lu <hjl@lucon.org>
1646 * utils/rquotad/hasquota.c (hasquota): Malloc one more char
1649 Mon Dec 6 09:42:45 1999 H.J. Lu <hjl@lucon.org>
1651 * configure.in (VERSION): Set to "0.1.4".
1652 * configure: Regenerated.
1653 * nfs-utils.spec: Updated.
1657 Mon Dec 6 09:28:07 1999 H.J. Lu <hjl@lucon.org>
1659 * nfs-utils.spec.in: New file.
1661 * config.mk.in (VERSION): Changed to "nfs-utils @VERSION@".
1663 * configure.in (nfs-utils.spec): Added to AC_OUTPUT.
1665 1999-12-04 Chip Salzenberg <chip@valinux.com>
1667 * config.mk.in: Use $(CC) as set by configure.
1669 1999-12-04 Chip Salzenberg <chip@valinux.com>
1671 * rules.mk: Call $(MAKE) with $(MFLAGS).
1673 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1675 * tools/rpcgen/rpc_main.c (h_output): Generate IXDR_GET_INT32,
1676 IXDR_PUT_INT32, IXDR_GET_U_INT32 and IXDR_PUT_U_INT32.
1678 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1680 * nfs-utils.spec (Version): Set to 0.1.3.
1682 * configure.in (VERSION): Set to "nfs-utils 0.1.3".
1683 * configure: Regenerated.
1687 Mon Nov 29 11:15:47 1999 H.J. Lu <hjl@lucon.org>
1689 * utils/rquotad/rquota_server.c (nfsmount_to_devname): Removed.
1690 (_PATH_DEV_DSK): Likewise.
1691 (getquotainfo): Match the mounting point from /etc/mtab
1692 instead of calling nfsmount_to_devname ().
1694 1999-11-24 Chip Salzenberg <chip@valinux.com>
1696 * utils/statd/monitor.c (sm_mon_1_svc): Accept lockd callbacks
1697 to the new port 24 as well as the historical port 100021.
1699 Tue Nov 23 10:21:34 1999 Neil Brown <neilb@cse.unsw.edu.au>
1701 * etc/redhat/nfsd.init (stop): moved exportfs -ua after
1702 stopping nfsd to stop spurious ESTALE on server shutdown.
1704 Tue Nov 23 10:13:39 1999 Neil Brown <neilb@cse.unsw.edu.au>
1706 * support/nfs/exports.c (parseopts): make copy of opt string
1707 before 'nul'ing out commas so that
1709 # exportfs -o option1,option2 hosta:/fs hostb:/fs
1711 applies both options to both exports.
1713 Thu Oct 28 12:55:42 1999 H.J. Lu <hjl@lucon.org>
1715 * README: Fix a few typos.
1717 * tools/rpcgen/rpc_cout.c (print_header): Use int32_t instead
1719 * tools/rpcgen/rpc_hout.c (pdefine): Likewise.
1720 * tools/rpcgen/rpc_main.c (c_initialize): Likewise.
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_util.c (tokstrings): Likewise.
1726 * tools/rpcgen/rpc_cout.c (emit_single_in_line): Use INT32
1728 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1729 (unsigned_dec): Likewise.
1730 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1731 * tools/rpcgen/rpc_scan.h (tok_kind): Likewise.
1732 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1734 Thu Oct 28 11:27:51 1999 Neil Brown <neilb@cse.unsw.edu.au>
1736 * support/include/nfs/export.h addedd NFSEXP_NOSUBTREECHECK
1737 * support/nfs/exports.c: added {no_,}subtree_check and changed
1739 * utils/exportfs/exports.man: added no_subtree_check and nohide
1740 and removed irrelevant stuff from unfsd.
1741 * support/export/rmtab.c: rmtab_read didn't quite do the right
1742 thing if a pathname from rmtab was a subdirectory of an export-point
1744 Tue Oct 26 17:22:40 1999 H.J. Lu <hjl@lucon.org>
1746 * README: Updated ftp site.
1748 Mon Oct 25 18:12:45 1999 H.J. Lu <hjl@lucon.org>
1750 * nfs-utils.spec (Version): Set to 0.1.2.
1752 * configure.in (VERSION): Set to "nfs-utils 0.1.2".
1753 * configure: Regenerated.
1757 Mon Oct 25 18:11:21 1999 H.J. Lu <hjl@lucon.org>
1759 * utils/mountd/auth.c (auth_error): Add "no_forward_dns".
1760 (auth_authenticate_internal): Check for NULL return on forward
1762 (auth_authenticate): Handle "no_forward_dns".
1764 Thu Oct 21 16:22:06 1999 H.J. Lu <hjl@lucon.org>
1766 * Version 0.1.1 released.
1768 * nfs-utils.spec (Version): Set to 0.1.1.
1770 * configure.in (VERSION): Set to "nfs-utils 0.1.1".
1771 * configure: Regenerated.
1775 Mon Oct 18 17:43:29 1999 H.J. Lu <hjl@lucon.org>
1777 * nfs-utils.spec (Obsoletes): Fixed a typo, change knfsd-client
1779 (Provides): Likewise.
1781 Mon Oct 18 14:56:22 1999 H.J. Lu <hjl@lucon.org>
1783 * Initial version 0.1 released.
1785 * configure.in (VERSION): Set to "nfs-utils 0.1".
1786 * configure: Regenerated.
1788 Mon Oct 18 14:54:57 1999 H.J. Lu <hjl@lucon.org>
1790 * utils/mountd/mountd.c (get_exportlist): Cleanup.
1792 * utils/exportfs/exportfs.c (unexport_all): Unexport from
1793 kernel only if the entry is exported to kernel.
1794 (unexportfs): Likewise.
1796 Wed Sep 08 16:49:32 1999 Neil Brown <neilb@cse.unsw.edu.au>
1798 1/ utils/mountd/rmtab.c::mountlist_list
1800 This routine stats the rmtab file to see if it has changed. It
1801 if has, it cleans up it's old copy of the data. But it still
1802 always re-read the file, thus returning multiple copies of the
1803 data on consecutive calls without intervening changes.
1804 "Showmount -a" didn't show this as it appears to sort/unique the
1805 data, but 'strace showmount -a' showed that the size of the
1806 datagram that it received grew.
1808 I moved the getrmtabent loop inside the mtime test.
1810 2/ utils/exportfs/exportfs.c
1812 Many routines used the m_path field of m_export instead of
1814 According to the comment in nfslib.h, m_path should only
1815 be used when processing a mount request (i.e. in mountd)
1816 where the mountpoint may be a subdirectory of the export point.
1818 I changed all occurances of m_path to e_path
1821 3/ utils/exportfs/exportfs.c:main
1823 extra arguments are not meaningful with -a or -r, but
1824 exportfs accepted them and then ignored the -a/-r, expect that
1825 -r would still unexport everything first.
1827 I generate an error if there are extra args and f_all
1829 4/ utils/exportfs/exportfs.c:main
1830 extract dump out as a special case.
1832 5/ utils/exportfs/exportfs.c
1833 made f_reexport a local variable.
1836 6/ utils/exportfs/exportfs.c:main,exportall
1838 support/export/rmtab.c
1839 only mayexport on newly created entries, don't set xtabent at all
1841 7/ support/include/nfslib.h
1843 add #define _PATH_PROC_EXPORTS to be /proc/fs/nds/exports
1845 8/ support/export/xtab.c
1847 xtab_mount_read loads data from _PATH_PROC_EXPORTS if it exists,
1851 9/ support/export/xtab.c
1853 xtab_mount_read now sets m_exported, and NOT
1854 xtabent and mayexport
1856 removed the append arguement from xtab_write as it was
1859 added is_export flag to xtab_write similar to xtab_read
1860 if is_export, only write entries with m_xtabent or m_addxtab
1861 if !is_export, only write entries with m_exported
1863 10/ support/export/export.c::export_allowed_internal
1865 added test for exp->m_mayexport, as the export tree
1866 may have entries that are no longer allowed to be exported,
1867 and so shouldn't caused deduced exported by rmtab_read
1869 11/ utils/exportfs/exportfs.c::main
1870 error checking of flags.
1872 12/ utils/exportfs/exportfs.c
1874 total rewrite of export and unexport logic.
1876 - build an exportslist of valid exports, based on
1877 current etab file and arguments,
1878 - read rmtab to instantiate relevant wild card entries
1879 - read etab to find out what is currently exported
1880 - synchronise intention with reality
1881 - write out etab and xtab
1884 discard the m_addxtab flag
1885 add m_changed flag so we know what to report in exportfs
1887 14/ utils/mountd/auth.c:auth_authenticate
1889 the value returned by gethostbyaddr was trusted.
1891 It now follows this with a call to gethostbyname
1892 and checks that the address is in the list.
1894 15/ support/export/nfsctl.c::cltsetup,expsetup
1896 force client names to lowercase as kernel is
1899 16/ quietened a few compiler warnings
1901 17/ support/export/client:client_lookup
1903 look for pre-existing client with same name before creating
1906 18/ support/include/exportfs.h
1908 The ordering of the MCL_* enum was:
1909 ANONYMOUS, FQDN, SUBNETWORK, WILDCARD, NETGROUP
1911 I moved ANONYMOUS to the end.
1913 The ordering is significant when an export entry is being searched for to
1914 match a given address. There are two problems with ANONYMOUS being first.
1916 1/ if a directory is exported rw to a couple of hosts and ro to everyone else,
1917 then the ro case will always be found first and the privileged hosts won't get
1919 2/ When mountd gets a request to mount an ANONYMOUSly exported tree, it creates a FQDN
1920 export entry for the specific host, and writes it to xtab.
1921 When another request comes from the same host, the ANONYMOUS entry is found again,
1922 before the new FQDN entry, so it creates another FQDN entry and writes it to xtab
1923 again. If causes bloat in xtab.
1925 Putting ANONYMOUS at the end reflects it's nature as a catch-all
1927 19/ utils/exportfs/exportfs.man
1928 many updates to the man page to reflect changes to the code
1930 -----------------------
1936 - allow exportfs to modify rmtab file
1937 - make sure kernel never gets two clients with same IP address
1938 - possible kernel should reject
1939 - needs to be some way to lookup client in kernel by IP address
1940 - maybe get kernel to do case-insensitive comparisons on client names
1941 - remove unused clients from kernel
1943 - change etab to xtab and xtab to xtab.active
1945 - timestamp and/or statd-stamp in rmtab for removing old entries.
1947 Mon Oct 18 11:48:07 1999 H.J. Lu <hjl@lucon.org>
1949 * linux-nfs: New directory.
1950 * linux-nfs/ChangeLog: Moved from ..
1951 * linux-nfs/INSTALL: Likewise.
1952 * linux-nfs/KNOWNBUGS: Likewise.
1953 * linux-nfs/NEW: Likewise.
1954 * linux-nfs/README: Likewise.
1955 * linux-nfs/THANKS: Likewise.
1956 * linux-nfs/TODO: Likewise.
1958 * Starting from knfsd 1.4.7.