1 2005-04-07 Chip Salzenberg <chip@pobox.com>
3 * debian/changelog: Version 1.0.7-2.
5 2005-04-06 Chip Salzenberg <chip@pobox.com>
7 * config.guess, config.sub: Update.
9 * support/rpc/svc_auth_gss.c (_svcauth_gss): Avoid using a cast as
10 an lvalue, as it is non-portable.
12 * support/nfs/exports.c (parseopts): Accept "acl" option to mean
13 ~NFSEXP_NOACL, and "no_acl" to mean NFSEXP_NOACL.
14 (putexportent): Report NFSEXP_NOACL as "no_acl", and ~NFSEXP_NOACL
16 * utils/exportfs/exportfs.c (dump): Report NFSEXP_NOACL as
18 * utils/exportfs/exports.man: Document "no_acl".
20 2005-03-14 NeilBrown <neilb@cse.unsw.edu.au>
21 Denis Vlasenko <vda@ilport.com.ua>
22 * support/export/client.c(client_init and client_gettype):
23 treat N.N.N.N as a special case of MCL_SUBNETWORK instead of
26 2005-03-06 G. Allen Morris III <gam3@gam3.net>
27 * support/nfs/cacheio.c(readline): Could not read lines greater
28 than 128 bytes. [1157791]
29 * utils/exportfs/exports.man: Added a SEE ALSO section and
30 fixed 2 typos. [1018450]
32 2005-02-28 Trond Myklebust <trond.myklebust@fys.uio.no>
33 * utils/statd/rmtcall.c(statd_get_socket): If a port number is
34 explicitly given, make sure to try to bind to that.
36 2005-01-11 Chip Salzenberg <chip@pobox.com>
38 * debian/changelog: Version 1.0.7-1.
39 * debian/nfs-common.default (NEED_IDMAPD, NEED_GSSD):
40 Disable by default, on advice of upstream.
41 * debian/nfs-kernel-server.default (NEED_SVCGSSD):
44 * utils/svcgssd/Makefile (predep): Symbolically link duplicated
46 (distclean): Remove symlinks to duplicated files.
48 2004-12-17 NeilBrown <neilb@cse.unsw.edu.au>
51 * config.mk, configure.in: update version number, run autoconf
52 * configure.in: require nfsidmap.h if gss is enabled.
54 2004-12-10 NeilBrown <neilb@cse.unsw.edu.au>
57 * config.mk, configure.in: update version number, run autoconf
59 2004-12-10 Neil Brown <neilb@cse.unsw.edu.au>
60 * README : note dependancy on kerberos, libevent, and nfsidmap
61 * configure.in : fail if --enable-nfsv4 and libevent or
62 libnfsidmap are missing.
63 * configuyre.in: improve message if krb5 support is missing
65 2004-12-06 Paul Clements <paul.clements@steeleye.com>
66 * support/include/ha-callout.h: get return status from waitpid
68 * support/include/ha-callout.h: don't ignore SIGCHLD while waiting
69 for a callout to complete.
70 * utils/statd/statd.c(sigusr): print current start when re-reading
71 notify list due to SIGUSR1
72 * utils/statd/svc_run.c(my_svc_run): call change_state when
75 2004-12-06 Marc Eshel <eshel@almaden.ibm.com>
76 * utils/statd/svc_run.c(my_svc_run): allow loop to exit when in
78 *utils/statd/rmtcall.c(statd_get_socket): if a hostname is given
79 to statd with -n, prefer it's IP address to the default for
82 2004-12-06 Bruce Allan <bwa@us.ibm.com>
83 * utils/mountd/auth.c(auth_reload) Clear the "my_client" cache on
84 an auth_reload to avoid old data getting used.
86 2004-12-03 NeilBrown <neilb@cse.unsw.edu.au>
87 Release 1.0.7-pre1 for testing
89 * config.mk, configure.in: update version number, run autoconf
91 2004-12-03 Trond Myklebust <trond.myklebust@fys.uio.no>
93 * utils/statd/statd.c(main): ignore SIGPIPE
95 2004-11-22 "J. Bruce Fields" <bfields@fieldses.org>
97 * tools/rpcdebug/rpcdebug.c: support aliases "nfsdebug" and
98 "nfsddebug" and update flag names.
99 * configure.in, nodist/* redhat/* nfs-utils.spec*: remove redhat
100 specific files (as no-one actually uses them, especially not
101 redhat), and the nodist /etc files (as they drift out-of-date, and
102 the debian directory provides a suitable example.
103 * utils/svcgssd_proc.c(get_ids): fix memory leak
104 * utils/svcgssd/svcgssd_proc.c: Rely on count of the number of
105 groups instead of using a special guard value to identify the end
107 * utils/idmapd/idmapd.c: don't allow Default domain and anon-uid
108 or -gid to be specified on command line.
109 * utils/idmapd/idmapd.c: improve error messages
110 * utils/idmapd/idmapd.c: Reopen nfsd files on sighup. Allows us
111 to start up client side only (even when nfsd module not loaded),
112 and then sighup later after insmodding nfsd module.
113 * utils/idmapd/idmapd.c: Make sure we catch all errors on
114 daemonizing by waiting for child to report succesfull startup
116 * utils/idmapd/idmapd.c: Let libnfsidmapd parse the idmapd.conf
117 file for the default domain, instead of doing that ourselves.
118 * utils/gssd/gssd_proc.c: Make sure we get an error when a gssd
120 * utils/gssd/gssd_proc.c: We were forgetting to restore the euid
121 on certain failures, which meant gssd could get stuck in a state
122 where it didn't have permissions to read the files in rpc_pipefs
124 * utils/gssd/gssd_proc.c: Use libnfsidmapd to map gss principals
126 * debian/nfs-kernel-server.default: Document the NEED_SVCGSSD
127 variable in /etc/default/nfs-kernel-server.
130 2004-11-22 NeilBrown <neilb@cse.unsw.edu.au>
132 * utils/exportfs/nfsd.man: corrected typo in .BR macro usage -
133 reported by Eric Raymond
135 2004-10-19 "J. Bruce Fields" <bfields@fieldses.org>
137 * support/gssapi/* support/rpc/* utils/gssd/* utils/svcgssd/* etc
138 initial support for GSSAPI authentication
140 2004-09-15 Neil Brown <neilb@cse.unsw.edu.au>
142 * utils/statd/monitor.c(sm_unmon_1_svc): is RESTRICTED_STATD, then
143 check IP address and force my_name to 127.0.0.1 to match
144 what happens in sm_mon_1_svc. This avoid spurious "erroneous
146 * utils/statd.monitor.c(sm_unmon_all_1_svc): likewise
148 2004-09-15 "J. Bruce Fields" <bfields@fieldses.org>
150 * Assorted changes to support "gss/*" style authentication
151 * utils/idmapd: new idmapd daemon for nfsv4 username lookup
153 2004-09-06 Trond Myklebust <trond.myklebust@fys.uio.no>
154 Neil Brown <neilb@cse.unsw.edu.au>
156 * utils/mountd/auth.c(auth_authenticate_internal): fix
157 uninitialsed variable problem (causes bad error messages).
159 2004-09-06 Paul Clements <paul.clements@steeleye.com>
160 Neil Brown <neilb@cse.unsw.edu.au>
162 * utils/mountd/mountd.c(main): support --ha-callout (-H) for
163 specifying a callout program
164 * utils/mountd/rmtab.c: Call ha_callout on mount/unmount
165 * utils/statd/monitor.c: Call ha_callout on add/del client
166 * utils/statd/rmtcall.c: as above
167 * utils/statd/statd.c: handle --ha-callout (-H)
168 * utils/statd/svc_run.c: call notify_hosts is we have received a
170 * support/include/ha-callout.h: define ha_callout function
173 2004-08-31 NeilBrown <neilb@cse.unsw.edu.au>
174 * utils/mountd/cache.c(cache_process_req): clear fd after
175 processing so as not to confused libc/sunrpc into thinking
176 it need to do something with that fd.
178 2004-08-31 NeilBrown <neilb@cse.unsw.edu.au>
180 * debian/nfs-kernel-server.init(start,stop) mount the nfsd
181 filesystem, if available, before starting nfs services, and
182 unmount it afterwards.
183 * etc/nodist/nfs-server: ditto
184 * etc/redhat/nfs.init: likewise
185 * etc/redhat/nfs: add "MOUNT_NFSD" flag to control above.
187 2004-06-08 NeilBrown <neilb@cse.unsw.edu.au>
189 * utils/exportfs/exportfs.c: Don't rmtab_read if new_cache, it
191 * support/nfs/cacheio.c(cache_flush): Change order in which caches
192 are flushed so that dependancies don't keep things in the cache
195 2004-03-18 Chip Salzenberg <chip@pobox.com>
197 * debian/changelog: Version 1.0.6-2.
199 2004-02-24 NeilBrown <neilb@cse.unsw.edu.au>
200 from "J. Bruce Fields" <bfields@fieldses.org>
202 * utils/mountd/cache.c: call auth_reload to make sure auth data is
203 current before responding to kernel upcall.
205 2004-02-24 NeilBrown <neilb@cse.unsw.edu.au>
206 Based on patch from Greg Banks <gnb@melbourne.sgi.com>
208 * utils/exportfs/exports.man: Document fsid= option.
210 2003-09-15 NeilBrown <neilb@cse.unsw.edu.au>
214 * rules.mk: Add dep: rule when no OBJS, so "make dep" works in
215 support/include, and depend in "predep"
216 * support/export/Makefile, tools/rpcgen/Makefile,
217 utils/statd/Makefile: add "predep" rule so that "make dep" works.
218 * Makefile: allow a simple "make" to run ./configure and "make dep"
220 * configure.in, nfs-utils.spec: Update version to 1.0.6
223 2003-09-12 Chip Salzenberg <chip@pobox.com>
225 * debian/changelog: Version 1.0.6-1.
227 2003-09-12 NeilBrown <neilb@cse.unsw.edu.au>
229 * utils/mountd/mountd.c(main): Impose FD_SETSIZE as an upper limit
231 * utils/statd/statd.c(main): Ditto.
233 michael <michael@newdream.net> discovered that svc_setreqsize
234 in glibc can segfault if RLIMIT_NOFILE is bigger than
235 FD_SETSIZE, so a simple solution is to impose a hard limit.
237 2003-09-09 Chip Salzenberg <chip@pobox.com>
239 * debian/changelog: Version 1.0.5-3.
240 * support/export/hostname.c (get_reliable_hostbyaddr): Fix crash
241 on invalid reverse DNS.
242 * utils/showmount/showmount.c (main): Fix inet_ntoa() parameter.
243 * tools/rpcgen/rpc_cout.c (print_header): Remove unused vars.
244 * tools/rpcgen/rpc_parse.c (def_union): Likewise.
246 2003-08-22 Chip Salzenberg <chip@pobox.com>
248 * utils/statd/{log.h,log.c}: Rename log() to note() and L_* to
249 N_*, to avoid conflict with ISO C built-in log() function.
250 * utils/statd/*.c: Use note().
252 2003-08-20 Chip Salzenberg <chip@pobox.com>
254 * debian/changelog: Version 1.0.5-2.
256 2003-08-11 NeilBrown <neilb@cse.unsw.edu.au>
258 * utils/mountd/cache.c(cache_get_filehandle): close the filehandle
261 2003-08-04 NeilBrown <neilb@cse.unsw.edu.au>
263 * support/include/nfs/export.h, support/nfs/exports.c,
264 utils/exportfs/exports.c, utils/mountd/mountd.c: change
265 NFSEXP_CROSSMNT to NFSEXP_CROSSMOUNT to avoid confusion with older
266 meaning. Also remove meaningless
267 NFSEXP_{UIDMAP,KERBEROS,SUNSECURE}
269 2003-08-04 NeilBrown <neilb@cse.unsw.edu.au>
271 * support/export/xtab.c, support/include/nfslib.h,
272 support/nfs/cacheio.c, support/nfs/nfssvc.c,
273 utils/exportfs/exportfs.c, utils/exportfs/exportfs.man,
274 utils/exportfs/nfsd.man, utils/mountd/cache.c: support
275 /proc/fs/nfsd/* as a perferred alternate to /proc/fs/nfs/*
276 (nfs-utils-1.0.5-post2)
278 2003-08-04 NeilBrown <neilb@cse.unsw.edu.au>
280 * support/nfs/nfsexport.c: open channel file O_WRONLY when
282 * utils/mountd/cache.c: maintain mountlist when new_cache is
283 active. Also use O_WRONLY for channel files.
284 * utils/mountd/mountd.h: mountlist_{del,add} now take a host name
285 rather than an nfs_export.
286 * utils/mountd/rmtab.c: ditto.
287 (nfs-utils-1.5.0-post1)
289 2003-07-24 Chip Salzenberg <chip@pobox.com>
291 * support/nfs/xlog.c (xlog): Revise buffer-overflow fix to
292 use Debian security team's cleaner approach.
293 * debian/changelog: Version 1.0.5-1.
294 * debian/nfs-kernel-server.init: Cosmetic changes.
296 2003-07-18 NeilBrown <neilb@cse.unsw.edu.au>
299 1.0.4 was a bit of a brown-paper-bag-release because of the extra
300 'free' in auth.c. So I'm releasing this just a few days later.
302 * support/nfs/cacheio.c(cache_flush): Correct test for 'open
304 * utils/exportfs/exportfs.c(main): If "-f" given as lone option,
305 check if new_cache is enabled, error if not, flush and exit if it
307 * utils/exportfs/exportfs.man: Explain -f option and explain the
308 two different modes that exportfs can work in.
309 * utils/mountd/mountd.c: Do not change RLIMIT_NOFILE if the -o
311 * utils/mountd/mountd.man: Record the change if default behaviour
313 * configure.in, nfs-utils.spec: update version to 1.0.5 and
316 2003-07-15 NeilBrown <neilb@cse.unsw.edu.au>
318 * utils/mountd/mountd.c(main): getopt string fix for 'o'
319 * utils/mountd/auth.c(auth_authenticate): remove extra 'free'
320 * utils/exportfs/exportfs.c(main): make 'exportfs -f' just flush
322 * support/include/nfs/export.h: Reserve a bit for possible ACL
325 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
327 * utils/exportfs/nfsd.man: new man page for nfsd filesystem. Also
328 assorted changed to cope with section 7 of the manual.
329 * configure.in, nfs-utils.spec: Update version to 1.0.4
332 This is a 'pre-release' for 1.1.0 Hopefully 1.1.0 will be the
333 baseline for 2.6 and 2.8. I.e. it should continue to work right
334 through the 2.8 (or 3.0) kernel series. Previous releases wont.
336 2003-07-04 NeilBrown <neilb@cse.unsw.edu.au>
337 Steve Dickson <SteveD@redhat.com>
340 * utils/statd/statd.c: create a pidfile with pid of statd, and
341 truncate it when statd exists.
342 * utils/statd/statd.c: drop privs by setuid to owner of SM_DIR,
343 and warn if this is root.
344 * utils/statd/statd.c: when statd forks, connect child to parent
345 with a pipe, and send a byte down the pipe once the child is
347 * Makefile: create and chown sm, sm.bak, state when "make install"
348 * configure.in: add --with-statduser= option which defaults to
349 "rpcuser" or "nobody"
350 * config.mk.in: pass "statduser" through to Makefile
352 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
354 * support/include/nfs/nfs.h: Make sure correct __kernel_dev_t is
355 used as the size was changed somewhere in 2.5.60-2.5.70. Without
356 this nfs-utils compiles against 2.6 headers will not work on a
359 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
361 * support/nfs/nfssvc.c(nfssvc): If /proc/fs/nfs/threads exists,
362 set number of threads by writing to there. This means it will
363 still work when the syscall interface goes away in 2.7.
365 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
366 fumihiko kakuma <kakmy@mvh.biglobe.ne.jp>
368 * utils/exportfs/exportfs.c(unexportfs): improve host comparison
369 so as to only export the wildcard exports that were asked for.
370 * support/export/export.c(export_allowed): changed to return the
371 nfs_export rather than a "struct exportent", as m_changed is
373 * support/export/rmtab.c(rmtab_read): modified to deal with
374 interface change for export_allowed(), and enhanced to preserve
375 m_changed flag when a wild-card export causes the creation of
376 a non-wildcard export.
378 2003-07-02 NeilBrown <neilb@cse.unsw.edu.au>
379 Steve Dickson <SteveD@redhat.com>
381 * utils/mountd/mountd.man: Add valid kinds of debugging.
382 * utils/mountd/mountd.c(main): ignore SIGPIPE
383 * utils/nfsstat/nfsstat.c: fine-tune printing of warning so
384 we don't get warnings about unavailable stats that weren't asked
387 2003-06-24 NeilBrown <neilb@cse.unsw.edu.au>
389 * support/nfs/nfsexport.c(exp_unexp): When unexporting filesystems
390 via /rpc/net/rpc/nfsd*/channel, set the expiry date to 1, not
391 'forever', so things disappear out of the cache rather than just
394 2003-06-16 "J. Bruce Fields" <bfields@fieldses.org>
396 * utils/mountd/cache.c(nfsd_fh): don't export the export_ent
399 2003-06-16 NeilBrown <neilb@cse.unsw.edu.au>
401 * debian/nfs-kernel-server.init,etc/nodist/nfs-server,
402 etc/redhat/nfs.init: when checking if V3 is supported, make sure
403 nfs server 'knows' about 127.0.0.1 first.
405 2003-06-10 Chip Salzenberg <chip@pobox.com>
407 * support/nfs/xlog.c (xlog): Fix off-by-one buffer overflow bug.
408 * debian/changelog: Version 1.0.3-2.
410 2003-05-30 Michael Griffith <grif@michaelgriffith.com>
411 NeilBrown <neilb@cse.unsw.edu.au>
413 utils/nfsstat/nfsstat.c(print_callstats): use unsigned
414 long long to avoid overflow when printing stats.
416 2003-05-30 NeilBrown <neilb@cse.unsw.edu.au>
418 * support/export/export.c, support/include/nfslib.h,
419 support/nfs/export.c, utils/exportfs/exportfs.c,
420 utils/mountd/mountd.c: new export option "mountpoint"
421 If no path is given, then the export point must be a
422 mount point, or it won't be exported. If a path is
423 given (e.g. mountpoint=/path) then that path must be
424 a mountpoint or the exportpoint won't be exported.
425 * utils/exportfs/exportfs.man: document mountpoint option.
426 * support/misc/mountpoint.c: New file with is_mountpoint()
427 to determine if something is a mountpoint.
429 2003-05-23 NeilBrown <neilb@cse.unsw.edu.au>
431 * utils/mountd/cache.c(cache_get_filehandle): take a separate path
432 argument as we might not be getting the filehandle for the
434 * utils/mountd/mountd.c(get_rootfh): pass real path when calling
435 cache_get_filehandle.
436 * utils/mountd/mountd.c(get_rootfh): check export point and
437 requested directory are on the same filesystem, and complain if
440 2003-05-22 NeilBrown <neilb@cse.unsw.edu.au>
442 * utils/mountd/auth.c(auth_authenticate_internal): make sure
443 portnumber is still checked when using new cache lookup.
445 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
447 * utils/exportfs/exportfs.c: Use check_new_cache and cache_flush
448 Don't actually talk to kernel when new cache is in effect, except
450 * utils/exportfs/exportfs.c: add -f option to fully flush cache.
451 * support/export/xtab.c: Only rename new xtab into place if it has
452 changed, thus preserving modify date for exportfs to use when
454 * support/nfs/cacheio.c: Add cache_flush
455 * support/export/xtab.c: Only rename new xtab into place if it has
456 changed, thus preserving modify date for exportfs to use when
459 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
461 * support/export/client.c: Add client_compose, client_member to
462 handle new composite client names
463 * support/include/exportfs.h: Declare above functions.
464 * utils/mountd/auth.c: use client_compose to determine calling
465 client if new cache is being used.
466 * utils/mountd/auth.c: call cache_export to export a filesystem if
467 new_cache, check if new cache is used, and call my_svc_run instead
469 * utils/mountd/svc_run.c: new file defining my_svc_run
470 * utils/mountd/cache.c: new file for handling cache upcalls.
471 * support/nfs/cacheio.c(check_new_cache): new function to check if
472 new cache should be used.
475 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
477 * support/include/nfs/export.h: New CROSSMNT distinct from NOHIDE
478 * support/nfs/exports.c: Make CROSSMNT distinct from NOHIDE
479 * utils/exportfs/exportfs.c(dump): ditto
481 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
483 * support/export/hostname.c(get_reliable_hostbyaddr): new function
484 to get host name from address with full checking of authenticity.
485 * support/include/misc.h: declare above function
486 * utils/mountd/auth.c(auth_authenticate_internal): remove all
487 logic for authenticating address.
488 * utils/mountd/auth.c(auth_authenticate): call new
489 get_reliable_hostbyaddr to to hostname lookup before calling _internal.
492 2003-03-30 NeilBrown <neilb@cse.unsw.edu.au>
494 * tools/rpcgen/rpc_main.c(find_cpp): removed
495 * tools/rpcgen/rpc_main.c(open_input): use execvp to find "cpp",
496 then try hard-coded paths.
498 2003-03-26 Chip Salzenberg <chip@pobox.com>
500 * debian/changelog: Version 1.0.3-1.
502 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
504 * utils/mountd/rmtab.c (slink_safe_rename): real_newpath should be
505 "const char*", not "char*".
507 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
509 * configure.in (VERSION): Set to "1.0.3".
510 * nfs-utils.spec: Likewise.
511 * configure: Regenerated.
513 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
515 * support/nfs/cacheio.c: New File - support for read/writing
516 to export cache in /proc/rpc/*/channel
517 * support/nfs/Makefile: compile cacheio.c
518 * support/include/nfslib.h: declare cacheio.c functions
519 * support/nfs/nfsexport.c: export and unexport through
520 /proc/rpc/*/channel if possible, as old syscall interface
521 may not survive into 2.6 on all architectures.
523 2003-02-19 NeilBrown <neilb@cse.unsw.edu.au>
524 Ben Leslie <benno@sesgroup.net>
526 * support/nfs/rpcmisc.c(rpc_init): change test for ignoring
527 "defport" from (__rpcfdtype == 0) to (__rpcpmstart==0). The
528 former would incorectly ignore defport if the application
529 explicitly set __rpcfdtype. The later is sufficient to avoid the
530 special handling in the case where stdin is an internet socket.
532 * utils/mountd/mountd.c(main): Add 'n' to option list in
533 getopt_long as this is a short form of --no-tcp which want being
536 2003-02-12 Chip Salzenberg <chip@pobox.com>
538 * debian/changelog: Version 1.0.2-2.
540 2002-11-27 Chip Salzenberg <chip@pobox.com>
542 * utils/mountd/rmtab.c (slink_safe_rename): Fix off-by-one buffer
543 overflow bug. Reformat per rest of source file.
545 2002-11-19 NeilBrown <neilb@cse.unsw.edu.au>
547 * utils/exportfs/exports.man: Correct notes about whether the wild
548 card characters match a period. They do.
550 2002-10-15 Juan Gomez <juang@us.ibm.com>
552 * utils/mountd/rmtab.c (slink_safe_rename): New. Support
554 (mountlist_add): Call slink_safe_rename instead of rename.
556 2002-10-11 H.J. Lu <hjl@lucon.org>
558 * support/include/exportfs.h (export_errno): New.
560 * support/nfs/exports.c: Include <errno.h>.
562 (getexportent): Set export_errno to EINVAL for bad option.
563 (parseopts): Likewise.
564 Report the location of the default sync/async option.
566 * utils/exportfs/exportfs.c (main): Initialize export_errno to
567 0. Return export_errno.
569 2002-10-11 Juan Gomez <gomez@cs.sjsu.edu>
570 NeilBrown <neilb@cse.unsw.edu.au>
572 utils/statd/statd.c(killer): don't pmap_unset if in notify_only mode
573 utils/statd/statd.c(main): don't pmap_unset if in notify_only mode
575 2002-09-16 Chip Salzenberg <chip@pobox.com>
577 * utils/rquotad/rquota_svc.c (main): Use int for value of getopt.
579 2002-09-15 Chip Salzenberg <chip@pobox.com>
581 * support/nfs/rpcmisc.c (rpc_init): Allow stdin to be a non-INET
582 socket, as occurs when run from sshd.
583 * debian/changelog: Version 1.0.2-1.
585 2002-09-12 H.J. Lu <hjl@lucon.org>
587 * support/nfs/svc_socket.c: Remove HAVE_SVCTCP_SOCKET and
590 2002-09-12 H.J. Lu <hjl@lucon.org>
592 * configure.in: Remove checking svctcp_socket and svcudp_socket.
593 * configure: Regenerated.
595 * support/include/config.h.in (HAVE_SVCTCP_SOCKET): Removed.
596 (HAVE_SVCUDP_SOCKET): Removed.
598 * support/include/nfslib.h: Undo the last change.
600 2002-09-12 H.J. Lu <hjl@lucon.org>
602 * support/include/nfslib.h (svctcp_socket): Protect it with
604 (svcudp_socket): Protect it with HAVE_SVCUDP_SOCKET.
606 2002-09-12 H.J. Lu <hjl@lucon.org>
608 * configure.in (VERSION): Set to "1.0.2".
609 * configure: Regenerated.
610 * nfs-utils.spec: Likewise.
612 2002-09-12 H.J. Lu <hjl@lucon.org>
614 * configure.in: Check svctcp_socket and svcudp_socket.
615 * configure: Regenerated.
617 * support/include/config.h.in (HAVE_SVCTCP_SOCKET): New.
618 (HAVE_SVCUDP_SOCKET): New.
620 * support/include/nfslib.h (svctcp_socket): New.
621 (svcudp_socket): New.
623 * support/nfs/Makefile (OBJS): Add svc_socket.o.
625 * support/nfs/svc_socket.c: New.
627 * support/nfs/rpcmisc.c (rpc_init): Call svctcp_socket and
628 svcudp_socket if port is unspecified.
630 * utils/nfsd/nfsd.c (main): Call getservbyname for port.
632 * utils/rquotad/rquota_svc.c: Include <nfslib.h>.
633 (killer): New. Signal handler to unregister.
634 (main): Use killer. Call svcudp_socket to get the default
637 2002-09-02 Juan Gomez <juang@us.ibm.com>
638 NeilBrown <neilb@cse.unsw.edu.au>
640 Add -N option to statd to run in notify-only mode.
642 * utils/statd/statd.h: uncomment MODE_NOTIFY_ONLY
643 * utils/statd/statd.man: document -N
644 * utils/statd/statd.c: enabled -N, largely exists but needed to be
645 uncommented and completed
647 2002-09-02 Juan Gomez <juang@us.ibm.com>
648 NeilBrown <neilb@cse.unsw.edu.au>
650 statd to have " -P directory" arg to use that directory instead
651 of /var/lib/nfs. This is useful for fail-over clusters.
653 * utils/statd/statd.h: define SM_DIR etc as var, not const.
654 * utils/statd/statd.c: define "-P" option to set SM_*
656 * utils/statd/monitor.c: sprintf to cope with SM_DIR not being
658 * utils/statd/notify.c: ditto.
659 * utils/statd/statd.man: document -P option.
661 2002-08-26 Chip Salzenberg <chip@pobox.com>
663 * utils/nfsd/nfsd.man: Fix typo.
664 * debian/changelog: Version 1.0.1-1.
666 2002-05-29 NeilBrown <neilb@cse.unsw.edu.au>
668 * let parseopts know if /etc/exports was being read or not,
669 and have it only print "no sync or async" warning in that case.
671 2002-05-06 Tom McNeal <trmcneal@attbi.com>
672 NeilBrown <neilb@cse.unsw.edu.au>
674 * utils/nfsstat/nfsstat.c: Handle differing format for
675 /proc/net/rpc/nfsd between pre and post 2.4.0
677 2002-04-09 NeilBrown <neilb@cse.unsw.edu.au>
678 James Pearson <james-p@moving-picture.com>
680 * support/nfs/rmtab.c(fendrmtabent): sync changes to
681 storage before returning, as this is critical state
683 2002-04-08 Sean O'Connell <sean@ee.duke.edu>
684 H.J. Lu <hjl@lucon.org>
686 * etc/redhat/nfs: New.
688 2002-04-08 H.J. Lu <hjl@lucon.org>
690 * etc/redhat/nfs.init: Updated.
692 * nfs-utils.spec.in: Updated.
693 * nfs-utils.spec: Regenerated.
695 * utils/mountd/mountd.c (longopts): Fix a typo.
697 * utils/mountd/mountd.man: Updated.
699 2002-04-07 H.J. Lu <hjl@lucon.org>
701 * etc/redhat/nfslock.init (restart): Just do stop and start.
703 * etc/redhat/nfs.init: Fix a typo.
705 2002-04-07 H.J. Lu <hjl@lucon.org>
707 * configure.in (VERSION): Set to "1.0.1".
708 * configure: Regenerated.
709 * nfs-utils.spec: Likewise.
711 * README: Updated for 1.0.1.
713 2002-04-07 Sean O'Connell <sean@ee.duke.edu>
714 H.J. Lu <hjl@lucon.org>
716 * etc/redhat/nfs.init: Read /etc/sysconfig/nfsd for NFS tuning.
718 2002-02-28 Steven Whitehouse <steve@gw.chygwyn.com>
719 NeilBrown <neilb@cse.unsw.edu.au>
721 Add support for fsid=nn export option so that device
722 numbers don't go in filehandles.
723 * support/export/nfsctl.c(expsetup): if exporting and NFSEXP_FSID
724 is set, pass the fsid in-place of the device number
725 * support/nfs/exports.c: parse and print fsid= option.
726 Also check if efname has been set, and use "command line"
727 instead in error messages.
728 Also, use strtol instead of atoi for anon[ug]id= so that
729 bad numbers cause errors.
731 2002-01-17 Adrian Drzewiecki <drze@MissionCriticalLinux.com>
732 NeilBrown <neilb@cse.unsw.edu.au>
734 * support/nfs/exports.c: remove NFSEXP_ASYNC as a default
735 flag so that "sync" becomes the default.
736 Check that either "sync" or "async" is given as an option
737 and warn if neither are present
738 * utils/exportfs/exports.man: change documentation for "sync"
739 to be documentation for "async".
740 * utils/exportfs/exportfs.man: note that "sync" is the default
744 2002-01-02 Chip Salzenberg <chip@pobox.com>
746 * support/export/nfsctl.c (expsetup): Don't export entries that
747 specify id mappings not supported by the kernel. No extant kernel
748 supports any significant mapping, only 'identity' (i.e. none).
749 When other mappings are supported, this code will need changing.
750 * debian/changelog: Version 1.0-2.
752 2001-12-26 Chip Salzenberg <chip@pobox.com>
754 * nfs-utils.spec (Version): Set to "1.0".
755 * configure.in (VERSION): Likewise.
756 * configure: Regenerated.
758 * debian/changelog: Version 1.0-1.
760 * utils/exportfs/exports.man: Emphasize the need for options to
761 immediately follow client names. Explain that wildcards don't
762 usually work on addresses, but may work when reverse DNS fails.
763 Comment out a leftover TP that was TPing our indentation.
764 * utils/mountd/mountd.man, utils/rquotad/rquotad.man,
765 utils/statd/statd.man: Remove refs to non-existent "hosts_allow(5)".
766 * debian/changelog: Version 0.3.3-6.
768 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
770 * support/export/client.c(client_lookup): If a host has multiple
771 IP addresses, then we must always use the result of a
772 gethostbyname, not that of gethostbyaddr for exporting
774 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
776 * support/export/client.c (client_lookup): use strcasecmp when
778 * support/nfs/export.c (getexportent): add fromkernel arg and use
779 different defaults as kernels prior to 2.4.11 assume different
780 defaults in /proc/fs/nfs/exports
781 * support/include/nfslib.h, support/export/export.c,
782 support/export/xtab.c: support extra "fromkernel" arg for
785 2001-12-13 Chip Salzenberg <chip@pobox.com>
787 * debian/changelog: Version 0.3.3-5.
789 2001-11-26 TAKAI Kousuke <takai@vlsi.kuee.kyoto-u.ac.jp>
791 * support/nfs/xio.c (xskip): Call `xungetc' instead of
792 `ungetc' to keep x_line more properly.
794 2001-11-26 Chip Salzenberg <chip@pobox.com>
796 * utils/showmount/showmount.c (main): Don't assume that strings
797 starting with digits are IP addresses.
798 * utils/nfsd/nfsd.c (main): Close all fds and reopen 0,1,2 on
799 /dev/null before nfssvc(). Use syslog to report nfssvc errors.
800 * support/misc/tcpwrapper.c, utils/mountd/mountd.man,
801 utils/rquotad/rquotad.man, utils/statd/statd.man: Fix comments and
802 man pages: We check host names *and* addresses with tcpwrappers.
803 * debian/changelog: Version 0.3.3-4.
805 2001-11-21 Chip Salzenberg <chip@pobox.com>
807 * support/nfs/clients.c (cfname): Added: current clients file name.
808 (setnfsclntent): Set it.
809 ({get,end}nfsclntent, syntaxerr): Use it.
810 * support/nfs/exports.c (efname): Added: current exports file name.
811 (setnfsexportent): Set it.
812 (endnfsexportent, parseopts, getexport, syntaxerr): Use it.
813 (parseopts): Accept old-style "crossmnt" option, for old xtabs.
814 * debian/changelog: Version 0.3.3-3.
816 2001-10-11 Chip Salzenberg <chip@pobox.com>
818 * utils/mountd/mountd.c (main): Close fds > 2 _before_ RPC init.
819 * debian/changelog: Version 0.3.3-2.
821 2001-10-08 Chip Salzenberg <chip@pobox.com>
823 * utils/mountd/mountd.c (main): When daemonizing, close all fds > 2.
824 * utils/Makefile.in: Remove old Makefile in target 'distclean'.
825 * utils/mountd/mountd.man: Update paths to /var/lib.
826 * debian/*: Version 0.3.3-1, with Debian-specific fixes.
828 2001-10-06 Preston Brown <pbrown@redhat.com>
830 * utils/nfsstat/nfsstat.man: Updated.
832 2001-09-24 H.J. Lu <hjl@lucon.org>
834 * configure.in (VERSION): Set to "0.3.3".
835 * configure: Regenerated.
836 * nfs-utils.spec: Likewise.
838 * README: Updated for 0.3.3.
840 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
842 Arrange that "exportfs -au" never does DNS lookup:
844 * support/export/client.c (client_lookup) : add "canonical"
845 flag which says that the hostname is known to be canonical, so
848 * support/export/export.c (export_create) : add "canonical"
849 flag to be passed down to client_lookup
850 * support/export/export.c (export_lookup) : Likewise
852 * support/export/xtab.c (xtab_read) : pass appropriate
853 "canonical" flag to export_lookup and export_create:
854 set if reading list of filesystems currently exports
857 * support/export/export.c (export_read) : pass 0 as
858 "canonical" flag to export_lookup and export_create
859 * support/export/rmtab.s (rmtab_read) : Likewise
861 * support/include/exportfs.h : redeclare various routines
862 to have "canonical" flag
864 * utils/exportfs/exportfs.c (main) : redo logic for
865 "-au" to read in what is currently exported, but never even
866 look at what "should" be exported.
868 * utils/exportfs/exportfs.c (unexportall) : remove this
869 routine. Functionality is completely included in
872 * utils/exportfs/exportfs.c (exportfs) : set "canonical"
873 flag to zero in calls to export_lookup and export_create.
876 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
877 Anne Milicia <milicia@missioncriticallinux.com>
879 * support/export/client.c (client_lookup) call gethostbyadd
880 to make sure that we have a canonical hostname, even for
882 * utils/exportfs/exportfs.c (exportfs) Likewise
884 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
886 * support/nfs/exports.c (putexportent): \octal quote any spaces
888 * support/nfs/xio.c (xgettok): recognise double-quote and
889 \octal quoting in path names
890 * utils/exportfs/exports.man: document quoting conventions
893 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
895 * utils/mountd/auth.c (auth_authenticate_internal): Reverse
896 change from 2000-08-02: It causes problems if someone exports
897 to both a hostname and IP addresses. nfs-utils must be
898 consistant about the canonical name that it chooses.
900 2001-08-17 Ragnar Kjørstad <nfs@ragnark.vestdata.no>
901 H.J. Lu <hjl@lucon.org>
903 * etc/redhat/nfslock.init (STATDARG): New. Pass it to rpc.statd.
905 * utils/statd/statd.c (longopts): Add "name".
906 (usage): Add "-n/--name".
907 (main): Set MY_NAME with "-n/--name".
909 * utils/statd/state.c (change_state): Set MY_NAME only if it
912 * utils/statd/statd.man: Updated for "-n/--name".
914 2001-07-26 H.J. Lu <hjl@lucon.org>
916 * nfs-utils.spec (Release): Set to 8.
918 2001-07-25 H.J. Lu <hjl@lucon.org>
920 * etc/redhat/nfs.init: Check if rpc.rquotad exists before doing
923 2001-06-27 H.J. Lu <hjl@lucon.org>
925 * etc/redhat/nfs.init: Run rpc.rquotad only if it exists.
927 2001-06-27 H.J. Lu <hjl@lucon.org>
929 * utils/rquotad/rquota_server.c: Don't call statfs () for
930 the block size. Use BLOCK_SIZE instead.
932 2001-06-27 H.J. Lu <hjl@lucon.org>
934 * config.mk.in (CC_FOR_BUILD): Renamed from BUILD_CC.
935 (CFLAGS_FOR_BUILD): New. Don't use @CFLAGS@.
937 * configure.in (enable_nfsv3): Set to yes by default.
938 (--enable-rquotad): Added
939 (AC_PROG_CXX): Removed.
940 (AC_OUTPUT): Add utils/Makefile.
941 (CC_FOR_BUILD): Renamed from BUILD_CC.
942 * configure: Regenerated.
944 * utils/Makefile: Removed.
946 * utils/Makefile.in: New.
948 * nfs-utils.spec.in (rquotad): New. Set to 0 to disable
950 (CC_FOR_BUILD): Renamed from BUILD_CC.
951 * nfs-utils.spec: Regenerated.
953 2001-06-15 Chip Salzenberg <chip@debian.org>
955 * debian/changelog: Version 0.3.2-2.
956 * debian/*.init: Minor fixes.
958 2001-06-07 Lon H. Hohberger <hohberger@missioncriticallinux.com>
960 * etc/nodist/nfs-server: Fixed a bug where the script would
961 disable mounts from NFSv3 clients if NFSv3 is present.
963 2001-06-05 H.J. Lu <hjl@lucon.org>
965 * utils/mountd/mountd.c (longopts): Add "descriptors/o".
966 (main): Support --descriptors/-o to set the limit of the number
967 of open file descriptors.
970 * utils/mountd/mountd.man: Updated for --descriptors/-o.
972 2001-06-04 H.J. Lu <hjl@lucon.org>
974 * nfs-utils.spec (Release): Set to 6.
976 2001-05-28 H.J. Lu <hjl@lucon.org>
978 * utils/lockd/lockd.c (main): chdir to NFS_STATEDIR.
979 * utils/mountd/mountd.c (main): Likewise.
980 * utils/nfsd/nfsd.c (main): Likewise.
981 * utils/rquotad/rquota_svc.c (main): Likewise.
983 2001-05-06 Anne Milicia <milicia@missioncriticallinux.com>
985 * support/export/client.c (client_check): Check IP address
988 2001-05-06 Neil Brown <neilb@cse.unsw.edu.au>
990 * support/export/client.c (client_gettype): Treat `*' as
993 2001-04-22 H.J. Lu <hjl@lucon.org>
995 * nfs-utils.spec.in: Fix a typo.
996 * nfs-utils.spec: Regenerated.
998 2001-04-21 H.J. Lu <hjl@lucon.org>
1000 * nfs-utils.spec.in: Fix cross build.
1001 * nfs-utils.spec: Regenerated.
1002 (Release): Set to 5.
1004 2001-04-18 H.J. Lu <hjl@lucon.org>
1006 * nfs-utils.spec.in: Support cross build.
1007 * nfs-utils.spec: Regenerated.
1008 (Release): Set to 4.
1011 * config.guess: New.
1013 * config.mk.in (BUILD_CC): New.
1014 (CC): Set to $(BUILD_CC) if BUILD is defined.
1017 (RANLIB): Set to @RANLIB@.
1019 * configure.in: Check BUILD_CC, RANLIB, AR and LD.
1020 * configure: Regenerated.
1022 * tools/rpcgen/Makefile (BUILD): Set to true.
1024 2001-04-01 Chip Salzenberg <chip@valinux.com>
1026 * tools/rpcgen/rpc_svcout.c (write_timeout_func): Remove
1027 redundant, and sometimes broken, declaration of svc_fdset;
1029 * support/nfs/rpcmisc.c (closedown): Likewise.
1031 2001-03-21 H.J. Lu <hjl@lucon.org>
1033 * nfs-utils.spec: Regenerated.
1034 (Release): Set to 3.
1036 2001-03-21 Ion Badulescu <ionut@cs.columbia.edu>
1038 * utils/statd/statd.c (main): make sure file descriptors 0-2
1039 are open to /dev/null.
1041 2001-03-21 H.J. Lu <hjl@lucon.org>
1043 * support/nfs/rpcmisc.c: Restore the change made on 2001-03-10.
1044 * support/nfs/rpcmisc.c: Likewise.
1045 * utils/rquotad/rquota_svc.c: Likewise.
1046 * utils/rquotad/rquotad.man: Likewise.
1047 * utils/statd/Makefile: Likewise.
1048 * utils/statd/rmtcall.c: Likewise.
1049 * utils/statd/simulate.c: Likewise.
1050 * utils/statd/statd.c: Likewise.
1051 * utils/statd/statd.man: Likewise.
1053 2001-03-11 H.J. Lu <hjl@lucon.org>
1055 * configure.in (RELEASE): New. Default to 1, set by
1056 --with-release=XXX. Substitute nfs-utils.spec.
1057 * nfs-utils.spec.in (Release): Set to @RELEASE@.
1058 * configure: Regenerated.
1059 * nfs-utils.spec: Likewise.
1061 2001-03-11 H.J. Lu <hjl@lucon.org>
1063 * utils/rquotad/rquotad.man: Fix a typo.
1065 2001-03-11 H.J. Lu <hjl@lucon.org>
1067 * support/include/rpcmisc.h: Undo the change made on 2001-03-10.
1068 * support/nfs/rpcmisc.c: Likewise.
1069 * utils/rquotad/rquota_svc.c: Likewise.
1070 * utils/rquotad/rquotad.man: Likewise.
1071 * utils/statd/Makefile: Likewise.
1072 * utils/statd/rmtcall.c: Likewise.
1073 * utils/statd/simulate.c: Likewise.
1074 * utils/statd/statd.c: Likewise.
1075 * utils/statd/statd.man: Likewise.
1077 2001-03-10 H.J. Lu <hjl@lucon.org>
1079 * configure.in (VERSION): Set to "0.3.2".
1080 * configure: Regenerated.
1081 * nfs-utils.spec: Likewise.
1083 * README: Updated for 0.3.2.
1085 2001-03-10 Tavis Barr <tavis@boole.isetr.columbia.edu>
1087 * utils/rquotad/rquotad.man: Updated for -p.
1088 * utils/statd/statd.man: Likewise.
1090 2001-03-10 Ion Badulescu <ionut@cs.columbia.edu>
1092 * support/nfs/rpcmisc.c: export makesock()
1094 * support/include/rpcmisc.h (makesock): Declared.
1096 * utils/rquotad/rquota_svc.c: added longopts, added support for
1097 specifying the port to bind to on the command line.
1099 * utils/statd/statd.c: ditto, also specify port used for
1100 outgoing connections.
1101 (do_regist): Removed.
1103 * utils/statd/rmtcall.c (statd_get_socket): Renamed from
1104 get_socket. Make it extern.
1106 * utils/statd/simulate.c (daemon_simulator): Call rpc_init
1107 instead of do_regist.
1109 * utils/statd/Makefile (LIBS): link with our own libnfs
1111 2001-03-09 H.J. Lu <hjl@lucon.org>
1113 * etc/redhat/nfslock.init: Changed chkconfig line to 60 86.
1114 * etc/nodist/nfs-client: Likewise.
1116 2001-02-26 Chip Salzenberg <chip@valinux.com>
1118 * debian/changelog: Version 0.3.1-1.
1119 * Mention upstream source and license in copyright file.
1120 * Add build-Depends for debhelper and libwrap0-dev.
1122 2001-02-20 Lon Hohberger <hohberger@missioncriticallinux.com>
1124 * etc/nodist/nfs-server: Changed chkconfig line to 60 20
1125 * etc/nodist/nfs-client: Likewise.
1127 2001-02-18 Lon Hohberger <hohberger@missioncriticallinux.com>
1129 * utils/statd/statd.man: Changed /usr/sbin/rpc.statd to
1132 2001-02-17 Patrick J. LoPresti <patl@curl.com>
1134 * utils/statd/log.c (log_init): Use LOG_DAEMON instead of
1137 2001-02-14 H.J. Lu <hjl@lucon.org>
1139 * utils/statd/rmtcall.c: Include <time.h>.
1140 * utils/statd/svc_run.c: Likewise.
1142 2001-02-14 H.J. Lu <hjl@lucon.org>
1144 * configure.in (VERSION): Set to "0.3.1".
1145 * configure: Regenerated.
1146 * nfs-utils.spec: Likewise.
1148 * README: Updated for 0.3.1.
1150 2001-02-14 H.J. Lu <hjl@lucon.org>
1152 * support/nfs/rpcmisc.c: Include <time.h>.
1154 2001-02-14 Chip Salzenberg <chip@valinux.com>
1156 * debian/control: Change priority of nhfsstone package to 'extra'.
1158 2001-02-12 Chip Salzenberg <chip@valinux.com>
1160 * debian/changelog: Version 0.3-2.
1162 2001-02-02 H.J. Lu <hjl@lucon.org>
1164 * support/include/rpcmisc.h (rpc_init): Remove bufsize.
1166 * support/nfs/rpcmisc.c (makesock): Remove socksz and comment
1167 out SO_SNDBUF/SO_RCVBUF.
1168 (rpc_init): Remove bufsize and remove socksz in calls to
1171 * utils/mountd/mountd.c (main): Remove bufsize in calls to
1174 2001-01-28 Chip Salzenberg <chip@valinux.com>
1176 * debian/changelog: Version 0.3-1.
1178 2001-01-25 H.J. Lu <hjl@lucon.org>
1180 * configure.in (VERSION): Set to "0.3".
1181 * configure: Regenerated.
1182 * nfs-utils.spec: Likewise.
1184 * README: Updated for 0.3.
1186 2001-01-25 H.J. Lu <hjl@lucon.org>
1188 * utils/lockd/lockd.c (main): Ignore errno == EINVAL.
1190 2001-01-20 Chip Salzenberg <chip@valinux.com>
1192 * support/include/xio.h (xgetc): Declare to return int.
1193 * support/nfs/xio.c (xgetc): Return int.
1194 (xgettok, xskip, xskipcomment): Use int for value of xgetc.
1195 * utils/statd/statd.c (main): Use int for value of getopt.
1196 * debian/changelog: Version 0.2.1-5.
1198 2000-12-10 Chip Salzenberg <chip@valinux.com>
1200 * utils/statd/monitor.c (sm_mon_1_svc): Fix buggy check for
1201 program and procedure numbers of kernel lockd's callback. Also,
1202 besides the old (and broken) procedure #24, allow #16 per Trond.
1204 2000-12-03 Chip Salzenberg <chip@valinux.com>
1206 * support/nfs/xio.c (xfopen): Initialize x_line to one, not zero.
1207 * debian/control: Let nhfsstone replace files in nfs-kernel-server.
1208 * debian/changelog: Version 0.2.1-4.
1210 2000-11-27 Tobias Ringstrom <tori@tellus.mine.nu>
1212 * utils/mountd/auth.c (auth_authenticate): Log the bad path
1215 2000-11-24 Neil Brown <neilb@cse.unsw.edu.au>
1217 * support/nfs/exports.c (getexportent): Check for host name
1218 without option, or options without hostname, and print a warning,
1219 as this is most likely a typo.
1221 2000-11-19 Chip Salzenberg <chip@valinux.com>
1223 * debian/control: Add dependency on portmap.
1224 * debian/changelog: Version 0.2.1-3.
1226 2000-11-10 H.J. Lu <hjl@lucon.org>
1228 * nfs-utils.spec.in: Don't use libtool.
1229 Add ChangeLog and COPYING to doc.
1230 * nfs-utils.spec: Rebuild.
1232 2000-11-09 H.J. Lu <hjl@lucon.org>
1234 * etc/redhat/nfs.init (start): Back out the last change.
1236 2000-11-09 H.J. Lu <hjl@lucon.org>
1238 * etc/redhat/nfs.init (start): Pass --no-tcp to mountd if
1239 TCP is not supported by kernel.
1241 * support/nfs/rpcmisc.c (rpc_init): Don't set _rpcfdtype to 0.
1243 * utils/mountd/mountd.c (longopts): Add "-n/--no-tcp".
1244 (main): Set to _rpcfdtype to SOCK_DGRAM for "-n/--no-tcp".
1246 * utils/mountd/mountd.man: Updated for "-n/--no-tcp".
1248 2000-10-24 Lon Hohberger <hohberger@missioncriticallinux.com>
1250 * utils/statd/callback.c: Fix bug preventing callbacks to local lockd.
1251 * utils/statd/rmtcall.c: Add some IP address paranoia when doing
1252 callbacks to local lockd.
1254 2000-10-18 Scott McDermott <mcdermot@questra.com>
1256 * utils/exportfs/exports.man: Updated for CIDR netmask.
1258 2000-10-17 Scott McDermott <mcdermot@questra.com>
1260 * support/export/client.c (client_init): Support CIDR netmask
1263 2000-10-11 H.J. Lu <hjl@lucon.org>
1265 * aclocal.m4 (AC_TCP_WRAPPER): Fix a typo.
1266 * configure: Rebuilt.
1268 2000-10-06 Lon Hohberger <hohberger@missioncriticallinux.com>
1270 * utils/statd/statd.man: Change "/var/lib/nfs/sm/state" to
1271 "/var/lib/nfs/state".
1273 2000-10-05 Lon Hohberger <hohberger@missioncriticallinux.com>
1275 * utils/statd/statd.h (run_mode): New global bitmask of runtime
1276 behaviors: fg/bg, logging, etc.
1277 * utils/statd/statd.c: New command line options: -V -h -? -d .
1278 * utils/statd/statd.man: Update for changes to statd.
1280 * utils/statd/log.h (log_init): Remove parameter of function; use
1281 global variable "name_p" instead.
1282 * utils/statd/log.c: Add support for logging to stderr.
1284 * utils/statd/notlist.c: Partially rewrite notify list handling
1285 functions. Eliminate run-off-end-of-list bug when calling
1286 nlist_insert_timer. Add lots of comments.
1288 2000-09-27 H.J. Lu <hjl@lucon.org>
1290 * README: Updated for RedHat 7.0.
1292 2000-09-27 H.J. Lu <hjl@lucon.org>
1294 * nfs-utils.spec: Rebuild.
1296 2000-09-27 H.J. Lu <hjl@lucon.org>
1298 * README: Updated for 0.2.1.
1300 2000-09-27 H.J. Lu <hjl@lucon.org>
1302 * nfs-utils.spec.in: Updated to use rpm macros and support
1305 2000-09-25 H.J. Lu <hjl@lucon.org>
1307 * configure.in (VERSION): Set to "0.2.1".
1308 * configure: Regenerated.
1309 * nfs-utils.spec: Updated.
1311 2000-09-25 H.J. Lu <hjl@lucon.org>
1313 * utils/mountd/auth.c (auth_authenticate_internal): Make sure a
1314 non-NULL hostent is always returned.
1316 2000-09-11 Ion Badulescu <ionut@cs.columbia.edu>
1318 * etc/redhat/nfslock.init: don't kill lockd processes that do not
1319 have an executable (i.e. kernel threads)
1321 2000-09-01 H.J. Lu <hjl@lucon.org>
1323 * README: Updated for 0.2.
1325 2000-09-01 Jay Weber <jweber@valinux.com>
1327 * etc/redhat/nfs.init: Added ability for rpc.mountd to default to
1328 supporting version 3 of nfs if available, else it will fall back to
1329 version 2 support only.
1331 2000-08-30 H.J. Lu <hjl@lucon.org>
1333 * configure.in (VERSION): Set to "0.2".
1334 * configure: Regenerated.
1335 * nfs-utils.spec: Updated.
1337 2000-08-25 H.J. Lu <hjl@lucon.org>
1339 * support/misc/tcpwrapper.c (logit): Modify the log output.
1341 2000-08-25 Ion Badulescu <ionut@cs.columbia.edu>
1343 * utils/rquotad/rquotad.man, utils/statd/statd.man,
1344 utils/mountd/mountd.man: updated
1346 * utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL)
1347 * utils/rquotad/Makefile: fix comment
1349 * support/misc/tcpwrapper.c (logit): added comment about waiting
1350 for the children after fork()
1352 * utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving
1353 zombies behind (from logit()'s fork)
1354 * utils/rquotad/rquota_svc.c (main): ditto
1355 * utils/statd/statd.c (main): ditto
1357 * utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG
1358 to check_default instead of 0, for prognum
1360 * utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG
1361 to check_default instead of 0, for prognum
1363 * utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if
1364 HAVE_TCP_WRAPPER is defined.
1365 (mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is
1366 defined. Reject an RPC call if check_default () fails.
1368 2000-08-25 H.J. Lu <hjl@lucon.org>
1370 * support/include/tcpwrapper.h: New for the tcp wrapper
1372 * support/misc/Makefile: Likewise.
1373 * support/misc/from_local.c: Likewise.
1374 * support/misc/tcpwrapper.c: Likewise.
1376 * aclocal.m4 (AC_TCP_WRAPPER): New.
1377 * configure.in: Use it. Substitute LIBWRAP.
1378 * configure: Rebuilt.
1380 * config.mk.in (LIBNSL): New.
1381 (LIBWRAP): Likewise.
1383 * support/Makefile (SUBDIRS): Add misc.
1385 * support/lib/Makefile (LIBS): Add libmisc.a.
1387 * utils/rquotad/Makefile (LIBS): Add
1389 -lmisc $(LIBWRAP) $(LIBNSL)
1391 * utils/statd/Makefile (LIBS): Likewise.
1393 * utils/rquotad/rquota_svc.c: Include "tcpwrapper.h" if
1394 HAVE_TCP_WRAPPER is defined.
1395 (rquotaprog_1): Call check_default () if HAVE_TCP_WRAPPER is
1396 defined. Reject an RPC call if check_default () fails.
1398 * utils/statd/statd.c: Include "tcpwrapper.h" if
1399 HAVE_TCP_WRAPPER is defined.
1400 (sm_prog_1_wrapper): New. A wrapper for sm_prog_1. Call
1401 check_default () before calling sm_prog_1 (). Define it as
1402 sm_prog_1_wrapper if HAVE_TCP_WRAPPER is defined.
1404 2000-08-25 Chip Salzenberg <chip@valinux.com>
1406 * debian/*: Complete Debian build support.
1407 * etc/debian/*: Remove.
1409 2000-08-24 Neil Brown <neilb@cse.unsw.edu.au>
1411 * support/export/client.c(client_check): removed the "dot+1" as a
1412 ypdomain argument to innetgr as this is entirely bogus.
1413 It should always be NULL.
1415 2000-08-23 Neil Brown <neilb@cse.unsw.edu.au>
1417 * support/export/xtab.c(xtab_read): introduce new mode for
1418 reading xtab. i.e. a list of exports that might be known to the
1419 kernel, or might not. These are flagged as m_exported == -1
1420 * support/export/xtab.c(xtab_mount_read): call xtab_read with new
1421 value "2" for xtab, meaning don't trust this too much.
1422 * support/include/exportfs.h(struct mexport): changed m_exported
1423 from one bit to an int so that it can hold new value
1424 * utils/exportfs/exportfs.c(exportfs_ipdate): add an export to the
1425 kernel if it is uncertain whether the kernel knows (m_exported == -1)
1426 * utils/mountd/mountd.c(get_rootfh): similarly export to kernel if
1429 * support/nfs/xio.c(xflock): added O_CREAT when getting
1430 a write lock so that missing files aren't fatal.
1432 * etc/debian/nfs-common: new file from "potato"
1433 * etc/debian/nfs-kernel-server: new file from "potato" plus fixes.
1435 2000-08-09 H.J. Lu <hjl@lucon.org>
1437 * etc/redhat/nfs.init: Run /usr/sbin/exportfs first during
1438 startup to ensure all existing clients work fine.
1440 * support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0
1441 to xtab_read () for reading _PATH_XTAB.
1443 2000-08-02 H.J. Lu <hjl@lucon.org>
1445 * utils/mountd/auth.c (auth_authenticate_internal): Try to
1446 avoid the reverse name lookup.
1448 2000-07-04 H.J. Lu <hjl@lucon.org>
1450 * utils/statd/log.c: Include <stdlib.h> for exit ().
1452 * utils/statd/misc.c (xunlink): Add `{' and `}' to quiet the
1455 2000-07-04 H.J. Lu <hjl@lucon.org>
1457 * configure.in (VERSION): Set to "0.1.9.1".
1458 * configure: Regenerated.
1459 * nfs-utils.spec: Updated.
1463 2000-07-04 Neil Brown <neilb@cse.unsw.edu.au>
1465 * support/export/hostname.c (hostent_dup): Handle the NULL
1468 2000-07-03 H.J. Lu <hjl@lucon.org>
1470 * README: Update the util-linux requirement.
1472 2000-07-03 H.J. Lu <hjl@lucon.org>
1474 * configure.in (VERSION): Set to "0.1.9".
1475 * configure: Regenerated.
1476 * nfs-utils.spec: Updated.
1480 2000-07-03 H.J. Lu <hjl@lucon.org>
1482 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
1483 stop to ensure all clients can still access the server
1484 before it is shutdown.
1486 2000-06-30 Jeff Uphoff <juphoff@transmeta.com>
1488 * tools/rpcgen/rpc_svcout.c (write_msg_out): Generate syslog()
1489 calls with format string.
1491 2000-06-28 Chip Salzenberg <chip@valinux.com>
1493 * utils/statd/log.c (log): Call syslog with format string.
1495 2000-06-27 H.J. Lu <hjl@lucon.org>
1497 * utils/statd/statd.c (main): Use sysconf (_SC_OPEN_MAX)
1498 instead of OPEN_MAX.
1500 2000-06-27 H.J. Lu <hjl@lucon.org>
1504 2000-06-27 H.J. Lu <hjl@lucon.org>
1506 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
1507 startup to ensure all existing clients are exported.
1509 * configure.in (VERSION): Set to "0.1.8.2".
1510 * configure: Regenerated.
1511 * nfs-utils.spec: Updated.
1513 2000-06-06 H.J. Lu <hjl@lucon.org>
1515 * configure.in (VERSION): Set to "0.1.8.1".
1516 * configure: Regenerated.
1517 * nfs-utils.spec: Updated.
1519 2000-06-06 H.J. Lu <hjl@lucon.org>
1521 * utils/mountd/mountd.c (mount_dump_1_svc): Cast svc_getcaller
1522 to "struct sockaddr_in *" for glibc 2.2.
1523 (mount_umnt_1_svc): Likewise.
1524 (mount_umntall_1_svc): Likewise.
1525 (mount_export_1_svc): Likewise.
1526 (mount_exportall_1_svc): Likewise.
1527 (mount_pathconf_2_svc): Likewise.
1528 (get_rootfh): Likewise.
1530 2000-06-04 H.J. Lu <hjl@lucon.org>
1532 * etc/redhat/nfs.init: Fix a typo in comment.
1534 2000-05-31 H.J. Lu <hjl@lucon.org>
1536 * configure.in (VERSION): Set to "0.1.8".
1537 * configure: Regenerated.
1538 * nfs-utils.spec: Updated.
1542 2000-05-31 H.J. Lu <hjl@lucon.org>
1544 * configure.in (VERSION): Set to "0.1.7.5".
1545 * configure: Regenerated.
1546 * nfs-utils.spec: Updated.
1548 * support/include/nfslib.h (exportent): Add a new field,
1549 r_count, to count the number of mounts from a client.
1550 (getrmtabent): Take a new argument for position in file.
1551 (putrmtabent): Likewise.
1552 (fgetrmtabent): Likewise.
1553 (fputrmtabent): Likewise.
1554 * support/nfs/rmtab.c (getrmtabent): Handle the new argument
1555 for position in file.
1556 (fgetrmtabent): Likewise.
1557 (putrmtabent): Likewise.
1558 (fputrmtabent): Likewise.
1560 * support/nfs/rmtab.c (fgetrmtabent): Get value for the new
1563 * support/export/rmtab.c (rmtab_read): Pass NULL as the new
1564 argument to getrmtabent (), fgetrmtabent (), putrmtabent ()
1565 and fputrmtabent ().
1566 * utils/mountd/rmtab.c (mountlist_add): Likewise.
1567 (mountlist_del): Likewise.
1568 (mountlist_del_all): Likewise.
1569 (mountlist_list): Likewise.
1571 * utils/mountd/rmtab.c (mountlist_add): Increment "r_count"
1572 for the existing entry and initialize "r_count" to 1.
1573 (mountlist_del): Decrement "r_count".
1575 2000-05-18 H.J. Lu <hjl@lucon.org>
1577 * configure.in (VERSION): Set to "0.1.7.4".
1578 * configure: Regenerated.
1579 * nfs-utils.spec: Updated.
1581 2000-05-18 H.J. Lu <hjl@lucon.org>
1583 * etc/redhat/nfs.init (restart): Just do stop and start.
1585 2000-05-09 Jay Weber <jweber@valinux.com>
1587 * utils/rquotad/hasquota.c: added support for ext3 recognition
1589 * utils/rquotad/mntent.h: Likewise.
1591 2000-05-01 H.J. Lu <hjl@lucon.org>
1593 * configure.in (VERSION): Set to "0.1.7.3".
1594 * configure: Regenerated.
1595 * nfs-utils.spec: Updated.
1597 2000-05-01 H.J. Lu <hjl@lucon.org>
1599 * utils/rquotad/rquota_server.c (getquotainfo): Skip bad
1600 mounting poins in /etc/fstab.
1602 2000-05-01 H.J. Lu <hjl@lucon.org>
1604 * configure.in (VERSION): Set to "0.1.7.2".
1605 * configure: Regenerated.
1606 * nfs-utils.spec: Updated.
1608 2000-05-01 H.J. Lu <hjl@lucon.org>
1610 * utils/rquotad/rquota_server.c (getquotainfo): Call stat ()
1611 to check for the mounting point.
1613 2000-04-29 Chip Salzenberg <chip@valinux.com>
1614 Neil Brown <neilb@cse.unsw.edu.au>
1616 * Really re-use RPC ports.
1617 (Fixes earlier patch. Sorry, Neil.)
1619 2000-04-26 H.J. Lu <hjl@lucon.org>
1621 * configure.in (VERSION): Set to "0.1.7.1".
1622 * configure: Regenerated.
1623 * nfs-utils.spec: Updated.
1625 2000-04-26 H.J. Lu <hjl@lucon.org>
1627 * etc/redhat/nfslock.init: Check if lockd exits before killing
1630 2000-04-25 H.J. Lu <hjl@lucon.org>
1632 * README: Require util-linux-2.10f-mount-rpc.patch for mount.
1634 2000-03-21 Michael Weiser <michael@weiser.saale-net.de>
1636 * support/nfs/exports.c (parsesquash): Correctly set the
1639 Tue Mar 21 11:38:48 EST 2000 NeilBrown <neilb@cse.unsw.edu.au>
1641 * support/include/nfs/nfs.h: Removed knowledge of internals of
1642 kernel filehandles (which can change) and defined nfs_fh_size
1643 which has variable size
1645 * support/nfs/getfh.c: defined getfh_size to use new syscall to
1646 get variable sized file handles, and change getfh{,old} to
1649 * utils/mountd/mountd.c: use nfd_fh_size and call getfh_size for
1652 * tools/Makefile, tools/nlmtest/nlmtest.c
1653 nlmtest.c depended on internel format of file handles, so now
1657 2000-03-12 Chip Salzenberg <chip@valinux.com>
1658 Neil Brown <neilb@cse.unsw.edu.au>
1660 * support/nfs/rpcmisc.c (rpc_init): Share transports.
1662 2000-03-13 H.J. Lu <hjl@lucon.org>
1664 * etc/redhat/nfsd.init: Updated.
1666 * etc/redhat/nfslock.init: Updated.
1668 * nfs-utils.spec.in: Updated.
1670 * configure.in (VERSION): Set to "0.1.7".
1671 * configure: Regenerated.
1672 * nfs-utils.spec: Updated.
1676 Wed Mar 8 09:42:43 2000 Neil Brown <neilb@cse.unsw.edu.au>
1678 * utils/exportfs/exportfs.c (dump): Included printing of
1679 nohide, no_subtree_check, and insecure_locks
1681 2000-02-26 Chip Salzenberg <chip@valinux.com>
1683 * config.mk.in (INSTALLSUID): Strip ("-s").
1684 (INSTALLSCRIPT): Define.
1685 * utils/nhfsstone/Makefile: Use it.
1687 2000-02-26 Chip Salzenberg <chip@valinux.com>
1689 * utils/lockd/lockd.man: Create.
1690 * utils/lockd/Makefile: Install it.
1691 * utils/nhfsstone/nhfs{run,nums,graph}.man: Create.
1692 * utils/nhfsstone/nhfsstone.man: Change suffix from ".1".
1693 * utils/nhfsstone/Makefile: Install the helper scripts and
1695 * utils/exportfs/exports.man: Fix typo.
1697 2000-02-26 Chip Salzenberg <chip@valinux.com>
1699 * support/nfs/xio.c (xungetc): Decrement line number when
1700 character to unget is newline. Make first parameter int, so
1701 it can distinguish EOF from \377.
1702 * support/include/xio.h (xungetc): Adjust prototype.
1704 Fri Feb 4 23:42:23 2000 Neil Brown <neilb@cse.unsw.edu.au>
1706 * support/include/nfs/export.h: added NFSEXP_NOAUTHNLM
1707 * support/nfs/exports.c: added handling for NFSEXP_NOAUTHNLM
1708 * utils/exportfs/exports.man: added documentation for no_auth_nlm.
1710 This is for supporting a new option introduced in 2.3.42
1712 Thu Feb 3 14:55:48 2000 H.J. Lu <hjl@lucon.org>
1714 * COPYING: Added. GPL.
1716 Thu Feb 03 14:40:40 2000 Cristian Gafton <gafton@redhat.com>
1718 * utils/rquotad/rquota_server.c (getquotainfo): Call statfs ()
1719 to get the block size.
1721 Tue Jan 25 11:04:17 2000 H.J. Lu <hjl@lucon.org>
1723 * nfs-utils.spec.in: Update ftp site.
1725 Mon Jan 17 11:48:18 2000 H.J. Lu <hjl@lucon.org>
1727 * README: Update hostnames.
1729 Tue Jan 11 10:06:22 2000 H.J. Lu <hjl@lucon.org>
1731 * configure.in (VERSION): Set to "0.1.6".
1732 * configure: Regenerated.
1733 * nfs-utils.spec: Updated.
1737 Mon Jan 10 14:26:33 2000 H.J. Lu <hjl@lucon.org>
1739 * utils/mountd/auth.c (auth_authenticate_internal): Call
1740 xstrdup for hostname before passing it to gethostbyname.
1742 * utils/mountd/mountd.c (get_exportlist): Use xstrdup instead
1745 Sun Dec 19 09:35:01 1999 H.J. Lu <hjl@lucon.org>
1747 * README: Update the mailing list address.
1749 Sun Dec 19 09:22:28 1999 H.J. Lu <hjl@lucon.org>
1751 * configure.in (VERSION): Set to "0.1.5".
1752 * configure: Regenerated.
1753 * nfs-utils.spec: Updated.
1757 Mon Dec 13 13:40:20 1999 H.J. Lu <hjl@lucon.org>
1759 * utils/rquotad/hasquota.c (hasquota): Malloc one more char
1762 Mon Dec 6 09:42:45 1999 H.J. Lu <hjl@lucon.org>
1764 * configure.in (VERSION): Set to "0.1.4".
1765 * configure: Regenerated.
1766 * nfs-utils.spec: Updated.
1770 Mon Dec 6 09:28:07 1999 H.J. Lu <hjl@lucon.org>
1772 * nfs-utils.spec.in: New file.
1774 * config.mk.in (VERSION): Changed to "nfs-utils @VERSION@".
1776 * configure.in (nfs-utils.spec): Added to AC_OUTPUT.
1778 1999-12-04 Chip Salzenberg <chip@valinux.com>
1780 * config.mk.in: Use $(CC) as set by configure.
1782 1999-12-04 Chip Salzenberg <chip@valinux.com>
1784 * rules.mk: Call $(MAKE) with $(MFLAGS).
1786 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1788 * tools/rpcgen/rpc_main.c (h_output): Generate IXDR_GET_INT32,
1789 IXDR_PUT_INT32, IXDR_GET_U_INT32 and IXDR_PUT_U_INT32.
1791 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1793 * nfs-utils.spec (Version): Set to 0.1.3.
1795 * configure.in (VERSION): Set to "nfs-utils 0.1.3".
1796 * configure: Regenerated.
1800 Mon Nov 29 11:15:47 1999 H.J. Lu <hjl@lucon.org>
1802 * utils/rquotad/rquota_server.c (nfsmount_to_devname): Removed.
1803 (_PATH_DEV_DSK): Likewise.
1804 (getquotainfo): Match the mounting point from /etc/mtab
1805 instead of calling nfsmount_to_devname ().
1807 1999-11-24 Chip Salzenberg <chip@valinux.com>
1809 * utils/statd/monitor.c (sm_mon_1_svc): Accept lockd callbacks
1810 to the new port 24 as well as the historical port 100021.
1812 Tue Nov 23 10:21:34 1999 Neil Brown <neilb@cse.unsw.edu.au>
1814 * etc/redhat/nfsd.init (stop): moved exportfs -ua after
1815 stopping nfsd to stop spurious ESTALE on server shutdown.
1817 Tue Nov 23 10:13:39 1999 Neil Brown <neilb@cse.unsw.edu.au>
1819 * support/nfs/exports.c (parseopts): make copy of opt string
1820 before 'nul'ing out commas so that
1822 # exportfs -o option1,option2 hosta:/fs hostb:/fs
1824 applies both options to both exports.
1826 Thu Oct 28 12:55:42 1999 H.J. Lu <hjl@lucon.org>
1828 * README: Fix a few typos.
1830 * tools/rpcgen/rpc_cout.c (print_header): Use int32_t instead
1832 * tools/rpcgen/rpc_hout.c (pdefine): Likewise.
1833 * tools/rpcgen/rpc_main.c (c_initialize): Likewise.
1834 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1835 (unsigned_dec): Likewise.
1836 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1837 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1839 * tools/rpcgen/rpc_cout.c (emit_single_in_line): Use INT32
1841 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1842 (unsigned_dec): Likewise.
1843 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1844 * tools/rpcgen/rpc_scan.h (tok_kind): Likewise.
1845 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1847 Thu Oct 28 11:27:51 1999 Neil Brown <neilb@cse.unsw.edu.au>
1849 * support/include/nfs/export.h addedd NFSEXP_NOSUBTREECHECK
1850 * support/nfs/exports.c: added {no_,}subtree_check and changed
1852 * utils/exportfs/exports.man: added no_subtree_check and nohide
1853 and removed irrelevant stuff from unfsd.
1854 * support/export/rmtab.c: rmtab_read didn't quite do the right
1855 thing if a pathname from rmtab was a subdirectory of an export-point
1857 Tue Oct 26 17:22:40 1999 H.J. Lu <hjl@lucon.org>
1859 * README: Updated ftp site.
1861 Mon Oct 25 18:12:45 1999 H.J. Lu <hjl@lucon.org>
1863 * nfs-utils.spec (Version): Set to 0.1.2.
1865 * configure.in (VERSION): Set to "nfs-utils 0.1.2".
1866 * configure: Regenerated.
1870 Mon Oct 25 18:11:21 1999 H.J. Lu <hjl@lucon.org>
1872 * utils/mountd/auth.c (auth_error): Add "no_forward_dns".
1873 (auth_authenticate_internal): Check for NULL return on forward
1875 (auth_authenticate): Handle "no_forward_dns".
1877 Thu Oct 21 16:22:06 1999 H.J. Lu <hjl@lucon.org>
1879 * Version 0.1.1 released.
1881 * nfs-utils.spec (Version): Set to 0.1.1.
1883 * configure.in (VERSION): Set to "nfs-utils 0.1.1".
1884 * configure: Regenerated.
1888 Mon Oct 18 17:43:29 1999 H.J. Lu <hjl@lucon.org>
1890 * nfs-utils.spec (Obsoletes): Fixed a typo, change knfsd-client
1892 (Provides): Likewise.
1894 Mon Oct 18 14:56:22 1999 H.J. Lu <hjl@lucon.org>
1896 * Initial version 0.1 released.
1898 * configure.in (VERSION): Set to "nfs-utils 0.1".
1899 * configure: Regenerated.
1901 Mon Oct 18 14:54:57 1999 H.J. Lu <hjl@lucon.org>
1903 * utils/mountd/mountd.c (get_exportlist): Cleanup.
1905 * utils/exportfs/exportfs.c (unexport_all): Unexport from
1906 kernel only if the entry is exported to kernel.
1907 (unexportfs): Likewise.
1909 Wed Sep 08 16:49:32 1999 Neil Brown <neilb@cse.unsw.edu.au>
1911 1/ utils/mountd/rmtab.c::mountlist_list
1913 This routine stats the rmtab file to see if it has changed. It
1914 if has, it cleans up it's old copy of the data. But it still
1915 always re-read the file, thus returning multiple copies of the
1916 data on consecutive calls without intervening changes.
1917 "Showmount -a" didn't show this as it appears to sort/unique the
1918 data, but 'strace showmount -a' showed that the size of the
1919 datagram that it received grew.
1921 I moved the getrmtabent loop inside the mtime test.
1923 2/ utils/exportfs/exportfs.c
1925 Many routines used the m_path field of m_export instead of
1927 According to the comment in nfslib.h, m_path should only
1928 be used when processing a mount request (i.e. in mountd)
1929 where the mountpoint may be a subdirectory of the export point.
1931 I changed all occurances of m_path to e_path
1934 3/ utils/exportfs/exportfs.c:main
1936 extra arguments are not meaningful with -a or -r, but
1937 exportfs accepted them and then ignored the -a/-r, expect that
1938 -r would still unexport everything first.
1940 I generate an error if there are extra args and f_all
1942 4/ utils/exportfs/exportfs.c:main
1943 extract dump out as a special case.
1945 5/ utils/exportfs/exportfs.c
1946 made f_reexport a local variable.
1949 6/ utils/exportfs/exportfs.c:main,exportall
1951 support/export/rmtab.c
1952 only mayexport on newly created entries, don't set xtabent at all
1954 7/ support/include/nfslib.h
1956 add #define _PATH_PROC_EXPORTS to be /proc/fs/nds/exports
1958 8/ support/export/xtab.c
1960 xtab_mount_read loads data from _PATH_PROC_EXPORTS if it exists,
1964 9/ support/export/xtab.c
1966 xtab_mount_read now sets m_exported, and NOT
1967 xtabent and mayexport
1969 removed the append arguement from xtab_write as it was
1972 added is_export flag to xtab_write similar to xtab_read
1973 if is_export, only write entries with m_xtabent or m_addxtab
1974 if !is_export, only write entries with m_exported
1976 10/ support/export/export.c::export_allowed_internal
1978 added test for exp->m_mayexport, as the export tree
1979 may have entries that are no longer allowed to be exported,
1980 and so shouldn't caused deduced exported by rmtab_read
1982 11/ utils/exportfs/exportfs.c::main
1983 error checking of flags.
1985 12/ utils/exportfs/exportfs.c
1987 total rewrite of export and unexport logic.
1989 - build an exportslist of valid exports, based on
1990 current etab file and arguments,
1991 - read rmtab to instantiate relevant wild card entries
1992 - read etab to find out what is currently exported
1993 - synchronise intention with reality
1994 - write out etab and xtab
1997 discard the m_addxtab flag
1998 add m_changed flag so we know what to report in exportfs
2000 14/ utils/mountd/auth.c:auth_authenticate
2002 the value returned by gethostbyaddr was trusted.
2004 It now follows this with a call to gethostbyname
2005 and checks that the address is in the list.
2007 15/ support/export/nfsctl.c::cltsetup,expsetup
2009 force client names to lowercase as kernel is
2012 16/ quietened a few compiler warnings
2014 17/ support/export/client:client_lookup
2016 look for pre-existing client with same name before creating
2019 18/ support/include/exportfs.h
2021 The ordering of the MCL_* enum was:
2022 ANONYMOUS, FQDN, SUBNETWORK, WILDCARD, NETGROUP
2024 I moved ANONYMOUS to the end.
2026 The ordering is significant when an export entry is being searched for to
2027 match a given address. There are two problems with ANONYMOUS being first.
2029 1/ if a directory is exported rw to a couple of hosts and ro to everyone else,
2030 then the ro case will always be found first and the privileged hosts won't get
2032 2/ When mountd gets a request to mount an ANONYMOUSly exported tree, it creates a FQDN
2033 export entry for the specific host, and writes it to xtab.
2034 When another request comes from the same host, the ANONYMOUS entry is found again,
2035 before the new FQDN entry, so it creates another FQDN entry and writes it to xtab
2036 again. If causes bloat in xtab.
2038 Putting ANONYMOUS at the end reflects it's nature as a catch-all
2040 19/ utils/exportfs/exportfs.man
2041 many updates to the man page to reflect changes to the code
2043 -----------------------
2049 - allow exportfs to modify rmtab file
2050 - make sure kernel never gets two clients with same IP address
2051 - possible kernel should reject
2052 - needs to be some way to lookup client in kernel by IP address
2053 - maybe get kernel to do case-insensitive comparisons on client names
2054 - remove unused clients from kernel
2056 - change etab to xtab and xtab to xtab.active
2058 - timestamp and/or statd-stamp in rmtab for removing old entries.
2060 Mon Oct 18 11:48:07 1999 H.J. Lu <hjl@lucon.org>
2062 * linux-nfs: New directory.
2063 * linux-nfs/ChangeLog: Moved from ..
2064 * linux-nfs/INSTALL: Likewise.
2065 * linux-nfs/KNOWNBUGS: Likewise.
2066 * linux-nfs/NEW: Likewise.
2067 * linux-nfs/README: Likewise.
2068 * linux-nfs/THANKS: Likewise.
2069 * linux-nfs/TODO: Likewise.
2071 * Starting from knfsd 1.4.7.