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
26 * utils/gssd/gssd_proc.c: We were forgetting to restore the euid
27 on certain failures, which meant gssd could get stuck in a state
28 where it didn't have permissions to read the files in rpc_pipefs
30 * utils/gssd/gssd_proc.c: Use libnfsidmapd to map gss principals
32 * debian/nfs-kernel-server.default: Document the NEED_SVCGSSD
33 variable in /etc/default/nfs-kernel-server.
36 2004-11-22 NeilBrown <neilb@cse.unsw.edu.au>
38 * utils/exportfs/nfsd.man: corrected typo in .BR macro usage -
39 reported by Eric Raymond
41 2004-10-19 "J. Bruce Fields" <bfields@fieldses.org>
43 * support/gssapi/* support/rpc/* utils/gssd/* utils/svcgssd/* etc
44 initial support for GSSAPI authentication
46 2004-09-15 Neil Brown <neilb@cse.unsw.edu.au>
48 * utils/statd/monitor.c(sm_unmon_1_svc): is RESTRICTED_STATD, then
49 check IP address and force my_name to 127.0.0.1 to match
50 what happens in sm_mon_1_svc. This avoid spurious "erroneous
52 * utils/statd.monitor.c(sm_unmon_all_1_svc): likewise
54 2004-09-15 "J. Bruce Fields" <bfields@fieldses.org>
56 * Assorted changes to support "gss/*" style authentication
57 * utils/idmapd: new idmapd daemon for nfsv4 username lookup
59 2004-09-06 Trond Myklebust <trond.myklebust@fys.uio.no>
60 Neil Brown <neilb@cse.unsw.edu.au>
62 * utils/mountd/auth.c(auth_authenticate_internal): fix
63 uninitialsed variable problem (causes bad error messages).
65 2004-09-06 Paul Clements <paul.clements@steeleye.com>
66 Neil Brown <neilb@cse.unsw.edu.au>
68 * utils/mountd/mountd.c(main): support --ha-callout (-H) for
69 specifying a callout program
70 * utils/mountd/rmtab.c: Call ha_callout on mount/unmount
71 * utils/statd/monitor.c: Call ha_callout on add/del client
72 * utils/statd/rmtcall.c: as above
73 * utils/statd/statd.c: handle --ha-callout (-H)
74 * utils/statd/svc_run.c: call notify_hosts is we have received a
76 * support/include/ha-callout.h: define ha_callout function
79 2004-08-31 NeilBrown <neilb@cse.unsw.edu.au>
80 * utils/mountd/cache.c(cache_process_req): clear fd after
81 processing so as not to confused libc/sunrpc into thinking
82 it need to do something with that fd.
84 2004-08-31 NeilBrown <neilb@cse.unsw.edu.au>
86 * debian/nfs-kernel-server.init(start,stop) mount the nfsd
87 filesystem, if available, before starting nfs services, and
88 unmount it afterwards.
89 * etc/nodist/nfs-server: ditto
90 * etc/redhat/nfs.init: likewise
91 * etc/redhat/nfs: add "MOUNT_NFSD" flag to control above.
93 2004-06-08 NeilBrown <neilb@cse.unsw.edu.au>
95 * utils/exportfs/exportfs.c: Don't rmtab_read if new_cache, it
97 * support/nfs/cacheio.c(cache_flush): Change order in which caches
98 are flushed so that dependancies don't keep things in the cache
101 2004-03-18 Chip Salzenberg <chip@pobox.com>
103 * debian/changelog: Version 1.0.6-2.
105 2004-02-24 NeilBrown <neilb@cse.unsw.edu.au>
106 from "J. Bruce Fields" <bfields@fieldses.org>
108 * utils/mountd/cache.c: call auth_reload to make sure auth data is
109 current before responding to kernel upcall.
111 2004-02-24 NeilBrown <neilb@cse.unsw.edu.au>
112 Based on patch from Greg Banks <gnb@melbourne.sgi.com>
114 * utils/exportfs/exports.man: Document fsid= option.
116 2003-09-15 NeilBrown <neilb@cse.unsw.edu.au>
120 * rules.mk: Add dep: rule when no OBJS, so "make dep" works in
121 support/include, and depend in "predep"
122 * support/export/Makefile, tools/rpcgen/Makefile,
123 utils/statd/Makefile: add "predep" rule so that "make dep" works.
124 * Makefile: allow a simple "make" to run ./configure and "make dep"
126 * configure.in, nfs-utils.spec: Update version to 1.0.6
129 2003-09-12 Chip Salzenberg <chip@pobox.com>
131 * debian/changelog: Version 1.0.6-1.
133 2003-09-12 NeilBrown <neilb@cse.unsw.edu.au>
135 * utils/mountd/mountd.c(main): Impose FD_SETSIZE as an upper limit
137 * utils/statd/statd.c(main): Ditto.
139 michael <michael@newdream.net> discovered that svc_setreqsize
140 in glibc can segfault if RLIMIT_NOFILE is bigger than
141 FD_SETSIZE, so a simple solution is to impose a hard limit.
143 2003-09-09 Chip Salzenberg <chip@pobox.com>
145 * debian/changelog: Version 1.0.5-3.
146 * support/export/hostname.c (get_reliable_hostbyaddr): Fix crash
147 on invalid reverse DNS.
148 * utils/showmount/showmount.c (main): Fix inet_ntoa() parameter.
149 * tools/rpcgen/rpc_cout.c (print_header): Remove unused vars.
150 * tools/rpcgen/rpc_parse.c (def_union): Likewise.
152 2003-08-22 Chip Salzenberg <chip@pobox.com>
154 * utils/statd/{log.h,log.c}: Rename log() to note() and L_* to
155 N_*, to avoid conflict with ISO C built-in log() function.
156 * utils/statd/*.c: Use note().
158 2003-08-20 Chip Salzenberg <chip@pobox.com>
160 * debian/changelog: Version 1.0.5-2.
162 2003-08-11 NeilBrown <neilb@cse.unsw.edu.au>
164 * utils/mountd/cache.c(cache_get_filehandle): close the filehandle
167 2003-08-04 NeilBrown <neilb@cse.unsw.edu.au>
169 * support/include/nfs/export.h, support/nfs/exports.c,
170 utils/exportfs/exports.c, utils/mountd/mountd.c: change
171 NFSEXP_CROSSMNT to NFSEXP_CROSSMOUNT to avoid confusion with older
172 meaning. Also remove meaningless
173 NFSEXP_{UIDMAP,KERBEROS,SUNSECURE}
175 2003-08-04 NeilBrown <neilb@cse.unsw.edu.au>
177 * support/export/xtab.c, support/include/nfslib.h,
178 support/nfs/cacheio.c, support/nfs/nfssvc.c,
179 utils/exportfs/exportfs.c, utils/exportfs/exportfs.man,
180 utils/exportfs/nfsd.man, utils/mountd/cache.c: support
181 /proc/fs/nfsd/* as a perferred alternate to /proc/fs/nfs/*
182 (nfs-utils-1.0.5-post2)
184 2003-08-04 NeilBrown <neilb@cse.unsw.edu.au>
186 * support/nfs/nfsexport.c: open channel file O_WRONLY when
188 * utils/mountd/cache.c: maintain mountlist when new_cache is
189 active. Also use O_WRONLY for channel files.
190 * utils/mountd/mountd.h: mountlist_{del,add} now take a host name
191 rather than an nfs_export.
192 * utils/mountd/rmtab.c: ditto.
193 (nfs-utils-1.5.0-post1)
195 2003-07-24 Chip Salzenberg <chip@pobox.com>
197 * support/nfs/xlog.c (xlog): Revise buffer-overflow fix to
198 use Debian security team's cleaner approach.
199 * debian/changelog: Version 1.0.5-1.
200 * debian/nfs-kernel-server.init: Cosmetic changes.
202 2003-07-18 NeilBrown <neilb@cse.unsw.edu.au>
205 1.0.4 was a bit of a brown-paper-bag-release because of the extra
206 'free' in auth.c. So I'm releasing this just a few days later.
208 * support/nfs/cacheio.c(cache_flush): Correct test for 'open
210 * utils/exportfs/exportfs.c(main): If "-f" given as lone option,
211 check if new_cache is enabled, error if not, flush and exit if it
213 * utils/exportfs/exportfs.man: Explain -f option and explain the
214 two different modes that exportfs can work in.
215 * utils/mountd/mountd.c: Do not change RLIMIT_NOFILE if the -o
217 * utils/mountd/mountd.man: Record the change if default behaviour
219 * configure.in, nfs-utils.spec: update version to 1.0.5 and
222 2003-07-15 NeilBrown <neilb@cse.unsw.edu.au>
224 * utils/mountd/mountd.c(main): getopt string fix for 'o'
225 * utils/mountd/auth.c(auth_authenticate): remove extra 'free'
226 * utils/exportfs/exportfs.c(main): make 'exportfs -f' just flush
228 * support/include/nfs/export.h: Reserve a bit for possible ACL
231 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
233 * utils/exportfs/nfsd.man: new man page for nfsd filesystem. Also
234 assorted changed to cope with section 7 of the manual.
235 * configure.in, nfs-utils.spec: Update version to 1.0.4
238 This is a 'pre-release' for 1.1.0 Hopefully 1.1.0 will be the
239 baseline for 2.6 and 2.8. I.e. it should continue to work right
240 through the 2.8 (or 3.0) kernel series. Previous releases wont.
242 2003-07-04 NeilBrown <neilb@cse.unsw.edu.au>
243 Steve Dickson <SteveD@redhat.com>
246 * utils/statd/statd.c: create a pidfile with pid of statd, and
247 truncate it when statd exists.
248 * utils/statd/statd.c: drop privs by setuid to owner of SM_DIR,
249 and warn if this is root.
250 * utils/statd/statd.c: when statd forks, connect child to parent
251 with a pipe, and send a byte down the pipe once the child is
253 * Makefile: create and chown sm, sm.bak, state when "make install"
254 * configure.in: add --with-statduser= option which defaults to
255 "rpcuser" or "nobody"
256 * config.mk.in: pass "statduser" through to Makefile
258 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
260 * support/include/nfs/nfs.h: Make sure correct __kernel_dev_t is
261 used as the size was changed somewhere in 2.5.60-2.5.70. Without
262 this nfs-utils compiles against 2.6 headers will not work on a
265 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
267 * support/nfs/nfssvc.c(nfssvc): If /proc/fs/nfs/threads exists,
268 set number of threads by writing to there. This means it will
269 still work when the syscall interface goes away in 2.7.
271 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
272 fumihiko kakuma <kakmy@mvh.biglobe.ne.jp>
274 * utils/exportfs/exportfs.c(unexportfs): improve host comparison
275 so as to only export the wildcard exports that were asked for.
276 * support/export/export.c(export_allowed): changed to return the
277 nfs_export rather than a "struct exportent", as m_changed is
279 * support/export/rmtab.c(rmtab_read): modified to deal with
280 interface change for export_allowed(), and enhanced to preserve
281 m_changed flag when a wild-card export causes the creation of
282 a non-wildcard export.
284 2003-07-02 NeilBrown <neilb@cse.unsw.edu.au>
285 Steve Dickson <SteveD@redhat.com>
287 * utils/mountd/mountd.man: Add valid kinds of debugging.
288 * utils/mountd/mountd.c(main): ignore SIGPIPE
289 * utils/nfsstat/nfsstat.c: fine-tune printing of warning so
290 we don't get warnings about unavailable stats that weren't asked
293 2003-06-24 NeilBrown <neilb@cse.unsw.edu.au>
295 * support/nfs/nfsexport.c(exp_unexp): When unexporting filesystems
296 via /rpc/net/rpc/nfsd*/channel, set the expiry date to 1, not
297 'forever', so things disappear out of the cache rather than just
300 2003-06-16 "J. Bruce Fields" <bfields@fieldses.org>
302 * utils/mountd/cache.c(nfsd_fh): don't export the export_ent
305 2003-06-16 NeilBrown <neilb@cse.unsw.edu.au>
307 * debian/nfs-kernel-server.init,etc/nodist/nfs-server,
308 etc/redhat/nfs.init: when checking if V3 is supported, make sure
309 nfs server 'knows' about 127.0.0.1 first.
311 2003-06-10 Chip Salzenberg <chip@pobox.com>
313 * support/nfs/xlog.c (xlog): Fix off-by-one buffer overflow bug.
314 * debian/changelog: Version 1.0.3-2.
316 2003-05-30 Michael Griffith <grif@michaelgriffith.com>
317 NeilBrown <neilb@cse.unsw.edu.au>
319 utils/nfsstat/nfsstat.c(print_callstats): use unsigned
320 long long to avoid overflow when printing stats.
322 2003-05-30 NeilBrown <neilb@cse.unsw.edu.au>
324 * support/export/export.c, support/include/nfslib.h,
325 support/nfs/export.c, utils/exportfs/exportfs.c,
326 utils/mountd/mountd.c: new export option "mountpoint"
327 If no path is given, then the export point must be a
328 mount point, or it won't be exported. If a path is
329 given (e.g. mountpoint=/path) then that path must be
330 a mountpoint or the exportpoint won't be exported.
331 * utils/exportfs/exportfs.man: document mountpoint option.
332 * support/misc/mountpoint.c: New file with is_mountpoint()
333 to determine if something is a mountpoint.
335 2003-05-23 NeilBrown <neilb@cse.unsw.edu.au>
337 * utils/mountd/cache.c(cache_get_filehandle): take a separate path
338 argument as we might not be getting the filehandle for the
340 * utils/mountd/mountd.c(get_rootfh): pass real path when calling
341 cache_get_filehandle.
342 * utils/mountd/mountd.c(get_rootfh): check export point and
343 requested directory are on the same filesystem, and complain if
346 2003-05-22 NeilBrown <neilb@cse.unsw.edu.au>
348 * utils/mountd/auth.c(auth_authenticate_internal): make sure
349 portnumber is still checked when using new cache lookup.
351 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
353 * utils/exportfs/exportfs.c: Use check_new_cache and cache_flush
354 Don't actually talk to kernel when new cache is in effect, except
356 * utils/exportfs/exportfs.c: add -f option to fully flush cache.
357 * support/export/xtab.c: Only rename new xtab into place if it has
358 changed, thus preserving modify date for exportfs to use when
360 * support/nfs/cacheio.c: Add cache_flush
361 * support/export/xtab.c: Only rename new xtab into place if it has
362 changed, thus preserving modify date for exportfs to use when
365 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
367 * support/export/client.c: Add client_compose, client_member to
368 handle new composite client names
369 * support/include/exportfs.h: Declare above functions.
370 * utils/mountd/auth.c: use client_compose to determine calling
371 client if new cache is being used.
372 * utils/mountd/auth.c: call cache_export to export a filesystem if
373 new_cache, check if new cache is used, and call my_svc_run instead
375 * utils/mountd/svc_run.c: new file defining my_svc_run
376 * utils/mountd/cache.c: new file for handling cache upcalls.
377 * support/nfs/cacheio.c(check_new_cache): new function to check if
378 new cache should be used.
381 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
383 * support/include/nfs/export.h: New CROSSMNT distinct from NOHIDE
384 * support/nfs/exports.c: Make CROSSMNT distinct from NOHIDE
385 * utils/exportfs/exportfs.c(dump): ditto
387 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
389 * support/export/hostname.c(get_reliable_hostbyaddr): new function
390 to get host name from address with full checking of authenticity.
391 * support/include/misc.h: declare above function
392 * utils/mountd/auth.c(auth_authenticate_internal): remove all
393 logic for authenticating address.
394 * utils/mountd/auth.c(auth_authenticate): call new
395 get_reliable_hostbyaddr to to hostname lookup before calling _internal.
398 2003-03-30 NeilBrown <neilb@cse.unsw.edu.au>
400 * tools/rpcgen/rpc_main.c(find_cpp): removed
401 * tools/rpcgen/rpc_main.c(open_input): use execvp to find "cpp",
402 then try hard-coded paths.
404 2003-03-26 Chip Salzenberg <chip@pobox.com>
406 * debian/changelog: Version 1.0.3-1.
408 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
410 * utils/mountd/rmtab.c (slink_safe_rename): real_newpath should be
411 "const char*", not "char*".
413 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
415 * configure.in (VERSION): Set to "1.0.3".
416 * nfs-utils.spec: Likewise.
417 * configure: Regenerated.
419 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
421 * support/nfs/cacheio.c: New File - support for read/writing
422 to export cache in /proc/rpc/*/channel
423 * support/nfs/Makefile: compile cacheio.c
424 * support/include/nfslib.h: declare cacheio.c functions
425 * support/nfs/nfsexport.c: export and unexport through
426 /proc/rpc/*/channel if possible, as old syscall interface
427 may not survive into 2.6 on all architectures.
429 2003-02-19 NeilBrown <neilb@cse.unsw.edu.au>
430 Ben Leslie <benno@sesgroup.net>
432 * support/nfs/rpcmisc.c(rpc_init): change test for ignoring
433 "defport" from (__rpcfdtype == 0) to (__rpcpmstart==0). The
434 former would incorectly ignore defport if the application
435 explicitly set __rpcfdtype. The later is sufficient to avoid the
436 special handling in the case where stdin is an internet socket.
438 * utils/mountd/mountd.c(main): Add 'n' to option list in
439 getopt_long as this is a short form of --no-tcp which want being
442 2003-02-12 Chip Salzenberg <chip@pobox.com>
444 * debian/changelog: Version 1.0.2-2.
446 2002-11-27 Chip Salzenberg <chip@pobox.com>
448 * utils/mountd/rmtab.c (slink_safe_rename): Fix off-by-one buffer
449 overflow bug. Reformat per rest of source file.
451 2002-11-19 NeilBrown <neilb@cse.unsw.edu.au>
453 * utils/exportfs/exports.man: Correct notes about whether the wild
454 card characters match a period. They do.
456 2002-10-15 Juan Gomez <juang@us.ibm.com>
458 * utils/mountd/rmtab.c (slink_safe_rename): New. Support
460 (mountlist_add): Call slink_safe_rename instead of rename.
462 2002-10-11 H.J. Lu <hjl@lucon.org>
464 * support/include/exportfs.h (export_errno): New.
466 * support/nfs/exports.c: Include <errno.h>.
468 (getexportent): Set export_errno to EINVAL for bad option.
469 (parseopts): Likewise.
470 Report the location of the default sync/async option.
472 * utils/exportfs/exportfs.c (main): Initialize export_errno to
473 0. Return export_errno.
475 2002-10-11 Juan Gomez <gomez@cs.sjsu.edu>
476 NeilBrown <neilb@cse.unsw.edu.au>
478 utils/statd/statd.c(killer): don't pmap_unset if in notify_only mode
479 utils/statd/statd.c(main): don't pmap_unset if in notify_only mode
481 2002-09-16 Chip Salzenberg <chip@pobox.com>
483 * utils/rquotad/rquota_svc.c (main): Use int for value of getopt.
485 2002-09-15 Chip Salzenberg <chip@pobox.com>
487 * support/nfs/rpcmisc.c (rpc_init): Allow stdin to be a non-INET
488 socket, as occurs when run from sshd.
489 * debian/changelog: Version 1.0.2-1.
491 2002-09-12 H.J. Lu <hjl@lucon.org>
493 * support/nfs/svc_socket.c: Remove HAVE_SVCTCP_SOCKET and
496 2002-09-12 H.J. Lu <hjl@lucon.org>
498 * configure.in: Remove checking svctcp_socket and svcudp_socket.
499 * configure: Regenerated.
501 * support/include/config.h.in (HAVE_SVCTCP_SOCKET): Removed.
502 (HAVE_SVCUDP_SOCKET): Removed.
504 * support/include/nfslib.h: Undo the last change.
506 2002-09-12 H.J. Lu <hjl@lucon.org>
508 * support/include/nfslib.h (svctcp_socket): Protect it with
510 (svcudp_socket): Protect it with HAVE_SVCUDP_SOCKET.
512 2002-09-12 H.J. Lu <hjl@lucon.org>
514 * configure.in (VERSION): Set to "1.0.2".
515 * configure: Regenerated.
516 * nfs-utils.spec: Likewise.
518 2002-09-12 H.J. Lu <hjl@lucon.org>
520 * configure.in: Check svctcp_socket and svcudp_socket.
521 * configure: Regenerated.
523 * support/include/config.h.in (HAVE_SVCTCP_SOCKET): New.
524 (HAVE_SVCUDP_SOCKET): New.
526 * support/include/nfslib.h (svctcp_socket): New.
527 (svcudp_socket): New.
529 * support/nfs/Makefile (OBJS): Add svc_socket.o.
531 * support/nfs/svc_socket.c: New.
533 * support/nfs/rpcmisc.c (rpc_init): Call svctcp_socket and
534 svcudp_socket if port is unspecified.
536 * utils/nfsd/nfsd.c (main): Call getservbyname for port.
538 * utils/rquotad/rquota_svc.c: Include <nfslib.h>.
539 (killer): New. Signal handler to unregister.
540 (main): Use killer. Call svcudp_socket to get the default
543 2002-09-02 Juan Gomez <juang@us.ibm.com>
544 NeilBrown <neilb@cse.unsw.edu.au>
546 Add -N option to statd to run in notify-only mode.
548 * utils/statd/statd.h: uncomment MODE_NOTIFY_ONLY
549 * utils/statd/statd.man: document -N
550 * utils/statd/statd.c: enabled -N, largely exists but needed to be
551 uncommented and completed
553 2002-09-02 Juan Gomez <juang@us.ibm.com>
554 NeilBrown <neilb@cse.unsw.edu.au>
556 statd to have " -P directory" arg to use that directory instead
557 of /var/lib/nfs. This is useful for fail-over clusters.
559 * utils/statd/statd.h: define SM_DIR etc as var, not const.
560 * utils/statd/statd.c: define "-P" option to set SM_*
562 * utils/statd/monitor.c: sprintf to cope with SM_DIR not being
564 * utils/statd/notify.c: ditto.
565 * utils/statd/statd.man: document -P option.
567 2002-08-26 Chip Salzenberg <chip@pobox.com>
569 * utils/nfsd/nfsd.man: Fix typo.
570 * debian/changelog: Version 1.0.1-1.
572 2002-05-29 NeilBrown <neilb@cse.unsw.edu.au>
574 * let parseopts know if /etc/exports was being read or not,
575 and have it only print "no sync or async" warning in that case.
577 2002-05-06 Tom McNeal <trmcneal@attbi.com>
578 NeilBrown <neilb@cse.unsw.edu.au>
580 * utils/nfsstat/nfsstat.c: Handle differing format for
581 /proc/net/rpc/nfsd between pre and post 2.4.0
583 2002-04-09 NeilBrown <neilb@cse.unsw.edu.au>
584 James Pearson <james-p@moving-picture.com>
586 * support/nfs/rmtab.c(fendrmtabent): sync changes to
587 storage before returning, as this is critical state
589 2002-04-08 Sean O'Connell <sean@ee.duke.edu>
590 H.J. Lu <hjl@lucon.org>
592 * etc/redhat/nfs: New.
594 2002-04-08 H.J. Lu <hjl@lucon.org>
596 * etc/redhat/nfs.init: Updated.
598 * nfs-utils.spec.in: Updated.
599 * nfs-utils.spec: Regenerated.
601 * utils/mountd/mountd.c (longopts): Fix a typo.
603 * utils/mountd/mountd.man: Updated.
605 2002-04-07 H.J. Lu <hjl@lucon.org>
607 * etc/redhat/nfslock.init (restart): Just do stop and start.
609 * etc/redhat/nfs.init: Fix a typo.
611 2002-04-07 H.J. Lu <hjl@lucon.org>
613 * configure.in (VERSION): Set to "1.0.1".
614 * configure: Regenerated.
615 * nfs-utils.spec: Likewise.
617 * README: Updated for 1.0.1.
619 2002-04-07 Sean O'Connell <sean@ee.duke.edu>
620 H.J. Lu <hjl@lucon.org>
622 * etc/redhat/nfs.init: Read /etc/sysconfig/nfsd for NFS tuning.
624 2002-02-28 Steven Whitehouse <steve@gw.chygwyn.com>
625 NeilBrown <neilb@cse.unsw.edu.au>
627 Add support for fsid=nn export option so that device
628 numbers don't go in filehandles.
629 * support/export/nfsctl.c(expsetup): if exporting and NFSEXP_FSID
630 is set, pass the fsid in-place of the device number
631 * support/nfs/exports.c: parse and print fsid= option.
632 Also check if efname has been set, and use "command line"
633 instead in error messages.
634 Also, use strtol instead of atoi for anon[ug]id= so that
635 bad numbers cause errors.
637 2002-01-17 Adrian Drzewiecki <drze@MissionCriticalLinux.com>
638 NeilBrown <neilb@cse.unsw.edu.au>
640 * support/nfs/exports.c: remove NFSEXP_ASYNC as a default
641 flag so that "sync" becomes the default.
642 Check that either "sync" or "async" is given as an option
643 and warn if neither are present
644 * utils/exportfs/exports.man: change documentation for "sync"
645 to be documentation for "async".
646 * utils/exportfs/exportfs.man: note that "sync" is the default
650 2002-01-02 Chip Salzenberg <chip@pobox.com>
652 * support/export/nfsctl.c (expsetup): Don't export entries that
653 specify id mappings not supported by the kernel. No extant kernel
654 supports any significant mapping, only 'identity' (i.e. none).
655 When other mappings are supported, this code will need changing.
656 * debian/changelog: Version 1.0-2.
658 2001-12-26 Chip Salzenberg <chip@pobox.com>
660 * nfs-utils.spec (Version): Set to "1.0".
661 * configure.in (VERSION): Likewise.
662 * configure: Regenerated.
664 * debian/changelog: Version 1.0-1.
666 * utils/exportfs/exports.man: Emphasize the need for options to
667 immediately follow client names. Explain that wildcards don't
668 usually work on addresses, but may work when reverse DNS fails.
669 Comment out a leftover TP that was TPing our indentation.
670 * utils/mountd/mountd.man, utils/rquotad/rquotad.man,
671 utils/statd/statd.man: Remove refs to non-existent "hosts_allow(5)".
672 * debian/changelog: Version 0.3.3-6.
674 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
676 * support/export/client.c(client_lookup): If a host has multiple
677 IP addresses, then we must always use the result of a
678 gethostbyname, not that of gethostbyaddr for exporting
680 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
682 * support/export/client.c (client_lookup): use strcasecmp when
684 * support/nfs/export.c (getexportent): add fromkernel arg and use
685 different defaults as kernels prior to 2.4.11 assume different
686 defaults in /proc/fs/nfs/exports
687 * support/include/nfslib.h, support/export/export.c,
688 support/export/xtab.c: support extra "fromkernel" arg for
691 2001-12-13 Chip Salzenberg <chip@pobox.com>
693 * debian/changelog: Version 0.3.3-5.
695 2001-11-26 TAKAI Kousuke <takai@vlsi.kuee.kyoto-u.ac.jp>
697 * support/nfs/xio.c (xskip): Call `xungetc' instead of
698 `ungetc' to keep x_line more properly.
700 2001-11-26 Chip Salzenberg <chip@pobox.com>
702 * utils/showmount/showmount.c (main): Don't assume that strings
703 starting with digits are IP addresses.
704 * utils/nfsd/nfsd.c (main): Close all fds and reopen 0,1,2 on
705 /dev/null before nfssvc(). Use syslog to report nfssvc errors.
706 * support/misc/tcpwrapper.c, utils/mountd/mountd.man,
707 utils/rquotad/rquotad.man, utils/statd/statd.man: Fix comments and
708 man pages: We check host names *and* addresses with tcpwrappers.
709 * debian/changelog: Version 0.3.3-4.
711 2001-11-21 Chip Salzenberg <chip@pobox.com>
713 * support/nfs/clients.c (cfname): Added: current clients file name.
714 (setnfsclntent): Set it.
715 ({get,end}nfsclntent, syntaxerr): Use it.
716 * support/nfs/exports.c (efname): Added: current exports file name.
717 (setnfsexportent): Set it.
718 (endnfsexportent, parseopts, getexport, syntaxerr): Use it.
719 (parseopts): Accept old-style "crossmnt" option, for old xtabs.
720 * debian/changelog: Version 0.3.3-3.
722 2001-10-11 Chip Salzenberg <chip@pobox.com>
724 * utils/mountd/mountd.c (main): Close fds > 2 _before_ RPC init.
725 * debian/changelog: Version 0.3.3-2.
727 2001-10-08 Chip Salzenberg <chip@pobox.com>
729 * utils/mountd/mountd.c (main): When daemonizing, close all fds > 2.
730 * utils/Makefile.in: Remove old Makefile in target 'distclean'.
731 * utils/mountd/mountd.man: Update paths to /var/lib.
732 * debian/*: Version 0.3.3-1, with Debian-specific fixes.
734 2001-10-06 Preston Brown <pbrown@redhat.com>
736 * utils/nfsstat/nfsstat.man: Updated.
738 2001-09-24 H.J. Lu <hjl@lucon.org>
740 * configure.in (VERSION): Set to "0.3.3".
741 * configure: Regenerated.
742 * nfs-utils.spec: Likewise.
744 * README: Updated for 0.3.3.
746 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
748 Arrange that "exportfs -au" never does DNS lookup:
750 * support/export/client.c (client_lookup) : add "canonical"
751 flag which says that the hostname is known to be canonical, so
754 * support/export/export.c (export_create) : add "canonical"
755 flag to be passed down to client_lookup
756 * support/export/export.c (export_lookup) : Likewise
758 * support/export/xtab.c (xtab_read) : pass appropriate
759 "canonical" flag to export_lookup and export_create:
760 set if reading list of filesystems currently exports
763 * support/export/export.c (export_read) : pass 0 as
764 "canonical" flag to export_lookup and export_create
765 * support/export/rmtab.s (rmtab_read) : Likewise
767 * support/include/exportfs.h : redeclare various routines
768 to have "canonical" flag
770 * utils/exportfs/exportfs.c (main) : redo logic for
771 "-au" to read in what is currently exported, but never even
772 look at what "should" be exported.
774 * utils/exportfs/exportfs.c (unexportall) : remove this
775 routine. Functionality is completely included in
778 * utils/exportfs/exportfs.c (exportfs) : set "canonical"
779 flag to zero in calls to export_lookup and export_create.
782 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
783 Anne Milicia <milicia@missioncriticallinux.com>
785 * support/export/client.c (client_lookup) call gethostbyadd
786 to make sure that we have a canonical hostname, even for
788 * utils/exportfs/exportfs.c (exportfs) Likewise
790 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
792 * support/nfs/exports.c (putexportent): \octal quote any spaces
794 * support/nfs/xio.c (xgettok): recognise double-quote and
795 \octal quoting in path names
796 * utils/exportfs/exports.man: document quoting conventions
799 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
801 * utils/mountd/auth.c (auth_authenticate_internal): Reverse
802 change from 2000-08-02: It causes problems if someone exports
803 to both a hostname and IP addresses. nfs-utils must be
804 consistant about the canonical name that it chooses.
806 2001-08-17 Ragnar Kjørstad <nfs@ragnark.vestdata.no>
807 H.J. Lu <hjl@lucon.org>
809 * etc/redhat/nfslock.init (STATDARG): New. Pass it to rpc.statd.
811 * utils/statd/statd.c (longopts): Add "name".
812 (usage): Add "-n/--name".
813 (main): Set MY_NAME with "-n/--name".
815 * utils/statd/state.c (change_state): Set MY_NAME only if it
818 * utils/statd/statd.man: Updated for "-n/--name".
820 2001-07-26 H.J. Lu <hjl@lucon.org>
822 * nfs-utils.spec (Release): Set to 8.
824 2001-07-25 H.J. Lu <hjl@lucon.org>
826 * etc/redhat/nfs.init: Check if rpc.rquotad exists before doing
829 2001-06-27 H.J. Lu <hjl@lucon.org>
831 * etc/redhat/nfs.init: Run rpc.rquotad only if it exists.
833 2001-06-27 H.J. Lu <hjl@lucon.org>
835 * utils/rquotad/rquota_server.c: Don't call statfs () for
836 the block size. Use BLOCK_SIZE instead.
838 2001-06-27 H.J. Lu <hjl@lucon.org>
840 * config.mk.in (CC_FOR_BUILD): Renamed from BUILD_CC.
841 (CFLAGS_FOR_BUILD): New. Don't use @CFLAGS@.
843 * configure.in (enable_nfsv3): Set to yes by default.
844 (--enable-rquotad): Added
845 (AC_PROG_CXX): Removed.
846 (AC_OUTPUT): Add utils/Makefile.
847 (CC_FOR_BUILD): Renamed from BUILD_CC.
848 * configure: Regenerated.
850 * utils/Makefile: Removed.
852 * utils/Makefile.in: New.
854 * nfs-utils.spec.in (rquotad): New. Set to 0 to disable
856 (CC_FOR_BUILD): Renamed from BUILD_CC.
857 * nfs-utils.spec: Regenerated.
859 2001-06-15 Chip Salzenberg <chip@debian.org>
861 * debian/changelog: Version 0.3.2-2.
862 * debian/*.init: Minor fixes.
864 2001-06-07 Lon H. Hohberger <hohberger@missioncriticallinux.com>
866 * etc/nodist/nfs-server: Fixed a bug where the script would
867 disable mounts from NFSv3 clients if NFSv3 is present.
869 2001-06-05 H.J. Lu <hjl@lucon.org>
871 * utils/mountd/mountd.c (longopts): Add "descriptors/o".
872 (main): Support --descriptors/-o to set the limit of the number
873 of open file descriptors.
876 * utils/mountd/mountd.man: Updated for --descriptors/-o.
878 2001-06-04 H.J. Lu <hjl@lucon.org>
880 * nfs-utils.spec (Release): Set to 6.
882 2001-05-28 H.J. Lu <hjl@lucon.org>
884 * utils/lockd/lockd.c (main): chdir to NFS_STATEDIR.
885 * utils/mountd/mountd.c (main): Likewise.
886 * utils/nfsd/nfsd.c (main): Likewise.
887 * utils/rquotad/rquota_svc.c (main): Likewise.
889 2001-05-06 Anne Milicia <milicia@missioncriticallinux.com>
891 * support/export/client.c (client_check): Check IP address
894 2001-05-06 Neil Brown <neilb@cse.unsw.edu.au>
896 * support/export/client.c (client_gettype): Treat `*' as
899 2001-04-22 H.J. Lu <hjl@lucon.org>
901 * nfs-utils.spec.in: Fix a typo.
902 * nfs-utils.spec: Regenerated.
904 2001-04-21 H.J. Lu <hjl@lucon.org>
906 * nfs-utils.spec.in: Fix cross build.
907 * nfs-utils.spec: Regenerated.
910 2001-04-18 H.J. Lu <hjl@lucon.org>
912 * nfs-utils.spec.in: Support cross build.
913 * nfs-utils.spec: Regenerated.
919 * config.mk.in (BUILD_CC): New.
920 (CC): Set to $(BUILD_CC) if BUILD is defined.
923 (RANLIB): Set to @RANLIB@.
925 * configure.in: Check BUILD_CC, RANLIB, AR and LD.
926 * configure: Regenerated.
928 * tools/rpcgen/Makefile (BUILD): Set to true.
930 2001-04-01 Chip Salzenberg <chip@valinux.com>
932 * tools/rpcgen/rpc_svcout.c (write_timeout_func): Remove
933 redundant, and sometimes broken, declaration of svc_fdset;
935 * support/nfs/rpcmisc.c (closedown): Likewise.
937 2001-03-21 H.J. Lu <hjl@lucon.org>
939 * nfs-utils.spec: Regenerated.
942 2001-03-21 Ion Badulescu <ionut@cs.columbia.edu>
944 * utils/statd/statd.c (main): make sure file descriptors 0-2
945 are open to /dev/null.
947 2001-03-21 H.J. Lu <hjl@lucon.org>
949 * support/nfs/rpcmisc.c: Restore the change made on 2001-03-10.
950 * support/nfs/rpcmisc.c: Likewise.
951 * utils/rquotad/rquota_svc.c: Likewise.
952 * utils/rquotad/rquotad.man: Likewise.
953 * utils/statd/Makefile: Likewise.
954 * utils/statd/rmtcall.c: Likewise.
955 * utils/statd/simulate.c: Likewise.
956 * utils/statd/statd.c: Likewise.
957 * utils/statd/statd.man: Likewise.
959 2001-03-11 H.J. Lu <hjl@lucon.org>
961 * configure.in (RELEASE): New. Default to 1, set by
962 --with-release=XXX. Substitute nfs-utils.spec.
963 * nfs-utils.spec.in (Release): Set to @RELEASE@.
964 * configure: Regenerated.
965 * nfs-utils.spec: Likewise.
967 2001-03-11 H.J. Lu <hjl@lucon.org>
969 * utils/rquotad/rquotad.man: Fix a typo.
971 2001-03-11 H.J. Lu <hjl@lucon.org>
973 * support/include/rpcmisc.h: Undo the change made on 2001-03-10.
974 * support/nfs/rpcmisc.c: Likewise.
975 * utils/rquotad/rquota_svc.c: Likewise.
976 * utils/rquotad/rquotad.man: Likewise.
977 * utils/statd/Makefile: Likewise.
978 * utils/statd/rmtcall.c: Likewise.
979 * utils/statd/simulate.c: Likewise.
980 * utils/statd/statd.c: Likewise.
981 * utils/statd/statd.man: Likewise.
983 2001-03-10 H.J. Lu <hjl@lucon.org>
985 * configure.in (VERSION): Set to "0.3.2".
986 * configure: Regenerated.
987 * nfs-utils.spec: Likewise.
989 * README: Updated for 0.3.2.
991 2001-03-10 Tavis Barr <tavis@boole.isetr.columbia.edu>
993 * utils/rquotad/rquotad.man: Updated for -p.
994 * utils/statd/statd.man: Likewise.
996 2001-03-10 Ion Badulescu <ionut@cs.columbia.edu>
998 * support/nfs/rpcmisc.c: export makesock()
1000 * support/include/rpcmisc.h (makesock): Declared.
1002 * utils/rquotad/rquota_svc.c: added longopts, added support for
1003 specifying the port to bind to on the command line.
1005 * utils/statd/statd.c: ditto, also specify port used for
1006 outgoing connections.
1007 (do_regist): Removed.
1009 * utils/statd/rmtcall.c (statd_get_socket): Renamed from
1010 get_socket. Make it extern.
1012 * utils/statd/simulate.c (daemon_simulator): Call rpc_init
1013 instead of do_regist.
1015 * utils/statd/Makefile (LIBS): link with our own libnfs
1017 2001-03-09 H.J. Lu <hjl@lucon.org>
1019 * etc/redhat/nfslock.init: Changed chkconfig line to 60 86.
1020 * etc/nodist/nfs-client: Likewise.
1022 2001-02-26 Chip Salzenberg <chip@valinux.com>
1024 * debian/changelog: Version 0.3.1-1.
1025 * Mention upstream source and license in copyright file.
1026 * Add build-Depends for debhelper and libwrap0-dev.
1028 2001-02-20 Lon Hohberger <hohberger@missioncriticallinux.com>
1030 * etc/nodist/nfs-server: Changed chkconfig line to 60 20
1031 * etc/nodist/nfs-client: Likewise.
1033 2001-02-18 Lon Hohberger <hohberger@missioncriticallinux.com>
1035 * utils/statd/statd.man: Changed /usr/sbin/rpc.statd to
1038 2001-02-17 Patrick J. LoPresti <patl@curl.com>
1040 * utils/statd/log.c (log_init): Use LOG_DAEMON instead of
1043 2001-02-14 H.J. Lu <hjl@lucon.org>
1045 * utils/statd/rmtcall.c: Include <time.h>.
1046 * utils/statd/svc_run.c: Likewise.
1048 2001-02-14 H.J. Lu <hjl@lucon.org>
1050 * configure.in (VERSION): Set to "0.3.1".
1051 * configure: Regenerated.
1052 * nfs-utils.spec: Likewise.
1054 * README: Updated for 0.3.1.
1056 2001-02-14 H.J. Lu <hjl@lucon.org>
1058 * support/nfs/rpcmisc.c: Include <time.h>.
1060 2001-02-14 Chip Salzenberg <chip@valinux.com>
1062 * debian/control: Change priority of nhfsstone package to 'extra'.
1064 2001-02-12 Chip Salzenberg <chip@valinux.com>
1066 * debian/changelog: Version 0.3-2.
1068 2001-02-02 H.J. Lu <hjl@lucon.org>
1070 * support/include/rpcmisc.h (rpc_init): Remove bufsize.
1072 * support/nfs/rpcmisc.c (makesock): Remove socksz and comment
1073 out SO_SNDBUF/SO_RCVBUF.
1074 (rpc_init): Remove bufsize and remove socksz in calls to
1077 * utils/mountd/mountd.c (main): Remove bufsize in calls to
1080 2001-01-28 Chip Salzenberg <chip@valinux.com>
1082 * debian/changelog: Version 0.3-1.
1084 2001-01-25 H.J. Lu <hjl@lucon.org>
1086 * configure.in (VERSION): Set to "0.3".
1087 * configure: Regenerated.
1088 * nfs-utils.spec: Likewise.
1090 * README: Updated for 0.3.
1092 2001-01-25 H.J. Lu <hjl@lucon.org>
1094 * utils/lockd/lockd.c (main): Ignore errno == EINVAL.
1096 2001-01-20 Chip Salzenberg <chip@valinux.com>
1098 * support/include/xio.h (xgetc): Declare to return int.
1099 * support/nfs/xio.c (xgetc): Return int.
1100 (xgettok, xskip, xskipcomment): Use int for value of xgetc.
1101 * utils/statd/statd.c (main): Use int for value of getopt.
1102 * debian/changelog: Version 0.2.1-5.
1104 2000-12-10 Chip Salzenberg <chip@valinux.com>
1106 * utils/statd/monitor.c (sm_mon_1_svc): Fix buggy check for
1107 program and procedure numbers of kernel lockd's callback. Also,
1108 besides the old (and broken) procedure #24, allow #16 per Trond.
1110 2000-12-03 Chip Salzenberg <chip@valinux.com>
1112 * support/nfs/xio.c (xfopen): Initialize x_line to one, not zero.
1113 * debian/control: Let nhfsstone replace files in nfs-kernel-server.
1114 * debian/changelog: Version 0.2.1-4.
1116 2000-11-27 Tobias Ringstrom <tori@tellus.mine.nu>
1118 * utils/mountd/auth.c (auth_authenticate): Log the bad path
1121 2000-11-24 Neil Brown <neilb@cse.unsw.edu.au>
1123 * support/nfs/exports.c (getexportent): Check for host name
1124 without option, or options without hostname, and print a warning,
1125 as this is most likely a typo.
1127 2000-11-19 Chip Salzenberg <chip@valinux.com>
1129 * debian/control: Add dependency on portmap.
1130 * debian/changelog: Version 0.2.1-3.
1132 2000-11-10 H.J. Lu <hjl@lucon.org>
1134 * nfs-utils.spec.in: Don't use libtool.
1135 Add ChangeLog and COPYING to doc.
1136 * nfs-utils.spec: Rebuild.
1138 2000-11-09 H.J. Lu <hjl@lucon.org>
1140 * etc/redhat/nfs.init (start): Back out the last change.
1142 2000-11-09 H.J. Lu <hjl@lucon.org>
1144 * etc/redhat/nfs.init (start): Pass --no-tcp to mountd if
1145 TCP is not supported by kernel.
1147 * support/nfs/rpcmisc.c (rpc_init): Don't set _rpcfdtype to 0.
1149 * utils/mountd/mountd.c (longopts): Add "-n/--no-tcp".
1150 (main): Set to _rpcfdtype to SOCK_DGRAM for "-n/--no-tcp".
1152 * utils/mountd/mountd.man: Updated for "-n/--no-tcp".
1154 2000-10-24 Lon Hohberger <hohberger@missioncriticallinux.com>
1156 * utils/statd/callback.c: Fix bug preventing callbacks to local lockd.
1157 * utils/statd/rmtcall.c: Add some IP address paranoia when doing
1158 callbacks to local lockd.
1160 2000-10-18 Scott McDermott <mcdermot@questra.com>
1162 * utils/exportfs/exports.man: Updated for CIDR netmask.
1164 2000-10-17 Scott McDermott <mcdermot@questra.com>
1166 * support/export/client.c (client_init): Support CIDR netmask
1169 2000-10-11 H.J. Lu <hjl@lucon.org>
1171 * aclocal.m4 (AC_TCP_WRAPPER): Fix a typo.
1172 * configure: Rebuilt.
1174 2000-10-06 Lon Hohberger <hohberger@missioncriticallinux.com>
1176 * utils/statd/statd.man: Change "/var/lib/nfs/sm/state" to
1177 "/var/lib/nfs/state".
1179 2000-10-05 Lon Hohberger <hohberger@missioncriticallinux.com>
1181 * utils/statd/statd.h (run_mode): New global bitmask of runtime
1182 behaviors: fg/bg, logging, etc.
1183 * utils/statd/statd.c: New command line options: -V -h -? -d .
1184 * utils/statd/statd.man: Update for changes to statd.
1186 * utils/statd/log.h (log_init): Remove parameter of function; use
1187 global variable "name_p" instead.
1188 * utils/statd/log.c: Add support for logging to stderr.
1190 * utils/statd/notlist.c: Partially rewrite notify list handling
1191 functions. Eliminate run-off-end-of-list bug when calling
1192 nlist_insert_timer. Add lots of comments.
1194 2000-09-27 H.J. Lu <hjl@lucon.org>
1196 * README: Updated for RedHat 7.0.
1198 2000-09-27 H.J. Lu <hjl@lucon.org>
1200 * nfs-utils.spec: Rebuild.
1202 2000-09-27 H.J. Lu <hjl@lucon.org>
1204 * README: Updated for 0.2.1.
1206 2000-09-27 H.J. Lu <hjl@lucon.org>
1208 * nfs-utils.spec.in: Updated to use rpm macros and support
1211 2000-09-25 H.J. Lu <hjl@lucon.org>
1213 * configure.in (VERSION): Set to "0.2.1".
1214 * configure: Regenerated.
1215 * nfs-utils.spec: Updated.
1217 2000-09-25 H.J. Lu <hjl@lucon.org>
1219 * utils/mountd/auth.c (auth_authenticate_internal): Make sure a
1220 non-NULL hostent is always returned.
1222 2000-09-11 Ion Badulescu <ionut@cs.columbia.edu>
1224 * etc/redhat/nfslock.init: don't kill lockd processes that do not
1225 have an executable (i.e. kernel threads)
1227 2000-09-01 H.J. Lu <hjl@lucon.org>
1229 * README: Updated for 0.2.
1231 2000-09-01 Jay Weber <jweber@valinux.com>
1233 * etc/redhat/nfs.init: Added ability for rpc.mountd to default to
1234 supporting version 3 of nfs if available, else it will fall back to
1235 version 2 support only.
1237 2000-08-30 H.J. Lu <hjl@lucon.org>
1239 * configure.in (VERSION): Set to "0.2".
1240 * configure: Regenerated.
1241 * nfs-utils.spec: Updated.
1243 2000-08-25 H.J. Lu <hjl@lucon.org>
1245 * support/misc/tcpwrapper.c (logit): Modify the log output.
1247 2000-08-25 Ion Badulescu <ionut@cs.columbia.edu>
1249 * utils/rquotad/rquotad.man, utils/statd/statd.man,
1250 utils/mountd/mountd.man: updated
1252 * utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL)
1253 * utils/rquotad/Makefile: fix comment
1255 * support/misc/tcpwrapper.c (logit): added comment about waiting
1256 for the children after fork()
1258 * utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving
1259 zombies behind (from logit()'s fork)
1260 * utils/rquotad/rquota_svc.c (main): ditto
1261 * utils/statd/statd.c (main): ditto
1263 * utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG
1264 to check_default instead of 0, for prognum
1266 * utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG
1267 to check_default instead of 0, for prognum
1269 * utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if
1270 HAVE_TCP_WRAPPER is defined.
1271 (mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is
1272 defined. Reject an RPC call if check_default () fails.
1274 2000-08-25 H.J. Lu <hjl@lucon.org>
1276 * support/include/tcpwrapper.h: New for the tcp wrapper
1278 * support/misc/Makefile: Likewise.
1279 * support/misc/from_local.c: Likewise.
1280 * support/misc/tcpwrapper.c: Likewise.
1282 * aclocal.m4 (AC_TCP_WRAPPER): New.
1283 * configure.in: Use it. Substitute LIBWRAP.
1284 * configure: Rebuilt.
1286 * config.mk.in (LIBNSL): New.
1287 (LIBWRAP): Likewise.
1289 * support/Makefile (SUBDIRS): Add misc.
1291 * support/lib/Makefile (LIBS): Add libmisc.a.
1293 * utils/rquotad/Makefile (LIBS): Add
1295 -lmisc $(LIBWRAP) $(LIBNSL)
1297 * utils/statd/Makefile (LIBS): Likewise.
1299 * utils/rquotad/rquota_svc.c: Include "tcpwrapper.h" if
1300 HAVE_TCP_WRAPPER is defined.
1301 (rquotaprog_1): Call check_default () if HAVE_TCP_WRAPPER is
1302 defined. Reject an RPC call if check_default () fails.
1304 * utils/statd/statd.c: Include "tcpwrapper.h" if
1305 HAVE_TCP_WRAPPER is defined.
1306 (sm_prog_1_wrapper): New. A wrapper for sm_prog_1. Call
1307 check_default () before calling sm_prog_1 (). Define it as
1308 sm_prog_1_wrapper if HAVE_TCP_WRAPPER is defined.
1310 2000-08-25 Chip Salzenberg <chip@valinux.com>
1312 * debian/*: Complete Debian build support.
1313 * etc/debian/*: Remove.
1315 2000-08-24 Neil Brown <neilb@cse.unsw.edu.au>
1317 * support/export/client.c(client_check): removed the "dot+1" as a
1318 ypdomain argument to innetgr as this is entirely bogus.
1319 It should always be NULL.
1321 2000-08-23 Neil Brown <neilb@cse.unsw.edu.au>
1323 * support/export/xtab.c(xtab_read): introduce new mode for
1324 reading xtab. i.e. a list of exports that might be known to the
1325 kernel, or might not. These are flagged as m_exported == -1
1326 * support/export/xtab.c(xtab_mount_read): call xtab_read with new
1327 value "2" for xtab, meaning don't trust this too much.
1328 * support/include/exportfs.h(struct mexport): changed m_exported
1329 from one bit to an int so that it can hold new value
1330 * utils/exportfs/exportfs.c(exportfs_ipdate): add an export to the
1331 kernel if it is uncertain whether the kernel knows (m_exported == -1)
1332 * utils/mountd/mountd.c(get_rootfh): similarly export to kernel if
1335 * support/nfs/xio.c(xflock): added O_CREAT when getting
1336 a write lock so that missing files aren't fatal.
1338 * etc/debian/nfs-common: new file from "potato"
1339 * etc/debian/nfs-kernel-server: new file from "potato" plus fixes.
1341 2000-08-09 H.J. Lu <hjl@lucon.org>
1343 * etc/redhat/nfs.init: Run /usr/sbin/exportfs first during
1344 startup to ensure all existing clients work fine.
1346 * support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0
1347 to xtab_read () for reading _PATH_XTAB.
1349 2000-08-02 H.J. Lu <hjl@lucon.org>
1351 * utils/mountd/auth.c (auth_authenticate_internal): Try to
1352 avoid the reverse name lookup.
1354 2000-07-04 H.J. Lu <hjl@lucon.org>
1356 * utils/statd/log.c: Include <stdlib.h> for exit ().
1358 * utils/statd/misc.c (xunlink): Add `{' and `}' to quiet the
1361 2000-07-04 H.J. Lu <hjl@lucon.org>
1363 * configure.in (VERSION): Set to "0.1.9.1".
1364 * configure: Regenerated.
1365 * nfs-utils.spec: Updated.
1369 2000-07-04 Neil Brown <neilb@cse.unsw.edu.au>
1371 * support/export/hostname.c (hostent_dup): Handle the NULL
1374 2000-07-03 H.J. Lu <hjl@lucon.org>
1376 * README: Update the util-linux requirement.
1378 2000-07-03 H.J. Lu <hjl@lucon.org>
1380 * configure.in (VERSION): Set to "0.1.9".
1381 * configure: Regenerated.
1382 * nfs-utils.spec: Updated.
1386 2000-07-03 H.J. Lu <hjl@lucon.org>
1388 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
1389 stop to ensure all clients can still access the server
1390 before it is shutdown.
1392 2000-06-30 Jeff Uphoff <juphoff@transmeta.com>
1394 * tools/rpcgen/rpc_svcout.c (write_msg_out): Generate syslog()
1395 calls with format string.
1397 2000-06-28 Chip Salzenberg <chip@valinux.com>
1399 * utils/statd/log.c (log): Call syslog with format string.
1401 2000-06-27 H.J. Lu <hjl@lucon.org>
1403 * utils/statd/statd.c (main): Use sysconf (_SC_OPEN_MAX)
1404 instead of OPEN_MAX.
1406 2000-06-27 H.J. Lu <hjl@lucon.org>
1410 2000-06-27 H.J. Lu <hjl@lucon.org>
1412 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
1413 startup to ensure all existing clients are exported.
1415 * configure.in (VERSION): Set to "0.1.8.2".
1416 * configure: Regenerated.
1417 * nfs-utils.spec: Updated.
1419 2000-06-06 H.J. Lu <hjl@lucon.org>
1421 * configure.in (VERSION): Set to "0.1.8.1".
1422 * configure: Regenerated.
1423 * nfs-utils.spec: Updated.
1425 2000-06-06 H.J. Lu <hjl@lucon.org>
1427 * utils/mountd/mountd.c (mount_dump_1_svc): Cast svc_getcaller
1428 to "struct sockaddr_in *" for glibc 2.2.
1429 (mount_umnt_1_svc): Likewise.
1430 (mount_umntall_1_svc): Likewise.
1431 (mount_export_1_svc): Likewise.
1432 (mount_exportall_1_svc): Likewise.
1433 (mount_pathconf_2_svc): Likewise.
1434 (get_rootfh): Likewise.
1436 2000-06-04 H.J. Lu <hjl@lucon.org>
1438 * etc/redhat/nfs.init: Fix a typo in comment.
1440 2000-05-31 H.J. Lu <hjl@lucon.org>
1442 * configure.in (VERSION): Set to "0.1.8".
1443 * configure: Regenerated.
1444 * nfs-utils.spec: Updated.
1448 2000-05-31 H.J. Lu <hjl@lucon.org>
1450 * configure.in (VERSION): Set to "0.1.7.5".
1451 * configure: Regenerated.
1452 * nfs-utils.spec: Updated.
1454 * support/include/nfslib.h (exportent): Add a new field,
1455 r_count, to count the number of mounts from a client.
1456 (getrmtabent): Take a new argument for position in file.
1457 (putrmtabent): Likewise.
1458 (fgetrmtabent): Likewise.
1459 (fputrmtabent): Likewise.
1460 * support/nfs/rmtab.c (getrmtabent): Handle the new argument
1461 for position in file.
1462 (fgetrmtabent): Likewise.
1463 (putrmtabent): Likewise.
1464 (fputrmtabent): Likewise.
1466 * support/nfs/rmtab.c (fgetrmtabent): Get value for the new
1469 * support/export/rmtab.c (rmtab_read): Pass NULL as the new
1470 argument to getrmtabent (), fgetrmtabent (), putrmtabent ()
1471 and fputrmtabent ().
1472 * utils/mountd/rmtab.c (mountlist_add): Likewise.
1473 (mountlist_del): Likewise.
1474 (mountlist_del_all): Likewise.
1475 (mountlist_list): Likewise.
1477 * utils/mountd/rmtab.c (mountlist_add): Increment "r_count"
1478 for the existing entry and initialize "r_count" to 1.
1479 (mountlist_del): Decrement "r_count".
1481 2000-05-18 H.J. Lu <hjl@lucon.org>
1483 * configure.in (VERSION): Set to "0.1.7.4".
1484 * configure: Regenerated.
1485 * nfs-utils.spec: Updated.
1487 2000-05-18 H.J. Lu <hjl@lucon.org>
1489 * etc/redhat/nfs.init (restart): Just do stop and start.
1491 2000-05-09 Jay Weber <jweber@valinux.com>
1493 * utils/rquotad/hasquota.c: added support for ext3 recognition
1495 * utils/rquotad/mntent.h: Likewise.
1497 2000-05-01 H.J. Lu <hjl@lucon.org>
1499 * configure.in (VERSION): Set to "0.1.7.3".
1500 * configure: Regenerated.
1501 * nfs-utils.spec: Updated.
1503 2000-05-01 H.J. Lu <hjl@lucon.org>
1505 * utils/rquotad/rquota_server.c (getquotainfo): Skip bad
1506 mounting poins in /etc/fstab.
1508 2000-05-01 H.J. Lu <hjl@lucon.org>
1510 * configure.in (VERSION): Set to "0.1.7.2".
1511 * configure: Regenerated.
1512 * nfs-utils.spec: Updated.
1514 2000-05-01 H.J. Lu <hjl@lucon.org>
1516 * utils/rquotad/rquota_server.c (getquotainfo): Call stat ()
1517 to check for the mounting point.
1519 2000-04-29 Chip Salzenberg <chip@valinux.com>
1520 Neil Brown <neilb@cse.unsw.edu.au>
1522 * Really re-use RPC ports.
1523 (Fixes earlier patch. Sorry, Neil.)
1525 2000-04-26 H.J. Lu <hjl@lucon.org>
1527 * configure.in (VERSION): Set to "0.1.7.1".
1528 * configure: Regenerated.
1529 * nfs-utils.spec: Updated.
1531 2000-04-26 H.J. Lu <hjl@lucon.org>
1533 * etc/redhat/nfslock.init: Check if lockd exits before killing
1536 2000-04-25 H.J. Lu <hjl@lucon.org>
1538 * README: Require util-linux-2.10f-mount-rpc.patch for mount.
1540 2000-03-21 Michael Weiser <michael@weiser.saale-net.de>
1542 * support/nfs/exports.c (parsesquash): Correctly set the
1545 Tue Mar 21 11:38:48 EST 2000 NeilBrown <neilb@cse.unsw.edu.au>
1547 * support/include/nfs/nfs.h: Removed knowledge of internals of
1548 kernel filehandles (which can change) and defined nfs_fh_size
1549 which has variable size
1551 * support/nfs/getfh.c: defined getfh_size to use new syscall to
1552 get variable sized file handles, and change getfh{,old} to
1555 * utils/mountd/mountd.c: use nfd_fh_size and call getfh_size for
1558 * tools/Makefile, tools/nlmtest/nlmtest.c
1559 nlmtest.c depended on internel format of file handles, so now
1563 2000-03-12 Chip Salzenberg <chip@valinux.com>
1564 Neil Brown <neilb@cse.unsw.edu.au>
1566 * support/nfs/rpcmisc.c (rpc_init): Share transports.
1568 2000-03-13 H.J. Lu <hjl@lucon.org>
1570 * etc/redhat/nfsd.init: Updated.
1572 * etc/redhat/nfslock.init: Updated.
1574 * nfs-utils.spec.in: Updated.
1576 * configure.in (VERSION): Set to "0.1.7".
1577 * configure: Regenerated.
1578 * nfs-utils.spec: Updated.
1582 Wed Mar 8 09:42:43 2000 Neil Brown <neilb@cse.unsw.edu.au>
1584 * utils/exportfs/exportfs.c (dump): Included printing of
1585 nohide, no_subtree_check, and insecure_locks
1587 2000-02-26 Chip Salzenberg <chip@valinux.com>
1589 * config.mk.in (INSTALLSUID): Strip ("-s").
1590 (INSTALLSCRIPT): Define.
1591 * utils/nhfsstone/Makefile: Use it.
1593 2000-02-26 Chip Salzenberg <chip@valinux.com>
1595 * utils/lockd/lockd.man: Create.
1596 * utils/lockd/Makefile: Install it.
1597 * utils/nhfsstone/nhfs{run,nums,graph}.man: Create.
1598 * utils/nhfsstone/nhfsstone.man: Change suffix from ".1".
1599 * utils/nhfsstone/Makefile: Install the helper scripts and
1601 * utils/exportfs/exports.man: Fix typo.
1603 2000-02-26 Chip Salzenberg <chip@valinux.com>
1605 * support/nfs/xio.c (xungetc): Decrement line number when
1606 character to unget is newline. Make first parameter int, so
1607 it can distinguish EOF from \377.
1608 * support/include/xio.h (xungetc): Adjust prototype.
1610 Fri Feb 4 23:42:23 2000 Neil Brown <neilb@cse.unsw.edu.au>
1612 * support/include/nfs/export.h: added NFSEXP_NOAUTHNLM
1613 * support/nfs/exports.c: added handling for NFSEXP_NOAUTHNLM
1614 * utils/exportfs/exports.man: added documentation for no_auth_nlm.
1616 This is for supporting a new option introduced in 2.3.42
1618 Thu Feb 3 14:55:48 2000 H.J. Lu <hjl@lucon.org>
1620 * COPYING: Added. GPL.
1622 Thu Feb 03 14:40:40 2000 Cristian Gafton <gafton@redhat.com>
1624 * utils/rquotad/rquota_server.c (getquotainfo): Call statfs ()
1625 to get the block size.
1627 Tue Jan 25 11:04:17 2000 H.J. Lu <hjl@lucon.org>
1629 * nfs-utils.spec.in: Update ftp site.
1631 Mon Jan 17 11:48:18 2000 H.J. Lu <hjl@lucon.org>
1633 * README: Update hostnames.
1635 Tue Jan 11 10:06:22 2000 H.J. Lu <hjl@lucon.org>
1637 * configure.in (VERSION): Set to "0.1.6".
1638 * configure: Regenerated.
1639 * nfs-utils.spec: Updated.
1643 Mon Jan 10 14:26:33 2000 H.J. Lu <hjl@lucon.org>
1645 * utils/mountd/auth.c (auth_authenticate_internal): Call
1646 xstrdup for hostname before passing it to gethostbyname.
1648 * utils/mountd/mountd.c (get_exportlist): Use xstrdup instead
1651 Sun Dec 19 09:35:01 1999 H.J. Lu <hjl@lucon.org>
1653 * README: Update the mailing list address.
1655 Sun Dec 19 09:22:28 1999 H.J. Lu <hjl@lucon.org>
1657 * configure.in (VERSION): Set to "0.1.5".
1658 * configure: Regenerated.
1659 * nfs-utils.spec: Updated.
1663 Mon Dec 13 13:40:20 1999 H.J. Lu <hjl@lucon.org>
1665 * utils/rquotad/hasquota.c (hasquota): Malloc one more char
1668 Mon Dec 6 09:42:45 1999 H.J. Lu <hjl@lucon.org>
1670 * configure.in (VERSION): Set to "0.1.4".
1671 * configure: Regenerated.
1672 * nfs-utils.spec: Updated.
1676 Mon Dec 6 09:28:07 1999 H.J. Lu <hjl@lucon.org>
1678 * nfs-utils.spec.in: New file.
1680 * config.mk.in (VERSION): Changed to "nfs-utils @VERSION@".
1682 * configure.in (nfs-utils.spec): Added to AC_OUTPUT.
1684 1999-12-04 Chip Salzenberg <chip@valinux.com>
1686 * config.mk.in: Use $(CC) as set by configure.
1688 1999-12-04 Chip Salzenberg <chip@valinux.com>
1690 * rules.mk: Call $(MAKE) with $(MFLAGS).
1692 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1694 * tools/rpcgen/rpc_main.c (h_output): Generate IXDR_GET_INT32,
1695 IXDR_PUT_INT32, IXDR_GET_U_INT32 and IXDR_PUT_U_INT32.
1697 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1699 * nfs-utils.spec (Version): Set to 0.1.3.
1701 * configure.in (VERSION): Set to "nfs-utils 0.1.3".
1702 * configure: Regenerated.
1706 Mon Nov 29 11:15:47 1999 H.J. Lu <hjl@lucon.org>
1708 * utils/rquotad/rquota_server.c (nfsmount_to_devname): Removed.
1709 (_PATH_DEV_DSK): Likewise.
1710 (getquotainfo): Match the mounting point from /etc/mtab
1711 instead of calling nfsmount_to_devname ().
1713 1999-11-24 Chip Salzenberg <chip@valinux.com>
1715 * utils/statd/monitor.c (sm_mon_1_svc): Accept lockd callbacks
1716 to the new port 24 as well as the historical port 100021.
1718 Tue Nov 23 10:21:34 1999 Neil Brown <neilb@cse.unsw.edu.au>
1720 * etc/redhat/nfsd.init (stop): moved exportfs -ua after
1721 stopping nfsd to stop spurious ESTALE on server shutdown.
1723 Tue Nov 23 10:13:39 1999 Neil Brown <neilb@cse.unsw.edu.au>
1725 * support/nfs/exports.c (parseopts): make copy of opt string
1726 before 'nul'ing out commas so that
1728 # exportfs -o option1,option2 hosta:/fs hostb:/fs
1730 applies both options to both exports.
1732 Thu Oct 28 12:55:42 1999 H.J. Lu <hjl@lucon.org>
1734 * README: Fix a few typos.
1736 * tools/rpcgen/rpc_cout.c (print_header): Use int32_t instead
1738 * tools/rpcgen/rpc_hout.c (pdefine): Likewise.
1739 * tools/rpcgen/rpc_main.c (c_initialize): Likewise.
1740 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1741 (unsigned_dec): Likewise.
1742 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1743 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1745 * tools/rpcgen/rpc_cout.c (emit_single_in_line): Use INT32
1747 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1748 (unsigned_dec): Likewise.
1749 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1750 * tools/rpcgen/rpc_scan.h (tok_kind): Likewise.
1751 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1753 Thu Oct 28 11:27:51 1999 Neil Brown <neilb@cse.unsw.edu.au>
1755 * support/include/nfs/export.h addedd NFSEXP_NOSUBTREECHECK
1756 * support/nfs/exports.c: added {no_,}subtree_check and changed
1758 * utils/exportfs/exports.man: added no_subtree_check and nohide
1759 and removed irrelevant stuff from unfsd.
1760 * support/export/rmtab.c: rmtab_read didn't quite do the right
1761 thing if a pathname from rmtab was a subdirectory of an export-point
1763 Tue Oct 26 17:22:40 1999 H.J. Lu <hjl@lucon.org>
1765 * README: Updated ftp site.
1767 Mon Oct 25 18:12:45 1999 H.J. Lu <hjl@lucon.org>
1769 * nfs-utils.spec (Version): Set to 0.1.2.
1771 * configure.in (VERSION): Set to "nfs-utils 0.1.2".
1772 * configure: Regenerated.
1776 Mon Oct 25 18:11:21 1999 H.J. Lu <hjl@lucon.org>
1778 * utils/mountd/auth.c (auth_error): Add "no_forward_dns".
1779 (auth_authenticate_internal): Check for NULL return on forward
1781 (auth_authenticate): Handle "no_forward_dns".
1783 Thu Oct 21 16:22:06 1999 H.J. Lu <hjl@lucon.org>
1785 * Version 0.1.1 released.
1787 * nfs-utils.spec (Version): Set to 0.1.1.
1789 * configure.in (VERSION): Set to "nfs-utils 0.1.1".
1790 * configure: Regenerated.
1794 Mon Oct 18 17:43:29 1999 H.J. Lu <hjl@lucon.org>
1796 * nfs-utils.spec (Obsoletes): Fixed a typo, change knfsd-client
1798 (Provides): Likewise.
1800 Mon Oct 18 14:56:22 1999 H.J. Lu <hjl@lucon.org>
1802 * Initial version 0.1 released.
1804 * configure.in (VERSION): Set to "nfs-utils 0.1".
1805 * configure: Regenerated.
1807 Mon Oct 18 14:54:57 1999 H.J. Lu <hjl@lucon.org>
1809 * utils/mountd/mountd.c (get_exportlist): Cleanup.
1811 * utils/exportfs/exportfs.c (unexport_all): Unexport from
1812 kernel only if the entry is exported to kernel.
1813 (unexportfs): Likewise.
1815 Wed Sep 08 16:49:32 1999 Neil Brown <neilb@cse.unsw.edu.au>
1817 1/ utils/mountd/rmtab.c::mountlist_list
1819 This routine stats the rmtab file to see if it has changed. It
1820 if has, it cleans up it's old copy of the data. But it still
1821 always re-read the file, thus returning multiple copies of the
1822 data on consecutive calls without intervening changes.
1823 "Showmount -a" didn't show this as it appears to sort/unique the
1824 data, but 'strace showmount -a' showed that the size of the
1825 datagram that it received grew.
1827 I moved the getrmtabent loop inside the mtime test.
1829 2/ utils/exportfs/exportfs.c
1831 Many routines used the m_path field of m_export instead of
1833 According to the comment in nfslib.h, m_path should only
1834 be used when processing a mount request (i.e. in mountd)
1835 where the mountpoint may be a subdirectory of the export point.
1837 I changed all occurances of m_path to e_path
1840 3/ utils/exportfs/exportfs.c:main
1842 extra arguments are not meaningful with -a or -r, but
1843 exportfs accepted them and then ignored the -a/-r, expect that
1844 -r would still unexport everything first.
1846 I generate an error if there are extra args and f_all
1848 4/ utils/exportfs/exportfs.c:main
1849 extract dump out as a special case.
1851 5/ utils/exportfs/exportfs.c
1852 made f_reexport a local variable.
1855 6/ utils/exportfs/exportfs.c:main,exportall
1857 support/export/rmtab.c
1858 only mayexport on newly created entries, don't set xtabent at all
1860 7/ support/include/nfslib.h
1862 add #define _PATH_PROC_EXPORTS to be /proc/fs/nds/exports
1864 8/ support/export/xtab.c
1866 xtab_mount_read loads data from _PATH_PROC_EXPORTS if it exists,
1870 9/ support/export/xtab.c
1872 xtab_mount_read now sets m_exported, and NOT
1873 xtabent and mayexport
1875 removed the append arguement from xtab_write as it was
1878 added is_export flag to xtab_write similar to xtab_read
1879 if is_export, only write entries with m_xtabent or m_addxtab
1880 if !is_export, only write entries with m_exported
1882 10/ support/export/export.c::export_allowed_internal
1884 added test for exp->m_mayexport, as the export tree
1885 may have entries that are no longer allowed to be exported,
1886 and so shouldn't caused deduced exported by rmtab_read
1888 11/ utils/exportfs/exportfs.c::main
1889 error checking of flags.
1891 12/ utils/exportfs/exportfs.c
1893 total rewrite of export and unexport logic.
1895 - build an exportslist of valid exports, based on
1896 current etab file and arguments,
1897 - read rmtab to instantiate relevant wild card entries
1898 - read etab to find out what is currently exported
1899 - synchronise intention with reality
1900 - write out etab and xtab
1903 discard the m_addxtab flag
1904 add m_changed flag so we know what to report in exportfs
1906 14/ utils/mountd/auth.c:auth_authenticate
1908 the value returned by gethostbyaddr was trusted.
1910 It now follows this with a call to gethostbyname
1911 and checks that the address is in the list.
1913 15/ support/export/nfsctl.c::cltsetup,expsetup
1915 force client names to lowercase as kernel is
1918 16/ quietened a few compiler warnings
1920 17/ support/export/client:client_lookup
1922 look for pre-existing client with same name before creating
1925 18/ support/include/exportfs.h
1927 The ordering of the MCL_* enum was:
1928 ANONYMOUS, FQDN, SUBNETWORK, WILDCARD, NETGROUP
1930 I moved ANONYMOUS to the end.
1932 The ordering is significant when an export entry is being searched for to
1933 match a given address. There are two problems with ANONYMOUS being first.
1935 1/ if a directory is exported rw to a couple of hosts and ro to everyone else,
1936 then the ro case will always be found first and the privileged hosts won't get
1938 2/ When mountd gets a request to mount an ANONYMOUSly exported tree, it creates a FQDN
1939 export entry for the specific host, and writes it to xtab.
1940 When another request comes from the same host, the ANONYMOUS entry is found again,
1941 before the new FQDN entry, so it creates another FQDN entry and writes it to xtab
1942 again. If causes bloat in xtab.
1944 Putting ANONYMOUS at the end reflects it's nature as a catch-all
1946 19/ utils/exportfs/exportfs.man
1947 many updates to the man page to reflect changes to the code
1949 -----------------------
1955 - allow exportfs to modify rmtab file
1956 - make sure kernel never gets two clients with same IP address
1957 - possible kernel should reject
1958 - needs to be some way to lookup client in kernel by IP address
1959 - maybe get kernel to do case-insensitive comparisons on client names
1960 - remove unused clients from kernel
1962 - change etab to xtab and xtab to xtab.active
1964 - timestamp and/or statd-stamp in rmtab for removing old entries.
1966 Mon Oct 18 11:48:07 1999 H.J. Lu <hjl@lucon.org>
1968 * linux-nfs: New directory.
1969 * linux-nfs/ChangeLog: Moved from ..
1970 * linux-nfs/INSTALL: Likewise.
1971 * linux-nfs/KNOWNBUGS: Likewise.
1972 * linux-nfs/NEW: Likewise.
1973 * linux-nfs/README: Likewise.
1974 * linux-nfs/THANKS: Likewise.
1975 * linux-nfs/TODO: Likewise.
1977 * Starting from knfsd 1.4.7.