1 2005-08-26 Kevin Coffman <kwc@citi.umich.edu>
3 Consolidate some of the Kerberos checking instead of repeating
4 the same things for MIT and Heimdal.
5 Also adds more checks to distinguish 32-bit from 64-bit
7 Fix svcgssd Makefile so make TOP=../../ works correctly there.
8 Enable running a modern autoheader.
9 * utils/gssd/gss_oids.c: Use correct OID value for SPKM-3
10 * utils/gssd/gss_util.c: Fix build with older MIT releases that do not define GSS_C_NT_HOSTBASED_SERVICE
11 * utils/gssd/write_bytes.h, support/include/gssapi/gssapi.h:
12 Length of gss_buffer_desc is a size_t which is 64-bits on a
13 64-bit machine. Kernel code expects 32-bit integer for length.
14 Coerce length value into a 32-bit value when reading from or
15 writing to the kernel.
16 Change gssapi.h to use datatype size values obtained from
17 configure rather than hard-coded values.
18 * utils/idmapd/idmapd.c: The EV_INIT check here was wrong, and was
19 causing idmapd to become unresponsive to server requests after
21 * utils/idmapd/idmapd.c: Idmapd should flush the server id<->name
22 caches when its started.
24 2005-04-12 G. Allen Morris III <gam3@gam3.net>
26 * All Makefile: added TOP as needed for easier compile.
28 * utils/nfsstat/nfsstat.c: added NFS V4 support; added the -m
29 option; Added -2, -3, and -4 options; changed -a option to -v
30 option; added long options; changed default output to not
31 show V2 NFS statistics unless used.
33 * utils/nfsstat/nfsstat.man: Documented above changes; changed
34 authors email address; added BUGS section.
36 2005-04-07 Chip Salzenberg <chip@pobox.com>
38 * debian/changelog: Version 1.0.7-2.
40 2005-04-06 Chip Salzenberg <chip@pobox.com>
42 * config.guess, config.sub: Update.
44 * support/rpc/svc_auth_gss.c (_svcauth_gss): Avoid using a cast as
45 an lvalue, as it is non-portable.
47 * support/nfs/exports.c (parseopts): Accept "acl" option to mean
48 ~NFSEXP_NOACL, and "no_acl" to mean NFSEXP_NOACL.
49 (putexportent): Report NFSEXP_NOACL as "no_acl", and ~NFSEXP_NOACL
51 * utils/exportfs/exportfs.c (dump): Report NFSEXP_NOACL as
53 * utils/exportfs/exports.man: Document "no_acl".
55 2005-03-14 NeilBrown <neilb@cse.unsw.edu.au>
56 Denis Vlasenko <vda@ilport.com.ua>
57 * support/export/client.c(client_init and client_gettype):
58 treat N.N.N.N as a special case of MCL_SUBNETWORK instead of
61 2005-03-06 G. Allen Morris III <gam3@gam3.net>
62 * support/nfs/cacheio.c(readline): Could not read lines greater
63 than 128 bytes. [1157791]
64 * utils/exportfs/exports.man: Added a SEE ALSO section and
65 fixed 2 typos. [1018450]
67 2005-02-28 Trond Myklebust <trond.myklebust@fys.uio.no>
68 * utils/statd/rmtcall.c(statd_get_socket): If a port number is
69 explicitly given, make sure to try to bind to that.
71 2005-01-11 Chip Salzenberg <chip@pobox.com>
73 * debian/changelog: Version 1.0.7-1.
74 * debian/nfs-common.default (NEED_IDMAPD, NEED_GSSD):
75 Disable by default, on advice of upstream.
76 * debian/nfs-kernel-server.default (NEED_SVCGSSD):
79 * utils/svcgssd/Makefile (predep): Symbolically link duplicated
81 (distclean): Remove symlinks to duplicated files.
83 2004-12-17 NeilBrown <neilb@cse.unsw.edu.au>
86 * config.mk, configure.in: update version number, run autoconf
87 * configure.in: require nfsidmap.h if gss is enabled.
89 2004-12-10 NeilBrown <neilb@cse.unsw.edu.au>
92 * config.mk, configure.in: update version number, run autoconf
94 2004-12-10 Neil Brown <neilb@cse.unsw.edu.au>
95 * README : note dependancy on kerberos, libevent, and nfsidmap
96 * configure.in : fail if --enable-nfsv4 and libevent or
97 libnfsidmap are missing.
98 * configuyre.in: improve message if krb5 support is missing
100 2004-12-06 Paul Clements <paul.clements@steeleye.com>
101 * support/include/ha-callout.h: get return status from waitpid
103 * support/include/ha-callout.h: don't ignore SIGCHLD while waiting
104 for a callout to complete.
105 * utils/statd/statd.c(sigusr): print current start when re-reading
106 notify list due to SIGUSR1
107 * utils/statd/svc_run.c(my_svc_run): call change_state when
108 re-notifying clients.
110 2004-12-06 Marc Eshel <eshel@almaden.ibm.com>
111 * utils/statd/svc_run.c(my_svc_run): allow loop to exit when in
113 *utils/statd/rmtcall.c(statd_get_socket): if a hostname is given
114 to statd with -n, prefer it's IP address to the default for
117 2004-12-06 Bruce Allan <bwa@us.ibm.com>
118 * utils/mountd/auth.c(auth_reload) Clear the "my_client" cache on
119 an auth_reload to avoid old data getting used.
121 2004-12-03 NeilBrown <neilb@cse.unsw.edu.au>
122 Release 1.0.7-pre1 for testing
124 * config.mk, configure.in: update version number, run autoconf
126 2004-12-03 Trond Myklebust <trond.myklebust@fys.uio.no>
128 * utils/statd/statd.c(main): ignore SIGPIPE
130 2004-11-22 "J. Bruce Fields" <bfields@fieldses.org>
132 * tools/rpcdebug/rpcdebug.c: support aliases "nfsdebug" and
133 "nfsddebug" and update flag names.
134 * configure.in, nodist/* redhat/* nfs-utils.spec*: remove redhat
135 specific files (as no-one actually uses them, especially not
136 redhat), and the nodist /etc files (as they drift out-of-date, and
137 the debian directory provides a suitable example.
138 * utils/svcgssd_proc.c(get_ids): fix memory leak
139 * utils/svcgssd/svcgssd_proc.c: Rely on count of the number of
140 groups instead of using a special guard value to identify the end
142 * utils/idmapd/idmapd.c: don't allow Default domain and anon-uid
143 or -gid to be specified on command line.
144 * utils/idmapd/idmapd.c: improve error messages
145 * utils/idmapd/idmapd.c: Reopen nfsd files on sighup. Allows us
146 to start up client side only (even when nfsd module not loaded),
147 and then sighup later after insmodding nfsd module.
148 * utils/idmapd/idmapd.c: Make sure we catch all errors on
149 daemonizing by waiting for child to report succesfull startup
151 * utils/idmapd/idmapd.c: Let libnfsidmapd parse the idmapd.conf
152 file for the default domain, instead of doing that ourselves.
153 * utils/gssd/gssd_proc.c: Make sure we get an error when a gssd
155 * utils/gssd/gssd_proc.c: We were forgetting to restore the euid
156 on certain failures, which meant gssd could get stuck in a state
157 where it didn't have permissions to read the files in rpc_pipefs
159 * utils/gssd/gssd_proc.c: Use libnfsidmapd to map gss principals
161 * debian/nfs-kernel-server.default: Document the NEED_SVCGSSD
162 variable in /etc/default/nfs-kernel-server.
165 2004-11-22 NeilBrown <neilb@cse.unsw.edu.au>
167 * utils/exportfs/nfsd.man: corrected typo in .BR macro usage -
168 reported by Eric Raymond
170 2004-10-19 "J. Bruce Fields" <bfields@fieldses.org>
172 * support/gssapi/* support/rpc/* utils/gssd/* utils/svcgssd/* etc
173 initial support for GSSAPI authentication
175 2004-09-15 Neil Brown <neilb@cse.unsw.edu.au>
177 * utils/statd/monitor.c(sm_unmon_1_svc): is RESTRICTED_STATD, then
178 check IP address and force my_name to 127.0.0.1 to match
179 what happens in sm_mon_1_svc. This avoid spurious "erroneous
181 * utils/statd.monitor.c(sm_unmon_all_1_svc): likewise
183 2004-09-15 "J. Bruce Fields" <bfields@fieldses.org>
185 * Assorted changes to support "gss/*" style authentication
186 * utils/idmapd: new idmapd daemon for nfsv4 username lookup
188 2004-09-06 Trond Myklebust <trond.myklebust@fys.uio.no>
189 Neil Brown <neilb@cse.unsw.edu.au>
191 * utils/mountd/auth.c(auth_authenticate_internal): fix
192 uninitialsed variable problem (causes bad error messages).
194 2004-09-06 Paul Clements <paul.clements@steeleye.com>
195 Neil Brown <neilb@cse.unsw.edu.au>
197 * utils/mountd/mountd.c(main): support --ha-callout (-H) for
198 specifying a callout program
199 * utils/mountd/rmtab.c: Call ha_callout on mount/unmount
200 * utils/statd/monitor.c: Call ha_callout on add/del client
201 * utils/statd/rmtcall.c: as above
202 * utils/statd/statd.c: handle --ha-callout (-H)
203 * utils/statd/svc_run.c: call notify_hosts is we have received a
205 * support/include/ha-callout.h: define ha_callout function
208 2004-08-31 NeilBrown <neilb@cse.unsw.edu.au>
209 * utils/mountd/cache.c(cache_process_req): clear fd after
210 processing so as not to confused libc/sunrpc into thinking
211 it need to do something with that fd.
213 2004-08-31 NeilBrown <neilb@cse.unsw.edu.au>
215 * debian/nfs-kernel-server.init(start,stop) mount the nfsd
216 filesystem, if available, before starting nfs services, and
217 unmount it afterwards.
218 * etc/nodist/nfs-server: ditto
219 * etc/redhat/nfs.init: likewise
220 * etc/redhat/nfs: add "MOUNT_NFSD" flag to control above.
222 2004-06-08 NeilBrown <neilb@cse.unsw.edu.au>
224 * utils/exportfs/exportfs.c: Don't rmtab_read if new_cache, it
226 * support/nfs/cacheio.c(cache_flush): Change order in which caches
227 are flushed so that dependancies don't keep things in the cache
230 2004-03-18 Chip Salzenberg <chip@pobox.com>
232 * debian/changelog: Version 1.0.6-2.
234 2004-02-24 NeilBrown <neilb@cse.unsw.edu.au>
235 from "J. Bruce Fields" <bfields@fieldses.org>
237 * utils/mountd/cache.c: call auth_reload to make sure auth data is
238 current before responding to kernel upcall.
240 2004-02-24 NeilBrown <neilb@cse.unsw.edu.au>
241 Based on patch from Greg Banks <gnb@melbourne.sgi.com>
243 * utils/exportfs/exports.man: Document fsid= option.
245 2003-09-15 NeilBrown <neilb@cse.unsw.edu.au>
249 * rules.mk: Add dep: rule when no OBJS, so "make dep" works in
250 support/include, and depend in "predep"
251 * support/export/Makefile, tools/rpcgen/Makefile,
252 utils/statd/Makefile: add "predep" rule so that "make dep" works.
253 * Makefile: allow a simple "make" to run ./configure and "make dep"
255 * configure.in, nfs-utils.spec: Update version to 1.0.6
258 2003-09-12 Chip Salzenberg <chip@pobox.com>
260 * debian/changelog: Version 1.0.6-1.
262 2003-09-12 NeilBrown <neilb@cse.unsw.edu.au>
264 * utils/mountd/mountd.c(main): Impose FD_SETSIZE as an upper limit
266 * utils/statd/statd.c(main): Ditto.
268 michael <michael@newdream.net> discovered that svc_setreqsize
269 in glibc can segfault if RLIMIT_NOFILE is bigger than
270 FD_SETSIZE, so a simple solution is to impose a hard limit.
272 2003-09-09 Chip Salzenberg <chip@pobox.com>
274 * debian/changelog: Version 1.0.5-3.
275 * support/export/hostname.c (get_reliable_hostbyaddr): Fix crash
276 on invalid reverse DNS.
277 * utils/showmount/showmount.c (main): Fix inet_ntoa() parameter.
278 * tools/rpcgen/rpc_cout.c (print_header): Remove unused vars.
279 * tools/rpcgen/rpc_parse.c (def_union): Likewise.
281 2003-08-22 Chip Salzenberg <chip@pobox.com>
283 * utils/statd/{log.h,log.c}: Rename log() to note() and L_* to
284 N_*, to avoid conflict with ISO C built-in log() function.
285 * utils/statd/*.c: Use note().
287 2003-08-20 Chip Salzenberg <chip@pobox.com>
289 * debian/changelog: Version 1.0.5-2.
291 2003-08-11 NeilBrown <neilb@cse.unsw.edu.au>
293 * utils/mountd/cache.c(cache_get_filehandle): close the filehandle
296 2003-08-04 NeilBrown <neilb@cse.unsw.edu.au>
298 * support/include/nfs/export.h, support/nfs/exports.c,
299 utils/exportfs/exports.c, utils/mountd/mountd.c: change
300 NFSEXP_CROSSMNT to NFSEXP_CROSSMOUNT to avoid confusion with older
301 meaning. Also remove meaningless
302 NFSEXP_{UIDMAP,KERBEROS,SUNSECURE}
304 2003-08-04 NeilBrown <neilb@cse.unsw.edu.au>
306 * support/export/xtab.c, support/include/nfslib.h,
307 support/nfs/cacheio.c, support/nfs/nfssvc.c,
308 utils/exportfs/exportfs.c, utils/exportfs/exportfs.man,
309 utils/exportfs/nfsd.man, utils/mountd/cache.c: support
310 /proc/fs/nfsd/* as a perferred alternate to /proc/fs/nfs/*
311 (nfs-utils-1.0.5-post2)
313 2003-08-04 NeilBrown <neilb@cse.unsw.edu.au>
315 * support/nfs/nfsexport.c: open channel file O_WRONLY when
317 * utils/mountd/cache.c: maintain mountlist when new_cache is
318 active. Also use O_WRONLY for channel files.
319 * utils/mountd/mountd.h: mountlist_{del,add} now take a host name
320 rather than an nfs_export.
321 * utils/mountd/rmtab.c: ditto.
322 (nfs-utils-1.5.0-post1)
324 2003-07-24 Chip Salzenberg <chip@pobox.com>
326 * support/nfs/xlog.c (xlog): Revise buffer-overflow fix to
327 use Debian security team's cleaner approach.
328 * debian/changelog: Version 1.0.5-1.
329 * debian/nfs-kernel-server.init: Cosmetic changes.
331 2003-07-18 NeilBrown <neilb@cse.unsw.edu.au>
334 1.0.4 was a bit of a brown-paper-bag-release because of the extra
335 'free' in auth.c. So I'm releasing this just a few days later.
337 * support/nfs/cacheio.c(cache_flush): Correct test for 'open
339 * utils/exportfs/exportfs.c(main): If "-f" given as lone option,
340 check if new_cache is enabled, error if not, flush and exit if it
342 * utils/exportfs/exportfs.man: Explain -f option and explain the
343 two different modes that exportfs can work in.
344 * utils/mountd/mountd.c: Do not change RLIMIT_NOFILE if the -o
346 * utils/mountd/mountd.man: Record the change if default behaviour
348 * configure.in, nfs-utils.spec: update version to 1.0.5 and
351 2003-07-15 NeilBrown <neilb@cse.unsw.edu.au>
353 * utils/mountd/mountd.c(main): getopt string fix for 'o'
354 * utils/mountd/auth.c(auth_authenticate): remove extra 'free'
355 * utils/exportfs/exportfs.c(main): make 'exportfs -f' just flush
357 * support/include/nfs/export.h: Reserve a bit for possible ACL
360 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
362 * utils/exportfs/nfsd.man: new man page for nfsd filesystem. Also
363 assorted changed to cope with section 7 of the manual.
364 * configure.in, nfs-utils.spec: Update version to 1.0.4
367 This is a 'pre-release' for 1.1.0 Hopefully 1.1.0 will be the
368 baseline for 2.6 and 2.8. I.e. it should continue to work right
369 through the 2.8 (or 3.0) kernel series. Previous releases wont.
371 2003-07-04 NeilBrown <neilb@cse.unsw.edu.au>
372 Steve Dickson <SteveD@redhat.com>
375 * utils/statd/statd.c: create a pidfile with pid of statd, and
376 truncate it when statd exists.
377 * utils/statd/statd.c: drop privs by setuid to owner of SM_DIR,
378 and warn if this is root.
379 * utils/statd/statd.c: when statd forks, connect child to parent
380 with a pipe, and send a byte down the pipe once the child is
382 * Makefile: create and chown sm, sm.bak, state when "make install"
383 * configure.in: add --with-statduser= option which defaults to
384 "rpcuser" or "nobody"
385 * config.mk.in: pass "statduser" through to Makefile
387 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
389 * support/include/nfs/nfs.h: Make sure correct __kernel_dev_t is
390 used as the size was changed somewhere in 2.5.60-2.5.70. Without
391 this nfs-utils compiles against 2.6 headers will not work on a
394 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
396 * support/nfs/nfssvc.c(nfssvc): If /proc/fs/nfs/threads exists,
397 set number of threads by writing to there. This means it will
398 still work when the syscall interface goes away in 2.7.
400 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
401 fumihiko kakuma <kakmy@mvh.biglobe.ne.jp>
403 * utils/exportfs/exportfs.c(unexportfs): improve host comparison
404 so as to only export the wildcard exports that were asked for.
405 * support/export/export.c(export_allowed): changed to return the
406 nfs_export rather than a "struct exportent", as m_changed is
408 * support/export/rmtab.c(rmtab_read): modified to deal with
409 interface change for export_allowed(), and enhanced to preserve
410 m_changed flag when a wild-card export causes the creation of
411 a non-wildcard export.
413 2003-07-02 NeilBrown <neilb@cse.unsw.edu.au>
414 Steve Dickson <SteveD@redhat.com>
416 * utils/mountd/mountd.man: Add valid kinds of debugging.
417 * utils/mountd/mountd.c(main): ignore SIGPIPE
418 * utils/nfsstat/nfsstat.c: fine-tune printing of warning so
419 we don't get warnings about unavailable stats that weren't asked
422 2003-06-24 NeilBrown <neilb@cse.unsw.edu.au>
424 * support/nfs/nfsexport.c(exp_unexp): When unexporting filesystems
425 via /rpc/net/rpc/nfsd*/channel, set the expiry date to 1, not
426 'forever', so things disappear out of the cache rather than just
429 2003-06-16 "J. Bruce Fields" <bfields@fieldses.org>
431 * utils/mountd/cache.c(nfsd_fh): don't export the export_ent
434 2003-06-16 NeilBrown <neilb@cse.unsw.edu.au>
436 * debian/nfs-kernel-server.init,etc/nodist/nfs-server,
437 etc/redhat/nfs.init: when checking if V3 is supported, make sure
438 nfs server 'knows' about 127.0.0.1 first.
440 2003-06-10 Chip Salzenberg <chip@pobox.com>
442 * support/nfs/xlog.c (xlog): Fix off-by-one buffer overflow bug.
443 * debian/changelog: Version 1.0.3-2.
445 2003-05-30 Michael Griffith <grif@michaelgriffith.com>
446 NeilBrown <neilb@cse.unsw.edu.au>
448 utils/nfsstat/nfsstat.c(print_callstats): use unsigned
449 long long to avoid overflow when printing stats.
451 2003-05-30 NeilBrown <neilb@cse.unsw.edu.au>
453 * support/export/export.c, support/include/nfslib.h,
454 support/nfs/export.c, utils/exportfs/exportfs.c,
455 utils/mountd/mountd.c: new export option "mountpoint"
456 If no path is given, then the export point must be a
457 mount point, or it won't be exported. If a path is
458 given (e.g. mountpoint=/path) then that path must be
459 a mountpoint or the exportpoint won't be exported.
460 * utils/exportfs/exportfs.man: document mountpoint option.
461 * support/misc/mountpoint.c: New file with is_mountpoint()
462 to determine if something is a mountpoint.
464 2003-05-23 NeilBrown <neilb@cse.unsw.edu.au>
466 * utils/mountd/cache.c(cache_get_filehandle): take a separate path
467 argument as we might not be getting the filehandle for the
469 * utils/mountd/mountd.c(get_rootfh): pass real path when calling
470 cache_get_filehandle.
471 * utils/mountd/mountd.c(get_rootfh): check export point and
472 requested directory are on the same filesystem, and complain if
475 2003-05-22 NeilBrown <neilb@cse.unsw.edu.au>
477 * utils/mountd/auth.c(auth_authenticate_internal): make sure
478 portnumber is still checked when using new cache lookup.
480 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
482 * utils/exportfs/exportfs.c: Use check_new_cache and cache_flush
483 Don't actually talk to kernel when new cache is in effect, except
485 * utils/exportfs/exportfs.c: add -f option to fully flush cache.
486 * support/export/xtab.c: Only rename new xtab into place if it has
487 changed, thus preserving modify date for exportfs to use when
489 * support/nfs/cacheio.c: Add cache_flush
490 * support/export/xtab.c: Only rename new xtab into place if it has
491 changed, thus preserving modify date for exportfs to use when
494 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
496 * support/export/client.c: Add client_compose, client_member to
497 handle new composite client names
498 * support/include/exportfs.h: Declare above functions.
499 * utils/mountd/auth.c: use client_compose to determine calling
500 client if new cache is being used.
501 * utils/mountd/auth.c: call cache_export to export a filesystem if
502 new_cache, check if new cache is used, and call my_svc_run instead
504 * utils/mountd/svc_run.c: new file defining my_svc_run
505 * utils/mountd/cache.c: new file for handling cache upcalls.
506 * support/nfs/cacheio.c(check_new_cache): new function to check if
507 new cache should be used.
510 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
512 * support/include/nfs/export.h: New CROSSMNT distinct from NOHIDE
513 * support/nfs/exports.c: Make CROSSMNT distinct from NOHIDE
514 * utils/exportfs/exportfs.c(dump): ditto
516 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
518 * support/export/hostname.c(get_reliable_hostbyaddr): new function
519 to get host name from address with full checking of authenticity.
520 * support/include/misc.h: declare above function
521 * utils/mountd/auth.c(auth_authenticate_internal): remove all
522 logic for authenticating address.
523 * utils/mountd/auth.c(auth_authenticate): call new
524 get_reliable_hostbyaddr to to hostname lookup before calling _internal.
527 2003-03-30 NeilBrown <neilb@cse.unsw.edu.au>
529 * tools/rpcgen/rpc_main.c(find_cpp): removed
530 * tools/rpcgen/rpc_main.c(open_input): use execvp to find "cpp",
531 then try hard-coded paths.
533 2003-03-26 Chip Salzenberg <chip@pobox.com>
535 * debian/changelog: Version 1.0.3-1.
537 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
539 * utils/mountd/rmtab.c (slink_safe_rename): real_newpath should be
540 "const char*", not "char*".
542 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
544 * configure.in (VERSION): Set to "1.0.3".
545 * nfs-utils.spec: Likewise.
546 * configure: Regenerated.
548 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
550 * support/nfs/cacheio.c: New File - support for read/writing
551 to export cache in /proc/rpc/*/channel
552 * support/nfs/Makefile: compile cacheio.c
553 * support/include/nfslib.h: declare cacheio.c functions
554 * support/nfs/nfsexport.c: export and unexport through
555 /proc/rpc/*/channel if possible, as old syscall interface
556 may not survive into 2.6 on all architectures.
558 2003-02-19 NeilBrown <neilb@cse.unsw.edu.au>
559 Ben Leslie <benno@sesgroup.net>
561 * support/nfs/rpcmisc.c(rpc_init): change test for ignoring
562 "defport" from (__rpcfdtype == 0) to (__rpcpmstart==0). The
563 former would incorectly ignore defport if the application
564 explicitly set __rpcfdtype. The later is sufficient to avoid the
565 special handling in the case where stdin is an internet socket.
567 * utils/mountd/mountd.c(main): Add 'n' to option list in
568 getopt_long as this is a short form of --no-tcp which want being
571 2003-02-12 Chip Salzenberg <chip@pobox.com>
573 * debian/changelog: Version 1.0.2-2.
575 2002-11-27 Chip Salzenberg <chip@pobox.com>
577 * utils/mountd/rmtab.c (slink_safe_rename): Fix off-by-one buffer
578 overflow bug. Reformat per rest of source file.
580 2002-11-19 NeilBrown <neilb@cse.unsw.edu.au>
582 * utils/exportfs/exports.man: Correct notes about whether the wild
583 card characters match a period. They do.
585 2002-10-15 Juan Gomez <juang@us.ibm.com>
587 * utils/mountd/rmtab.c (slink_safe_rename): New. Support
589 (mountlist_add): Call slink_safe_rename instead of rename.
591 2002-10-11 H.J. Lu <hjl@lucon.org>
593 * support/include/exportfs.h (export_errno): New.
595 * support/nfs/exports.c: Include <errno.h>.
597 (getexportent): Set export_errno to EINVAL for bad option.
598 (parseopts): Likewise.
599 Report the location of the default sync/async option.
601 * utils/exportfs/exportfs.c (main): Initialize export_errno to
602 0. Return export_errno.
604 2002-10-11 Juan Gomez <gomez@cs.sjsu.edu>
605 NeilBrown <neilb@cse.unsw.edu.au>
607 utils/statd/statd.c(killer): don't pmap_unset if in notify_only mode
608 utils/statd/statd.c(main): don't pmap_unset if in notify_only mode
610 2002-09-16 Chip Salzenberg <chip@pobox.com>
612 * utils/rquotad/rquota_svc.c (main): Use int for value of getopt.
614 2002-09-15 Chip Salzenberg <chip@pobox.com>
616 * support/nfs/rpcmisc.c (rpc_init): Allow stdin to be a non-INET
617 socket, as occurs when run from sshd.
618 * debian/changelog: Version 1.0.2-1.
620 2002-09-12 H.J. Lu <hjl@lucon.org>
622 * support/nfs/svc_socket.c: Remove HAVE_SVCTCP_SOCKET and
625 2002-09-12 H.J. Lu <hjl@lucon.org>
627 * configure.in: Remove checking svctcp_socket and svcudp_socket.
628 * configure: Regenerated.
630 * support/include/config.h.in (HAVE_SVCTCP_SOCKET): Removed.
631 (HAVE_SVCUDP_SOCKET): Removed.
633 * support/include/nfslib.h: Undo the last change.
635 2002-09-12 H.J. Lu <hjl@lucon.org>
637 * support/include/nfslib.h (svctcp_socket): Protect it with
639 (svcudp_socket): Protect it with HAVE_SVCUDP_SOCKET.
641 2002-09-12 H.J. Lu <hjl@lucon.org>
643 * configure.in (VERSION): Set to "1.0.2".
644 * configure: Regenerated.
645 * nfs-utils.spec: Likewise.
647 2002-09-12 H.J. Lu <hjl@lucon.org>
649 * configure.in: Check svctcp_socket and svcudp_socket.
650 * configure: Regenerated.
652 * support/include/config.h.in (HAVE_SVCTCP_SOCKET): New.
653 (HAVE_SVCUDP_SOCKET): New.
655 * support/include/nfslib.h (svctcp_socket): New.
656 (svcudp_socket): New.
658 * support/nfs/Makefile (OBJS): Add svc_socket.o.
660 * support/nfs/svc_socket.c: New.
662 * support/nfs/rpcmisc.c (rpc_init): Call svctcp_socket and
663 svcudp_socket if port is unspecified.
665 * utils/nfsd/nfsd.c (main): Call getservbyname for port.
667 * utils/rquotad/rquota_svc.c: Include <nfslib.h>.
668 (killer): New. Signal handler to unregister.
669 (main): Use killer. Call svcudp_socket to get the default
672 2002-09-02 Juan Gomez <juang@us.ibm.com>
673 NeilBrown <neilb@cse.unsw.edu.au>
675 Add -N option to statd to run in notify-only mode.
677 * utils/statd/statd.h: uncomment MODE_NOTIFY_ONLY
678 * utils/statd/statd.man: document -N
679 * utils/statd/statd.c: enabled -N, largely exists but needed to be
680 uncommented and completed
682 2002-09-02 Juan Gomez <juang@us.ibm.com>
683 NeilBrown <neilb@cse.unsw.edu.au>
685 statd to have " -P directory" arg to use that directory instead
686 of /var/lib/nfs. This is useful for fail-over clusters.
688 * utils/statd/statd.h: define SM_DIR etc as var, not const.
689 * utils/statd/statd.c: define "-P" option to set SM_*
691 * utils/statd/monitor.c: sprintf to cope with SM_DIR not being
693 * utils/statd/notify.c: ditto.
694 * utils/statd/statd.man: document -P option.
696 2002-08-26 Chip Salzenberg <chip@pobox.com>
698 * utils/nfsd/nfsd.man: Fix typo.
699 * debian/changelog: Version 1.0.1-1.
701 2002-05-29 NeilBrown <neilb@cse.unsw.edu.au>
703 * let parseopts know if /etc/exports was being read or not,
704 and have it only print "no sync or async" warning in that case.
706 2002-05-06 Tom McNeal <trmcneal@attbi.com>
707 NeilBrown <neilb@cse.unsw.edu.au>
709 * utils/nfsstat/nfsstat.c: Handle differing format for
710 /proc/net/rpc/nfsd between pre and post 2.4.0
712 2002-04-09 NeilBrown <neilb@cse.unsw.edu.au>
713 James Pearson <james-p@moving-picture.com>
715 * support/nfs/rmtab.c(fendrmtabent): sync changes to
716 storage before returning, as this is critical state
718 2002-04-08 Sean O'Connell <sean@ee.duke.edu>
719 H.J. Lu <hjl@lucon.org>
721 * etc/redhat/nfs: New.
723 2002-04-08 H.J. Lu <hjl@lucon.org>
725 * etc/redhat/nfs.init: Updated.
727 * nfs-utils.spec.in: Updated.
728 * nfs-utils.spec: Regenerated.
730 * utils/mountd/mountd.c (longopts): Fix a typo.
732 * utils/mountd/mountd.man: Updated.
734 2002-04-07 H.J. Lu <hjl@lucon.org>
736 * etc/redhat/nfslock.init (restart): Just do stop and start.
738 * etc/redhat/nfs.init: Fix a typo.
740 2002-04-07 H.J. Lu <hjl@lucon.org>
742 * configure.in (VERSION): Set to "1.0.1".
743 * configure: Regenerated.
744 * nfs-utils.spec: Likewise.
746 * README: Updated for 1.0.1.
748 2002-04-07 Sean O'Connell <sean@ee.duke.edu>
749 H.J. Lu <hjl@lucon.org>
751 * etc/redhat/nfs.init: Read /etc/sysconfig/nfsd for NFS tuning.
753 2002-02-28 Steven Whitehouse <steve@gw.chygwyn.com>
754 NeilBrown <neilb@cse.unsw.edu.au>
756 Add support for fsid=nn export option so that device
757 numbers don't go in filehandles.
758 * support/export/nfsctl.c(expsetup): if exporting and NFSEXP_FSID
759 is set, pass the fsid in-place of the device number
760 * support/nfs/exports.c: parse and print fsid= option.
761 Also check if efname has been set, and use "command line"
762 instead in error messages.
763 Also, use strtol instead of atoi for anon[ug]id= so that
764 bad numbers cause errors.
766 2002-01-17 Adrian Drzewiecki <drze@MissionCriticalLinux.com>
767 NeilBrown <neilb@cse.unsw.edu.au>
769 * support/nfs/exports.c: remove NFSEXP_ASYNC as a default
770 flag so that "sync" becomes the default.
771 Check that either "sync" or "async" is given as an option
772 and warn if neither are present
773 * utils/exportfs/exports.man: change documentation for "sync"
774 to be documentation for "async".
775 * utils/exportfs/exportfs.man: note that "sync" is the default
779 2002-01-02 Chip Salzenberg <chip@pobox.com>
781 * support/export/nfsctl.c (expsetup): Don't export entries that
782 specify id mappings not supported by the kernel. No extant kernel
783 supports any significant mapping, only 'identity' (i.e. none).
784 When other mappings are supported, this code will need changing.
785 * debian/changelog: Version 1.0-2.
787 2001-12-26 Chip Salzenberg <chip@pobox.com>
789 * nfs-utils.spec (Version): Set to "1.0".
790 * configure.in (VERSION): Likewise.
791 * configure: Regenerated.
793 * debian/changelog: Version 1.0-1.
795 * utils/exportfs/exports.man: Emphasize the need for options to
796 immediately follow client names. Explain that wildcards don't
797 usually work on addresses, but may work when reverse DNS fails.
798 Comment out a leftover TP that was TPing our indentation.
799 * utils/mountd/mountd.man, utils/rquotad/rquotad.man,
800 utils/statd/statd.man: Remove refs to non-existent "hosts_allow(5)".
801 * debian/changelog: Version 0.3.3-6.
803 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
805 * support/export/client.c(client_lookup): If a host has multiple
806 IP addresses, then we must always use the result of a
807 gethostbyname, not that of gethostbyaddr for exporting
809 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
811 * support/export/client.c (client_lookup): use strcasecmp when
813 * support/nfs/export.c (getexportent): add fromkernel arg and use
814 different defaults as kernels prior to 2.4.11 assume different
815 defaults in /proc/fs/nfs/exports
816 * support/include/nfslib.h, support/export/export.c,
817 support/export/xtab.c: support extra "fromkernel" arg for
820 2001-12-13 Chip Salzenberg <chip@pobox.com>
822 * debian/changelog: Version 0.3.3-5.
824 2001-11-26 TAKAI Kousuke <takai@vlsi.kuee.kyoto-u.ac.jp>
826 * support/nfs/xio.c (xskip): Call `xungetc' instead of
827 `ungetc' to keep x_line more properly.
829 2001-11-26 Chip Salzenberg <chip@pobox.com>
831 * utils/showmount/showmount.c (main): Don't assume that strings
832 starting with digits are IP addresses.
833 * utils/nfsd/nfsd.c (main): Close all fds and reopen 0,1,2 on
834 /dev/null before nfssvc(). Use syslog to report nfssvc errors.
835 * support/misc/tcpwrapper.c, utils/mountd/mountd.man,
836 utils/rquotad/rquotad.man, utils/statd/statd.man: Fix comments and
837 man pages: We check host names *and* addresses with tcpwrappers.
838 * debian/changelog: Version 0.3.3-4.
840 2001-11-21 Chip Salzenberg <chip@pobox.com>
842 * support/nfs/clients.c (cfname): Added: current clients file name.
843 (setnfsclntent): Set it.
844 ({get,end}nfsclntent, syntaxerr): Use it.
845 * support/nfs/exports.c (efname): Added: current exports file name.
846 (setnfsexportent): Set it.
847 (endnfsexportent, parseopts, getexport, syntaxerr): Use it.
848 (parseopts): Accept old-style "crossmnt" option, for old xtabs.
849 * debian/changelog: Version 0.3.3-3.
851 2001-10-11 Chip Salzenberg <chip@pobox.com>
853 * utils/mountd/mountd.c (main): Close fds > 2 _before_ RPC init.
854 * debian/changelog: Version 0.3.3-2.
856 2001-10-08 Chip Salzenberg <chip@pobox.com>
858 * utils/mountd/mountd.c (main): When daemonizing, close all fds > 2.
859 * utils/Makefile.in: Remove old Makefile in target 'distclean'.
860 * utils/mountd/mountd.man: Update paths to /var/lib.
861 * debian/*: Version 0.3.3-1, with Debian-specific fixes.
863 2001-10-06 Preston Brown <pbrown@redhat.com>
865 * utils/nfsstat/nfsstat.man: Updated.
867 2001-09-24 H.J. Lu <hjl@lucon.org>
869 * configure.in (VERSION): Set to "0.3.3".
870 * configure: Regenerated.
871 * nfs-utils.spec: Likewise.
873 * README: Updated for 0.3.3.
875 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
877 Arrange that "exportfs -au" never does DNS lookup:
879 * support/export/client.c (client_lookup) : add "canonical"
880 flag which says that the hostname is known to be canonical, so
883 * support/export/export.c (export_create) : add "canonical"
884 flag to be passed down to client_lookup
885 * support/export/export.c (export_lookup) : Likewise
887 * support/export/xtab.c (xtab_read) : pass appropriate
888 "canonical" flag to export_lookup and export_create:
889 set if reading list of filesystems currently exports
892 * support/export/export.c (export_read) : pass 0 as
893 "canonical" flag to export_lookup and export_create
894 * support/export/rmtab.s (rmtab_read) : Likewise
896 * support/include/exportfs.h : redeclare various routines
897 to have "canonical" flag
899 * utils/exportfs/exportfs.c (main) : redo logic for
900 "-au" to read in what is currently exported, but never even
901 look at what "should" be exported.
903 * utils/exportfs/exportfs.c (unexportall) : remove this
904 routine. Functionality is completely included in
907 * utils/exportfs/exportfs.c (exportfs) : set "canonical"
908 flag to zero in calls to export_lookup and export_create.
911 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
912 Anne Milicia <milicia@missioncriticallinux.com>
914 * support/export/client.c (client_lookup) call gethostbyadd
915 to make sure that we have a canonical hostname, even for
917 * utils/exportfs/exportfs.c (exportfs) Likewise
919 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
921 * support/nfs/exports.c (putexportent): \octal quote any spaces
923 * support/nfs/xio.c (xgettok): recognise double-quote and
924 \octal quoting in path names
925 * utils/exportfs/exports.man: document quoting conventions
928 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
930 * utils/mountd/auth.c (auth_authenticate_internal): Reverse
931 change from 2000-08-02: It causes problems if someone exports
932 to both a hostname and IP addresses. nfs-utils must be
933 consistant about the canonical name that it chooses.
935 2001-08-17 Ragnar Kjørstad <nfs@ragnark.vestdata.no>
936 H.J. Lu <hjl@lucon.org>
938 * etc/redhat/nfslock.init (STATDARG): New. Pass it to rpc.statd.
940 * utils/statd/statd.c (longopts): Add "name".
941 (usage): Add "-n/--name".
942 (main): Set MY_NAME with "-n/--name".
944 * utils/statd/state.c (change_state): Set MY_NAME only if it
947 * utils/statd/statd.man: Updated for "-n/--name".
949 2001-07-26 H.J. Lu <hjl@lucon.org>
951 * nfs-utils.spec (Release): Set to 8.
953 2001-07-25 H.J. Lu <hjl@lucon.org>
955 * etc/redhat/nfs.init: Check if rpc.rquotad exists before doing
958 2001-06-27 H.J. Lu <hjl@lucon.org>
960 * etc/redhat/nfs.init: Run rpc.rquotad only if it exists.
962 2001-06-27 H.J. Lu <hjl@lucon.org>
964 * utils/rquotad/rquota_server.c: Don't call statfs () for
965 the block size. Use BLOCK_SIZE instead.
967 2001-06-27 H.J. Lu <hjl@lucon.org>
969 * config.mk.in (CC_FOR_BUILD): Renamed from BUILD_CC.
970 (CFLAGS_FOR_BUILD): New. Don't use @CFLAGS@.
972 * configure.in (enable_nfsv3): Set to yes by default.
973 (--enable-rquotad): Added
974 (AC_PROG_CXX): Removed.
975 (AC_OUTPUT): Add utils/Makefile.
976 (CC_FOR_BUILD): Renamed from BUILD_CC.
977 * configure: Regenerated.
979 * utils/Makefile: Removed.
981 * utils/Makefile.in: New.
983 * nfs-utils.spec.in (rquotad): New. Set to 0 to disable
985 (CC_FOR_BUILD): Renamed from BUILD_CC.
986 * nfs-utils.spec: Regenerated.
988 2001-06-15 Chip Salzenberg <chip@debian.org>
990 * debian/changelog: Version 0.3.2-2.
991 * debian/*.init: Minor fixes.
993 2001-06-07 Lon H. Hohberger <hohberger@missioncriticallinux.com>
995 * etc/nodist/nfs-server: Fixed a bug where the script would
996 disable mounts from NFSv3 clients if NFSv3 is present.
998 2001-06-05 H.J. Lu <hjl@lucon.org>
1000 * utils/mountd/mountd.c (longopts): Add "descriptors/o".
1001 (main): Support --descriptors/-o to set the limit of the number
1002 of open file descriptors.
1005 * utils/mountd/mountd.man: Updated for --descriptors/-o.
1007 2001-06-04 H.J. Lu <hjl@lucon.org>
1009 * nfs-utils.spec (Release): Set to 6.
1011 2001-05-28 H.J. Lu <hjl@lucon.org>
1013 * utils/lockd/lockd.c (main): chdir to NFS_STATEDIR.
1014 * utils/mountd/mountd.c (main): Likewise.
1015 * utils/nfsd/nfsd.c (main): Likewise.
1016 * utils/rquotad/rquota_svc.c (main): Likewise.
1018 2001-05-06 Anne Milicia <milicia@missioncriticallinux.com>
1020 * support/export/client.c (client_check): Check IP address
1023 2001-05-06 Neil Brown <neilb@cse.unsw.edu.au>
1025 * support/export/client.c (client_gettype): Treat `*' as
1028 2001-04-22 H.J. Lu <hjl@lucon.org>
1030 * nfs-utils.spec.in: Fix a typo.
1031 * nfs-utils.spec: Regenerated.
1033 2001-04-21 H.J. Lu <hjl@lucon.org>
1035 * nfs-utils.spec.in: Fix cross build.
1036 * nfs-utils.spec: Regenerated.
1037 (Release): Set to 5.
1039 2001-04-18 H.J. Lu <hjl@lucon.org>
1041 * nfs-utils.spec.in: Support cross build.
1042 * nfs-utils.spec: Regenerated.
1043 (Release): Set to 4.
1046 * config.guess: New.
1048 * config.mk.in (BUILD_CC): New.
1049 (CC): Set to $(BUILD_CC) if BUILD is defined.
1052 (RANLIB): Set to @RANLIB@.
1054 * configure.in: Check BUILD_CC, RANLIB, AR and LD.
1055 * configure: Regenerated.
1057 * tools/rpcgen/Makefile (BUILD): Set to true.
1059 2001-04-01 Chip Salzenberg <chip@valinux.com>
1061 * tools/rpcgen/rpc_svcout.c (write_timeout_func): Remove
1062 redundant, and sometimes broken, declaration of svc_fdset;
1064 * support/nfs/rpcmisc.c (closedown): Likewise.
1066 2001-03-21 H.J. Lu <hjl@lucon.org>
1068 * nfs-utils.spec: Regenerated.
1069 (Release): Set to 3.
1071 2001-03-21 Ion Badulescu <ionut@cs.columbia.edu>
1073 * utils/statd/statd.c (main): make sure file descriptors 0-2
1074 are open to /dev/null.
1076 2001-03-21 H.J. Lu <hjl@lucon.org>
1078 * support/nfs/rpcmisc.c: Restore the change made on 2001-03-10.
1079 * support/nfs/rpcmisc.c: Likewise.
1080 * utils/rquotad/rquota_svc.c: Likewise.
1081 * utils/rquotad/rquotad.man: Likewise.
1082 * utils/statd/Makefile: Likewise.
1083 * utils/statd/rmtcall.c: Likewise.
1084 * utils/statd/simulate.c: Likewise.
1085 * utils/statd/statd.c: Likewise.
1086 * utils/statd/statd.man: Likewise.
1088 2001-03-11 H.J. Lu <hjl@lucon.org>
1090 * configure.in (RELEASE): New. Default to 1, set by
1091 --with-release=XXX. Substitute nfs-utils.spec.
1092 * nfs-utils.spec.in (Release): Set to @RELEASE@.
1093 * configure: Regenerated.
1094 * nfs-utils.spec: Likewise.
1096 2001-03-11 H.J. Lu <hjl@lucon.org>
1098 * utils/rquotad/rquotad.man: Fix a typo.
1100 2001-03-11 H.J. Lu <hjl@lucon.org>
1102 * support/include/rpcmisc.h: Undo the change made on 2001-03-10.
1103 * support/nfs/rpcmisc.c: Likewise.
1104 * utils/rquotad/rquota_svc.c: Likewise.
1105 * utils/rquotad/rquotad.man: Likewise.
1106 * utils/statd/Makefile: Likewise.
1107 * utils/statd/rmtcall.c: Likewise.
1108 * utils/statd/simulate.c: Likewise.
1109 * utils/statd/statd.c: Likewise.
1110 * utils/statd/statd.man: Likewise.
1112 2001-03-10 H.J. Lu <hjl@lucon.org>
1114 * configure.in (VERSION): Set to "0.3.2".
1115 * configure: Regenerated.
1116 * nfs-utils.spec: Likewise.
1118 * README: Updated for 0.3.2.
1120 2001-03-10 Tavis Barr <tavis@boole.isetr.columbia.edu>
1122 * utils/rquotad/rquotad.man: Updated for -p.
1123 * utils/statd/statd.man: Likewise.
1125 2001-03-10 Ion Badulescu <ionut@cs.columbia.edu>
1127 * support/nfs/rpcmisc.c: export makesock()
1129 * support/include/rpcmisc.h (makesock): Declared.
1131 * utils/rquotad/rquota_svc.c: added longopts, added support for
1132 specifying the port to bind to on the command line.
1134 * utils/statd/statd.c: ditto, also specify port used for
1135 outgoing connections.
1136 (do_regist): Removed.
1138 * utils/statd/rmtcall.c (statd_get_socket): Renamed from
1139 get_socket. Make it extern.
1141 * utils/statd/simulate.c (daemon_simulator): Call rpc_init
1142 instead of do_regist.
1144 * utils/statd/Makefile (LIBS): link with our own libnfs
1146 2001-03-09 H.J. Lu <hjl@lucon.org>
1148 * etc/redhat/nfslock.init: Changed chkconfig line to 60 86.
1149 * etc/nodist/nfs-client: Likewise.
1151 2001-02-26 Chip Salzenberg <chip@valinux.com>
1153 * debian/changelog: Version 0.3.1-1.
1154 * Mention upstream source and license in copyright file.
1155 * Add build-Depends for debhelper and libwrap0-dev.
1157 2001-02-20 Lon Hohberger <hohberger@missioncriticallinux.com>
1159 * etc/nodist/nfs-server: Changed chkconfig line to 60 20
1160 * etc/nodist/nfs-client: Likewise.
1162 2001-02-18 Lon Hohberger <hohberger@missioncriticallinux.com>
1164 * utils/statd/statd.man: Changed /usr/sbin/rpc.statd to
1167 2001-02-17 Patrick J. LoPresti <patl@curl.com>
1169 * utils/statd/log.c (log_init): Use LOG_DAEMON instead of
1172 2001-02-14 H.J. Lu <hjl@lucon.org>
1174 * utils/statd/rmtcall.c: Include <time.h>.
1175 * utils/statd/svc_run.c: Likewise.
1177 2001-02-14 H.J. Lu <hjl@lucon.org>
1179 * configure.in (VERSION): Set to "0.3.1".
1180 * configure: Regenerated.
1181 * nfs-utils.spec: Likewise.
1183 * README: Updated for 0.3.1.
1185 2001-02-14 H.J. Lu <hjl@lucon.org>
1187 * support/nfs/rpcmisc.c: Include <time.h>.
1189 2001-02-14 Chip Salzenberg <chip@valinux.com>
1191 * debian/control: Change priority of nhfsstone package to 'extra'.
1193 2001-02-12 Chip Salzenberg <chip@valinux.com>
1195 * debian/changelog: Version 0.3-2.
1197 2001-02-02 H.J. Lu <hjl@lucon.org>
1199 * support/include/rpcmisc.h (rpc_init): Remove bufsize.
1201 * support/nfs/rpcmisc.c (makesock): Remove socksz and comment
1202 out SO_SNDBUF/SO_RCVBUF.
1203 (rpc_init): Remove bufsize and remove socksz in calls to
1206 * utils/mountd/mountd.c (main): Remove bufsize in calls to
1209 2001-01-28 Chip Salzenberg <chip@valinux.com>
1211 * debian/changelog: Version 0.3-1.
1213 2001-01-25 H.J. Lu <hjl@lucon.org>
1215 * configure.in (VERSION): Set to "0.3".
1216 * configure: Regenerated.
1217 * nfs-utils.spec: Likewise.
1219 * README: Updated for 0.3.
1221 2001-01-25 H.J. Lu <hjl@lucon.org>
1223 * utils/lockd/lockd.c (main): Ignore errno == EINVAL.
1225 2001-01-20 Chip Salzenberg <chip@valinux.com>
1227 * support/include/xio.h (xgetc): Declare to return int.
1228 * support/nfs/xio.c (xgetc): Return int.
1229 (xgettok, xskip, xskipcomment): Use int for value of xgetc.
1230 * utils/statd/statd.c (main): Use int for value of getopt.
1231 * debian/changelog: Version 0.2.1-5.
1233 2000-12-10 Chip Salzenberg <chip@valinux.com>
1235 * utils/statd/monitor.c (sm_mon_1_svc): Fix buggy check for
1236 program and procedure numbers of kernel lockd's callback. Also,
1237 besides the old (and broken) procedure #24, allow #16 per Trond.
1239 2000-12-03 Chip Salzenberg <chip@valinux.com>
1241 * support/nfs/xio.c (xfopen): Initialize x_line to one, not zero.
1242 * debian/control: Let nhfsstone replace files in nfs-kernel-server.
1243 * debian/changelog: Version 0.2.1-4.
1245 2000-11-27 Tobias Ringstrom <tori@tellus.mine.nu>
1247 * utils/mountd/auth.c (auth_authenticate): Log the bad path
1250 2000-11-24 Neil Brown <neilb@cse.unsw.edu.au>
1252 * support/nfs/exports.c (getexportent): Check for host name
1253 without option, or options without hostname, and print a warning,
1254 as this is most likely a typo.
1256 2000-11-19 Chip Salzenberg <chip@valinux.com>
1258 * debian/control: Add dependency on portmap.
1259 * debian/changelog: Version 0.2.1-3.
1261 2000-11-10 H.J. Lu <hjl@lucon.org>
1263 * nfs-utils.spec.in: Don't use libtool.
1264 Add ChangeLog and COPYING to doc.
1265 * nfs-utils.spec: Rebuild.
1267 2000-11-09 H.J. Lu <hjl@lucon.org>
1269 * etc/redhat/nfs.init (start): Back out the last change.
1271 2000-11-09 H.J. Lu <hjl@lucon.org>
1273 * etc/redhat/nfs.init (start): Pass --no-tcp to mountd if
1274 TCP is not supported by kernel.
1276 * support/nfs/rpcmisc.c (rpc_init): Don't set _rpcfdtype to 0.
1278 * utils/mountd/mountd.c (longopts): Add "-n/--no-tcp".
1279 (main): Set to _rpcfdtype to SOCK_DGRAM for "-n/--no-tcp".
1281 * utils/mountd/mountd.man: Updated for "-n/--no-tcp".
1283 2000-10-24 Lon Hohberger <hohberger@missioncriticallinux.com>
1285 * utils/statd/callback.c: Fix bug preventing callbacks to local lockd.
1286 * utils/statd/rmtcall.c: Add some IP address paranoia when doing
1287 callbacks to local lockd.
1289 2000-10-18 Scott McDermott <mcdermot@questra.com>
1291 * utils/exportfs/exports.man: Updated for CIDR netmask.
1293 2000-10-17 Scott McDermott <mcdermot@questra.com>
1295 * support/export/client.c (client_init): Support CIDR netmask
1298 2000-10-11 H.J. Lu <hjl@lucon.org>
1300 * aclocal.m4 (AC_TCP_WRAPPER): Fix a typo.
1301 * configure: Rebuilt.
1303 2000-10-06 Lon Hohberger <hohberger@missioncriticallinux.com>
1305 * utils/statd/statd.man: Change "/var/lib/nfs/sm/state" to
1306 "/var/lib/nfs/state".
1308 2000-10-05 Lon Hohberger <hohberger@missioncriticallinux.com>
1310 * utils/statd/statd.h (run_mode): New global bitmask of runtime
1311 behaviors: fg/bg, logging, etc.
1312 * utils/statd/statd.c: New command line options: -V -h -? -d .
1313 * utils/statd/statd.man: Update for changes to statd.
1315 * utils/statd/log.h (log_init): Remove parameter of function; use
1316 global variable "name_p" instead.
1317 * utils/statd/log.c: Add support for logging to stderr.
1319 * utils/statd/notlist.c: Partially rewrite notify list handling
1320 functions. Eliminate run-off-end-of-list bug when calling
1321 nlist_insert_timer. Add lots of comments.
1323 2000-09-27 H.J. Lu <hjl@lucon.org>
1325 * README: Updated for RedHat 7.0.
1327 2000-09-27 H.J. Lu <hjl@lucon.org>
1329 * nfs-utils.spec: Rebuild.
1331 2000-09-27 H.J. Lu <hjl@lucon.org>
1333 * README: Updated for 0.2.1.
1335 2000-09-27 H.J. Lu <hjl@lucon.org>
1337 * nfs-utils.spec.in: Updated to use rpm macros and support
1340 2000-09-25 H.J. Lu <hjl@lucon.org>
1342 * configure.in (VERSION): Set to "0.2.1".
1343 * configure: Regenerated.
1344 * nfs-utils.spec: Updated.
1346 2000-09-25 H.J. Lu <hjl@lucon.org>
1348 * utils/mountd/auth.c (auth_authenticate_internal): Make sure a
1349 non-NULL hostent is always returned.
1351 2000-09-11 Ion Badulescu <ionut@cs.columbia.edu>
1353 * etc/redhat/nfslock.init: don't kill lockd processes that do not
1354 have an executable (i.e. kernel threads)
1356 2000-09-01 H.J. Lu <hjl@lucon.org>
1358 * README: Updated for 0.2.
1360 2000-09-01 Jay Weber <jweber@valinux.com>
1362 * etc/redhat/nfs.init: Added ability for rpc.mountd to default to
1363 supporting version 3 of nfs if available, else it will fall back to
1364 version 2 support only.
1366 2000-08-30 H.J. Lu <hjl@lucon.org>
1368 * configure.in (VERSION): Set to "0.2".
1369 * configure: Regenerated.
1370 * nfs-utils.spec: Updated.
1372 2000-08-25 H.J. Lu <hjl@lucon.org>
1374 * support/misc/tcpwrapper.c (logit): Modify the log output.
1376 2000-08-25 Ion Badulescu <ionut@cs.columbia.edu>
1378 * utils/rquotad/rquotad.man, utils/statd/statd.man,
1379 utils/mountd/mountd.man: updated
1381 * utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL)
1382 * utils/rquotad/Makefile: fix comment
1384 * support/misc/tcpwrapper.c (logit): added comment about waiting
1385 for the children after fork()
1387 * utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving
1388 zombies behind (from logit()'s fork)
1389 * utils/rquotad/rquota_svc.c (main): ditto
1390 * utils/statd/statd.c (main): ditto
1392 * utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG
1393 to check_default instead of 0, for prognum
1395 * utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG
1396 to check_default instead of 0, for prognum
1398 * utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if
1399 HAVE_TCP_WRAPPER is defined.
1400 (mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is
1401 defined. Reject an RPC call if check_default () fails.
1403 2000-08-25 H.J. Lu <hjl@lucon.org>
1405 * support/include/tcpwrapper.h: New for the tcp wrapper
1407 * support/misc/Makefile: Likewise.
1408 * support/misc/from_local.c: Likewise.
1409 * support/misc/tcpwrapper.c: Likewise.
1411 * aclocal.m4 (AC_TCP_WRAPPER): New.
1412 * configure.in: Use it. Substitute LIBWRAP.
1413 * configure: Rebuilt.
1415 * config.mk.in (LIBNSL): New.
1416 (LIBWRAP): Likewise.
1418 * support/Makefile (SUBDIRS): Add misc.
1420 * support/lib/Makefile (LIBS): Add libmisc.a.
1422 * utils/rquotad/Makefile (LIBS): Add
1424 -lmisc $(LIBWRAP) $(LIBNSL)
1426 * utils/statd/Makefile (LIBS): Likewise.
1428 * utils/rquotad/rquota_svc.c: Include "tcpwrapper.h" if
1429 HAVE_TCP_WRAPPER is defined.
1430 (rquotaprog_1): Call check_default () if HAVE_TCP_WRAPPER is
1431 defined. Reject an RPC call if check_default () fails.
1433 * utils/statd/statd.c: Include "tcpwrapper.h" if
1434 HAVE_TCP_WRAPPER is defined.
1435 (sm_prog_1_wrapper): New. A wrapper for sm_prog_1. Call
1436 check_default () before calling sm_prog_1 (). Define it as
1437 sm_prog_1_wrapper if HAVE_TCP_WRAPPER is defined.
1439 2000-08-25 Chip Salzenberg <chip@valinux.com>
1441 * debian/*: Complete Debian build support.
1442 * etc/debian/*: Remove.
1444 2000-08-24 Neil Brown <neilb@cse.unsw.edu.au>
1446 * support/export/client.c(client_check): removed the "dot+1" as a
1447 ypdomain argument to innetgr as this is entirely bogus.
1448 It should always be NULL.
1450 2000-08-23 Neil Brown <neilb@cse.unsw.edu.au>
1452 * support/export/xtab.c(xtab_read): introduce new mode for
1453 reading xtab. i.e. a list of exports that might be known to the
1454 kernel, or might not. These are flagged as m_exported == -1
1455 * support/export/xtab.c(xtab_mount_read): call xtab_read with new
1456 value "2" for xtab, meaning don't trust this too much.
1457 * support/include/exportfs.h(struct mexport): changed m_exported
1458 from one bit to an int so that it can hold new value
1459 * utils/exportfs/exportfs.c(exportfs_ipdate): add an export to the
1460 kernel if it is uncertain whether the kernel knows (m_exported == -1)
1461 * utils/mountd/mountd.c(get_rootfh): similarly export to kernel if
1464 * support/nfs/xio.c(xflock): added O_CREAT when getting
1465 a write lock so that missing files aren't fatal.
1467 * etc/debian/nfs-common: new file from "potato"
1468 * etc/debian/nfs-kernel-server: new file from "potato" plus fixes.
1470 2000-08-09 H.J. Lu <hjl@lucon.org>
1472 * etc/redhat/nfs.init: Run /usr/sbin/exportfs first during
1473 startup to ensure all existing clients work fine.
1475 * support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0
1476 to xtab_read () for reading _PATH_XTAB.
1478 2000-08-02 H.J. Lu <hjl@lucon.org>
1480 * utils/mountd/auth.c (auth_authenticate_internal): Try to
1481 avoid the reverse name lookup.
1483 2000-07-04 H.J. Lu <hjl@lucon.org>
1485 * utils/statd/log.c: Include <stdlib.h> for exit ().
1487 * utils/statd/misc.c (xunlink): Add `{' and `}' to quiet the
1490 2000-07-04 H.J. Lu <hjl@lucon.org>
1492 * configure.in (VERSION): Set to "0.1.9.1".
1493 * configure: Regenerated.
1494 * nfs-utils.spec: Updated.
1498 2000-07-04 Neil Brown <neilb@cse.unsw.edu.au>
1500 * support/export/hostname.c (hostent_dup): Handle the NULL
1503 2000-07-03 H.J. Lu <hjl@lucon.org>
1505 * README: Update the util-linux requirement.
1507 2000-07-03 H.J. Lu <hjl@lucon.org>
1509 * configure.in (VERSION): Set to "0.1.9".
1510 * configure: Regenerated.
1511 * nfs-utils.spec: Updated.
1515 2000-07-03 H.J. Lu <hjl@lucon.org>
1517 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
1518 stop to ensure all clients can still access the server
1519 before it is shutdown.
1521 2000-06-30 Jeff Uphoff <juphoff@transmeta.com>
1523 * tools/rpcgen/rpc_svcout.c (write_msg_out): Generate syslog()
1524 calls with format string.
1526 2000-06-28 Chip Salzenberg <chip@valinux.com>
1528 * utils/statd/log.c (log): Call syslog with format string.
1530 2000-06-27 H.J. Lu <hjl@lucon.org>
1532 * utils/statd/statd.c (main): Use sysconf (_SC_OPEN_MAX)
1533 instead of OPEN_MAX.
1535 2000-06-27 H.J. Lu <hjl@lucon.org>
1539 2000-06-27 H.J. Lu <hjl@lucon.org>
1541 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
1542 startup to ensure all existing clients are exported.
1544 * configure.in (VERSION): Set to "0.1.8.2".
1545 * configure: Regenerated.
1546 * nfs-utils.spec: Updated.
1548 2000-06-06 H.J. Lu <hjl@lucon.org>
1550 * configure.in (VERSION): Set to "0.1.8.1".
1551 * configure: Regenerated.
1552 * nfs-utils.spec: Updated.
1554 2000-06-06 H.J. Lu <hjl@lucon.org>
1556 * utils/mountd/mountd.c (mount_dump_1_svc): Cast svc_getcaller
1557 to "struct sockaddr_in *" for glibc 2.2.
1558 (mount_umnt_1_svc): Likewise.
1559 (mount_umntall_1_svc): Likewise.
1560 (mount_export_1_svc): Likewise.
1561 (mount_exportall_1_svc): Likewise.
1562 (mount_pathconf_2_svc): Likewise.
1563 (get_rootfh): Likewise.
1565 2000-06-04 H.J. Lu <hjl@lucon.org>
1567 * etc/redhat/nfs.init: Fix a typo in comment.
1569 2000-05-31 H.J. Lu <hjl@lucon.org>
1571 * configure.in (VERSION): Set to "0.1.8".
1572 * configure: Regenerated.
1573 * nfs-utils.spec: Updated.
1577 2000-05-31 H.J. Lu <hjl@lucon.org>
1579 * configure.in (VERSION): Set to "0.1.7.5".
1580 * configure: Regenerated.
1581 * nfs-utils.spec: Updated.
1583 * support/include/nfslib.h (exportent): Add a new field,
1584 r_count, to count the number of mounts from a client.
1585 (getrmtabent): Take a new argument for position in file.
1586 (putrmtabent): Likewise.
1587 (fgetrmtabent): Likewise.
1588 (fputrmtabent): Likewise.
1589 * support/nfs/rmtab.c (getrmtabent): Handle the new argument
1590 for position in file.
1591 (fgetrmtabent): Likewise.
1592 (putrmtabent): Likewise.
1593 (fputrmtabent): Likewise.
1595 * support/nfs/rmtab.c (fgetrmtabent): Get value for the new
1598 * support/export/rmtab.c (rmtab_read): Pass NULL as the new
1599 argument to getrmtabent (), fgetrmtabent (), putrmtabent ()
1600 and fputrmtabent ().
1601 * utils/mountd/rmtab.c (mountlist_add): Likewise.
1602 (mountlist_del): Likewise.
1603 (mountlist_del_all): Likewise.
1604 (mountlist_list): Likewise.
1606 * utils/mountd/rmtab.c (mountlist_add): Increment "r_count"
1607 for the existing entry and initialize "r_count" to 1.
1608 (mountlist_del): Decrement "r_count".
1610 2000-05-18 H.J. Lu <hjl@lucon.org>
1612 * configure.in (VERSION): Set to "0.1.7.4".
1613 * configure: Regenerated.
1614 * nfs-utils.spec: Updated.
1616 2000-05-18 H.J. Lu <hjl@lucon.org>
1618 * etc/redhat/nfs.init (restart): Just do stop and start.
1620 2000-05-09 Jay Weber <jweber@valinux.com>
1622 * utils/rquotad/hasquota.c: added support for ext3 recognition
1624 * utils/rquotad/mntent.h: Likewise.
1626 2000-05-01 H.J. Lu <hjl@lucon.org>
1628 * configure.in (VERSION): Set to "0.1.7.3".
1629 * configure: Regenerated.
1630 * nfs-utils.spec: Updated.
1632 2000-05-01 H.J. Lu <hjl@lucon.org>
1634 * utils/rquotad/rquota_server.c (getquotainfo): Skip bad
1635 mounting poins in /etc/fstab.
1637 2000-05-01 H.J. Lu <hjl@lucon.org>
1639 * configure.in (VERSION): Set to "0.1.7.2".
1640 * configure: Regenerated.
1641 * nfs-utils.spec: Updated.
1643 2000-05-01 H.J. Lu <hjl@lucon.org>
1645 * utils/rquotad/rquota_server.c (getquotainfo): Call stat ()
1646 to check for the mounting point.
1648 2000-04-29 Chip Salzenberg <chip@valinux.com>
1649 Neil Brown <neilb@cse.unsw.edu.au>
1651 * Really re-use RPC ports.
1652 (Fixes earlier patch. Sorry, Neil.)
1654 2000-04-26 H.J. Lu <hjl@lucon.org>
1656 * configure.in (VERSION): Set to "0.1.7.1".
1657 * configure: Regenerated.
1658 * nfs-utils.spec: Updated.
1660 2000-04-26 H.J. Lu <hjl@lucon.org>
1662 * etc/redhat/nfslock.init: Check if lockd exits before killing
1665 2000-04-25 H.J. Lu <hjl@lucon.org>
1667 * README: Require util-linux-2.10f-mount-rpc.patch for mount.
1669 2000-03-21 Michael Weiser <michael@weiser.saale-net.de>
1671 * support/nfs/exports.c (parsesquash): Correctly set the
1674 Tue Mar 21 11:38:48 EST 2000 NeilBrown <neilb@cse.unsw.edu.au>
1676 * support/include/nfs/nfs.h: Removed knowledge of internals of
1677 kernel filehandles (which can change) and defined nfs_fh_size
1678 which has variable size
1680 * support/nfs/getfh.c: defined getfh_size to use new syscall to
1681 get variable sized file handles, and change getfh{,old} to
1684 * utils/mountd/mountd.c: use nfd_fh_size and call getfh_size for
1687 * tools/Makefile, tools/nlmtest/nlmtest.c
1688 nlmtest.c depended on internel format of file handles, so now
1692 2000-03-12 Chip Salzenberg <chip@valinux.com>
1693 Neil Brown <neilb@cse.unsw.edu.au>
1695 * support/nfs/rpcmisc.c (rpc_init): Share transports.
1697 2000-03-13 H.J. Lu <hjl@lucon.org>
1699 * etc/redhat/nfsd.init: Updated.
1701 * etc/redhat/nfslock.init: Updated.
1703 * nfs-utils.spec.in: Updated.
1705 * configure.in (VERSION): Set to "0.1.7".
1706 * configure: Regenerated.
1707 * nfs-utils.spec: Updated.
1711 Wed Mar 8 09:42:43 2000 Neil Brown <neilb@cse.unsw.edu.au>
1713 * utils/exportfs/exportfs.c (dump): Included printing of
1714 nohide, no_subtree_check, and insecure_locks
1716 2000-02-26 Chip Salzenberg <chip@valinux.com>
1718 * config.mk.in (INSTALLSUID): Strip ("-s").
1719 (INSTALLSCRIPT): Define.
1720 * utils/nhfsstone/Makefile: Use it.
1722 2000-02-26 Chip Salzenberg <chip@valinux.com>
1724 * utils/lockd/lockd.man: Create.
1725 * utils/lockd/Makefile: Install it.
1726 * utils/nhfsstone/nhfs{run,nums,graph}.man: Create.
1727 * utils/nhfsstone/nhfsstone.man: Change suffix from ".1".
1728 * utils/nhfsstone/Makefile: Install the helper scripts and
1730 * utils/exportfs/exports.man: Fix typo.
1732 2000-02-26 Chip Salzenberg <chip@valinux.com>
1734 * support/nfs/xio.c (xungetc): Decrement line number when
1735 character to unget is newline. Make first parameter int, so
1736 it can distinguish EOF from \377.
1737 * support/include/xio.h (xungetc): Adjust prototype.
1739 Fri Feb 4 23:42:23 2000 Neil Brown <neilb@cse.unsw.edu.au>
1741 * support/include/nfs/export.h: added NFSEXP_NOAUTHNLM
1742 * support/nfs/exports.c: added handling for NFSEXP_NOAUTHNLM
1743 * utils/exportfs/exports.man: added documentation for no_auth_nlm.
1745 This is for supporting a new option introduced in 2.3.42
1747 Thu Feb 3 14:55:48 2000 H.J. Lu <hjl@lucon.org>
1749 * COPYING: Added. GPL.
1751 Thu Feb 03 14:40:40 2000 Cristian Gafton <gafton@redhat.com>
1753 * utils/rquotad/rquota_server.c (getquotainfo): Call statfs ()
1754 to get the block size.
1756 Tue Jan 25 11:04:17 2000 H.J. Lu <hjl@lucon.org>
1758 * nfs-utils.spec.in: Update ftp site.
1760 Mon Jan 17 11:48:18 2000 H.J. Lu <hjl@lucon.org>
1762 * README: Update hostnames.
1764 Tue Jan 11 10:06:22 2000 H.J. Lu <hjl@lucon.org>
1766 * configure.in (VERSION): Set to "0.1.6".
1767 * configure: Regenerated.
1768 * nfs-utils.spec: Updated.
1772 Mon Jan 10 14:26:33 2000 H.J. Lu <hjl@lucon.org>
1774 * utils/mountd/auth.c (auth_authenticate_internal): Call
1775 xstrdup for hostname before passing it to gethostbyname.
1777 * utils/mountd/mountd.c (get_exportlist): Use xstrdup instead
1780 Sun Dec 19 09:35:01 1999 H.J. Lu <hjl@lucon.org>
1782 * README: Update the mailing list address.
1784 Sun Dec 19 09:22:28 1999 H.J. Lu <hjl@lucon.org>
1786 * configure.in (VERSION): Set to "0.1.5".
1787 * configure: Regenerated.
1788 * nfs-utils.spec: Updated.
1792 Mon Dec 13 13:40:20 1999 H.J. Lu <hjl@lucon.org>
1794 * utils/rquotad/hasquota.c (hasquota): Malloc one more char
1797 Mon Dec 6 09:42:45 1999 H.J. Lu <hjl@lucon.org>
1799 * configure.in (VERSION): Set to "0.1.4".
1800 * configure: Regenerated.
1801 * nfs-utils.spec: Updated.
1805 Mon Dec 6 09:28:07 1999 H.J. Lu <hjl@lucon.org>
1807 * nfs-utils.spec.in: New file.
1809 * config.mk.in (VERSION): Changed to "nfs-utils @VERSION@".
1811 * configure.in (nfs-utils.spec): Added to AC_OUTPUT.
1813 1999-12-04 Chip Salzenberg <chip@valinux.com>
1815 * config.mk.in: Use $(CC) as set by configure.
1817 1999-12-04 Chip Salzenberg <chip@valinux.com>
1819 * rules.mk: Call $(MAKE) with $(MFLAGS).
1821 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1823 * tools/rpcgen/rpc_main.c (h_output): Generate IXDR_GET_INT32,
1824 IXDR_PUT_INT32, IXDR_GET_U_INT32 and IXDR_PUT_U_INT32.
1826 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1828 * nfs-utils.spec (Version): Set to 0.1.3.
1830 * configure.in (VERSION): Set to "nfs-utils 0.1.3".
1831 * configure: Regenerated.
1835 Mon Nov 29 11:15:47 1999 H.J. Lu <hjl@lucon.org>
1837 * utils/rquotad/rquota_server.c (nfsmount_to_devname): Removed.
1838 (_PATH_DEV_DSK): Likewise.
1839 (getquotainfo): Match the mounting point from /etc/mtab
1840 instead of calling nfsmount_to_devname ().
1842 1999-11-24 Chip Salzenberg <chip@valinux.com>
1844 * utils/statd/monitor.c (sm_mon_1_svc): Accept lockd callbacks
1845 to the new port 24 as well as the historical port 100021.
1847 Tue Nov 23 10:21:34 1999 Neil Brown <neilb@cse.unsw.edu.au>
1849 * etc/redhat/nfsd.init (stop): moved exportfs -ua after
1850 stopping nfsd to stop spurious ESTALE on server shutdown.
1852 Tue Nov 23 10:13:39 1999 Neil Brown <neilb@cse.unsw.edu.au>
1854 * support/nfs/exports.c (parseopts): make copy of opt string
1855 before 'nul'ing out commas so that
1857 # exportfs -o option1,option2 hosta:/fs hostb:/fs
1859 applies both options to both exports.
1861 Thu Oct 28 12:55:42 1999 H.J. Lu <hjl@lucon.org>
1863 * README: Fix a few typos.
1865 * tools/rpcgen/rpc_cout.c (print_header): Use int32_t instead
1867 * tools/rpcgen/rpc_hout.c (pdefine): Likewise.
1868 * tools/rpcgen/rpc_main.c (c_initialize): Likewise.
1869 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1870 (unsigned_dec): Likewise.
1871 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1872 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1874 * tools/rpcgen/rpc_cout.c (emit_single_in_line): Use INT32
1876 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1877 (unsigned_dec): Likewise.
1878 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1879 * tools/rpcgen/rpc_scan.h (tok_kind): Likewise.
1880 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1882 Thu Oct 28 11:27:51 1999 Neil Brown <neilb@cse.unsw.edu.au>
1884 * support/include/nfs/export.h addedd NFSEXP_NOSUBTREECHECK
1885 * support/nfs/exports.c: added {no_,}subtree_check and changed
1887 * utils/exportfs/exports.man: added no_subtree_check and nohide
1888 and removed irrelevant stuff from unfsd.
1889 * support/export/rmtab.c: rmtab_read didn't quite do the right
1890 thing if a pathname from rmtab was a subdirectory of an export-point
1892 Tue Oct 26 17:22:40 1999 H.J. Lu <hjl@lucon.org>
1894 * README: Updated ftp site.
1896 Mon Oct 25 18:12:45 1999 H.J. Lu <hjl@lucon.org>
1898 * nfs-utils.spec (Version): Set to 0.1.2.
1900 * configure.in (VERSION): Set to "nfs-utils 0.1.2".
1901 * configure: Regenerated.
1905 Mon Oct 25 18:11:21 1999 H.J. Lu <hjl@lucon.org>
1907 * utils/mountd/auth.c (auth_error): Add "no_forward_dns".
1908 (auth_authenticate_internal): Check for NULL return on forward
1910 (auth_authenticate): Handle "no_forward_dns".
1912 Thu Oct 21 16:22:06 1999 H.J. Lu <hjl@lucon.org>
1914 * Version 0.1.1 released.
1916 * nfs-utils.spec (Version): Set to 0.1.1.
1918 * configure.in (VERSION): Set to "nfs-utils 0.1.1".
1919 * configure: Regenerated.
1923 Mon Oct 18 17:43:29 1999 H.J. Lu <hjl@lucon.org>
1925 * nfs-utils.spec (Obsoletes): Fixed a typo, change knfsd-client
1927 (Provides): Likewise.
1929 Mon Oct 18 14:56:22 1999 H.J. Lu <hjl@lucon.org>
1931 * Initial version 0.1 released.
1933 * configure.in (VERSION): Set to "nfs-utils 0.1".
1934 * configure: Regenerated.
1936 Mon Oct 18 14:54:57 1999 H.J. Lu <hjl@lucon.org>
1938 * utils/mountd/mountd.c (get_exportlist): Cleanup.
1940 * utils/exportfs/exportfs.c (unexport_all): Unexport from
1941 kernel only if the entry is exported to kernel.
1942 (unexportfs): Likewise.
1944 Wed Sep 08 16:49:32 1999 Neil Brown <neilb@cse.unsw.edu.au>
1946 1/ utils/mountd/rmtab.c::mountlist_list
1948 This routine stats the rmtab file to see if it has changed. It
1949 if has, it cleans up it's old copy of the data. But it still
1950 always re-read the file, thus returning multiple copies of the
1951 data on consecutive calls without intervening changes.
1952 "Showmount -a" didn't show this as it appears to sort/unique the
1953 data, but 'strace showmount -a' showed that the size of the
1954 datagram that it received grew.
1956 I moved the getrmtabent loop inside the mtime test.
1958 2/ utils/exportfs/exportfs.c
1960 Many routines used the m_path field of m_export instead of
1962 According to the comment in nfslib.h, m_path should only
1963 be used when processing a mount request (i.e. in mountd)
1964 where the mountpoint may be a subdirectory of the export point.
1966 I changed all occurances of m_path to e_path
1969 3/ utils/exportfs/exportfs.c:main
1971 extra arguments are not meaningful with -a or -r, but
1972 exportfs accepted them and then ignored the -a/-r, expect that
1973 -r would still unexport everything first.
1975 I generate an error if there are extra args and f_all
1977 4/ utils/exportfs/exportfs.c:main
1978 extract dump out as a special case.
1980 5/ utils/exportfs/exportfs.c
1981 made f_reexport a local variable.
1984 6/ utils/exportfs/exportfs.c:main,exportall
1986 support/export/rmtab.c
1987 only mayexport on newly created entries, don't set xtabent at all
1989 7/ support/include/nfslib.h
1991 add #define _PATH_PROC_EXPORTS to be /proc/fs/nds/exports
1993 8/ support/export/xtab.c
1995 xtab_mount_read loads data from _PATH_PROC_EXPORTS if it exists,
1999 9/ support/export/xtab.c
2001 xtab_mount_read now sets m_exported, and NOT
2002 xtabent and mayexport
2004 removed the append arguement from xtab_write as it was
2007 added is_export flag to xtab_write similar to xtab_read
2008 if is_export, only write entries with m_xtabent or m_addxtab
2009 if !is_export, only write entries with m_exported
2011 10/ support/export/export.c::export_allowed_internal
2013 added test for exp->m_mayexport, as the export tree
2014 may have entries that are no longer allowed to be exported,
2015 and so shouldn't caused deduced exported by rmtab_read
2017 11/ utils/exportfs/exportfs.c::main
2018 error checking of flags.
2020 12/ utils/exportfs/exportfs.c
2022 total rewrite of export and unexport logic.
2024 - build an exportslist of valid exports, based on
2025 current etab file and arguments,
2026 - read rmtab to instantiate relevant wild card entries
2027 - read etab to find out what is currently exported
2028 - synchronise intention with reality
2029 - write out etab and xtab
2032 discard the m_addxtab flag
2033 add m_changed flag so we know what to report in exportfs
2035 14/ utils/mountd/auth.c:auth_authenticate
2037 the value returned by gethostbyaddr was trusted.
2039 It now follows this with a call to gethostbyname
2040 and checks that the address is in the list.
2042 15/ support/export/nfsctl.c::cltsetup,expsetup
2044 force client names to lowercase as kernel is
2047 16/ quietened a few compiler warnings
2049 17/ support/export/client:client_lookup
2051 look for pre-existing client with same name before creating
2054 18/ support/include/exportfs.h
2056 The ordering of the MCL_* enum was:
2057 ANONYMOUS, FQDN, SUBNETWORK, WILDCARD, NETGROUP
2059 I moved ANONYMOUS to the end.
2061 The ordering is significant when an export entry is being searched for to
2062 match a given address. There are two problems with ANONYMOUS being first.
2064 1/ if a directory is exported rw to a couple of hosts and ro to everyone else,
2065 then the ro case will always be found first and the privileged hosts won't get
2067 2/ When mountd gets a request to mount an ANONYMOUSly exported tree, it creates a FQDN
2068 export entry for the specific host, and writes it to xtab.
2069 When another request comes from the same host, the ANONYMOUS entry is found again,
2070 before the new FQDN entry, so it creates another FQDN entry and writes it to xtab
2071 again. If causes bloat in xtab.
2073 Putting ANONYMOUS at the end reflects it's nature as a catch-all
2075 19/ utils/exportfs/exportfs.man
2076 many updates to the man page to reflect changes to the code
2078 -----------------------
2084 - allow exportfs to modify rmtab file
2085 - make sure kernel never gets two clients with same IP address
2086 - possible kernel should reject
2087 - needs to be some way to lookup client in kernel by IP address
2088 - maybe get kernel to do case-insensitive comparisons on client names
2089 - remove unused clients from kernel
2091 - change etab to xtab and xtab to xtab.active
2093 - timestamp and/or statd-stamp in rmtab for removing old entries.
2095 Mon Oct 18 11:48:07 1999 H.J. Lu <hjl@lucon.org>
2097 * linux-nfs: New directory.
2098 * linux-nfs/ChangeLog: Moved from ..
2099 * linux-nfs/INSTALL: Likewise.
2100 * linux-nfs/KNOWNBUGS: Likewise.
2101 * linux-nfs/NEW: Likewise.
2102 * linux-nfs/README: Likewise.
2103 * linux-nfs/THANKS: Likewise.
2104 * linux-nfs/TODO: Likewise.
2106 * Starting from knfsd 1.4.7.