1 2004-12-06 Paul Clements <paul.clements@steeleye.com>
2 * support/include/ha-callout.h: get return status from waitpid
4 * utils/statd/statd.c(sigusr): print current start when re-reading
5 notify list due to SIGUSR1
6 * utils/statd/svc_run.c(my_svc_run): call change_state when
9 2004-12-06 Marc Eshel <eshel@almaden.ibm.com>
10 * utils/statd/svc_run.c(my_svc_run): allow loop to exit when in
12 *utils/statd/rmtcall.c(statd_get_socket): if a hostname is given
13 to statd with -n, prefer it's IP address to the default for
16 2004-12-06 Bruce Allan <bwa@us.ibm.com>
17 * utils/mountd/auth.c(auth_reload) Clear the "my_client" cache on
18 an auth_reload to avoid old data getting used.
20 2004-12-03 NeilBrown <neilb@cse.unsw.edu.au>
21 Release 1.0.7-pre1 for testing
23 * config.mk, configure.in: update version number, run autoconf
25 2004-12-03 Trond Myklebust <trond.myklebust@fys.uio.no>
27 * utils/statd/statd.c(main): ignore SIGPIPE
29 2004-11-22 "J. Bruce Fields" <bfields@fieldses.org>
31 * tools/rpcdebug/rpcdebug.c: support aliases "nfsdebug" and
32 "nfsddebug" and update flag names.
33 * configure.in, nodist/* redhat/* nfs-utils.spec*: remove redhat
34 specific files (as no-one actually uses them, especially not
35 redhat), and the nodist /etc files (as they drift out-of-date, and
36 the debian directory provides a suitable example.
37 * utils/svcgssd_proc.c(get_ids): fix memory leak
38 * utils/svcgssd/svcgssd_proc.c: Rely on count of the number of
39 groups instead of using a special guard value to identify the end
41 * utils/idmapd/idmapd.c: don't allow Default domain and anon-uid
42 or -gid to be specified on command line.
43 * utils/idmapd/idmapd.c: improve error messages
44 * utils/idmapd/idmapd.c: Reopen nfsd files on sighup. Allows us
45 to start up client side only (even when nfsd module not loaded),
46 and then sighup later after insmodding nfsd module.
47 * utils/idmapd/idmapd.c: Make sure we catch all errors on
48 daemonizing by waiting for child to report succesfull startup
50 * utils/idmapd/idmapd.c: Let libnfsidmapd parse the idmapd.conf
51 file for the default domain, instead of doing that ourselves.
52 * utils/gssd/gssd_proc.c: Make sure we get an error when a gssd
54 * utils/gssd/gssd_proc.c: We were forgetting to restore the euid
55 on certain failures, which meant gssd could get stuck in a state
56 where it didn't have permissions to read the files in rpc_pipefs
58 * utils/gssd/gssd_proc.c: Use libnfsidmapd to map gss principals
60 * debian/nfs-kernel-server.default: Document the NEED_SVCGSSD
61 variable in /etc/default/nfs-kernel-server.
64 2004-11-22 NeilBrown <neilb@cse.unsw.edu.au>
66 * utils/exportfs/nfsd.man: corrected typo in .BR macro usage -
67 reported by Eric Raymond
69 2004-10-19 "J. Bruce Fields" <bfields@fieldses.org>
71 * support/gssapi/* support/rpc/* utils/gssd/* utils/svcgssd/* etc
72 initial support for GSSAPI authentication
74 2004-09-15 Neil Brown <neilb@cse.unsw.edu.au>
76 * utils/statd/monitor.c(sm_unmon_1_svc): is RESTRICTED_STATD, then
77 check IP address and force my_name to 127.0.0.1 to match
78 what happens in sm_mon_1_svc. This avoid spurious "erroneous
80 * utils/statd.monitor.c(sm_unmon_all_1_svc): likewise
82 2004-09-15 "J. Bruce Fields" <bfields@fieldses.org>
84 * Assorted changes to support "gss/*" style authentication
85 * utils/idmapd: new idmapd daemon for nfsv4 username lookup
87 2004-09-06 Trond Myklebust <trond.myklebust@fys.uio.no>
88 Neil Brown <neilb@cse.unsw.edu.au>
90 * utils/mountd/auth.c(auth_authenticate_internal): fix
91 uninitialsed variable problem (causes bad error messages).
93 2004-09-06 Paul Clements <paul.clements@steeleye.com>
94 Neil Brown <neilb@cse.unsw.edu.au>
96 * utils/mountd/mountd.c(main): support --ha-callout (-H) for
97 specifying a callout program
98 * utils/mountd/rmtab.c: Call ha_callout on mount/unmount
99 * utils/statd/monitor.c: Call ha_callout on add/del client
100 * utils/statd/rmtcall.c: as above
101 * utils/statd/statd.c: handle --ha-callout (-H)
102 * utils/statd/svc_run.c: call notify_hosts is we have received a
104 * support/include/ha-callout.h: define ha_callout function
107 2004-08-31 NeilBrown <neilb@cse.unsw.edu.au>
108 * utils/mountd/cache.c(cache_process_req): clear fd after
109 processing so as not to confused libc/sunrpc into thinking
110 it need to do something with that fd.
112 2004-08-31 NeilBrown <neilb@cse.unsw.edu.au>
114 * debian/nfs-kernel-server.init(start,stop) mount the nfsd
115 filesystem, if available, before starting nfs services, and
116 unmount it afterwards.
117 * etc/nodist/nfs-server: ditto
118 * etc/redhat/nfs.init: likewise
119 * etc/redhat/nfs: add "MOUNT_NFSD" flag to control above.
121 2004-06-08 NeilBrown <neilb@cse.unsw.edu.au>
123 * utils/exportfs/exportfs.c: Don't rmtab_read if new_cache, it
125 * support/nfs/cacheio.c(cache_flush): Change order in which caches
126 are flushed so that dependancies don't keep things in the cache
129 2004-03-18 Chip Salzenberg <chip@pobox.com>
131 * debian/changelog: Version 1.0.6-2.
133 2004-02-24 NeilBrown <neilb@cse.unsw.edu.au>
134 from "J. Bruce Fields" <bfields@fieldses.org>
136 * utils/mountd/cache.c: call auth_reload to make sure auth data is
137 current before responding to kernel upcall.
139 2004-02-24 NeilBrown <neilb@cse.unsw.edu.au>
140 Based on patch from Greg Banks <gnb@melbourne.sgi.com>
142 * utils/exportfs/exports.man: Document fsid= option.
144 2003-09-15 NeilBrown <neilb@cse.unsw.edu.au>
148 * rules.mk: Add dep: rule when no OBJS, so "make dep" works in
149 support/include, and depend in "predep"
150 * support/export/Makefile, tools/rpcgen/Makefile,
151 utils/statd/Makefile: add "predep" rule so that "make dep" works.
152 * Makefile: allow a simple "make" to run ./configure and "make dep"
154 * configure.in, nfs-utils.spec: Update version to 1.0.6
157 2003-09-12 Chip Salzenberg <chip@pobox.com>
159 * debian/changelog: Version 1.0.6-1.
161 2003-09-12 NeilBrown <neilb@cse.unsw.edu.au>
163 * utils/mountd/mountd.c(main): Impose FD_SETSIZE as an upper limit
165 * utils/statd/statd.c(main): Ditto.
167 michael <michael@newdream.net> discovered that svc_setreqsize
168 in glibc can segfault if RLIMIT_NOFILE is bigger than
169 FD_SETSIZE, so a simple solution is to impose a hard limit.
171 2003-09-09 Chip Salzenberg <chip@pobox.com>
173 * debian/changelog: Version 1.0.5-3.
174 * support/export/hostname.c (get_reliable_hostbyaddr): Fix crash
175 on invalid reverse DNS.
176 * utils/showmount/showmount.c (main): Fix inet_ntoa() parameter.
177 * tools/rpcgen/rpc_cout.c (print_header): Remove unused vars.
178 * tools/rpcgen/rpc_parse.c (def_union): Likewise.
180 2003-08-22 Chip Salzenberg <chip@pobox.com>
182 * utils/statd/{log.h,log.c}: Rename log() to note() and L_* to
183 N_*, to avoid conflict with ISO C built-in log() function.
184 * utils/statd/*.c: Use note().
186 2003-08-20 Chip Salzenberg <chip@pobox.com>
188 * debian/changelog: Version 1.0.5-2.
190 2003-08-11 NeilBrown <neilb@cse.unsw.edu.au>
192 * utils/mountd/cache.c(cache_get_filehandle): close the filehandle
195 2003-08-04 NeilBrown <neilb@cse.unsw.edu.au>
197 * support/include/nfs/export.h, support/nfs/exports.c,
198 utils/exportfs/exports.c, utils/mountd/mountd.c: change
199 NFSEXP_CROSSMNT to NFSEXP_CROSSMOUNT to avoid confusion with older
200 meaning. Also remove meaningless
201 NFSEXP_{UIDMAP,KERBEROS,SUNSECURE}
203 2003-08-04 NeilBrown <neilb@cse.unsw.edu.au>
205 * support/export/xtab.c, support/include/nfslib.h,
206 support/nfs/cacheio.c, support/nfs/nfssvc.c,
207 utils/exportfs/exportfs.c, utils/exportfs/exportfs.man,
208 utils/exportfs/nfsd.man, utils/mountd/cache.c: support
209 /proc/fs/nfsd/* as a perferred alternate to /proc/fs/nfs/*
210 (nfs-utils-1.0.5-post2)
212 2003-08-04 NeilBrown <neilb@cse.unsw.edu.au>
214 * support/nfs/nfsexport.c: open channel file O_WRONLY when
216 * utils/mountd/cache.c: maintain mountlist when new_cache is
217 active. Also use O_WRONLY for channel files.
218 * utils/mountd/mountd.h: mountlist_{del,add} now take a host name
219 rather than an nfs_export.
220 * utils/mountd/rmtab.c: ditto.
221 (nfs-utils-1.5.0-post1)
223 2003-07-24 Chip Salzenberg <chip@pobox.com>
225 * support/nfs/xlog.c (xlog): Revise buffer-overflow fix to
226 use Debian security team's cleaner approach.
227 * debian/changelog: Version 1.0.5-1.
228 * debian/nfs-kernel-server.init: Cosmetic changes.
230 2003-07-18 NeilBrown <neilb@cse.unsw.edu.au>
233 1.0.4 was a bit of a brown-paper-bag-release because of the extra
234 'free' in auth.c. So I'm releasing this just a few days later.
236 * support/nfs/cacheio.c(cache_flush): Correct test for 'open
238 * utils/exportfs/exportfs.c(main): If "-f" given as lone option,
239 check if new_cache is enabled, error if not, flush and exit if it
241 * utils/exportfs/exportfs.man: Explain -f option and explain the
242 two different modes that exportfs can work in.
243 * utils/mountd/mountd.c: Do not change RLIMIT_NOFILE if the -o
245 * utils/mountd/mountd.man: Record the change if default behaviour
247 * configure.in, nfs-utils.spec: update version to 1.0.5 and
250 2003-07-15 NeilBrown <neilb@cse.unsw.edu.au>
252 * utils/mountd/mountd.c(main): getopt string fix for 'o'
253 * utils/mountd/auth.c(auth_authenticate): remove extra 'free'
254 * utils/exportfs/exportfs.c(main): make 'exportfs -f' just flush
256 * support/include/nfs/export.h: Reserve a bit for possible ACL
259 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
261 * utils/exportfs/nfsd.man: new man page for nfsd filesystem. Also
262 assorted changed to cope with section 7 of the manual.
263 * configure.in, nfs-utils.spec: Update version to 1.0.4
266 This is a 'pre-release' for 1.1.0 Hopefully 1.1.0 will be the
267 baseline for 2.6 and 2.8. I.e. it should continue to work right
268 through the 2.8 (or 3.0) kernel series. Previous releases wont.
270 2003-07-04 NeilBrown <neilb@cse.unsw.edu.au>
271 Steve Dickson <SteveD@redhat.com>
274 * utils/statd/statd.c: create a pidfile with pid of statd, and
275 truncate it when statd exists.
276 * utils/statd/statd.c: drop privs by setuid to owner of SM_DIR,
277 and warn if this is root.
278 * utils/statd/statd.c: when statd forks, connect child to parent
279 with a pipe, and send a byte down the pipe once the child is
281 * Makefile: create and chown sm, sm.bak, state when "make install"
282 * configure.in: add --with-statduser= option which defaults to
283 "rpcuser" or "nobody"
284 * config.mk.in: pass "statduser" through to Makefile
286 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
288 * support/include/nfs/nfs.h: Make sure correct __kernel_dev_t is
289 used as the size was changed somewhere in 2.5.60-2.5.70. Without
290 this nfs-utils compiles against 2.6 headers will not work on a
293 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
295 * support/nfs/nfssvc.c(nfssvc): If /proc/fs/nfs/threads exists,
296 set number of threads by writing to there. This means it will
297 still work when the syscall interface goes away in 2.7.
299 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
300 fumihiko kakuma <kakmy@mvh.biglobe.ne.jp>
302 * utils/exportfs/exportfs.c(unexportfs): improve host comparison
303 so as to only export the wildcard exports that were asked for.
304 * support/export/export.c(export_allowed): changed to return the
305 nfs_export rather than a "struct exportent", as m_changed is
307 * support/export/rmtab.c(rmtab_read): modified to deal with
308 interface change for export_allowed(), and enhanced to preserve
309 m_changed flag when a wild-card export causes the creation of
310 a non-wildcard export.
312 2003-07-02 NeilBrown <neilb@cse.unsw.edu.au>
313 Steve Dickson <SteveD@redhat.com>
315 * utils/mountd/mountd.man: Add valid kinds of debugging.
316 * utils/mountd/mountd.c(main): ignore SIGPIPE
317 * utils/nfsstat/nfsstat.c: fine-tune printing of warning so
318 we don't get warnings about unavailable stats that weren't asked
321 2003-06-24 NeilBrown <neilb@cse.unsw.edu.au>
323 * support/nfs/nfsexport.c(exp_unexp): When unexporting filesystems
324 via /rpc/net/rpc/nfsd*/channel, set the expiry date to 1, not
325 'forever', so things disappear out of the cache rather than just
328 2003-06-16 "J. Bruce Fields" <bfields@fieldses.org>
330 * utils/mountd/cache.c(nfsd_fh): don't export the export_ent
333 2003-06-16 NeilBrown <neilb@cse.unsw.edu.au>
335 * debian/nfs-kernel-server.init,etc/nodist/nfs-server,
336 etc/redhat/nfs.init: when checking if V3 is supported, make sure
337 nfs server 'knows' about 127.0.0.1 first.
339 2003-06-10 Chip Salzenberg <chip@pobox.com>
341 * support/nfs/xlog.c (xlog): Fix off-by-one buffer overflow bug.
342 * debian/changelog: Version 1.0.3-2.
344 2003-05-30 Michael Griffith <grif@michaelgriffith.com>
345 NeilBrown <neilb@cse.unsw.edu.au>
347 utils/nfsstat/nfsstat.c(print_callstats): use unsigned
348 long long to avoid overflow when printing stats.
350 2003-05-30 NeilBrown <neilb@cse.unsw.edu.au>
352 * support/export/export.c, support/include/nfslib.h,
353 support/nfs/export.c, utils/exportfs/exportfs.c,
354 utils/mountd/mountd.c: new export option "mountpoint"
355 If no path is given, then the export point must be a
356 mount point, or it won't be exported. If a path is
357 given (e.g. mountpoint=/path) then that path must be
358 a mountpoint or the exportpoint won't be exported.
359 * utils/exportfs/exportfs.man: document mountpoint option.
360 * support/misc/mountpoint.c: New file with is_mountpoint()
361 to determine if something is a mountpoint.
363 2003-05-23 NeilBrown <neilb@cse.unsw.edu.au>
365 * utils/mountd/cache.c(cache_get_filehandle): take a separate path
366 argument as we might not be getting the filehandle for the
368 * utils/mountd/mountd.c(get_rootfh): pass real path when calling
369 cache_get_filehandle.
370 * utils/mountd/mountd.c(get_rootfh): check export point and
371 requested directory are on the same filesystem, and complain if
374 2003-05-22 NeilBrown <neilb@cse.unsw.edu.au>
376 * utils/mountd/auth.c(auth_authenticate_internal): make sure
377 portnumber is still checked when using new cache lookup.
379 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
381 * utils/exportfs/exportfs.c: Use check_new_cache and cache_flush
382 Don't actually talk to kernel when new cache is in effect, except
384 * utils/exportfs/exportfs.c: add -f option to fully flush cache.
385 * support/export/xtab.c: Only rename new xtab into place if it has
386 changed, thus preserving modify date for exportfs to use when
388 * support/nfs/cacheio.c: Add cache_flush
389 * support/export/xtab.c: Only rename new xtab into place if it has
390 changed, thus preserving modify date for exportfs to use when
393 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
395 * support/export/client.c: Add client_compose, client_member to
396 handle new composite client names
397 * support/include/exportfs.h: Declare above functions.
398 * utils/mountd/auth.c: use client_compose to determine calling
399 client if new cache is being used.
400 * utils/mountd/auth.c: call cache_export to export a filesystem if
401 new_cache, check if new cache is used, and call my_svc_run instead
403 * utils/mountd/svc_run.c: new file defining my_svc_run
404 * utils/mountd/cache.c: new file for handling cache upcalls.
405 * support/nfs/cacheio.c(check_new_cache): new function to check if
406 new cache should be used.
409 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
411 * support/include/nfs/export.h: New CROSSMNT distinct from NOHIDE
412 * support/nfs/exports.c: Make CROSSMNT distinct from NOHIDE
413 * utils/exportfs/exportfs.c(dump): ditto
415 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
417 * support/export/hostname.c(get_reliable_hostbyaddr): new function
418 to get host name from address with full checking of authenticity.
419 * support/include/misc.h: declare above function
420 * utils/mountd/auth.c(auth_authenticate_internal): remove all
421 logic for authenticating address.
422 * utils/mountd/auth.c(auth_authenticate): call new
423 get_reliable_hostbyaddr to to hostname lookup before calling _internal.
426 2003-03-30 NeilBrown <neilb@cse.unsw.edu.au>
428 * tools/rpcgen/rpc_main.c(find_cpp): removed
429 * tools/rpcgen/rpc_main.c(open_input): use execvp to find "cpp",
430 then try hard-coded paths.
432 2003-03-26 Chip Salzenberg <chip@pobox.com>
434 * debian/changelog: Version 1.0.3-1.
436 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
438 * utils/mountd/rmtab.c (slink_safe_rename): real_newpath should be
439 "const char*", not "char*".
441 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
443 * configure.in (VERSION): Set to "1.0.3".
444 * nfs-utils.spec: Likewise.
445 * configure: Regenerated.
447 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
449 * support/nfs/cacheio.c: New File - support for read/writing
450 to export cache in /proc/rpc/*/channel
451 * support/nfs/Makefile: compile cacheio.c
452 * support/include/nfslib.h: declare cacheio.c functions
453 * support/nfs/nfsexport.c: export and unexport through
454 /proc/rpc/*/channel if possible, as old syscall interface
455 may not survive into 2.6 on all architectures.
457 2003-02-19 NeilBrown <neilb@cse.unsw.edu.au>
458 Ben Leslie <benno@sesgroup.net>
460 * support/nfs/rpcmisc.c(rpc_init): change test for ignoring
461 "defport" from (__rpcfdtype == 0) to (__rpcpmstart==0). The
462 former would incorectly ignore defport if the application
463 explicitly set __rpcfdtype. The later is sufficient to avoid the
464 special handling in the case where stdin is an internet socket.
466 * utils/mountd/mountd.c(main): Add 'n' to option list in
467 getopt_long as this is a short form of --no-tcp which want being
470 2003-02-12 Chip Salzenberg <chip@pobox.com>
472 * debian/changelog: Version 1.0.2-2.
474 2002-11-27 Chip Salzenberg <chip@pobox.com>
476 * utils/mountd/rmtab.c (slink_safe_rename): Fix off-by-one buffer
477 overflow bug. Reformat per rest of source file.
479 2002-11-19 NeilBrown <neilb@cse.unsw.edu.au>
481 * utils/exportfs/exports.man: Correct notes about whether the wild
482 card characters match a period. They do.
484 2002-10-15 Juan Gomez <juang@us.ibm.com>
486 * utils/mountd/rmtab.c (slink_safe_rename): New. Support
488 (mountlist_add): Call slink_safe_rename instead of rename.
490 2002-10-11 H.J. Lu <hjl@lucon.org>
492 * support/include/exportfs.h (export_errno): New.
494 * support/nfs/exports.c: Include <errno.h>.
496 (getexportent): Set export_errno to EINVAL for bad option.
497 (parseopts): Likewise.
498 Report the location of the default sync/async option.
500 * utils/exportfs/exportfs.c (main): Initialize export_errno to
501 0. Return export_errno.
503 2002-10-11 Juan Gomez <gomez@cs.sjsu.edu>
504 NeilBrown <neilb@cse.unsw.edu.au>
506 utils/statd/statd.c(killer): don't pmap_unset if in notify_only mode
507 utils/statd/statd.c(main): don't pmap_unset if in notify_only mode
509 2002-09-16 Chip Salzenberg <chip@pobox.com>
511 * utils/rquotad/rquota_svc.c (main): Use int for value of getopt.
513 2002-09-15 Chip Salzenberg <chip@pobox.com>
515 * support/nfs/rpcmisc.c (rpc_init): Allow stdin to be a non-INET
516 socket, as occurs when run from sshd.
517 * debian/changelog: Version 1.0.2-1.
519 2002-09-12 H.J. Lu <hjl@lucon.org>
521 * support/nfs/svc_socket.c: Remove HAVE_SVCTCP_SOCKET and
524 2002-09-12 H.J. Lu <hjl@lucon.org>
526 * configure.in: Remove checking svctcp_socket and svcudp_socket.
527 * configure: Regenerated.
529 * support/include/config.h.in (HAVE_SVCTCP_SOCKET): Removed.
530 (HAVE_SVCUDP_SOCKET): Removed.
532 * support/include/nfslib.h: Undo the last change.
534 2002-09-12 H.J. Lu <hjl@lucon.org>
536 * support/include/nfslib.h (svctcp_socket): Protect it with
538 (svcudp_socket): Protect it with HAVE_SVCUDP_SOCKET.
540 2002-09-12 H.J. Lu <hjl@lucon.org>
542 * configure.in (VERSION): Set to "1.0.2".
543 * configure: Regenerated.
544 * nfs-utils.spec: Likewise.
546 2002-09-12 H.J. Lu <hjl@lucon.org>
548 * configure.in: Check svctcp_socket and svcudp_socket.
549 * configure: Regenerated.
551 * support/include/config.h.in (HAVE_SVCTCP_SOCKET): New.
552 (HAVE_SVCUDP_SOCKET): New.
554 * support/include/nfslib.h (svctcp_socket): New.
555 (svcudp_socket): New.
557 * support/nfs/Makefile (OBJS): Add svc_socket.o.
559 * support/nfs/svc_socket.c: New.
561 * support/nfs/rpcmisc.c (rpc_init): Call svctcp_socket and
562 svcudp_socket if port is unspecified.
564 * utils/nfsd/nfsd.c (main): Call getservbyname for port.
566 * utils/rquotad/rquota_svc.c: Include <nfslib.h>.
567 (killer): New. Signal handler to unregister.
568 (main): Use killer. Call svcudp_socket to get the default
571 2002-09-02 Juan Gomez <juang@us.ibm.com>
572 NeilBrown <neilb@cse.unsw.edu.au>
574 Add -N option to statd to run in notify-only mode.
576 * utils/statd/statd.h: uncomment MODE_NOTIFY_ONLY
577 * utils/statd/statd.man: document -N
578 * utils/statd/statd.c: enabled -N, largely exists but needed to be
579 uncommented and completed
581 2002-09-02 Juan Gomez <juang@us.ibm.com>
582 NeilBrown <neilb@cse.unsw.edu.au>
584 statd to have " -P directory" arg to use that directory instead
585 of /var/lib/nfs. This is useful for fail-over clusters.
587 * utils/statd/statd.h: define SM_DIR etc as var, not const.
588 * utils/statd/statd.c: define "-P" option to set SM_*
590 * utils/statd/monitor.c: sprintf to cope with SM_DIR not being
592 * utils/statd/notify.c: ditto.
593 * utils/statd/statd.man: document -P option.
595 2002-08-26 Chip Salzenberg <chip@pobox.com>
597 * utils/nfsd/nfsd.man: Fix typo.
598 * debian/changelog: Version 1.0.1-1.
600 2002-05-29 NeilBrown <neilb@cse.unsw.edu.au>
602 * let parseopts know if /etc/exports was being read or not,
603 and have it only print "no sync or async" warning in that case.
605 2002-05-06 Tom McNeal <trmcneal@attbi.com>
606 NeilBrown <neilb@cse.unsw.edu.au>
608 * utils/nfsstat/nfsstat.c: Handle differing format for
609 /proc/net/rpc/nfsd between pre and post 2.4.0
611 2002-04-09 NeilBrown <neilb@cse.unsw.edu.au>
612 James Pearson <james-p@moving-picture.com>
614 * support/nfs/rmtab.c(fendrmtabent): sync changes to
615 storage before returning, as this is critical state
617 2002-04-08 Sean O'Connell <sean@ee.duke.edu>
618 H.J. Lu <hjl@lucon.org>
620 * etc/redhat/nfs: New.
622 2002-04-08 H.J. Lu <hjl@lucon.org>
624 * etc/redhat/nfs.init: Updated.
626 * nfs-utils.spec.in: Updated.
627 * nfs-utils.spec: Regenerated.
629 * utils/mountd/mountd.c (longopts): Fix a typo.
631 * utils/mountd/mountd.man: Updated.
633 2002-04-07 H.J. Lu <hjl@lucon.org>
635 * etc/redhat/nfslock.init (restart): Just do stop and start.
637 * etc/redhat/nfs.init: Fix a typo.
639 2002-04-07 H.J. Lu <hjl@lucon.org>
641 * configure.in (VERSION): Set to "1.0.1".
642 * configure: Regenerated.
643 * nfs-utils.spec: Likewise.
645 * README: Updated for 1.0.1.
647 2002-04-07 Sean O'Connell <sean@ee.duke.edu>
648 H.J. Lu <hjl@lucon.org>
650 * etc/redhat/nfs.init: Read /etc/sysconfig/nfsd for NFS tuning.
652 2002-02-28 Steven Whitehouse <steve@gw.chygwyn.com>
653 NeilBrown <neilb@cse.unsw.edu.au>
655 Add support for fsid=nn export option so that device
656 numbers don't go in filehandles.
657 * support/export/nfsctl.c(expsetup): if exporting and NFSEXP_FSID
658 is set, pass the fsid in-place of the device number
659 * support/nfs/exports.c: parse and print fsid= option.
660 Also check if efname has been set, and use "command line"
661 instead in error messages.
662 Also, use strtol instead of atoi for anon[ug]id= so that
663 bad numbers cause errors.
665 2002-01-17 Adrian Drzewiecki <drze@MissionCriticalLinux.com>
666 NeilBrown <neilb@cse.unsw.edu.au>
668 * support/nfs/exports.c: remove NFSEXP_ASYNC as a default
669 flag so that "sync" becomes the default.
670 Check that either "sync" or "async" is given as an option
671 and warn if neither are present
672 * utils/exportfs/exports.man: change documentation for "sync"
673 to be documentation for "async".
674 * utils/exportfs/exportfs.man: note that "sync" is the default
678 2002-01-02 Chip Salzenberg <chip@pobox.com>
680 * support/export/nfsctl.c (expsetup): Don't export entries that
681 specify id mappings not supported by the kernel. No extant kernel
682 supports any significant mapping, only 'identity' (i.e. none).
683 When other mappings are supported, this code will need changing.
684 * debian/changelog: Version 1.0-2.
686 2001-12-26 Chip Salzenberg <chip@pobox.com>
688 * nfs-utils.spec (Version): Set to "1.0".
689 * configure.in (VERSION): Likewise.
690 * configure: Regenerated.
692 * debian/changelog: Version 1.0-1.
694 * utils/exportfs/exports.man: Emphasize the need for options to
695 immediately follow client names. Explain that wildcards don't
696 usually work on addresses, but may work when reverse DNS fails.
697 Comment out a leftover TP that was TPing our indentation.
698 * utils/mountd/mountd.man, utils/rquotad/rquotad.man,
699 utils/statd/statd.man: Remove refs to non-existent "hosts_allow(5)".
700 * debian/changelog: Version 0.3.3-6.
702 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
704 * support/export/client.c(client_lookup): If a host has multiple
705 IP addresses, then we must always use the result of a
706 gethostbyname, not that of gethostbyaddr for exporting
708 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
710 * support/export/client.c (client_lookup): use strcasecmp when
712 * support/nfs/export.c (getexportent): add fromkernel arg and use
713 different defaults as kernels prior to 2.4.11 assume different
714 defaults in /proc/fs/nfs/exports
715 * support/include/nfslib.h, support/export/export.c,
716 support/export/xtab.c: support extra "fromkernel" arg for
719 2001-12-13 Chip Salzenberg <chip@pobox.com>
721 * debian/changelog: Version 0.3.3-5.
723 2001-11-26 TAKAI Kousuke <takai@vlsi.kuee.kyoto-u.ac.jp>
725 * support/nfs/xio.c (xskip): Call `xungetc' instead of
726 `ungetc' to keep x_line more properly.
728 2001-11-26 Chip Salzenberg <chip@pobox.com>
730 * utils/showmount/showmount.c (main): Don't assume that strings
731 starting with digits are IP addresses.
732 * utils/nfsd/nfsd.c (main): Close all fds and reopen 0,1,2 on
733 /dev/null before nfssvc(). Use syslog to report nfssvc errors.
734 * support/misc/tcpwrapper.c, utils/mountd/mountd.man,
735 utils/rquotad/rquotad.man, utils/statd/statd.man: Fix comments and
736 man pages: We check host names *and* addresses with tcpwrappers.
737 * debian/changelog: Version 0.3.3-4.
739 2001-11-21 Chip Salzenberg <chip@pobox.com>
741 * support/nfs/clients.c (cfname): Added: current clients file name.
742 (setnfsclntent): Set it.
743 ({get,end}nfsclntent, syntaxerr): Use it.
744 * support/nfs/exports.c (efname): Added: current exports file name.
745 (setnfsexportent): Set it.
746 (endnfsexportent, parseopts, getexport, syntaxerr): Use it.
747 (parseopts): Accept old-style "crossmnt" option, for old xtabs.
748 * debian/changelog: Version 0.3.3-3.
750 2001-10-11 Chip Salzenberg <chip@pobox.com>
752 * utils/mountd/mountd.c (main): Close fds > 2 _before_ RPC init.
753 * debian/changelog: Version 0.3.3-2.
755 2001-10-08 Chip Salzenberg <chip@pobox.com>
757 * utils/mountd/mountd.c (main): When daemonizing, close all fds > 2.
758 * utils/Makefile.in: Remove old Makefile in target 'distclean'.
759 * utils/mountd/mountd.man: Update paths to /var/lib.
760 * debian/*: Version 0.3.3-1, with Debian-specific fixes.
762 2001-10-06 Preston Brown <pbrown@redhat.com>
764 * utils/nfsstat/nfsstat.man: Updated.
766 2001-09-24 H.J. Lu <hjl@lucon.org>
768 * configure.in (VERSION): Set to "0.3.3".
769 * configure: Regenerated.
770 * nfs-utils.spec: Likewise.
772 * README: Updated for 0.3.3.
774 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
776 Arrange that "exportfs -au" never does DNS lookup:
778 * support/export/client.c (client_lookup) : add "canonical"
779 flag which says that the hostname is known to be canonical, so
782 * support/export/export.c (export_create) : add "canonical"
783 flag to be passed down to client_lookup
784 * support/export/export.c (export_lookup) : Likewise
786 * support/export/xtab.c (xtab_read) : pass appropriate
787 "canonical" flag to export_lookup and export_create:
788 set if reading list of filesystems currently exports
791 * support/export/export.c (export_read) : pass 0 as
792 "canonical" flag to export_lookup and export_create
793 * support/export/rmtab.s (rmtab_read) : Likewise
795 * support/include/exportfs.h : redeclare various routines
796 to have "canonical" flag
798 * utils/exportfs/exportfs.c (main) : redo logic for
799 "-au" to read in what is currently exported, but never even
800 look at what "should" be exported.
802 * utils/exportfs/exportfs.c (unexportall) : remove this
803 routine. Functionality is completely included in
806 * utils/exportfs/exportfs.c (exportfs) : set "canonical"
807 flag to zero in calls to export_lookup and export_create.
810 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
811 Anne Milicia <milicia@missioncriticallinux.com>
813 * support/export/client.c (client_lookup) call gethostbyadd
814 to make sure that we have a canonical hostname, even for
816 * utils/exportfs/exportfs.c (exportfs) Likewise
818 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
820 * support/nfs/exports.c (putexportent): \octal quote any spaces
822 * support/nfs/xio.c (xgettok): recognise double-quote and
823 \octal quoting in path names
824 * utils/exportfs/exports.man: document quoting conventions
827 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
829 * utils/mountd/auth.c (auth_authenticate_internal): Reverse
830 change from 2000-08-02: It causes problems if someone exports
831 to both a hostname and IP addresses. nfs-utils must be
832 consistant about the canonical name that it chooses.
834 2001-08-17 Ragnar Kjørstad <nfs@ragnark.vestdata.no>
835 H.J. Lu <hjl@lucon.org>
837 * etc/redhat/nfslock.init (STATDARG): New. Pass it to rpc.statd.
839 * utils/statd/statd.c (longopts): Add "name".
840 (usage): Add "-n/--name".
841 (main): Set MY_NAME with "-n/--name".
843 * utils/statd/state.c (change_state): Set MY_NAME only if it
846 * utils/statd/statd.man: Updated for "-n/--name".
848 2001-07-26 H.J. Lu <hjl@lucon.org>
850 * nfs-utils.spec (Release): Set to 8.
852 2001-07-25 H.J. Lu <hjl@lucon.org>
854 * etc/redhat/nfs.init: Check if rpc.rquotad exists before doing
857 2001-06-27 H.J. Lu <hjl@lucon.org>
859 * etc/redhat/nfs.init: Run rpc.rquotad only if it exists.
861 2001-06-27 H.J. Lu <hjl@lucon.org>
863 * utils/rquotad/rquota_server.c: Don't call statfs () for
864 the block size. Use BLOCK_SIZE instead.
866 2001-06-27 H.J. Lu <hjl@lucon.org>
868 * config.mk.in (CC_FOR_BUILD): Renamed from BUILD_CC.
869 (CFLAGS_FOR_BUILD): New. Don't use @CFLAGS@.
871 * configure.in (enable_nfsv3): Set to yes by default.
872 (--enable-rquotad): Added
873 (AC_PROG_CXX): Removed.
874 (AC_OUTPUT): Add utils/Makefile.
875 (CC_FOR_BUILD): Renamed from BUILD_CC.
876 * configure: Regenerated.
878 * utils/Makefile: Removed.
880 * utils/Makefile.in: New.
882 * nfs-utils.spec.in (rquotad): New. Set to 0 to disable
884 (CC_FOR_BUILD): Renamed from BUILD_CC.
885 * nfs-utils.spec: Regenerated.
887 2001-06-15 Chip Salzenberg <chip@debian.org>
889 * debian/changelog: Version 0.3.2-2.
890 * debian/*.init: Minor fixes.
892 2001-06-07 Lon H. Hohberger <hohberger@missioncriticallinux.com>
894 * etc/nodist/nfs-server: Fixed a bug where the script would
895 disable mounts from NFSv3 clients if NFSv3 is present.
897 2001-06-05 H.J. Lu <hjl@lucon.org>
899 * utils/mountd/mountd.c (longopts): Add "descriptors/o".
900 (main): Support --descriptors/-o to set the limit of the number
901 of open file descriptors.
904 * utils/mountd/mountd.man: Updated for --descriptors/-o.
906 2001-06-04 H.J. Lu <hjl@lucon.org>
908 * nfs-utils.spec (Release): Set to 6.
910 2001-05-28 H.J. Lu <hjl@lucon.org>
912 * utils/lockd/lockd.c (main): chdir to NFS_STATEDIR.
913 * utils/mountd/mountd.c (main): Likewise.
914 * utils/nfsd/nfsd.c (main): Likewise.
915 * utils/rquotad/rquota_svc.c (main): Likewise.
917 2001-05-06 Anne Milicia <milicia@missioncriticallinux.com>
919 * support/export/client.c (client_check): Check IP address
922 2001-05-06 Neil Brown <neilb@cse.unsw.edu.au>
924 * support/export/client.c (client_gettype): Treat `*' as
927 2001-04-22 H.J. Lu <hjl@lucon.org>
929 * nfs-utils.spec.in: Fix a typo.
930 * nfs-utils.spec: Regenerated.
932 2001-04-21 H.J. Lu <hjl@lucon.org>
934 * nfs-utils.spec.in: Fix cross build.
935 * nfs-utils.spec: Regenerated.
938 2001-04-18 H.J. Lu <hjl@lucon.org>
940 * nfs-utils.spec.in: Support cross build.
941 * nfs-utils.spec: Regenerated.
947 * config.mk.in (BUILD_CC): New.
948 (CC): Set to $(BUILD_CC) if BUILD is defined.
951 (RANLIB): Set to @RANLIB@.
953 * configure.in: Check BUILD_CC, RANLIB, AR and LD.
954 * configure: Regenerated.
956 * tools/rpcgen/Makefile (BUILD): Set to true.
958 2001-04-01 Chip Salzenberg <chip@valinux.com>
960 * tools/rpcgen/rpc_svcout.c (write_timeout_func): Remove
961 redundant, and sometimes broken, declaration of svc_fdset;
963 * support/nfs/rpcmisc.c (closedown): Likewise.
965 2001-03-21 H.J. Lu <hjl@lucon.org>
967 * nfs-utils.spec: Regenerated.
970 2001-03-21 Ion Badulescu <ionut@cs.columbia.edu>
972 * utils/statd/statd.c (main): make sure file descriptors 0-2
973 are open to /dev/null.
975 2001-03-21 H.J. Lu <hjl@lucon.org>
977 * support/nfs/rpcmisc.c: Restore the change made on 2001-03-10.
978 * support/nfs/rpcmisc.c: Likewise.
979 * utils/rquotad/rquota_svc.c: Likewise.
980 * utils/rquotad/rquotad.man: Likewise.
981 * utils/statd/Makefile: Likewise.
982 * utils/statd/rmtcall.c: Likewise.
983 * utils/statd/simulate.c: Likewise.
984 * utils/statd/statd.c: Likewise.
985 * utils/statd/statd.man: Likewise.
987 2001-03-11 H.J. Lu <hjl@lucon.org>
989 * configure.in (RELEASE): New. Default to 1, set by
990 --with-release=XXX. Substitute nfs-utils.spec.
991 * nfs-utils.spec.in (Release): Set to @RELEASE@.
992 * configure: Regenerated.
993 * nfs-utils.spec: Likewise.
995 2001-03-11 H.J. Lu <hjl@lucon.org>
997 * utils/rquotad/rquotad.man: Fix a typo.
999 2001-03-11 H.J. Lu <hjl@lucon.org>
1001 * support/include/rpcmisc.h: Undo the change made on 2001-03-10.
1002 * support/nfs/rpcmisc.c: Likewise.
1003 * utils/rquotad/rquota_svc.c: Likewise.
1004 * utils/rquotad/rquotad.man: Likewise.
1005 * utils/statd/Makefile: Likewise.
1006 * utils/statd/rmtcall.c: Likewise.
1007 * utils/statd/simulate.c: Likewise.
1008 * utils/statd/statd.c: Likewise.
1009 * utils/statd/statd.man: Likewise.
1011 2001-03-10 H.J. Lu <hjl@lucon.org>
1013 * configure.in (VERSION): Set to "0.3.2".
1014 * configure: Regenerated.
1015 * nfs-utils.spec: Likewise.
1017 * README: Updated for 0.3.2.
1019 2001-03-10 Tavis Barr <tavis@boole.isetr.columbia.edu>
1021 * utils/rquotad/rquotad.man: Updated for -p.
1022 * utils/statd/statd.man: Likewise.
1024 2001-03-10 Ion Badulescu <ionut@cs.columbia.edu>
1026 * support/nfs/rpcmisc.c: export makesock()
1028 * support/include/rpcmisc.h (makesock): Declared.
1030 * utils/rquotad/rquota_svc.c: added longopts, added support for
1031 specifying the port to bind to on the command line.
1033 * utils/statd/statd.c: ditto, also specify port used for
1034 outgoing connections.
1035 (do_regist): Removed.
1037 * utils/statd/rmtcall.c (statd_get_socket): Renamed from
1038 get_socket. Make it extern.
1040 * utils/statd/simulate.c (daemon_simulator): Call rpc_init
1041 instead of do_regist.
1043 * utils/statd/Makefile (LIBS): link with our own libnfs
1045 2001-03-09 H.J. Lu <hjl@lucon.org>
1047 * etc/redhat/nfslock.init: Changed chkconfig line to 60 86.
1048 * etc/nodist/nfs-client: Likewise.
1050 2001-02-26 Chip Salzenberg <chip@valinux.com>
1052 * debian/changelog: Version 0.3.1-1.
1053 * Mention upstream source and license in copyright file.
1054 * Add build-Depends for debhelper and libwrap0-dev.
1056 2001-02-20 Lon Hohberger <hohberger@missioncriticallinux.com>
1058 * etc/nodist/nfs-server: Changed chkconfig line to 60 20
1059 * etc/nodist/nfs-client: Likewise.
1061 2001-02-18 Lon Hohberger <hohberger@missioncriticallinux.com>
1063 * utils/statd/statd.man: Changed /usr/sbin/rpc.statd to
1066 2001-02-17 Patrick J. LoPresti <patl@curl.com>
1068 * utils/statd/log.c (log_init): Use LOG_DAEMON instead of
1071 2001-02-14 H.J. Lu <hjl@lucon.org>
1073 * utils/statd/rmtcall.c: Include <time.h>.
1074 * utils/statd/svc_run.c: Likewise.
1076 2001-02-14 H.J. Lu <hjl@lucon.org>
1078 * configure.in (VERSION): Set to "0.3.1".
1079 * configure: Regenerated.
1080 * nfs-utils.spec: Likewise.
1082 * README: Updated for 0.3.1.
1084 2001-02-14 H.J. Lu <hjl@lucon.org>
1086 * support/nfs/rpcmisc.c: Include <time.h>.
1088 2001-02-14 Chip Salzenberg <chip@valinux.com>
1090 * debian/control: Change priority of nhfsstone package to 'extra'.
1092 2001-02-12 Chip Salzenberg <chip@valinux.com>
1094 * debian/changelog: Version 0.3-2.
1096 2001-02-02 H.J. Lu <hjl@lucon.org>
1098 * support/include/rpcmisc.h (rpc_init): Remove bufsize.
1100 * support/nfs/rpcmisc.c (makesock): Remove socksz and comment
1101 out SO_SNDBUF/SO_RCVBUF.
1102 (rpc_init): Remove bufsize and remove socksz in calls to
1105 * utils/mountd/mountd.c (main): Remove bufsize in calls to
1108 2001-01-28 Chip Salzenberg <chip@valinux.com>
1110 * debian/changelog: Version 0.3-1.
1112 2001-01-25 H.J. Lu <hjl@lucon.org>
1114 * configure.in (VERSION): Set to "0.3".
1115 * configure: Regenerated.
1116 * nfs-utils.spec: Likewise.
1118 * README: Updated for 0.3.
1120 2001-01-25 H.J. Lu <hjl@lucon.org>
1122 * utils/lockd/lockd.c (main): Ignore errno == EINVAL.
1124 2001-01-20 Chip Salzenberg <chip@valinux.com>
1126 * support/include/xio.h (xgetc): Declare to return int.
1127 * support/nfs/xio.c (xgetc): Return int.
1128 (xgettok, xskip, xskipcomment): Use int for value of xgetc.
1129 * utils/statd/statd.c (main): Use int for value of getopt.
1130 * debian/changelog: Version 0.2.1-5.
1132 2000-12-10 Chip Salzenberg <chip@valinux.com>
1134 * utils/statd/monitor.c (sm_mon_1_svc): Fix buggy check for
1135 program and procedure numbers of kernel lockd's callback. Also,
1136 besides the old (and broken) procedure #24, allow #16 per Trond.
1138 2000-12-03 Chip Salzenberg <chip@valinux.com>
1140 * support/nfs/xio.c (xfopen): Initialize x_line to one, not zero.
1141 * debian/control: Let nhfsstone replace files in nfs-kernel-server.
1142 * debian/changelog: Version 0.2.1-4.
1144 2000-11-27 Tobias Ringstrom <tori@tellus.mine.nu>
1146 * utils/mountd/auth.c (auth_authenticate): Log the bad path
1149 2000-11-24 Neil Brown <neilb@cse.unsw.edu.au>
1151 * support/nfs/exports.c (getexportent): Check for host name
1152 without option, or options without hostname, and print a warning,
1153 as this is most likely a typo.
1155 2000-11-19 Chip Salzenberg <chip@valinux.com>
1157 * debian/control: Add dependency on portmap.
1158 * debian/changelog: Version 0.2.1-3.
1160 2000-11-10 H.J. Lu <hjl@lucon.org>
1162 * nfs-utils.spec.in: Don't use libtool.
1163 Add ChangeLog and COPYING to doc.
1164 * nfs-utils.spec: Rebuild.
1166 2000-11-09 H.J. Lu <hjl@lucon.org>
1168 * etc/redhat/nfs.init (start): Back out the last change.
1170 2000-11-09 H.J. Lu <hjl@lucon.org>
1172 * etc/redhat/nfs.init (start): Pass --no-tcp to mountd if
1173 TCP is not supported by kernel.
1175 * support/nfs/rpcmisc.c (rpc_init): Don't set _rpcfdtype to 0.
1177 * utils/mountd/mountd.c (longopts): Add "-n/--no-tcp".
1178 (main): Set to _rpcfdtype to SOCK_DGRAM for "-n/--no-tcp".
1180 * utils/mountd/mountd.man: Updated for "-n/--no-tcp".
1182 2000-10-24 Lon Hohberger <hohberger@missioncriticallinux.com>
1184 * utils/statd/callback.c: Fix bug preventing callbacks to local lockd.
1185 * utils/statd/rmtcall.c: Add some IP address paranoia when doing
1186 callbacks to local lockd.
1188 2000-10-18 Scott McDermott <mcdermot@questra.com>
1190 * utils/exportfs/exports.man: Updated for CIDR netmask.
1192 2000-10-17 Scott McDermott <mcdermot@questra.com>
1194 * support/export/client.c (client_init): Support CIDR netmask
1197 2000-10-11 H.J. Lu <hjl@lucon.org>
1199 * aclocal.m4 (AC_TCP_WRAPPER): Fix a typo.
1200 * configure: Rebuilt.
1202 2000-10-06 Lon Hohberger <hohberger@missioncriticallinux.com>
1204 * utils/statd/statd.man: Change "/var/lib/nfs/sm/state" to
1205 "/var/lib/nfs/state".
1207 2000-10-05 Lon Hohberger <hohberger@missioncriticallinux.com>
1209 * utils/statd/statd.h (run_mode): New global bitmask of runtime
1210 behaviors: fg/bg, logging, etc.
1211 * utils/statd/statd.c: New command line options: -V -h -? -d .
1212 * utils/statd/statd.man: Update for changes to statd.
1214 * utils/statd/log.h (log_init): Remove parameter of function; use
1215 global variable "name_p" instead.
1216 * utils/statd/log.c: Add support for logging to stderr.
1218 * utils/statd/notlist.c: Partially rewrite notify list handling
1219 functions. Eliminate run-off-end-of-list bug when calling
1220 nlist_insert_timer. Add lots of comments.
1222 2000-09-27 H.J. Lu <hjl@lucon.org>
1224 * README: Updated for RedHat 7.0.
1226 2000-09-27 H.J. Lu <hjl@lucon.org>
1228 * nfs-utils.spec: Rebuild.
1230 2000-09-27 H.J. Lu <hjl@lucon.org>
1232 * README: Updated for 0.2.1.
1234 2000-09-27 H.J. Lu <hjl@lucon.org>
1236 * nfs-utils.spec.in: Updated to use rpm macros and support
1239 2000-09-25 H.J. Lu <hjl@lucon.org>
1241 * configure.in (VERSION): Set to "0.2.1".
1242 * configure: Regenerated.
1243 * nfs-utils.spec: Updated.
1245 2000-09-25 H.J. Lu <hjl@lucon.org>
1247 * utils/mountd/auth.c (auth_authenticate_internal): Make sure a
1248 non-NULL hostent is always returned.
1250 2000-09-11 Ion Badulescu <ionut@cs.columbia.edu>
1252 * etc/redhat/nfslock.init: don't kill lockd processes that do not
1253 have an executable (i.e. kernel threads)
1255 2000-09-01 H.J. Lu <hjl@lucon.org>
1257 * README: Updated for 0.2.
1259 2000-09-01 Jay Weber <jweber@valinux.com>
1261 * etc/redhat/nfs.init: Added ability for rpc.mountd to default to
1262 supporting version 3 of nfs if available, else it will fall back to
1263 version 2 support only.
1265 2000-08-30 H.J. Lu <hjl@lucon.org>
1267 * configure.in (VERSION): Set to "0.2".
1268 * configure: Regenerated.
1269 * nfs-utils.spec: Updated.
1271 2000-08-25 H.J. Lu <hjl@lucon.org>
1273 * support/misc/tcpwrapper.c (logit): Modify the log output.
1275 2000-08-25 Ion Badulescu <ionut@cs.columbia.edu>
1277 * utils/rquotad/rquotad.man, utils/statd/statd.man,
1278 utils/mountd/mountd.man: updated
1280 * utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL)
1281 * utils/rquotad/Makefile: fix comment
1283 * support/misc/tcpwrapper.c (logit): added comment about waiting
1284 for the children after fork()
1286 * utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving
1287 zombies behind (from logit()'s fork)
1288 * utils/rquotad/rquota_svc.c (main): ditto
1289 * utils/statd/statd.c (main): ditto
1291 * utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG
1292 to check_default instead of 0, for prognum
1294 * utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG
1295 to check_default instead of 0, for prognum
1297 * utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if
1298 HAVE_TCP_WRAPPER is defined.
1299 (mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is
1300 defined. Reject an RPC call if check_default () fails.
1302 2000-08-25 H.J. Lu <hjl@lucon.org>
1304 * support/include/tcpwrapper.h: New for the tcp wrapper
1306 * support/misc/Makefile: Likewise.
1307 * support/misc/from_local.c: Likewise.
1308 * support/misc/tcpwrapper.c: Likewise.
1310 * aclocal.m4 (AC_TCP_WRAPPER): New.
1311 * configure.in: Use it. Substitute LIBWRAP.
1312 * configure: Rebuilt.
1314 * config.mk.in (LIBNSL): New.
1315 (LIBWRAP): Likewise.
1317 * support/Makefile (SUBDIRS): Add misc.
1319 * support/lib/Makefile (LIBS): Add libmisc.a.
1321 * utils/rquotad/Makefile (LIBS): Add
1323 -lmisc $(LIBWRAP) $(LIBNSL)
1325 * utils/statd/Makefile (LIBS): Likewise.
1327 * utils/rquotad/rquota_svc.c: Include "tcpwrapper.h" if
1328 HAVE_TCP_WRAPPER is defined.
1329 (rquotaprog_1): Call check_default () if HAVE_TCP_WRAPPER is
1330 defined. Reject an RPC call if check_default () fails.
1332 * utils/statd/statd.c: Include "tcpwrapper.h" if
1333 HAVE_TCP_WRAPPER is defined.
1334 (sm_prog_1_wrapper): New. A wrapper for sm_prog_1. Call
1335 check_default () before calling sm_prog_1 (). Define it as
1336 sm_prog_1_wrapper if HAVE_TCP_WRAPPER is defined.
1338 2000-08-25 Chip Salzenberg <chip@valinux.com>
1340 * debian/*: Complete Debian build support.
1341 * etc/debian/*: Remove.
1343 2000-08-24 Neil Brown <neilb@cse.unsw.edu.au>
1345 * support/export/client.c(client_check): removed the "dot+1" as a
1346 ypdomain argument to innetgr as this is entirely bogus.
1347 It should always be NULL.
1349 2000-08-23 Neil Brown <neilb@cse.unsw.edu.au>
1351 * support/export/xtab.c(xtab_read): introduce new mode for
1352 reading xtab. i.e. a list of exports that might be known to the
1353 kernel, or might not. These are flagged as m_exported == -1
1354 * support/export/xtab.c(xtab_mount_read): call xtab_read with new
1355 value "2" for xtab, meaning don't trust this too much.
1356 * support/include/exportfs.h(struct mexport): changed m_exported
1357 from one bit to an int so that it can hold new value
1358 * utils/exportfs/exportfs.c(exportfs_ipdate): add an export to the
1359 kernel if it is uncertain whether the kernel knows (m_exported == -1)
1360 * utils/mountd/mountd.c(get_rootfh): similarly export to kernel if
1363 * support/nfs/xio.c(xflock): added O_CREAT when getting
1364 a write lock so that missing files aren't fatal.
1366 * etc/debian/nfs-common: new file from "potato"
1367 * etc/debian/nfs-kernel-server: new file from "potato" plus fixes.
1369 2000-08-09 H.J. Lu <hjl@lucon.org>
1371 * etc/redhat/nfs.init: Run /usr/sbin/exportfs first during
1372 startup to ensure all existing clients work fine.
1374 * support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0
1375 to xtab_read () for reading _PATH_XTAB.
1377 2000-08-02 H.J. Lu <hjl@lucon.org>
1379 * utils/mountd/auth.c (auth_authenticate_internal): Try to
1380 avoid the reverse name lookup.
1382 2000-07-04 H.J. Lu <hjl@lucon.org>
1384 * utils/statd/log.c: Include <stdlib.h> for exit ().
1386 * utils/statd/misc.c (xunlink): Add `{' and `}' to quiet the
1389 2000-07-04 H.J. Lu <hjl@lucon.org>
1391 * configure.in (VERSION): Set to "0.1.9.1".
1392 * configure: Regenerated.
1393 * nfs-utils.spec: Updated.
1397 2000-07-04 Neil Brown <neilb@cse.unsw.edu.au>
1399 * support/export/hostname.c (hostent_dup): Handle the NULL
1402 2000-07-03 H.J. Lu <hjl@lucon.org>
1404 * README: Update the util-linux requirement.
1406 2000-07-03 H.J. Lu <hjl@lucon.org>
1408 * configure.in (VERSION): Set to "0.1.9".
1409 * configure: Regenerated.
1410 * nfs-utils.spec: Updated.
1414 2000-07-03 H.J. Lu <hjl@lucon.org>
1416 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
1417 stop to ensure all clients can still access the server
1418 before it is shutdown.
1420 2000-06-30 Jeff Uphoff <juphoff@transmeta.com>
1422 * tools/rpcgen/rpc_svcout.c (write_msg_out): Generate syslog()
1423 calls with format string.
1425 2000-06-28 Chip Salzenberg <chip@valinux.com>
1427 * utils/statd/log.c (log): Call syslog with format string.
1429 2000-06-27 H.J. Lu <hjl@lucon.org>
1431 * utils/statd/statd.c (main): Use sysconf (_SC_OPEN_MAX)
1432 instead of OPEN_MAX.
1434 2000-06-27 H.J. Lu <hjl@lucon.org>
1438 2000-06-27 H.J. Lu <hjl@lucon.org>
1440 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
1441 startup to ensure all existing clients are exported.
1443 * configure.in (VERSION): Set to "0.1.8.2".
1444 * configure: Regenerated.
1445 * nfs-utils.spec: Updated.
1447 2000-06-06 H.J. Lu <hjl@lucon.org>
1449 * configure.in (VERSION): Set to "0.1.8.1".
1450 * configure: Regenerated.
1451 * nfs-utils.spec: Updated.
1453 2000-06-06 H.J. Lu <hjl@lucon.org>
1455 * utils/mountd/mountd.c (mount_dump_1_svc): Cast svc_getcaller
1456 to "struct sockaddr_in *" for glibc 2.2.
1457 (mount_umnt_1_svc): Likewise.
1458 (mount_umntall_1_svc): Likewise.
1459 (mount_export_1_svc): Likewise.
1460 (mount_exportall_1_svc): Likewise.
1461 (mount_pathconf_2_svc): Likewise.
1462 (get_rootfh): Likewise.
1464 2000-06-04 H.J. Lu <hjl@lucon.org>
1466 * etc/redhat/nfs.init: Fix a typo in comment.
1468 2000-05-31 H.J. Lu <hjl@lucon.org>
1470 * configure.in (VERSION): Set to "0.1.8".
1471 * configure: Regenerated.
1472 * nfs-utils.spec: Updated.
1476 2000-05-31 H.J. Lu <hjl@lucon.org>
1478 * configure.in (VERSION): Set to "0.1.7.5".
1479 * configure: Regenerated.
1480 * nfs-utils.spec: Updated.
1482 * support/include/nfslib.h (exportent): Add a new field,
1483 r_count, to count the number of mounts from a client.
1484 (getrmtabent): Take a new argument for position in file.
1485 (putrmtabent): Likewise.
1486 (fgetrmtabent): Likewise.
1487 (fputrmtabent): Likewise.
1488 * support/nfs/rmtab.c (getrmtabent): Handle the new argument
1489 for position in file.
1490 (fgetrmtabent): Likewise.
1491 (putrmtabent): Likewise.
1492 (fputrmtabent): Likewise.
1494 * support/nfs/rmtab.c (fgetrmtabent): Get value for the new
1497 * support/export/rmtab.c (rmtab_read): Pass NULL as the new
1498 argument to getrmtabent (), fgetrmtabent (), putrmtabent ()
1499 and fputrmtabent ().
1500 * utils/mountd/rmtab.c (mountlist_add): Likewise.
1501 (mountlist_del): Likewise.
1502 (mountlist_del_all): Likewise.
1503 (mountlist_list): Likewise.
1505 * utils/mountd/rmtab.c (mountlist_add): Increment "r_count"
1506 for the existing entry and initialize "r_count" to 1.
1507 (mountlist_del): Decrement "r_count".
1509 2000-05-18 H.J. Lu <hjl@lucon.org>
1511 * configure.in (VERSION): Set to "0.1.7.4".
1512 * configure: Regenerated.
1513 * nfs-utils.spec: Updated.
1515 2000-05-18 H.J. Lu <hjl@lucon.org>
1517 * etc/redhat/nfs.init (restart): Just do stop and start.
1519 2000-05-09 Jay Weber <jweber@valinux.com>
1521 * utils/rquotad/hasquota.c: added support for ext3 recognition
1523 * utils/rquotad/mntent.h: Likewise.
1525 2000-05-01 H.J. Lu <hjl@lucon.org>
1527 * configure.in (VERSION): Set to "0.1.7.3".
1528 * configure: Regenerated.
1529 * nfs-utils.spec: Updated.
1531 2000-05-01 H.J. Lu <hjl@lucon.org>
1533 * utils/rquotad/rquota_server.c (getquotainfo): Skip bad
1534 mounting poins in /etc/fstab.
1536 2000-05-01 H.J. Lu <hjl@lucon.org>
1538 * configure.in (VERSION): Set to "0.1.7.2".
1539 * configure: Regenerated.
1540 * nfs-utils.spec: Updated.
1542 2000-05-01 H.J. Lu <hjl@lucon.org>
1544 * utils/rquotad/rquota_server.c (getquotainfo): Call stat ()
1545 to check for the mounting point.
1547 2000-04-29 Chip Salzenberg <chip@valinux.com>
1548 Neil Brown <neilb@cse.unsw.edu.au>
1550 * Really re-use RPC ports.
1551 (Fixes earlier patch. Sorry, Neil.)
1553 2000-04-26 H.J. Lu <hjl@lucon.org>
1555 * configure.in (VERSION): Set to "0.1.7.1".
1556 * configure: Regenerated.
1557 * nfs-utils.spec: Updated.
1559 2000-04-26 H.J. Lu <hjl@lucon.org>
1561 * etc/redhat/nfslock.init: Check if lockd exits before killing
1564 2000-04-25 H.J. Lu <hjl@lucon.org>
1566 * README: Require util-linux-2.10f-mount-rpc.patch for mount.
1568 2000-03-21 Michael Weiser <michael@weiser.saale-net.de>
1570 * support/nfs/exports.c (parsesquash): Correctly set the
1573 Tue Mar 21 11:38:48 EST 2000 NeilBrown <neilb@cse.unsw.edu.au>
1575 * support/include/nfs/nfs.h: Removed knowledge of internals of
1576 kernel filehandles (which can change) and defined nfs_fh_size
1577 which has variable size
1579 * support/nfs/getfh.c: defined getfh_size to use new syscall to
1580 get variable sized file handles, and change getfh{,old} to
1583 * utils/mountd/mountd.c: use nfd_fh_size and call getfh_size for
1586 * tools/Makefile, tools/nlmtest/nlmtest.c
1587 nlmtest.c depended on internel format of file handles, so now
1591 2000-03-12 Chip Salzenberg <chip@valinux.com>
1592 Neil Brown <neilb@cse.unsw.edu.au>
1594 * support/nfs/rpcmisc.c (rpc_init): Share transports.
1596 2000-03-13 H.J. Lu <hjl@lucon.org>
1598 * etc/redhat/nfsd.init: Updated.
1600 * etc/redhat/nfslock.init: Updated.
1602 * nfs-utils.spec.in: Updated.
1604 * configure.in (VERSION): Set to "0.1.7".
1605 * configure: Regenerated.
1606 * nfs-utils.spec: Updated.
1610 Wed Mar 8 09:42:43 2000 Neil Brown <neilb@cse.unsw.edu.au>
1612 * utils/exportfs/exportfs.c (dump): Included printing of
1613 nohide, no_subtree_check, and insecure_locks
1615 2000-02-26 Chip Salzenberg <chip@valinux.com>
1617 * config.mk.in (INSTALLSUID): Strip ("-s").
1618 (INSTALLSCRIPT): Define.
1619 * utils/nhfsstone/Makefile: Use it.
1621 2000-02-26 Chip Salzenberg <chip@valinux.com>
1623 * utils/lockd/lockd.man: Create.
1624 * utils/lockd/Makefile: Install it.
1625 * utils/nhfsstone/nhfs{run,nums,graph}.man: Create.
1626 * utils/nhfsstone/nhfsstone.man: Change suffix from ".1".
1627 * utils/nhfsstone/Makefile: Install the helper scripts and
1629 * utils/exportfs/exports.man: Fix typo.
1631 2000-02-26 Chip Salzenberg <chip@valinux.com>
1633 * support/nfs/xio.c (xungetc): Decrement line number when
1634 character to unget is newline. Make first parameter int, so
1635 it can distinguish EOF from \377.
1636 * support/include/xio.h (xungetc): Adjust prototype.
1638 Fri Feb 4 23:42:23 2000 Neil Brown <neilb@cse.unsw.edu.au>
1640 * support/include/nfs/export.h: added NFSEXP_NOAUTHNLM
1641 * support/nfs/exports.c: added handling for NFSEXP_NOAUTHNLM
1642 * utils/exportfs/exports.man: added documentation for no_auth_nlm.
1644 This is for supporting a new option introduced in 2.3.42
1646 Thu Feb 3 14:55:48 2000 H.J. Lu <hjl@lucon.org>
1648 * COPYING: Added. GPL.
1650 Thu Feb 03 14:40:40 2000 Cristian Gafton <gafton@redhat.com>
1652 * utils/rquotad/rquota_server.c (getquotainfo): Call statfs ()
1653 to get the block size.
1655 Tue Jan 25 11:04:17 2000 H.J. Lu <hjl@lucon.org>
1657 * nfs-utils.spec.in: Update ftp site.
1659 Mon Jan 17 11:48:18 2000 H.J. Lu <hjl@lucon.org>
1661 * README: Update hostnames.
1663 Tue Jan 11 10:06:22 2000 H.J. Lu <hjl@lucon.org>
1665 * configure.in (VERSION): Set to "0.1.6".
1666 * configure: Regenerated.
1667 * nfs-utils.spec: Updated.
1671 Mon Jan 10 14:26:33 2000 H.J. Lu <hjl@lucon.org>
1673 * utils/mountd/auth.c (auth_authenticate_internal): Call
1674 xstrdup for hostname before passing it to gethostbyname.
1676 * utils/mountd/mountd.c (get_exportlist): Use xstrdup instead
1679 Sun Dec 19 09:35:01 1999 H.J. Lu <hjl@lucon.org>
1681 * README: Update the mailing list address.
1683 Sun Dec 19 09:22:28 1999 H.J. Lu <hjl@lucon.org>
1685 * configure.in (VERSION): Set to "0.1.5".
1686 * configure: Regenerated.
1687 * nfs-utils.spec: Updated.
1691 Mon Dec 13 13:40:20 1999 H.J. Lu <hjl@lucon.org>
1693 * utils/rquotad/hasquota.c (hasquota): Malloc one more char
1696 Mon Dec 6 09:42:45 1999 H.J. Lu <hjl@lucon.org>
1698 * configure.in (VERSION): Set to "0.1.4".
1699 * configure: Regenerated.
1700 * nfs-utils.spec: Updated.
1704 Mon Dec 6 09:28:07 1999 H.J. Lu <hjl@lucon.org>
1706 * nfs-utils.spec.in: New file.
1708 * config.mk.in (VERSION): Changed to "nfs-utils @VERSION@".
1710 * configure.in (nfs-utils.spec): Added to AC_OUTPUT.
1712 1999-12-04 Chip Salzenberg <chip@valinux.com>
1714 * config.mk.in: Use $(CC) as set by configure.
1716 1999-12-04 Chip Salzenberg <chip@valinux.com>
1718 * rules.mk: Call $(MAKE) with $(MFLAGS).
1720 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1722 * tools/rpcgen/rpc_main.c (h_output): Generate IXDR_GET_INT32,
1723 IXDR_PUT_INT32, IXDR_GET_U_INT32 and IXDR_PUT_U_INT32.
1725 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1727 * nfs-utils.spec (Version): Set to 0.1.3.
1729 * configure.in (VERSION): Set to "nfs-utils 0.1.3".
1730 * configure: Regenerated.
1734 Mon Nov 29 11:15:47 1999 H.J. Lu <hjl@lucon.org>
1736 * utils/rquotad/rquota_server.c (nfsmount_to_devname): Removed.
1737 (_PATH_DEV_DSK): Likewise.
1738 (getquotainfo): Match the mounting point from /etc/mtab
1739 instead of calling nfsmount_to_devname ().
1741 1999-11-24 Chip Salzenberg <chip@valinux.com>
1743 * utils/statd/monitor.c (sm_mon_1_svc): Accept lockd callbacks
1744 to the new port 24 as well as the historical port 100021.
1746 Tue Nov 23 10:21:34 1999 Neil Brown <neilb@cse.unsw.edu.au>
1748 * etc/redhat/nfsd.init (stop): moved exportfs -ua after
1749 stopping nfsd to stop spurious ESTALE on server shutdown.
1751 Tue Nov 23 10:13:39 1999 Neil Brown <neilb@cse.unsw.edu.au>
1753 * support/nfs/exports.c (parseopts): make copy of opt string
1754 before 'nul'ing out commas so that
1756 # exportfs -o option1,option2 hosta:/fs hostb:/fs
1758 applies both options to both exports.
1760 Thu Oct 28 12:55:42 1999 H.J. Lu <hjl@lucon.org>
1762 * README: Fix a few typos.
1764 * tools/rpcgen/rpc_cout.c (print_header): Use int32_t instead
1766 * tools/rpcgen/rpc_hout.c (pdefine): Likewise.
1767 * tools/rpcgen/rpc_main.c (c_initialize): Likewise.
1768 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1769 (unsigned_dec): Likewise.
1770 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1771 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1773 * tools/rpcgen/rpc_cout.c (emit_single_in_line): Use INT32
1775 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1776 (unsigned_dec): Likewise.
1777 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1778 * tools/rpcgen/rpc_scan.h (tok_kind): Likewise.
1779 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1781 Thu Oct 28 11:27:51 1999 Neil Brown <neilb@cse.unsw.edu.au>
1783 * support/include/nfs/export.h addedd NFSEXP_NOSUBTREECHECK
1784 * support/nfs/exports.c: added {no_,}subtree_check and changed
1786 * utils/exportfs/exports.man: added no_subtree_check and nohide
1787 and removed irrelevant stuff from unfsd.
1788 * support/export/rmtab.c: rmtab_read didn't quite do the right
1789 thing if a pathname from rmtab was a subdirectory of an export-point
1791 Tue Oct 26 17:22:40 1999 H.J. Lu <hjl@lucon.org>
1793 * README: Updated ftp site.
1795 Mon Oct 25 18:12:45 1999 H.J. Lu <hjl@lucon.org>
1797 * nfs-utils.spec (Version): Set to 0.1.2.
1799 * configure.in (VERSION): Set to "nfs-utils 0.1.2".
1800 * configure: Regenerated.
1804 Mon Oct 25 18:11:21 1999 H.J. Lu <hjl@lucon.org>
1806 * utils/mountd/auth.c (auth_error): Add "no_forward_dns".
1807 (auth_authenticate_internal): Check for NULL return on forward
1809 (auth_authenticate): Handle "no_forward_dns".
1811 Thu Oct 21 16:22:06 1999 H.J. Lu <hjl@lucon.org>
1813 * Version 0.1.1 released.
1815 * nfs-utils.spec (Version): Set to 0.1.1.
1817 * configure.in (VERSION): Set to "nfs-utils 0.1.1".
1818 * configure: Regenerated.
1822 Mon Oct 18 17:43:29 1999 H.J. Lu <hjl@lucon.org>
1824 * nfs-utils.spec (Obsoletes): Fixed a typo, change knfsd-client
1826 (Provides): Likewise.
1828 Mon Oct 18 14:56:22 1999 H.J. Lu <hjl@lucon.org>
1830 * Initial version 0.1 released.
1832 * configure.in (VERSION): Set to "nfs-utils 0.1".
1833 * configure: Regenerated.
1835 Mon Oct 18 14:54:57 1999 H.J. Lu <hjl@lucon.org>
1837 * utils/mountd/mountd.c (get_exportlist): Cleanup.
1839 * utils/exportfs/exportfs.c (unexport_all): Unexport from
1840 kernel only if the entry is exported to kernel.
1841 (unexportfs): Likewise.
1843 Wed Sep 08 16:49:32 1999 Neil Brown <neilb@cse.unsw.edu.au>
1845 1/ utils/mountd/rmtab.c::mountlist_list
1847 This routine stats the rmtab file to see if it has changed. It
1848 if has, it cleans up it's old copy of the data. But it still
1849 always re-read the file, thus returning multiple copies of the
1850 data on consecutive calls without intervening changes.
1851 "Showmount -a" didn't show this as it appears to sort/unique the
1852 data, but 'strace showmount -a' showed that the size of the
1853 datagram that it received grew.
1855 I moved the getrmtabent loop inside the mtime test.
1857 2/ utils/exportfs/exportfs.c
1859 Many routines used the m_path field of m_export instead of
1861 According to the comment in nfslib.h, m_path should only
1862 be used when processing a mount request (i.e. in mountd)
1863 where the mountpoint may be a subdirectory of the export point.
1865 I changed all occurances of m_path to e_path
1868 3/ utils/exportfs/exportfs.c:main
1870 extra arguments are not meaningful with -a or -r, but
1871 exportfs accepted them and then ignored the -a/-r, expect that
1872 -r would still unexport everything first.
1874 I generate an error if there are extra args and f_all
1876 4/ utils/exportfs/exportfs.c:main
1877 extract dump out as a special case.
1879 5/ utils/exportfs/exportfs.c
1880 made f_reexport a local variable.
1883 6/ utils/exportfs/exportfs.c:main,exportall
1885 support/export/rmtab.c
1886 only mayexport on newly created entries, don't set xtabent at all
1888 7/ support/include/nfslib.h
1890 add #define _PATH_PROC_EXPORTS to be /proc/fs/nds/exports
1892 8/ support/export/xtab.c
1894 xtab_mount_read loads data from _PATH_PROC_EXPORTS if it exists,
1898 9/ support/export/xtab.c
1900 xtab_mount_read now sets m_exported, and NOT
1901 xtabent and mayexport
1903 removed the append arguement from xtab_write as it was
1906 added is_export flag to xtab_write similar to xtab_read
1907 if is_export, only write entries with m_xtabent or m_addxtab
1908 if !is_export, only write entries with m_exported
1910 10/ support/export/export.c::export_allowed_internal
1912 added test for exp->m_mayexport, as the export tree
1913 may have entries that are no longer allowed to be exported,
1914 and so shouldn't caused deduced exported by rmtab_read
1916 11/ utils/exportfs/exportfs.c::main
1917 error checking of flags.
1919 12/ utils/exportfs/exportfs.c
1921 total rewrite of export and unexport logic.
1923 - build an exportslist of valid exports, based on
1924 current etab file and arguments,
1925 - read rmtab to instantiate relevant wild card entries
1926 - read etab to find out what is currently exported
1927 - synchronise intention with reality
1928 - write out etab and xtab
1931 discard the m_addxtab flag
1932 add m_changed flag so we know what to report in exportfs
1934 14/ utils/mountd/auth.c:auth_authenticate
1936 the value returned by gethostbyaddr was trusted.
1938 It now follows this with a call to gethostbyname
1939 and checks that the address is in the list.
1941 15/ support/export/nfsctl.c::cltsetup,expsetup
1943 force client names to lowercase as kernel is
1946 16/ quietened a few compiler warnings
1948 17/ support/export/client:client_lookup
1950 look for pre-existing client with same name before creating
1953 18/ support/include/exportfs.h
1955 The ordering of the MCL_* enum was:
1956 ANONYMOUS, FQDN, SUBNETWORK, WILDCARD, NETGROUP
1958 I moved ANONYMOUS to the end.
1960 The ordering is significant when an export entry is being searched for to
1961 match a given address. There are two problems with ANONYMOUS being first.
1963 1/ if a directory is exported rw to a couple of hosts and ro to everyone else,
1964 then the ro case will always be found first and the privileged hosts won't get
1966 2/ When mountd gets a request to mount an ANONYMOUSly exported tree, it creates a FQDN
1967 export entry for the specific host, and writes it to xtab.
1968 When another request comes from the same host, the ANONYMOUS entry is found again,
1969 before the new FQDN entry, so it creates another FQDN entry and writes it to xtab
1970 again. If causes bloat in xtab.
1972 Putting ANONYMOUS at the end reflects it's nature as a catch-all
1974 19/ utils/exportfs/exportfs.man
1975 many updates to the man page to reflect changes to the code
1977 -----------------------
1983 - allow exportfs to modify rmtab file
1984 - make sure kernel never gets two clients with same IP address
1985 - possible kernel should reject
1986 - needs to be some way to lookup client in kernel by IP address
1987 - maybe get kernel to do case-insensitive comparisons on client names
1988 - remove unused clients from kernel
1990 - change etab to xtab and xtab to xtab.active
1992 - timestamp and/or statd-stamp in rmtab for removing old entries.
1994 Mon Oct 18 11:48:07 1999 H.J. Lu <hjl@lucon.org>
1996 * linux-nfs: New directory.
1997 * linux-nfs/ChangeLog: Moved from ..
1998 * linux-nfs/INSTALL: Likewise.
1999 * linux-nfs/KNOWNBUGS: Likewise.
2000 * linux-nfs/NEW: Likewise.
2001 * linux-nfs/README: Likewise.
2002 * linux-nfs/THANKS: Likewise.
2003 * linux-nfs/TODO: Likewise.
2005 * Starting from knfsd 1.4.7.