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
14 2004-11-22 NeilBrown <neilb@cse.unsw.edu.au>
16 * utils/exportfs/nfsd.man: corrected typo in .BR macro usage -
17 reported by Eric Raymond
19 2004-10-19 "J. Bruce Fields" <bfields@fieldses.org>
21 * support/gssapi/* support/rpc/* utils/gssd/* utils/svcgssd/* etc
22 initial support for GSSAPI authentication
24 2004-09-15 Neil Brown <neilb@cse.unsw.edu.au>
26 * utils/statd/monitor.c(sm_unmon_1_svc): is RESTRICTED_STATD, then
27 check IP address and force my_name to 127.0.0.1 to match
28 what happens in sm_mon_1_svc. This avoid spurious "erroneous
30 * utils/statd.monitor.c(sm_unmon_all_1_svc): likewise
32 2004-09-15 "J. Bruce Fields" <bfields@fieldses.org>
34 * Assorted changes to support "gss/*" style authentication
35 * utils/idmapd: new idmapd daemon for nfsv4 username lookup
37 2004-09-06 Trond Myklebust <trond.myklebust@fys.uio.no>
38 Neil Brown <neilb@cse.unsw.edu.au>
40 * utils/mountd/auth.c(auth_authenticate_internal): fix
41 uninitialsed variable problem (causes bad error messages).
43 2004-09-06 Paul Clements <paul.clements@steeleye.com>
44 Neil Brown <neilb@cse.unsw.edu.au>
46 * utils/mountd/mountd.c(main): support --ha-callout (-H) for
47 specifying a callout program
48 * utils/mountd/rmtab.c: Call ha_callout on mount/unmount
49 * utils/statd/monitor.c: Call ha_callout on add/del client
50 * utils/statd/rmtcall.c: as above
51 * utils/statd/statd.c: handle --ha-callout (-H)
52 * utils/statd/svc_run.c: call notify_hosts is we have received a
54 * support/include/ha-callout.h: define ha_callout function
57 2004-08-31 NeilBrown <neilb@cse.unsw.edu.au>
58 * utils/mountd/cache.c(cache_process_req): clear fd after
59 processing so as not to confused libc/sunrpc into thinking
60 it need to do something with that fd.
62 2004-08-31 NeilBrown <neilb@cse.unsw.edu.au>
64 * debian/nfs-kernel-server.init(start,stop) mount the nfsd
65 filesystem, if available, before starting nfs services, and
66 unmount it afterwards.
67 * etc/nodist/nfs-server: ditto
68 * etc/redhat/nfs.init: likewise
69 * etc/redhat/nfs: add "MOUNT_NFSD" flag to control above.
71 2004-06-08 NeilBrown <neilb@cse.unsw.edu.au>
73 * utils/exportfs/exportfs.c: Don't rmtab_read if new_cache, it
75 * support/nfs/cacheio.c(cache_flush): Change order in which caches
76 are flushed so that dependancies don't keep things in the cache
79 2004-03-18 Chip Salzenberg <chip@pobox.com>
81 * debian/changelog: Version 1.0.6-2.
83 2004-02-24 NeilBrown <neilb@cse.unsw.edu.au>
84 from "J. Bruce Fields" <bfields@fieldses.org>
86 * utils/mountd/cache.c: call auth_reload to make sure auth data is
87 current before responding to kernel upcall.
89 2004-02-24 NeilBrown <neilb@cse.unsw.edu.au>
90 Based on patch from Greg Banks <gnb@melbourne.sgi.com>
92 * utils/exportfs/exports.man: Document fsid= option.
94 2003-09-15 NeilBrown <neilb@cse.unsw.edu.au>
98 * rules.mk: Add dep: rule when no OBJS, so "make dep" works in
99 support/include, and depend in "predep"
100 * support/export/Makefile, tools/rpcgen/Makefile,
101 utils/statd/Makefile: add "predep" rule so that "make dep" works.
102 * Makefile: allow a simple "make" to run ./configure and "make dep"
104 * configure.in, nfs-utils.spec: Update version to 1.0.6
107 2003-09-12 Chip Salzenberg <chip@pobox.com>
109 * debian/changelog: Version 1.0.6-1.
111 2003-09-12 NeilBrown <neilb@cse.unsw.edu.au>
113 * utils/mountd/mountd.c(main): Impose FD_SETSIZE as an upper limit
115 * utils/statd/statd.c(main): Ditto.
117 michael <michael@newdream.net> discovered that svc_setreqsize
118 in glibc can segfault if RLIMIT_NOFILE is bigger than
119 FD_SETSIZE, so a simple solution is to impose a hard limit.
121 2003-09-09 Chip Salzenberg <chip@pobox.com>
123 * debian/changelog: Version 1.0.5-3.
124 * support/export/hostname.c (get_reliable_hostbyaddr): Fix crash
125 on invalid reverse DNS.
126 * utils/showmount/showmount.c (main): Fix inet_ntoa() parameter.
127 * tools/rpcgen/rpc_cout.c (print_header): Remove unused vars.
128 * tools/rpcgen/rpc_parse.c (def_union): Likewise.
130 2003-08-22 Chip Salzenberg <chip@pobox.com>
132 * utils/statd/{log.h,log.c}: Rename log() to note() and L_* to
133 N_*, to avoid conflict with ISO C built-in log() function.
134 * utils/statd/*.c: Use note().
136 2003-08-20 Chip Salzenberg <chip@pobox.com>
138 * debian/changelog: Version 1.0.5-2.
140 2003-08-11 NeilBrown <neilb@cse.unsw.edu.au>
142 * utils/mountd/cache.c(cache_get_filehandle): close the filehandle
145 2003-08-04 NeilBrown <neilb@cse.unsw.edu.au>
147 * support/include/nfs/export.h, support/nfs/exports.c,
148 utils/exportfs/exports.c, utils/mountd/mountd.c: change
149 NFSEXP_CROSSMNT to NFSEXP_CROSSMOUNT to avoid confusion with older
150 meaning. Also remove meaningless
151 NFSEXP_{UIDMAP,KERBEROS,SUNSECURE}
153 2003-08-04 NeilBrown <neilb@cse.unsw.edu.au>
155 * support/export/xtab.c, support/include/nfslib.h,
156 support/nfs/cacheio.c, support/nfs/nfssvc.c,
157 utils/exportfs/exportfs.c, utils/exportfs/exportfs.man,
158 utils/exportfs/nfsd.man, utils/mountd/cache.c: support
159 /proc/fs/nfsd/* as a perferred alternate to /proc/fs/nfs/*
160 (nfs-utils-1.0.5-post2)
162 2003-08-04 NeilBrown <neilb@cse.unsw.edu.au>
164 * support/nfs/nfsexport.c: open channel file O_WRONLY when
166 * utils/mountd/cache.c: maintain mountlist when new_cache is
167 active. Also use O_WRONLY for channel files.
168 * utils/mountd/mountd.h: mountlist_{del,add} now take a host name
169 rather than an nfs_export.
170 * utils/mountd/rmtab.c: ditto.
171 (nfs-utils-1.5.0-post1)
173 2003-07-24 Chip Salzenberg <chip@pobox.com>
175 * support/nfs/xlog.c (xlog): Revise buffer-overflow fix to
176 use Debian security team's cleaner approach.
177 * debian/changelog: Version 1.0.5-1.
178 * debian/nfs-kernel-server.init: Cosmetic changes.
180 2003-07-18 NeilBrown <neilb@cse.unsw.edu.au>
183 1.0.4 was a bit of a brown-paper-bag-release because of the extra
184 'free' in auth.c. So I'm releasing this just a few days later.
186 * support/nfs/cacheio.c(cache_flush): Correct test for 'open
188 * utils/exportfs/exportfs.c(main): If "-f" given as lone option,
189 check if new_cache is enabled, error if not, flush and exit if it
191 * utils/exportfs/exportfs.man: Explain -f option and explain the
192 two different modes that exportfs can work in.
193 * utils/mountd/mountd.c: Do not change RLIMIT_NOFILE if the -o
195 * utils/mountd/mountd.man: Record the change if default behaviour
197 * configure.in, nfs-utils.spec: update version to 1.0.5 and
200 2003-07-15 NeilBrown <neilb@cse.unsw.edu.au>
202 * utils/mountd/mountd.c(main): getopt string fix for 'o'
203 * utils/mountd/auth.c(auth_authenticate): remove extra 'free'
204 * utils/exportfs/exportfs.c(main): make 'exportfs -f' just flush
206 * support/include/nfs/export.h: Reserve a bit for possible ACL
209 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
211 * utils/exportfs/nfsd.man: new man page for nfsd filesystem. Also
212 assorted changed to cope with section 7 of the manual.
213 * configure.in, nfs-utils.spec: Update version to 1.0.4
216 This is a 'pre-release' for 1.1.0 Hopefully 1.1.0 will be the
217 baseline for 2.6 and 2.8. I.e. it should continue to work right
218 through the 2.8 (or 3.0) kernel series. Previous releases wont.
220 2003-07-04 NeilBrown <neilb@cse.unsw.edu.au>
221 Steve Dickson <SteveD@redhat.com>
224 * utils/statd/statd.c: create a pidfile with pid of statd, and
225 truncate it when statd exists.
226 * utils/statd/statd.c: drop privs by setuid to owner of SM_DIR,
227 and warn if this is root.
228 * utils/statd/statd.c: when statd forks, connect child to parent
229 with a pipe, and send a byte down the pipe once the child is
231 * Makefile: create and chown sm, sm.bak, state when "make install"
232 * configure.in: add --with-statduser= option which defaults to
233 "rpcuser" or "nobody"
234 * config.mk.in: pass "statduser" through to Makefile
236 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
238 * support/include/nfs/nfs.h: Make sure correct __kernel_dev_t is
239 used as the size was changed somewhere in 2.5.60-2.5.70. Without
240 this nfs-utils compiles against 2.6 headers will not work on a
243 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
245 * support/nfs/nfssvc.c(nfssvc): If /proc/fs/nfs/threads exists,
246 set number of threads by writing to there. This means it will
247 still work when the syscall interface goes away in 2.7.
249 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
250 fumihiko kakuma <kakmy@mvh.biglobe.ne.jp>
252 * utils/exportfs/exportfs.c(unexportfs): improve host comparison
253 so as to only export the wildcard exports that were asked for.
254 * support/export/export.c(export_allowed): changed to return the
255 nfs_export rather than a "struct exportent", as m_changed is
257 * support/export/rmtab.c(rmtab_read): modified to deal with
258 interface change for export_allowed(), and enhanced to preserve
259 m_changed flag when a wild-card export causes the creation of
260 a non-wildcard export.
262 2003-07-02 NeilBrown <neilb@cse.unsw.edu.au>
263 Steve Dickson <SteveD@redhat.com>
265 * utils/mountd/mountd.man: Add valid kinds of debugging.
266 * utils/mountd/mountd.c(main): ignore SIGPIPE
267 * utils/nfsstat/nfsstat.c: fine-tune printing of warning so
268 we don't get warnings about unavailable stats that weren't asked
271 2003-06-24 NeilBrown <neilb@cse.unsw.edu.au>
273 * support/nfs/nfsexport.c(exp_unexp): When unexporting filesystems
274 via /rpc/net/rpc/nfsd*/channel, set the expiry date to 1, not
275 'forever', so things disappear out of the cache rather than just
278 2003-06-16 "J. Bruce Fields" <bfields@fieldses.org>
280 * utils/mountd/cache.c(nfsd_fh): don't export the export_ent
283 2003-06-16 NeilBrown <neilb@cse.unsw.edu.au>
285 * debian/nfs-kernel-server.init,etc/nodist/nfs-server,
286 etc/redhat/nfs.init: when checking if V3 is supported, make sure
287 nfs server 'knows' about 127.0.0.1 first.
289 2003-06-10 Chip Salzenberg <chip@pobox.com>
291 * support/nfs/xlog.c (xlog): Fix off-by-one buffer overflow bug.
292 * debian/changelog: Version 1.0.3-2.
294 2003-05-30 Michael Griffith <grif@michaelgriffith.com>
295 NeilBrown <neilb@cse.unsw.edu.au>
297 utils/nfsstat/nfsstat.c(print_callstats): use unsigned
298 long long to avoid overflow when printing stats.
300 2003-05-30 NeilBrown <neilb@cse.unsw.edu.au>
302 * support/export/export.c, support/include/nfslib.h,
303 support/nfs/export.c, utils/exportfs/exportfs.c,
304 utils/mountd/mountd.c: new export option "mountpoint"
305 If no path is given, then the export point must be a
306 mount point, or it won't be exported. If a path is
307 given (e.g. mountpoint=/path) then that path must be
308 a mountpoint or the exportpoint won't be exported.
309 * utils/exportfs/exportfs.man: document mountpoint option.
310 * support/misc/mountpoint.c: New file with is_mountpoint()
311 to determine if something is a mountpoint.
313 2003-05-23 NeilBrown <neilb@cse.unsw.edu.au>
315 * utils/mountd/cache.c(cache_get_filehandle): take a separate path
316 argument as we might not be getting the filehandle for the
318 * utils/mountd/mountd.c(get_rootfh): pass real path when calling
319 cache_get_filehandle.
320 * utils/mountd/mountd.c(get_rootfh): check export point and
321 requested directory are on the same filesystem, and complain if
324 2003-05-22 NeilBrown <neilb@cse.unsw.edu.au>
326 * utils/mountd/auth.c(auth_authenticate_internal): make sure
327 portnumber is still checked when using new cache lookup.
329 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
331 * utils/exportfs/exportfs.c: Use check_new_cache and cache_flush
332 Don't actually talk to kernel when new cache is in effect, except
334 * utils/exportfs/exportfs.c: add -f option to fully flush cache.
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
338 * support/nfs/cacheio.c: Add cache_flush
339 * support/export/xtab.c: Only rename new xtab into place if it has
340 changed, thus preserving modify date for exportfs to use when
343 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
345 * support/export/client.c: Add client_compose, client_member to
346 handle new composite client names
347 * support/include/exportfs.h: Declare above functions.
348 * utils/mountd/auth.c: use client_compose to determine calling
349 client if new cache is being used.
350 * utils/mountd/auth.c: call cache_export to export a filesystem if
351 new_cache, check if new cache is used, and call my_svc_run instead
353 * utils/mountd/svc_run.c: new file defining my_svc_run
354 * utils/mountd/cache.c: new file for handling cache upcalls.
355 * support/nfs/cacheio.c(check_new_cache): new function to check if
356 new cache should be used.
359 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
361 * support/include/nfs/export.h: New CROSSMNT distinct from NOHIDE
362 * support/nfs/exports.c: Make CROSSMNT distinct from NOHIDE
363 * utils/exportfs/exportfs.c(dump): ditto
365 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
367 * support/export/hostname.c(get_reliable_hostbyaddr): new function
368 to get host name from address with full checking of authenticity.
369 * support/include/misc.h: declare above function
370 * utils/mountd/auth.c(auth_authenticate_internal): remove all
371 logic for authenticating address.
372 * utils/mountd/auth.c(auth_authenticate): call new
373 get_reliable_hostbyaddr to to hostname lookup before calling _internal.
376 2003-03-30 NeilBrown <neilb@cse.unsw.edu.au>
378 * tools/rpcgen/rpc_main.c(find_cpp): removed
379 * tools/rpcgen/rpc_main.c(open_input): use execvp to find "cpp",
380 then try hard-coded paths.
382 2003-03-26 Chip Salzenberg <chip@pobox.com>
384 * debian/changelog: Version 1.0.3-1.
386 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
388 * utils/mountd/rmtab.c (slink_safe_rename): real_newpath should be
389 "const char*", not "char*".
391 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
393 * configure.in (VERSION): Set to "1.0.3".
394 * nfs-utils.spec: Likewise.
395 * configure: Regenerated.
397 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
399 * support/nfs/cacheio.c: New File - support for read/writing
400 to export cache in /proc/rpc/*/channel
401 * support/nfs/Makefile: compile cacheio.c
402 * support/include/nfslib.h: declare cacheio.c functions
403 * support/nfs/nfsexport.c: export and unexport through
404 /proc/rpc/*/channel if possible, as old syscall interface
405 may not survive into 2.6 on all architectures.
407 2003-02-19 NeilBrown <neilb@cse.unsw.edu.au>
408 Ben Leslie <benno@sesgroup.net>
410 * support/nfs/rpcmisc.c(rpc_init): change test for ignoring
411 "defport" from (__rpcfdtype == 0) to (__rpcpmstart==0). The
412 former would incorectly ignore defport if the application
413 explicitly set __rpcfdtype. The later is sufficient to avoid the
414 special handling in the case where stdin is an internet socket.
416 * utils/mountd/mountd.c(main): Add 'n' to option list in
417 getopt_long as this is a short form of --no-tcp which want being
420 2003-02-12 Chip Salzenberg <chip@pobox.com>
422 * debian/changelog: Version 1.0.2-2.
424 2002-11-27 Chip Salzenberg <chip@pobox.com>
426 * utils/mountd/rmtab.c (slink_safe_rename): Fix off-by-one buffer
427 overflow bug. Reformat per rest of source file.
429 2002-11-19 NeilBrown <neilb@cse.unsw.edu.au>
431 * utils/exportfs/exports.man: Correct notes about whether the wild
432 card characters match a period. They do.
434 2002-10-15 Juan Gomez <juang@us.ibm.com>
436 * utils/mountd/rmtab.c (slink_safe_rename): New. Support
438 (mountlist_add): Call slink_safe_rename instead of rename.
440 2002-10-11 H.J. Lu <hjl@lucon.org>
442 * support/include/exportfs.h (export_errno): New.
444 * support/nfs/exports.c: Include <errno.h>.
446 (getexportent): Set export_errno to EINVAL for bad option.
447 (parseopts): Likewise.
448 Report the location of the default sync/async option.
450 * utils/exportfs/exportfs.c (main): Initialize export_errno to
451 0. Return export_errno.
453 2002-10-11 Juan Gomez <gomez@cs.sjsu.edu>
454 NeilBrown <neilb@cse.unsw.edu.au>
456 utils/statd/statd.c(killer): don't pmap_unset if in notify_only mode
457 utils/statd/statd.c(main): don't pmap_unset if in notify_only mode
459 2002-09-16 Chip Salzenberg <chip@pobox.com>
461 * utils/rquotad/rquota_svc.c (main): Use int for value of getopt.
463 2002-09-15 Chip Salzenberg <chip@pobox.com>
465 * support/nfs/rpcmisc.c (rpc_init): Allow stdin to be a non-INET
466 socket, as occurs when run from sshd.
467 * debian/changelog: Version 1.0.2-1.
469 2002-09-12 H.J. Lu <hjl@lucon.org>
471 * support/nfs/svc_socket.c: Remove HAVE_SVCTCP_SOCKET and
474 2002-09-12 H.J. Lu <hjl@lucon.org>
476 * configure.in: Remove checking svctcp_socket and svcudp_socket.
477 * configure: Regenerated.
479 * support/include/config.h.in (HAVE_SVCTCP_SOCKET): Removed.
480 (HAVE_SVCUDP_SOCKET): Removed.
482 * support/include/nfslib.h: Undo the last change.
484 2002-09-12 H.J. Lu <hjl@lucon.org>
486 * support/include/nfslib.h (svctcp_socket): Protect it with
488 (svcudp_socket): Protect it with HAVE_SVCUDP_SOCKET.
490 2002-09-12 H.J. Lu <hjl@lucon.org>
492 * configure.in (VERSION): Set to "1.0.2".
493 * configure: Regenerated.
494 * nfs-utils.spec: Likewise.
496 2002-09-12 H.J. Lu <hjl@lucon.org>
498 * configure.in: Check svctcp_socket and svcudp_socket.
499 * configure: Regenerated.
501 * support/include/config.h.in (HAVE_SVCTCP_SOCKET): New.
502 (HAVE_SVCUDP_SOCKET): New.
504 * support/include/nfslib.h (svctcp_socket): New.
505 (svcudp_socket): New.
507 * support/nfs/Makefile (OBJS): Add svc_socket.o.
509 * support/nfs/svc_socket.c: New.
511 * support/nfs/rpcmisc.c (rpc_init): Call svctcp_socket and
512 svcudp_socket if port is unspecified.
514 * utils/nfsd/nfsd.c (main): Call getservbyname for port.
516 * utils/rquotad/rquota_svc.c: Include <nfslib.h>.
517 (killer): New. Signal handler to unregister.
518 (main): Use killer. Call svcudp_socket to get the default
521 2002-09-02 Juan Gomez <juang@us.ibm.com>
522 NeilBrown <neilb@cse.unsw.edu.au>
524 Add -N option to statd to run in notify-only mode.
526 * utils/statd/statd.h: uncomment MODE_NOTIFY_ONLY
527 * utils/statd/statd.man: document -N
528 * utils/statd/statd.c: enabled -N, largely exists but needed to be
529 uncommented and completed
531 2002-09-02 Juan Gomez <juang@us.ibm.com>
532 NeilBrown <neilb@cse.unsw.edu.au>
534 statd to have " -P directory" arg to use that directory instead
535 of /var/lib/nfs. This is useful for fail-over clusters.
537 * utils/statd/statd.h: define SM_DIR etc as var, not const.
538 * utils/statd/statd.c: define "-P" option to set SM_*
540 * utils/statd/monitor.c: sprintf to cope with SM_DIR not being
542 * utils/statd/notify.c: ditto.
543 * utils/statd/statd.man: document -P option.
545 2002-08-26 Chip Salzenberg <chip@pobox.com>
547 * utils/nfsd/nfsd.man: Fix typo.
548 * debian/changelog: Version 1.0.1-1.
550 2002-05-29 NeilBrown <neilb@cse.unsw.edu.au>
552 * let parseopts know if /etc/exports was being read or not,
553 and have it only print "no sync or async" warning in that case.
555 2002-05-06 Tom McNeal <trmcneal@attbi.com>
556 NeilBrown <neilb@cse.unsw.edu.au>
558 * utils/nfsstat/nfsstat.c: Handle differing format for
559 /proc/net/rpc/nfsd between pre and post 2.4.0
561 2002-04-09 NeilBrown <neilb@cse.unsw.edu.au>
562 James Pearson <james-p@moving-picture.com>
564 * support/nfs/rmtab.c(fendrmtabent): sync changes to
565 storage before returning, as this is critical state
567 2002-04-08 Sean O'Connell <sean@ee.duke.edu>
568 H.J. Lu <hjl@lucon.org>
570 * etc/redhat/nfs: New.
572 2002-04-08 H.J. Lu <hjl@lucon.org>
574 * etc/redhat/nfs.init: Updated.
576 * nfs-utils.spec.in: Updated.
577 * nfs-utils.spec: Regenerated.
579 * utils/mountd/mountd.c (longopts): Fix a typo.
581 * utils/mountd/mountd.man: Updated.
583 2002-04-07 H.J. Lu <hjl@lucon.org>
585 * etc/redhat/nfslock.init (restart): Just do stop and start.
587 * etc/redhat/nfs.init: Fix a typo.
589 2002-04-07 H.J. Lu <hjl@lucon.org>
591 * configure.in (VERSION): Set to "1.0.1".
592 * configure: Regenerated.
593 * nfs-utils.spec: Likewise.
595 * README: Updated for 1.0.1.
597 2002-04-07 Sean O'Connell <sean@ee.duke.edu>
598 H.J. Lu <hjl@lucon.org>
600 * etc/redhat/nfs.init: Read /etc/sysconfig/nfsd for NFS tuning.
602 2002-02-28 Steven Whitehouse <steve@gw.chygwyn.com>
603 NeilBrown <neilb@cse.unsw.edu.au>
605 Add support for fsid=nn export option so that device
606 numbers don't go in filehandles.
607 * support/export/nfsctl.c(expsetup): if exporting and NFSEXP_FSID
608 is set, pass the fsid in-place of the device number
609 * support/nfs/exports.c: parse and print fsid= option.
610 Also check if efname has been set, and use "command line"
611 instead in error messages.
612 Also, use strtol instead of atoi for anon[ug]id= so that
613 bad numbers cause errors.
615 2002-01-17 Adrian Drzewiecki <drze@MissionCriticalLinux.com>
616 NeilBrown <neilb@cse.unsw.edu.au>
618 * support/nfs/exports.c: remove NFSEXP_ASYNC as a default
619 flag so that "sync" becomes the default.
620 Check that either "sync" or "async" is given as an option
621 and warn if neither are present
622 * utils/exportfs/exports.man: change documentation for "sync"
623 to be documentation for "async".
624 * utils/exportfs/exportfs.man: note that "sync" is the default
628 2002-01-02 Chip Salzenberg <chip@pobox.com>
630 * support/export/nfsctl.c (expsetup): Don't export entries that
631 specify id mappings not supported by the kernel. No extant kernel
632 supports any significant mapping, only 'identity' (i.e. none).
633 When other mappings are supported, this code will need changing.
634 * debian/changelog: Version 1.0-2.
636 2001-12-26 Chip Salzenberg <chip@pobox.com>
638 * nfs-utils.spec (Version): Set to "1.0".
639 * configure.in (VERSION): Likewise.
640 * configure: Regenerated.
642 * debian/changelog: Version 1.0-1.
644 * utils/exportfs/exports.man: Emphasize the need for options to
645 immediately follow client names. Explain that wildcards don't
646 usually work on addresses, but may work when reverse DNS fails.
647 Comment out a leftover TP that was TPing our indentation.
648 * utils/mountd/mountd.man, utils/rquotad/rquotad.man,
649 utils/statd/statd.man: Remove refs to non-existent "hosts_allow(5)".
650 * debian/changelog: Version 0.3.3-6.
652 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
654 * support/export/client.c(client_lookup): If a host has multiple
655 IP addresses, then we must always use the result of a
656 gethostbyname, not that of gethostbyaddr for exporting
658 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
660 * support/export/client.c (client_lookup): use strcasecmp when
662 * support/nfs/export.c (getexportent): add fromkernel arg and use
663 different defaults as kernels prior to 2.4.11 assume different
664 defaults in /proc/fs/nfs/exports
665 * support/include/nfslib.h, support/export/export.c,
666 support/export/xtab.c: support extra "fromkernel" arg for
669 2001-12-13 Chip Salzenberg <chip@pobox.com>
671 * debian/changelog: Version 0.3.3-5.
673 2001-11-26 TAKAI Kousuke <takai@vlsi.kuee.kyoto-u.ac.jp>
675 * support/nfs/xio.c (xskip): Call `xungetc' instead of
676 `ungetc' to keep x_line more properly.
678 2001-11-26 Chip Salzenberg <chip@pobox.com>
680 * utils/showmount/showmount.c (main): Don't assume that strings
681 starting with digits are IP addresses.
682 * utils/nfsd/nfsd.c (main): Close all fds and reopen 0,1,2 on
683 /dev/null before nfssvc(). Use syslog to report nfssvc errors.
684 * support/misc/tcpwrapper.c, utils/mountd/mountd.man,
685 utils/rquotad/rquotad.man, utils/statd/statd.man: Fix comments and
686 man pages: We check host names *and* addresses with tcpwrappers.
687 * debian/changelog: Version 0.3.3-4.
689 2001-11-21 Chip Salzenberg <chip@pobox.com>
691 * support/nfs/clients.c (cfname): Added: current clients file name.
692 (setnfsclntent): Set it.
693 ({get,end}nfsclntent, syntaxerr): Use it.
694 * support/nfs/exports.c (efname): Added: current exports file name.
695 (setnfsexportent): Set it.
696 (endnfsexportent, parseopts, getexport, syntaxerr): Use it.
697 (parseopts): Accept old-style "crossmnt" option, for old xtabs.
698 * debian/changelog: Version 0.3.3-3.
700 2001-10-11 Chip Salzenberg <chip@pobox.com>
702 * utils/mountd/mountd.c (main): Close fds > 2 _before_ RPC init.
703 * debian/changelog: Version 0.3.3-2.
705 2001-10-08 Chip Salzenberg <chip@pobox.com>
707 * utils/mountd/mountd.c (main): When daemonizing, close all fds > 2.
708 * utils/Makefile.in: Remove old Makefile in target 'distclean'.
709 * utils/mountd/mountd.man: Update paths to /var/lib.
710 * debian/*: Version 0.3.3-1, with Debian-specific fixes.
712 2001-10-06 Preston Brown <pbrown@redhat.com>
714 * utils/nfsstat/nfsstat.man: Updated.
716 2001-09-24 H.J. Lu <hjl@lucon.org>
718 * configure.in (VERSION): Set to "0.3.3".
719 * configure: Regenerated.
720 * nfs-utils.spec: Likewise.
722 * README: Updated for 0.3.3.
724 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
726 Arrange that "exportfs -au" never does DNS lookup:
728 * support/export/client.c (client_lookup) : add "canonical"
729 flag which says that the hostname is known to be canonical, so
732 * support/export/export.c (export_create) : add "canonical"
733 flag to be passed down to client_lookup
734 * support/export/export.c (export_lookup) : Likewise
736 * support/export/xtab.c (xtab_read) : pass appropriate
737 "canonical" flag to export_lookup and export_create:
738 set if reading list of filesystems currently exports
741 * support/export/export.c (export_read) : pass 0 as
742 "canonical" flag to export_lookup and export_create
743 * support/export/rmtab.s (rmtab_read) : Likewise
745 * support/include/exportfs.h : redeclare various routines
746 to have "canonical" flag
748 * utils/exportfs/exportfs.c (main) : redo logic for
749 "-au" to read in what is currently exported, but never even
750 look at what "should" be exported.
752 * utils/exportfs/exportfs.c (unexportall) : remove this
753 routine. Functionality is completely included in
756 * utils/exportfs/exportfs.c (exportfs) : set "canonical"
757 flag to zero in calls to export_lookup and export_create.
760 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
761 Anne Milicia <milicia@missioncriticallinux.com>
763 * support/export/client.c (client_lookup) call gethostbyadd
764 to make sure that we have a canonical hostname, even for
766 * utils/exportfs/exportfs.c (exportfs) Likewise
768 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
770 * support/nfs/exports.c (putexportent): \octal quote any spaces
772 * support/nfs/xio.c (xgettok): recognise double-quote and
773 \octal quoting in path names
774 * utils/exportfs/exports.man: document quoting conventions
777 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
779 * utils/mountd/auth.c (auth_authenticate_internal): Reverse
780 change from 2000-08-02: It causes problems if someone exports
781 to both a hostname and IP addresses. nfs-utils must be
782 consistant about the canonical name that it chooses.
784 2001-08-17 Ragnar Kjørstad <nfs@ragnark.vestdata.no>
785 H.J. Lu <hjl@lucon.org>
787 * etc/redhat/nfslock.init (STATDARG): New. Pass it to rpc.statd.
789 * utils/statd/statd.c (longopts): Add "name".
790 (usage): Add "-n/--name".
791 (main): Set MY_NAME with "-n/--name".
793 * utils/statd/state.c (change_state): Set MY_NAME only if it
796 * utils/statd/statd.man: Updated for "-n/--name".
798 2001-07-26 H.J. Lu <hjl@lucon.org>
800 * nfs-utils.spec (Release): Set to 8.
802 2001-07-25 H.J. Lu <hjl@lucon.org>
804 * etc/redhat/nfs.init: Check if rpc.rquotad exists before doing
807 2001-06-27 H.J. Lu <hjl@lucon.org>
809 * etc/redhat/nfs.init: Run rpc.rquotad only if it exists.
811 2001-06-27 H.J. Lu <hjl@lucon.org>
813 * utils/rquotad/rquota_server.c: Don't call statfs () for
814 the block size. Use BLOCK_SIZE instead.
816 2001-06-27 H.J. Lu <hjl@lucon.org>
818 * config.mk.in (CC_FOR_BUILD): Renamed from BUILD_CC.
819 (CFLAGS_FOR_BUILD): New. Don't use @CFLAGS@.
821 * configure.in (enable_nfsv3): Set to yes by default.
822 (--enable-rquotad): Added
823 (AC_PROG_CXX): Removed.
824 (AC_OUTPUT): Add utils/Makefile.
825 (CC_FOR_BUILD): Renamed from BUILD_CC.
826 * configure: Regenerated.
828 * utils/Makefile: Removed.
830 * utils/Makefile.in: New.
832 * nfs-utils.spec.in (rquotad): New. Set to 0 to disable
834 (CC_FOR_BUILD): Renamed from BUILD_CC.
835 * nfs-utils.spec: Regenerated.
837 2001-06-15 Chip Salzenberg <chip@debian.org>
839 * debian/changelog: Version 0.3.2-2.
840 * debian/*.init: Minor fixes.
842 2001-06-07 Lon H. Hohberger <hohberger@missioncriticallinux.com>
844 * etc/nodist/nfs-server: Fixed a bug where the script would
845 disable mounts from NFSv3 clients if NFSv3 is present.
847 2001-06-05 H.J. Lu <hjl@lucon.org>
849 * utils/mountd/mountd.c (longopts): Add "descriptors/o".
850 (main): Support --descriptors/-o to set the limit of the number
851 of open file descriptors.
854 * utils/mountd/mountd.man: Updated for --descriptors/-o.
856 2001-06-04 H.J. Lu <hjl@lucon.org>
858 * nfs-utils.spec (Release): Set to 6.
860 2001-05-28 H.J. Lu <hjl@lucon.org>
862 * utils/lockd/lockd.c (main): chdir to NFS_STATEDIR.
863 * utils/mountd/mountd.c (main): Likewise.
864 * utils/nfsd/nfsd.c (main): Likewise.
865 * utils/rquotad/rquota_svc.c (main): Likewise.
867 2001-05-06 Anne Milicia <milicia@missioncriticallinux.com>
869 * support/export/client.c (client_check): Check IP address
872 2001-05-06 Neil Brown <neilb@cse.unsw.edu.au>
874 * support/export/client.c (client_gettype): Treat `*' as
877 2001-04-22 H.J. Lu <hjl@lucon.org>
879 * nfs-utils.spec.in: Fix a typo.
880 * nfs-utils.spec: Regenerated.
882 2001-04-21 H.J. Lu <hjl@lucon.org>
884 * nfs-utils.spec.in: Fix cross build.
885 * nfs-utils.spec: Regenerated.
888 2001-04-18 H.J. Lu <hjl@lucon.org>
890 * nfs-utils.spec.in: Support cross build.
891 * nfs-utils.spec: Regenerated.
897 * config.mk.in (BUILD_CC): New.
898 (CC): Set to $(BUILD_CC) if BUILD is defined.
901 (RANLIB): Set to @RANLIB@.
903 * configure.in: Check BUILD_CC, RANLIB, AR and LD.
904 * configure: Regenerated.
906 * tools/rpcgen/Makefile (BUILD): Set to true.
908 2001-04-01 Chip Salzenberg <chip@valinux.com>
910 * tools/rpcgen/rpc_svcout.c (write_timeout_func): Remove
911 redundant, and sometimes broken, declaration of svc_fdset;
913 * support/nfs/rpcmisc.c (closedown): Likewise.
915 2001-03-21 H.J. Lu <hjl@lucon.org>
917 * nfs-utils.spec: Regenerated.
920 2001-03-21 Ion Badulescu <ionut@cs.columbia.edu>
922 * utils/statd/statd.c (main): make sure file descriptors 0-2
923 are open to /dev/null.
925 2001-03-21 H.J. Lu <hjl@lucon.org>
927 * support/nfs/rpcmisc.c: Restore the change made on 2001-03-10.
928 * support/nfs/rpcmisc.c: Likewise.
929 * utils/rquotad/rquota_svc.c: Likewise.
930 * utils/rquotad/rquotad.man: Likewise.
931 * utils/statd/Makefile: Likewise.
932 * utils/statd/rmtcall.c: Likewise.
933 * utils/statd/simulate.c: Likewise.
934 * utils/statd/statd.c: Likewise.
935 * utils/statd/statd.man: Likewise.
937 2001-03-11 H.J. Lu <hjl@lucon.org>
939 * configure.in (RELEASE): New. Default to 1, set by
940 --with-release=XXX. Substitute nfs-utils.spec.
941 * nfs-utils.spec.in (Release): Set to @RELEASE@.
942 * configure: Regenerated.
943 * nfs-utils.spec: Likewise.
945 2001-03-11 H.J. Lu <hjl@lucon.org>
947 * utils/rquotad/rquotad.man: Fix a typo.
949 2001-03-11 H.J. Lu <hjl@lucon.org>
951 * support/include/rpcmisc.h: Undo the change made on 2001-03-10.
952 * support/nfs/rpcmisc.c: Likewise.
953 * utils/rquotad/rquota_svc.c: Likewise.
954 * utils/rquotad/rquotad.man: Likewise.
955 * utils/statd/Makefile: Likewise.
956 * utils/statd/rmtcall.c: Likewise.
957 * utils/statd/simulate.c: Likewise.
958 * utils/statd/statd.c: Likewise.
959 * utils/statd/statd.man: Likewise.
961 2001-03-10 H.J. Lu <hjl@lucon.org>
963 * configure.in (VERSION): Set to "0.3.2".
964 * configure: Regenerated.
965 * nfs-utils.spec: Likewise.
967 * README: Updated for 0.3.2.
969 2001-03-10 Tavis Barr <tavis@boole.isetr.columbia.edu>
971 * utils/rquotad/rquotad.man: Updated for -p.
972 * utils/statd/statd.man: Likewise.
974 2001-03-10 Ion Badulescu <ionut@cs.columbia.edu>
976 * support/nfs/rpcmisc.c: export makesock()
978 * support/include/rpcmisc.h (makesock): Declared.
980 * utils/rquotad/rquota_svc.c: added longopts, added support for
981 specifying the port to bind to on the command line.
983 * utils/statd/statd.c: ditto, also specify port used for
984 outgoing connections.
985 (do_regist): Removed.
987 * utils/statd/rmtcall.c (statd_get_socket): Renamed from
988 get_socket. Make it extern.
990 * utils/statd/simulate.c (daemon_simulator): Call rpc_init
991 instead of do_regist.
993 * utils/statd/Makefile (LIBS): link with our own libnfs
995 2001-03-09 H.J. Lu <hjl@lucon.org>
997 * etc/redhat/nfslock.init: Changed chkconfig line to 60 86.
998 * etc/nodist/nfs-client: Likewise.
1000 2001-02-26 Chip Salzenberg <chip@valinux.com>
1002 * debian/changelog: Version 0.3.1-1.
1003 * Mention upstream source and license in copyright file.
1004 * Add build-Depends for debhelper and libwrap0-dev.
1006 2001-02-20 Lon Hohberger <hohberger@missioncriticallinux.com>
1008 * etc/nodist/nfs-server: Changed chkconfig line to 60 20
1009 * etc/nodist/nfs-client: Likewise.
1011 2001-02-18 Lon Hohberger <hohberger@missioncriticallinux.com>
1013 * utils/statd/statd.man: Changed /usr/sbin/rpc.statd to
1016 2001-02-17 Patrick J. LoPresti <patl@curl.com>
1018 * utils/statd/log.c (log_init): Use LOG_DAEMON instead of
1021 2001-02-14 H.J. Lu <hjl@lucon.org>
1023 * utils/statd/rmtcall.c: Include <time.h>.
1024 * utils/statd/svc_run.c: Likewise.
1026 2001-02-14 H.J. Lu <hjl@lucon.org>
1028 * configure.in (VERSION): Set to "0.3.1".
1029 * configure: Regenerated.
1030 * nfs-utils.spec: Likewise.
1032 * README: Updated for 0.3.1.
1034 2001-02-14 H.J. Lu <hjl@lucon.org>
1036 * support/nfs/rpcmisc.c: Include <time.h>.
1038 2001-02-14 Chip Salzenberg <chip@valinux.com>
1040 * debian/control: Change priority of nhfsstone package to 'extra'.
1042 2001-02-12 Chip Salzenberg <chip@valinux.com>
1044 * debian/changelog: Version 0.3-2.
1046 2001-02-02 H.J. Lu <hjl@lucon.org>
1048 * support/include/rpcmisc.h (rpc_init): Remove bufsize.
1050 * support/nfs/rpcmisc.c (makesock): Remove socksz and comment
1051 out SO_SNDBUF/SO_RCVBUF.
1052 (rpc_init): Remove bufsize and remove socksz in calls to
1055 * utils/mountd/mountd.c (main): Remove bufsize in calls to
1058 2001-01-28 Chip Salzenberg <chip@valinux.com>
1060 * debian/changelog: Version 0.3-1.
1062 2001-01-25 H.J. Lu <hjl@lucon.org>
1064 * configure.in (VERSION): Set to "0.3".
1065 * configure: Regenerated.
1066 * nfs-utils.spec: Likewise.
1068 * README: Updated for 0.3.
1070 2001-01-25 H.J. Lu <hjl@lucon.org>
1072 * utils/lockd/lockd.c (main): Ignore errno == EINVAL.
1074 2001-01-20 Chip Salzenberg <chip@valinux.com>
1076 * support/include/xio.h (xgetc): Declare to return int.
1077 * support/nfs/xio.c (xgetc): Return int.
1078 (xgettok, xskip, xskipcomment): Use int for value of xgetc.
1079 * utils/statd/statd.c (main): Use int for value of getopt.
1080 * debian/changelog: Version 0.2.1-5.
1082 2000-12-10 Chip Salzenberg <chip@valinux.com>
1084 * utils/statd/monitor.c (sm_mon_1_svc): Fix buggy check for
1085 program and procedure numbers of kernel lockd's callback. Also,
1086 besides the old (and broken) procedure #24, allow #16 per Trond.
1088 2000-12-03 Chip Salzenberg <chip@valinux.com>
1090 * support/nfs/xio.c (xfopen): Initialize x_line to one, not zero.
1091 * debian/control: Let nhfsstone replace files in nfs-kernel-server.
1092 * debian/changelog: Version 0.2.1-4.
1094 2000-11-27 Tobias Ringstrom <tori@tellus.mine.nu>
1096 * utils/mountd/auth.c (auth_authenticate): Log the bad path
1099 2000-11-24 Neil Brown <neilb@cse.unsw.edu.au>
1101 * support/nfs/exports.c (getexportent): Check for host name
1102 without option, or options without hostname, and print a warning,
1103 as this is most likely a typo.
1105 2000-11-19 Chip Salzenberg <chip@valinux.com>
1107 * debian/control: Add dependency on portmap.
1108 * debian/changelog: Version 0.2.1-3.
1110 2000-11-10 H.J. Lu <hjl@lucon.org>
1112 * nfs-utils.spec.in: Don't use libtool.
1113 Add ChangeLog and COPYING to doc.
1114 * nfs-utils.spec: Rebuild.
1116 2000-11-09 H.J. Lu <hjl@lucon.org>
1118 * etc/redhat/nfs.init (start): Back out the last change.
1120 2000-11-09 H.J. Lu <hjl@lucon.org>
1122 * etc/redhat/nfs.init (start): Pass --no-tcp to mountd if
1123 TCP is not supported by kernel.
1125 * support/nfs/rpcmisc.c (rpc_init): Don't set _rpcfdtype to 0.
1127 * utils/mountd/mountd.c (longopts): Add "-n/--no-tcp".
1128 (main): Set to _rpcfdtype to SOCK_DGRAM for "-n/--no-tcp".
1130 * utils/mountd/mountd.man: Updated for "-n/--no-tcp".
1132 2000-10-24 Lon Hohberger <hohberger@missioncriticallinux.com>
1134 * utils/statd/callback.c: Fix bug preventing callbacks to local lockd.
1135 * utils/statd/rmtcall.c: Add some IP address paranoia when doing
1136 callbacks to local lockd.
1138 2000-10-18 Scott McDermott <mcdermot@questra.com>
1140 * utils/exportfs/exports.man: Updated for CIDR netmask.
1142 2000-10-17 Scott McDermott <mcdermot@questra.com>
1144 * support/export/client.c (client_init): Support CIDR netmask
1147 2000-10-11 H.J. Lu <hjl@lucon.org>
1149 * aclocal.m4 (AC_TCP_WRAPPER): Fix a typo.
1150 * configure: Rebuilt.
1152 2000-10-06 Lon Hohberger <hohberger@missioncriticallinux.com>
1154 * utils/statd/statd.man: Change "/var/lib/nfs/sm/state" to
1155 "/var/lib/nfs/state".
1157 2000-10-05 Lon Hohberger <hohberger@missioncriticallinux.com>
1159 * utils/statd/statd.h (run_mode): New global bitmask of runtime
1160 behaviors: fg/bg, logging, etc.
1161 * utils/statd/statd.c: New command line options: -V -h -? -d .
1162 * utils/statd/statd.man: Update for changes to statd.
1164 * utils/statd/log.h (log_init): Remove parameter of function; use
1165 global variable "name_p" instead.
1166 * utils/statd/log.c: Add support for logging to stderr.
1168 * utils/statd/notlist.c: Partially rewrite notify list handling
1169 functions. Eliminate run-off-end-of-list bug when calling
1170 nlist_insert_timer. Add lots of comments.
1172 2000-09-27 H.J. Lu <hjl@lucon.org>
1174 * README: Updated for RedHat 7.0.
1176 2000-09-27 H.J. Lu <hjl@lucon.org>
1178 * nfs-utils.spec: Rebuild.
1180 2000-09-27 H.J. Lu <hjl@lucon.org>
1182 * README: Updated for 0.2.1.
1184 2000-09-27 H.J. Lu <hjl@lucon.org>
1186 * nfs-utils.spec.in: Updated to use rpm macros and support
1189 2000-09-25 H.J. Lu <hjl@lucon.org>
1191 * configure.in (VERSION): Set to "0.2.1".
1192 * configure: Regenerated.
1193 * nfs-utils.spec: Updated.
1195 2000-09-25 H.J. Lu <hjl@lucon.org>
1197 * utils/mountd/auth.c (auth_authenticate_internal): Make sure a
1198 non-NULL hostent is always returned.
1200 2000-09-11 Ion Badulescu <ionut@cs.columbia.edu>
1202 * etc/redhat/nfslock.init: don't kill lockd processes that do not
1203 have an executable (i.e. kernel threads)
1205 2000-09-01 H.J. Lu <hjl@lucon.org>
1207 * README: Updated for 0.2.
1209 2000-09-01 Jay Weber <jweber@valinux.com>
1211 * etc/redhat/nfs.init: Added ability for rpc.mountd to default to
1212 supporting version 3 of nfs if available, else it will fall back to
1213 version 2 support only.
1215 2000-08-30 H.J. Lu <hjl@lucon.org>
1217 * configure.in (VERSION): Set to "0.2".
1218 * configure: Regenerated.
1219 * nfs-utils.spec: Updated.
1221 2000-08-25 H.J. Lu <hjl@lucon.org>
1223 * support/misc/tcpwrapper.c (logit): Modify the log output.
1225 2000-08-25 Ion Badulescu <ionut@cs.columbia.edu>
1227 * utils/rquotad/rquotad.man, utils/statd/statd.man,
1228 utils/mountd/mountd.man: updated
1230 * utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL)
1231 * utils/rquotad/Makefile: fix comment
1233 * support/misc/tcpwrapper.c (logit): added comment about waiting
1234 for the children after fork()
1236 * utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving
1237 zombies behind (from logit()'s fork)
1238 * utils/rquotad/rquota_svc.c (main): ditto
1239 * utils/statd/statd.c (main): ditto
1241 * utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG
1242 to check_default instead of 0, for prognum
1244 * utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG
1245 to check_default instead of 0, for prognum
1247 * utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if
1248 HAVE_TCP_WRAPPER is defined.
1249 (mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is
1250 defined. Reject an RPC call if check_default () fails.
1252 2000-08-25 H.J. Lu <hjl@lucon.org>
1254 * support/include/tcpwrapper.h: New for the tcp wrapper
1256 * support/misc/Makefile: Likewise.
1257 * support/misc/from_local.c: Likewise.
1258 * support/misc/tcpwrapper.c: Likewise.
1260 * aclocal.m4 (AC_TCP_WRAPPER): New.
1261 * configure.in: Use it. Substitute LIBWRAP.
1262 * configure: Rebuilt.
1264 * config.mk.in (LIBNSL): New.
1265 (LIBWRAP): Likewise.
1267 * support/Makefile (SUBDIRS): Add misc.
1269 * support/lib/Makefile (LIBS): Add libmisc.a.
1271 * utils/rquotad/Makefile (LIBS): Add
1273 -lmisc $(LIBWRAP) $(LIBNSL)
1275 * utils/statd/Makefile (LIBS): Likewise.
1277 * utils/rquotad/rquota_svc.c: Include "tcpwrapper.h" if
1278 HAVE_TCP_WRAPPER is defined.
1279 (rquotaprog_1): Call check_default () if HAVE_TCP_WRAPPER is
1280 defined. Reject an RPC call if check_default () fails.
1282 * utils/statd/statd.c: Include "tcpwrapper.h" if
1283 HAVE_TCP_WRAPPER is defined.
1284 (sm_prog_1_wrapper): New. A wrapper for sm_prog_1. Call
1285 check_default () before calling sm_prog_1 (). Define it as
1286 sm_prog_1_wrapper if HAVE_TCP_WRAPPER is defined.
1288 2000-08-25 Chip Salzenberg <chip@valinux.com>
1290 * debian/*: Complete Debian build support.
1291 * etc/debian/*: Remove.
1293 2000-08-24 Neil Brown <neilb@cse.unsw.edu.au>
1295 * support/export/client.c(client_check): removed the "dot+1" as a
1296 ypdomain argument to innetgr as this is entirely bogus.
1297 It should always be NULL.
1299 2000-08-23 Neil Brown <neilb@cse.unsw.edu.au>
1301 * support/export/xtab.c(xtab_read): introduce new mode for
1302 reading xtab. i.e. a list of exports that might be known to the
1303 kernel, or might not. These are flagged as m_exported == -1
1304 * support/export/xtab.c(xtab_mount_read): call xtab_read with new
1305 value "2" for xtab, meaning don't trust this too much.
1306 * support/include/exportfs.h(struct mexport): changed m_exported
1307 from one bit to an int so that it can hold new value
1308 * utils/exportfs/exportfs.c(exportfs_ipdate): add an export to the
1309 kernel if it is uncertain whether the kernel knows (m_exported == -1)
1310 * utils/mountd/mountd.c(get_rootfh): similarly export to kernel if
1313 * support/nfs/xio.c(xflock): added O_CREAT when getting
1314 a write lock so that missing files aren't fatal.
1316 * etc/debian/nfs-common: new file from "potato"
1317 * etc/debian/nfs-kernel-server: new file from "potato" plus fixes.
1319 2000-08-09 H.J. Lu <hjl@lucon.org>
1321 * etc/redhat/nfs.init: Run /usr/sbin/exportfs first during
1322 startup to ensure all existing clients work fine.
1324 * support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0
1325 to xtab_read () for reading _PATH_XTAB.
1327 2000-08-02 H.J. Lu <hjl@lucon.org>
1329 * utils/mountd/auth.c (auth_authenticate_internal): Try to
1330 avoid the reverse name lookup.
1332 2000-07-04 H.J. Lu <hjl@lucon.org>
1334 * utils/statd/log.c: Include <stdlib.h> for exit ().
1336 * utils/statd/misc.c (xunlink): Add `{' and `}' to quiet the
1339 2000-07-04 H.J. Lu <hjl@lucon.org>
1341 * configure.in (VERSION): Set to "0.1.9.1".
1342 * configure: Regenerated.
1343 * nfs-utils.spec: Updated.
1347 2000-07-04 Neil Brown <neilb@cse.unsw.edu.au>
1349 * support/export/hostname.c (hostent_dup): Handle the NULL
1352 2000-07-03 H.J. Lu <hjl@lucon.org>
1354 * README: Update the util-linux requirement.
1356 2000-07-03 H.J. Lu <hjl@lucon.org>
1358 * configure.in (VERSION): Set to "0.1.9".
1359 * configure: Regenerated.
1360 * nfs-utils.spec: Updated.
1364 2000-07-03 H.J. Lu <hjl@lucon.org>
1366 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
1367 stop to ensure all clients can still access the server
1368 before it is shutdown.
1370 2000-06-30 Jeff Uphoff <juphoff@transmeta.com>
1372 * tools/rpcgen/rpc_svcout.c (write_msg_out): Generate syslog()
1373 calls with format string.
1375 2000-06-28 Chip Salzenberg <chip@valinux.com>
1377 * utils/statd/log.c (log): Call syslog with format string.
1379 2000-06-27 H.J. Lu <hjl@lucon.org>
1381 * utils/statd/statd.c (main): Use sysconf (_SC_OPEN_MAX)
1382 instead of OPEN_MAX.
1384 2000-06-27 H.J. Lu <hjl@lucon.org>
1388 2000-06-27 H.J. Lu <hjl@lucon.org>
1390 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
1391 startup to ensure all existing clients are exported.
1393 * configure.in (VERSION): Set to "0.1.8.2".
1394 * configure: Regenerated.
1395 * nfs-utils.spec: Updated.
1397 2000-06-06 H.J. Lu <hjl@lucon.org>
1399 * configure.in (VERSION): Set to "0.1.8.1".
1400 * configure: Regenerated.
1401 * nfs-utils.spec: Updated.
1403 2000-06-06 H.J. Lu <hjl@lucon.org>
1405 * utils/mountd/mountd.c (mount_dump_1_svc): Cast svc_getcaller
1406 to "struct sockaddr_in *" for glibc 2.2.
1407 (mount_umnt_1_svc): Likewise.
1408 (mount_umntall_1_svc): Likewise.
1409 (mount_export_1_svc): Likewise.
1410 (mount_exportall_1_svc): Likewise.
1411 (mount_pathconf_2_svc): Likewise.
1412 (get_rootfh): Likewise.
1414 2000-06-04 H.J. Lu <hjl@lucon.org>
1416 * etc/redhat/nfs.init: Fix a typo in comment.
1418 2000-05-31 H.J. Lu <hjl@lucon.org>
1420 * configure.in (VERSION): Set to "0.1.8".
1421 * configure: Regenerated.
1422 * nfs-utils.spec: Updated.
1426 2000-05-31 H.J. Lu <hjl@lucon.org>
1428 * configure.in (VERSION): Set to "0.1.7.5".
1429 * configure: Regenerated.
1430 * nfs-utils.spec: Updated.
1432 * support/include/nfslib.h (exportent): Add a new field,
1433 r_count, to count the number of mounts from a client.
1434 (getrmtabent): Take a new argument for position in file.
1435 (putrmtabent): Likewise.
1436 (fgetrmtabent): Likewise.
1437 (fputrmtabent): Likewise.
1438 * support/nfs/rmtab.c (getrmtabent): Handle the new argument
1439 for position in file.
1440 (fgetrmtabent): Likewise.
1441 (putrmtabent): Likewise.
1442 (fputrmtabent): Likewise.
1444 * support/nfs/rmtab.c (fgetrmtabent): Get value for the new
1447 * support/export/rmtab.c (rmtab_read): Pass NULL as the new
1448 argument to getrmtabent (), fgetrmtabent (), putrmtabent ()
1449 and fputrmtabent ().
1450 * utils/mountd/rmtab.c (mountlist_add): Likewise.
1451 (mountlist_del): Likewise.
1452 (mountlist_del_all): Likewise.
1453 (mountlist_list): Likewise.
1455 * utils/mountd/rmtab.c (mountlist_add): Increment "r_count"
1456 for the existing entry and initialize "r_count" to 1.
1457 (mountlist_del): Decrement "r_count".
1459 2000-05-18 H.J. Lu <hjl@lucon.org>
1461 * configure.in (VERSION): Set to "0.1.7.4".
1462 * configure: Regenerated.
1463 * nfs-utils.spec: Updated.
1465 2000-05-18 H.J. Lu <hjl@lucon.org>
1467 * etc/redhat/nfs.init (restart): Just do stop and start.
1469 2000-05-09 Jay Weber <jweber@valinux.com>
1471 * utils/rquotad/hasquota.c: added support for ext3 recognition
1473 * utils/rquotad/mntent.h: Likewise.
1475 2000-05-01 H.J. Lu <hjl@lucon.org>
1477 * configure.in (VERSION): Set to "0.1.7.3".
1478 * configure: Regenerated.
1479 * nfs-utils.spec: Updated.
1481 2000-05-01 H.J. Lu <hjl@lucon.org>
1483 * utils/rquotad/rquota_server.c (getquotainfo): Skip bad
1484 mounting poins in /etc/fstab.
1486 2000-05-01 H.J. Lu <hjl@lucon.org>
1488 * configure.in (VERSION): Set to "0.1.7.2".
1489 * configure: Regenerated.
1490 * nfs-utils.spec: Updated.
1492 2000-05-01 H.J. Lu <hjl@lucon.org>
1494 * utils/rquotad/rquota_server.c (getquotainfo): Call stat ()
1495 to check for the mounting point.
1497 2000-04-29 Chip Salzenberg <chip@valinux.com>
1498 Neil Brown <neilb@cse.unsw.edu.au>
1500 * Really re-use RPC ports.
1501 (Fixes earlier patch. Sorry, Neil.)
1503 2000-04-26 H.J. Lu <hjl@lucon.org>
1505 * configure.in (VERSION): Set to "0.1.7.1".
1506 * configure: Regenerated.
1507 * nfs-utils.spec: Updated.
1509 2000-04-26 H.J. Lu <hjl@lucon.org>
1511 * etc/redhat/nfslock.init: Check if lockd exits before killing
1514 2000-04-25 H.J. Lu <hjl@lucon.org>
1516 * README: Require util-linux-2.10f-mount-rpc.patch for mount.
1518 2000-03-21 Michael Weiser <michael@weiser.saale-net.de>
1520 * support/nfs/exports.c (parsesquash): Correctly set the
1523 Tue Mar 21 11:38:48 EST 2000 NeilBrown <neilb@cse.unsw.edu.au>
1525 * support/include/nfs/nfs.h: Removed knowledge of internals of
1526 kernel filehandles (which can change) and defined nfs_fh_size
1527 which has variable size
1529 * support/nfs/getfh.c: defined getfh_size to use new syscall to
1530 get variable sized file handles, and change getfh{,old} to
1533 * utils/mountd/mountd.c: use nfd_fh_size and call getfh_size for
1536 * tools/Makefile, tools/nlmtest/nlmtest.c
1537 nlmtest.c depended on internel format of file handles, so now
1541 2000-03-12 Chip Salzenberg <chip@valinux.com>
1542 Neil Brown <neilb@cse.unsw.edu.au>
1544 * support/nfs/rpcmisc.c (rpc_init): Share transports.
1546 2000-03-13 H.J. Lu <hjl@lucon.org>
1548 * etc/redhat/nfsd.init: Updated.
1550 * etc/redhat/nfslock.init: Updated.
1552 * nfs-utils.spec.in: Updated.
1554 * configure.in (VERSION): Set to "0.1.7".
1555 * configure: Regenerated.
1556 * nfs-utils.spec: Updated.
1560 Wed Mar 8 09:42:43 2000 Neil Brown <neilb@cse.unsw.edu.au>
1562 * utils/exportfs/exportfs.c (dump): Included printing of
1563 nohide, no_subtree_check, and insecure_locks
1565 2000-02-26 Chip Salzenberg <chip@valinux.com>
1567 * config.mk.in (INSTALLSUID): Strip ("-s").
1568 (INSTALLSCRIPT): Define.
1569 * utils/nhfsstone/Makefile: Use it.
1571 2000-02-26 Chip Salzenberg <chip@valinux.com>
1573 * utils/lockd/lockd.man: Create.
1574 * utils/lockd/Makefile: Install it.
1575 * utils/nhfsstone/nhfs{run,nums,graph}.man: Create.
1576 * utils/nhfsstone/nhfsstone.man: Change suffix from ".1".
1577 * utils/nhfsstone/Makefile: Install the helper scripts and
1579 * utils/exportfs/exports.man: Fix typo.
1581 2000-02-26 Chip Salzenberg <chip@valinux.com>
1583 * support/nfs/xio.c (xungetc): Decrement line number when
1584 character to unget is newline. Make first parameter int, so
1585 it can distinguish EOF from \377.
1586 * support/include/xio.h (xungetc): Adjust prototype.
1588 Fri Feb 4 23:42:23 2000 Neil Brown <neilb@cse.unsw.edu.au>
1590 * support/include/nfs/export.h: added NFSEXP_NOAUTHNLM
1591 * support/nfs/exports.c: added handling for NFSEXP_NOAUTHNLM
1592 * utils/exportfs/exports.man: added documentation for no_auth_nlm.
1594 This is for supporting a new option introduced in 2.3.42
1596 Thu Feb 3 14:55:48 2000 H.J. Lu <hjl@lucon.org>
1598 * COPYING: Added. GPL.
1600 Thu Feb 03 14:40:40 2000 Cristian Gafton <gafton@redhat.com>
1602 * utils/rquotad/rquota_server.c (getquotainfo): Call statfs ()
1603 to get the block size.
1605 Tue Jan 25 11:04:17 2000 H.J. Lu <hjl@lucon.org>
1607 * nfs-utils.spec.in: Update ftp site.
1609 Mon Jan 17 11:48:18 2000 H.J. Lu <hjl@lucon.org>
1611 * README: Update hostnames.
1613 Tue Jan 11 10:06:22 2000 H.J. Lu <hjl@lucon.org>
1615 * configure.in (VERSION): Set to "0.1.6".
1616 * configure: Regenerated.
1617 * nfs-utils.spec: Updated.
1621 Mon Jan 10 14:26:33 2000 H.J. Lu <hjl@lucon.org>
1623 * utils/mountd/auth.c (auth_authenticate_internal): Call
1624 xstrdup for hostname before passing it to gethostbyname.
1626 * utils/mountd/mountd.c (get_exportlist): Use xstrdup instead
1629 Sun Dec 19 09:35:01 1999 H.J. Lu <hjl@lucon.org>
1631 * README: Update the mailing list address.
1633 Sun Dec 19 09:22:28 1999 H.J. Lu <hjl@lucon.org>
1635 * configure.in (VERSION): Set to "0.1.5".
1636 * configure: Regenerated.
1637 * nfs-utils.spec: Updated.
1641 Mon Dec 13 13:40:20 1999 H.J. Lu <hjl@lucon.org>
1643 * utils/rquotad/hasquota.c (hasquota): Malloc one more char
1646 Mon Dec 6 09:42:45 1999 H.J. Lu <hjl@lucon.org>
1648 * configure.in (VERSION): Set to "0.1.4".
1649 * configure: Regenerated.
1650 * nfs-utils.spec: Updated.
1654 Mon Dec 6 09:28:07 1999 H.J. Lu <hjl@lucon.org>
1656 * nfs-utils.spec.in: New file.
1658 * config.mk.in (VERSION): Changed to "nfs-utils @VERSION@".
1660 * configure.in (nfs-utils.spec): Added to AC_OUTPUT.
1662 1999-12-04 Chip Salzenberg <chip@valinux.com>
1664 * config.mk.in: Use $(CC) as set by configure.
1666 1999-12-04 Chip Salzenberg <chip@valinux.com>
1668 * rules.mk: Call $(MAKE) with $(MFLAGS).
1670 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1672 * tools/rpcgen/rpc_main.c (h_output): Generate IXDR_GET_INT32,
1673 IXDR_PUT_INT32, IXDR_GET_U_INT32 and IXDR_PUT_U_INT32.
1675 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1677 * nfs-utils.spec (Version): Set to 0.1.3.
1679 * configure.in (VERSION): Set to "nfs-utils 0.1.3".
1680 * configure: Regenerated.
1684 Mon Nov 29 11:15:47 1999 H.J. Lu <hjl@lucon.org>
1686 * utils/rquotad/rquota_server.c (nfsmount_to_devname): Removed.
1687 (_PATH_DEV_DSK): Likewise.
1688 (getquotainfo): Match the mounting point from /etc/mtab
1689 instead of calling nfsmount_to_devname ().
1691 1999-11-24 Chip Salzenberg <chip@valinux.com>
1693 * utils/statd/monitor.c (sm_mon_1_svc): Accept lockd callbacks
1694 to the new port 24 as well as the historical port 100021.
1696 Tue Nov 23 10:21:34 1999 Neil Brown <neilb@cse.unsw.edu.au>
1698 * etc/redhat/nfsd.init (stop): moved exportfs -ua after
1699 stopping nfsd to stop spurious ESTALE on server shutdown.
1701 Tue Nov 23 10:13:39 1999 Neil Brown <neilb@cse.unsw.edu.au>
1703 * support/nfs/exports.c (parseopts): make copy of opt string
1704 before 'nul'ing out commas so that
1706 # exportfs -o option1,option2 hosta:/fs hostb:/fs
1708 applies both options to both exports.
1710 Thu Oct 28 12:55:42 1999 H.J. Lu <hjl@lucon.org>
1712 * README: Fix a few typos.
1714 * tools/rpcgen/rpc_cout.c (print_header): Use int32_t instead
1716 * tools/rpcgen/rpc_hout.c (pdefine): Likewise.
1717 * tools/rpcgen/rpc_main.c (c_initialize): Likewise.
1718 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1719 (unsigned_dec): Likewise.
1720 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1721 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1723 * tools/rpcgen/rpc_cout.c (emit_single_in_line): Use INT32
1725 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1726 (unsigned_dec): Likewise.
1727 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1728 * tools/rpcgen/rpc_scan.h (tok_kind): Likewise.
1729 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1731 Thu Oct 28 11:27:51 1999 Neil Brown <neilb@cse.unsw.edu.au>
1733 * support/include/nfs/export.h addedd NFSEXP_NOSUBTREECHECK
1734 * support/nfs/exports.c: added {no_,}subtree_check and changed
1736 * utils/exportfs/exports.man: added no_subtree_check and nohide
1737 and removed irrelevant stuff from unfsd.
1738 * support/export/rmtab.c: rmtab_read didn't quite do the right
1739 thing if a pathname from rmtab was a subdirectory of an export-point
1741 Tue Oct 26 17:22:40 1999 H.J. Lu <hjl@lucon.org>
1743 * README: Updated ftp site.
1745 Mon Oct 25 18:12:45 1999 H.J. Lu <hjl@lucon.org>
1747 * nfs-utils.spec (Version): Set to 0.1.2.
1749 * configure.in (VERSION): Set to "nfs-utils 0.1.2".
1750 * configure: Regenerated.
1754 Mon Oct 25 18:11:21 1999 H.J. Lu <hjl@lucon.org>
1756 * utils/mountd/auth.c (auth_error): Add "no_forward_dns".
1757 (auth_authenticate_internal): Check for NULL return on forward
1759 (auth_authenticate): Handle "no_forward_dns".
1761 Thu Oct 21 16:22:06 1999 H.J. Lu <hjl@lucon.org>
1763 * Version 0.1.1 released.
1765 * nfs-utils.spec (Version): Set to 0.1.1.
1767 * configure.in (VERSION): Set to "nfs-utils 0.1.1".
1768 * configure: Regenerated.
1772 Mon Oct 18 17:43:29 1999 H.J. Lu <hjl@lucon.org>
1774 * nfs-utils.spec (Obsoletes): Fixed a typo, change knfsd-client
1776 (Provides): Likewise.
1778 Mon Oct 18 14:56:22 1999 H.J. Lu <hjl@lucon.org>
1780 * Initial version 0.1 released.
1782 * configure.in (VERSION): Set to "nfs-utils 0.1".
1783 * configure: Regenerated.
1785 Mon Oct 18 14:54:57 1999 H.J. Lu <hjl@lucon.org>
1787 * utils/mountd/mountd.c (get_exportlist): Cleanup.
1789 * utils/exportfs/exportfs.c (unexport_all): Unexport from
1790 kernel only if the entry is exported to kernel.
1791 (unexportfs): Likewise.
1793 Wed Sep 08 16:49:32 1999 Neil Brown <neilb@cse.unsw.edu.au>
1795 1/ utils/mountd/rmtab.c::mountlist_list
1797 This routine stats the rmtab file to see if it has changed. It
1798 if has, it cleans up it's old copy of the data. But it still
1799 always re-read the file, thus returning multiple copies of the
1800 data on consecutive calls without intervening changes.
1801 "Showmount -a" didn't show this as it appears to sort/unique the
1802 data, but 'strace showmount -a' showed that the size of the
1803 datagram that it received grew.
1805 I moved the getrmtabent loop inside the mtime test.
1807 2/ utils/exportfs/exportfs.c
1809 Many routines used the m_path field of m_export instead of
1811 According to the comment in nfslib.h, m_path should only
1812 be used when processing a mount request (i.e. in mountd)
1813 where the mountpoint may be a subdirectory of the export point.
1815 I changed all occurances of m_path to e_path
1818 3/ utils/exportfs/exportfs.c:main
1820 extra arguments are not meaningful with -a or -r, but
1821 exportfs accepted them and then ignored the -a/-r, expect that
1822 -r would still unexport everything first.
1824 I generate an error if there are extra args and f_all
1826 4/ utils/exportfs/exportfs.c:main
1827 extract dump out as a special case.
1829 5/ utils/exportfs/exportfs.c
1830 made f_reexport a local variable.
1833 6/ utils/exportfs/exportfs.c:main,exportall
1835 support/export/rmtab.c
1836 only mayexport on newly created entries, don't set xtabent at all
1838 7/ support/include/nfslib.h
1840 add #define _PATH_PROC_EXPORTS to be /proc/fs/nds/exports
1842 8/ support/export/xtab.c
1844 xtab_mount_read loads data from _PATH_PROC_EXPORTS if it exists,
1848 9/ support/export/xtab.c
1850 xtab_mount_read now sets m_exported, and NOT
1851 xtabent and mayexport
1853 removed the append arguement from xtab_write as it was
1856 added is_export flag to xtab_write similar to xtab_read
1857 if is_export, only write entries with m_xtabent or m_addxtab
1858 if !is_export, only write entries with m_exported
1860 10/ support/export/export.c::export_allowed_internal
1862 added test for exp->m_mayexport, as the export tree
1863 may have entries that are no longer allowed to be exported,
1864 and so shouldn't caused deduced exported by rmtab_read
1866 11/ utils/exportfs/exportfs.c::main
1867 error checking of flags.
1869 12/ utils/exportfs/exportfs.c
1871 total rewrite of export and unexport logic.
1873 - build an exportslist of valid exports, based on
1874 current etab file and arguments,
1875 - read rmtab to instantiate relevant wild card entries
1876 - read etab to find out what is currently exported
1877 - synchronise intention with reality
1878 - write out etab and xtab
1881 discard the m_addxtab flag
1882 add m_changed flag so we know what to report in exportfs
1884 14/ utils/mountd/auth.c:auth_authenticate
1886 the value returned by gethostbyaddr was trusted.
1888 It now follows this with a call to gethostbyname
1889 and checks that the address is in the list.
1891 15/ support/export/nfsctl.c::cltsetup,expsetup
1893 force client names to lowercase as kernel is
1896 16/ quietened a few compiler warnings
1898 17/ support/export/client:client_lookup
1900 look for pre-existing client with same name before creating
1903 18/ support/include/exportfs.h
1905 The ordering of the MCL_* enum was:
1906 ANONYMOUS, FQDN, SUBNETWORK, WILDCARD, NETGROUP
1908 I moved ANONYMOUS to the end.
1910 The ordering is significant when an export entry is being searched for to
1911 match a given address. There are two problems with ANONYMOUS being first.
1913 1/ if a directory is exported rw to a couple of hosts and ro to everyone else,
1914 then the ro case will always be found first and the privileged hosts won't get
1916 2/ When mountd gets a request to mount an ANONYMOUSly exported tree, it creates a FQDN
1917 export entry for the specific host, and writes it to xtab.
1918 When another request comes from the same host, the ANONYMOUS entry is found again,
1919 before the new FQDN entry, so it creates another FQDN entry and writes it to xtab
1920 again. If causes bloat in xtab.
1922 Putting ANONYMOUS at the end reflects it's nature as a catch-all
1924 19/ utils/exportfs/exportfs.man
1925 many updates to the man page to reflect changes to the code
1927 -----------------------
1933 - allow exportfs to modify rmtab file
1934 - make sure kernel never gets two clients with same IP address
1935 - possible kernel should reject
1936 - needs to be some way to lookup client in kernel by IP address
1937 - maybe get kernel to do case-insensitive comparisons on client names
1938 - remove unused clients from kernel
1940 - change etab to xtab and xtab to xtab.active
1942 - timestamp and/or statd-stamp in rmtab for removing old entries.
1944 Mon Oct 18 11:48:07 1999 H.J. Lu <hjl@lucon.org>
1946 * linux-nfs: New directory.
1947 * linux-nfs/ChangeLog: Moved from ..
1948 * linux-nfs/INSTALL: Likewise.
1949 * linux-nfs/KNOWNBUGS: Likewise.
1950 * linux-nfs/NEW: Likewise.
1951 * linux-nfs/README: Likewise.
1952 * linux-nfs/THANKS: Likewise.
1953 * linux-nfs/TODO: Likewise.
1955 * Starting from knfsd 1.4.7.