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
16 * utils/idmapd/idmapd.c: Reopen nfsd files on sighup. Allows us
17 to start up client side only (even when nfsd module not loaded),
18 and then sighup later after insmodding nfsd module.
19 * utils/idmapd/idmapd.c: Make sure we catch all errors on
20 daemonizing by waiting for child to report succesfull startup
22 * utils/idmapd/idmapd.c: Let libnfsidmapd parse the idmapd.conf
23 file for the default domain, instead of doing that ourselves.
24 * utils/gssd/gssd_proc.c: Make sure we get an error when a gssd
28 2004-11-22 NeilBrown <neilb@cse.unsw.edu.au>
30 * utils/exportfs/nfsd.man: corrected typo in .BR macro usage -
31 reported by Eric Raymond
33 2004-10-19 "J. Bruce Fields" <bfields@fieldses.org>
35 * support/gssapi/* support/rpc/* utils/gssd/* utils/svcgssd/* etc
36 initial support for GSSAPI authentication
38 2004-09-15 Neil Brown <neilb@cse.unsw.edu.au>
40 * utils/statd/monitor.c(sm_unmon_1_svc): is RESTRICTED_STATD, then
41 check IP address and force my_name to 127.0.0.1 to match
42 what happens in sm_mon_1_svc. This avoid spurious "erroneous
44 * utils/statd.monitor.c(sm_unmon_all_1_svc): likewise
46 2004-09-15 "J. Bruce Fields" <bfields@fieldses.org>
48 * Assorted changes to support "gss/*" style authentication
49 * utils/idmapd: new idmapd daemon for nfsv4 username lookup
51 2004-09-06 Trond Myklebust <trond.myklebust@fys.uio.no>
52 Neil Brown <neilb@cse.unsw.edu.au>
54 * utils/mountd/auth.c(auth_authenticate_internal): fix
55 uninitialsed variable problem (causes bad error messages).
57 2004-09-06 Paul Clements <paul.clements@steeleye.com>
58 Neil Brown <neilb@cse.unsw.edu.au>
60 * utils/mountd/mountd.c(main): support --ha-callout (-H) for
61 specifying a callout program
62 * utils/mountd/rmtab.c: Call ha_callout on mount/unmount
63 * utils/statd/monitor.c: Call ha_callout on add/del client
64 * utils/statd/rmtcall.c: as above
65 * utils/statd/statd.c: handle --ha-callout (-H)
66 * utils/statd/svc_run.c: call notify_hosts is we have received a
68 * support/include/ha-callout.h: define ha_callout function
71 2004-08-31 NeilBrown <neilb@cse.unsw.edu.au>
72 * utils/mountd/cache.c(cache_process_req): clear fd after
73 processing so as not to confused libc/sunrpc into thinking
74 it need to do something with that fd.
76 2004-08-31 NeilBrown <neilb@cse.unsw.edu.au>
78 * debian/nfs-kernel-server.init(start,stop) mount the nfsd
79 filesystem, if available, before starting nfs services, and
80 unmount it afterwards.
81 * etc/nodist/nfs-server: ditto
82 * etc/redhat/nfs.init: likewise
83 * etc/redhat/nfs: add "MOUNT_NFSD" flag to control above.
85 2004-06-08 NeilBrown <neilb@cse.unsw.edu.au>
87 * utils/exportfs/exportfs.c: Don't rmtab_read if new_cache, it
89 * support/nfs/cacheio.c(cache_flush): Change order in which caches
90 are flushed so that dependancies don't keep things in the cache
93 2004-03-18 Chip Salzenberg <chip@pobox.com>
95 * debian/changelog: Version 1.0.6-2.
97 2004-02-24 NeilBrown <neilb@cse.unsw.edu.au>
98 from "J. Bruce Fields" <bfields@fieldses.org>
100 * utils/mountd/cache.c: call auth_reload to make sure auth data is
101 current before responding to kernel upcall.
103 2004-02-24 NeilBrown <neilb@cse.unsw.edu.au>
104 Based on patch from Greg Banks <gnb@melbourne.sgi.com>
106 * utils/exportfs/exports.man: Document fsid= option.
108 2003-09-15 NeilBrown <neilb@cse.unsw.edu.au>
112 * rules.mk: Add dep: rule when no OBJS, so "make dep" works in
113 support/include, and depend in "predep"
114 * support/export/Makefile, tools/rpcgen/Makefile,
115 utils/statd/Makefile: add "predep" rule so that "make dep" works.
116 * Makefile: allow a simple "make" to run ./configure and "make dep"
118 * configure.in, nfs-utils.spec: Update version to 1.0.6
121 2003-09-12 Chip Salzenberg <chip@pobox.com>
123 * debian/changelog: Version 1.0.6-1.
125 2003-09-12 NeilBrown <neilb@cse.unsw.edu.au>
127 * utils/mountd/mountd.c(main): Impose FD_SETSIZE as an upper limit
129 * utils/statd/statd.c(main): Ditto.
131 michael <michael@newdream.net> discovered that svc_setreqsize
132 in glibc can segfault if RLIMIT_NOFILE is bigger than
133 FD_SETSIZE, so a simple solution is to impose a hard limit.
135 2003-09-09 Chip Salzenberg <chip@pobox.com>
137 * debian/changelog: Version 1.0.5-3.
138 * support/export/hostname.c (get_reliable_hostbyaddr): Fix crash
139 on invalid reverse DNS.
140 * utils/showmount/showmount.c (main): Fix inet_ntoa() parameter.
141 * tools/rpcgen/rpc_cout.c (print_header): Remove unused vars.
142 * tools/rpcgen/rpc_parse.c (def_union): Likewise.
144 2003-08-22 Chip Salzenberg <chip@pobox.com>
146 * utils/statd/{log.h,log.c}: Rename log() to note() and L_* to
147 N_*, to avoid conflict with ISO C built-in log() function.
148 * utils/statd/*.c: Use note().
150 2003-08-20 Chip Salzenberg <chip@pobox.com>
152 * debian/changelog: Version 1.0.5-2.
154 2003-08-11 NeilBrown <neilb@cse.unsw.edu.au>
156 * utils/mountd/cache.c(cache_get_filehandle): close the filehandle
159 2003-08-04 NeilBrown <neilb@cse.unsw.edu.au>
161 * support/include/nfs/export.h, support/nfs/exports.c,
162 utils/exportfs/exports.c, utils/mountd/mountd.c: change
163 NFSEXP_CROSSMNT to NFSEXP_CROSSMOUNT to avoid confusion with older
164 meaning. Also remove meaningless
165 NFSEXP_{UIDMAP,KERBEROS,SUNSECURE}
167 2003-08-04 NeilBrown <neilb@cse.unsw.edu.au>
169 * support/export/xtab.c, support/include/nfslib.h,
170 support/nfs/cacheio.c, support/nfs/nfssvc.c,
171 utils/exportfs/exportfs.c, utils/exportfs/exportfs.man,
172 utils/exportfs/nfsd.man, utils/mountd/cache.c: support
173 /proc/fs/nfsd/* as a perferred alternate to /proc/fs/nfs/*
174 (nfs-utils-1.0.5-post2)
176 2003-08-04 NeilBrown <neilb@cse.unsw.edu.au>
178 * support/nfs/nfsexport.c: open channel file O_WRONLY when
180 * utils/mountd/cache.c: maintain mountlist when new_cache is
181 active. Also use O_WRONLY for channel files.
182 * utils/mountd/mountd.h: mountlist_{del,add} now take a host name
183 rather than an nfs_export.
184 * utils/mountd/rmtab.c: ditto.
185 (nfs-utils-1.5.0-post1)
187 2003-07-24 Chip Salzenberg <chip@pobox.com>
189 * support/nfs/xlog.c (xlog): Revise buffer-overflow fix to
190 use Debian security team's cleaner approach.
191 * debian/changelog: Version 1.0.5-1.
192 * debian/nfs-kernel-server.init: Cosmetic changes.
194 2003-07-18 NeilBrown <neilb@cse.unsw.edu.au>
197 1.0.4 was a bit of a brown-paper-bag-release because of the extra
198 'free' in auth.c. So I'm releasing this just a few days later.
200 * support/nfs/cacheio.c(cache_flush): Correct test for 'open
202 * utils/exportfs/exportfs.c(main): If "-f" given as lone option,
203 check if new_cache is enabled, error if not, flush and exit if it
205 * utils/exportfs/exportfs.man: Explain -f option and explain the
206 two different modes that exportfs can work in.
207 * utils/mountd/mountd.c: Do not change RLIMIT_NOFILE if the -o
209 * utils/mountd/mountd.man: Record the change if default behaviour
211 * configure.in, nfs-utils.spec: update version to 1.0.5 and
214 2003-07-15 NeilBrown <neilb@cse.unsw.edu.au>
216 * utils/mountd/mountd.c(main): getopt string fix for 'o'
217 * utils/mountd/auth.c(auth_authenticate): remove extra 'free'
218 * utils/exportfs/exportfs.c(main): make 'exportfs -f' just flush
220 * support/include/nfs/export.h: Reserve a bit for possible ACL
223 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
225 * utils/exportfs/nfsd.man: new man page for nfsd filesystem. Also
226 assorted changed to cope with section 7 of the manual.
227 * configure.in, nfs-utils.spec: Update version to 1.0.4
230 This is a 'pre-release' for 1.1.0 Hopefully 1.1.0 will be the
231 baseline for 2.6 and 2.8. I.e. it should continue to work right
232 through the 2.8 (or 3.0) kernel series. Previous releases wont.
234 2003-07-04 NeilBrown <neilb@cse.unsw.edu.au>
235 Steve Dickson <SteveD@redhat.com>
238 * utils/statd/statd.c: create a pidfile with pid of statd, and
239 truncate it when statd exists.
240 * utils/statd/statd.c: drop privs by setuid to owner of SM_DIR,
241 and warn if this is root.
242 * utils/statd/statd.c: when statd forks, connect child to parent
243 with a pipe, and send a byte down the pipe once the child is
245 * Makefile: create and chown sm, sm.bak, state when "make install"
246 * configure.in: add --with-statduser= option which defaults to
247 "rpcuser" or "nobody"
248 * config.mk.in: pass "statduser" through to Makefile
250 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
252 * support/include/nfs/nfs.h: Make sure correct __kernel_dev_t is
253 used as the size was changed somewhere in 2.5.60-2.5.70. Without
254 this nfs-utils compiles against 2.6 headers will not work on a
257 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
259 * support/nfs/nfssvc.c(nfssvc): If /proc/fs/nfs/threads exists,
260 set number of threads by writing to there. This means it will
261 still work when the syscall interface goes away in 2.7.
263 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
264 fumihiko kakuma <kakmy@mvh.biglobe.ne.jp>
266 * utils/exportfs/exportfs.c(unexportfs): improve host comparison
267 so as to only export the wildcard exports that were asked for.
268 * support/export/export.c(export_allowed): changed to return the
269 nfs_export rather than a "struct exportent", as m_changed is
271 * support/export/rmtab.c(rmtab_read): modified to deal with
272 interface change for export_allowed(), and enhanced to preserve
273 m_changed flag when a wild-card export causes the creation of
274 a non-wildcard export.
276 2003-07-02 NeilBrown <neilb@cse.unsw.edu.au>
277 Steve Dickson <SteveD@redhat.com>
279 * utils/mountd/mountd.man: Add valid kinds of debugging.
280 * utils/mountd/mountd.c(main): ignore SIGPIPE
281 * utils/nfsstat/nfsstat.c: fine-tune printing of warning so
282 we don't get warnings about unavailable stats that weren't asked
285 2003-06-24 NeilBrown <neilb@cse.unsw.edu.au>
287 * support/nfs/nfsexport.c(exp_unexp): When unexporting filesystems
288 via /rpc/net/rpc/nfsd*/channel, set the expiry date to 1, not
289 'forever', so things disappear out of the cache rather than just
292 2003-06-16 "J. Bruce Fields" <bfields@fieldses.org>
294 * utils/mountd/cache.c(nfsd_fh): don't export the export_ent
297 2003-06-16 NeilBrown <neilb@cse.unsw.edu.au>
299 * debian/nfs-kernel-server.init,etc/nodist/nfs-server,
300 etc/redhat/nfs.init: when checking if V3 is supported, make sure
301 nfs server 'knows' about 127.0.0.1 first.
303 2003-06-10 Chip Salzenberg <chip@pobox.com>
305 * support/nfs/xlog.c (xlog): Fix off-by-one buffer overflow bug.
306 * debian/changelog: Version 1.0.3-2.
308 2003-05-30 Michael Griffith <grif@michaelgriffith.com>
309 NeilBrown <neilb@cse.unsw.edu.au>
311 utils/nfsstat/nfsstat.c(print_callstats): use unsigned
312 long long to avoid overflow when printing stats.
314 2003-05-30 NeilBrown <neilb@cse.unsw.edu.au>
316 * support/export/export.c, support/include/nfslib.h,
317 support/nfs/export.c, utils/exportfs/exportfs.c,
318 utils/mountd/mountd.c: new export option "mountpoint"
319 If no path is given, then the export point must be a
320 mount point, or it won't be exported. If a path is
321 given (e.g. mountpoint=/path) then that path must be
322 a mountpoint or the exportpoint won't be exported.
323 * utils/exportfs/exportfs.man: document mountpoint option.
324 * support/misc/mountpoint.c: New file with is_mountpoint()
325 to determine if something is a mountpoint.
327 2003-05-23 NeilBrown <neilb@cse.unsw.edu.au>
329 * utils/mountd/cache.c(cache_get_filehandle): take a separate path
330 argument as we might not be getting the filehandle for the
332 * utils/mountd/mountd.c(get_rootfh): pass real path when calling
333 cache_get_filehandle.
334 * utils/mountd/mountd.c(get_rootfh): check export point and
335 requested directory are on the same filesystem, and complain if
338 2003-05-22 NeilBrown <neilb@cse.unsw.edu.au>
340 * utils/mountd/auth.c(auth_authenticate_internal): make sure
341 portnumber is still checked when using new cache lookup.
343 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
345 * utils/exportfs/exportfs.c: Use check_new_cache and cache_flush
346 Don't actually talk to kernel when new cache is in effect, except
348 * utils/exportfs/exportfs.c: add -f option to fully flush cache.
349 * support/export/xtab.c: Only rename new xtab into place if it has
350 changed, thus preserving modify date for exportfs to use when
352 * support/nfs/cacheio.c: Add cache_flush
353 * support/export/xtab.c: Only rename new xtab into place if it has
354 changed, thus preserving modify date for exportfs to use when
357 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
359 * support/export/client.c: Add client_compose, client_member to
360 handle new composite client names
361 * support/include/exportfs.h: Declare above functions.
362 * utils/mountd/auth.c: use client_compose to determine calling
363 client if new cache is being used.
364 * utils/mountd/auth.c: call cache_export to export a filesystem if
365 new_cache, check if new cache is used, and call my_svc_run instead
367 * utils/mountd/svc_run.c: new file defining my_svc_run
368 * utils/mountd/cache.c: new file for handling cache upcalls.
369 * support/nfs/cacheio.c(check_new_cache): new function to check if
370 new cache should be used.
373 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
375 * support/include/nfs/export.h: New CROSSMNT distinct from NOHIDE
376 * support/nfs/exports.c: Make CROSSMNT distinct from NOHIDE
377 * utils/exportfs/exportfs.c(dump): ditto
379 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
381 * support/export/hostname.c(get_reliable_hostbyaddr): new function
382 to get host name from address with full checking of authenticity.
383 * support/include/misc.h: declare above function
384 * utils/mountd/auth.c(auth_authenticate_internal): remove all
385 logic for authenticating address.
386 * utils/mountd/auth.c(auth_authenticate): call new
387 get_reliable_hostbyaddr to to hostname lookup before calling _internal.
390 2003-03-30 NeilBrown <neilb@cse.unsw.edu.au>
392 * tools/rpcgen/rpc_main.c(find_cpp): removed
393 * tools/rpcgen/rpc_main.c(open_input): use execvp to find "cpp",
394 then try hard-coded paths.
396 2003-03-26 Chip Salzenberg <chip@pobox.com>
398 * debian/changelog: Version 1.0.3-1.
400 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
402 * utils/mountd/rmtab.c (slink_safe_rename): real_newpath should be
403 "const char*", not "char*".
405 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
407 * configure.in (VERSION): Set to "1.0.3".
408 * nfs-utils.spec: Likewise.
409 * configure: Regenerated.
411 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
413 * support/nfs/cacheio.c: New File - support for read/writing
414 to export cache in /proc/rpc/*/channel
415 * support/nfs/Makefile: compile cacheio.c
416 * support/include/nfslib.h: declare cacheio.c functions
417 * support/nfs/nfsexport.c: export and unexport through
418 /proc/rpc/*/channel if possible, as old syscall interface
419 may not survive into 2.6 on all architectures.
421 2003-02-19 NeilBrown <neilb@cse.unsw.edu.au>
422 Ben Leslie <benno@sesgroup.net>
424 * support/nfs/rpcmisc.c(rpc_init): change test for ignoring
425 "defport" from (__rpcfdtype == 0) to (__rpcpmstart==0). The
426 former would incorectly ignore defport if the application
427 explicitly set __rpcfdtype. The later is sufficient to avoid the
428 special handling in the case where stdin is an internet socket.
430 * utils/mountd/mountd.c(main): Add 'n' to option list in
431 getopt_long as this is a short form of --no-tcp which want being
434 2003-02-12 Chip Salzenberg <chip@pobox.com>
436 * debian/changelog: Version 1.0.2-2.
438 2002-11-27 Chip Salzenberg <chip@pobox.com>
440 * utils/mountd/rmtab.c (slink_safe_rename): Fix off-by-one buffer
441 overflow bug. Reformat per rest of source file.
443 2002-11-19 NeilBrown <neilb@cse.unsw.edu.au>
445 * utils/exportfs/exports.man: Correct notes about whether the wild
446 card characters match a period. They do.
448 2002-10-15 Juan Gomez <juang@us.ibm.com>
450 * utils/mountd/rmtab.c (slink_safe_rename): New. Support
452 (mountlist_add): Call slink_safe_rename instead of rename.
454 2002-10-11 H.J. Lu <hjl@lucon.org>
456 * support/include/exportfs.h (export_errno): New.
458 * support/nfs/exports.c: Include <errno.h>.
460 (getexportent): Set export_errno to EINVAL for bad option.
461 (parseopts): Likewise.
462 Report the location of the default sync/async option.
464 * utils/exportfs/exportfs.c (main): Initialize export_errno to
465 0. Return export_errno.
467 2002-10-11 Juan Gomez <gomez@cs.sjsu.edu>
468 NeilBrown <neilb@cse.unsw.edu.au>
470 utils/statd/statd.c(killer): don't pmap_unset if in notify_only mode
471 utils/statd/statd.c(main): don't pmap_unset if in notify_only mode
473 2002-09-16 Chip Salzenberg <chip@pobox.com>
475 * utils/rquotad/rquota_svc.c (main): Use int for value of getopt.
477 2002-09-15 Chip Salzenberg <chip@pobox.com>
479 * support/nfs/rpcmisc.c (rpc_init): Allow stdin to be a non-INET
480 socket, as occurs when run from sshd.
481 * debian/changelog: Version 1.0.2-1.
483 2002-09-12 H.J. Lu <hjl@lucon.org>
485 * support/nfs/svc_socket.c: Remove HAVE_SVCTCP_SOCKET and
488 2002-09-12 H.J. Lu <hjl@lucon.org>
490 * configure.in: Remove checking svctcp_socket and svcudp_socket.
491 * configure: Regenerated.
493 * support/include/config.h.in (HAVE_SVCTCP_SOCKET): Removed.
494 (HAVE_SVCUDP_SOCKET): Removed.
496 * support/include/nfslib.h: Undo the last change.
498 2002-09-12 H.J. Lu <hjl@lucon.org>
500 * support/include/nfslib.h (svctcp_socket): Protect it with
502 (svcudp_socket): Protect it with HAVE_SVCUDP_SOCKET.
504 2002-09-12 H.J. Lu <hjl@lucon.org>
506 * configure.in (VERSION): Set to "1.0.2".
507 * configure: Regenerated.
508 * nfs-utils.spec: Likewise.
510 2002-09-12 H.J. Lu <hjl@lucon.org>
512 * configure.in: Check svctcp_socket and svcudp_socket.
513 * configure: Regenerated.
515 * support/include/config.h.in (HAVE_SVCTCP_SOCKET): New.
516 (HAVE_SVCUDP_SOCKET): New.
518 * support/include/nfslib.h (svctcp_socket): New.
519 (svcudp_socket): New.
521 * support/nfs/Makefile (OBJS): Add svc_socket.o.
523 * support/nfs/svc_socket.c: New.
525 * support/nfs/rpcmisc.c (rpc_init): Call svctcp_socket and
526 svcudp_socket if port is unspecified.
528 * utils/nfsd/nfsd.c (main): Call getservbyname for port.
530 * utils/rquotad/rquota_svc.c: Include <nfslib.h>.
531 (killer): New. Signal handler to unregister.
532 (main): Use killer. Call svcudp_socket to get the default
535 2002-09-02 Juan Gomez <juang@us.ibm.com>
536 NeilBrown <neilb@cse.unsw.edu.au>
538 Add -N option to statd to run in notify-only mode.
540 * utils/statd/statd.h: uncomment MODE_NOTIFY_ONLY
541 * utils/statd/statd.man: document -N
542 * utils/statd/statd.c: enabled -N, largely exists but needed to be
543 uncommented and completed
545 2002-09-02 Juan Gomez <juang@us.ibm.com>
546 NeilBrown <neilb@cse.unsw.edu.au>
548 statd to have " -P directory" arg to use that directory instead
549 of /var/lib/nfs. This is useful for fail-over clusters.
551 * utils/statd/statd.h: define SM_DIR etc as var, not const.
552 * utils/statd/statd.c: define "-P" option to set SM_*
554 * utils/statd/monitor.c: sprintf to cope with SM_DIR not being
556 * utils/statd/notify.c: ditto.
557 * utils/statd/statd.man: document -P option.
559 2002-08-26 Chip Salzenberg <chip@pobox.com>
561 * utils/nfsd/nfsd.man: Fix typo.
562 * debian/changelog: Version 1.0.1-1.
564 2002-05-29 NeilBrown <neilb@cse.unsw.edu.au>
566 * let parseopts know if /etc/exports was being read or not,
567 and have it only print "no sync or async" warning in that case.
569 2002-05-06 Tom McNeal <trmcneal@attbi.com>
570 NeilBrown <neilb@cse.unsw.edu.au>
572 * utils/nfsstat/nfsstat.c: Handle differing format for
573 /proc/net/rpc/nfsd between pre and post 2.4.0
575 2002-04-09 NeilBrown <neilb@cse.unsw.edu.au>
576 James Pearson <james-p@moving-picture.com>
578 * support/nfs/rmtab.c(fendrmtabent): sync changes to
579 storage before returning, as this is critical state
581 2002-04-08 Sean O'Connell <sean@ee.duke.edu>
582 H.J. Lu <hjl@lucon.org>
584 * etc/redhat/nfs: New.
586 2002-04-08 H.J. Lu <hjl@lucon.org>
588 * etc/redhat/nfs.init: Updated.
590 * nfs-utils.spec.in: Updated.
591 * nfs-utils.spec: Regenerated.
593 * utils/mountd/mountd.c (longopts): Fix a typo.
595 * utils/mountd/mountd.man: Updated.
597 2002-04-07 H.J. Lu <hjl@lucon.org>
599 * etc/redhat/nfslock.init (restart): Just do stop and start.
601 * etc/redhat/nfs.init: Fix a typo.
603 2002-04-07 H.J. Lu <hjl@lucon.org>
605 * configure.in (VERSION): Set to "1.0.1".
606 * configure: Regenerated.
607 * nfs-utils.spec: Likewise.
609 * README: Updated for 1.0.1.
611 2002-04-07 Sean O'Connell <sean@ee.duke.edu>
612 H.J. Lu <hjl@lucon.org>
614 * etc/redhat/nfs.init: Read /etc/sysconfig/nfsd for NFS tuning.
616 2002-02-28 Steven Whitehouse <steve@gw.chygwyn.com>
617 NeilBrown <neilb@cse.unsw.edu.au>
619 Add support for fsid=nn export option so that device
620 numbers don't go in filehandles.
621 * support/export/nfsctl.c(expsetup): if exporting and NFSEXP_FSID
622 is set, pass the fsid in-place of the device number
623 * support/nfs/exports.c: parse and print fsid= option.
624 Also check if efname has been set, and use "command line"
625 instead in error messages.
626 Also, use strtol instead of atoi for anon[ug]id= so that
627 bad numbers cause errors.
629 2002-01-17 Adrian Drzewiecki <drze@MissionCriticalLinux.com>
630 NeilBrown <neilb@cse.unsw.edu.au>
632 * support/nfs/exports.c: remove NFSEXP_ASYNC as a default
633 flag so that "sync" becomes the default.
634 Check that either "sync" or "async" is given as an option
635 and warn if neither are present
636 * utils/exportfs/exports.man: change documentation for "sync"
637 to be documentation for "async".
638 * utils/exportfs/exportfs.man: note that "sync" is the default
642 2002-01-02 Chip Salzenberg <chip@pobox.com>
644 * support/export/nfsctl.c (expsetup): Don't export entries that
645 specify id mappings not supported by the kernel. No extant kernel
646 supports any significant mapping, only 'identity' (i.e. none).
647 When other mappings are supported, this code will need changing.
648 * debian/changelog: Version 1.0-2.
650 2001-12-26 Chip Salzenberg <chip@pobox.com>
652 * nfs-utils.spec (Version): Set to "1.0".
653 * configure.in (VERSION): Likewise.
654 * configure: Regenerated.
656 * debian/changelog: Version 1.0-1.
658 * utils/exportfs/exports.man: Emphasize the need for options to
659 immediately follow client names. Explain that wildcards don't
660 usually work on addresses, but may work when reverse DNS fails.
661 Comment out a leftover TP that was TPing our indentation.
662 * utils/mountd/mountd.man, utils/rquotad/rquotad.man,
663 utils/statd/statd.man: Remove refs to non-existent "hosts_allow(5)".
664 * debian/changelog: Version 0.3.3-6.
666 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
668 * support/export/client.c(client_lookup): If a host has multiple
669 IP addresses, then we must always use the result of a
670 gethostbyname, not that of gethostbyaddr for exporting
672 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
674 * support/export/client.c (client_lookup): use strcasecmp when
676 * support/nfs/export.c (getexportent): add fromkernel arg and use
677 different defaults as kernels prior to 2.4.11 assume different
678 defaults in /proc/fs/nfs/exports
679 * support/include/nfslib.h, support/export/export.c,
680 support/export/xtab.c: support extra "fromkernel" arg for
683 2001-12-13 Chip Salzenberg <chip@pobox.com>
685 * debian/changelog: Version 0.3.3-5.
687 2001-11-26 TAKAI Kousuke <takai@vlsi.kuee.kyoto-u.ac.jp>
689 * support/nfs/xio.c (xskip): Call `xungetc' instead of
690 `ungetc' to keep x_line more properly.
692 2001-11-26 Chip Salzenberg <chip@pobox.com>
694 * utils/showmount/showmount.c (main): Don't assume that strings
695 starting with digits are IP addresses.
696 * utils/nfsd/nfsd.c (main): Close all fds and reopen 0,1,2 on
697 /dev/null before nfssvc(). Use syslog to report nfssvc errors.
698 * support/misc/tcpwrapper.c, utils/mountd/mountd.man,
699 utils/rquotad/rquotad.man, utils/statd/statd.man: Fix comments and
700 man pages: We check host names *and* addresses with tcpwrappers.
701 * debian/changelog: Version 0.3.3-4.
703 2001-11-21 Chip Salzenberg <chip@pobox.com>
705 * support/nfs/clients.c (cfname): Added: current clients file name.
706 (setnfsclntent): Set it.
707 ({get,end}nfsclntent, syntaxerr): Use it.
708 * support/nfs/exports.c (efname): Added: current exports file name.
709 (setnfsexportent): Set it.
710 (endnfsexportent, parseopts, getexport, syntaxerr): Use it.
711 (parseopts): Accept old-style "crossmnt" option, for old xtabs.
712 * debian/changelog: Version 0.3.3-3.
714 2001-10-11 Chip Salzenberg <chip@pobox.com>
716 * utils/mountd/mountd.c (main): Close fds > 2 _before_ RPC init.
717 * debian/changelog: Version 0.3.3-2.
719 2001-10-08 Chip Salzenberg <chip@pobox.com>
721 * utils/mountd/mountd.c (main): When daemonizing, close all fds > 2.
722 * utils/Makefile.in: Remove old Makefile in target 'distclean'.
723 * utils/mountd/mountd.man: Update paths to /var/lib.
724 * debian/*: Version 0.3.3-1, with Debian-specific fixes.
726 2001-10-06 Preston Brown <pbrown@redhat.com>
728 * utils/nfsstat/nfsstat.man: Updated.
730 2001-09-24 H.J. Lu <hjl@lucon.org>
732 * configure.in (VERSION): Set to "0.3.3".
733 * configure: Regenerated.
734 * nfs-utils.spec: Likewise.
736 * README: Updated for 0.3.3.
738 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
740 Arrange that "exportfs -au" never does DNS lookup:
742 * support/export/client.c (client_lookup) : add "canonical"
743 flag which says that the hostname is known to be canonical, so
746 * support/export/export.c (export_create) : add "canonical"
747 flag to be passed down to client_lookup
748 * support/export/export.c (export_lookup) : Likewise
750 * support/export/xtab.c (xtab_read) : pass appropriate
751 "canonical" flag to export_lookup and export_create:
752 set if reading list of filesystems currently exports
755 * support/export/export.c (export_read) : pass 0 as
756 "canonical" flag to export_lookup and export_create
757 * support/export/rmtab.s (rmtab_read) : Likewise
759 * support/include/exportfs.h : redeclare various routines
760 to have "canonical" flag
762 * utils/exportfs/exportfs.c (main) : redo logic for
763 "-au" to read in what is currently exported, but never even
764 look at what "should" be exported.
766 * utils/exportfs/exportfs.c (unexportall) : remove this
767 routine. Functionality is completely included in
770 * utils/exportfs/exportfs.c (exportfs) : set "canonical"
771 flag to zero in calls to export_lookup and export_create.
774 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
775 Anne Milicia <milicia@missioncriticallinux.com>
777 * support/export/client.c (client_lookup) call gethostbyadd
778 to make sure that we have a canonical hostname, even for
780 * utils/exportfs/exportfs.c (exportfs) Likewise
782 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
784 * support/nfs/exports.c (putexportent): \octal quote any spaces
786 * support/nfs/xio.c (xgettok): recognise double-quote and
787 \octal quoting in path names
788 * utils/exportfs/exports.man: document quoting conventions
791 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
793 * utils/mountd/auth.c (auth_authenticate_internal): Reverse
794 change from 2000-08-02: It causes problems if someone exports
795 to both a hostname and IP addresses. nfs-utils must be
796 consistant about the canonical name that it chooses.
798 2001-08-17 Ragnar Kjørstad <nfs@ragnark.vestdata.no>
799 H.J. Lu <hjl@lucon.org>
801 * etc/redhat/nfslock.init (STATDARG): New. Pass it to rpc.statd.
803 * utils/statd/statd.c (longopts): Add "name".
804 (usage): Add "-n/--name".
805 (main): Set MY_NAME with "-n/--name".
807 * utils/statd/state.c (change_state): Set MY_NAME only if it
810 * utils/statd/statd.man: Updated for "-n/--name".
812 2001-07-26 H.J. Lu <hjl@lucon.org>
814 * nfs-utils.spec (Release): Set to 8.
816 2001-07-25 H.J. Lu <hjl@lucon.org>
818 * etc/redhat/nfs.init: Check if rpc.rquotad exists before doing
821 2001-06-27 H.J. Lu <hjl@lucon.org>
823 * etc/redhat/nfs.init: Run rpc.rquotad only if it exists.
825 2001-06-27 H.J. Lu <hjl@lucon.org>
827 * utils/rquotad/rquota_server.c: Don't call statfs () for
828 the block size. Use BLOCK_SIZE instead.
830 2001-06-27 H.J. Lu <hjl@lucon.org>
832 * config.mk.in (CC_FOR_BUILD): Renamed from BUILD_CC.
833 (CFLAGS_FOR_BUILD): New. Don't use @CFLAGS@.
835 * configure.in (enable_nfsv3): Set to yes by default.
836 (--enable-rquotad): Added
837 (AC_PROG_CXX): Removed.
838 (AC_OUTPUT): Add utils/Makefile.
839 (CC_FOR_BUILD): Renamed from BUILD_CC.
840 * configure: Regenerated.
842 * utils/Makefile: Removed.
844 * utils/Makefile.in: New.
846 * nfs-utils.spec.in (rquotad): New. Set to 0 to disable
848 (CC_FOR_BUILD): Renamed from BUILD_CC.
849 * nfs-utils.spec: Regenerated.
851 2001-06-15 Chip Salzenberg <chip@debian.org>
853 * debian/changelog: Version 0.3.2-2.
854 * debian/*.init: Minor fixes.
856 2001-06-07 Lon H. Hohberger <hohberger@missioncriticallinux.com>
858 * etc/nodist/nfs-server: Fixed a bug where the script would
859 disable mounts from NFSv3 clients if NFSv3 is present.
861 2001-06-05 H.J. Lu <hjl@lucon.org>
863 * utils/mountd/mountd.c (longopts): Add "descriptors/o".
864 (main): Support --descriptors/-o to set the limit of the number
865 of open file descriptors.
868 * utils/mountd/mountd.man: Updated for --descriptors/-o.
870 2001-06-04 H.J. Lu <hjl@lucon.org>
872 * nfs-utils.spec (Release): Set to 6.
874 2001-05-28 H.J. Lu <hjl@lucon.org>
876 * utils/lockd/lockd.c (main): chdir to NFS_STATEDIR.
877 * utils/mountd/mountd.c (main): Likewise.
878 * utils/nfsd/nfsd.c (main): Likewise.
879 * utils/rquotad/rquota_svc.c (main): Likewise.
881 2001-05-06 Anne Milicia <milicia@missioncriticallinux.com>
883 * support/export/client.c (client_check): Check IP address
886 2001-05-06 Neil Brown <neilb@cse.unsw.edu.au>
888 * support/export/client.c (client_gettype): Treat `*' as
891 2001-04-22 H.J. Lu <hjl@lucon.org>
893 * nfs-utils.spec.in: Fix a typo.
894 * nfs-utils.spec: Regenerated.
896 2001-04-21 H.J. Lu <hjl@lucon.org>
898 * nfs-utils.spec.in: Fix cross build.
899 * nfs-utils.spec: Regenerated.
902 2001-04-18 H.J. Lu <hjl@lucon.org>
904 * nfs-utils.spec.in: Support cross build.
905 * nfs-utils.spec: Regenerated.
911 * config.mk.in (BUILD_CC): New.
912 (CC): Set to $(BUILD_CC) if BUILD is defined.
915 (RANLIB): Set to @RANLIB@.
917 * configure.in: Check BUILD_CC, RANLIB, AR and LD.
918 * configure: Regenerated.
920 * tools/rpcgen/Makefile (BUILD): Set to true.
922 2001-04-01 Chip Salzenberg <chip@valinux.com>
924 * tools/rpcgen/rpc_svcout.c (write_timeout_func): Remove
925 redundant, and sometimes broken, declaration of svc_fdset;
927 * support/nfs/rpcmisc.c (closedown): Likewise.
929 2001-03-21 H.J. Lu <hjl@lucon.org>
931 * nfs-utils.spec: Regenerated.
934 2001-03-21 Ion Badulescu <ionut@cs.columbia.edu>
936 * utils/statd/statd.c (main): make sure file descriptors 0-2
937 are open to /dev/null.
939 2001-03-21 H.J. Lu <hjl@lucon.org>
941 * support/nfs/rpcmisc.c: Restore the change made on 2001-03-10.
942 * support/nfs/rpcmisc.c: Likewise.
943 * utils/rquotad/rquota_svc.c: Likewise.
944 * utils/rquotad/rquotad.man: Likewise.
945 * utils/statd/Makefile: Likewise.
946 * utils/statd/rmtcall.c: Likewise.
947 * utils/statd/simulate.c: Likewise.
948 * utils/statd/statd.c: Likewise.
949 * utils/statd/statd.man: Likewise.
951 2001-03-11 H.J. Lu <hjl@lucon.org>
953 * configure.in (RELEASE): New. Default to 1, set by
954 --with-release=XXX. Substitute nfs-utils.spec.
955 * nfs-utils.spec.in (Release): Set to @RELEASE@.
956 * configure: Regenerated.
957 * nfs-utils.spec: Likewise.
959 2001-03-11 H.J. Lu <hjl@lucon.org>
961 * utils/rquotad/rquotad.man: Fix a typo.
963 2001-03-11 H.J. Lu <hjl@lucon.org>
965 * support/include/rpcmisc.h: Undo the change made on 2001-03-10.
966 * support/nfs/rpcmisc.c: Likewise.
967 * utils/rquotad/rquota_svc.c: Likewise.
968 * utils/rquotad/rquotad.man: Likewise.
969 * utils/statd/Makefile: Likewise.
970 * utils/statd/rmtcall.c: Likewise.
971 * utils/statd/simulate.c: Likewise.
972 * utils/statd/statd.c: Likewise.
973 * utils/statd/statd.man: Likewise.
975 2001-03-10 H.J. Lu <hjl@lucon.org>
977 * configure.in (VERSION): Set to "0.3.2".
978 * configure: Regenerated.
979 * nfs-utils.spec: Likewise.
981 * README: Updated for 0.3.2.
983 2001-03-10 Tavis Barr <tavis@boole.isetr.columbia.edu>
985 * utils/rquotad/rquotad.man: Updated for -p.
986 * utils/statd/statd.man: Likewise.
988 2001-03-10 Ion Badulescu <ionut@cs.columbia.edu>
990 * support/nfs/rpcmisc.c: export makesock()
992 * support/include/rpcmisc.h (makesock): Declared.
994 * utils/rquotad/rquota_svc.c: added longopts, added support for
995 specifying the port to bind to on the command line.
997 * utils/statd/statd.c: ditto, also specify port used for
998 outgoing connections.
999 (do_regist): Removed.
1001 * utils/statd/rmtcall.c (statd_get_socket): Renamed from
1002 get_socket. Make it extern.
1004 * utils/statd/simulate.c (daemon_simulator): Call rpc_init
1005 instead of do_regist.
1007 * utils/statd/Makefile (LIBS): link with our own libnfs
1009 2001-03-09 H.J. Lu <hjl@lucon.org>
1011 * etc/redhat/nfslock.init: Changed chkconfig line to 60 86.
1012 * etc/nodist/nfs-client: Likewise.
1014 2001-02-26 Chip Salzenberg <chip@valinux.com>
1016 * debian/changelog: Version 0.3.1-1.
1017 * Mention upstream source and license in copyright file.
1018 * Add build-Depends for debhelper and libwrap0-dev.
1020 2001-02-20 Lon Hohberger <hohberger@missioncriticallinux.com>
1022 * etc/nodist/nfs-server: Changed chkconfig line to 60 20
1023 * etc/nodist/nfs-client: Likewise.
1025 2001-02-18 Lon Hohberger <hohberger@missioncriticallinux.com>
1027 * utils/statd/statd.man: Changed /usr/sbin/rpc.statd to
1030 2001-02-17 Patrick J. LoPresti <patl@curl.com>
1032 * utils/statd/log.c (log_init): Use LOG_DAEMON instead of
1035 2001-02-14 H.J. Lu <hjl@lucon.org>
1037 * utils/statd/rmtcall.c: Include <time.h>.
1038 * utils/statd/svc_run.c: Likewise.
1040 2001-02-14 H.J. Lu <hjl@lucon.org>
1042 * configure.in (VERSION): Set to "0.3.1".
1043 * configure: Regenerated.
1044 * nfs-utils.spec: Likewise.
1046 * README: Updated for 0.3.1.
1048 2001-02-14 H.J. Lu <hjl@lucon.org>
1050 * support/nfs/rpcmisc.c: Include <time.h>.
1052 2001-02-14 Chip Salzenberg <chip@valinux.com>
1054 * debian/control: Change priority of nhfsstone package to 'extra'.
1056 2001-02-12 Chip Salzenberg <chip@valinux.com>
1058 * debian/changelog: Version 0.3-2.
1060 2001-02-02 H.J. Lu <hjl@lucon.org>
1062 * support/include/rpcmisc.h (rpc_init): Remove bufsize.
1064 * support/nfs/rpcmisc.c (makesock): Remove socksz and comment
1065 out SO_SNDBUF/SO_RCVBUF.
1066 (rpc_init): Remove bufsize and remove socksz in calls to
1069 * utils/mountd/mountd.c (main): Remove bufsize in calls to
1072 2001-01-28 Chip Salzenberg <chip@valinux.com>
1074 * debian/changelog: Version 0.3-1.
1076 2001-01-25 H.J. Lu <hjl@lucon.org>
1078 * configure.in (VERSION): Set to "0.3".
1079 * configure: Regenerated.
1080 * nfs-utils.spec: Likewise.
1082 * README: Updated for 0.3.
1084 2001-01-25 H.J. Lu <hjl@lucon.org>
1086 * utils/lockd/lockd.c (main): Ignore errno == EINVAL.
1088 2001-01-20 Chip Salzenberg <chip@valinux.com>
1090 * support/include/xio.h (xgetc): Declare to return int.
1091 * support/nfs/xio.c (xgetc): Return int.
1092 (xgettok, xskip, xskipcomment): Use int for value of xgetc.
1093 * utils/statd/statd.c (main): Use int for value of getopt.
1094 * debian/changelog: Version 0.2.1-5.
1096 2000-12-10 Chip Salzenberg <chip@valinux.com>
1098 * utils/statd/monitor.c (sm_mon_1_svc): Fix buggy check for
1099 program and procedure numbers of kernel lockd's callback. Also,
1100 besides the old (and broken) procedure #24, allow #16 per Trond.
1102 2000-12-03 Chip Salzenberg <chip@valinux.com>
1104 * support/nfs/xio.c (xfopen): Initialize x_line to one, not zero.
1105 * debian/control: Let nhfsstone replace files in nfs-kernel-server.
1106 * debian/changelog: Version 0.2.1-4.
1108 2000-11-27 Tobias Ringstrom <tori@tellus.mine.nu>
1110 * utils/mountd/auth.c (auth_authenticate): Log the bad path
1113 2000-11-24 Neil Brown <neilb@cse.unsw.edu.au>
1115 * support/nfs/exports.c (getexportent): Check for host name
1116 without option, or options without hostname, and print a warning,
1117 as this is most likely a typo.
1119 2000-11-19 Chip Salzenberg <chip@valinux.com>
1121 * debian/control: Add dependency on portmap.
1122 * debian/changelog: Version 0.2.1-3.
1124 2000-11-10 H.J. Lu <hjl@lucon.org>
1126 * nfs-utils.spec.in: Don't use libtool.
1127 Add ChangeLog and COPYING to doc.
1128 * nfs-utils.spec: Rebuild.
1130 2000-11-09 H.J. Lu <hjl@lucon.org>
1132 * etc/redhat/nfs.init (start): Back out the last change.
1134 2000-11-09 H.J. Lu <hjl@lucon.org>
1136 * etc/redhat/nfs.init (start): Pass --no-tcp to mountd if
1137 TCP is not supported by kernel.
1139 * support/nfs/rpcmisc.c (rpc_init): Don't set _rpcfdtype to 0.
1141 * utils/mountd/mountd.c (longopts): Add "-n/--no-tcp".
1142 (main): Set to _rpcfdtype to SOCK_DGRAM for "-n/--no-tcp".
1144 * utils/mountd/mountd.man: Updated for "-n/--no-tcp".
1146 2000-10-24 Lon Hohberger <hohberger@missioncriticallinux.com>
1148 * utils/statd/callback.c: Fix bug preventing callbacks to local lockd.
1149 * utils/statd/rmtcall.c: Add some IP address paranoia when doing
1150 callbacks to local lockd.
1152 2000-10-18 Scott McDermott <mcdermot@questra.com>
1154 * utils/exportfs/exports.man: Updated for CIDR netmask.
1156 2000-10-17 Scott McDermott <mcdermot@questra.com>
1158 * support/export/client.c (client_init): Support CIDR netmask
1161 2000-10-11 H.J. Lu <hjl@lucon.org>
1163 * aclocal.m4 (AC_TCP_WRAPPER): Fix a typo.
1164 * configure: Rebuilt.
1166 2000-10-06 Lon Hohberger <hohberger@missioncriticallinux.com>
1168 * utils/statd/statd.man: Change "/var/lib/nfs/sm/state" to
1169 "/var/lib/nfs/state".
1171 2000-10-05 Lon Hohberger <hohberger@missioncriticallinux.com>
1173 * utils/statd/statd.h (run_mode): New global bitmask of runtime
1174 behaviors: fg/bg, logging, etc.
1175 * utils/statd/statd.c: New command line options: -V -h -? -d .
1176 * utils/statd/statd.man: Update for changes to statd.
1178 * utils/statd/log.h (log_init): Remove parameter of function; use
1179 global variable "name_p" instead.
1180 * utils/statd/log.c: Add support for logging to stderr.
1182 * utils/statd/notlist.c: Partially rewrite notify list handling
1183 functions. Eliminate run-off-end-of-list bug when calling
1184 nlist_insert_timer. Add lots of comments.
1186 2000-09-27 H.J. Lu <hjl@lucon.org>
1188 * README: Updated for RedHat 7.0.
1190 2000-09-27 H.J. Lu <hjl@lucon.org>
1192 * nfs-utils.spec: Rebuild.
1194 2000-09-27 H.J. Lu <hjl@lucon.org>
1196 * README: Updated for 0.2.1.
1198 2000-09-27 H.J. Lu <hjl@lucon.org>
1200 * nfs-utils.spec.in: Updated to use rpm macros and support
1203 2000-09-25 H.J. Lu <hjl@lucon.org>
1205 * configure.in (VERSION): Set to "0.2.1".
1206 * configure: Regenerated.
1207 * nfs-utils.spec: Updated.
1209 2000-09-25 H.J. Lu <hjl@lucon.org>
1211 * utils/mountd/auth.c (auth_authenticate_internal): Make sure a
1212 non-NULL hostent is always returned.
1214 2000-09-11 Ion Badulescu <ionut@cs.columbia.edu>
1216 * etc/redhat/nfslock.init: don't kill lockd processes that do not
1217 have an executable (i.e. kernel threads)
1219 2000-09-01 H.J. Lu <hjl@lucon.org>
1221 * README: Updated for 0.2.
1223 2000-09-01 Jay Weber <jweber@valinux.com>
1225 * etc/redhat/nfs.init: Added ability for rpc.mountd to default to
1226 supporting version 3 of nfs if available, else it will fall back to
1227 version 2 support only.
1229 2000-08-30 H.J. Lu <hjl@lucon.org>
1231 * configure.in (VERSION): Set to "0.2".
1232 * configure: Regenerated.
1233 * nfs-utils.spec: Updated.
1235 2000-08-25 H.J. Lu <hjl@lucon.org>
1237 * support/misc/tcpwrapper.c (logit): Modify the log output.
1239 2000-08-25 Ion Badulescu <ionut@cs.columbia.edu>
1241 * utils/rquotad/rquotad.man, utils/statd/statd.man,
1242 utils/mountd/mountd.man: updated
1244 * utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL)
1245 * utils/rquotad/Makefile: fix comment
1247 * support/misc/tcpwrapper.c (logit): added comment about waiting
1248 for the children after fork()
1250 * utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving
1251 zombies behind (from logit()'s fork)
1252 * utils/rquotad/rquota_svc.c (main): ditto
1253 * utils/statd/statd.c (main): ditto
1255 * utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG
1256 to check_default instead of 0, for prognum
1258 * utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG
1259 to check_default instead of 0, for prognum
1261 * utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if
1262 HAVE_TCP_WRAPPER is defined.
1263 (mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is
1264 defined. Reject an RPC call if check_default () fails.
1266 2000-08-25 H.J. Lu <hjl@lucon.org>
1268 * support/include/tcpwrapper.h: New for the tcp wrapper
1270 * support/misc/Makefile: Likewise.
1271 * support/misc/from_local.c: Likewise.
1272 * support/misc/tcpwrapper.c: Likewise.
1274 * aclocal.m4 (AC_TCP_WRAPPER): New.
1275 * configure.in: Use it. Substitute LIBWRAP.
1276 * configure: Rebuilt.
1278 * config.mk.in (LIBNSL): New.
1279 (LIBWRAP): Likewise.
1281 * support/Makefile (SUBDIRS): Add misc.
1283 * support/lib/Makefile (LIBS): Add libmisc.a.
1285 * utils/rquotad/Makefile (LIBS): Add
1287 -lmisc $(LIBWRAP) $(LIBNSL)
1289 * utils/statd/Makefile (LIBS): Likewise.
1291 * utils/rquotad/rquota_svc.c: Include "tcpwrapper.h" if
1292 HAVE_TCP_WRAPPER is defined.
1293 (rquotaprog_1): Call check_default () if HAVE_TCP_WRAPPER is
1294 defined. Reject an RPC call if check_default () fails.
1296 * utils/statd/statd.c: Include "tcpwrapper.h" if
1297 HAVE_TCP_WRAPPER is defined.
1298 (sm_prog_1_wrapper): New. A wrapper for sm_prog_1. Call
1299 check_default () before calling sm_prog_1 (). Define it as
1300 sm_prog_1_wrapper if HAVE_TCP_WRAPPER is defined.
1302 2000-08-25 Chip Salzenberg <chip@valinux.com>
1304 * debian/*: Complete Debian build support.
1305 * etc/debian/*: Remove.
1307 2000-08-24 Neil Brown <neilb@cse.unsw.edu.au>
1309 * support/export/client.c(client_check): removed the "dot+1" as a
1310 ypdomain argument to innetgr as this is entirely bogus.
1311 It should always be NULL.
1313 2000-08-23 Neil Brown <neilb@cse.unsw.edu.au>
1315 * support/export/xtab.c(xtab_read): introduce new mode for
1316 reading xtab. i.e. a list of exports that might be known to the
1317 kernel, or might not. These are flagged as m_exported == -1
1318 * support/export/xtab.c(xtab_mount_read): call xtab_read with new
1319 value "2" for xtab, meaning don't trust this too much.
1320 * support/include/exportfs.h(struct mexport): changed m_exported
1321 from one bit to an int so that it can hold new value
1322 * utils/exportfs/exportfs.c(exportfs_ipdate): add an export to the
1323 kernel if it is uncertain whether the kernel knows (m_exported == -1)
1324 * utils/mountd/mountd.c(get_rootfh): similarly export to kernel if
1327 * support/nfs/xio.c(xflock): added O_CREAT when getting
1328 a write lock so that missing files aren't fatal.
1330 * etc/debian/nfs-common: new file from "potato"
1331 * etc/debian/nfs-kernel-server: new file from "potato" plus fixes.
1333 2000-08-09 H.J. Lu <hjl@lucon.org>
1335 * etc/redhat/nfs.init: Run /usr/sbin/exportfs first during
1336 startup to ensure all existing clients work fine.
1338 * support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0
1339 to xtab_read () for reading _PATH_XTAB.
1341 2000-08-02 H.J. Lu <hjl@lucon.org>
1343 * utils/mountd/auth.c (auth_authenticate_internal): Try to
1344 avoid the reverse name lookup.
1346 2000-07-04 H.J. Lu <hjl@lucon.org>
1348 * utils/statd/log.c: Include <stdlib.h> for exit ().
1350 * utils/statd/misc.c (xunlink): Add `{' and `}' to quiet the
1353 2000-07-04 H.J. Lu <hjl@lucon.org>
1355 * configure.in (VERSION): Set to "0.1.9.1".
1356 * configure: Regenerated.
1357 * nfs-utils.spec: Updated.
1361 2000-07-04 Neil Brown <neilb@cse.unsw.edu.au>
1363 * support/export/hostname.c (hostent_dup): Handle the NULL
1366 2000-07-03 H.J. Lu <hjl@lucon.org>
1368 * README: Update the util-linux requirement.
1370 2000-07-03 H.J. Lu <hjl@lucon.org>
1372 * configure.in (VERSION): Set to "0.1.9".
1373 * configure: Regenerated.
1374 * nfs-utils.spec: Updated.
1378 2000-07-03 H.J. Lu <hjl@lucon.org>
1380 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
1381 stop to ensure all clients can still access the server
1382 before it is shutdown.
1384 2000-06-30 Jeff Uphoff <juphoff@transmeta.com>
1386 * tools/rpcgen/rpc_svcout.c (write_msg_out): Generate syslog()
1387 calls with format string.
1389 2000-06-28 Chip Salzenberg <chip@valinux.com>
1391 * utils/statd/log.c (log): Call syslog with format string.
1393 2000-06-27 H.J. Lu <hjl@lucon.org>
1395 * utils/statd/statd.c (main): Use sysconf (_SC_OPEN_MAX)
1396 instead of OPEN_MAX.
1398 2000-06-27 H.J. Lu <hjl@lucon.org>
1402 2000-06-27 H.J. Lu <hjl@lucon.org>
1404 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
1405 startup to ensure all existing clients are exported.
1407 * configure.in (VERSION): Set to "0.1.8.2".
1408 * configure: Regenerated.
1409 * nfs-utils.spec: Updated.
1411 2000-06-06 H.J. Lu <hjl@lucon.org>
1413 * configure.in (VERSION): Set to "0.1.8.1".
1414 * configure: Regenerated.
1415 * nfs-utils.spec: Updated.
1417 2000-06-06 H.J. Lu <hjl@lucon.org>
1419 * utils/mountd/mountd.c (mount_dump_1_svc): Cast svc_getcaller
1420 to "struct sockaddr_in *" for glibc 2.2.
1421 (mount_umnt_1_svc): Likewise.
1422 (mount_umntall_1_svc): Likewise.
1423 (mount_export_1_svc): Likewise.
1424 (mount_exportall_1_svc): Likewise.
1425 (mount_pathconf_2_svc): Likewise.
1426 (get_rootfh): Likewise.
1428 2000-06-04 H.J. Lu <hjl@lucon.org>
1430 * etc/redhat/nfs.init: Fix a typo in comment.
1432 2000-05-31 H.J. Lu <hjl@lucon.org>
1434 * configure.in (VERSION): Set to "0.1.8".
1435 * configure: Regenerated.
1436 * nfs-utils.spec: Updated.
1440 2000-05-31 H.J. Lu <hjl@lucon.org>
1442 * configure.in (VERSION): Set to "0.1.7.5".
1443 * configure: Regenerated.
1444 * nfs-utils.spec: Updated.
1446 * support/include/nfslib.h (exportent): Add a new field,
1447 r_count, to count the number of mounts from a client.
1448 (getrmtabent): Take a new argument for position in file.
1449 (putrmtabent): Likewise.
1450 (fgetrmtabent): Likewise.
1451 (fputrmtabent): Likewise.
1452 * support/nfs/rmtab.c (getrmtabent): Handle the new argument
1453 for position in file.
1454 (fgetrmtabent): Likewise.
1455 (putrmtabent): Likewise.
1456 (fputrmtabent): Likewise.
1458 * support/nfs/rmtab.c (fgetrmtabent): Get value for the new
1461 * support/export/rmtab.c (rmtab_read): Pass NULL as the new
1462 argument to getrmtabent (), fgetrmtabent (), putrmtabent ()
1463 and fputrmtabent ().
1464 * utils/mountd/rmtab.c (mountlist_add): Likewise.
1465 (mountlist_del): Likewise.
1466 (mountlist_del_all): Likewise.
1467 (mountlist_list): Likewise.
1469 * utils/mountd/rmtab.c (mountlist_add): Increment "r_count"
1470 for the existing entry and initialize "r_count" to 1.
1471 (mountlist_del): Decrement "r_count".
1473 2000-05-18 H.J. Lu <hjl@lucon.org>
1475 * configure.in (VERSION): Set to "0.1.7.4".
1476 * configure: Regenerated.
1477 * nfs-utils.spec: Updated.
1479 2000-05-18 H.J. Lu <hjl@lucon.org>
1481 * etc/redhat/nfs.init (restart): Just do stop and start.
1483 2000-05-09 Jay Weber <jweber@valinux.com>
1485 * utils/rquotad/hasquota.c: added support for ext3 recognition
1487 * utils/rquotad/mntent.h: Likewise.
1489 2000-05-01 H.J. Lu <hjl@lucon.org>
1491 * configure.in (VERSION): Set to "0.1.7.3".
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): Skip bad
1498 mounting poins in /etc/fstab.
1500 2000-05-01 H.J. Lu <hjl@lucon.org>
1502 * configure.in (VERSION): Set to "0.1.7.2".
1503 * configure: Regenerated.
1504 * nfs-utils.spec: Updated.
1506 2000-05-01 H.J. Lu <hjl@lucon.org>
1508 * utils/rquotad/rquota_server.c (getquotainfo): Call stat ()
1509 to check for the mounting point.
1511 2000-04-29 Chip Salzenberg <chip@valinux.com>
1512 Neil Brown <neilb@cse.unsw.edu.au>
1514 * Really re-use RPC ports.
1515 (Fixes earlier patch. Sorry, Neil.)
1517 2000-04-26 H.J. Lu <hjl@lucon.org>
1519 * configure.in (VERSION): Set to "0.1.7.1".
1520 * configure: Regenerated.
1521 * nfs-utils.spec: Updated.
1523 2000-04-26 H.J. Lu <hjl@lucon.org>
1525 * etc/redhat/nfslock.init: Check if lockd exits before killing
1528 2000-04-25 H.J. Lu <hjl@lucon.org>
1530 * README: Require util-linux-2.10f-mount-rpc.patch for mount.
1532 2000-03-21 Michael Weiser <michael@weiser.saale-net.de>
1534 * support/nfs/exports.c (parsesquash): Correctly set the
1537 Tue Mar 21 11:38:48 EST 2000 NeilBrown <neilb@cse.unsw.edu.au>
1539 * support/include/nfs/nfs.h: Removed knowledge of internals of
1540 kernel filehandles (which can change) and defined nfs_fh_size
1541 which has variable size
1543 * support/nfs/getfh.c: defined getfh_size to use new syscall to
1544 get variable sized file handles, and change getfh{,old} to
1547 * utils/mountd/mountd.c: use nfd_fh_size and call getfh_size for
1550 * tools/Makefile, tools/nlmtest/nlmtest.c
1551 nlmtest.c depended on internel format of file handles, so now
1555 2000-03-12 Chip Salzenberg <chip@valinux.com>
1556 Neil Brown <neilb@cse.unsw.edu.au>
1558 * support/nfs/rpcmisc.c (rpc_init): Share transports.
1560 2000-03-13 H.J. Lu <hjl@lucon.org>
1562 * etc/redhat/nfsd.init: Updated.
1564 * etc/redhat/nfslock.init: Updated.
1566 * nfs-utils.spec.in: Updated.
1568 * configure.in (VERSION): Set to "0.1.7".
1569 * configure: Regenerated.
1570 * nfs-utils.spec: Updated.
1574 Wed Mar 8 09:42:43 2000 Neil Brown <neilb@cse.unsw.edu.au>
1576 * utils/exportfs/exportfs.c (dump): Included printing of
1577 nohide, no_subtree_check, and insecure_locks
1579 2000-02-26 Chip Salzenberg <chip@valinux.com>
1581 * config.mk.in (INSTALLSUID): Strip ("-s").
1582 (INSTALLSCRIPT): Define.
1583 * utils/nhfsstone/Makefile: Use it.
1585 2000-02-26 Chip Salzenberg <chip@valinux.com>
1587 * utils/lockd/lockd.man: Create.
1588 * utils/lockd/Makefile: Install it.
1589 * utils/nhfsstone/nhfs{run,nums,graph}.man: Create.
1590 * utils/nhfsstone/nhfsstone.man: Change suffix from ".1".
1591 * utils/nhfsstone/Makefile: Install the helper scripts and
1593 * utils/exportfs/exports.man: Fix typo.
1595 2000-02-26 Chip Salzenberg <chip@valinux.com>
1597 * support/nfs/xio.c (xungetc): Decrement line number when
1598 character to unget is newline. Make first parameter int, so
1599 it can distinguish EOF from \377.
1600 * support/include/xio.h (xungetc): Adjust prototype.
1602 Fri Feb 4 23:42:23 2000 Neil Brown <neilb@cse.unsw.edu.au>
1604 * support/include/nfs/export.h: added NFSEXP_NOAUTHNLM
1605 * support/nfs/exports.c: added handling for NFSEXP_NOAUTHNLM
1606 * utils/exportfs/exports.man: added documentation for no_auth_nlm.
1608 This is for supporting a new option introduced in 2.3.42
1610 Thu Feb 3 14:55:48 2000 H.J. Lu <hjl@lucon.org>
1612 * COPYING: Added. GPL.
1614 Thu Feb 03 14:40:40 2000 Cristian Gafton <gafton@redhat.com>
1616 * utils/rquotad/rquota_server.c (getquotainfo): Call statfs ()
1617 to get the block size.
1619 Tue Jan 25 11:04:17 2000 H.J. Lu <hjl@lucon.org>
1621 * nfs-utils.spec.in: Update ftp site.
1623 Mon Jan 17 11:48:18 2000 H.J. Lu <hjl@lucon.org>
1625 * README: Update hostnames.
1627 Tue Jan 11 10:06:22 2000 H.J. Lu <hjl@lucon.org>
1629 * configure.in (VERSION): Set to "0.1.6".
1630 * configure: Regenerated.
1631 * nfs-utils.spec: Updated.
1635 Mon Jan 10 14:26:33 2000 H.J. Lu <hjl@lucon.org>
1637 * utils/mountd/auth.c (auth_authenticate_internal): Call
1638 xstrdup for hostname before passing it to gethostbyname.
1640 * utils/mountd/mountd.c (get_exportlist): Use xstrdup instead
1643 Sun Dec 19 09:35:01 1999 H.J. Lu <hjl@lucon.org>
1645 * README: Update the mailing list address.
1647 Sun Dec 19 09:22:28 1999 H.J. Lu <hjl@lucon.org>
1649 * configure.in (VERSION): Set to "0.1.5".
1650 * configure: Regenerated.
1651 * nfs-utils.spec: Updated.
1655 Mon Dec 13 13:40:20 1999 H.J. Lu <hjl@lucon.org>
1657 * utils/rquotad/hasquota.c (hasquota): Malloc one more char
1660 Mon Dec 6 09:42:45 1999 H.J. Lu <hjl@lucon.org>
1662 * configure.in (VERSION): Set to "0.1.4".
1663 * configure: Regenerated.
1664 * nfs-utils.spec: Updated.
1668 Mon Dec 6 09:28:07 1999 H.J. Lu <hjl@lucon.org>
1670 * nfs-utils.spec.in: New file.
1672 * config.mk.in (VERSION): Changed to "nfs-utils @VERSION@".
1674 * configure.in (nfs-utils.spec): Added to AC_OUTPUT.
1676 1999-12-04 Chip Salzenberg <chip@valinux.com>
1678 * config.mk.in: Use $(CC) as set by configure.
1680 1999-12-04 Chip Salzenberg <chip@valinux.com>
1682 * rules.mk: Call $(MAKE) with $(MFLAGS).
1684 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1686 * tools/rpcgen/rpc_main.c (h_output): Generate IXDR_GET_INT32,
1687 IXDR_PUT_INT32, IXDR_GET_U_INT32 and IXDR_PUT_U_INT32.
1689 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1691 * nfs-utils.spec (Version): Set to 0.1.3.
1693 * configure.in (VERSION): Set to "nfs-utils 0.1.3".
1694 * configure: Regenerated.
1698 Mon Nov 29 11:15:47 1999 H.J. Lu <hjl@lucon.org>
1700 * utils/rquotad/rquota_server.c (nfsmount_to_devname): Removed.
1701 (_PATH_DEV_DSK): Likewise.
1702 (getquotainfo): Match the mounting point from /etc/mtab
1703 instead of calling nfsmount_to_devname ().
1705 1999-11-24 Chip Salzenberg <chip@valinux.com>
1707 * utils/statd/monitor.c (sm_mon_1_svc): Accept lockd callbacks
1708 to the new port 24 as well as the historical port 100021.
1710 Tue Nov 23 10:21:34 1999 Neil Brown <neilb@cse.unsw.edu.au>
1712 * etc/redhat/nfsd.init (stop): moved exportfs -ua after
1713 stopping nfsd to stop spurious ESTALE on server shutdown.
1715 Tue Nov 23 10:13:39 1999 Neil Brown <neilb@cse.unsw.edu.au>
1717 * support/nfs/exports.c (parseopts): make copy of opt string
1718 before 'nul'ing out commas so that
1720 # exportfs -o option1,option2 hosta:/fs hostb:/fs
1722 applies both options to both exports.
1724 Thu Oct 28 12:55:42 1999 H.J. Lu <hjl@lucon.org>
1726 * README: Fix a few typos.
1728 * tools/rpcgen/rpc_cout.c (print_header): Use int32_t instead
1730 * tools/rpcgen/rpc_hout.c (pdefine): Likewise.
1731 * tools/rpcgen/rpc_main.c (c_initialize): Likewise.
1732 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1733 (unsigned_dec): Likewise.
1734 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1735 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1737 * tools/rpcgen/rpc_cout.c (emit_single_in_line): Use INT32
1739 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1740 (unsigned_dec): Likewise.
1741 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1742 * tools/rpcgen/rpc_scan.h (tok_kind): Likewise.
1743 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1745 Thu Oct 28 11:27:51 1999 Neil Brown <neilb@cse.unsw.edu.au>
1747 * support/include/nfs/export.h addedd NFSEXP_NOSUBTREECHECK
1748 * support/nfs/exports.c: added {no_,}subtree_check and changed
1750 * utils/exportfs/exports.man: added no_subtree_check and nohide
1751 and removed irrelevant stuff from unfsd.
1752 * support/export/rmtab.c: rmtab_read didn't quite do the right
1753 thing if a pathname from rmtab was a subdirectory of an export-point
1755 Tue Oct 26 17:22:40 1999 H.J. Lu <hjl@lucon.org>
1757 * README: Updated ftp site.
1759 Mon Oct 25 18:12:45 1999 H.J. Lu <hjl@lucon.org>
1761 * nfs-utils.spec (Version): Set to 0.1.2.
1763 * configure.in (VERSION): Set to "nfs-utils 0.1.2".
1764 * configure: Regenerated.
1768 Mon Oct 25 18:11:21 1999 H.J. Lu <hjl@lucon.org>
1770 * utils/mountd/auth.c (auth_error): Add "no_forward_dns".
1771 (auth_authenticate_internal): Check for NULL return on forward
1773 (auth_authenticate): Handle "no_forward_dns".
1775 Thu Oct 21 16:22:06 1999 H.J. Lu <hjl@lucon.org>
1777 * Version 0.1.1 released.
1779 * nfs-utils.spec (Version): Set to 0.1.1.
1781 * configure.in (VERSION): Set to "nfs-utils 0.1.1".
1782 * configure: Regenerated.
1786 Mon Oct 18 17:43:29 1999 H.J. Lu <hjl@lucon.org>
1788 * nfs-utils.spec (Obsoletes): Fixed a typo, change knfsd-client
1790 (Provides): Likewise.
1792 Mon Oct 18 14:56:22 1999 H.J. Lu <hjl@lucon.org>
1794 * Initial version 0.1 released.
1796 * configure.in (VERSION): Set to "nfs-utils 0.1".
1797 * configure: Regenerated.
1799 Mon Oct 18 14:54:57 1999 H.J. Lu <hjl@lucon.org>
1801 * utils/mountd/mountd.c (get_exportlist): Cleanup.
1803 * utils/exportfs/exportfs.c (unexport_all): Unexport from
1804 kernel only if the entry is exported to kernel.
1805 (unexportfs): Likewise.
1807 Wed Sep 08 16:49:32 1999 Neil Brown <neilb@cse.unsw.edu.au>
1809 1/ utils/mountd/rmtab.c::mountlist_list
1811 This routine stats the rmtab file to see if it has changed. It
1812 if has, it cleans up it's old copy of the data. But it still
1813 always re-read the file, thus returning multiple copies of the
1814 data on consecutive calls without intervening changes.
1815 "Showmount -a" didn't show this as it appears to sort/unique the
1816 data, but 'strace showmount -a' showed that the size of the
1817 datagram that it received grew.
1819 I moved the getrmtabent loop inside the mtime test.
1821 2/ utils/exportfs/exportfs.c
1823 Many routines used the m_path field of m_export instead of
1825 According to the comment in nfslib.h, m_path should only
1826 be used when processing a mount request (i.e. in mountd)
1827 where the mountpoint may be a subdirectory of the export point.
1829 I changed all occurances of m_path to e_path
1832 3/ utils/exportfs/exportfs.c:main
1834 extra arguments are not meaningful with -a or -r, but
1835 exportfs accepted them and then ignored the -a/-r, expect that
1836 -r would still unexport everything first.
1838 I generate an error if there are extra args and f_all
1840 4/ utils/exportfs/exportfs.c:main
1841 extract dump out as a special case.
1843 5/ utils/exportfs/exportfs.c
1844 made f_reexport a local variable.
1847 6/ utils/exportfs/exportfs.c:main,exportall
1849 support/export/rmtab.c
1850 only mayexport on newly created entries, don't set xtabent at all
1852 7/ support/include/nfslib.h
1854 add #define _PATH_PROC_EXPORTS to be /proc/fs/nds/exports
1856 8/ support/export/xtab.c
1858 xtab_mount_read loads data from _PATH_PROC_EXPORTS if it exists,
1862 9/ support/export/xtab.c
1864 xtab_mount_read now sets m_exported, and NOT
1865 xtabent and mayexport
1867 removed the append arguement from xtab_write as it was
1870 added is_export flag to xtab_write similar to xtab_read
1871 if is_export, only write entries with m_xtabent or m_addxtab
1872 if !is_export, only write entries with m_exported
1874 10/ support/export/export.c::export_allowed_internal
1876 added test for exp->m_mayexport, as the export tree
1877 may have entries that are no longer allowed to be exported,
1878 and so shouldn't caused deduced exported by rmtab_read
1880 11/ utils/exportfs/exportfs.c::main
1881 error checking of flags.
1883 12/ utils/exportfs/exportfs.c
1885 total rewrite of export and unexport logic.
1887 - build an exportslist of valid exports, based on
1888 current etab file and arguments,
1889 - read rmtab to instantiate relevant wild card entries
1890 - read etab to find out what is currently exported
1891 - synchronise intention with reality
1892 - write out etab and xtab
1895 discard the m_addxtab flag
1896 add m_changed flag so we know what to report in exportfs
1898 14/ utils/mountd/auth.c:auth_authenticate
1900 the value returned by gethostbyaddr was trusted.
1902 It now follows this with a call to gethostbyname
1903 and checks that the address is in the list.
1905 15/ support/export/nfsctl.c::cltsetup,expsetup
1907 force client names to lowercase as kernel is
1910 16/ quietened a few compiler warnings
1912 17/ support/export/client:client_lookup
1914 look for pre-existing client with same name before creating
1917 18/ support/include/exportfs.h
1919 The ordering of the MCL_* enum was:
1920 ANONYMOUS, FQDN, SUBNETWORK, WILDCARD, NETGROUP
1922 I moved ANONYMOUS to the end.
1924 The ordering is significant when an export entry is being searched for to
1925 match a given address. There are two problems with ANONYMOUS being first.
1927 1/ if a directory is exported rw to a couple of hosts and ro to everyone else,
1928 then the ro case will always be found first and the privileged hosts won't get
1930 2/ When mountd gets a request to mount an ANONYMOUSly exported tree, it creates a FQDN
1931 export entry for the specific host, and writes it to xtab.
1932 When another request comes from the same host, the ANONYMOUS entry is found again,
1933 before the new FQDN entry, so it creates another FQDN entry and writes it to xtab
1934 again. If causes bloat in xtab.
1936 Putting ANONYMOUS at the end reflects it's nature as a catch-all
1938 19/ utils/exportfs/exportfs.man
1939 many updates to the man page to reflect changes to the code
1941 -----------------------
1947 - allow exportfs to modify rmtab file
1948 - make sure kernel never gets two clients with same IP address
1949 - possible kernel should reject
1950 - needs to be some way to lookup client in kernel by IP address
1951 - maybe get kernel to do case-insensitive comparisons on client names
1952 - remove unused clients from kernel
1954 - change etab to xtab and xtab to xtab.active
1956 - timestamp and/or statd-stamp in rmtab for removing old entries.
1958 Mon Oct 18 11:48:07 1999 H.J. Lu <hjl@lucon.org>
1960 * linux-nfs: New directory.
1961 * linux-nfs/ChangeLog: Moved from ..
1962 * linux-nfs/INSTALL: Likewise.
1963 * linux-nfs/KNOWNBUGS: Likewise.
1964 * linux-nfs/NEW: Likewise.
1965 * linux-nfs/README: Likewise.
1966 * linux-nfs/THANKS: Likewise.
1967 * linux-nfs/TODO: Likewise.
1969 * Starting from knfsd 1.4.7.