1 2004-12-07 Marc Eshel <eshel@almaden.ibm.com>
2 * utils/statd/svc_run.c(my_svc_run): allow loop to exit when in
4 *utils/statd/rmtcall.c(statd_get_socket): if a hostname is given
5 to statd with -n, prefer it's IP address to the default for
8 2004-12-06 Bruce Allan <bwa@us.ibm.com>
9 * utils/mountd/auth.c(auth_reload) Clear the "my_client" cache on
10 an auth_reload to avoid old data getting used.
12 2004-12-03 NeilBrown <neilb@cse.unsw.edu.au>
13 Release 1.0.7-pre1 for testing
15 * config.mk, configure.in: update version number, run autoconf
17 2004-12-03 Trond Myklebust <trond.myklebust@fys.uio.no>
19 * utils/statd/statd.c(main): ignore SIGPIPE
21 2004-11-22 "J. Bruce Fields" <bfields@fieldses.org>
23 * tools/rpcdebug/rpcdebug.c: support aliases "nfsdebug" and
24 "nfsddebug" and update flag names.
25 * configure.in, nodist/* redhat/* nfs-utils.spec*: remove redhat
26 specific files (as no-one actually uses them, especially not
27 redhat), and the nodist /etc files (as they drift out-of-date, and
28 the debian directory provides a suitable example.
29 * utils/svcgssd_proc.c(get_ids): fix memory leak
30 * utils/svcgssd/svcgssd_proc.c: Rely on count of the number of
31 groups instead of using a special guard value to identify the end
33 * utils/idmapd/idmapd.c: don't allow Default domain and anon-uid
34 or -gid to be specified on command line.
35 * utils/idmapd/idmapd.c: improve error messages
36 * utils/idmapd/idmapd.c: Reopen nfsd files on sighup. Allows us
37 to start up client side only (even when nfsd module not loaded),
38 and then sighup later after insmodding nfsd module.
39 * utils/idmapd/idmapd.c: Make sure we catch all errors on
40 daemonizing by waiting for child to report succesfull startup
42 * utils/idmapd/idmapd.c: Let libnfsidmapd parse the idmapd.conf
43 file for the default domain, instead of doing that ourselves.
44 * utils/gssd/gssd_proc.c: Make sure we get an error when a gssd
46 * utils/gssd/gssd_proc.c: We were forgetting to restore the euid
47 on certain failures, which meant gssd could get stuck in a state
48 where it didn't have permissions to read the files in rpc_pipefs
50 * utils/gssd/gssd_proc.c: Use libnfsidmapd to map gss principals
52 * debian/nfs-kernel-server.default: Document the NEED_SVCGSSD
53 variable in /etc/default/nfs-kernel-server.
56 2004-11-22 NeilBrown <neilb@cse.unsw.edu.au>
58 * utils/exportfs/nfsd.man: corrected typo in .BR macro usage -
59 reported by Eric Raymond
61 2004-10-19 "J. Bruce Fields" <bfields@fieldses.org>
63 * support/gssapi/* support/rpc/* utils/gssd/* utils/svcgssd/* etc
64 initial support for GSSAPI authentication
66 2004-09-15 Neil Brown <neilb@cse.unsw.edu.au>
68 * utils/statd/monitor.c(sm_unmon_1_svc): is RESTRICTED_STATD, then
69 check IP address and force my_name to 127.0.0.1 to match
70 what happens in sm_mon_1_svc. This avoid spurious "erroneous
72 * utils/statd.monitor.c(sm_unmon_all_1_svc): likewise
74 2004-09-15 "J. Bruce Fields" <bfields@fieldses.org>
76 * Assorted changes to support "gss/*" style authentication
77 * utils/idmapd: new idmapd daemon for nfsv4 username lookup
79 2004-09-06 Trond Myklebust <trond.myklebust@fys.uio.no>
80 Neil Brown <neilb@cse.unsw.edu.au>
82 * utils/mountd/auth.c(auth_authenticate_internal): fix
83 uninitialsed variable problem (causes bad error messages).
85 2004-09-06 Paul Clements <paul.clements@steeleye.com>
86 Neil Brown <neilb@cse.unsw.edu.au>
88 * utils/mountd/mountd.c(main): support --ha-callout (-H) for
89 specifying a callout program
90 * utils/mountd/rmtab.c: Call ha_callout on mount/unmount
91 * utils/statd/monitor.c: Call ha_callout on add/del client
92 * utils/statd/rmtcall.c: as above
93 * utils/statd/statd.c: handle --ha-callout (-H)
94 * utils/statd/svc_run.c: call notify_hosts is we have received a
96 * support/include/ha-callout.h: define ha_callout function
99 2004-08-31 NeilBrown <neilb@cse.unsw.edu.au>
100 * utils/mountd/cache.c(cache_process_req): clear fd after
101 processing so as not to confused libc/sunrpc into thinking
102 it need to do something with that fd.
104 2004-08-31 NeilBrown <neilb@cse.unsw.edu.au>
106 * debian/nfs-kernel-server.init(start,stop) mount the nfsd
107 filesystem, if available, before starting nfs services, and
108 unmount it afterwards.
109 * etc/nodist/nfs-server: ditto
110 * etc/redhat/nfs.init: likewise
111 * etc/redhat/nfs: add "MOUNT_NFSD" flag to control above.
113 2004-06-08 NeilBrown <neilb@cse.unsw.edu.au>
115 * utils/exportfs/exportfs.c: Don't rmtab_read if new_cache, it
117 * support/nfs/cacheio.c(cache_flush): Change order in which caches
118 are flushed so that dependancies don't keep things in the cache
121 2004-03-18 Chip Salzenberg <chip@pobox.com>
123 * debian/changelog: Version 1.0.6-2.
125 2004-02-24 NeilBrown <neilb@cse.unsw.edu.au>
126 from "J. Bruce Fields" <bfields@fieldses.org>
128 * utils/mountd/cache.c: call auth_reload to make sure auth data is
129 current before responding to kernel upcall.
131 2004-02-24 NeilBrown <neilb@cse.unsw.edu.au>
132 Based on patch from Greg Banks <gnb@melbourne.sgi.com>
134 * utils/exportfs/exports.man: Document fsid= option.
136 2003-09-15 NeilBrown <neilb@cse.unsw.edu.au>
140 * rules.mk: Add dep: rule when no OBJS, so "make dep" works in
141 support/include, and depend in "predep"
142 * support/export/Makefile, tools/rpcgen/Makefile,
143 utils/statd/Makefile: add "predep" rule so that "make dep" works.
144 * Makefile: allow a simple "make" to run ./configure and "make dep"
146 * configure.in, nfs-utils.spec: Update version to 1.0.6
149 2003-09-12 Chip Salzenberg <chip@pobox.com>
151 * debian/changelog: Version 1.0.6-1.
153 2003-09-12 NeilBrown <neilb@cse.unsw.edu.au>
155 * utils/mountd/mountd.c(main): Impose FD_SETSIZE as an upper limit
157 * utils/statd/statd.c(main): Ditto.
159 michael <michael@newdream.net> discovered that svc_setreqsize
160 in glibc can segfault if RLIMIT_NOFILE is bigger than
161 FD_SETSIZE, so a simple solution is to impose a hard limit.
163 2003-09-09 Chip Salzenberg <chip@pobox.com>
165 * debian/changelog: Version 1.0.5-3.
166 * support/export/hostname.c (get_reliable_hostbyaddr): Fix crash
167 on invalid reverse DNS.
168 * utils/showmount/showmount.c (main): Fix inet_ntoa() parameter.
169 * tools/rpcgen/rpc_cout.c (print_header): Remove unused vars.
170 * tools/rpcgen/rpc_parse.c (def_union): Likewise.
172 2003-08-22 Chip Salzenberg <chip@pobox.com>
174 * utils/statd/{log.h,log.c}: Rename log() to note() and L_* to
175 N_*, to avoid conflict with ISO C built-in log() function.
176 * utils/statd/*.c: Use note().
178 2003-08-20 Chip Salzenberg <chip@pobox.com>
180 * debian/changelog: Version 1.0.5-2.
182 2003-08-11 NeilBrown <neilb@cse.unsw.edu.au>
184 * utils/mountd/cache.c(cache_get_filehandle): close the filehandle
187 2003-08-04 NeilBrown <neilb@cse.unsw.edu.au>
189 * support/include/nfs/export.h, support/nfs/exports.c,
190 utils/exportfs/exports.c, utils/mountd/mountd.c: change
191 NFSEXP_CROSSMNT to NFSEXP_CROSSMOUNT to avoid confusion with older
192 meaning. Also remove meaningless
193 NFSEXP_{UIDMAP,KERBEROS,SUNSECURE}
195 2003-08-04 NeilBrown <neilb@cse.unsw.edu.au>
197 * support/export/xtab.c, support/include/nfslib.h,
198 support/nfs/cacheio.c, support/nfs/nfssvc.c,
199 utils/exportfs/exportfs.c, utils/exportfs/exportfs.man,
200 utils/exportfs/nfsd.man, utils/mountd/cache.c: support
201 /proc/fs/nfsd/* as a perferred alternate to /proc/fs/nfs/*
202 (nfs-utils-1.0.5-post2)
204 2003-08-04 NeilBrown <neilb@cse.unsw.edu.au>
206 * support/nfs/nfsexport.c: open channel file O_WRONLY when
208 * utils/mountd/cache.c: maintain mountlist when new_cache is
209 active. Also use O_WRONLY for channel files.
210 * utils/mountd/mountd.h: mountlist_{del,add} now take a host name
211 rather than an nfs_export.
212 * utils/mountd/rmtab.c: ditto.
213 (nfs-utils-1.5.0-post1)
215 2003-07-24 Chip Salzenberg <chip@pobox.com>
217 * support/nfs/xlog.c (xlog): Revise buffer-overflow fix to
218 use Debian security team's cleaner approach.
219 * debian/changelog: Version 1.0.5-1.
220 * debian/nfs-kernel-server.init: Cosmetic changes.
222 2003-07-18 NeilBrown <neilb@cse.unsw.edu.au>
225 1.0.4 was a bit of a brown-paper-bag-release because of the extra
226 'free' in auth.c. So I'm releasing this just a few days later.
228 * support/nfs/cacheio.c(cache_flush): Correct test for 'open
230 * utils/exportfs/exportfs.c(main): If "-f" given as lone option,
231 check if new_cache is enabled, error if not, flush and exit if it
233 * utils/exportfs/exportfs.man: Explain -f option and explain the
234 two different modes that exportfs can work in.
235 * utils/mountd/mountd.c: Do not change RLIMIT_NOFILE if the -o
237 * utils/mountd/mountd.man: Record the change if default behaviour
239 * configure.in, nfs-utils.spec: update version to 1.0.5 and
242 2003-07-15 NeilBrown <neilb@cse.unsw.edu.au>
244 * utils/mountd/mountd.c(main): getopt string fix for 'o'
245 * utils/mountd/auth.c(auth_authenticate): remove extra 'free'
246 * utils/exportfs/exportfs.c(main): make 'exportfs -f' just flush
248 * support/include/nfs/export.h: Reserve a bit for possible ACL
251 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
253 * utils/exportfs/nfsd.man: new man page for nfsd filesystem. Also
254 assorted changed to cope with section 7 of the manual.
255 * configure.in, nfs-utils.spec: Update version to 1.0.4
258 This is a 'pre-release' for 1.1.0 Hopefully 1.1.0 will be the
259 baseline for 2.6 and 2.8. I.e. it should continue to work right
260 through the 2.8 (or 3.0) kernel series. Previous releases wont.
262 2003-07-04 NeilBrown <neilb@cse.unsw.edu.au>
263 Steve Dickson <SteveD@redhat.com>
266 * utils/statd/statd.c: create a pidfile with pid of statd, and
267 truncate it when statd exists.
268 * utils/statd/statd.c: drop privs by setuid to owner of SM_DIR,
269 and warn if this is root.
270 * utils/statd/statd.c: when statd forks, connect child to parent
271 with a pipe, and send a byte down the pipe once the child is
273 * Makefile: create and chown sm, sm.bak, state when "make install"
274 * configure.in: add --with-statduser= option which defaults to
275 "rpcuser" or "nobody"
276 * config.mk.in: pass "statduser" through to Makefile
278 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
280 * support/include/nfs/nfs.h: Make sure correct __kernel_dev_t is
281 used as the size was changed somewhere in 2.5.60-2.5.70. Without
282 this nfs-utils compiles against 2.6 headers will not work on a
285 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
287 * support/nfs/nfssvc.c(nfssvc): If /proc/fs/nfs/threads exists,
288 set number of threads by writing to there. This means it will
289 still work when the syscall interface goes away in 2.7.
291 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
292 fumihiko kakuma <kakmy@mvh.biglobe.ne.jp>
294 * utils/exportfs/exportfs.c(unexportfs): improve host comparison
295 so as to only export the wildcard exports that were asked for.
296 * support/export/export.c(export_allowed): changed to return the
297 nfs_export rather than a "struct exportent", as m_changed is
299 * support/export/rmtab.c(rmtab_read): modified to deal with
300 interface change for export_allowed(), and enhanced to preserve
301 m_changed flag when a wild-card export causes the creation of
302 a non-wildcard export.
304 2003-07-02 NeilBrown <neilb@cse.unsw.edu.au>
305 Steve Dickson <SteveD@redhat.com>
307 * utils/mountd/mountd.man: Add valid kinds of debugging.
308 * utils/mountd/mountd.c(main): ignore SIGPIPE
309 * utils/nfsstat/nfsstat.c: fine-tune printing of warning so
310 we don't get warnings about unavailable stats that weren't asked
313 2003-06-24 NeilBrown <neilb@cse.unsw.edu.au>
315 * support/nfs/nfsexport.c(exp_unexp): When unexporting filesystems
316 via /rpc/net/rpc/nfsd*/channel, set the expiry date to 1, not
317 'forever', so things disappear out of the cache rather than just
320 2003-06-16 "J. Bruce Fields" <bfields@fieldses.org>
322 * utils/mountd/cache.c(nfsd_fh): don't export the export_ent
325 2003-06-16 NeilBrown <neilb@cse.unsw.edu.au>
327 * debian/nfs-kernel-server.init,etc/nodist/nfs-server,
328 etc/redhat/nfs.init: when checking if V3 is supported, make sure
329 nfs server 'knows' about 127.0.0.1 first.
331 2003-06-10 Chip Salzenberg <chip@pobox.com>
333 * support/nfs/xlog.c (xlog): Fix off-by-one buffer overflow bug.
334 * debian/changelog: Version 1.0.3-2.
336 2003-05-30 Michael Griffith <grif@michaelgriffith.com>
337 NeilBrown <neilb@cse.unsw.edu.au>
339 utils/nfsstat/nfsstat.c(print_callstats): use unsigned
340 long long to avoid overflow when printing stats.
342 2003-05-30 NeilBrown <neilb@cse.unsw.edu.au>
344 * support/export/export.c, support/include/nfslib.h,
345 support/nfs/export.c, utils/exportfs/exportfs.c,
346 utils/mountd/mountd.c: new export option "mountpoint"
347 If no path is given, then the export point must be a
348 mount point, or it won't be exported. If a path is
349 given (e.g. mountpoint=/path) then that path must be
350 a mountpoint or the exportpoint won't be exported.
351 * utils/exportfs/exportfs.man: document mountpoint option.
352 * support/misc/mountpoint.c: New file with is_mountpoint()
353 to determine if something is a mountpoint.
355 2003-05-23 NeilBrown <neilb@cse.unsw.edu.au>
357 * utils/mountd/cache.c(cache_get_filehandle): take a separate path
358 argument as we might not be getting the filehandle for the
360 * utils/mountd/mountd.c(get_rootfh): pass real path when calling
361 cache_get_filehandle.
362 * utils/mountd/mountd.c(get_rootfh): check export point and
363 requested directory are on the same filesystem, and complain if
366 2003-05-22 NeilBrown <neilb@cse.unsw.edu.au>
368 * utils/mountd/auth.c(auth_authenticate_internal): make sure
369 portnumber is still checked when using new cache lookup.
371 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
373 * utils/exportfs/exportfs.c: Use check_new_cache and cache_flush
374 Don't actually talk to kernel when new cache is in effect, except
376 * utils/exportfs/exportfs.c: add -f option to fully flush cache.
377 * support/export/xtab.c: Only rename new xtab into place if it has
378 changed, thus preserving modify date for exportfs to use when
380 * support/nfs/cacheio.c: Add cache_flush
381 * support/export/xtab.c: Only rename new xtab into place if it has
382 changed, thus preserving modify date for exportfs to use when
385 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
387 * support/export/client.c: Add client_compose, client_member to
388 handle new composite client names
389 * support/include/exportfs.h: Declare above functions.
390 * utils/mountd/auth.c: use client_compose to determine calling
391 client if new cache is being used.
392 * utils/mountd/auth.c: call cache_export to export a filesystem if
393 new_cache, check if new cache is used, and call my_svc_run instead
395 * utils/mountd/svc_run.c: new file defining my_svc_run
396 * utils/mountd/cache.c: new file for handling cache upcalls.
397 * support/nfs/cacheio.c(check_new_cache): new function to check if
398 new cache should be used.
401 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
403 * support/include/nfs/export.h: New CROSSMNT distinct from NOHIDE
404 * support/nfs/exports.c: Make CROSSMNT distinct from NOHIDE
405 * utils/exportfs/exportfs.c(dump): ditto
407 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
409 * support/export/hostname.c(get_reliable_hostbyaddr): new function
410 to get host name from address with full checking of authenticity.
411 * support/include/misc.h: declare above function
412 * utils/mountd/auth.c(auth_authenticate_internal): remove all
413 logic for authenticating address.
414 * utils/mountd/auth.c(auth_authenticate): call new
415 get_reliable_hostbyaddr to to hostname lookup before calling _internal.
418 2003-03-30 NeilBrown <neilb@cse.unsw.edu.au>
420 * tools/rpcgen/rpc_main.c(find_cpp): removed
421 * tools/rpcgen/rpc_main.c(open_input): use execvp to find "cpp",
422 then try hard-coded paths.
424 2003-03-26 Chip Salzenberg <chip@pobox.com>
426 * debian/changelog: Version 1.0.3-1.
428 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
430 * utils/mountd/rmtab.c (slink_safe_rename): real_newpath should be
431 "const char*", not "char*".
433 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
435 * configure.in (VERSION): Set to "1.0.3".
436 * nfs-utils.spec: Likewise.
437 * configure: Regenerated.
439 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
441 * support/nfs/cacheio.c: New File - support for read/writing
442 to export cache in /proc/rpc/*/channel
443 * support/nfs/Makefile: compile cacheio.c
444 * support/include/nfslib.h: declare cacheio.c functions
445 * support/nfs/nfsexport.c: export and unexport through
446 /proc/rpc/*/channel if possible, as old syscall interface
447 may not survive into 2.6 on all architectures.
449 2003-02-19 NeilBrown <neilb@cse.unsw.edu.au>
450 Ben Leslie <benno@sesgroup.net>
452 * support/nfs/rpcmisc.c(rpc_init): change test for ignoring
453 "defport" from (__rpcfdtype == 0) to (__rpcpmstart==0). The
454 former would incorectly ignore defport if the application
455 explicitly set __rpcfdtype. The later is sufficient to avoid the
456 special handling in the case where stdin is an internet socket.
458 * utils/mountd/mountd.c(main): Add 'n' to option list in
459 getopt_long as this is a short form of --no-tcp which want being
462 2003-02-12 Chip Salzenberg <chip@pobox.com>
464 * debian/changelog: Version 1.0.2-2.
466 2002-11-27 Chip Salzenberg <chip@pobox.com>
468 * utils/mountd/rmtab.c (slink_safe_rename): Fix off-by-one buffer
469 overflow bug. Reformat per rest of source file.
471 2002-11-19 NeilBrown <neilb@cse.unsw.edu.au>
473 * utils/exportfs/exports.man: Correct notes about whether the wild
474 card characters match a period. They do.
476 2002-10-15 Juan Gomez <juang@us.ibm.com>
478 * utils/mountd/rmtab.c (slink_safe_rename): New. Support
480 (mountlist_add): Call slink_safe_rename instead of rename.
482 2002-10-11 H.J. Lu <hjl@lucon.org>
484 * support/include/exportfs.h (export_errno): New.
486 * support/nfs/exports.c: Include <errno.h>.
488 (getexportent): Set export_errno to EINVAL for bad option.
489 (parseopts): Likewise.
490 Report the location of the default sync/async option.
492 * utils/exportfs/exportfs.c (main): Initialize export_errno to
493 0. Return export_errno.
495 2002-10-11 Juan Gomez <gomez@cs.sjsu.edu>
496 NeilBrown <neilb@cse.unsw.edu.au>
498 utils/statd/statd.c(killer): don't pmap_unset if in notify_only mode
499 utils/statd/statd.c(main): don't pmap_unset if in notify_only mode
501 2002-09-16 Chip Salzenberg <chip@pobox.com>
503 * utils/rquotad/rquota_svc.c (main): Use int for value of getopt.
505 2002-09-15 Chip Salzenberg <chip@pobox.com>
507 * support/nfs/rpcmisc.c (rpc_init): Allow stdin to be a non-INET
508 socket, as occurs when run from sshd.
509 * debian/changelog: Version 1.0.2-1.
511 2002-09-12 H.J. Lu <hjl@lucon.org>
513 * support/nfs/svc_socket.c: Remove HAVE_SVCTCP_SOCKET and
516 2002-09-12 H.J. Lu <hjl@lucon.org>
518 * configure.in: Remove checking svctcp_socket and svcudp_socket.
519 * configure: Regenerated.
521 * support/include/config.h.in (HAVE_SVCTCP_SOCKET): Removed.
522 (HAVE_SVCUDP_SOCKET): Removed.
524 * support/include/nfslib.h: Undo the last change.
526 2002-09-12 H.J. Lu <hjl@lucon.org>
528 * support/include/nfslib.h (svctcp_socket): Protect it with
530 (svcudp_socket): Protect it with HAVE_SVCUDP_SOCKET.
532 2002-09-12 H.J. Lu <hjl@lucon.org>
534 * configure.in (VERSION): Set to "1.0.2".
535 * configure: Regenerated.
536 * nfs-utils.spec: Likewise.
538 2002-09-12 H.J. Lu <hjl@lucon.org>
540 * configure.in: Check svctcp_socket and svcudp_socket.
541 * configure: Regenerated.
543 * support/include/config.h.in (HAVE_SVCTCP_SOCKET): New.
544 (HAVE_SVCUDP_SOCKET): New.
546 * support/include/nfslib.h (svctcp_socket): New.
547 (svcudp_socket): New.
549 * support/nfs/Makefile (OBJS): Add svc_socket.o.
551 * support/nfs/svc_socket.c: New.
553 * support/nfs/rpcmisc.c (rpc_init): Call svctcp_socket and
554 svcudp_socket if port is unspecified.
556 * utils/nfsd/nfsd.c (main): Call getservbyname for port.
558 * utils/rquotad/rquota_svc.c: Include <nfslib.h>.
559 (killer): New. Signal handler to unregister.
560 (main): Use killer. Call svcudp_socket to get the default
563 2002-09-02 Juan Gomez <juang@us.ibm.com>
564 NeilBrown <neilb@cse.unsw.edu.au>
566 Add -N option to statd to run in notify-only mode.
568 * utils/statd/statd.h: uncomment MODE_NOTIFY_ONLY
569 * utils/statd/statd.man: document -N
570 * utils/statd/statd.c: enabled -N, largely exists but needed to be
571 uncommented and completed
573 2002-09-02 Juan Gomez <juang@us.ibm.com>
574 NeilBrown <neilb@cse.unsw.edu.au>
576 statd to have " -P directory" arg to use that directory instead
577 of /var/lib/nfs. This is useful for fail-over clusters.
579 * utils/statd/statd.h: define SM_DIR etc as var, not const.
580 * utils/statd/statd.c: define "-P" option to set SM_*
582 * utils/statd/monitor.c: sprintf to cope with SM_DIR not being
584 * utils/statd/notify.c: ditto.
585 * utils/statd/statd.man: document -P option.
587 2002-08-26 Chip Salzenberg <chip@pobox.com>
589 * utils/nfsd/nfsd.man: Fix typo.
590 * debian/changelog: Version 1.0.1-1.
592 2002-05-29 NeilBrown <neilb@cse.unsw.edu.au>
594 * let parseopts know if /etc/exports was being read or not,
595 and have it only print "no sync or async" warning in that case.
597 2002-05-06 Tom McNeal <trmcneal@attbi.com>
598 NeilBrown <neilb@cse.unsw.edu.au>
600 * utils/nfsstat/nfsstat.c: Handle differing format for
601 /proc/net/rpc/nfsd between pre and post 2.4.0
603 2002-04-09 NeilBrown <neilb@cse.unsw.edu.au>
604 James Pearson <james-p@moving-picture.com>
606 * support/nfs/rmtab.c(fendrmtabent): sync changes to
607 storage before returning, as this is critical state
609 2002-04-08 Sean O'Connell <sean@ee.duke.edu>
610 H.J. Lu <hjl@lucon.org>
612 * etc/redhat/nfs: New.
614 2002-04-08 H.J. Lu <hjl@lucon.org>
616 * etc/redhat/nfs.init: Updated.
618 * nfs-utils.spec.in: Updated.
619 * nfs-utils.spec: Regenerated.
621 * utils/mountd/mountd.c (longopts): Fix a typo.
623 * utils/mountd/mountd.man: Updated.
625 2002-04-07 H.J. Lu <hjl@lucon.org>
627 * etc/redhat/nfslock.init (restart): Just do stop and start.
629 * etc/redhat/nfs.init: Fix a typo.
631 2002-04-07 H.J. Lu <hjl@lucon.org>
633 * configure.in (VERSION): Set to "1.0.1".
634 * configure: Regenerated.
635 * nfs-utils.spec: Likewise.
637 * README: Updated for 1.0.1.
639 2002-04-07 Sean O'Connell <sean@ee.duke.edu>
640 H.J. Lu <hjl@lucon.org>
642 * etc/redhat/nfs.init: Read /etc/sysconfig/nfsd for NFS tuning.
644 2002-02-28 Steven Whitehouse <steve@gw.chygwyn.com>
645 NeilBrown <neilb@cse.unsw.edu.au>
647 Add support for fsid=nn export option so that device
648 numbers don't go in filehandles.
649 * support/export/nfsctl.c(expsetup): if exporting and NFSEXP_FSID
650 is set, pass the fsid in-place of the device number
651 * support/nfs/exports.c: parse and print fsid= option.
652 Also check if efname has been set, and use "command line"
653 instead in error messages.
654 Also, use strtol instead of atoi for anon[ug]id= so that
655 bad numbers cause errors.
657 2002-01-17 Adrian Drzewiecki <drze@MissionCriticalLinux.com>
658 NeilBrown <neilb@cse.unsw.edu.au>
660 * support/nfs/exports.c: remove NFSEXP_ASYNC as a default
661 flag so that "sync" becomes the default.
662 Check that either "sync" or "async" is given as an option
663 and warn if neither are present
664 * utils/exportfs/exports.man: change documentation for "sync"
665 to be documentation for "async".
666 * utils/exportfs/exportfs.man: note that "sync" is the default
670 2002-01-02 Chip Salzenberg <chip@pobox.com>
672 * support/export/nfsctl.c (expsetup): Don't export entries that
673 specify id mappings not supported by the kernel. No extant kernel
674 supports any significant mapping, only 'identity' (i.e. none).
675 When other mappings are supported, this code will need changing.
676 * debian/changelog: Version 1.0-2.
678 2001-12-26 Chip Salzenberg <chip@pobox.com>
680 * nfs-utils.spec (Version): Set to "1.0".
681 * configure.in (VERSION): Likewise.
682 * configure: Regenerated.
684 * debian/changelog: Version 1.0-1.
686 * utils/exportfs/exports.man: Emphasize the need for options to
687 immediately follow client names. Explain that wildcards don't
688 usually work on addresses, but may work when reverse DNS fails.
689 Comment out a leftover TP that was TPing our indentation.
690 * utils/mountd/mountd.man, utils/rquotad/rquotad.man,
691 utils/statd/statd.man: Remove refs to non-existent "hosts_allow(5)".
692 * debian/changelog: Version 0.3.3-6.
694 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
696 * support/export/client.c(client_lookup): If a host has multiple
697 IP addresses, then we must always use the result of a
698 gethostbyname, not that of gethostbyaddr for exporting
700 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
702 * support/export/client.c (client_lookup): use strcasecmp when
704 * support/nfs/export.c (getexportent): add fromkernel arg and use
705 different defaults as kernels prior to 2.4.11 assume different
706 defaults in /proc/fs/nfs/exports
707 * support/include/nfslib.h, support/export/export.c,
708 support/export/xtab.c: support extra "fromkernel" arg for
711 2001-12-13 Chip Salzenberg <chip@pobox.com>
713 * debian/changelog: Version 0.3.3-5.
715 2001-11-26 TAKAI Kousuke <takai@vlsi.kuee.kyoto-u.ac.jp>
717 * support/nfs/xio.c (xskip): Call `xungetc' instead of
718 `ungetc' to keep x_line more properly.
720 2001-11-26 Chip Salzenberg <chip@pobox.com>
722 * utils/showmount/showmount.c (main): Don't assume that strings
723 starting with digits are IP addresses.
724 * utils/nfsd/nfsd.c (main): Close all fds and reopen 0,1,2 on
725 /dev/null before nfssvc(). Use syslog to report nfssvc errors.
726 * support/misc/tcpwrapper.c, utils/mountd/mountd.man,
727 utils/rquotad/rquotad.man, utils/statd/statd.man: Fix comments and
728 man pages: We check host names *and* addresses with tcpwrappers.
729 * debian/changelog: Version 0.3.3-4.
731 2001-11-21 Chip Salzenberg <chip@pobox.com>
733 * support/nfs/clients.c (cfname): Added: current clients file name.
734 (setnfsclntent): Set it.
735 ({get,end}nfsclntent, syntaxerr): Use it.
736 * support/nfs/exports.c (efname): Added: current exports file name.
737 (setnfsexportent): Set it.
738 (endnfsexportent, parseopts, getexport, syntaxerr): Use it.
739 (parseopts): Accept old-style "crossmnt" option, for old xtabs.
740 * debian/changelog: Version 0.3.3-3.
742 2001-10-11 Chip Salzenberg <chip@pobox.com>
744 * utils/mountd/mountd.c (main): Close fds > 2 _before_ RPC init.
745 * debian/changelog: Version 0.3.3-2.
747 2001-10-08 Chip Salzenberg <chip@pobox.com>
749 * utils/mountd/mountd.c (main): When daemonizing, close all fds > 2.
750 * utils/Makefile.in: Remove old Makefile in target 'distclean'.
751 * utils/mountd/mountd.man: Update paths to /var/lib.
752 * debian/*: Version 0.3.3-1, with Debian-specific fixes.
754 2001-10-06 Preston Brown <pbrown@redhat.com>
756 * utils/nfsstat/nfsstat.man: Updated.
758 2001-09-24 H.J. Lu <hjl@lucon.org>
760 * configure.in (VERSION): Set to "0.3.3".
761 * configure: Regenerated.
762 * nfs-utils.spec: Likewise.
764 * README: Updated for 0.3.3.
766 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
768 Arrange that "exportfs -au" never does DNS lookup:
770 * support/export/client.c (client_lookup) : add "canonical"
771 flag which says that the hostname is known to be canonical, so
774 * support/export/export.c (export_create) : add "canonical"
775 flag to be passed down to client_lookup
776 * support/export/export.c (export_lookup) : Likewise
778 * support/export/xtab.c (xtab_read) : pass appropriate
779 "canonical" flag to export_lookup and export_create:
780 set if reading list of filesystems currently exports
783 * support/export/export.c (export_read) : pass 0 as
784 "canonical" flag to export_lookup and export_create
785 * support/export/rmtab.s (rmtab_read) : Likewise
787 * support/include/exportfs.h : redeclare various routines
788 to have "canonical" flag
790 * utils/exportfs/exportfs.c (main) : redo logic for
791 "-au" to read in what is currently exported, but never even
792 look at what "should" be exported.
794 * utils/exportfs/exportfs.c (unexportall) : remove this
795 routine. Functionality is completely included in
798 * utils/exportfs/exportfs.c (exportfs) : set "canonical"
799 flag to zero in calls to export_lookup and export_create.
802 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
803 Anne Milicia <milicia@missioncriticallinux.com>
805 * support/export/client.c (client_lookup) call gethostbyadd
806 to make sure that we have a canonical hostname, even for
808 * utils/exportfs/exportfs.c (exportfs) Likewise
810 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
812 * support/nfs/exports.c (putexportent): \octal quote any spaces
814 * support/nfs/xio.c (xgettok): recognise double-quote and
815 \octal quoting in path names
816 * utils/exportfs/exports.man: document quoting conventions
819 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
821 * utils/mountd/auth.c (auth_authenticate_internal): Reverse
822 change from 2000-08-02: It causes problems if someone exports
823 to both a hostname and IP addresses. nfs-utils must be
824 consistant about the canonical name that it chooses.
826 2001-08-17 Ragnar Kjørstad <nfs@ragnark.vestdata.no>
827 H.J. Lu <hjl@lucon.org>
829 * etc/redhat/nfslock.init (STATDARG): New. Pass it to rpc.statd.
831 * utils/statd/statd.c (longopts): Add "name".
832 (usage): Add "-n/--name".
833 (main): Set MY_NAME with "-n/--name".
835 * utils/statd/state.c (change_state): Set MY_NAME only if it
838 * utils/statd/statd.man: Updated for "-n/--name".
840 2001-07-26 H.J. Lu <hjl@lucon.org>
842 * nfs-utils.spec (Release): Set to 8.
844 2001-07-25 H.J. Lu <hjl@lucon.org>
846 * etc/redhat/nfs.init: Check if rpc.rquotad exists before doing
849 2001-06-27 H.J. Lu <hjl@lucon.org>
851 * etc/redhat/nfs.init: Run rpc.rquotad only if it exists.
853 2001-06-27 H.J. Lu <hjl@lucon.org>
855 * utils/rquotad/rquota_server.c: Don't call statfs () for
856 the block size. Use BLOCK_SIZE instead.
858 2001-06-27 H.J. Lu <hjl@lucon.org>
860 * config.mk.in (CC_FOR_BUILD): Renamed from BUILD_CC.
861 (CFLAGS_FOR_BUILD): New. Don't use @CFLAGS@.
863 * configure.in (enable_nfsv3): Set to yes by default.
864 (--enable-rquotad): Added
865 (AC_PROG_CXX): Removed.
866 (AC_OUTPUT): Add utils/Makefile.
867 (CC_FOR_BUILD): Renamed from BUILD_CC.
868 * configure: Regenerated.
870 * utils/Makefile: Removed.
872 * utils/Makefile.in: New.
874 * nfs-utils.spec.in (rquotad): New. Set to 0 to disable
876 (CC_FOR_BUILD): Renamed from BUILD_CC.
877 * nfs-utils.spec: Regenerated.
879 2001-06-15 Chip Salzenberg <chip@debian.org>
881 * debian/changelog: Version 0.3.2-2.
882 * debian/*.init: Minor fixes.
884 2001-06-07 Lon H. Hohberger <hohberger@missioncriticallinux.com>
886 * etc/nodist/nfs-server: Fixed a bug where the script would
887 disable mounts from NFSv3 clients if NFSv3 is present.
889 2001-06-05 H.J. Lu <hjl@lucon.org>
891 * utils/mountd/mountd.c (longopts): Add "descriptors/o".
892 (main): Support --descriptors/-o to set the limit of the number
893 of open file descriptors.
896 * utils/mountd/mountd.man: Updated for --descriptors/-o.
898 2001-06-04 H.J. Lu <hjl@lucon.org>
900 * nfs-utils.spec (Release): Set to 6.
902 2001-05-28 H.J. Lu <hjl@lucon.org>
904 * utils/lockd/lockd.c (main): chdir to NFS_STATEDIR.
905 * utils/mountd/mountd.c (main): Likewise.
906 * utils/nfsd/nfsd.c (main): Likewise.
907 * utils/rquotad/rquota_svc.c (main): Likewise.
909 2001-05-06 Anne Milicia <milicia@missioncriticallinux.com>
911 * support/export/client.c (client_check): Check IP address
914 2001-05-06 Neil Brown <neilb@cse.unsw.edu.au>
916 * support/export/client.c (client_gettype): Treat `*' as
919 2001-04-22 H.J. Lu <hjl@lucon.org>
921 * nfs-utils.spec.in: Fix a typo.
922 * nfs-utils.spec: Regenerated.
924 2001-04-21 H.J. Lu <hjl@lucon.org>
926 * nfs-utils.spec.in: Fix cross build.
927 * nfs-utils.spec: Regenerated.
930 2001-04-18 H.J. Lu <hjl@lucon.org>
932 * nfs-utils.spec.in: Support cross build.
933 * nfs-utils.spec: Regenerated.
939 * config.mk.in (BUILD_CC): New.
940 (CC): Set to $(BUILD_CC) if BUILD is defined.
943 (RANLIB): Set to @RANLIB@.
945 * configure.in: Check BUILD_CC, RANLIB, AR and LD.
946 * configure: Regenerated.
948 * tools/rpcgen/Makefile (BUILD): Set to true.
950 2001-04-01 Chip Salzenberg <chip@valinux.com>
952 * tools/rpcgen/rpc_svcout.c (write_timeout_func): Remove
953 redundant, and sometimes broken, declaration of svc_fdset;
955 * support/nfs/rpcmisc.c (closedown): Likewise.
957 2001-03-21 H.J. Lu <hjl@lucon.org>
959 * nfs-utils.spec: Regenerated.
962 2001-03-21 Ion Badulescu <ionut@cs.columbia.edu>
964 * utils/statd/statd.c (main): make sure file descriptors 0-2
965 are open to /dev/null.
967 2001-03-21 H.J. Lu <hjl@lucon.org>
969 * support/nfs/rpcmisc.c: Restore the change made on 2001-03-10.
970 * support/nfs/rpcmisc.c: Likewise.
971 * utils/rquotad/rquota_svc.c: Likewise.
972 * utils/rquotad/rquotad.man: Likewise.
973 * utils/statd/Makefile: Likewise.
974 * utils/statd/rmtcall.c: Likewise.
975 * utils/statd/simulate.c: Likewise.
976 * utils/statd/statd.c: Likewise.
977 * utils/statd/statd.man: Likewise.
979 2001-03-11 H.J. Lu <hjl@lucon.org>
981 * configure.in (RELEASE): New. Default to 1, set by
982 --with-release=XXX. Substitute nfs-utils.spec.
983 * nfs-utils.spec.in (Release): Set to @RELEASE@.
984 * configure: Regenerated.
985 * nfs-utils.spec: Likewise.
987 2001-03-11 H.J. Lu <hjl@lucon.org>
989 * utils/rquotad/rquotad.man: Fix a typo.
991 2001-03-11 H.J. Lu <hjl@lucon.org>
993 * support/include/rpcmisc.h: Undo the change made on 2001-03-10.
994 * support/nfs/rpcmisc.c: Likewise.
995 * utils/rquotad/rquota_svc.c: Likewise.
996 * utils/rquotad/rquotad.man: Likewise.
997 * utils/statd/Makefile: Likewise.
998 * utils/statd/rmtcall.c: Likewise.
999 * utils/statd/simulate.c: Likewise.
1000 * utils/statd/statd.c: Likewise.
1001 * utils/statd/statd.man: Likewise.
1003 2001-03-10 H.J. Lu <hjl@lucon.org>
1005 * configure.in (VERSION): Set to "0.3.2".
1006 * configure: Regenerated.
1007 * nfs-utils.spec: Likewise.
1009 * README: Updated for 0.3.2.
1011 2001-03-10 Tavis Barr <tavis@boole.isetr.columbia.edu>
1013 * utils/rquotad/rquotad.man: Updated for -p.
1014 * utils/statd/statd.man: Likewise.
1016 2001-03-10 Ion Badulescu <ionut@cs.columbia.edu>
1018 * support/nfs/rpcmisc.c: export makesock()
1020 * support/include/rpcmisc.h (makesock): Declared.
1022 * utils/rquotad/rquota_svc.c: added longopts, added support for
1023 specifying the port to bind to on the command line.
1025 * utils/statd/statd.c: ditto, also specify port used for
1026 outgoing connections.
1027 (do_regist): Removed.
1029 * utils/statd/rmtcall.c (statd_get_socket): Renamed from
1030 get_socket. Make it extern.
1032 * utils/statd/simulate.c (daemon_simulator): Call rpc_init
1033 instead of do_regist.
1035 * utils/statd/Makefile (LIBS): link with our own libnfs
1037 2001-03-09 H.J. Lu <hjl@lucon.org>
1039 * etc/redhat/nfslock.init: Changed chkconfig line to 60 86.
1040 * etc/nodist/nfs-client: Likewise.
1042 2001-02-26 Chip Salzenberg <chip@valinux.com>
1044 * debian/changelog: Version 0.3.1-1.
1045 * Mention upstream source and license in copyright file.
1046 * Add build-Depends for debhelper and libwrap0-dev.
1048 2001-02-20 Lon Hohberger <hohberger@missioncriticallinux.com>
1050 * etc/nodist/nfs-server: Changed chkconfig line to 60 20
1051 * etc/nodist/nfs-client: Likewise.
1053 2001-02-18 Lon Hohberger <hohberger@missioncriticallinux.com>
1055 * utils/statd/statd.man: Changed /usr/sbin/rpc.statd to
1058 2001-02-17 Patrick J. LoPresti <patl@curl.com>
1060 * utils/statd/log.c (log_init): Use LOG_DAEMON instead of
1063 2001-02-14 H.J. Lu <hjl@lucon.org>
1065 * utils/statd/rmtcall.c: Include <time.h>.
1066 * utils/statd/svc_run.c: Likewise.
1068 2001-02-14 H.J. Lu <hjl@lucon.org>
1070 * configure.in (VERSION): Set to "0.3.1".
1071 * configure: Regenerated.
1072 * nfs-utils.spec: Likewise.
1074 * README: Updated for 0.3.1.
1076 2001-02-14 H.J. Lu <hjl@lucon.org>
1078 * support/nfs/rpcmisc.c: Include <time.h>.
1080 2001-02-14 Chip Salzenberg <chip@valinux.com>
1082 * debian/control: Change priority of nhfsstone package to 'extra'.
1084 2001-02-12 Chip Salzenberg <chip@valinux.com>
1086 * debian/changelog: Version 0.3-2.
1088 2001-02-02 H.J. Lu <hjl@lucon.org>
1090 * support/include/rpcmisc.h (rpc_init): Remove bufsize.
1092 * support/nfs/rpcmisc.c (makesock): Remove socksz and comment
1093 out SO_SNDBUF/SO_RCVBUF.
1094 (rpc_init): Remove bufsize and remove socksz in calls to
1097 * utils/mountd/mountd.c (main): Remove bufsize in calls to
1100 2001-01-28 Chip Salzenberg <chip@valinux.com>
1102 * debian/changelog: Version 0.3-1.
1104 2001-01-25 H.J. Lu <hjl@lucon.org>
1106 * configure.in (VERSION): Set to "0.3".
1107 * configure: Regenerated.
1108 * nfs-utils.spec: Likewise.
1110 * README: Updated for 0.3.
1112 2001-01-25 H.J. Lu <hjl@lucon.org>
1114 * utils/lockd/lockd.c (main): Ignore errno == EINVAL.
1116 2001-01-20 Chip Salzenberg <chip@valinux.com>
1118 * support/include/xio.h (xgetc): Declare to return int.
1119 * support/nfs/xio.c (xgetc): Return int.
1120 (xgettok, xskip, xskipcomment): Use int for value of xgetc.
1121 * utils/statd/statd.c (main): Use int for value of getopt.
1122 * debian/changelog: Version 0.2.1-5.
1124 2000-12-10 Chip Salzenberg <chip@valinux.com>
1126 * utils/statd/monitor.c (sm_mon_1_svc): Fix buggy check for
1127 program and procedure numbers of kernel lockd's callback. Also,
1128 besides the old (and broken) procedure #24, allow #16 per Trond.
1130 2000-12-03 Chip Salzenberg <chip@valinux.com>
1132 * support/nfs/xio.c (xfopen): Initialize x_line to one, not zero.
1133 * debian/control: Let nhfsstone replace files in nfs-kernel-server.
1134 * debian/changelog: Version 0.2.1-4.
1136 2000-11-27 Tobias Ringstrom <tori@tellus.mine.nu>
1138 * utils/mountd/auth.c (auth_authenticate): Log the bad path
1141 2000-11-24 Neil Brown <neilb@cse.unsw.edu.au>
1143 * support/nfs/exports.c (getexportent): Check for host name
1144 without option, or options without hostname, and print a warning,
1145 as this is most likely a typo.
1147 2000-11-19 Chip Salzenberg <chip@valinux.com>
1149 * debian/control: Add dependency on portmap.
1150 * debian/changelog: Version 0.2.1-3.
1152 2000-11-10 H.J. Lu <hjl@lucon.org>
1154 * nfs-utils.spec.in: Don't use libtool.
1155 Add ChangeLog and COPYING to doc.
1156 * nfs-utils.spec: Rebuild.
1158 2000-11-09 H.J. Lu <hjl@lucon.org>
1160 * etc/redhat/nfs.init (start): Back out the last change.
1162 2000-11-09 H.J. Lu <hjl@lucon.org>
1164 * etc/redhat/nfs.init (start): Pass --no-tcp to mountd if
1165 TCP is not supported by kernel.
1167 * support/nfs/rpcmisc.c (rpc_init): Don't set _rpcfdtype to 0.
1169 * utils/mountd/mountd.c (longopts): Add "-n/--no-tcp".
1170 (main): Set to _rpcfdtype to SOCK_DGRAM for "-n/--no-tcp".
1172 * utils/mountd/mountd.man: Updated for "-n/--no-tcp".
1174 2000-10-24 Lon Hohberger <hohberger@missioncriticallinux.com>
1176 * utils/statd/callback.c: Fix bug preventing callbacks to local lockd.
1177 * utils/statd/rmtcall.c: Add some IP address paranoia when doing
1178 callbacks to local lockd.
1180 2000-10-18 Scott McDermott <mcdermot@questra.com>
1182 * utils/exportfs/exports.man: Updated for CIDR netmask.
1184 2000-10-17 Scott McDermott <mcdermot@questra.com>
1186 * support/export/client.c (client_init): Support CIDR netmask
1189 2000-10-11 H.J. Lu <hjl@lucon.org>
1191 * aclocal.m4 (AC_TCP_WRAPPER): Fix a typo.
1192 * configure: Rebuilt.
1194 2000-10-06 Lon Hohberger <hohberger@missioncriticallinux.com>
1196 * utils/statd/statd.man: Change "/var/lib/nfs/sm/state" to
1197 "/var/lib/nfs/state".
1199 2000-10-05 Lon Hohberger <hohberger@missioncriticallinux.com>
1201 * utils/statd/statd.h (run_mode): New global bitmask of runtime
1202 behaviors: fg/bg, logging, etc.
1203 * utils/statd/statd.c: New command line options: -V -h -? -d .
1204 * utils/statd/statd.man: Update for changes to statd.
1206 * utils/statd/log.h (log_init): Remove parameter of function; use
1207 global variable "name_p" instead.
1208 * utils/statd/log.c: Add support for logging to stderr.
1210 * utils/statd/notlist.c: Partially rewrite notify list handling
1211 functions. Eliminate run-off-end-of-list bug when calling
1212 nlist_insert_timer. Add lots of comments.
1214 2000-09-27 H.J. Lu <hjl@lucon.org>
1216 * README: Updated for RedHat 7.0.
1218 2000-09-27 H.J. Lu <hjl@lucon.org>
1220 * nfs-utils.spec: Rebuild.
1222 2000-09-27 H.J. Lu <hjl@lucon.org>
1224 * README: Updated for 0.2.1.
1226 2000-09-27 H.J. Lu <hjl@lucon.org>
1228 * nfs-utils.spec.in: Updated to use rpm macros and support
1231 2000-09-25 H.J. Lu <hjl@lucon.org>
1233 * configure.in (VERSION): Set to "0.2.1".
1234 * configure: Regenerated.
1235 * nfs-utils.spec: Updated.
1237 2000-09-25 H.J. Lu <hjl@lucon.org>
1239 * utils/mountd/auth.c (auth_authenticate_internal): Make sure a
1240 non-NULL hostent is always returned.
1242 2000-09-11 Ion Badulescu <ionut@cs.columbia.edu>
1244 * etc/redhat/nfslock.init: don't kill lockd processes that do not
1245 have an executable (i.e. kernel threads)
1247 2000-09-01 H.J. Lu <hjl@lucon.org>
1249 * README: Updated for 0.2.
1251 2000-09-01 Jay Weber <jweber@valinux.com>
1253 * etc/redhat/nfs.init: Added ability for rpc.mountd to default to
1254 supporting version 3 of nfs if available, else it will fall back to
1255 version 2 support only.
1257 2000-08-30 H.J. Lu <hjl@lucon.org>
1259 * configure.in (VERSION): Set to "0.2".
1260 * configure: Regenerated.
1261 * nfs-utils.spec: Updated.
1263 2000-08-25 H.J. Lu <hjl@lucon.org>
1265 * support/misc/tcpwrapper.c (logit): Modify the log output.
1267 2000-08-25 Ion Badulescu <ionut@cs.columbia.edu>
1269 * utils/rquotad/rquotad.man, utils/statd/statd.man,
1270 utils/mountd/mountd.man: updated
1272 * utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL)
1273 * utils/rquotad/Makefile: fix comment
1275 * support/misc/tcpwrapper.c (logit): added comment about waiting
1276 for the children after fork()
1278 * utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving
1279 zombies behind (from logit()'s fork)
1280 * utils/rquotad/rquota_svc.c (main): ditto
1281 * utils/statd/statd.c (main): ditto
1283 * utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG
1284 to check_default instead of 0, for prognum
1286 * utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG
1287 to check_default instead of 0, for prognum
1289 * utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if
1290 HAVE_TCP_WRAPPER is defined.
1291 (mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is
1292 defined. Reject an RPC call if check_default () fails.
1294 2000-08-25 H.J. Lu <hjl@lucon.org>
1296 * support/include/tcpwrapper.h: New for the tcp wrapper
1298 * support/misc/Makefile: Likewise.
1299 * support/misc/from_local.c: Likewise.
1300 * support/misc/tcpwrapper.c: Likewise.
1302 * aclocal.m4 (AC_TCP_WRAPPER): New.
1303 * configure.in: Use it. Substitute LIBWRAP.
1304 * configure: Rebuilt.
1306 * config.mk.in (LIBNSL): New.
1307 (LIBWRAP): Likewise.
1309 * support/Makefile (SUBDIRS): Add misc.
1311 * support/lib/Makefile (LIBS): Add libmisc.a.
1313 * utils/rquotad/Makefile (LIBS): Add
1315 -lmisc $(LIBWRAP) $(LIBNSL)
1317 * utils/statd/Makefile (LIBS): Likewise.
1319 * utils/rquotad/rquota_svc.c: Include "tcpwrapper.h" if
1320 HAVE_TCP_WRAPPER is defined.
1321 (rquotaprog_1): Call check_default () if HAVE_TCP_WRAPPER is
1322 defined. Reject an RPC call if check_default () fails.
1324 * utils/statd/statd.c: Include "tcpwrapper.h" if
1325 HAVE_TCP_WRAPPER is defined.
1326 (sm_prog_1_wrapper): New. A wrapper for sm_prog_1. Call
1327 check_default () before calling sm_prog_1 (). Define it as
1328 sm_prog_1_wrapper if HAVE_TCP_WRAPPER is defined.
1330 2000-08-25 Chip Salzenberg <chip@valinux.com>
1332 * debian/*: Complete Debian build support.
1333 * etc/debian/*: Remove.
1335 2000-08-24 Neil Brown <neilb@cse.unsw.edu.au>
1337 * support/export/client.c(client_check): removed the "dot+1" as a
1338 ypdomain argument to innetgr as this is entirely bogus.
1339 It should always be NULL.
1341 2000-08-23 Neil Brown <neilb@cse.unsw.edu.au>
1343 * support/export/xtab.c(xtab_read): introduce new mode for
1344 reading xtab. i.e. a list of exports that might be known to the
1345 kernel, or might not. These are flagged as m_exported == -1
1346 * support/export/xtab.c(xtab_mount_read): call xtab_read with new
1347 value "2" for xtab, meaning don't trust this too much.
1348 * support/include/exportfs.h(struct mexport): changed m_exported
1349 from one bit to an int so that it can hold new value
1350 * utils/exportfs/exportfs.c(exportfs_ipdate): add an export to the
1351 kernel if it is uncertain whether the kernel knows (m_exported == -1)
1352 * utils/mountd/mountd.c(get_rootfh): similarly export to kernel if
1355 * support/nfs/xio.c(xflock): added O_CREAT when getting
1356 a write lock so that missing files aren't fatal.
1358 * etc/debian/nfs-common: new file from "potato"
1359 * etc/debian/nfs-kernel-server: new file from "potato" plus fixes.
1361 2000-08-09 H.J. Lu <hjl@lucon.org>
1363 * etc/redhat/nfs.init: Run /usr/sbin/exportfs first during
1364 startup to ensure all existing clients work fine.
1366 * support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0
1367 to xtab_read () for reading _PATH_XTAB.
1369 2000-08-02 H.J. Lu <hjl@lucon.org>
1371 * utils/mountd/auth.c (auth_authenticate_internal): Try to
1372 avoid the reverse name lookup.
1374 2000-07-04 H.J. Lu <hjl@lucon.org>
1376 * utils/statd/log.c: Include <stdlib.h> for exit ().
1378 * utils/statd/misc.c (xunlink): Add `{' and `}' to quiet the
1381 2000-07-04 H.J. Lu <hjl@lucon.org>
1383 * configure.in (VERSION): Set to "0.1.9.1".
1384 * configure: Regenerated.
1385 * nfs-utils.spec: Updated.
1389 2000-07-04 Neil Brown <neilb@cse.unsw.edu.au>
1391 * support/export/hostname.c (hostent_dup): Handle the NULL
1394 2000-07-03 H.J. Lu <hjl@lucon.org>
1396 * README: Update the util-linux requirement.
1398 2000-07-03 H.J. Lu <hjl@lucon.org>
1400 * configure.in (VERSION): Set to "0.1.9".
1401 * configure: Regenerated.
1402 * nfs-utils.spec: Updated.
1406 2000-07-03 H.J. Lu <hjl@lucon.org>
1408 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
1409 stop to ensure all clients can still access the server
1410 before it is shutdown.
1412 2000-06-30 Jeff Uphoff <juphoff@transmeta.com>
1414 * tools/rpcgen/rpc_svcout.c (write_msg_out): Generate syslog()
1415 calls with format string.
1417 2000-06-28 Chip Salzenberg <chip@valinux.com>
1419 * utils/statd/log.c (log): Call syslog with format string.
1421 2000-06-27 H.J. Lu <hjl@lucon.org>
1423 * utils/statd/statd.c (main): Use sysconf (_SC_OPEN_MAX)
1424 instead of OPEN_MAX.
1426 2000-06-27 H.J. Lu <hjl@lucon.org>
1430 2000-06-27 H.J. Lu <hjl@lucon.org>
1432 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
1433 startup to ensure all existing clients are exported.
1435 * configure.in (VERSION): Set to "0.1.8.2".
1436 * configure: Regenerated.
1437 * nfs-utils.spec: Updated.
1439 2000-06-06 H.J. Lu <hjl@lucon.org>
1441 * configure.in (VERSION): Set to "0.1.8.1".
1442 * configure: Regenerated.
1443 * nfs-utils.spec: Updated.
1445 2000-06-06 H.J. Lu <hjl@lucon.org>
1447 * utils/mountd/mountd.c (mount_dump_1_svc): Cast svc_getcaller
1448 to "struct sockaddr_in *" for glibc 2.2.
1449 (mount_umnt_1_svc): Likewise.
1450 (mount_umntall_1_svc): Likewise.
1451 (mount_export_1_svc): Likewise.
1452 (mount_exportall_1_svc): Likewise.
1453 (mount_pathconf_2_svc): Likewise.
1454 (get_rootfh): Likewise.
1456 2000-06-04 H.J. Lu <hjl@lucon.org>
1458 * etc/redhat/nfs.init: Fix a typo in comment.
1460 2000-05-31 H.J. Lu <hjl@lucon.org>
1462 * configure.in (VERSION): Set to "0.1.8".
1463 * configure: Regenerated.
1464 * nfs-utils.spec: Updated.
1468 2000-05-31 H.J. Lu <hjl@lucon.org>
1470 * configure.in (VERSION): Set to "0.1.7.5".
1471 * configure: Regenerated.
1472 * nfs-utils.spec: Updated.
1474 * support/include/nfslib.h (exportent): Add a new field,
1475 r_count, to count the number of mounts from a client.
1476 (getrmtabent): Take a new argument for position in file.
1477 (putrmtabent): Likewise.
1478 (fgetrmtabent): Likewise.
1479 (fputrmtabent): Likewise.
1480 * support/nfs/rmtab.c (getrmtabent): Handle the new argument
1481 for position in file.
1482 (fgetrmtabent): Likewise.
1483 (putrmtabent): Likewise.
1484 (fputrmtabent): Likewise.
1486 * support/nfs/rmtab.c (fgetrmtabent): Get value for the new
1489 * support/export/rmtab.c (rmtab_read): Pass NULL as the new
1490 argument to getrmtabent (), fgetrmtabent (), putrmtabent ()
1491 and fputrmtabent ().
1492 * utils/mountd/rmtab.c (mountlist_add): Likewise.
1493 (mountlist_del): Likewise.
1494 (mountlist_del_all): Likewise.
1495 (mountlist_list): Likewise.
1497 * utils/mountd/rmtab.c (mountlist_add): Increment "r_count"
1498 for the existing entry and initialize "r_count" to 1.
1499 (mountlist_del): Decrement "r_count".
1501 2000-05-18 H.J. Lu <hjl@lucon.org>
1503 * configure.in (VERSION): Set to "0.1.7.4".
1504 * configure: Regenerated.
1505 * nfs-utils.spec: Updated.
1507 2000-05-18 H.J. Lu <hjl@lucon.org>
1509 * etc/redhat/nfs.init (restart): Just do stop and start.
1511 2000-05-09 Jay Weber <jweber@valinux.com>
1513 * utils/rquotad/hasquota.c: added support for ext3 recognition
1515 * utils/rquotad/mntent.h: Likewise.
1517 2000-05-01 H.J. Lu <hjl@lucon.org>
1519 * configure.in (VERSION): Set to "0.1.7.3".
1520 * configure: Regenerated.
1521 * nfs-utils.spec: Updated.
1523 2000-05-01 H.J. Lu <hjl@lucon.org>
1525 * utils/rquotad/rquota_server.c (getquotainfo): Skip bad
1526 mounting poins in /etc/fstab.
1528 2000-05-01 H.J. Lu <hjl@lucon.org>
1530 * configure.in (VERSION): Set to "0.1.7.2".
1531 * configure: Regenerated.
1532 * nfs-utils.spec: Updated.
1534 2000-05-01 H.J. Lu <hjl@lucon.org>
1536 * utils/rquotad/rquota_server.c (getquotainfo): Call stat ()
1537 to check for the mounting point.
1539 2000-04-29 Chip Salzenberg <chip@valinux.com>
1540 Neil Brown <neilb@cse.unsw.edu.au>
1542 * Really re-use RPC ports.
1543 (Fixes earlier patch. Sorry, Neil.)
1545 2000-04-26 H.J. Lu <hjl@lucon.org>
1547 * configure.in (VERSION): Set to "0.1.7.1".
1548 * configure: Regenerated.
1549 * nfs-utils.spec: Updated.
1551 2000-04-26 H.J. Lu <hjl@lucon.org>
1553 * etc/redhat/nfslock.init: Check if lockd exits before killing
1556 2000-04-25 H.J. Lu <hjl@lucon.org>
1558 * README: Require util-linux-2.10f-mount-rpc.patch for mount.
1560 2000-03-21 Michael Weiser <michael@weiser.saale-net.de>
1562 * support/nfs/exports.c (parsesquash): Correctly set the
1565 Tue Mar 21 11:38:48 EST 2000 NeilBrown <neilb@cse.unsw.edu.au>
1567 * support/include/nfs/nfs.h: Removed knowledge of internals of
1568 kernel filehandles (which can change) and defined nfs_fh_size
1569 which has variable size
1571 * support/nfs/getfh.c: defined getfh_size to use new syscall to
1572 get variable sized file handles, and change getfh{,old} to
1575 * utils/mountd/mountd.c: use nfd_fh_size and call getfh_size for
1578 * tools/Makefile, tools/nlmtest/nlmtest.c
1579 nlmtest.c depended on internel format of file handles, so now
1583 2000-03-12 Chip Salzenberg <chip@valinux.com>
1584 Neil Brown <neilb@cse.unsw.edu.au>
1586 * support/nfs/rpcmisc.c (rpc_init): Share transports.
1588 2000-03-13 H.J. Lu <hjl@lucon.org>
1590 * etc/redhat/nfsd.init: Updated.
1592 * etc/redhat/nfslock.init: Updated.
1594 * nfs-utils.spec.in: Updated.
1596 * configure.in (VERSION): Set to "0.1.7".
1597 * configure: Regenerated.
1598 * nfs-utils.spec: Updated.
1602 Wed Mar 8 09:42:43 2000 Neil Brown <neilb@cse.unsw.edu.au>
1604 * utils/exportfs/exportfs.c (dump): Included printing of
1605 nohide, no_subtree_check, and insecure_locks
1607 2000-02-26 Chip Salzenberg <chip@valinux.com>
1609 * config.mk.in (INSTALLSUID): Strip ("-s").
1610 (INSTALLSCRIPT): Define.
1611 * utils/nhfsstone/Makefile: Use it.
1613 2000-02-26 Chip Salzenberg <chip@valinux.com>
1615 * utils/lockd/lockd.man: Create.
1616 * utils/lockd/Makefile: Install it.
1617 * utils/nhfsstone/nhfs{run,nums,graph}.man: Create.
1618 * utils/nhfsstone/nhfsstone.man: Change suffix from ".1".
1619 * utils/nhfsstone/Makefile: Install the helper scripts and
1621 * utils/exportfs/exports.man: Fix typo.
1623 2000-02-26 Chip Salzenberg <chip@valinux.com>
1625 * support/nfs/xio.c (xungetc): Decrement line number when
1626 character to unget is newline. Make first parameter int, so
1627 it can distinguish EOF from \377.
1628 * support/include/xio.h (xungetc): Adjust prototype.
1630 Fri Feb 4 23:42:23 2000 Neil Brown <neilb@cse.unsw.edu.au>
1632 * support/include/nfs/export.h: added NFSEXP_NOAUTHNLM
1633 * support/nfs/exports.c: added handling for NFSEXP_NOAUTHNLM
1634 * utils/exportfs/exports.man: added documentation for no_auth_nlm.
1636 This is for supporting a new option introduced in 2.3.42
1638 Thu Feb 3 14:55:48 2000 H.J. Lu <hjl@lucon.org>
1640 * COPYING: Added. GPL.
1642 Thu Feb 03 14:40:40 2000 Cristian Gafton <gafton@redhat.com>
1644 * utils/rquotad/rquota_server.c (getquotainfo): Call statfs ()
1645 to get the block size.
1647 Tue Jan 25 11:04:17 2000 H.J. Lu <hjl@lucon.org>
1649 * nfs-utils.spec.in: Update ftp site.
1651 Mon Jan 17 11:48:18 2000 H.J. Lu <hjl@lucon.org>
1653 * README: Update hostnames.
1655 Tue Jan 11 10:06:22 2000 H.J. Lu <hjl@lucon.org>
1657 * configure.in (VERSION): Set to "0.1.6".
1658 * configure: Regenerated.
1659 * nfs-utils.spec: Updated.
1663 Mon Jan 10 14:26:33 2000 H.J. Lu <hjl@lucon.org>
1665 * utils/mountd/auth.c (auth_authenticate_internal): Call
1666 xstrdup for hostname before passing it to gethostbyname.
1668 * utils/mountd/mountd.c (get_exportlist): Use xstrdup instead
1671 Sun Dec 19 09:35:01 1999 H.J. Lu <hjl@lucon.org>
1673 * README: Update the mailing list address.
1675 Sun Dec 19 09:22:28 1999 H.J. Lu <hjl@lucon.org>
1677 * configure.in (VERSION): Set to "0.1.5".
1678 * configure: Regenerated.
1679 * nfs-utils.spec: Updated.
1683 Mon Dec 13 13:40:20 1999 H.J. Lu <hjl@lucon.org>
1685 * utils/rquotad/hasquota.c (hasquota): Malloc one more char
1688 Mon Dec 6 09:42:45 1999 H.J. Lu <hjl@lucon.org>
1690 * configure.in (VERSION): Set to "0.1.4".
1691 * configure: Regenerated.
1692 * nfs-utils.spec: Updated.
1696 Mon Dec 6 09:28:07 1999 H.J. Lu <hjl@lucon.org>
1698 * nfs-utils.spec.in: New file.
1700 * config.mk.in (VERSION): Changed to "nfs-utils @VERSION@".
1702 * configure.in (nfs-utils.spec): Added to AC_OUTPUT.
1704 1999-12-04 Chip Salzenberg <chip@valinux.com>
1706 * config.mk.in: Use $(CC) as set by configure.
1708 1999-12-04 Chip Salzenberg <chip@valinux.com>
1710 * rules.mk: Call $(MAKE) with $(MFLAGS).
1712 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1714 * tools/rpcgen/rpc_main.c (h_output): Generate IXDR_GET_INT32,
1715 IXDR_PUT_INT32, IXDR_GET_U_INT32 and IXDR_PUT_U_INT32.
1717 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1719 * nfs-utils.spec (Version): Set to 0.1.3.
1721 * configure.in (VERSION): Set to "nfs-utils 0.1.3".
1722 * configure: Regenerated.
1726 Mon Nov 29 11:15:47 1999 H.J. Lu <hjl@lucon.org>
1728 * utils/rquotad/rquota_server.c (nfsmount_to_devname): Removed.
1729 (_PATH_DEV_DSK): Likewise.
1730 (getquotainfo): Match the mounting point from /etc/mtab
1731 instead of calling nfsmount_to_devname ().
1733 1999-11-24 Chip Salzenberg <chip@valinux.com>
1735 * utils/statd/monitor.c (sm_mon_1_svc): Accept lockd callbacks
1736 to the new port 24 as well as the historical port 100021.
1738 Tue Nov 23 10:21:34 1999 Neil Brown <neilb@cse.unsw.edu.au>
1740 * etc/redhat/nfsd.init (stop): moved exportfs -ua after
1741 stopping nfsd to stop spurious ESTALE on server shutdown.
1743 Tue Nov 23 10:13:39 1999 Neil Brown <neilb@cse.unsw.edu.au>
1745 * support/nfs/exports.c (parseopts): make copy of opt string
1746 before 'nul'ing out commas so that
1748 # exportfs -o option1,option2 hosta:/fs hostb:/fs
1750 applies both options to both exports.
1752 Thu Oct 28 12:55:42 1999 H.J. Lu <hjl@lucon.org>
1754 * README: Fix a few typos.
1756 * tools/rpcgen/rpc_cout.c (print_header): Use int32_t instead
1758 * tools/rpcgen/rpc_hout.c (pdefine): Likewise.
1759 * tools/rpcgen/rpc_main.c (c_initialize): Likewise.
1760 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1761 (unsigned_dec): Likewise.
1762 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1763 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1765 * tools/rpcgen/rpc_cout.c (emit_single_in_line): Use INT32
1767 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1768 (unsigned_dec): Likewise.
1769 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1770 * tools/rpcgen/rpc_scan.h (tok_kind): Likewise.
1771 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1773 Thu Oct 28 11:27:51 1999 Neil Brown <neilb@cse.unsw.edu.au>
1775 * support/include/nfs/export.h addedd NFSEXP_NOSUBTREECHECK
1776 * support/nfs/exports.c: added {no_,}subtree_check and changed
1778 * utils/exportfs/exports.man: added no_subtree_check and nohide
1779 and removed irrelevant stuff from unfsd.
1780 * support/export/rmtab.c: rmtab_read didn't quite do the right
1781 thing if a pathname from rmtab was a subdirectory of an export-point
1783 Tue Oct 26 17:22:40 1999 H.J. Lu <hjl@lucon.org>
1785 * README: Updated ftp site.
1787 Mon Oct 25 18:12:45 1999 H.J. Lu <hjl@lucon.org>
1789 * nfs-utils.spec (Version): Set to 0.1.2.
1791 * configure.in (VERSION): Set to "nfs-utils 0.1.2".
1792 * configure: Regenerated.
1796 Mon Oct 25 18:11:21 1999 H.J. Lu <hjl@lucon.org>
1798 * utils/mountd/auth.c (auth_error): Add "no_forward_dns".
1799 (auth_authenticate_internal): Check for NULL return on forward
1801 (auth_authenticate): Handle "no_forward_dns".
1803 Thu Oct 21 16:22:06 1999 H.J. Lu <hjl@lucon.org>
1805 * Version 0.1.1 released.
1807 * nfs-utils.spec (Version): Set to 0.1.1.
1809 * configure.in (VERSION): Set to "nfs-utils 0.1.1".
1810 * configure: Regenerated.
1814 Mon Oct 18 17:43:29 1999 H.J. Lu <hjl@lucon.org>
1816 * nfs-utils.spec (Obsoletes): Fixed a typo, change knfsd-client
1818 (Provides): Likewise.
1820 Mon Oct 18 14:56:22 1999 H.J. Lu <hjl@lucon.org>
1822 * Initial version 0.1 released.
1824 * configure.in (VERSION): Set to "nfs-utils 0.1".
1825 * configure: Regenerated.
1827 Mon Oct 18 14:54:57 1999 H.J. Lu <hjl@lucon.org>
1829 * utils/mountd/mountd.c (get_exportlist): Cleanup.
1831 * utils/exportfs/exportfs.c (unexport_all): Unexport from
1832 kernel only if the entry is exported to kernel.
1833 (unexportfs): Likewise.
1835 Wed Sep 08 16:49:32 1999 Neil Brown <neilb@cse.unsw.edu.au>
1837 1/ utils/mountd/rmtab.c::mountlist_list
1839 This routine stats the rmtab file to see if it has changed. It
1840 if has, it cleans up it's old copy of the data. But it still
1841 always re-read the file, thus returning multiple copies of the
1842 data on consecutive calls without intervening changes.
1843 "Showmount -a" didn't show this as it appears to sort/unique the
1844 data, but 'strace showmount -a' showed that the size of the
1845 datagram that it received grew.
1847 I moved the getrmtabent loop inside the mtime test.
1849 2/ utils/exportfs/exportfs.c
1851 Many routines used the m_path field of m_export instead of
1853 According to the comment in nfslib.h, m_path should only
1854 be used when processing a mount request (i.e. in mountd)
1855 where the mountpoint may be a subdirectory of the export point.
1857 I changed all occurances of m_path to e_path
1860 3/ utils/exportfs/exportfs.c:main
1862 extra arguments are not meaningful with -a or -r, but
1863 exportfs accepted them and then ignored the -a/-r, expect that
1864 -r would still unexport everything first.
1866 I generate an error if there are extra args and f_all
1868 4/ utils/exportfs/exportfs.c:main
1869 extract dump out as a special case.
1871 5/ utils/exportfs/exportfs.c
1872 made f_reexport a local variable.
1875 6/ utils/exportfs/exportfs.c:main,exportall
1877 support/export/rmtab.c
1878 only mayexport on newly created entries, don't set xtabent at all
1880 7/ support/include/nfslib.h
1882 add #define _PATH_PROC_EXPORTS to be /proc/fs/nds/exports
1884 8/ support/export/xtab.c
1886 xtab_mount_read loads data from _PATH_PROC_EXPORTS if it exists,
1890 9/ support/export/xtab.c
1892 xtab_mount_read now sets m_exported, and NOT
1893 xtabent and mayexport
1895 removed the append arguement from xtab_write as it was
1898 added is_export flag to xtab_write similar to xtab_read
1899 if is_export, only write entries with m_xtabent or m_addxtab
1900 if !is_export, only write entries with m_exported
1902 10/ support/export/export.c::export_allowed_internal
1904 added test for exp->m_mayexport, as the export tree
1905 may have entries that are no longer allowed to be exported,
1906 and so shouldn't caused deduced exported by rmtab_read
1908 11/ utils/exportfs/exportfs.c::main
1909 error checking of flags.
1911 12/ utils/exportfs/exportfs.c
1913 total rewrite of export and unexport logic.
1915 - build an exportslist of valid exports, based on
1916 current etab file and arguments,
1917 - read rmtab to instantiate relevant wild card entries
1918 - read etab to find out what is currently exported
1919 - synchronise intention with reality
1920 - write out etab and xtab
1923 discard the m_addxtab flag
1924 add m_changed flag so we know what to report in exportfs
1926 14/ utils/mountd/auth.c:auth_authenticate
1928 the value returned by gethostbyaddr was trusted.
1930 It now follows this with a call to gethostbyname
1931 and checks that the address is in the list.
1933 15/ support/export/nfsctl.c::cltsetup,expsetup
1935 force client names to lowercase as kernel is
1938 16/ quietened a few compiler warnings
1940 17/ support/export/client:client_lookup
1942 look for pre-existing client with same name before creating
1945 18/ support/include/exportfs.h
1947 The ordering of the MCL_* enum was:
1948 ANONYMOUS, FQDN, SUBNETWORK, WILDCARD, NETGROUP
1950 I moved ANONYMOUS to the end.
1952 The ordering is significant when an export entry is being searched for to
1953 match a given address. There are two problems with ANONYMOUS being first.
1955 1/ if a directory is exported rw to a couple of hosts and ro to everyone else,
1956 then the ro case will always be found first and the privileged hosts won't get
1958 2/ When mountd gets a request to mount an ANONYMOUSly exported tree, it creates a FQDN
1959 export entry for the specific host, and writes it to xtab.
1960 When another request comes from the same host, the ANONYMOUS entry is found again,
1961 before the new FQDN entry, so it creates another FQDN entry and writes it to xtab
1962 again. If causes bloat in xtab.
1964 Putting ANONYMOUS at the end reflects it's nature as a catch-all
1966 19/ utils/exportfs/exportfs.man
1967 many updates to the man page to reflect changes to the code
1969 -----------------------
1975 - allow exportfs to modify rmtab file
1976 - make sure kernel never gets two clients with same IP address
1977 - possible kernel should reject
1978 - needs to be some way to lookup client in kernel by IP address
1979 - maybe get kernel to do case-insensitive comparisons on client names
1980 - remove unused clients from kernel
1982 - change etab to xtab and xtab to xtab.active
1984 - timestamp and/or statd-stamp in rmtab for removing old entries.
1986 Mon Oct 18 11:48:07 1999 H.J. Lu <hjl@lucon.org>
1988 * linux-nfs: New directory.
1989 * linux-nfs/ChangeLog: Moved from ..
1990 * linux-nfs/INSTALL: Likewise.
1991 * linux-nfs/KNOWNBUGS: Likewise.
1992 * linux-nfs/NEW: Likewise.
1993 * linux-nfs/README: Likewise.
1994 * linux-nfs/THANKS: Likewise.
1995 * linux-nfs/TODO: Likewise.
1997 * Starting from knfsd 1.4.7.