1 2005-04-06 Chip Salzenberg <chip@pobox.com>
3 * support/rpc/svc_auth_gss.c (_svcauth_gss): Avoid using a cast as
4 an lvalue, as it is non-portable.
6 * support/nfs/exports.c (parseopts): Accept "acl" option to mean
7 ~NFSEXP_NOACL, and "no_acl" to mean NFSEXP_NOACL.
8 (putexportent): Report NFSEXP_NOACL as "no_acl", and ~NFSEXP_NOACL
10 * utils/exportfs/exportfs.c (dump): Report NFSEXP_NOACL as
12 * utils/exportfs/exports.man: Document "no_acl".
14 2005-03-14 NeilBrown <neilb@cse.unsw.edu.au>
15 Denis Vlasenko <vda@ilport.com.ua>
16 * support/export/client.c(client_init and client_gettype):
17 treat N.N.N.N as a special case of MCL_SUBNETWORK instead of
20 2005-03-06 G. Allen Morris III <gam3@gam3.net>
21 * support/nfs/cacheio.c(readline): Could not read lines greater
22 than 128 bytes. [1157791]
23 * utils/exportfs/exports.man: Added a SEE ALSO section and
24 fixed 2 typos. [1018450]
26 2005-02-28 Trond Myklebust <trond.myklebust@fys.uio.no>
27 * utils/statd/rmtcall.c(statd_get_socket): If a port number is
28 explicitly given, make sure to try to bind to that.
30 2005-01-11 Chip Salzenberg <chip@pobox.com>
32 * debian/changelog: Version 1.0.7-1.
33 * debian/nfs-common.default (NEED_IDMAPD, NEED_GSSD):
34 Disable by default, on advice of upstream.
35 * debian/nfs-kernel-server.default (NEED_SVCGSSD):
38 * utils/svcgssd/Makefile (predep): Symbolically link duplicated
40 (distclean): Remove symlinks to duplicated files.
42 2004-12-17 NeilBrown <neilb@cse.unsw.edu.au>
45 * config.mk, configure.in: update version number, run autoconf
46 * configure.in: require nfsidmap.h if gss is enabled.
48 2004-12-10 NeilBrown <neilb@cse.unsw.edu.au>
51 * config.mk, configure.in: update version number, run autoconf
53 2004-12-10 Neil Brown <neilb@cse.unsw.edu.au>
54 * README : note dependancy on kerberos, libevent, and nfsidmap
55 * configure.in : fail if --enable-nfsv4 and libevent or
56 libnfsidmap are missing.
57 * configuyre.in: improve message if krb5 support is missing
59 2004-12-06 Paul Clements <paul.clements@steeleye.com>
60 * support/include/ha-callout.h: get return status from waitpid
62 * support/include/ha-callout.h: don't ignore SIGCHLD while waiting
63 for a callout to complete.
64 * utils/statd/statd.c(sigusr): print current start when re-reading
65 notify list due to SIGUSR1
66 * utils/statd/svc_run.c(my_svc_run): call change_state when
69 2004-12-06 Marc Eshel <eshel@almaden.ibm.com>
70 * utils/statd/svc_run.c(my_svc_run): allow loop to exit when in
72 *utils/statd/rmtcall.c(statd_get_socket): if a hostname is given
73 to statd with -n, prefer it's IP address to the default for
76 2004-12-06 Bruce Allan <bwa@us.ibm.com>
77 * utils/mountd/auth.c(auth_reload) Clear the "my_client" cache on
78 an auth_reload to avoid old data getting used.
80 2004-12-03 NeilBrown <neilb@cse.unsw.edu.au>
81 Release 1.0.7-pre1 for testing
83 * config.mk, configure.in: update version number, run autoconf
85 2004-12-03 Trond Myklebust <trond.myklebust@fys.uio.no>
87 * utils/statd/statd.c(main): ignore SIGPIPE
89 2004-11-22 "J. Bruce Fields" <bfields@fieldses.org>
91 * tools/rpcdebug/rpcdebug.c: support aliases "nfsdebug" and
92 "nfsddebug" and update flag names.
93 * configure.in, nodist/* redhat/* nfs-utils.spec*: remove redhat
94 specific files (as no-one actually uses them, especially not
95 redhat), and the nodist /etc files (as they drift out-of-date, and
96 the debian directory provides a suitable example.
97 * utils/svcgssd_proc.c(get_ids): fix memory leak
98 * utils/svcgssd/svcgssd_proc.c: Rely on count of the number of
99 groups instead of using a special guard value to identify the end
101 * utils/idmapd/idmapd.c: don't allow Default domain and anon-uid
102 or -gid to be specified on command line.
103 * utils/idmapd/idmapd.c: improve error messages
104 * utils/idmapd/idmapd.c: Reopen nfsd files on sighup. Allows us
105 to start up client side only (even when nfsd module not loaded),
106 and then sighup later after insmodding nfsd module.
107 * utils/idmapd/idmapd.c: Make sure we catch all errors on
108 daemonizing by waiting for child to report succesfull startup
110 * utils/idmapd/idmapd.c: Let libnfsidmapd parse the idmapd.conf
111 file for the default domain, instead of doing that ourselves.
112 * utils/gssd/gssd_proc.c: Make sure we get an error when a gssd
114 * utils/gssd/gssd_proc.c: We were forgetting to restore the euid
115 on certain failures, which meant gssd could get stuck in a state
116 where it didn't have permissions to read the files in rpc_pipefs
118 * utils/gssd/gssd_proc.c: Use libnfsidmapd to map gss principals
120 * debian/nfs-kernel-server.default: Document the NEED_SVCGSSD
121 variable in /etc/default/nfs-kernel-server.
124 2004-11-22 NeilBrown <neilb@cse.unsw.edu.au>
126 * utils/exportfs/nfsd.man: corrected typo in .BR macro usage -
127 reported by Eric Raymond
129 2004-10-19 "J. Bruce Fields" <bfields@fieldses.org>
131 * support/gssapi/* support/rpc/* utils/gssd/* utils/svcgssd/* etc
132 initial support for GSSAPI authentication
134 2004-09-15 Neil Brown <neilb@cse.unsw.edu.au>
136 * utils/statd/monitor.c(sm_unmon_1_svc): is RESTRICTED_STATD, then
137 check IP address and force my_name to 127.0.0.1 to match
138 what happens in sm_mon_1_svc. This avoid spurious "erroneous
140 * utils/statd.monitor.c(sm_unmon_all_1_svc): likewise
142 2004-09-15 "J. Bruce Fields" <bfields@fieldses.org>
144 * Assorted changes to support "gss/*" style authentication
145 * utils/idmapd: new idmapd daemon for nfsv4 username lookup
147 2004-09-06 Trond Myklebust <trond.myklebust@fys.uio.no>
148 Neil Brown <neilb@cse.unsw.edu.au>
150 * utils/mountd/auth.c(auth_authenticate_internal): fix
151 uninitialsed variable problem (causes bad error messages).
153 2004-09-06 Paul Clements <paul.clements@steeleye.com>
154 Neil Brown <neilb@cse.unsw.edu.au>
156 * utils/mountd/mountd.c(main): support --ha-callout (-H) for
157 specifying a callout program
158 * utils/mountd/rmtab.c: Call ha_callout on mount/unmount
159 * utils/statd/monitor.c: Call ha_callout on add/del client
160 * utils/statd/rmtcall.c: as above
161 * utils/statd/statd.c: handle --ha-callout (-H)
162 * utils/statd/svc_run.c: call notify_hosts is we have received a
164 * support/include/ha-callout.h: define ha_callout function
167 2004-08-31 NeilBrown <neilb@cse.unsw.edu.au>
168 * utils/mountd/cache.c(cache_process_req): clear fd after
169 processing so as not to confused libc/sunrpc into thinking
170 it need to do something with that fd.
172 2004-08-31 NeilBrown <neilb@cse.unsw.edu.au>
174 * debian/nfs-kernel-server.init(start,stop) mount the nfsd
175 filesystem, if available, before starting nfs services, and
176 unmount it afterwards.
177 * etc/nodist/nfs-server: ditto
178 * etc/redhat/nfs.init: likewise
179 * etc/redhat/nfs: add "MOUNT_NFSD" flag to control above.
181 2004-06-08 NeilBrown <neilb@cse.unsw.edu.au>
183 * utils/exportfs/exportfs.c: Don't rmtab_read if new_cache, it
185 * support/nfs/cacheio.c(cache_flush): Change order in which caches
186 are flushed so that dependancies don't keep things in the cache
189 2004-03-18 Chip Salzenberg <chip@pobox.com>
191 * debian/changelog: Version 1.0.6-2.
193 2004-02-24 NeilBrown <neilb@cse.unsw.edu.au>
194 from "J. Bruce Fields" <bfields@fieldses.org>
196 * utils/mountd/cache.c: call auth_reload to make sure auth data is
197 current before responding to kernel upcall.
199 2004-02-24 NeilBrown <neilb@cse.unsw.edu.au>
200 Based on patch from Greg Banks <gnb@melbourne.sgi.com>
202 * utils/exportfs/exports.man: Document fsid= option.
204 2003-09-15 NeilBrown <neilb@cse.unsw.edu.au>
208 * rules.mk: Add dep: rule when no OBJS, so "make dep" works in
209 support/include, and depend in "predep"
210 * support/export/Makefile, tools/rpcgen/Makefile,
211 utils/statd/Makefile: add "predep" rule so that "make dep" works.
212 * Makefile: allow a simple "make" to run ./configure and "make dep"
214 * configure.in, nfs-utils.spec: Update version to 1.0.6
217 2003-09-12 Chip Salzenberg <chip@pobox.com>
219 * debian/changelog: Version 1.0.6-1.
221 2003-09-12 NeilBrown <neilb@cse.unsw.edu.au>
223 * utils/mountd/mountd.c(main): Impose FD_SETSIZE as an upper limit
225 * utils/statd/statd.c(main): Ditto.
227 michael <michael@newdream.net> discovered that svc_setreqsize
228 in glibc can segfault if RLIMIT_NOFILE is bigger than
229 FD_SETSIZE, so a simple solution is to impose a hard limit.
231 2003-09-09 Chip Salzenberg <chip@pobox.com>
233 * debian/changelog: Version 1.0.5-3.
234 * support/export/hostname.c (get_reliable_hostbyaddr): Fix crash
235 on invalid reverse DNS.
236 * utils/showmount/showmount.c (main): Fix inet_ntoa() parameter.
237 * tools/rpcgen/rpc_cout.c (print_header): Remove unused vars.
238 * tools/rpcgen/rpc_parse.c (def_union): Likewise.
240 2003-08-22 Chip Salzenberg <chip@pobox.com>
242 * utils/statd/{log.h,log.c}: Rename log() to note() and L_* to
243 N_*, to avoid conflict with ISO C built-in log() function.
244 * utils/statd/*.c: Use note().
246 2003-08-20 Chip Salzenberg <chip@pobox.com>
248 * debian/changelog: Version 1.0.5-2.
250 2003-08-11 NeilBrown <neilb@cse.unsw.edu.au>
252 * utils/mountd/cache.c(cache_get_filehandle): close the filehandle
255 2003-08-04 NeilBrown <neilb@cse.unsw.edu.au>
257 * support/include/nfs/export.h, support/nfs/exports.c,
258 utils/exportfs/exports.c, utils/mountd/mountd.c: change
259 NFSEXP_CROSSMNT to NFSEXP_CROSSMOUNT to avoid confusion with older
260 meaning. Also remove meaningless
261 NFSEXP_{UIDMAP,KERBEROS,SUNSECURE}
263 2003-08-04 NeilBrown <neilb@cse.unsw.edu.au>
265 * support/export/xtab.c, support/include/nfslib.h,
266 support/nfs/cacheio.c, support/nfs/nfssvc.c,
267 utils/exportfs/exportfs.c, utils/exportfs/exportfs.man,
268 utils/exportfs/nfsd.man, utils/mountd/cache.c: support
269 /proc/fs/nfsd/* as a perferred alternate to /proc/fs/nfs/*
270 (nfs-utils-1.0.5-post2)
272 2003-08-04 NeilBrown <neilb@cse.unsw.edu.au>
274 * support/nfs/nfsexport.c: open channel file O_WRONLY when
276 * utils/mountd/cache.c: maintain mountlist when new_cache is
277 active. Also use O_WRONLY for channel files.
278 * utils/mountd/mountd.h: mountlist_{del,add} now take a host name
279 rather than an nfs_export.
280 * utils/mountd/rmtab.c: ditto.
281 (nfs-utils-1.5.0-post1)
283 2003-07-24 Chip Salzenberg <chip@pobox.com>
285 * support/nfs/xlog.c (xlog): Revise buffer-overflow fix to
286 use Debian security team's cleaner approach.
287 * debian/changelog: Version 1.0.5-1.
288 * debian/nfs-kernel-server.init: Cosmetic changes.
290 2003-07-18 NeilBrown <neilb@cse.unsw.edu.au>
293 1.0.4 was a bit of a brown-paper-bag-release because of the extra
294 'free' in auth.c. So I'm releasing this just a few days later.
296 * support/nfs/cacheio.c(cache_flush): Correct test for 'open
298 * utils/exportfs/exportfs.c(main): If "-f" given as lone option,
299 check if new_cache is enabled, error if not, flush and exit if it
301 * utils/exportfs/exportfs.man: Explain -f option and explain the
302 two different modes that exportfs can work in.
303 * utils/mountd/mountd.c: Do not change RLIMIT_NOFILE if the -o
305 * utils/mountd/mountd.man: Record the change if default behaviour
307 * configure.in, nfs-utils.spec: update version to 1.0.5 and
310 2003-07-15 NeilBrown <neilb@cse.unsw.edu.au>
312 * utils/mountd/mountd.c(main): getopt string fix for 'o'
313 * utils/mountd/auth.c(auth_authenticate): remove extra 'free'
314 * utils/exportfs/exportfs.c(main): make 'exportfs -f' just flush
316 * support/include/nfs/export.h: Reserve a bit for possible ACL
319 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
321 * utils/exportfs/nfsd.man: new man page for nfsd filesystem. Also
322 assorted changed to cope with section 7 of the manual.
323 * configure.in, nfs-utils.spec: Update version to 1.0.4
326 This is a 'pre-release' for 1.1.0 Hopefully 1.1.0 will be the
327 baseline for 2.6 and 2.8. I.e. it should continue to work right
328 through the 2.8 (or 3.0) kernel series. Previous releases wont.
330 2003-07-04 NeilBrown <neilb@cse.unsw.edu.au>
331 Steve Dickson <SteveD@redhat.com>
334 * utils/statd/statd.c: create a pidfile with pid of statd, and
335 truncate it when statd exists.
336 * utils/statd/statd.c: drop privs by setuid to owner of SM_DIR,
337 and warn if this is root.
338 * utils/statd/statd.c: when statd forks, connect child to parent
339 with a pipe, and send a byte down the pipe once the child is
341 * Makefile: create and chown sm, sm.bak, state when "make install"
342 * configure.in: add --with-statduser= option which defaults to
343 "rpcuser" or "nobody"
344 * config.mk.in: pass "statduser" through to Makefile
346 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
348 * support/include/nfs/nfs.h: Make sure correct __kernel_dev_t is
349 used as the size was changed somewhere in 2.5.60-2.5.70. Without
350 this nfs-utils compiles against 2.6 headers will not work on a
353 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
355 * support/nfs/nfssvc.c(nfssvc): If /proc/fs/nfs/threads exists,
356 set number of threads by writing to there. This means it will
357 still work when the syscall interface goes away in 2.7.
359 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
360 fumihiko kakuma <kakmy@mvh.biglobe.ne.jp>
362 * utils/exportfs/exportfs.c(unexportfs): improve host comparison
363 so as to only export the wildcard exports that were asked for.
364 * support/export/export.c(export_allowed): changed to return the
365 nfs_export rather than a "struct exportent", as m_changed is
367 * support/export/rmtab.c(rmtab_read): modified to deal with
368 interface change for export_allowed(), and enhanced to preserve
369 m_changed flag when a wild-card export causes the creation of
370 a non-wildcard export.
372 2003-07-02 NeilBrown <neilb@cse.unsw.edu.au>
373 Steve Dickson <SteveD@redhat.com>
375 * utils/mountd/mountd.man: Add valid kinds of debugging.
376 * utils/mountd/mountd.c(main): ignore SIGPIPE
377 * utils/nfsstat/nfsstat.c: fine-tune printing of warning so
378 we don't get warnings about unavailable stats that weren't asked
381 2003-06-24 NeilBrown <neilb@cse.unsw.edu.au>
383 * support/nfs/nfsexport.c(exp_unexp): When unexporting filesystems
384 via /rpc/net/rpc/nfsd*/channel, set the expiry date to 1, not
385 'forever', so things disappear out of the cache rather than just
388 2003-06-16 "J. Bruce Fields" <bfields@fieldses.org>
390 * utils/mountd/cache.c(nfsd_fh): don't export the export_ent
393 2003-06-16 NeilBrown <neilb@cse.unsw.edu.au>
395 * debian/nfs-kernel-server.init,etc/nodist/nfs-server,
396 etc/redhat/nfs.init: when checking if V3 is supported, make sure
397 nfs server 'knows' about 127.0.0.1 first.
399 2003-06-10 Chip Salzenberg <chip@pobox.com>
401 * support/nfs/xlog.c (xlog): Fix off-by-one buffer overflow bug.
402 * debian/changelog: Version 1.0.3-2.
404 2003-05-30 Michael Griffith <grif@michaelgriffith.com>
405 NeilBrown <neilb@cse.unsw.edu.au>
407 utils/nfsstat/nfsstat.c(print_callstats): use unsigned
408 long long to avoid overflow when printing stats.
410 2003-05-30 NeilBrown <neilb@cse.unsw.edu.au>
412 * support/export/export.c, support/include/nfslib.h,
413 support/nfs/export.c, utils/exportfs/exportfs.c,
414 utils/mountd/mountd.c: new export option "mountpoint"
415 If no path is given, then the export point must be a
416 mount point, or it won't be exported. If a path is
417 given (e.g. mountpoint=/path) then that path must be
418 a mountpoint or the exportpoint won't be exported.
419 * utils/exportfs/exportfs.man: document mountpoint option.
420 * support/misc/mountpoint.c: New file with is_mountpoint()
421 to determine if something is a mountpoint.
423 2003-05-23 NeilBrown <neilb@cse.unsw.edu.au>
425 * utils/mountd/cache.c(cache_get_filehandle): take a separate path
426 argument as we might not be getting the filehandle for the
428 * utils/mountd/mountd.c(get_rootfh): pass real path when calling
429 cache_get_filehandle.
430 * utils/mountd/mountd.c(get_rootfh): check export point and
431 requested directory are on the same filesystem, and complain if
434 2003-05-22 NeilBrown <neilb@cse.unsw.edu.au>
436 * utils/mountd/auth.c(auth_authenticate_internal): make sure
437 portnumber is still checked when using new cache lookup.
439 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
441 * utils/exportfs/exportfs.c: Use check_new_cache and cache_flush
442 Don't actually talk to kernel when new cache is in effect, except
444 * utils/exportfs/exportfs.c: add -f option to fully flush cache.
445 * support/export/xtab.c: Only rename new xtab into place if it has
446 changed, thus preserving modify date for exportfs to use when
448 * support/nfs/cacheio.c: Add cache_flush
449 * support/export/xtab.c: Only rename new xtab into place if it has
450 changed, thus preserving modify date for exportfs to use when
453 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
455 * support/export/client.c: Add client_compose, client_member to
456 handle new composite client names
457 * support/include/exportfs.h: Declare above functions.
458 * utils/mountd/auth.c: use client_compose to determine calling
459 client if new cache is being used.
460 * utils/mountd/auth.c: call cache_export to export a filesystem if
461 new_cache, check if new cache is used, and call my_svc_run instead
463 * utils/mountd/svc_run.c: new file defining my_svc_run
464 * utils/mountd/cache.c: new file for handling cache upcalls.
465 * support/nfs/cacheio.c(check_new_cache): new function to check if
466 new cache should be used.
469 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
471 * support/include/nfs/export.h: New CROSSMNT distinct from NOHIDE
472 * support/nfs/exports.c: Make CROSSMNT distinct from NOHIDE
473 * utils/exportfs/exportfs.c(dump): ditto
475 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
477 * support/export/hostname.c(get_reliable_hostbyaddr): new function
478 to get host name from address with full checking of authenticity.
479 * support/include/misc.h: declare above function
480 * utils/mountd/auth.c(auth_authenticate_internal): remove all
481 logic for authenticating address.
482 * utils/mountd/auth.c(auth_authenticate): call new
483 get_reliable_hostbyaddr to to hostname lookup before calling _internal.
486 2003-03-30 NeilBrown <neilb@cse.unsw.edu.au>
488 * tools/rpcgen/rpc_main.c(find_cpp): removed
489 * tools/rpcgen/rpc_main.c(open_input): use execvp to find "cpp",
490 then try hard-coded paths.
492 2003-03-26 Chip Salzenberg <chip@pobox.com>
494 * debian/changelog: Version 1.0.3-1.
496 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
498 * utils/mountd/rmtab.c (slink_safe_rename): real_newpath should be
499 "const char*", not "char*".
501 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
503 * configure.in (VERSION): Set to "1.0.3".
504 * nfs-utils.spec: Likewise.
505 * configure: Regenerated.
507 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
509 * support/nfs/cacheio.c: New File - support for read/writing
510 to export cache in /proc/rpc/*/channel
511 * support/nfs/Makefile: compile cacheio.c
512 * support/include/nfslib.h: declare cacheio.c functions
513 * support/nfs/nfsexport.c: export and unexport through
514 /proc/rpc/*/channel if possible, as old syscall interface
515 may not survive into 2.6 on all architectures.
517 2003-02-19 NeilBrown <neilb@cse.unsw.edu.au>
518 Ben Leslie <benno@sesgroup.net>
520 * support/nfs/rpcmisc.c(rpc_init): change test for ignoring
521 "defport" from (__rpcfdtype == 0) to (__rpcpmstart==0). The
522 former would incorectly ignore defport if the application
523 explicitly set __rpcfdtype. The later is sufficient to avoid the
524 special handling in the case where stdin is an internet socket.
526 * utils/mountd/mountd.c(main): Add 'n' to option list in
527 getopt_long as this is a short form of --no-tcp which want being
530 2003-02-12 Chip Salzenberg <chip@pobox.com>
532 * debian/changelog: Version 1.0.2-2.
534 2002-11-27 Chip Salzenberg <chip@pobox.com>
536 * utils/mountd/rmtab.c (slink_safe_rename): Fix off-by-one buffer
537 overflow bug. Reformat per rest of source file.
539 2002-11-19 NeilBrown <neilb@cse.unsw.edu.au>
541 * utils/exportfs/exports.man: Correct notes about whether the wild
542 card characters match a period. They do.
544 2002-10-15 Juan Gomez <juang@us.ibm.com>
546 * utils/mountd/rmtab.c (slink_safe_rename): New. Support
548 (mountlist_add): Call slink_safe_rename instead of rename.
550 2002-10-11 H.J. Lu <hjl@lucon.org>
552 * support/include/exportfs.h (export_errno): New.
554 * support/nfs/exports.c: Include <errno.h>.
556 (getexportent): Set export_errno to EINVAL for bad option.
557 (parseopts): Likewise.
558 Report the location of the default sync/async option.
560 * utils/exportfs/exportfs.c (main): Initialize export_errno to
561 0. Return export_errno.
563 2002-10-11 Juan Gomez <gomez@cs.sjsu.edu>
564 NeilBrown <neilb@cse.unsw.edu.au>
566 utils/statd/statd.c(killer): don't pmap_unset if in notify_only mode
567 utils/statd/statd.c(main): don't pmap_unset if in notify_only mode
569 2002-09-16 Chip Salzenberg <chip@pobox.com>
571 * utils/rquotad/rquota_svc.c (main): Use int for value of getopt.
573 2002-09-15 Chip Salzenberg <chip@pobox.com>
575 * support/nfs/rpcmisc.c (rpc_init): Allow stdin to be a non-INET
576 socket, as occurs when run from sshd.
577 * debian/changelog: Version 1.0.2-1.
579 2002-09-12 H.J. Lu <hjl@lucon.org>
581 * support/nfs/svc_socket.c: Remove HAVE_SVCTCP_SOCKET and
584 2002-09-12 H.J. Lu <hjl@lucon.org>
586 * configure.in: Remove checking svctcp_socket and svcudp_socket.
587 * configure: Regenerated.
589 * support/include/config.h.in (HAVE_SVCTCP_SOCKET): Removed.
590 (HAVE_SVCUDP_SOCKET): Removed.
592 * support/include/nfslib.h: Undo the last change.
594 2002-09-12 H.J. Lu <hjl@lucon.org>
596 * support/include/nfslib.h (svctcp_socket): Protect it with
598 (svcudp_socket): Protect it with HAVE_SVCUDP_SOCKET.
600 2002-09-12 H.J. Lu <hjl@lucon.org>
602 * configure.in (VERSION): Set to "1.0.2".
603 * configure: Regenerated.
604 * nfs-utils.spec: Likewise.
606 2002-09-12 H.J. Lu <hjl@lucon.org>
608 * configure.in: Check svctcp_socket and svcudp_socket.
609 * configure: Regenerated.
611 * support/include/config.h.in (HAVE_SVCTCP_SOCKET): New.
612 (HAVE_SVCUDP_SOCKET): New.
614 * support/include/nfslib.h (svctcp_socket): New.
615 (svcudp_socket): New.
617 * support/nfs/Makefile (OBJS): Add svc_socket.o.
619 * support/nfs/svc_socket.c: New.
621 * support/nfs/rpcmisc.c (rpc_init): Call svctcp_socket and
622 svcudp_socket if port is unspecified.
624 * utils/nfsd/nfsd.c (main): Call getservbyname for port.
626 * utils/rquotad/rquota_svc.c: Include <nfslib.h>.
627 (killer): New. Signal handler to unregister.
628 (main): Use killer. Call svcudp_socket to get the default
631 2002-09-02 Juan Gomez <juang@us.ibm.com>
632 NeilBrown <neilb@cse.unsw.edu.au>
634 Add -N option to statd to run in notify-only mode.
636 * utils/statd/statd.h: uncomment MODE_NOTIFY_ONLY
637 * utils/statd/statd.man: document -N
638 * utils/statd/statd.c: enabled -N, largely exists but needed to be
639 uncommented and completed
641 2002-09-02 Juan Gomez <juang@us.ibm.com>
642 NeilBrown <neilb@cse.unsw.edu.au>
644 statd to have " -P directory" arg to use that directory instead
645 of /var/lib/nfs. This is useful for fail-over clusters.
647 * utils/statd/statd.h: define SM_DIR etc as var, not const.
648 * utils/statd/statd.c: define "-P" option to set SM_*
650 * utils/statd/monitor.c: sprintf to cope with SM_DIR not being
652 * utils/statd/notify.c: ditto.
653 * utils/statd/statd.man: document -P option.
655 2002-08-26 Chip Salzenberg <chip@pobox.com>
657 * utils/nfsd/nfsd.man: Fix typo.
658 * debian/changelog: Version 1.0.1-1.
660 2002-05-29 NeilBrown <neilb@cse.unsw.edu.au>
662 * let parseopts know if /etc/exports was being read or not,
663 and have it only print "no sync or async" warning in that case.
665 2002-05-06 Tom McNeal <trmcneal@attbi.com>
666 NeilBrown <neilb@cse.unsw.edu.au>
668 * utils/nfsstat/nfsstat.c: Handle differing format for
669 /proc/net/rpc/nfsd between pre and post 2.4.0
671 2002-04-09 NeilBrown <neilb@cse.unsw.edu.au>
672 James Pearson <james-p@moving-picture.com>
674 * support/nfs/rmtab.c(fendrmtabent): sync changes to
675 storage before returning, as this is critical state
677 2002-04-08 Sean O'Connell <sean@ee.duke.edu>
678 H.J. Lu <hjl@lucon.org>
680 * etc/redhat/nfs: New.
682 2002-04-08 H.J. Lu <hjl@lucon.org>
684 * etc/redhat/nfs.init: Updated.
686 * nfs-utils.spec.in: Updated.
687 * nfs-utils.spec: Regenerated.
689 * utils/mountd/mountd.c (longopts): Fix a typo.
691 * utils/mountd/mountd.man: Updated.
693 2002-04-07 H.J. Lu <hjl@lucon.org>
695 * etc/redhat/nfslock.init (restart): Just do stop and start.
697 * etc/redhat/nfs.init: Fix a typo.
699 2002-04-07 H.J. Lu <hjl@lucon.org>
701 * configure.in (VERSION): Set to "1.0.1".
702 * configure: Regenerated.
703 * nfs-utils.spec: Likewise.
705 * README: Updated for 1.0.1.
707 2002-04-07 Sean O'Connell <sean@ee.duke.edu>
708 H.J. Lu <hjl@lucon.org>
710 * etc/redhat/nfs.init: Read /etc/sysconfig/nfsd for NFS tuning.
712 2002-02-28 Steven Whitehouse <steve@gw.chygwyn.com>
713 NeilBrown <neilb@cse.unsw.edu.au>
715 Add support for fsid=nn export option so that device
716 numbers don't go in filehandles.
717 * support/export/nfsctl.c(expsetup): if exporting and NFSEXP_FSID
718 is set, pass the fsid in-place of the device number
719 * support/nfs/exports.c: parse and print fsid= option.
720 Also check if efname has been set, and use "command line"
721 instead in error messages.
722 Also, use strtol instead of atoi for anon[ug]id= so that
723 bad numbers cause errors.
725 2002-01-17 Adrian Drzewiecki <drze@MissionCriticalLinux.com>
726 NeilBrown <neilb@cse.unsw.edu.au>
728 * support/nfs/exports.c: remove NFSEXP_ASYNC as a default
729 flag so that "sync" becomes the default.
730 Check that either "sync" or "async" is given as an option
731 and warn if neither are present
732 * utils/exportfs/exports.man: change documentation for "sync"
733 to be documentation for "async".
734 * utils/exportfs/exportfs.man: note that "sync" is the default
738 2002-01-02 Chip Salzenberg <chip@pobox.com>
740 * support/export/nfsctl.c (expsetup): Don't export entries that
741 specify id mappings not supported by the kernel. No extant kernel
742 supports any significant mapping, only 'identity' (i.e. none).
743 When other mappings are supported, this code will need changing.
744 * debian/changelog: Version 1.0-2.
746 2001-12-26 Chip Salzenberg <chip@pobox.com>
748 * nfs-utils.spec (Version): Set to "1.0".
749 * configure.in (VERSION): Likewise.
750 * configure: Regenerated.
752 * debian/changelog: Version 1.0-1.
754 * utils/exportfs/exports.man: Emphasize the need for options to
755 immediately follow client names. Explain that wildcards don't
756 usually work on addresses, but may work when reverse DNS fails.
757 Comment out a leftover TP that was TPing our indentation.
758 * utils/mountd/mountd.man, utils/rquotad/rquotad.man,
759 utils/statd/statd.man: Remove refs to non-existent "hosts_allow(5)".
760 * debian/changelog: Version 0.3.3-6.
762 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
764 * support/export/client.c(client_lookup): If a host has multiple
765 IP addresses, then we must always use the result of a
766 gethostbyname, not that of gethostbyaddr for exporting
768 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
770 * support/export/client.c (client_lookup): use strcasecmp when
772 * support/nfs/export.c (getexportent): add fromkernel arg and use
773 different defaults as kernels prior to 2.4.11 assume different
774 defaults in /proc/fs/nfs/exports
775 * support/include/nfslib.h, support/export/export.c,
776 support/export/xtab.c: support extra "fromkernel" arg for
779 2001-12-13 Chip Salzenberg <chip@pobox.com>
781 * debian/changelog: Version 0.3.3-5.
783 2001-11-26 TAKAI Kousuke <takai@vlsi.kuee.kyoto-u.ac.jp>
785 * support/nfs/xio.c (xskip): Call `xungetc' instead of
786 `ungetc' to keep x_line more properly.
788 2001-11-26 Chip Salzenberg <chip@pobox.com>
790 * utils/showmount/showmount.c (main): Don't assume that strings
791 starting with digits are IP addresses.
792 * utils/nfsd/nfsd.c (main): Close all fds and reopen 0,1,2 on
793 /dev/null before nfssvc(). Use syslog to report nfssvc errors.
794 * support/misc/tcpwrapper.c, utils/mountd/mountd.man,
795 utils/rquotad/rquotad.man, utils/statd/statd.man: Fix comments and
796 man pages: We check host names *and* addresses with tcpwrappers.
797 * debian/changelog: Version 0.3.3-4.
799 2001-11-21 Chip Salzenberg <chip@pobox.com>
801 * support/nfs/clients.c (cfname): Added: current clients file name.
802 (setnfsclntent): Set it.
803 ({get,end}nfsclntent, syntaxerr): Use it.
804 * support/nfs/exports.c (efname): Added: current exports file name.
805 (setnfsexportent): Set it.
806 (endnfsexportent, parseopts, getexport, syntaxerr): Use it.
807 (parseopts): Accept old-style "crossmnt" option, for old xtabs.
808 * debian/changelog: Version 0.3.3-3.
810 2001-10-11 Chip Salzenberg <chip@pobox.com>
812 * utils/mountd/mountd.c (main): Close fds > 2 _before_ RPC init.
813 * debian/changelog: Version 0.3.3-2.
815 2001-10-08 Chip Salzenberg <chip@pobox.com>
817 * utils/mountd/mountd.c (main): When daemonizing, close all fds > 2.
818 * utils/Makefile.in: Remove old Makefile in target 'distclean'.
819 * utils/mountd/mountd.man: Update paths to /var/lib.
820 * debian/*: Version 0.3.3-1, with Debian-specific fixes.
822 2001-10-06 Preston Brown <pbrown@redhat.com>
824 * utils/nfsstat/nfsstat.man: Updated.
826 2001-09-24 H.J. Lu <hjl@lucon.org>
828 * configure.in (VERSION): Set to "0.3.3".
829 * configure: Regenerated.
830 * nfs-utils.spec: Likewise.
832 * README: Updated for 0.3.3.
834 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
836 Arrange that "exportfs -au" never does DNS lookup:
838 * support/export/client.c (client_lookup) : add "canonical"
839 flag which says that the hostname is known to be canonical, so
842 * support/export/export.c (export_create) : add "canonical"
843 flag to be passed down to client_lookup
844 * support/export/export.c (export_lookup) : Likewise
846 * support/export/xtab.c (xtab_read) : pass appropriate
847 "canonical" flag to export_lookup and export_create:
848 set if reading list of filesystems currently exports
851 * support/export/export.c (export_read) : pass 0 as
852 "canonical" flag to export_lookup and export_create
853 * support/export/rmtab.s (rmtab_read) : Likewise
855 * support/include/exportfs.h : redeclare various routines
856 to have "canonical" flag
858 * utils/exportfs/exportfs.c (main) : redo logic for
859 "-au" to read in what is currently exported, but never even
860 look at what "should" be exported.
862 * utils/exportfs/exportfs.c (unexportall) : remove this
863 routine. Functionality is completely included in
866 * utils/exportfs/exportfs.c (exportfs) : set "canonical"
867 flag to zero in calls to export_lookup and export_create.
870 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
871 Anne Milicia <milicia@missioncriticallinux.com>
873 * support/export/client.c (client_lookup) call gethostbyadd
874 to make sure that we have a canonical hostname, even for
876 * utils/exportfs/exportfs.c (exportfs) Likewise
878 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
880 * support/nfs/exports.c (putexportent): \octal quote any spaces
882 * support/nfs/xio.c (xgettok): recognise double-quote and
883 \octal quoting in path names
884 * utils/exportfs/exports.man: document quoting conventions
887 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
889 * utils/mountd/auth.c (auth_authenticate_internal): Reverse
890 change from 2000-08-02: It causes problems if someone exports
891 to both a hostname and IP addresses. nfs-utils must be
892 consistant about the canonical name that it chooses.
894 2001-08-17 Ragnar Kjørstad <nfs@ragnark.vestdata.no>
895 H.J. Lu <hjl@lucon.org>
897 * etc/redhat/nfslock.init (STATDARG): New. Pass it to rpc.statd.
899 * utils/statd/statd.c (longopts): Add "name".
900 (usage): Add "-n/--name".
901 (main): Set MY_NAME with "-n/--name".
903 * utils/statd/state.c (change_state): Set MY_NAME only if it
906 * utils/statd/statd.man: Updated for "-n/--name".
908 2001-07-26 H.J. Lu <hjl@lucon.org>
910 * nfs-utils.spec (Release): Set to 8.
912 2001-07-25 H.J. Lu <hjl@lucon.org>
914 * etc/redhat/nfs.init: Check if rpc.rquotad exists before doing
917 2001-06-27 H.J. Lu <hjl@lucon.org>
919 * etc/redhat/nfs.init: Run rpc.rquotad only if it exists.
921 2001-06-27 H.J. Lu <hjl@lucon.org>
923 * utils/rquotad/rquota_server.c: Don't call statfs () for
924 the block size. Use BLOCK_SIZE instead.
926 2001-06-27 H.J. Lu <hjl@lucon.org>
928 * config.mk.in (CC_FOR_BUILD): Renamed from BUILD_CC.
929 (CFLAGS_FOR_BUILD): New. Don't use @CFLAGS@.
931 * configure.in (enable_nfsv3): Set to yes by default.
932 (--enable-rquotad): Added
933 (AC_PROG_CXX): Removed.
934 (AC_OUTPUT): Add utils/Makefile.
935 (CC_FOR_BUILD): Renamed from BUILD_CC.
936 * configure: Regenerated.
938 * utils/Makefile: Removed.
940 * utils/Makefile.in: New.
942 * nfs-utils.spec.in (rquotad): New. Set to 0 to disable
944 (CC_FOR_BUILD): Renamed from BUILD_CC.
945 * nfs-utils.spec: Regenerated.
947 2001-06-15 Chip Salzenberg <chip@debian.org>
949 * debian/changelog: Version 0.3.2-2.
950 * debian/*.init: Minor fixes.
952 2001-06-07 Lon H. Hohberger <hohberger@missioncriticallinux.com>
954 * etc/nodist/nfs-server: Fixed a bug where the script would
955 disable mounts from NFSv3 clients if NFSv3 is present.
957 2001-06-05 H.J. Lu <hjl@lucon.org>
959 * utils/mountd/mountd.c (longopts): Add "descriptors/o".
960 (main): Support --descriptors/-o to set the limit of the number
961 of open file descriptors.
964 * utils/mountd/mountd.man: Updated for --descriptors/-o.
966 2001-06-04 H.J. Lu <hjl@lucon.org>
968 * nfs-utils.spec (Release): Set to 6.
970 2001-05-28 H.J. Lu <hjl@lucon.org>
972 * utils/lockd/lockd.c (main): chdir to NFS_STATEDIR.
973 * utils/mountd/mountd.c (main): Likewise.
974 * utils/nfsd/nfsd.c (main): Likewise.
975 * utils/rquotad/rquota_svc.c (main): Likewise.
977 2001-05-06 Anne Milicia <milicia@missioncriticallinux.com>
979 * support/export/client.c (client_check): Check IP address
982 2001-05-06 Neil Brown <neilb@cse.unsw.edu.au>
984 * support/export/client.c (client_gettype): Treat `*' as
987 2001-04-22 H.J. Lu <hjl@lucon.org>
989 * nfs-utils.spec.in: Fix a typo.
990 * nfs-utils.spec: Regenerated.
992 2001-04-21 H.J. Lu <hjl@lucon.org>
994 * nfs-utils.spec.in: Fix cross build.
995 * nfs-utils.spec: Regenerated.
998 2001-04-18 H.J. Lu <hjl@lucon.org>
1000 * nfs-utils.spec.in: Support cross build.
1001 * nfs-utils.spec: Regenerated.
1002 (Release): Set to 4.
1005 * config.guess: New.
1007 * config.mk.in (BUILD_CC): New.
1008 (CC): Set to $(BUILD_CC) if BUILD is defined.
1011 (RANLIB): Set to @RANLIB@.
1013 * configure.in: Check BUILD_CC, RANLIB, AR and LD.
1014 * configure: Regenerated.
1016 * tools/rpcgen/Makefile (BUILD): Set to true.
1018 2001-04-01 Chip Salzenberg <chip@valinux.com>
1020 * tools/rpcgen/rpc_svcout.c (write_timeout_func): Remove
1021 redundant, and sometimes broken, declaration of svc_fdset;
1023 * support/nfs/rpcmisc.c (closedown): Likewise.
1025 2001-03-21 H.J. Lu <hjl@lucon.org>
1027 * nfs-utils.spec: Regenerated.
1028 (Release): Set to 3.
1030 2001-03-21 Ion Badulescu <ionut@cs.columbia.edu>
1032 * utils/statd/statd.c (main): make sure file descriptors 0-2
1033 are open to /dev/null.
1035 2001-03-21 H.J. Lu <hjl@lucon.org>
1037 * support/nfs/rpcmisc.c: Restore the change made on 2001-03-10.
1038 * support/nfs/rpcmisc.c: Likewise.
1039 * utils/rquotad/rquota_svc.c: Likewise.
1040 * utils/rquotad/rquotad.man: Likewise.
1041 * utils/statd/Makefile: Likewise.
1042 * utils/statd/rmtcall.c: Likewise.
1043 * utils/statd/simulate.c: Likewise.
1044 * utils/statd/statd.c: Likewise.
1045 * utils/statd/statd.man: Likewise.
1047 2001-03-11 H.J. Lu <hjl@lucon.org>
1049 * configure.in (RELEASE): New. Default to 1, set by
1050 --with-release=XXX. Substitute nfs-utils.spec.
1051 * nfs-utils.spec.in (Release): Set to @RELEASE@.
1052 * configure: Regenerated.
1053 * nfs-utils.spec: Likewise.
1055 2001-03-11 H.J. Lu <hjl@lucon.org>
1057 * utils/rquotad/rquotad.man: Fix a typo.
1059 2001-03-11 H.J. Lu <hjl@lucon.org>
1061 * support/include/rpcmisc.h: Undo the change made on 2001-03-10.
1062 * support/nfs/rpcmisc.c: Likewise.
1063 * utils/rquotad/rquota_svc.c: Likewise.
1064 * utils/rquotad/rquotad.man: Likewise.
1065 * utils/statd/Makefile: Likewise.
1066 * utils/statd/rmtcall.c: Likewise.
1067 * utils/statd/simulate.c: Likewise.
1068 * utils/statd/statd.c: Likewise.
1069 * utils/statd/statd.man: Likewise.
1071 2001-03-10 H.J. Lu <hjl@lucon.org>
1073 * configure.in (VERSION): Set to "0.3.2".
1074 * configure: Regenerated.
1075 * nfs-utils.spec: Likewise.
1077 * README: Updated for 0.3.2.
1079 2001-03-10 Tavis Barr <tavis@boole.isetr.columbia.edu>
1081 * utils/rquotad/rquotad.man: Updated for -p.
1082 * utils/statd/statd.man: Likewise.
1084 2001-03-10 Ion Badulescu <ionut@cs.columbia.edu>
1086 * support/nfs/rpcmisc.c: export makesock()
1088 * support/include/rpcmisc.h (makesock): Declared.
1090 * utils/rquotad/rquota_svc.c: added longopts, added support for
1091 specifying the port to bind to on the command line.
1093 * utils/statd/statd.c: ditto, also specify port used for
1094 outgoing connections.
1095 (do_regist): Removed.
1097 * utils/statd/rmtcall.c (statd_get_socket): Renamed from
1098 get_socket. Make it extern.
1100 * utils/statd/simulate.c (daemon_simulator): Call rpc_init
1101 instead of do_regist.
1103 * utils/statd/Makefile (LIBS): link with our own libnfs
1105 2001-03-09 H.J. Lu <hjl@lucon.org>
1107 * etc/redhat/nfslock.init: Changed chkconfig line to 60 86.
1108 * etc/nodist/nfs-client: Likewise.
1110 2001-02-26 Chip Salzenberg <chip@valinux.com>
1112 * debian/changelog: Version 0.3.1-1.
1113 * Mention upstream source and license in copyright file.
1114 * Add build-Depends for debhelper and libwrap0-dev.
1116 2001-02-20 Lon Hohberger <hohberger@missioncriticallinux.com>
1118 * etc/nodist/nfs-server: Changed chkconfig line to 60 20
1119 * etc/nodist/nfs-client: Likewise.
1121 2001-02-18 Lon Hohberger <hohberger@missioncriticallinux.com>
1123 * utils/statd/statd.man: Changed /usr/sbin/rpc.statd to
1126 2001-02-17 Patrick J. LoPresti <patl@curl.com>
1128 * utils/statd/log.c (log_init): Use LOG_DAEMON instead of
1131 2001-02-14 H.J. Lu <hjl@lucon.org>
1133 * utils/statd/rmtcall.c: Include <time.h>.
1134 * utils/statd/svc_run.c: Likewise.
1136 2001-02-14 H.J. Lu <hjl@lucon.org>
1138 * configure.in (VERSION): Set to "0.3.1".
1139 * configure: Regenerated.
1140 * nfs-utils.spec: Likewise.
1142 * README: Updated for 0.3.1.
1144 2001-02-14 H.J. Lu <hjl@lucon.org>
1146 * support/nfs/rpcmisc.c: Include <time.h>.
1148 2001-02-14 Chip Salzenberg <chip@valinux.com>
1150 * debian/control: Change priority of nhfsstone package to 'extra'.
1152 2001-02-12 Chip Salzenberg <chip@valinux.com>
1154 * debian/changelog: Version 0.3-2.
1156 2001-02-02 H.J. Lu <hjl@lucon.org>
1158 * support/include/rpcmisc.h (rpc_init): Remove bufsize.
1160 * support/nfs/rpcmisc.c (makesock): Remove socksz and comment
1161 out SO_SNDBUF/SO_RCVBUF.
1162 (rpc_init): Remove bufsize and remove socksz in calls to
1165 * utils/mountd/mountd.c (main): Remove bufsize in calls to
1168 2001-01-28 Chip Salzenberg <chip@valinux.com>
1170 * debian/changelog: Version 0.3-1.
1172 2001-01-25 H.J. Lu <hjl@lucon.org>
1174 * configure.in (VERSION): Set to "0.3".
1175 * configure: Regenerated.
1176 * nfs-utils.spec: Likewise.
1178 * README: Updated for 0.3.
1180 2001-01-25 H.J. Lu <hjl@lucon.org>
1182 * utils/lockd/lockd.c (main): Ignore errno == EINVAL.
1184 2001-01-20 Chip Salzenberg <chip@valinux.com>
1186 * support/include/xio.h (xgetc): Declare to return int.
1187 * support/nfs/xio.c (xgetc): Return int.
1188 (xgettok, xskip, xskipcomment): Use int for value of xgetc.
1189 * utils/statd/statd.c (main): Use int for value of getopt.
1190 * debian/changelog: Version 0.2.1-5.
1192 2000-12-10 Chip Salzenberg <chip@valinux.com>
1194 * utils/statd/monitor.c (sm_mon_1_svc): Fix buggy check for
1195 program and procedure numbers of kernel lockd's callback. Also,
1196 besides the old (and broken) procedure #24, allow #16 per Trond.
1198 2000-12-03 Chip Salzenberg <chip@valinux.com>
1200 * support/nfs/xio.c (xfopen): Initialize x_line to one, not zero.
1201 * debian/control: Let nhfsstone replace files in nfs-kernel-server.
1202 * debian/changelog: Version 0.2.1-4.
1204 2000-11-27 Tobias Ringstrom <tori@tellus.mine.nu>
1206 * utils/mountd/auth.c (auth_authenticate): Log the bad path
1209 2000-11-24 Neil Brown <neilb@cse.unsw.edu.au>
1211 * support/nfs/exports.c (getexportent): Check for host name
1212 without option, or options without hostname, and print a warning,
1213 as this is most likely a typo.
1215 2000-11-19 Chip Salzenberg <chip@valinux.com>
1217 * debian/control: Add dependency on portmap.
1218 * debian/changelog: Version 0.2.1-3.
1220 2000-11-10 H.J. Lu <hjl@lucon.org>
1222 * nfs-utils.spec.in: Don't use libtool.
1223 Add ChangeLog and COPYING to doc.
1224 * nfs-utils.spec: Rebuild.
1226 2000-11-09 H.J. Lu <hjl@lucon.org>
1228 * etc/redhat/nfs.init (start): Back out the last change.
1230 2000-11-09 H.J. Lu <hjl@lucon.org>
1232 * etc/redhat/nfs.init (start): Pass --no-tcp to mountd if
1233 TCP is not supported by kernel.
1235 * support/nfs/rpcmisc.c (rpc_init): Don't set _rpcfdtype to 0.
1237 * utils/mountd/mountd.c (longopts): Add "-n/--no-tcp".
1238 (main): Set to _rpcfdtype to SOCK_DGRAM for "-n/--no-tcp".
1240 * utils/mountd/mountd.man: Updated for "-n/--no-tcp".
1242 2000-10-24 Lon Hohberger <hohberger@missioncriticallinux.com>
1244 * utils/statd/callback.c: Fix bug preventing callbacks to local lockd.
1245 * utils/statd/rmtcall.c: Add some IP address paranoia when doing
1246 callbacks to local lockd.
1248 2000-10-18 Scott McDermott <mcdermot@questra.com>
1250 * utils/exportfs/exports.man: Updated for CIDR netmask.
1252 2000-10-17 Scott McDermott <mcdermot@questra.com>
1254 * support/export/client.c (client_init): Support CIDR netmask
1257 2000-10-11 H.J. Lu <hjl@lucon.org>
1259 * aclocal.m4 (AC_TCP_WRAPPER): Fix a typo.
1260 * configure: Rebuilt.
1262 2000-10-06 Lon Hohberger <hohberger@missioncriticallinux.com>
1264 * utils/statd/statd.man: Change "/var/lib/nfs/sm/state" to
1265 "/var/lib/nfs/state".
1267 2000-10-05 Lon Hohberger <hohberger@missioncriticallinux.com>
1269 * utils/statd/statd.h (run_mode): New global bitmask of runtime
1270 behaviors: fg/bg, logging, etc.
1271 * utils/statd/statd.c: New command line options: -V -h -? -d .
1272 * utils/statd/statd.man: Update for changes to statd.
1274 * utils/statd/log.h (log_init): Remove parameter of function; use
1275 global variable "name_p" instead.
1276 * utils/statd/log.c: Add support for logging to stderr.
1278 * utils/statd/notlist.c: Partially rewrite notify list handling
1279 functions. Eliminate run-off-end-of-list bug when calling
1280 nlist_insert_timer. Add lots of comments.
1282 2000-09-27 H.J. Lu <hjl@lucon.org>
1284 * README: Updated for RedHat 7.0.
1286 2000-09-27 H.J. Lu <hjl@lucon.org>
1288 * nfs-utils.spec: Rebuild.
1290 2000-09-27 H.J. Lu <hjl@lucon.org>
1292 * README: Updated for 0.2.1.
1294 2000-09-27 H.J. Lu <hjl@lucon.org>
1296 * nfs-utils.spec.in: Updated to use rpm macros and support
1299 2000-09-25 H.J. Lu <hjl@lucon.org>
1301 * configure.in (VERSION): Set to "0.2.1".
1302 * configure: Regenerated.
1303 * nfs-utils.spec: Updated.
1305 2000-09-25 H.J. Lu <hjl@lucon.org>
1307 * utils/mountd/auth.c (auth_authenticate_internal): Make sure a
1308 non-NULL hostent is always returned.
1310 2000-09-11 Ion Badulescu <ionut@cs.columbia.edu>
1312 * etc/redhat/nfslock.init: don't kill lockd processes that do not
1313 have an executable (i.e. kernel threads)
1315 2000-09-01 H.J. Lu <hjl@lucon.org>
1317 * README: Updated for 0.2.
1319 2000-09-01 Jay Weber <jweber@valinux.com>
1321 * etc/redhat/nfs.init: Added ability for rpc.mountd to default to
1322 supporting version 3 of nfs if available, else it will fall back to
1323 version 2 support only.
1325 2000-08-30 H.J. Lu <hjl@lucon.org>
1327 * configure.in (VERSION): Set to "0.2".
1328 * configure: Regenerated.
1329 * nfs-utils.spec: Updated.
1331 2000-08-25 H.J. Lu <hjl@lucon.org>
1333 * support/misc/tcpwrapper.c (logit): Modify the log output.
1335 2000-08-25 Ion Badulescu <ionut@cs.columbia.edu>
1337 * utils/rquotad/rquotad.man, utils/statd/statd.man,
1338 utils/mountd/mountd.man: updated
1340 * utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL)
1341 * utils/rquotad/Makefile: fix comment
1343 * support/misc/tcpwrapper.c (logit): added comment about waiting
1344 for the children after fork()
1346 * utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving
1347 zombies behind (from logit()'s fork)
1348 * utils/rquotad/rquota_svc.c (main): ditto
1349 * utils/statd/statd.c (main): ditto
1351 * utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG
1352 to check_default instead of 0, for prognum
1354 * utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG
1355 to check_default instead of 0, for prognum
1357 * utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if
1358 HAVE_TCP_WRAPPER is defined.
1359 (mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is
1360 defined. Reject an RPC call if check_default () fails.
1362 2000-08-25 H.J. Lu <hjl@lucon.org>
1364 * support/include/tcpwrapper.h: New for the tcp wrapper
1366 * support/misc/Makefile: Likewise.
1367 * support/misc/from_local.c: Likewise.
1368 * support/misc/tcpwrapper.c: Likewise.
1370 * aclocal.m4 (AC_TCP_WRAPPER): New.
1371 * configure.in: Use it. Substitute LIBWRAP.
1372 * configure: Rebuilt.
1374 * config.mk.in (LIBNSL): New.
1375 (LIBWRAP): Likewise.
1377 * support/Makefile (SUBDIRS): Add misc.
1379 * support/lib/Makefile (LIBS): Add libmisc.a.
1381 * utils/rquotad/Makefile (LIBS): Add
1383 -lmisc $(LIBWRAP) $(LIBNSL)
1385 * utils/statd/Makefile (LIBS): Likewise.
1387 * utils/rquotad/rquota_svc.c: Include "tcpwrapper.h" if
1388 HAVE_TCP_WRAPPER is defined.
1389 (rquotaprog_1): Call check_default () if HAVE_TCP_WRAPPER is
1390 defined. Reject an RPC call if check_default () fails.
1392 * utils/statd/statd.c: Include "tcpwrapper.h" if
1393 HAVE_TCP_WRAPPER is defined.
1394 (sm_prog_1_wrapper): New. A wrapper for sm_prog_1. Call
1395 check_default () before calling sm_prog_1 (). Define it as
1396 sm_prog_1_wrapper if HAVE_TCP_WRAPPER is defined.
1398 2000-08-25 Chip Salzenberg <chip@valinux.com>
1400 * debian/*: Complete Debian build support.
1401 * etc/debian/*: Remove.
1403 2000-08-24 Neil Brown <neilb@cse.unsw.edu.au>
1405 * support/export/client.c(client_check): removed the "dot+1" as a
1406 ypdomain argument to innetgr as this is entirely bogus.
1407 It should always be NULL.
1409 2000-08-23 Neil Brown <neilb@cse.unsw.edu.au>
1411 * support/export/xtab.c(xtab_read): introduce new mode for
1412 reading xtab. i.e. a list of exports that might be known to the
1413 kernel, or might not. These are flagged as m_exported == -1
1414 * support/export/xtab.c(xtab_mount_read): call xtab_read with new
1415 value "2" for xtab, meaning don't trust this too much.
1416 * support/include/exportfs.h(struct mexport): changed m_exported
1417 from one bit to an int so that it can hold new value
1418 * utils/exportfs/exportfs.c(exportfs_ipdate): add an export to the
1419 kernel if it is uncertain whether the kernel knows (m_exported == -1)
1420 * utils/mountd/mountd.c(get_rootfh): similarly export to kernel if
1423 * support/nfs/xio.c(xflock): added O_CREAT when getting
1424 a write lock so that missing files aren't fatal.
1426 * etc/debian/nfs-common: new file from "potato"
1427 * etc/debian/nfs-kernel-server: new file from "potato" plus fixes.
1429 2000-08-09 H.J. Lu <hjl@lucon.org>
1431 * etc/redhat/nfs.init: Run /usr/sbin/exportfs first during
1432 startup to ensure all existing clients work fine.
1434 * support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0
1435 to xtab_read () for reading _PATH_XTAB.
1437 2000-08-02 H.J. Lu <hjl@lucon.org>
1439 * utils/mountd/auth.c (auth_authenticate_internal): Try to
1440 avoid the reverse name lookup.
1442 2000-07-04 H.J. Lu <hjl@lucon.org>
1444 * utils/statd/log.c: Include <stdlib.h> for exit ().
1446 * utils/statd/misc.c (xunlink): Add `{' and `}' to quiet the
1449 2000-07-04 H.J. Lu <hjl@lucon.org>
1451 * configure.in (VERSION): Set to "0.1.9.1".
1452 * configure: Regenerated.
1453 * nfs-utils.spec: Updated.
1457 2000-07-04 Neil Brown <neilb@cse.unsw.edu.au>
1459 * support/export/hostname.c (hostent_dup): Handle the NULL
1462 2000-07-03 H.J. Lu <hjl@lucon.org>
1464 * README: Update the util-linux requirement.
1466 2000-07-03 H.J. Lu <hjl@lucon.org>
1468 * configure.in (VERSION): Set to "0.1.9".
1469 * configure: Regenerated.
1470 * nfs-utils.spec: Updated.
1474 2000-07-03 H.J. Lu <hjl@lucon.org>
1476 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
1477 stop to ensure all clients can still access the server
1478 before it is shutdown.
1480 2000-06-30 Jeff Uphoff <juphoff@transmeta.com>
1482 * tools/rpcgen/rpc_svcout.c (write_msg_out): Generate syslog()
1483 calls with format string.
1485 2000-06-28 Chip Salzenberg <chip@valinux.com>
1487 * utils/statd/log.c (log): Call syslog with format string.
1489 2000-06-27 H.J. Lu <hjl@lucon.org>
1491 * utils/statd/statd.c (main): Use sysconf (_SC_OPEN_MAX)
1492 instead of OPEN_MAX.
1494 2000-06-27 H.J. Lu <hjl@lucon.org>
1498 2000-06-27 H.J. Lu <hjl@lucon.org>
1500 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
1501 startup to ensure all existing clients are exported.
1503 * configure.in (VERSION): Set to "0.1.8.2".
1504 * configure: Regenerated.
1505 * nfs-utils.spec: Updated.
1507 2000-06-06 H.J. Lu <hjl@lucon.org>
1509 * configure.in (VERSION): Set to "0.1.8.1".
1510 * configure: Regenerated.
1511 * nfs-utils.spec: Updated.
1513 2000-06-06 H.J. Lu <hjl@lucon.org>
1515 * utils/mountd/mountd.c (mount_dump_1_svc): Cast svc_getcaller
1516 to "struct sockaddr_in *" for glibc 2.2.
1517 (mount_umnt_1_svc): Likewise.
1518 (mount_umntall_1_svc): Likewise.
1519 (mount_export_1_svc): Likewise.
1520 (mount_exportall_1_svc): Likewise.
1521 (mount_pathconf_2_svc): Likewise.
1522 (get_rootfh): Likewise.
1524 2000-06-04 H.J. Lu <hjl@lucon.org>
1526 * etc/redhat/nfs.init: Fix a typo in comment.
1528 2000-05-31 H.J. Lu <hjl@lucon.org>
1530 * configure.in (VERSION): Set to "0.1.8".
1531 * configure: Regenerated.
1532 * nfs-utils.spec: Updated.
1536 2000-05-31 H.J. Lu <hjl@lucon.org>
1538 * configure.in (VERSION): Set to "0.1.7.5".
1539 * configure: Regenerated.
1540 * nfs-utils.spec: Updated.
1542 * support/include/nfslib.h (exportent): Add a new field,
1543 r_count, to count the number of mounts from a client.
1544 (getrmtabent): Take a new argument for position in file.
1545 (putrmtabent): Likewise.
1546 (fgetrmtabent): Likewise.
1547 (fputrmtabent): Likewise.
1548 * support/nfs/rmtab.c (getrmtabent): Handle the new argument
1549 for position in file.
1550 (fgetrmtabent): Likewise.
1551 (putrmtabent): Likewise.
1552 (fputrmtabent): Likewise.
1554 * support/nfs/rmtab.c (fgetrmtabent): Get value for the new
1557 * support/export/rmtab.c (rmtab_read): Pass NULL as the new
1558 argument to getrmtabent (), fgetrmtabent (), putrmtabent ()
1559 and fputrmtabent ().
1560 * utils/mountd/rmtab.c (mountlist_add): Likewise.
1561 (mountlist_del): Likewise.
1562 (mountlist_del_all): Likewise.
1563 (mountlist_list): Likewise.
1565 * utils/mountd/rmtab.c (mountlist_add): Increment "r_count"
1566 for the existing entry and initialize "r_count" to 1.
1567 (mountlist_del): Decrement "r_count".
1569 2000-05-18 H.J. Lu <hjl@lucon.org>
1571 * configure.in (VERSION): Set to "0.1.7.4".
1572 * configure: Regenerated.
1573 * nfs-utils.spec: Updated.
1575 2000-05-18 H.J. Lu <hjl@lucon.org>
1577 * etc/redhat/nfs.init (restart): Just do stop and start.
1579 2000-05-09 Jay Weber <jweber@valinux.com>
1581 * utils/rquotad/hasquota.c: added support for ext3 recognition
1583 * utils/rquotad/mntent.h: Likewise.
1585 2000-05-01 H.J. Lu <hjl@lucon.org>
1587 * configure.in (VERSION): Set to "0.1.7.3".
1588 * configure: Regenerated.
1589 * nfs-utils.spec: Updated.
1591 2000-05-01 H.J. Lu <hjl@lucon.org>
1593 * utils/rquotad/rquota_server.c (getquotainfo): Skip bad
1594 mounting poins in /etc/fstab.
1596 2000-05-01 H.J. Lu <hjl@lucon.org>
1598 * configure.in (VERSION): Set to "0.1.7.2".
1599 * configure: Regenerated.
1600 * nfs-utils.spec: Updated.
1602 2000-05-01 H.J. Lu <hjl@lucon.org>
1604 * utils/rquotad/rquota_server.c (getquotainfo): Call stat ()
1605 to check for the mounting point.
1607 2000-04-29 Chip Salzenberg <chip@valinux.com>
1608 Neil Brown <neilb@cse.unsw.edu.au>
1610 * Really re-use RPC ports.
1611 (Fixes earlier patch. Sorry, Neil.)
1613 2000-04-26 H.J. Lu <hjl@lucon.org>
1615 * configure.in (VERSION): Set to "0.1.7.1".
1616 * configure: Regenerated.
1617 * nfs-utils.spec: Updated.
1619 2000-04-26 H.J. Lu <hjl@lucon.org>
1621 * etc/redhat/nfslock.init: Check if lockd exits before killing
1624 2000-04-25 H.J. Lu <hjl@lucon.org>
1626 * README: Require util-linux-2.10f-mount-rpc.patch for mount.
1628 2000-03-21 Michael Weiser <michael@weiser.saale-net.de>
1630 * support/nfs/exports.c (parsesquash): Correctly set the
1633 Tue Mar 21 11:38:48 EST 2000 NeilBrown <neilb@cse.unsw.edu.au>
1635 * support/include/nfs/nfs.h: Removed knowledge of internals of
1636 kernel filehandles (which can change) and defined nfs_fh_size
1637 which has variable size
1639 * support/nfs/getfh.c: defined getfh_size to use new syscall to
1640 get variable sized file handles, and change getfh{,old} to
1643 * utils/mountd/mountd.c: use nfd_fh_size and call getfh_size for
1646 * tools/Makefile, tools/nlmtest/nlmtest.c
1647 nlmtest.c depended on internel format of file handles, so now
1651 2000-03-12 Chip Salzenberg <chip@valinux.com>
1652 Neil Brown <neilb@cse.unsw.edu.au>
1654 * support/nfs/rpcmisc.c (rpc_init): Share transports.
1656 2000-03-13 H.J. Lu <hjl@lucon.org>
1658 * etc/redhat/nfsd.init: Updated.
1660 * etc/redhat/nfslock.init: Updated.
1662 * nfs-utils.spec.in: Updated.
1664 * configure.in (VERSION): Set to "0.1.7".
1665 * configure: Regenerated.
1666 * nfs-utils.spec: Updated.
1670 Wed Mar 8 09:42:43 2000 Neil Brown <neilb@cse.unsw.edu.au>
1672 * utils/exportfs/exportfs.c (dump): Included printing of
1673 nohide, no_subtree_check, and insecure_locks
1675 2000-02-26 Chip Salzenberg <chip@valinux.com>
1677 * config.mk.in (INSTALLSUID): Strip ("-s").
1678 (INSTALLSCRIPT): Define.
1679 * utils/nhfsstone/Makefile: Use it.
1681 2000-02-26 Chip Salzenberg <chip@valinux.com>
1683 * utils/lockd/lockd.man: Create.
1684 * utils/lockd/Makefile: Install it.
1685 * utils/nhfsstone/nhfs{run,nums,graph}.man: Create.
1686 * utils/nhfsstone/nhfsstone.man: Change suffix from ".1".
1687 * utils/nhfsstone/Makefile: Install the helper scripts and
1689 * utils/exportfs/exports.man: Fix typo.
1691 2000-02-26 Chip Salzenberg <chip@valinux.com>
1693 * support/nfs/xio.c (xungetc): Decrement line number when
1694 character to unget is newline. Make first parameter int, so
1695 it can distinguish EOF from \377.
1696 * support/include/xio.h (xungetc): Adjust prototype.
1698 Fri Feb 4 23:42:23 2000 Neil Brown <neilb@cse.unsw.edu.au>
1700 * support/include/nfs/export.h: added NFSEXP_NOAUTHNLM
1701 * support/nfs/exports.c: added handling for NFSEXP_NOAUTHNLM
1702 * utils/exportfs/exports.man: added documentation for no_auth_nlm.
1704 This is for supporting a new option introduced in 2.3.42
1706 Thu Feb 3 14:55:48 2000 H.J. Lu <hjl@lucon.org>
1708 * COPYING: Added. GPL.
1710 Thu Feb 03 14:40:40 2000 Cristian Gafton <gafton@redhat.com>
1712 * utils/rquotad/rquota_server.c (getquotainfo): Call statfs ()
1713 to get the block size.
1715 Tue Jan 25 11:04:17 2000 H.J. Lu <hjl@lucon.org>
1717 * nfs-utils.spec.in: Update ftp site.
1719 Mon Jan 17 11:48:18 2000 H.J. Lu <hjl@lucon.org>
1721 * README: Update hostnames.
1723 Tue Jan 11 10:06:22 2000 H.J. Lu <hjl@lucon.org>
1725 * configure.in (VERSION): Set to "0.1.6".
1726 * configure: Regenerated.
1727 * nfs-utils.spec: Updated.
1731 Mon Jan 10 14:26:33 2000 H.J. Lu <hjl@lucon.org>
1733 * utils/mountd/auth.c (auth_authenticate_internal): Call
1734 xstrdup for hostname before passing it to gethostbyname.
1736 * utils/mountd/mountd.c (get_exportlist): Use xstrdup instead
1739 Sun Dec 19 09:35:01 1999 H.J. Lu <hjl@lucon.org>
1741 * README: Update the mailing list address.
1743 Sun Dec 19 09:22:28 1999 H.J. Lu <hjl@lucon.org>
1745 * configure.in (VERSION): Set to "0.1.5".
1746 * configure: Regenerated.
1747 * nfs-utils.spec: Updated.
1751 Mon Dec 13 13:40:20 1999 H.J. Lu <hjl@lucon.org>
1753 * utils/rquotad/hasquota.c (hasquota): Malloc one more char
1756 Mon Dec 6 09:42:45 1999 H.J. Lu <hjl@lucon.org>
1758 * configure.in (VERSION): Set to "0.1.4".
1759 * configure: Regenerated.
1760 * nfs-utils.spec: Updated.
1764 Mon Dec 6 09:28:07 1999 H.J. Lu <hjl@lucon.org>
1766 * nfs-utils.spec.in: New file.
1768 * config.mk.in (VERSION): Changed to "nfs-utils @VERSION@".
1770 * configure.in (nfs-utils.spec): Added to AC_OUTPUT.
1772 1999-12-04 Chip Salzenberg <chip@valinux.com>
1774 * config.mk.in: Use $(CC) as set by configure.
1776 1999-12-04 Chip Salzenberg <chip@valinux.com>
1778 * rules.mk: Call $(MAKE) with $(MFLAGS).
1780 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1782 * tools/rpcgen/rpc_main.c (h_output): Generate IXDR_GET_INT32,
1783 IXDR_PUT_INT32, IXDR_GET_U_INT32 and IXDR_PUT_U_INT32.
1785 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1787 * nfs-utils.spec (Version): Set to 0.1.3.
1789 * configure.in (VERSION): Set to "nfs-utils 0.1.3".
1790 * configure: Regenerated.
1794 Mon Nov 29 11:15:47 1999 H.J. Lu <hjl@lucon.org>
1796 * utils/rquotad/rquota_server.c (nfsmount_to_devname): Removed.
1797 (_PATH_DEV_DSK): Likewise.
1798 (getquotainfo): Match the mounting point from /etc/mtab
1799 instead of calling nfsmount_to_devname ().
1801 1999-11-24 Chip Salzenberg <chip@valinux.com>
1803 * utils/statd/monitor.c (sm_mon_1_svc): Accept lockd callbacks
1804 to the new port 24 as well as the historical port 100021.
1806 Tue Nov 23 10:21:34 1999 Neil Brown <neilb@cse.unsw.edu.au>
1808 * etc/redhat/nfsd.init (stop): moved exportfs -ua after
1809 stopping nfsd to stop spurious ESTALE on server shutdown.
1811 Tue Nov 23 10:13:39 1999 Neil Brown <neilb@cse.unsw.edu.au>
1813 * support/nfs/exports.c (parseopts): make copy of opt string
1814 before 'nul'ing out commas so that
1816 # exportfs -o option1,option2 hosta:/fs hostb:/fs
1818 applies both options to both exports.
1820 Thu Oct 28 12:55:42 1999 H.J. Lu <hjl@lucon.org>
1822 * README: Fix a few typos.
1824 * tools/rpcgen/rpc_cout.c (print_header): Use int32_t instead
1826 * tools/rpcgen/rpc_hout.c (pdefine): Likewise.
1827 * tools/rpcgen/rpc_main.c (c_initialize): Likewise.
1828 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1829 (unsigned_dec): Likewise.
1830 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1831 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1833 * tools/rpcgen/rpc_cout.c (emit_single_in_line): Use INT32
1835 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1836 (unsigned_dec): Likewise.
1837 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1838 * tools/rpcgen/rpc_scan.h (tok_kind): Likewise.
1839 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1841 Thu Oct 28 11:27:51 1999 Neil Brown <neilb@cse.unsw.edu.au>
1843 * support/include/nfs/export.h addedd NFSEXP_NOSUBTREECHECK
1844 * support/nfs/exports.c: added {no_,}subtree_check and changed
1846 * utils/exportfs/exports.man: added no_subtree_check and nohide
1847 and removed irrelevant stuff from unfsd.
1848 * support/export/rmtab.c: rmtab_read didn't quite do the right
1849 thing if a pathname from rmtab was a subdirectory of an export-point
1851 Tue Oct 26 17:22:40 1999 H.J. Lu <hjl@lucon.org>
1853 * README: Updated ftp site.
1855 Mon Oct 25 18:12:45 1999 H.J. Lu <hjl@lucon.org>
1857 * nfs-utils.spec (Version): Set to 0.1.2.
1859 * configure.in (VERSION): Set to "nfs-utils 0.1.2".
1860 * configure: Regenerated.
1864 Mon Oct 25 18:11:21 1999 H.J. Lu <hjl@lucon.org>
1866 * utils/mountd/auth.c (auth_error): Add "no_forward_dns".
1867 (auth_authenticate_internal): Check for NULL return on forward
1869 (auth_authenticate): Handle "no_forward_dns".
1871 Thu Oct 21 16:22:06 1999 H.J. Lu <hjl@lucon.org>
1873 * Version 0.1.1 released.
1875 * nfs-utils.spec (Version): Set to 0.1.1.
1877 * configure.in (VERSION): Set to "nfs-utils 0.1.1".
1878 * configure: Regenerated.
1882 Mon Oct 18 17:43:29 1999 H.J. Lu <hjl@lucon.org>
1884 * nfs-utils.spec (Obsoletes): Fixed a typo, change knfsd-client
1886 (Provides): Likewise.
1888 Mon Oct 18 14:56:22 1999 H.J. Lu <hjl@lucon.org>
1890 * Initial version 0.1 released.
1892 * configure.in (VERSION): Set to "nfs-utils 0.1".
1893 * configure: Regenerated.
1895 Mon Oct 18 14:54:57 1999 H.J. Lu <hjl@lucon.org>
1897 * utils/mountd/mountd.c (get_exportlist): Cleanup.
1899 * utils/exportfs/exportfs.c (unexport_all): Unexport from
1900 kernel only if the entry is exported to kernel.
1901 (unexportfs): Likewise.
1903 Wed Sep 08 16:49:32 1999 Neil Brown <neilb@cse.unsw.edu.au>
1905 1/ utils/mountd/rmtab.c::mountlist_list
1907 This routine stats the rmtab file to see if it has changed. It
1908 if has, it cleans up it's old copy of the data. But it still
1909 always re-read the file, thus returning multiple copies of the
1910 data on consecutive calls without intervening changes.
1911 "Showmount -a" didn't show this as it appears to sort/unique the
1912 data, but 'strace showmount -a' showed that the size of the
1913 datagram that it received grew.
1915 I moved the getrmtabent loop inside the mtime test.
1917 2/ utils/exportfs/exportfs.c
1919 Many routines used the m_path field of m_export instead of
1921 According to the comment in nfslib.h, m_path should only
1922 be used when processing a mount request (i.e. in mountd)
1923 where the mountpoint may be a subdirectory of the export point.
1925 I changed all occurances of m_path to e_path
1928 3/ utils/exportfs/exportfs.c:main
1930 extra arguments are not meaningful with -a or -r, but
1931 exportfs accepted them and then ignored the -a/-r, expect that
1932 -r would still unexport everything first.
1934 I generate an error if there are extra args and f_all
1936 4/ utils/exportfs/exportfs.c:main
1937 extract dump out as a special case.
1939 5/ utils/exportfs/exportfs.c
1940 made f_reexport a local variable.
1943 6/ utils/exportfs/exportfs.c:main,exportall
1945 support/export/rmtab.c
1946 only mayexport on newly created entries, don't set xtabent at all
1948 7/ support/include/nfslib.h
1950 add #define _PATH_PROC_EXPORTS to be /proc/fs/nds/exports
1952 8/ support/export/xtab.c
1954 xtab_mount_read loads data from _PATH_PROC_EXPORTS if it exists,
1958 9/ support/export/xtab.c
1960 xtab_mount_read now sets m_exported, and NOT
1961 xtabent and mayexport
1963 removed the append arguement from xtab_write as it was
1966 added is_export flag to xtab_write similar to xtab_read
1967 if is_export, only write entries with m_xtabent or m_addxtab
1968 if !is_export, only write entries with m_exported
1970 10/ support/export/export.c::export_allowed_internal
1972 added test for exp->m_mayexport, as the export tree
1973 may have entries that are no longer allowed to be exported,
1974 and so shouldn't caused deduced exported by rmtab_read
1976 11/ utils/exportfs/exportfs.c::main
1977 error checking of flags.
1979 12/ utils/exportfs/exportfs.c
1981 total rewrite of export and unexport logic.
1983 - build an exportslist of valid exports, based on
1984 current etab file and arguments,
1985 - read rmtab to instantiate relevant wild card entries
1986 - read etab to find out what is currently exported
1987 - synchronise intention with reality
1988 - write out etab and xtab
1991 discard the m_addxtab flag
1992 add m_changed flag so we know what to report in exportfs
1994 14/ utils/mountd/auth.c:auth_authenticate
1996 the value returned by gethostbyaddr was trusted.
1998 It now follows this with a call to gethostbyname
1999 and checks that the address is in the list.
2001 15/ support/export/nfsctl.c::cltsetup,expsetup
2003 force client names to lowercase as kernel is
2006 16/ quietened a few compiler warnings
2008 17/ support/export/client:client_lookup
2010 look for pre-existing client with same name before creating
2013 18/ support/include/exportfs.h
2015 The ordering of the MCL_* enum was:
2016 ANONYMOUS, FQDN, SUBNETWORK, WILDCARD, NETGROUP
2018 I moved ANONYMOUS to the end.
2020 The ordering is significant when an export entry is being searched for to
2021 match a given address. There are two problems with ANONYMOUS being first.
2023 1/ if a directory is exported rw to a couple of hosts and ro to everyone else,
2024 then the ro case will always be found first and the privileged hosts won't get
2026 2/ When mountd gets a request to mount an ANONYMOUSly exported tree, it creates a FQDN
2027 export entry for the specific host, and writes it to xtab.
2028 When another request comes from the same host, the ANONYMOUS entry is found again,
2029 before the new FQDN entry, so it creates another FQDN entry and writes it to xtab
2030 again. If causes bloat in xtab.
2032 Putting ANONYMOUS at the end reflects it's nature as a catch-all
2034 19/ utils/exportfs/exportfs.man
2035 many updates to the man page to reflect changes to the code
2037 -----------------------
2043 - allow exportfs to modify rmtab file
2044 - make sure kernel never gets two clients with same IP address
2045 - possible kernel should reject
2046 - needs to be some way to lookup client in kernel by IP address
2047 - maybe get kernel to do case-insensitive comparisons on client names
2048 - remove unused clients from kernel
2050 - change etab to xtab and xtab to xtab.active
2052 - timestamp and/or statd-stamp in rmtab for removing old entries.
2054 Mon Oct 18 11:48:07 1999 H.J. Lu <hjl@lucon.org>
2056 * linux-nfs: New directory.
2057 * linux-nfs/ChangeLog: Moved from ..
2058 * linux-nfs/INSTALL: Likewise.
2059 * linux-nfs/KNOWNBUGS: Likewise.
2060 * linux-nfs/NEW: Likewise.
2061 * linux-nfs/README: Likewise.
2062 * linux-nfs/THANKS: Likewise.
2063 * linux-nfs/TODO: Likewise.
2065 * Starting from knfsd 1.4.7.