1 2005-03-14 NeilBrown <neilb@cse.unsw.edu.au>
2 Denis Vlasenko <vda@ilport.com.ua>
3 * support/export/client.c(client_init and client_gettype):
4 treat N.N.N.N as a special case of MCL_SUBNETWORK instead of
7 2005-03-06 G. Allen Morris III <gam3@gam3.net>
8 * support/nfs/cacheio.c(readline): Could not read lines greater
9 than 128 bytes. [1157791]
10 * utils/exportfs/exports.man: Added a SEE ALSO section and
11 fixed 2 typos. [1018450]
13 2005-02-28 Trond Myklebust <trond.myklebust@fys.uio.no>
14 * utils/statd/rmtcall.c(statd_get_socket): If a port number is
15 explicitly given, make sure to try to bind to that.
17 2005-01-11 Chip Salzenberg <chip@pobox.com>
19 * debian/changelog: Version 1.0.7-1.
20 * debian/nfs-common.default (NEED_IDMAPD, NEED_GSSD):
21 Disable by default, on advice of upstream.
22 * debian/nfs-kernel-server.default (NEED_SVCGSSD):
25 * utils/svcgssd/Makefile (predep): Symbolically link duplicated
27 (distclean): Remove symlinks to duplicated files.
29 2004-12-17 NeilBrown <neilb@cse.unsw.edu.au>
32 * config.mk, configure.in: update version number, run autoconf
33 * configure.in: require nfsidmap.h if gss is enabled.
35 2004-12-10 NeilBrown <neilb@cse.unsw.edu.au>
38 * config.mk, configure.in: update version number, run autoconf
40 2004-12-10 Neil Brown <neilb@cse.unsw.edu.au>
41 * README : note dependancy on kerberos, libevent, and nfsidmap
42 * configure.in : fail if --enable-nfsv4 and libevent or
43 libnfsidmap are missing.
44 * configuyre.in: improve message if krb5 support is missing
46 2004-12-06 Paul Clements <paul.clements@steeleye.com>
47 * support/include/ha-callout.h: get return status from waitpid
49 * support/include/ha-callout.h: don't ignore SIGCHLD while waiting
50 for a callout to complete.
51 * utils/statd/statd.c(sigusr): print current start when re-reading
52 notify list due to SIGUSR1
53 * utils/statd/svc_run.c(my_svc_run): call change_state when
56 2004-12-06 Marc Eshel <eshel@almaden.ibm.com>
57 * utils/statd/svc_run.c(my_svc_run): allow loop to exit when in
59 *utils/statd/rmtcall.c(statd_get_socket): if a hostname is given
60 to statd with -n, prefer it's IP address to the default for
63 2004-12-06 Bruce Allan <bwa@us.ibm.com>
64 * utils/mountd/auth.c(auth_reload) Clear the "my_client" cache on
65 an auth_reload to avoid old data getting used.
67 2004-12-03 NeilBrown <neilb@cse.unsw.edu.au>
68 Release 1.0.7-pre1 for testing
70 * config.mk, configure.in: update version number, run autoconf
72 2004-12-03 Trond Myklebust <trond.myklebust@fys.uio.no>
74 * utils/statd/statd.c(main): ignore SIGPIPE
76 2004-11-22 "J. Bruce Fields" <bfields@fieldses.org>
78 * tools/rpcdebug/rpcdebug.c: support aliases "nfsdebug" and
79 "nfsddebug" and update flag names.
80 * configure.in, nodist/* redhat/* nfs-utils.spec*: remove redhat
81 specific files (as no-one actually uses them, especially not
82 redhat), and the nodist /etc files (as they drift out-of-date, and
83 the debian directory provides a suitable example.
84 * utils/svcgssd_proc.c(get_ids): fix memory leak
85 * utils/svcgssd/svcgssd_proc.c: Rely on count of the number of
86 groups instead of using a special guard value to identify the end
88 * utils/idmapd/idmapd.c: don't allow Default domain and anon-uid
89 or -gid to be specified on command line.
90 * utils/idmapd/idmapd.c: improve error messages
91 * utils/idmapd/idmapd.c: Reopen nfsd files on sighup. Allows us
92 to start up client side only (even when nfsd module not loaded),
93 and then sighup later after insmodding nfsd module.
94 * utils/idmapd/idmapd.c: Make sure we catch all errors on
95 daemonizing by waiting for child to report succesfull startup
97 * utils/idmapd/idmapd.c: Let libnfsidmapd parse the idmapd.conf
98 file for the default domain, instead of doing that ourselves.
99 * utils/gssd/gssd_proc.c: Make sure we get an error when a gssd
101 * utils/gssd/gssd_proc.c: We were forgetting to restore the euid
102 on certain failures, which meant gssd could get stuck in a state
103 where it didn't have permissions to read the files in rpc_pipefs
105 * utils/gssd/gssd_proc.c: Use libnfsidmapd to map gss principals
107 * debian/nfs-kernel-server.default: Document the NEED_SVCGSSD
108 variable in /etc/default/nfs-kernel-server.
111 2004-11-22 NeilBrown <neilb@cse.unsw.edu.au>
113 * utils/exportfs/nfsd.man: corrected typo in .BR macro usage -
114 reported by Eric Raymond
116 2004-10-19 "J. Bruce Fields" <bfields@fieldses.org>
118 * support/gssapi/* support/rpc/* utils/gssd/* utils/svcgssd/* etc
119 initial support for GSSAPI authentication
121 2004-09-15 Neil Brown <neilb@cse.unsw.edu.au>
123 * utils/statd/monitor.c(sm_unmon_1_svc): is RESTRICTED_STATD, then
124 check IP address and force my_name to 127.0.0.1 to match
125 what happens in sm_mon_1_svc. This avoid spurious "erroneous
127 * utils/statd.monitor.c(sm_unmon_all_1_svc): likewise
129 2004-09-15 "J. Bruce Fields" <bfields@fieldses.org>
131 * Assorted changes to support "gss/*" style authentication
132 * utils/idmapd: new idmapd daemon for nfsv4 username lookup
134 2004-09-06 Trond Myklebust <trond.myklebust@fys.uio.no>
135 Neil Brown <neilb@cse.unsw.edu.au>
137 * utils/mountd/auth.c(auth_authenticate_internal): fix
138 uninitialsed variable problem (causes bad error messages).
140 2004-09-06 Paul Clements <paul.clements@steeleye.com>
141 Neil Brown <neilb@cse.unsw.edu.au>
143 * utils/mountd/mountd.c(main): support --ha-callout (-H) for
144 specifying a callout program
145 * utils/mountd/rmtab.c: Call ha_callout on mount/unmount
146 * utils/statd/monitor.c: Call ha_callout on add/del client
147 * utils/statd/rmtcall.c: as above
148 * utils/statd/statd.c: handle --ha-callout (-H)
149 * utils/statd/svc_run.c: call notify_hosts is we have received a
151 * support/include/ha-callout.h: define ha_callout function
154 2004-08-31 NeilBrown <neilb@cse.unsw.edu.au>
155 * utils/mountd/cache.c(cache_process_req): clear fd after
156 processing so as not to confused libc/sunrpc into thinking
157 it need to do something with that fd.
159 2004-08-31 NeilBrown <neilb@cse.unsw.edu.au>
161 * debian/nfs-kernel-server.init(start,stop) mount the nfsd
162 filesystem, if available, before starting nfs services, and
163 unmount it afterwards.
164 * etc/nodist/nfs-server: ditto
165 * etc/redhat/nfs.init: likewise
166 * etc/redhat/nfs: add "MOUNT_NFSD" flag to control above.
168 2004-06-08 NeilBrown <neilb@cse.unsw.edu.au>
170 * utils/exportfs/exportfs.c: Don't rmtab_read if new_cache, it
172 * support/nfs/cacheio.c(cache_flush): Change order in which caches
173 are flushed so that dependancies don't keep things in the cache
176 2004-03-18 Chip Salzenberg <chip@pobox.com>
178 * debian/changelog: Version 1.0.6-2.
180 2004-02-24 NeilBrown <neilb@cse.unsw.edu.au>
181 from "J. Bruce Fields" <bfields@fieldses.org>
183 * utils/mountd/cache.c: call auth_reload to make sure auth data is
184 current before responding to kernel upcall.
186 2004-02-24 NeilBrown <neilb@cse.unsw.edu.au>
187 Based on patch from Greg Banks <gnb@melbourne.sgi.com>
189 * utils/exportfs/exports.man: Document fsid= option.
191 2003-09-15 NeilBrown <neilb@cse.unsw.edu.au>
195 * rules.mk: Add dep: rule when no OBJS, so "make dep" works in
196 support/include, and depend in "predep"
197 * support/export/Makefile, tools/rpcgen/Makefile,
198 utils/statd/Makefile: add "predep" rule so that "make dep" works.
199 * Makefile: allow a simple "make" to run ./configure and "make dep"
201 * configure.in, nfs-utils.spec: Update version to 1.0.6
204 2003-09-12 Chip Salzenberg <chip@pobox.com>
206 * debian/changelog: Version 1.0.6-1.
208 2003-09-12 NeilBrown <neilb@cse.unsw.edu.au>
210 * utils/mountd/mountd.c(main): Impose FD_SETSIZE as an upper limit
212 * utils/statd/statd.c(main): Ditto.
214 michael <michael@newdream.net> discovered that svc_setreqsize
215 in glibc can segfault if RLIMIT_NOFILE is bigger than
216 FD_SETSIZE, so a simple solution is to impose a hard limit.
218 2003-09-09 Chip Salzenberg <chip@pobox.com>
220 * debian/changelog: Version 1.0.5-3.
221 * support/export/hostname.c (get_reliable_hostbyaddr): Fix crash
222 on invalid reverse DNS.
223 * utils/showmount/showmount.c (main): Fix inet_ntoa() parameter.
224 * tools/rpcgen/rpc_cout.c (print_header): Remove unused vars.
225 * tools/rpcgen/rpc_parse.c (def_union): Likewise.
227 2003-08-22 Chip Salzenberg <chip@pobox.com>
229 * utils/statd/{log.h,log.c}: Rename log() to note() and L_* to
230 N_*, to avoid conflict with ISO C built-in log() function.
231 * utils/statd/*.c: Use note().
233 2003-08-20 Chip Salzenberg <chip@pobox.com>
235 * debian/changelog: Version 1.0.5-2.
237 2003-08-11 NeilBrown <neilb@cse.unsw.edu.au>
239 * utils/mountd/cache.c(cache_get_filehandle): close the filehandle
242 2003-08-04 NeilBrown <neilb@cse.unsw.edu.au>
244 * support/include/nfs/export.h, support/nfs/exports.c,
245 utils/exportfs/exports.c, utils/mountd/mountd.c: change
246 NFSEXP_CROSSMNT to NFSEXP_CROSSMOUNT to avoid confusion with older
247 meaning. Also remove meaningless
248 NFSEXP_{UIDMAP,KERBEROS,SUNSECURE}
250 2003-08-04 NeilBrown <neilb@cse.unsw.edu.au>
252 * support/export/xtab.c, support/include/nfslib.h,
253 support/nfs/cacheio.c, support/nfs/nfssvc.c,
254 utils/exportfs/exportfs.c, utils/exportfs/exportfs.man,
255 utils/exportfs/nfsd.man, utils/mountd/cache.c: support
256 /proc/fs/nfsd/* as a perferred alternate to /proc/fs/nfs/*
257 (nfs-utils-1.0.5-post2)
259 2003-08-04 NeilBrown <neilb@cse.unsw.edu.au>
261 * support/nfs/nfsexport.c: open channel file O_WRONLY when
263 * utils/mountd/cache.c: maintain mountlist when new_cache is
264 active. Also use O_WRONLY for channel files.
265 * utils/mountd/mountd.h: mountlist_{del,add} now take a host name
266 rather than an nfs_export.
267 * utils/mountd/rmtab.c: ditto.
268 (nfs-utils-1.5.0-post1)
270 2003-07-24 Chip Salzenberg <chip@pobox.com>
272 * support/nfs/xlog.c (xlog): Revise buffer-overflow fix to
273 use Debian security team's cleaner approach.
274 * debian/changelog: Version 1.0.5-1.
275 * debian/nfs-kernel-server.init: Cosmetic changes.
277 2003-07-18 NeilBrown <neilb@cse.unsw.edu.au>
280 1.0.4 was a bit of a brown-paper-bag-release because of the extra
281 'free' in auth.c. So I'm releasing this just a few days later.
283 * support/nfs/cacheio.c(cache_flush): Correct test for 'open
285 * utils/exportfs/exportfs.c(main): If "-f" given as lone option,
286 check if new_cache is enabled, error if not, flush and exit if it
288 * utils/exportfs/exportfs.man: Explain -f option and explain the
289 two different modes that exportfs can work in.
290 * utils/mountd/mountd.c: Do not change RLIMIT_NOFILE if the -o
292 * utils/mountd/mountd.man: Record the change if default behaviour
294 * configure.in, nfs-utils.spec: update version to 1.0.5 and
297 2003-07-15 NeilBrown <neilb@cse.unsw.edu.au>
299 * utils/mountd/mountd.c(main): getopt string fix for 'o'
300 * utils/mountd/auth.c(auth_authenticate): remove extra 'free'
301 * utils/exportfs/exportfs.c(main): make 'exportfs -f' just flush
303 * support/include/nfs/export.h: Reserve a bit for possible ACL
306 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
308 * utils/exportfs/nfsd.man: new man page for nfsd filesystem. Also
309 assorted changed to cope with section 7 of the manual.
310 * configure.in, nfs-utils.spec: Update version to 1.0.4
313 This is a 'pre-release' for 1.1.0 Hopefully 1.1.0 will be the
314 baseline for 2.6 and 2.8. I.e. it should continue to work right
315 through the 2.8 (or 3.0) kernel series. Previous releases wont.
317 2003-07-04 NeilBrown <neilb@cse.unsw.edu.au>
318 Steve Dickson <SteveD@redhat.com>
321 * utils/statd/statd.c: create a pidfile with pid of statd, and
322 truncate it when statd exists.
323 * utils/statd/statd.c: drop privs by setuid to owner of SM_DIR,
324 and warn if this is root.
325 * utils/statd/statd.c: when statd forks, connect child to parent
326 with a pipe, and send a byte down the pipe once the child is
328 * Makefile: create and chown sm, sm.bak, state when "make install"
329 * configure.in: add --with-statduser= option which defaults to
330 "rpcuser" or "nobody"
331 * config.mk.in: pass "statduser" through to Makefile
333 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
335 * support/include/nfs/nfs.h: Make sure correct __kernel_dev_t is
336 used as the size was changed somewhere in 2.5.60-2.5.70. Without
337 this nfs-utils compiles against 2.6 headers will not work on a
340 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
342 * support/nfs/nfssvc.c(nfssvc): If /proc/fs/nfs/threads exists,
343 set number of threads by writing to there. This means it will
344 still work when the syscall interface goes away in 2.7.
346 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
347 fumihiko kakuma <kakmy@mvh.biglobe.ne.jp>
349 * utils/exportfs/exportfs.c(unexportfs): improve host comparison
350 so as to only export the wildcard exports that were asked for.
351 * support/export/export.c(export_allowed): changed to return the
352 nfs_export rather than a "struct exportent", as m_changed is
354 * support/export/rmtab.c(rmtab_read): modified to deal with
355 interface change for export_allowed(), and enhanced to preserve
356 m_changed flag when a wild-card export causes the creation of
357 a non-wildcard export.
359 2003-07-02 NeilBrown <neilb@cse.unsw.edu.au>
360 Steve Dickson <SteveD@redhat.com>
362 * utils/mountd/mountd.man: Add valid kinds of debugging.
363 * utils/mountd/mountd.c(main): ignore SIGPIPE
364 * utils/nfsstat/nfsstat.c: fine-tune printing of warning so
365 we don't get warnings about unavailable stats that weren't asked
368 2003-06-24 NeilBrown <neilb@cse.unsw.edu.au>
370 * support/nfs/nfsexport.c(exp_unexp): When unexporting filesystems
371 via /rpc/net/rpc/nfsd*/channel, set the expiry date to 1, not
372 'forever', so things disappear out of the cache rather than just
375 2003-06-16 "J. Bruce Fields" <bfields@fieldses.org>
377 * utils/mountd/cache.c(nfsd_fh): don't export the export_ent
380 2003-06-16 NeilBrown <neilb@cse.unsw.edu.au>
382 * debian/nfs-kernel-server.init,etc/nodist/nfs-server,
383 etc/redhat/nfs.init: when checking if V3 is supported, make sure
384 nfs server 'knows' about 127.0.0.1 first.
386 2003-06-10 Chip Salzenberg <chip@pobox.com>
388 * support/nfs/xlog.c (xlog): Fix off-by-one buffer overflow bug.
389 * debian/changelog: Version 1.0.3-2.
391 2003-05-30 Michael Griffith <grif@michaelgriffith.com>
392 NeilBrown <neilb@cse.unsw.edu.au>
394 utils/nfsstat/nfsstat.c(print_callstats): use unsigned
395 long long to avoid overflow when printing stats.
397 2003-05-30 NeilBrown <neilb@cse.unsw.edu.au>
399 * support/export/export.c, support/include/nfslib.h,
400 support/nfs/export.c, utils/exportfs/exportfs.c,
401 utils/mountd/mountd.c: new export option "mountpoint"
402 If no path is given, then the export point must be a
403 mount point, or it won't be exported. If a path is
404 given (e.g. mountpoint=/path) then that path must be
405 a mountpoint or the exportpoint won't be exported.
406 * utils/exportfs/exportfs.man: document mountpoint option.
407 * support/misc/mountpoint.c: New file with is_mountpoint()
408 to determine if something is a mountpoint.
410 2003-05-23 NeilBrown <neilb@cse.unsw.edu.au>
412 * utils/mountd/cache.c(cache_get_filehandle): take a separate path
413 argument as we might not be getting the filehandle for the
415 * utils/mountd/mountd.c(get_rootfh): pass real path when calling
416 cache_get_filehandle.
417 * utils/mountd/mountd.c(get_rootfh): check export point and
418 requested directory are on the same filesystem, and complain if
421 2003-05-22 NeilBrown <neilb@cse.unsw.edu.au>
423 * utils/mountd/auth.c(auth_authenticate_internal): make sure
424 portnumber is still checked when using new cache lookup.
426 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
428 * utils/exportfs/exportfs.c: Use check_new_cache and cache_flush
429 Don't actually talk to kernel when new cache is in effect, except
431 * utils/exportfs/exportfs.c: add -f option to fully flush cache.
432 * support/export/xtab.c: Only rename new xtab into place if it has
433 changed, thus preserving modify date for exportfs to use when
435 * support/nfs/cacheio.c: Add cache_flush
436 * support/export/xtab.c: Only rename new xtab into place if it has
437 changed, thus preserving modify date for exportfs to use when
440 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
442 * support/export/client.c: Add client_compose, client_member to
443 handle new composite client names
444 * support/include/exportfs.h: Declare above functions.
445 * utils/mountd/auth.c: use client_compose to determine calling
446 client if new cache is being used.
447 * utils/mountd/auth.c: call cache_export to export a filesystem if
448 new_cache, check if new cache is used, and call my_svc_run instead
450 * utils/mountd/svc_run.c: new file defining my_svc_run
451 * utils/mountd/cache.c: new file for handling cache upcalls.
452 * support/nfs/cacheio.c(check_new_cache): new function to check if
453 new cache should be used.
456 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
458 * support/include/nfs/export.h: New CROSSMNT distinct from NOHIDE
459 * support/nfs/exports.c: Make CROSSMNT distinct from NOHIDE
460 * utils/exportfs/exportfs.c(dump): ditto
462 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
464 * support/export/hostname.c(get_reliable_hostbyaddr): new function
465 to get host name from address with full checking of authenticity.
466 * support/include/misc.h: declare above function
467 * utils/mountd/auth.c(auth_authenticate_internal): remove all
468 logic for authenticating address.
469 * utils/mountd/auth.c(auth_authenticate): call new
470 get_reliable_hostbyaddr to to hostname lookup before calling _internal.
473 2003-03-30 NeilBrown <neilb@cse.unsw.edu.au>
475 * tools/rpcgen/rpc_main.c(find_cpp): removed
476 * tools/rpcgen/rpc_main.c(open_input): use execvp to find "cpp",
477 then try hard-coded paths.
479 2003-03-26 Chip Salzenberg <chip@pobox.com>
481 * debian/changelog: Version 1.0.3-1.
483 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
485 * utils/mountd/rmtab.c (slink_safe_rename): real_newpath should be
486 "const char*", not "char*".
488 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
490 * configure.in (VERSION): Set to "1.0.3".
491 * nfs-utils.spec: Likewise.
492 * configure: Regenerated.
494 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
496 * support/nfs/cacheio.c: New File - support for read/writing
497 to export cache in /proc/rpc/*/channel
498 * support/nfs/Makefile: compile cacheio.c
499 * support/include/nfslib.h: declare cacheio.c functions
500 * support/nfs/nfsexport.c: export and unexport through
501 /proc/rpc/*/channel if possible, as old syscall interface
502 may not survive into 2.6 on all architectures.
504 2003-02-19 NeilBrown <neilb@cse.unsw.edu.au>
505 Ben Leslie <benno@sesgroup.net>
507 * support/nfs/rpcmisc.c(rpc_init): change test for ignoring
508 "defport" from (__rpcfdtype == 0) to (__rpcpmstart==0). The
509 former would incorectly ignore defport if the application
510 explicitly set __rpcfdtype. The later is sufficient to avoid the
511 special handling in the case where stdin is an internet socket.
513 * utils/mountd/mountd.c(main): Add 'n' to option list in
514 getopt_long as this is a short form of --no-tcp which want being
517 2003-02-12 Chip Salzenberg <chip@pobox.com>
519 * debian/changelog: Version 1.0.2-2.
521 2002-11-27 Chip Salzenberg <chip@pobox.com>
523 * utils/mountd/rmtab.c (slink_safe_rename): Fix off-by-one buffer
524 overflow bug. Reformat per rest of source file.
526 2002-11-19 NeilBrown <neilb@cse.unsw.edu.au>
528 * utils/exportfs/exports.man: Correct notes about whether the wild
529 card characters match a period. They do.
531 2002-10-15 Juan Gomez <juang@us.ibm.com>
533 * utils/mountd/rmtab.c (slink_safe_rename): New. Support
535 (mountlist_add): Call slink_safe_rename instead of rename.
537 2002-10-11 H.J. Lu <hjl@lucon.org>
539 * support/include/exportfs.h (export_errno): New.
541 * support/nfs/exports.c: Include <errno.h>.
543 (getexportent): Set export_errno to EINVAL for bad option.
544 (parseopts): Likewise.
545 Report the location of the default sync/async option.
547 * utils/exportfs/exportfs.c (main): Initialize export_errno to
548 0. Return export_errno.
550 2002-10-11 Juan Gomez <gomez@cs.sjsu.edu>
551 NeilBrown <neilb@cse.unsw.edu.au>
553 utils/statd/statd.c(killer): don't pmap_unset if in notify_only mode
554 utils/statd/statd.c(main): don't pmap_unset if in notify_only mode
556 2002-09-16 Chip Salzenberg <chip@pobox.com>
558 * utils/rquotad/rquota_svc.c (main): Use int for value of getopt.
560 2002-09-15 Chip Salzenberg <chip@pobox.com>
562 * support/nfs/rpcmisc.c (rpc_init): Allow stdin to be a non-INET
563 socket, as occurs when run from sshd.
564 * debian/changelog: Version 1.0.2-1.
566 2002-09-12 H.J. Lu <hjl@lucon.org>
568 * support/nfs/svc_socket.c: Remove HAVE_SVCTCP_SOCKET and
571 2002-09-12 H.J. Lu <hjl@lucon.org>
573 * configure.in: Remove checking svctcp_socket and svcudp_socket.
574 * configure: Regenerated.
576 * support/include/config.h.in (HAVE_SVCTCP_SOCKET): Removed.
577 (HAVE_SVCUDP_SOCKET): Removed.
579 * support/include/nfslib.h: Undo the last change.
581 2002-09-12 H.J. Lu <hjl@lucon.org>
583 * support/include/nfslib.h (svctcp_socket): Protect it with
585 (svcudp_socket): Protect it with HAVE_SVCUDP_SOCKET.
587 2002-09-12 H.J. Lu <hjl@lucon.org>
589 * configure.in (VERSION): Set to "1.0.2".
590 * configure: Regenerated.
591 * nfs-utils.spec: Likewise.
593 2002-09-12 H.J. Lu <hjl@lucon.org>
595 * configure.in: Check svctcp_socket and svcudp_socket.
596 * configure: Regenerated.
598 * support/include/config.h.in (HAVE_SVCTCP_SOCKET): New.
599 (HAVE_SVCUDP_SOCKET): New.
601 * support/include/nfslib.h (svctcp_socket): New.
602 (svcudp_socket): New.
604 * support/nfs/Makefile (OBJS): Add svc_socket.o.
606 * support/nfs/svc_socket.c: New.
608 * support/nfs/rpcmisc.c (rpc_init): Call svctcp_socket and
609 svcudp_socket if port is unspecified.
611 * utils/nfsd/nfsd.c (main): Call getservbyname for port.
613 * utils/rquotad/rquota_svc.c: Include <nfslib.h>.
614 (killer): New. Signal handler to unregister.
615 (main): Use killer. Call svcudp_socket to get the default
618 2002-09-02 Juan Gomez <juang@us.ibm.com>
619 NeilBrown <neilb@cse.unsw.edu.au>
621 Add -N option to statd to run in notify-only mode.
623 * utils/statd/statd.h: uncomment MODE_NOTIFY_ONLY
624 * utils/statd/statd.man: document -N
625 * utils/statd/statd.c: enabled -N, largely exists but needed to be
626 uncommented and completed
628 2002-09-02 Juan Gomez <juang@us.ibm.com>
629 NeilBrown <neilb@cse.unsw.edu.au>
631 statd to have " -P directory" arg to use that directory instead
632 of /var/lib/nfs. This is useful for fail-over clusters.
634 * utils/statd/statd.h: define SM_DIR etc as var, not const.
635 * utils/statd/statd.c: define "-P" option to set SM_*
637 * utils/statd/monitor.c: sprintf to cope with SM_DIR not being
639 * utils/statd/notify.c: ditto.
640 * utils/statd/statd.man: document -P option.
642 2002-08-26 Chip Salzenberg <chip@pobox.com>
644 * utils/nfsd/nfsd.man: Fix typo.
645 * debian/changelog: Version 1.0.1-1.
647 2002-05-29 NeilBrown <neilb@cse.unsw.edu.au>
649 * let parseopts know if /etc/exports was being read or not,
650 and have it only print "no sync or async" warning in that case.
652 2002-05-06 Tom McNeal <trmcneal@attbi.com>
653 NeilBrown <neilb@cse.unsw.edu.au>
655 * utils/nfsstat/nfsstat.c: Handle differing format for
656 /proc/net/rpc/nfsd between pre and post 2.4.0
658 2002-04-09 NeilBrown <neilb@cse.unsw.edu.au>
659 James Pearson <james-p@moving-picture.com>
661 * support/nfs/rmtab.c(fendrmtabent): sync changes to
662 storage before returning, as this is critical state
664 2002-04-08 Sean O'Connell <sean@ee.duke.edu>
665 H.J. Lu <hjl@lucon.org>
667 * etc/redhat/nfs: New.
669 2002-04-08 H.J. Lu <hjl@lucon.org>
671 * etc/redhat/nfs.init: Updated.
673 * nfs-utils.spec.in: Updated.
674 * nfs-utils.spec: Regenerated.
676 * utils/mountd/mountd.c (longopts): Fix a typo.
678 * utils/mountd/mountd.man: Updated.
680 2002-04-07 H.J. Lu <hjl@lucon.org>
682 * etc/redhat/nfslock.init (restart): Just do stop and start.
684 * etc/redhat/nfs.init: Fix a typo.
686 2002-04-07 H.J. Lu <hjl@lucon.org>
688 * configure.in (VERSION): Set to "1.0.1".
689 * configure: Regenerated.
690 * nfs-utils.spec: Likewise.
692 * README: Updated for 1.0.1.
694 2002-04-07 Sean O'Connell <sean@ee.duke.edu>
695 H.J. Lu <hjl@lucon.org>
697 * etc/redhat/nfs.init: Read /etc/sysconfig/nfsd for NFS tuning.
699 2002-02-28 Steven Whitehouse <steve@gw.chygwyn.com>
700 NeilBrown <neilb@cse.unsw.edu.au>
702 Add support for fsid=nn export option so that device
703 numbers don't go in filehandles.
704 * support/export/nfsctl.c(expsetup): if exporting and NFSEXP_FSID
705 is set, pass the fsid in-place of the device number
706 * support/nfs/exports.c: parse and print fsid= option.
707 Also check if efname has been set, and use "command line"
708 instead in error messages.
709 Also, use strtol instead of atoi for anon[ug]id= so that
710 bad numbers cause errors.
712 2002-01-17 Adrian Drzewiecki <drze@MissionCriticalLinux.com>
713 NeilBrown <neilb@cse.unsw.edu.au>
715 * support/nfs/exports.c: remove NFSEXP_ASYNC as a default
716 flag so that "sync" becomes the default.
717 Check that either "sync" or "async" is given as an option
718 and warn if neither are present
719 * utils/exportfs/exports.man: change documentation for "sync"
720 to be documentation for "async".
721 * utils/exportfs/exportfs.man: note that "sync" is the default
725 2002-01-02 Chip Salzenberg <chip@pobox.com>
727 * support/export/nfsctl.c (expsetup): Don't export entries that
728 specify id mappings not supported by the kernel. No extant kernel
729 supports any significant mapping, only 'identity' (i.e. none).
730 When other mappings are supported, this code will need changing.
731 * debian/changelog: Version 1.0-2.
733 2001-12-26 Chip Salzenberg <chip@pobox.com>
735 * nfs-utils.spec (Version): Set to "1.0".
736 * configure.in (VERSION): Likewise.
737 * configure: Regenerated.
739 * debian/changelog: Version 1.0-1.
741 * utils/exportfs/exports.man: Emphasize the need for options to
742 immediately follow client names. Explain that wildcards don't
743 usually work on addresses, but may work when reverse DNS fails.
744 Comment out a leftover TP that was TPing our indentation.
745 * utils/mountd/mountd.man, utils/rquotad/rquotad.man,
746 utils/statd/statd.man: Remove refs to non-existent "hosts_allow(5)".
747 * debian/changelog: Version 0.3.3-6.
749 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
751 * support/export/client.c(client_lookup): If a host has multiple
752 IP addresses, then we must always use the result of a
753 gethostbyname, not that of gethostbyaddr for exporting
755 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
757 * support/export/client.c (client_lookup): use strcasecmp when
759 * support/nfs/export.c (getexportent): add fromkernel arg and use
760 different defaults as kernels prior to 2.4.11 assume different
761 defaults in /proc/fs/nfs/exports
762 * support/include/nfslib.h, support/export/export.c,
763 support/export/xtab.c: support extra "fromkernel" arg for
766 2001-12-13 Chip Salzenberg <chip@pobox.com>
768 * debian/changelog: Version 0.3.3-5.
770 2001-11-26 TAKAI Kousuke <takai@vlsi.kuee.kyoto-u.ac.jp>
772 * support/nfs/xio.c (xskip): Call `xungetc' instead of
773 `ungetc' to keep x_line more properly.
775 2001-11-26 Chip Salzenberg <chip@pobox.com>
777 * utils/showmount/showmount.c (main): Don't assume that strings
778 starting with digits are IP addresses.
779 * utils/nfsd/nfsd.c (main): Close all fds and reopen 0,1,2 on
780 /dev/null before nfssvc(). Use syslog to report nfssvc errors.
781 * support/misc/tcpwrapper.c, utils/mountd/mountd.man,
782 utils/rquotad/rquotad.man, utils/statd/statd.man: Fix comments and
783 man pages: We check host names *and* addresses with tcpwrappers.
784 * debian/changelog: Version 0.3.3-4.
786 2001-11-21 Chip Salzenberg <chip@pobox.com>
788 * support/nfs/clients.c (cfname): Added: current clients file name.
789 (setnfsclntent): Set it.
790 ({get,end}nfsclntent, syntaxerr): Use it.
791 * support/nfs/exports.c (efname): Added: current exports file name.
792 (setnfsexportent): Set it.
793 (endnfsexportent, parseopts, getexport, syntaxerr): Use it.
794 (parseopts): Accept old-style "crossmnt" option, for old xtabs.
795 * debian/changelog: Version 0.3.3-3.
797 2001-10-11 Chip Salzenberg <chip@pobox.com>
799 * utils/mountd/mountd.c (main): Close fds > 2 _before_ RPC init.
800 * debian/changelog: Version 0.3.3-2.
802 2001-10-08 Chip Salzenberg <chip@pobox.com>
804 * utils/mountd/mountd.c (main): When daemonizing, close all fds > 2.
805 * utils/Makefile.in: Remove old Makefile in target 'distclean'.
806 * utils/mountd/mountd.man: Update paths to /var/lib.
807 * debian/*: Version 0.3.3-1, with Debian-specific fixes.
809 2001-10-06 Preston Brown <pbrown@redhat.com>
811 * utils/nfsstat/nfsstat.man: Updated.
813 2001-09-24 H.J. Lu <hjl@lucon.org>
815 * configure.in (VERSION): Set to "0.3.3".
816 * configure: Regenerated.
817 * nfs-utils.spec: Likewise.
819 * README: Updated for 0.3.3.
821 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
823 Arrange that "exportfs -au" never does DNS lookup:
825 * support/export/client.c (client_lookup) : add "canonical"
826 flag which says that the hostname is known to be canonical, so
829 * support/export/export.c (export_create) : add "canonical"
830 flag to be passed down to client_lookup
831 * support/export/export.c (export_lookup) : Likewise
833 * support/export/xtab.c (xtab_read) : pass appropriate
834 "canonical" flag to export_lookup and export_create:
835 set if reading list of filesystems currently exports
838 * support/export/export.c (export_read) : pass 0 as
839 "canonical" flag to export_lookup and export_create
840 * support/export/rmtab.s (rmtab_read) : Likewise
842 * support/include/exportfs.h : redeclare various routines
843 to have "canonical" flag
845 * utils/exportfs/exportfs.c (main) : redo logic for
846 "-au" to read in what is currently exported, but never even
847 look at what "should" be exported.
849 * utils/exportfs/exportfs.c (unexportall) : remove this
850 routine. Functionality is completely included in
853 * utils/exportfs/exportfs.c (exportfs) : set "canonical"
854 flag to zero in calls to export_lookup and export_create.
857 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
858 Anne Milicia <milicia@missioncriticallinux.com>
860 * support/export/client.c (client_lookup) call gethostbyadd
861 to make sure that we have a canonical hostname, even for
863 * utils/exportfs/exportfs.c (exportfs) Likewise
865 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
867 * support/nfs/exports.c (putexportent): \octal quote any spaces
869 * support/nfs/xio.c (xgettok): recognise double-quote and
870 \octal quoting in path names
871 * utils/exportfs/exports.man: document quoting conventions
874 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
876 * utils/mountd/auth.c (auth_authenticate_internal): Reverse
877 change from 2000-08-02: It causes problems if someone exports
878 to both a hostname and IP addresses. nfs-utils must be
879 consistant about the canonical name that it chooses.
881 2001-08-17 Ragnar Kjørstad <nfs@ragnark.vestdata.no>
882 H.J. Lu <hjl@lucon.org>
884 * etc/redhat/nfslock.init (STATDARG): New. Pass it to rpc.statd.
886 * utils/statd/statd.c (longopts): Add "name".
887 (usage): Add "-n/--name".
888 (main): Set MY_NAME with "-n/--name".
890 * utils/statd/state.c (change_state): Set MY_NAME only if it
893 * utils/statd/statd.man: Updated for "-n/--name".
895 2001-07-26 H.J. Lu <hjl@lucon.org>
897 * nfs-utils.spec (Release): Set to 8.
899 2001-07-25 H.J. Lu <hjl@lucon.org>
901 * etc/redhat/nfs.init: Check if rpc.rquotad exists before doing
904 2001-06-27 H.J. Lu <hjl@lucon.org>
906 * etc/redhat/nfs.init: Run rpc.rquotad only if it exists.
908 2001-06-27 H.J. Lu <hjl@lucon.org>
910 * utils/rquotad/rquota_server.c: Don't call statfs () for
911 the block size. Use BLOCK_SIZE instead.
913 2001-06-27 H.J. Lu <hjl@lucon.org>
915 * config.mk.in (CC_FOR_BUILD): Renamed from BUILD_CC.
916 (CFLAGS_FOR_BUILD): New. Don't use @CFLAGS@.
918 * configure.in (enable_nfsv3): Set to yes by default.
919 (--enable-rquotad): Added
920 (AC_PROG_CXX): Removed.
921 (AC_OUTPUT): Add utils/Makefile.
922 (CC_FOR_BUILD): Renamed from BUILD_CC.
923 * configure: Regenerated.
925 * utils/Makefile: Removed.
927 * utils/Makefile.in: New.
929 * nfs-utils.spec.in (rquotad): New. Set to 0 to disable
931 (CC_FOR_BUILD): Renamed from BUILD_CC.
932 * nfs-utils.spec: Regenerated.
934 2001-06-15 Chip Salzenberg <chip@debian.org>
936 * debian/changelog: Version 0.3.2-2.
937 * debian/*.init: Minor fixes.
939 2001-06-07 Lon H. Hohberger <hohberger@missioncriticallinux.com>
941 * etc/nodist/nfs-server: Fixed a bug where the script would
942 disable mounts from NFSv3 clients if NFSv3 is present.
944 2001-06-05 H.J. Lu <hjl@lucon.org>
946 * utils/mountd/mountd.c (longopts): Add "descriptors/o".
947 (main): Support --descriptors/-o to set the limit of the number
948 of open file descriptors.
951 * utils/mountd/mountd.man: Updated for --descriptors/-o.
953 2001-06-04 H.J. Lu <hjl@lucon.org>
955 * nfs-utils.spec (Release): Set to 6.
957 2001-05-28 H.J. Lu <hjl@lucon.org>
959 * utils/lockd/lockd.c (main): chdir to NFS_STATEDIR.
960 * utils/mountd/mountd.c (main): Likewise.
961 * utils/nfsd/nfsd.c (main): Likewise.
962 * utils/rquotad/rquota_svc.c (main): Likewise.
964 2001-05-06 Anne Milicia <milicia@missioncriticallinux.com>
966 * support/export/client.c (client_check): Check IP address
969 2001-05-06 Neil Brown <neilb@cse.unsw.edu.au>
971 * support/export/client.c (client_gettype): Treat `*' as
974 2001-04-22 H.J. Lu <hjl@lucon.org>
976 * nfs-utils.spec.in: Fix a typo.
977 * nfs-utils.spec: Regenerated.
979 2001-04-21 H.J. Lu <hjl@lucon.org>
981 * nfs-utils.spec.in: Fix cross build.
982 * nfs-utils.spec: Regenerated.
985 2001-04-18 H.J. Lu <hjl@lucon.org>
987 * nfs-utils.spec.in: Support cross build.
988 * nfs-utils.spec: Regenerated.
994 * config.mk.in (BUILD_CC): New.
995 (CC): Set to $(BUILD_CC) if BUILD is defined.
998 (RANLIB): Set to @RANLIB@.
1000 * configure.in: Check BUILD_CC, RANLIB, AR and LD.
1001 * configure: Regenerated.
1003 * tools/rpcgen/Makefile (BUILD): Set to true.
1005 2001-04-01 Chip Salzenberg <chip@valinux.com>
1007 * tools/rpcgen/rpc_svcout.c (write_timeout_func): Remove
1008 redundant, and sometimes broken, declaration of svc_fdset;
1010 * support/nfs/rpcmisc.c (closedown): Likewise.
1012 2001-03-21 H.J. Lu <hjl@lucon.org>
1014 * nfs-utils.spec: Regenerated.
1015 (Release): Set to 3.
1017 2001-03-21 Ion Badulescu <ionut@cs.columbia.edu>
1019 * utils/statd/statd.c (main): make sure file descriptors 0-2
1020 are open to /dev/null.
1022 2001-03-21 H.J. Lu <hjl@lucon.org>
1024 * support/nfs/rpcmisc.c: Restore the change made on 2001-03-10.
1025 * support/nfs/rpcmisc.c: Likewise.
1026 * utils/rquotad/rquota_svc.c: Likewise.
1027 * utils/rquotad/rquotad.man: Likewise.
1028 * utils/statd/Makefile: Likewise.
1029 * utils/statd/rmtcall.c: Likewise.
1030 * utils/statd/simulate.c: Likewise.
1031 * utils/statd/statd.c: Likewise.
1032 * utils/statd/statd.man: Likewise.
1034 2001-03-11 H.J. Lu <hjl@lucon.org>
1036 * configure.in (RELEASE): New. Default to 1, set by
1037 --with-release=XXX. Substitute nfs-utils.spec.
1038 * nfs-utils.spec.in (Release): Set to @RELEASE@.
1039 * configure: Regenerated.
1040 * nfs-utils.spec: Likewise.
1042 2001-03-11 H.J. Lu <hjl@lucon.org>
1044 * utils/rquotad/rquotad.man: Fix a typo.
1046 2001-03-11 H.J. Lu <hjl@lucon.org>
1048 * support/include/rpcmisc.h: Undo the change made on 2001-03-10.
1049 * support/nfs/rpcmisc.c: Likewise.
1050 * utils/rquotad/rquota_svc.c: Likewise.
1051 * utils/rquotad/rquotad.man: Likewise.
1052 * utils/statd/Makefile: Likewise.
1053 * utils/statd/rmtcall.c: Likewise.
1054 * utils/statd/simulate.c: Likewise.
1055 * utils/statd/statd.c: Likewise.
1056 * utils/statd/statd.man: Likewise.
1058 2001-03-10 H.J. Lu <hjl@lucon.org>
1060 * configure.in (VERSION): Set to "0.3.2".
1061 * configure: Regenerated.
1062 * nfs-utils.spec: Likewise.
1064 * README: Updated for 0.3.2.
1066 2001-03-10 Tavis Barr <tavis@boole.isetr.columbia.edu>
1068 * utils/rquotad/rquotad.man: Updated for -p.
1069 * utils/statd/statd.man: Likewise.
1071 2001-03-10 Ion Badulescu <ionut@cs.columbia.edu>
1073 * support/nfs/rpcmisc.c: export makesock()
1075 * support/include/rpcmisc.h (makesock): Declared.
1077 * utils/rquotad/rquota_svc.c: added longopts, added support for
1078 specifying the port to bind to on the command line.
1080 * utils/statd/statd.c: ditto, also specify port used for
1081 outgoing connections.
1082 (do_regist): Removed.
1084 * utils/statd/rmtcall.c (statd_get_socket): Renamed from
1085 get_socket. Make it extern.
1087 * utils/statd/simulate.c (daemon_simulator): Call rpc_init
1088 instead of do_regist.
1090 * utils/statd/Makefile (LIBS): link with our own libnfs
1092 2001-03-09 H.J. Lu <hjl@lucon.org>
1094 * etc/redhat/nfslock.init: Changed chkconfig line to 60 86.
1095 * etc/nodist/nfs-client: Likewise.
1097 2001-02-26 Chip Salzenberg <chip@valinux.com>
1099 * debian/changelog: Version 0.3.1-1.
1100 * Mention upstream source and license in copyright file.
1101 * Add build-Depends for debhelper and libwrap0-dev.
1103 2001-02-20 Lon Hohberger <hohberger@missioncriticallinux.com>
1105 * etc/nodist/nfs-server: Changed chkconfig line to 60 20
1106 * etc/nodist/nfs-client: Likewise.
1108 2001-02-18 Lon Hohberger <hohberger@missioncriticallinux.com>
1110 * utils/statd/statd.man: Changed /usr/sbin/rpc.statd to
1113 2001-02-17 Patrick J. LoPresti <patl@curl.com>
1115 * utils/statd/log.c (log_init): Use LOG_DAEMON instead of
1118 2001-02-14 H.J. Lu <hjl@lucon.org>
1120 * utils/statd/rmtcall.c: Include <time.h>.
1121 * utils/statd/svc_run.c: Likewise.
1123 2001-02-14 H.J. Lu <hjl@lucon.org>
1125 * configure.in (VERSION): Set to "0.3.1".
1126 * configure: Regenerated.
1127 * nfs-utils.spec: Likewise.
1129 * README: Updated for 0.3.1.
1131 2001-02-14 H.J. Lu <hjl@lucon.org>
1133 * support/nfs/rpcmisc.c: Include <time.h>.
1135 2001-02-14 Chip Salzenberg <chip@valinux.com>
1137 * debian/control: Change priority of nhfsstone package to 'extra'.
1139 2001-02-12 Chip Salzenberg <chip@valinux.com>
1141 * debian/changelog: Version 0.3-2.
1143 2001-02-02 H.J. Lu <hjl@lucon.org>
1145 * support/include/rpcmisc.h (rpc_init): Remove bufsize.
1147 * support/nfs/rpcmisc.c (makesock): Remove socksz and comment
1148 out SO_SNDBUF/SO_RCVBUF.
1149 (rpc_init): Remove bufsize and remove socksz in calls to
1152 * utils/mountd/mountd.c (main): Remove bufsize in calls to
1155 2001-01-28 Chip Salzenberg <chip@valinux.com>
1157 * debian/changelog: Version 0.3-1.
1159 2001-01-25 H.J. Lu <hjl@lucon.org>
1161 * configure.in (VERSION): Set to "0.3".
1162 * configure: Regenerated.
1163 * nfs-utils.spec: Likewise.
1165 * README: Updated for 0.3.
1167 2001-01-25 H.J. Lu <hjl@lucon.org>
1169 * utils/lockd/lockd.c (main): Ignore errno == EINVAL.
1171 2001-01-20 Chip Salzenberg <chip@valinux.com>
1173 * support/include/xio.h (xgetc): Declare to return int.
1174 * support/nfs/xio.c (xgetc): Return int.
1175 (xgettok, xskip, xskipcomment): Use int for value of xgetc.
1176 * utils/statd/statd.c (main): Use int for value of getopt.
1177 * debian/changelog: Version 0.2.1-5.
1179 2000-12-10 Chip Salzenberg <chip@valinux.com>
1181 * utils/statd/monitor.c (sm_mon_1_svc): Fix buggy check for
1182 program and procedure numbers of kernel lockd's callback. Also,
1183 besides the old (and broken) procedure #24, allow #16 per Trond.
1185 2000-12-03 Chip Salzenberg <chip@valinux.com>
1187 * support/nfs/xio.c (xfopen): Initialize x_line to one, not zero.
1188 * debian/control: Let nhfsstone replace files in nfs-kernel-server.
1189 * debian/changelog: Version 0.2.1-4.
1191 2000-11-27 Tobias Ringstrom <tori@tellus.mine.nu>
1193 * utils/mountd/auth.c (auth_authenticate): Log the bad path
1196 2000-11-24 Neil Brown <neilb@cse.unsw.edu.au>
1198 * support/nfs/exports.c (getexportent): Check for host name
1199 without option, or options without hostname, and print a warning,
1200 as this is most likely a typo.
1202 2000-11-19 Chip Salzenberg <chip@valinux.com>
1204 * debian/control: Add dependency on portmap.
1205 * debian/changelog: Version 0.2.1-3.
1207 2000-11-10 H.J. Lu <hjl@lucon.org>
1209 * nfs-utils.spec.in: Don't use libtool.
1210 Add ChangeLog and COPYING to doc.
1211 * nfs-utils.spec: Rebuild.
1213 2000-11-09 H.J. Lu <hjl@lucon.org>
1215 * etc/redhat/nfs.init (start): Back out the last change.
1217 2000-11-09 H.J. Lu <hjl@lucon.org>
1219 * etc/redhat/nfs.init (start): Pass --no-tcp to mountd if
1220 TCP is not supported by kernel.
1222 * support/nfs/rpcmisc.c (rpc_init): Don't set _rpcfdtype to 0.
1224 * utils/mountd/mountd.c (longopts): Add "-n/--no-tcp".
1225 (main): Set to _rpcfdtype to SOCK_DGRAM for "-n/--no-tcp".
1227 * utils/mountd/mountd.man: Updated for "-n/--no-tcp".
1229 2000-10-24 Lon Hohberger <hohberger@missioncriticallinux.com>
1231 * utils/statd/callback.c: Fix bug preventing callbacks to local lockd.
1232 * utils/statd/rmtcall.c: Add some IP address paranoia when doing
1233 callbacks to local lockd.
1235 2000-10-18 Scott McDermott <mcdermot@questra.com>
1237 * utils/exportfs/exports.man: Updated for CIDR netmask.
1239 2000-10-17 Scott McDermott <mcdermot@questra.com>
1241 * support/export/client.c (client_init): Support CIDR netmask
1244 2000-10-11 H.J. Lu <hjl@lucon.org>
1246 * aclocal.m4 (AC_TCP_WRAPPER): Fix a typo.
1247 * configure: Rebuilt.
1249 2000-10-06 Lon Hohberger <hohberger@missioncriticallinux.com>
1251 * utils/statd/statd.man: Change "/var/lib/nfs/sm/state" to
1252 "/var/lib/nfs/state".
1254 2000-10-05 Lon Hohberger <hohberger@missioncriticallinux.com>
1256 * utils/statd/statd.h (run_mode): New global bitmask of runtime
1257 behaviors: fg/bg, logging, etc.
1258 * utils/statd/statd.c: New command line options: -V -h -? -d .
1259 * utils/statd/statd.man: Update for changes to statd.
1261 * utils/statd/log.h (log_init): Remove parameter of function; use
1262 global variable "name_p" instead.
1263 * utils/statd/log.c: Add support for logging to stderr.
1265 * utils/statd/notlist.c: Partially rewrite notify list handling
1266 functions. Eliminate run-off-end-of-list bug when calling
1267 nlist_insert_timer. Add lots of comments.
1269 2000-09-27 H.J. Lu <hjl@lucon.org>
1271 * README: Updated for RedHat 7.0.
1273 2000-09-27 H.J. Lu <hjl@lucon.org>
1275 * nfs-utils.spec: Rebuild.
1277 2000-09-27 H.J. Lu <hjl@lucon.org>
1279 * README: Updated for 0.2.1.
1281 2000-09-27 H.J. Lu <hjl@lucon.org>
1283 * nfs-utils.spec.in: Updated to use rpm macros and support
1286 2000-09-25 H.J. Lu <hjl@lucon.org>
1288 * configure.in (VERSION): Set to "0.2.1".
1289 * configure: Regenerated.
1290 * nfs-utils.spec: Updated.
1292 2000-09-25 H.J. Lu <hjl@lucon.org>
1294 * utils/mountd/auth.c (auth_authenticate_internal): Make sure a
1295 non-NULL hostent is always returned.
1297 2000-09-11 Ion Badulescu <ionut@cs.columbia.edu>
1299 * etc/redhat/nfslock.init: don't kill lockd processes that do not
1300 have an executable (i.e. kernel threads)
1302 2000-09-01 H.J. Lu <hjl@lucon.org>
1304 * README: Updated for 0.2.
1306 2000-09-01 Jay Weber <jweber@valinux.com>
1308 * etc/redhat/nfs.init: Added ability for rpc.mountd to default to
1309 supporting version 3 of nfs if available, else it will fall back to
1310 version 2 support only.
1312 2000-08-30 H.J. Lu <hjl@lucon.org>
1314 * configure.in (VERSION): Set to "0.2".
1315 * configure: Regenerated.
1316 * nfs-utils.spec: Updated.
1318 2000-08-25 H.J. Lu <hjl@lucon.org>
1320 * support/misc/tcpwrapper.c (logit): Modify the log output.
1322 2000-08-25 Ion Badulescu <ionut@cs.columbia.edu>
1324 * utils/rquotad/rquotad.man, utils/statd/statd.man,
1325 utils/mountd/mountd.man: updated
1327 * utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL)
1328 * utils/rquotad/Makefile: fix comment
1330 * support/misc/tcpwrapper.c (logit): added comment about waiting
1331 for the children after fork()
1333 * utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving
1334 zombies behind (from logit()'s fork)
1335 * utils/rquotad/rquota_svc.c (main): ditto
1336 * utils/statd/statd.c (main): ditto
1338 * utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG
1339 to check_default instead of 0, for prognum
1341 * utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG
1342 to check_default instead of 0, for prognum
1344 * utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if
1345 HAVE_TCP_WRAPPER is defined.
1346 (mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is
1347 defined. Reject an RPC call if check_default () fails.
1349 2000-08-25 H.J. Lu <hjl@lucon.org>
1351 * support/include/tcpwrapper.h: New for the tcp wrapper
1353 * support/misc/Makefile: Likewise.
1354 * support/misc/from_local.c: Likewise.
1355 * support/misc/tcpwrapper.c: Likewise.
1357 * aclocal.m4 (AC_TCP_WRAPPER): New.
1358 * configure.in: Use it. Substitute LIBWRAP.
1359 * configure: Rebuilt.
1361 * config.mk.in (LIBNSL): New.
1362 (LIBWRAP): Likewise.
1364 * support/Makefile (SUBDIRS): Add misc.
1366 * support/lib/Makefile (LIBS): Add libmisc.a.
1368 * utils/rquotad/Makefile (LIBS): Add
1370 -lmisc $(LIBWRAP) $(LIBNSL)
1372 * utils/statd/Makefile (LIBS): Likewise.
1374 * utils/rquotad/rquota_svc.c: Include "tcpwrapper.h" if
1375 HAVE_TCP_WRAPPER is defined.
1376 (rquotaprog_1): Call check_default () if HAVE_TCP_WRAPPER is
1377 defined. Reject an RPC call if check_default () fails.
1379 * utils/statd/statd.c: Include "tcpwrapper.h" if
1380 HAVE_TCP_WRAPPER is defined.
1381 (sm_prog_1_wrapper): New. A wrapper for sm_prog_1. Call
1382 check_default () before calling sm_prog_1 (). Define it as
1383 sm_prog_1_wrapper if HAVE_TCP_WRAPPER is defined.
1385 2000-08-25 Chip Salzenberg <chip@valinux.com>
1387 * debian/*: Complete Debian build support.
1388 * etc/debian/*: Remove.
1390 2000-08-24 Neil Brown <neilb@cse.unsw.edu.au>
1392 * support/export/client.c(client_check): removed the "dot+1" as a
1393 ypdomain argument to innetgr as this is entirely bogus.
1394 It should always be NULL.
1396 2000-08-23 Neil Brown <neilb@cse.unsw.edu.au>
1398 * support/export/xtab.c(xtab_read): introduce new mode for
1399 reading xtab. i.e. a list of exports that might be known to the
1400 kernel, or might not. These are flagged as m_exported == -1
1401 * support/export/xtab.c(xtab_mount_read): call xtab_read with new
1402 value "2" for xtab, meaning don't trust this too much.
1403 * support/include/exportfs.h(struct mexport): changed m_exported
1404 from one bit to an int so that it can hold new value
1405 * utils/exportfs/exportfs.c(exportfs_ipdate): add an export to the
1406 kernel if it is uncertain whether the kernel knows (m_exported == -1)
1407 * utils/mountd/mountd.c(get_rootfh): similarly export to kernel if
1410 * support/nfs/xio.c(xflock): added O_CREAT when getting
1411 a write lock so that missing files aren't fatal.
1413 * etc/debian/nfs-common: new file from "potato"
1414 * etc/debian/nfs-kernel-server: new file from "potato" plus fixes.
1416 2000-08-09 H.J. Lu <hjl@lucon.org>
1418 * etc/redhat/nfs.init: Run /usr/sbin/exportfs first during
1419 startup to ensure all existing clients work fine.
1421 * support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0
1422 to xtab_read () for reading _PATH_XTAB.
1424 2000-08-02 H.J. Lu <hjl@lucon.org>
1426 * utils/mountd/auth.c (auth_authenticate_internal): Try to
1427 avoid the reverse name lookup.
1429 2000-07-04 H.J. Lu <hjl@lucon.org>
1431 * utils/statd/log.c: Include <stdlib.h> for exit ().
1433 * utils/statd/misc.c (xunlink): Add `{' and `}' to quiet the
1436 2000-07-04 H.J. Lu <hjl@lucon.org>
1438 * configure.in (VERSION): Set to "0.1.9.1".
1439 * configure: Regenerated.
1440 * nfs-utils.spec: Updated.
1444 2000-07-04 Neil Brown <neilb@cse.unsw.edu.au>
1446 * support/export/hostname.c (hostent_dup): Handle the NULL
1449 2000-07-03 H.J. Lu <hjl@lucon.org>
1451 * README: Update the util-linux requirement.
1453 2000-07-03 H.J. Lu <hjl@lucon.org>
1455 * configure.in (VERSION): Set to "0.1.9".
1456 * configure: Regenerated.
1457 * nfs-utils.spec: Updated.
1461 2000-07-03 H.J. Lu <hjl@lucon.org>
1463 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
1464 stop to ensure all clients can still access the server
1465 before it is shutdown.
1467 2000-06-30 Jeff Uphoff <juphoff@transmeta.com>
1469 * tools/rpcgen/rpc_svcout.c (write_msg_out): Generate syslog()
1470 calls with format string.
1472 2000-06-28 Chip Salzenberg <chip@valinux.com>
1474 * utils/statd/log.c (log): Call syslog with format string.
1476 2000-06-27 H.J. Lu <hjl@lucon.org>
1478 * utils/statd/statd.c (main): Use sysconf (_SC_OPEN_MAX)
1479 instead of OPEN_MAX.
1481 2000-06-27 H.J. Lu <hjl@lucon.org>
1485 2000-06-27 H.J. Lu <hjl@lucon.org>
1487 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
1488 startup to ensure all existing clients are exported.
1490 * configure.in (VERSION): Set to "0.1.8.2".
1491 * configure: Regenerated.
1492 * nfs-utils.spec: Updated.
1494 2000-06-06 H.J. Lu <hjl@lucon.org>
1496 * configure.in (VERSION): Set to "0.1.8.1".
1497 * configure: Regenerated.
1498 * nfs-utils.spec: Updated.
1500 2000-06-06 H.J. Lu <hjl@lucon.org>
1502 * utils/mountd/mountd.c (mount_dump_1_svc): Cast svc_getcaller
1503 to "struct sockaddr_in *" for glibc 2.2.
1504 (mount_umnt_1_svc): Likewise.
1505 (mount_umntall_1_svc): Likewise.
1506 (mount_export_1_svc): Likewise.
1507 (mount_exportall_1_svc): Likewise.
1508 (mount_pathconf_2_svc): Likewise.
1509 (get_rootfh): Likewise.
1511 2000-06-04 H.J. Lu <hjl@lucon.org>
1513 * etc/redhat/nfs.init: Fix a typo in comment.
1515 2000-05-31 H.J. Lu <hjl@lucon.org>
1517 * configure.in (VERSION): Set to "0.1.8".
1518 * configure: Regenerated.
1519 * nfs-utils.spec: Updated.
1523 2000-05-31 H.J. Lu <hjl@lucon.org>
1525 * configure.in (VERSION): Set to "0.1.7.5".
1526 * configure: Regenerated.
1527 * nfs-utils.spec: Updated.
1529 * support/include/nfslib.h (exportent): Add a new field,
1530 r_count, to count the number of mounts from a client.
1531 (getrmtabent): Take a new argument for position in file.
1532 (putrmtabent): Likewise.
1533 (fgetrmtabent): Likewise.
1534 (fputrmtabent): Likewise.
1535 * support/nfs/rmtab.c (getrmtabent): Handle the new argument
1536 for position in file.
1537 (fgetrmtabent): Likewise.
1538 (putrmtabent): Likewise.
1539 (fputrmtabent): Likewise.
1541 * support/nfs/rmtab.c (fgetrmtabent): Get value for the new
1544 * support/export/rmtab.c (rmtab_read): Pass NULL as the new
1545 argument to getrmtabent (), fgetrmtabent (), putrmtabent ()
1546 and fputrmtabent ().
1547 * utils/mountd/rmtab.c (mountlist_add): Likewise.
1548 (mountlist_del): Likewise.
1549 (mountlist_del_all): Likewise.
1550 (mountlist_list): Likewise.
1552 * utils/mountd/rmtab.c (mountlist_add): Increment "r_count"
1553 for the existing entry and initialize "r_count" to 1.
1554 (mountlist_del): Decrement "r_count".
1556 2000-05-18 H.J. Lu <hjl@lucon.org>
1558 * configure.in (VERSION): Set to "0.1.7.4".
1559 * configure: Regenerated.
1560 * nfs-utils.spec: Updated.
1562 2000-05-18 H.J. Lu <hjl@lucon.org>
1564 * etc/redhat/nfs.init (restart): Just do stop and start.
1566 2000-05-09 Jay Weber <jweber@valinux.com>
1568 * utils/rquotad/hasquota.c: added support for ext3 recognition
1570 * utils/rquotad/mntent.h: Likewise.
1572 2000-05-01 H.J. Lu <hjl@lucon.org>
1574 * configure.in (VERSION): Set to "0.1.7.3".
1575 * configure: Regenerated.
1576 * nfs-utils.spec: Updated.
1578 2000-05-01 H.J. Lu <hjl@lucon.org>
1580 * utils/rquotad/rquota_server.c (getquotainfo): Skip bad
1581 mounting poins in /etc/fstab.
1583 2000-05-01 H.J. Lu <hjl@lucon.org>
1585 * configure.in (VERSION): Set to "0.1.7.2".
1586 * configure: Regenerated.
1587 * nfs-utils.spec: Updated.
1589 2000-05-01 H.J. Lu <hjl@lucon.org>
1591 * utils/rquotad/rquota_server.c (getquotainfo): Call stat ()
1592 to check for the mounting point.
1594 2000-04-29 Chip Salzenberg <chip@valinux.com>
1595 Neil Brown <neilb@cse.unsw.edu.au>
1597 * Really re-use RPC ports.
1598 (Fixes earlier patch. Sorry, Neil.)
1600 2000-04-26 H.J. Lu <hjl@lucon.org>
1602 * configure.in (VERSION): Set to "0.1.7.1".
1603 * configure: Regenerated.
1604 * nfs-utils.spec: Updated.
1606 2000-04-26 H.J. Lu <hjl@lucon.org>
1608 * etc/redhat/nfslock.init: Check if lockd exits before killing
1611 2000-04-25 H.J. Lu <hjl@lucon.org>
1613 * README: Require util-linux-2.10f-mount-rpc.patch for mount.
1615 2000-03-21 Michael Weiser <michael@weiser.saale-net.de>
1617 * support/nfs/exports.c (parsesquash): Correctly set the
1620 Tue Mar 21 11:38:48 EST 2000 NeilBrown <neilb@cse.unsw.edu.au>
1622 * support/include/nfs/nfs.h: Removed knowledge of internals of
1623 kernel filehandles (which can change) and defined nfs_fh_size
1624 which has variable size
1626 * support/nfs/getfh.c: defined getfh_size to use new syscall to
1627 get variable sized file handles, and change getfh{,old} to
1630 * utils/mountd/mountd.c: use nfd_fh_size and call getfh_size for
1633 * tools/Makefile, tools/nlmtest/nlmtest.c
1634 nlmtest.c depended on internel format of file handles, so now
1638 2000-03-12 Chip Salzenberg <chip@valinux.com>
1639 Neil Brown <neilb@cse.unsw.edu.au>
1641 * support/nfs/rpcmisc.c (rpc_init): Share transports.
1643 2000-03-13 H.J. Lu <hjl@lucon.org>
1645 * etc/redhat/nfsd.init: Updated.
1647 * etc/redhat/nfslock.init: Updated.
1649 * nfs-utils.spec.in: Updated.
1651 * configure.in (VERSION): Set to "0.1.7".
1652 * configure: Regenerated.
1653 * nfs-utils.spec: Updated.
1657 Wed Mar 8 09:42:43 2000 Neil Brown <neilb@cse.unsw.edu.au>
1659 * utils/exportfs/exportfs.c (dump): Included printing of
1660 nohide, no_subtree_check, and insecure_locks
1662 2000-02-26 Chip Salzenberg <chip@valinux.com>
1664 * config.mk.in (INSTALLSUID): Strip ("-s").
1665 (INSTALLSCRIPT): Define.
1666 * utils/nhfsstone/Makefile: Use it.
1668 2000-02-26 Chip Salzenberg <chip@valinux.com>
1670 * utils/lockd/lockd.man: Create.
1671 * utils/lockd/Makefile: Install it.
1672 * utils/nhfsstone/nhfs{run,nums,graph}.man: Create.
1673 * utils/nhfsstone/nhfsstone.man: Change suffix from ".1".
1674 * utils/nhfsstone/Makefile: Install the helper scripts and
1676 * utils/exportfs/exports.man: Fix typo.
1678 2000-02-26 Chip Salzenberg <chip@valinux.com>
1680 * support/nfs/xio.c (xungetc): Decrement line number when
1681 character to unget is newline. Make first parameter int, so
1682 it can distinguish EOF from \377.
1683 * support/include/xio.h (xungetc): Adjust prototype.
1685 Fri Feb 4 23:42:23 2000 Neil Brown <neilb@cse.unsw.edu.au>
1687 * support/include/nfs/export.h: added NFSEXP_NOAUTHNLM
1688 * support/nfs/exports.c: added handling for NFSEXP_NOAUTHNLM
1689 * utils/exportfs/exports.man: added documentation for no_auth_nlm.
1691 This is for supporting a new option introduced in 2.3.42
1693 Thu Feb 3 14:55:48 2000 H.J. Lu <hjl@lucon.org>
1695 * COPYING: Added. GPL.
1697 Thu Feb 03 14:40:40 2000 Cristian Gafton <gafton@redhat.com>
1699 * utils/rquotad/rquota_server.c (getquotainfo): Call statfs ()
1700 to get the block size.
1702 Tue Jan 25 11:04:17 2000 H.J. Lu <hjl@lucon.org>
1704 * nfs-utils.spec.in: Update ftp site.
1706 Mon Jan 17 11:48:18 2000 H.J. Lu <hjl@lucon.org>
1708 * README: Update hostnames.
1710 Tue Jan 11 10:06:22 2000 H.J. Lu <hjl@lucon.org>
1712 * configure.in (VERSION): Set to "0.1.6".
1713 * configure: Regenerated.
1714 * nfs-utils.spec: Updated.
1718 Mon Jan 10 14:26:33 2000 H.J. Lu <hjl@lucon.org>
1720 * utils/mountd/auth.c (auth_authenticate_internal): Call
1721 xstrdup for hostname before passing it to gethostbyname.
1723 * utils/mountd/mountd.c (get_exportlist): Use xstrdup instead
1726 Sun Dec 19 09:35:01 1999 H.J. Lu <hjl@lucon.org>
1728 * README: Update the mailing list address.
1730 Sun Dec 19 09:22:28 1999 H.J. Lu <hjl@lucon.org>
1732 * configure.in (VERSION): Set to "0.1.5".
1733 * configure: Regenerated.
1734 * nfs-utils.spec: Updated.
1738 Mon Dec 13 13:40:20 1999 H.J. Lu <hjl@lucon.org>
1740 * utils/rquotad/hasquota.c (hasquota): Malloc one more char
1743 Mon Dec 6 09:42:45 1999 H.J. Lu <hjl@lucon.org>
1745 * configure.in (VERSION): Set to "0.1.4".
1746 * configure: Regenerated.
1747 * nfs-utils.spec: Updated.
1751 Mon Dec 6 09:28:07 1999 H.J. Lu <hjl@lucon.org>
1753 * nfs-utils.spec.in: New file.
1755 * config.mk.in (VERSION): Changed to "nfs-utils @VERSION@".
1757 * configure.in (nfs-utils.spec): Added to AC_OUTPUT.
1759 1999-12-04 Chip Salzenberg <chip@valinux.com>
1761 * config.mk.in: Use $(CC) as set by configure.
1763 1999-12-04 Chip Salzenberg <chip@valinux.com>
1765 * rules.mk: Call $(MAKE) with $(MFLAGS).
1767 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1769 * tools/rpcgen/rpc_main.c (h_output): Generate IXDR_GET_INT32,
1770 IXDR_PUT_INT32, IXDR_GET_U_INT32 and IXDR_PUT_U_INT32.
1772 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1774 * nfs-utils.spec (Version): Set to 0.1.3.
1776 * configure.in (VERSION): Set to "nfs-utils 0.1.3".
1777 * configure: Regenerated.
1781 Mon Nov 29 11:15:47 1999 H.J. Lu <hjl@lucon.org>
1783 * utils/rquotad/rquota_server.c (nfsmount_to_devname): Removed.
1784 (_PATH_DEV_DSK): Likewise.
1785 (getquotainfo): Match the mounting point from /etc/mtab
1786 instead of calling nfsmount_to_devname ().
1788 1999-11-24 Chip Salzenberg <chip@valinux.com>
1790 * utils/statd/monitor.c (sm_mon_1_svc): Accept lockd callbacks
1791 to the new port 24 as well as the historical port 100021.
1793 Tue Nov 23 10:21:34 1999 Neil Brown <neilb@cse.unsw.edu.au>
1795 * etc/redhat/nfsd.init (stop): moved exportfs -ua after
1796 stopping nfsd to stop spurious ESTALE on server shutdown.
1798 Tue Nov 23 10:13:39 1999 Neil Brown <neilb@cse.unsw.edu.au>
1800 * support/nfs/exports.c (parseopts): make copy of opt string
1801 before 'nul'ing out commas so that
1803 # exportfs -o option1,option2 hosta:/fs hostb:/fs
1805 applies both options to both exports.
1807 Thu Oct 28 12:55:42 1999 H.J. Lu <hjl@lucon.org>
1809 * README: Fix a few typos.
1811 * tools/rpcgen/rpc_cout.c (print_header): Use int32_t instead
1813 * tools/rpcgen/rpc_hout.c (pdefine): Likewise.
1814 * tools/rpcgen/rpc_main.c (c_initialize): Likewise.
1815 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1816 (unsigned_dec): Likewise.
1817 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1818 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1820 * tools/rpcgen/rpc_cout.c (emit_single_in_line): Use INT32
1822 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1823 (unsigned_dec): Likewise.
1824 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1825 * tools/rpcgen/rpc_scan.h (tok_kind): Likewise.
1826 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1828 Thu Oct 28 11:27:51 1999 Neil Brown <neilb@cse.unsw.edu.au>
1830 * support/include/nfs/export.h addedd NFSEXP_NOSUBTREECHECK
1831 * support/nfs/exports.c: added {no_,}subtree_check and changed
1833 * utils/exportfs/exports.man: added no_subtree_check and nohide
1834 and removed irrelevant stuff from unfsd.
1835 * support/export/rmtab.c: rmtab_read didn't quite do the right
1836 thing if a pathname from rmtab was a subdirectory of an export-point
1838 Tue Oct 26 17:22:40 1999 H.J. Lu <hjl@lucon.org>
1840 * README: Updated ftp site.
1842 Mon Oct 25 18:12:45 1999 H.J. Lu <hjl@lucon.org>
1844 * nfs-utils.spec (Version): Set to 0.1.2.
1846 * configure.in (VERSION): Set to "nfs-utils 0.1.2".
1847 * configure: Regenerated.
1851 Mon Oct 25 18:11:21 1999 H.J. Lu <hjl@lucon.org>
1853 * utils/mountd/auth.c (auth_error): Add "no_forward_dns".
1854 (auth_authenticate_internal): Check for NULL return on forward
1856 (auth_authenticate): Handle "no_forward_dns".
1858 Thu Oct 21 16:22:06 1999 H.J. Lu <hjl@lucon.org>
1860 * Version 0.1.1 released.
1862 * nfs-utils.spec (Version): Set to 0.1.1.
1864 * configure.in (VERSION): Set to "nfs-utils 0.1.1".
1865 * configure: Regenerated.
1869 Mon Oct 18 17:43:29 1999 H.J. Lu <hjl@lucon.org>
1871 * nfs-utils.spec (Obsoletes): Fixed a typo, change knfsd-client
1873 (Provides): Likewise.
1875 Mon Oct 18 14:56:22 1999 H.J. Lu <hjl@lucon.org>
1877 * Initial version 0.1 released.
1879 * configure.in (VERSION): Set to "nfs-utils 0.1".
1880 * configure: Regenerated.
1882 Mon Oct 18 14:54:57 1999 H.J. Lu <hjl@lucon.org>
1884 * utils/mountd/mountd.c (get_exportlist): Cleanup.
1886 * utils/exportfs/exportfs.c (unexport_all): Unexport from
1887 kernel only if the entry is exported to kernel.
1888 (unexportfs): Likewise.
1890 Wed Sep 08 16:49:32 1999 Neil Brown <neilb@cse.unsw.edu.au>
1892 1/ utils/mountd/rmtab.c::mountlist_list
1894 This routine stats the rmtab file to see if it has changed. It
1895 if has, it cleans up it's old copy of the data. But it still
1896 always re-read the file, thus returning multiple copies of the
1897 data on consecutive calls without intervening changes.
1898 "Showmount -a" didn't show this as it appears to sort/unique the
1899 data, but 'strace showmount -a' showed that the size of the
1900 datagram that it received grew.
1902 I moved the getrmtabent loop inside the mtime test.
1904 2/ utils/exportfs/exportfs.c
1906 Many routines used the m_path field of m_export instead of
1908 According to the comment in nfslib.h, m_path should only
1909 be used when processing a mount request (i.e. in mountd)
1910 where the mountpoint may be a subdirectory of the export point.
1912 I changed all occurances of m_path to e_path
1915 3/ utils/exportfs/exportfs.c:main
1917 extra arguments are not meaningful with -a or -r, but
1918 exportfs accepted them and then ignored the -a/-r, expect that
1919 -r would still unexport everything first.
1921 I generate an error if there are extra args and f_all
1923 4/ utils/exportfs/exportfs.c:main
1924 extract dump out as a special case.
1926 5/ utils/exportfs/exportfs.c
1927 made f_reexport a local variable.
1930 6/ utils/exportfs/exportfs.c:main,exportall
1932 support/export/rmtab.c
1933 only mayexport on newly created entries, don't set xtabent at all
1935 7/ support/include/nfslib.h
1937 add #define _PATH_PROC_EXPORTS to be /proc/fs/nds/exports
1939 8/ support/export/xtab.c
1941 xtab_mount_read loads data from _PATH_PROC_EXPORTS if it exists,
1945 9/ support/export/xtab.c
1947 xtab_mount_read now sets m_exported, and NOT
1948 xtabent and mayexport
1950 removed the append arguement from xtab_write as it was
1953 added is_export flag to xtab_write similar to xtab_read
1954 if is_export, only write entries with m_xtabent or m_addxtab
1955 if !is_export, only write entries with m_exported
1957 10/ support/export/export.c::export_allowed_internal
1959 added test for exp->m_mayexport, as the export tree
1960 may have entries that are no longer allowed to be exported,
1961 and so shouldn't caused deduced exported by rmtab_read
1963 11/ utils/exportfs/exportfs.c::main
1964 error checking of flags.
1966 12/ utils/exportfs/exportfs.c
1968 total rewrite of export and unexport logic.
1970 - build an exportslist of valid exports, based on
1971 current etab file and arguments,
1972 - read rmtab to instantiate relevant wild card entries
1973 - read etab to find out what is currently exported
1974 - synchronise intention with reality
1975 - write out etab and xtab
1978 discard the m_addxtab flag
1979 add m_changed flag so we know what to report in exportfs
1981 14/ utils/mountd/auth.c:auth_authenticate
1983 the value returned by gethostbyaddr was trusted.
1985 It now follows this with a call to gethostbyname
1986 and checks that the address is in the list.
1988 15/ support/export/nfsctl.c::cltsetup,expsetup
1990 force client names to lowercase as kernel is
1993 16/ quietened a few compiler warnings
1995 17/ support/export/client:client_lookup
1997 look for pre-existing client with same name before creating
2000 18/ support/include/exportfs.h
2002 The ordering of the MCL_* enum was:
2003 ANONYMOUS, FQDN, SUBNETWORK, WILDCARD, NETGROUP
2005 I moved ANONYMOUS to the end.
2007 The ordering is significant when an export entry is being searched for to
2008 match a given address. There are two problems with ANONYMOUS being first.
2010 1/ if a directory is exported rw to a couple of hosts and ro to everyone else,
2011 then the ro case will always be found first and the privileged hosts won't get
2013 2/ When mountd gets a request to mount an ANONYMOUSly exported tree, it creates a FQDN
2014 export entry for the specific host, and writes it to xtab.
2015 When another request comes from the same host, the ANONYMOUS entry is found again,
2016 before the new FQDN entry, so it creates another FQDN entry and writes it to xtab
2017 again. If causes bloat in xtab.
2019 Putting ANONYMOUS at the end reflects it's nature as a catch-all
2021 19/ utils/exportfs/exportfs.man
2022 many updates to the man page to reflect changes to the code
2024 -----------------------
2030 - allow exportfs to modify rmtab file
2031 - make sure kernel never gets two clients with same IP address
2032 - possible kernel should reject
2033 - needs to be some way to lookup client in kernel by IP address
2034 - maybe get kernel to do case-insensitive comparisons on client names
2035 - remove unused clients from kernel
2037 - change etab to xtab and xtab to xtab.active
2039 - timestamp and/or statd-stamp in rmtab for removing old entries.
2041 Mon Oct 18 11:48:07 1999 H.J. Lu <hjl@lucon.org>
2043 * linux-nfs: New directory.
2044 * linux-nfs/ChangeLog: Moved from ..
2045 * linux-nfs/INSTALL: Likewise.
2046 * linux-nfs/KNOWNBUGS: Likewise.
2047 * linux-nfs/NEW: Likewise.
2048 * linux-nfs/README: Likewise.
2049 * linux-nfs/THANKS: Likewise.
2050 * linux-nfs/TODO: Likewise.
2052 * Starting from knfsd 1.4.7.