1 2005-03-06 G. Allen Morris III <gam3@gam3.net>
2 * support/nfs/cacheio.c(readline): Could not real lines greater
3 than 128 bytes. [1157791]
4 * utils/exportfs/exports.man: Added a SEE ALSO section and
5 fixed 2 typos. [1018450]
7 2005-02-28 Trond Myklebust <trond.myklebust@fys.uio.no>
8 * utils/statd/rmtcall.c(statd_get_socket): If a port number is
9 explicitly given, make sure to try to bind to that.
11 2005-01-11 Chip Salzenberg <chip@pobox.com>
13 * debian/changelog: Version 1.0.7-1.
14 * debian/nfs-common.default (NEED_IDMAPD, NEED_GSSD):
15 Disable by default, on advice of upstream.
16 * debian/nfs-kernel-server.default (NEED_SVCGSSD):
19 * utils/svcgssd/Makefile (predep): Symbolically link duplicated
21 (distclean): Remove symlinks to duplicated files.
23 2004-12-17 NeilBrown <neilb@cse.unsw.edu.au>
26 * config.mk, configure.in: update version number, run autoconf
27 * configure.in: require nfsidmap.h if gss is enabled.
29 2004-12-10 NeilBrown <neilb@cse.unsw.edu.au>
32 * config.mk, configure.in: update version number, run autoconf
34 2004-12-10 Neil Brown <neilb@cse.unsw.edu.au>
35 * README : note dependancy on kerberos, libevent, and nfsidmap
36 * configure.in : fail if --enable-nfsv4 and libevent or
37 libnfsidmap are missing.
38 * configuyre.in: improve message if krb5 support is missing
40 2004-12-06 Paul Clements <paul.clements@steeleye.com>
41 * support/include/ha-callout.h: get return status from waitpid
43 * support/include/ha-callout.h: don't ignore SIGCHLD while waiting
44 for a callout to complete.
45 * utils/statd/statd.c(sigusr): print current start when re-reading
46 notify list due to SIGUSR1
47 * utils/statd/svc_run.c(my_svc_run): call change_state when
50 2004-12-06 Marc Eshel <eshel@almaden.ibm.com>
51 * utils/statd/svc_run.c(my_svc_run): allow loop to exit when in
53 *utils/statd/rmtcall.c(statd_get_socket): if a hostname is given
54 to statd with -n, prefer it's IP address to the default for
57 2004-12-06 Bruce Allan <bwa@us.ibm.com>
58 * utils/mountd/auth.c(auth_reload) Clear the "my_client" cache on
59 an auth_reload to avoid old data getting used.
61 2004-12-03 NeilBrown <neilb@cse.unsw.edu.au>
62 Release 1.0.7-pre1 for testing
64 * config.mk, configure.in: update version number, run autoconf
66 2004-12-03 Trond Myklebust <trond.myklebust@fys.uio.no>
68 * utils/statd/statd.c(main): ignore SIGPIPE
70 2004-11-22 "J. Bruce Fields" <bfields@fieldses.org>
72 * tools/rpcdebug/rpcdebug.c: support aliases "nfsdebug" and
73 "nfsddebug" and update flag names.
74 * configure.in, nodist/* redhat/* nfs-utils.spec*: remove redhat
75 specific files (as no-one actually uses them, especially not
76 redhat), and the nodist /etc files (as they drift out-of-date, and
77 the debian directory provides a suitable example.
78 * utils/svcgssd_proc.c(get_ids): fix memory leak
79 * utils/svcgssd/svcgssd_proc.c: Rely on count of the number of
80 groups instead of using a special guard value to identify the end
82 * utils/idmapd/idmapd.c: don't allow Default domain and anon-uid
83 or -gid to be specified on command line.
84 * utils/idmapd/idmapd.c: improve error messages
85 * utils/idmapd/idmapd.c: Reopen nfsd files on sighup. Allows us
86 to start up client side only (even when nfsd module not loaded),
87 and then sighup later after insmodding nfsd module.
88 * utils/idmapd/idmapd.c: Make sure we catch all errors on
89 daemonizing by waiting for child to report succesfull startup
91 * utils/idmapd/idmapd.c: Let libnfsidmapd parse the idmapd.conf
92 file for the default domain, instead of doing that ourselves.
93 * utils/gssd/gssd_proc.c: Make sure we get an error when a gssd
95 * utils/gssd/gssd_proc.c: We were forgetting to restore the euid
96 on certain failures, which meant gssd could get stuck in a state
97 where it didn't have permissions to read the files in rpc_pipefs
99 * utils/gssd/gssd_proc.c: Use libnfsidmapd to map gss principals
101 * debian/nfs-kernel-server.default: Document the NEED_SVCGSSD
102 variable in /etc/default/nfs-kernel-server.
105 2004-11-22 NeilBrown <neilb@cse.unsw.edu.au>
107 * utils/exportfs/nfsd.man: corrected typo in .BR macro usage -
108 reported by Eric Raymond
110 2004-10-19 "J. Bruce Fields" <bfields@fieldses.org>
112 * support/gssapi/* support/rpc/* utils/gssd/* utils/svcgssd/* etc
113 initial support for GSSAPI authentication
115 2004-09-15 Neil Brown <neilb@cse.unsw.edu.au>
117 * utils/statd/monitor.c(sm_unmon_1_svc): is RESTRICTED_STATD, then
118 check IP address and force my_name to 127.0.0.1 to match
119 what happens in sm_mon_1_svc. This avoid spurious "erroneous
121 * utils/statd.monitor.c(sm_unmon_all_1_svc): likewise
123 2004-09-15 "J. Bruce Fields" <bfields@fieldses.org>
125 * Assorted changes to support "gss/*" style authentication
126 * utils/idmapd: new idmapd daemon for nfsv4 username lookup
128 2004-09-06 Trond Myklebust <trond.myklebust@fys.uio.no>
129 Neil Brown <neilb@cse.unsw.edu.au>
131 * utils/mountd/auth.c(auth_authenticate_internal): fix
132 uninitialsed variable problem (causes bad error messages).
134 2004-09-06 Paul Clements <paul.clements@steeleye.com>
135 Neil Brown <neilb@cse.unsw.edu.au>
137 * utils/mountd/mountd.c(main): support --ha-callout (-H) for
138 specifying a callout program
139 * utils/mountd/rmtab.c: Call ha_callout on mount/unmount
140 * utils/statd/monitor.c: Call ha_callout on add/del client
141 * utils/statd/rmtcall.c: as above
142 * utils/statd/statd.c: handle --ha-callout (-H)
143 * utils/statd/svc_run.c: call notify_hosts is we have received a
145 * support/include/ha-callout.h: define ha_callout function
148 2004-08-31 NeilBrown <neilb@cse.unsw.edu.au>
149 * utils/mountd/cache.c(cache_process_req): clear fd after
150 processing so as not to confused libc/sunrpc into thinking
151 it need to do something with that fd.
153 2004-08-31 NeilBrown <neilb@cse.unsw.edu.au>
155 * debian/nfs-kernel-server.init(start,stop) mount the nfsd
156 filesystem, if available, before starting nfs services, and
157 unmount it afterwards.
158 * etc/nodist/nfs-server: ditto
159 * etc/redhat/nfs.init: likewise
160 * etc/redhat/nfs: add "MOUNT_NFSD" flag to control above.
162 2004-06-08 NeilBrown <neilb@cse.unsw.edu.au>
164 * utils/exportfs/exportfs.c: Don't rmtab_read if new_cache, it
166 * support/nfs/cacheio.c(cache_flush): Change order in which caches
167 are flushed so that dependancies don't keep things in the cache
170 2004-03-18 Chip Salzenberg <chip@pobox.com>
172 * debian/changelog: Version 1.0.6-2.
174 2004-02-24 NeilBrown <neilb@cse.unsw.edu.au>
175 from "J. Bruce Fields" <bfields@fieldses.org>
177 * utils/mountd/cache.c: call auth_reload to make sure auth data is
178 current before responding to kernel upcall.
180 2004-02-24 NeilBrown <neilb@cse.unsw.edu.au>
181 Based on patch from Greg Banks <gnb@melbourne.sgi.com>
183 * utils/exportfs/exports.man: Document fsid= option.
185 2003-09-15 NeilBrown <neilb@cse.unsw.edu.au>
189 * rules.mk: Add dep: rule when no OBJS, so "make dep" works in
190 support/include, and depend in "predep"
191 * support/export/Makefile, tools/rpcgen/Makefile,
192 utils/statd/Makefile: add "predep" rule so that "make dep" works.
193 * Makefile: allow a simple "make" to run ./configure and "make dep"
195 * configure.in, nfs-utils.spec: Update version to 1.0.6
198 2003-09-12 Chip Salzenberg <chip@pobox.com>
200 * debian/changelog: Version 1.0.6-1.
202 2003-09-12 NeilBrown <neilb@cse.unsw.edu.au>
204 * utils/mountd/mountd.c(main): Impose FD_SETSIZE as an upper limit
206 * utils/statd/statd.c(main): Ditto.
208 michael <michael@newdream.net> discovered that svc_setreqsize
209 in glibc can segfault if RLIMIT_NOFILE is bigger than
210 FD_SETSIZE, so a simple solution is to impose a hard limit.
212 2003-09-09 Chip Salzenberg <chip@pobox.com>
214 * debian/changelog: Version 1.0.5-3.
215 * support/export/hostname.c (get_reliable_hostbyaddr): Fix crash
216 on invalid reverse DNS.
217 * utils/showmount/showmount.c (main): Fix inet_ntoa() parameter.
218 * tools/rpcgen/rpc_cout.c (print_header): Remove unused vars.
219 * tools/rpcgen/rpc_parse.c (def_union): Likewise.
221 2003-08-22 Chip Salzenberg <chip@pobox.com>
223 * utils/statd/{log.h,log.c}: Rename log() to note() and L_* to
224 N_*, to avoid conflict with ISO C built-in log() function.
225 * utils/statd/*.c: Use note().
227 2003-08-20 Chip Salzenberg <chip@pobox.com>
229 * debian/changelog: Version 1.0.5-2.
231 2003-08-11 NeilBrown <neilb@cse.unsw.edu.au>
233 * utils/mountd/cache.c(cache_get_filehandle): close the filehandle
236 2003-08-04 NeilBrown <neilb@cse.unsw.edu.au>
238 * support/include/nfs/export.h, support/nfs/exports.c,
239 utils/exportfs/exports.c, utils/mountd/mountd.c: change
240 NFSEXP_CROSSMNT to NFSEXP_CROSSMOUNT to avoid confusion with older
241 meaning. Also remove meaningless
242 NFSEXP_{UIDMAP,KERBEROS,SUNSECURE}
244 2003-08-04 NeilBrown <neilb@cse.unsw.edu.au>
246 * support/export/xtab.c, support/include/nfslib.h,
247 support/nfs/cacheio.c, support/nfs/nfssvc.c,
248 utils/exportfs/exportfs.c, utils/exportfs/exportfs.man,
249 utils/exportfs/nfsd.man, utils/mountd/cache.c: support
250 /proc/fs/nfsd/* as a perferred alternate to /proc/fs/nfs/*
251 (nfs-utils-1.0.5-post2)
253 2003-08-04 NeilBrown <neilb@cse.unsw.edu.au>
255 * support/nfs/nfsexport.c: open channel file O_WRONLY when
257 * utils/mountd/cache.c: maintain mountlist when new_cache is
258 active. Also use O_WRONLY for channel files.
259 * utils/mountd/mountd.h: mountlist_{del,add} now take a host name
260 rather than an nfs_export.
261 * utils/mountd/rmtab.c: ditto.
262 (nfs-utils-1.5.0-post1)
264 2003-07-24 Chip Salzenberg <chip@pobox.com>
266 * support/nfs/xlog.c (xlog): Revise buffer-overflow fix to
267 use Debian security team's cleaner approach.
268 * debian/changelog: Version 1.0.5-1.
269 * debian/nfs-kernel-server.init: Cosmetic changes.
271 2003-07-18 NeilBrown <neilb@cse.unsw.edu.au>
274 1.0.4 was a bit of a brown-paper-bag-release because of the extra
275 'free' in auth.c. So I'm releasing this just a few days later.
277 * support/nfs/cacheio.c(cache_flush): Correct test for 'open
279 * utils/exportfs/exportfs.c(main): If "-f" given as lone option,
280 check if new_cache is enabled, error if not, flush and exit if it
282 * utils/exportfs/exportfs.man: Explain -f option and explain the
283 two different modes that exportfs can work in.
284 * utils/mountd/mountd.c: Do not change RLIMIT_NOFILE if the -o
286 * utils/mountd/mountd.man: Record the change if default behaviour
288 * configure.in, nfs-utils.spec: update version to 1.0.5 and
291 2003-07-15 NeilBrown <neilb@cse.unsw.edu.au>
293 * utils/mountd/mountd.c(main): getopt string fix for 'o'
294 * utils/mountd/auth.c(auth_authenticate): remove extra 'free'
295 * utils/exportfs/exportfs.c(main): make 'exportfs -f' just flush
297 * support/include/nfs/export.h: Reserve a bit for possible ACL
300 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
302 * utils/exportfs/nfsd.man: new man page for nfsd filesystem. Also
303 assorted changed to cope with section 7 of the manual.
304 * configure.in, nfs-utils.spec: Update version to 1.0.4
307 This is a 'pre-release' for 1.1.0 Hopefully 1.1.0 will be the
308 baseline for 2.6 and 2.8. I.e. it should continue to work right
309 through the 2.8 (or 3.0) kernel series. Previous releases wont.
311 2003-07-04 NeilBrown <neilb@cse.unsw.edu.au>
312 Steve Dickson <SteveD@redhat.com>
315 * utils/statd/statd.c: create a pidfile with pid of statd, and
316 truncate it when statd exists.
317 * utils/statd/statd.c: drop privs by setuid to owner of SM_DIR,
318 and warn if this is root.
319 * utils/statd/statd.c: when statd forks, connect child to parent
320 with a pipe, and send a byte down the pipe once the child is
322 * Makefile: create and chown sm, sm.bak, state when "make install"
323 * configure.in: add --with-statduser= option which defaults to
324 "rpcuser" or "nobody"
325 * config.mk.in: pass "statduser" through to Makefile
327 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
329 * support/include/nfs/nfs.h: Make sure correct __kernel_dev_t is
330 used as the size was changed somewhere in 2.5.60-2.5.70. Without
331 this nfs-utils compiles against 2.6 headers will not work on a
334 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
336 * support/nfs/nfssvc.c(nfssvc): If /proc/fs/nfs/threads exists,
337 set number of threads by writing to there. This means it will
338 still work when the syscall interface goes away in 2.7.
340 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
341 fumihiko kakuma <kakmy@mvh.biglobe.ne.jp>
343 * utils/exportfs/exportfs.c(unexportfs): improve host comparison
344 so as to only export the wildcard exports that were asked for.
345 * support/export/export.c(export_allowed): changed to return the
346 nfs_export rather than a "struct exportent", as m_changed is
348 * support/export/rmtab.c(rmtab_read): modified to deal with
349 interface change for export_allowed(), and enhanced to preserve
350 m_changed flag when a wild-card export causes the creation of
351 a non-wildcard export.
353 2003-07-02 NeilBrown <neilb@cse.unsw.edu.au>
354 Steve Dickson <SteveD@redhat.com>
356 * utils/mountd/mountd.man: Add valid kinds of debugging.
357 * utils/mountd/mountd.c(main): ignore SIGPIPE
358 * utils/nfsstat/nfsstat.c: fine-tune printing of warning so
359 we don't get warnings about unavailable stats that weren't asked
362 2003-06-24 NeilBrown <neilb@cse.unsw.edu.au>
364 * support/nfs/nfsexport.c(exp_unexp): When unexporting filesystems
365 via /rpc/net/rpc/nfsd*/channel, set the expiry date to 1, not
366 'forever', so things disappear out of the cache rather than just
369 2003-06-16 "J. Bruce Fields" <bfields@fieldses.org>
371 * utils/mountd/cache.c(nfsd_fh): don't export the export_ent
374 2003-06-16 NeilBrown <neilb@cse.unsw.edu.au>
376 * debian/nfs-kernel-server.init,etc/nodist/nfs-server,
377 etc/redhat/nfs.init: when checking if V3 is supported, make sure
378 nfs server 'knows' about 127.0.0.1 first.
380 2003-06-10 Chip Salzenberg <chip@pobox.com>
382 * support/nfs/xlog.c (xlog): Fix off-by-one buffer overflow bug.
383 * debian/changelog: Version 1.0.3-2.
385 2003-05-30 Michael Griffith <grif@michaelgriffith.com>
386 NeilBrown <neilb@cse.unsw.edu.au>
388 utils/nfsstat/nfsstat.c(print_callstats): use unsigned
389 long long to avoid overflow when printing stats.
391 2003-05-30 NeilBrown <neilb@cse.unsw.edu.au>
393 * support/export/export.c, support/include/nfslib.h,
394 support/nfs/export.c, utils/exportfs/exportfs.c,
395 utils/mountd/mountd.c: new export option "mountpoint"
396 If no path is given, then the export point must be a
397 mount point, or it won't be exported. If a path is
398 given (e.g. mountpoint=/path) then that path must be
399 a mountpoint or the exportpoint won't be exported.
400 * utils/exportfs/exportfs.man: document mountpoint option.
401 * support/misc/mountpoint.c: New file with is_mountpoint()
402 to determine if something is a mountpoint.
404 2003-05-23 NeilBrown <neilb@cse.unsw.edu.au>
406 * utils/mountd/cache.c(cache_get_filehandle): take a separate path
407 argument as we might not be getting the filehandle for the
409 * utils/mountd/mountd.c(get_rootfh): pass real path when calling
410 cache_get_filehandle.
411 * utils/mountd/mountd.c(get_rootfh): check export point and
412 requested directory are on the same filesystem, and complain if
415 2003-05-22 NeilBrown <neilb@cse.unsw.edu.au>
417 * utils/mountd/auth.c(auth_authenticate_internal): make sure
418 portnumber is still checked when using new cache lookup.
420 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
422 * utils/exportfs/exportfs.c: Use check_new_cache and cache_flush
423 Don't actually talk to kernel when new cache is in effect, except
425 * utils/exportfs/exportfs.c: add -f option to fully flush cache.
426 * support/export/xtab.c: Only rename new xtab into place if it has
427 changed, thus preserving modify date for exportfs to use when
429 * support/nfs/cacheio.c: Add cache_flush
430 * support/export/xtab.c: Only rename new xtab into place if it has
431 changed, thus preserving modify date for exportfs to use when
434 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
436 * support/export/client.c: Add client_compose, client_member to
437 handle new composite client names
438 * support/include/exportfs.h: Declare above functions.
439 * utils/mountd/auth.c: use client_compose to determine calling
440 client if new cache is being used.
441 * utils/mountd/auth.c: call cache_export to export a filesystem if
442 new_cache, check if new cache is used, and call my_svc_run instead
444 * utils/mountd/svc_run.c: new file defining my_svc_run
445 * utils/mountd/cache.c: new file for handling cache upcalls.
446 * support/nfs/cacheio.c(check_new_cache): new function to check if
447 new cache should be used.
450 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
452 * support/include/nfs/export.h: New CROSSMNT distinct from NOHIDE
453 * support/nfs/exports.c: Make CROSSMNT distinct from NOHIDE
454 * utils/exportfs/exportfs.c(dump): ditto
456 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
458 * support/export/hostname.c(get_reliable_hostbyaddr): new function
459 to get host name from address with full checking of authenticity.
460 * support/include/misc.h: declare above function
461 * utils/mountd/auth.c(auth_authenticate_internal): remove all
462 logic for authenticating address.
463 * utils/mountd/auth.c(auth_authenticate): call new
464 get_reliable_hostbyaddr to to hostname lookup before calling _internal.
467 2003-03-30 NeilBrown <neilb@cse.unsw.edu.au>
469 * tools/rpcgen/rpc_main.c(find_cpp): removed
470 * tools/rpcgen/rpc_main.c(open_input): use execvp to find "cpp",
471 then try hard-coded paths.
473 2003-03-26 Chip Salzenberg <chip@pobox.com>
475 * debian/changelog: Version 1.0.3-1.
477 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
479 * utils/mountd/rmtab.c (slink_safe_rename): real_newpath should be
480 "const char*", not "char*".
482 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
484 * configure.in (VERSION): Set to "1.0.3".
485 * nfs-utils.spec: Likewise.
486 * configure: Regenerated.
488 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
490 * support/nfs/cacheio.c: New File - support for read/writing
491 to export cache in /proc/rpc/*/channel
492 * support/nfs/Makefile: compile cacheio.c
493 * support/include/nfslib.h: declare cacheio.c functions
494 * support/nfs/nfsexport.c: export and unexport through
495 /proc/rpc/*/channel if possible, as old syscall interface
496 may not survive into 2.6 on all architectures.
498 2003-02-19 NeilBrown <neilb@cse.unsw.edu.au>
499 Ben Leslie <benno@sesgroup.net>
501 * support/nfs/rpcmisc.c(rpc_init): change test for ignoring
502 "defport" from (__rpcfdtype == 0) to (__rpcpmstart==0). The
503 former would incorectly ignore defport if the application
504 explicitly set __rpcfdtype. The later is sufficient to avoid the
505 special handling in the case where stdin is an internet socket.
507 * utils/mountd/mountd.c(main): Add 'n' to option list in
508 getopt_long as this is a short form of --no-tcp which want being
511 2003-02-12 Chip Salzenberg <chip@pobox.com>
513 * debian/changelog: Version 1.0.2-2.
515 2002-11-27 Chip Salzenberg <chip@pobox.com>
517 * utils/mountd/rmtab.c (slink_safe_rename): Fix off-by-one buffer
518 overflow bug. Reformat per rest of source file.
520 2002-11-19 NeilBrown <neilb@cse.unsw.edu.au>
522 * utils/exportfs/exports.man: Correct notes about whether the wild
523 card characters match a period. They do.
525 2002-10-15 Juan Gomez <juang@us.ibm.com>
527 * utils/mountd/rmtab.c (slink_safe_rename): New. Support
529 (mountlist_add): Call slink_safe_rename instead of rename.
531 2002-10-11 H.J. Lu <hjl@lucon.org>
533 * support/include/exportfs.h (export_errno): New.
535 * support/nfs/exports.c: Include <errno.h>.
537 (getexportent): Set export_errno to EINVAL for bad option.
538 (parseopts): Likewise.
539 Report the location of the default sync/async option.
541 * utils/exportfs/exportfs.c (main): Initialize export_errno to
542 0. Return export_errno.
544 2002-10-11 Juan Gomez <gomez@cs.sjsu.edu>
545 NeilBrown <neilb@cse.unsw.edu.au>
547 utils/statd/statd.c(killer): don't pmap_unset if in notify_only mode
548 utils/statd/statd.c(main): don't pmap_unset if in notify_only mode
550 2002-09-16 Chip Salzenberg <chip@pobox.com>
552 * utils/rquotad/rquota_svc.c (main): Use int for value of getopt.
554 2002-09-15 Chip Salzenberg <chip@pobox.com>
556 * support/nfs/rpcmisc.c (rpc_init): Allow stdin to be a non-INET
557 socket, as occurs when run from sshd.
558 * debian/changelog: Version 1.0.2-1.
560 2002-09-12 H.J. Lu <hjl@lucon.org>
562 * support/nfs/svc_socket.c: Remove HAVE_SVCTCP_SOCKET and
565 2002-09-12 H.J. Lu <hjl@lucon.org>
567 * configure.in: Remove checking svctcp_socket and svcudp_socket.
568 * configure: Regenerated.
570 * support/include/config.h.in (HAVE_SVCTCP_SOCKET): Removed.
571 (HAVE_SVCUDP_SOCKET): Removed.
573 * support/include/nfslib.h: Undo the last change.
575 2002-09-12 H.J. Lu <hjl@lucon.org>
577 * support/include/nfslib.h (svctcp_socket): Protect it with
579 (svcudp_socket): Protect it with HAVE_SVCUDP_SOCKET.
581 2002-09-12 H.J. Lu <hjl@lucon.org>
583 * configure.in (VERSION): Set to "1.0.2".
584 * configure: Regenerated.
585 * nfs-utils.spec: Likewise.
587 2002-09-12 H.J. Lu <hjl@lucon.org>
589 * configure.in: Check svctcp_socket and svcudp_socket.
590 * configure: Regenerated.
592 * support/include/config.h.in (HAVE_SVCTCP_SOCKET): New.
593 (HAVE_SVCUDP_SOCKET): New.
595 * support/include/nfslib.h (svctcp_socket): New.
596 (svcudp_socket): New.
598 * support/nfs/Makefile (OBJS): Add svc_socket.o.
600 * support/nfs/svc_socket.c: New.
602 * support/nfs/rpcmisc.c (rpc_init): Call svctcp_socket and
603 svcudp_socket if port is unspecified.
605 * utils/nfsd/nfsd.c (main): Call getservbyname for port.
607 * utils/rquotad/rquota_svc.c: Include <nfslib.h>.
608 (killer): New. Signal handler to unregister.
609 (main): Use killer. Call svcudp_socket to get the default
612 2002-09-02 Juan Gomez <juang@us.ibm.com>
613 NeilBrown <neilb@cse.unsw.edu.au>
615 Add -N option to statd to run in notify-only mode.
617 * utils/statd/statd.h: uncomment MODE_NOTIFY_ONLY
618 * utils/statd/statd.man: document -N
619 * utils/statd/statd.c: enabled -N, largely exists but needed to be
620 uncommented and completed
622 2002-09-02 Juan Gomez <juang@us.ibm.com>
623 NeilBrown <neilb@cse.unsw.edu.au>
625 statd to have " -P directory" arg to use that directory instead
626 of /var/lib/nfs. This is useful for fail-over clusters.
628 * utils/statd/statd.h: define SM_DIR etc as var, not const.
629 * utils/statd/statd.c: define "-P" option to set SM_*
631 * utils/statd/monitor.c: sprintf to cope with SM_DIR not being
633 * utils/statd/notify.c: ditto.
634 * utils/statd/statd.man: document -P option.
636 2002-08-26 Chip Salzenberg <chip@pobox.com>
638 * utils/nfsd/nfsd.man: Fix typo.
639 * debian/changelog: Version 1.0.1-1.
641 2002-05-29 NeilBrown <neilb@cse.unsw.edu.au>
643 * let parseopts know if /etc/exports was being read or not,
644 and have it only print "no sync or async" warning in that case.
646 2002-05-06 Tom McNeal <trmcneal@attbi.com>
647 NeilBrown <neilb@cse.unsw.edu.au>
649 * utils/nfsstat/nfsstat.c: Handle differing format for
650 /proc/net/rpc/nfsd between pre and post 2.4.0
652 2002-04-09 NeilBrown <neilb@cse.unsw.edu.au>
653 James Pearson <james-p@moving-picture.com>
655 * support/nfs/rmtab.c(fendrmtabent): sync changes to
656 storage before returning, as this is critical state
658 2002-04-08 Sean O'Connell <sean@ee.duke.edu>
659 H.J. Lu <hjl@lucon.org>
661 * etc/redhat/nfs: New.
663 2002-04-08 H.J. Lu <hjl@lucon.org>
665 * etc/redhat/nfs.init: Updated.
667 * nfs-utils.spec.in: Updated.
668 * nfs-utils.spec: Regenerated.
670 * utils/mountd/mountd.c (longopts): Fix a typo.
672 * utils/mountd/mountd.man: Updated.
674 2002-04-07 H.J. Lu <hjl@lucon.org>
676 * etc/redhat/nfslock.init (restart): Just do stop and start.
678 * etc/redhat/nfs.init: Fix a typo.
680 2002-04-07 H.J. Lu <hjl@lucon.org>
682 * configure.in (VERSION): Set to "1.0.1".
683 * configure: Regenerated.
684 * nfs-utils.spec: Likewise.
686 * README: Updated for 1.0.1.
688 2002-04-07 Sean O'Connell <sean@ee.duke.edu>
689 H.J. Lu <hjl@lucon.org>
691 * etc/redhat/nfs.init: Read /etc/sysconfig/nfsd for NFS tuning.
693 2002-02-28 Steven Whitehouse <steve@gw.chygwyn.com>
694 NeilBrown <neilb@cse.unsw.edu.au>
696 Add support for fsid=nn export option so that device
697 numbers don't go in filehandles.
698 * support/export/nfsctl.c(expsetup): if exporting and NFSEXP_FSID
699 is set, pass the fsid in-place of the device number
700 * support/nfs/exports.c: parse and print fsid= option.
701 Also check if efname has been set, and use "command line"
702 instead in error messages.
703 Also, use strtol instead of atoi for anon[ug]id= so that
704 bad numbers cause errors.
706 2002-01-17 Adrian Drzewiecki <drze@MissionCriticalLinux.com>
707 NeilBrown <neilb@cse.unsw.edu.au>
709 * support/nfs/exports.c: remove NFSEXP_ASYNC as a default
710 flag so that "sync" becomes the default.
711 Check that either "sync" or "async" is given as an option
712 and warn if neither are present
713 * utils/exportfs/exports.man: change documentation for "sync"
714 to be documentation for "async".
715 * utils/exportfs/exportfs.man: note that "sync" is the default
719 2002-01-02 Chip Salzenberg <chip@pobox.com>
721 * support/export/nfsctl.c (expsetup): Don't export entries that
722 specify id mappings not supported by the kernel. No extant kernel
723 supports any significant mapping, only 'identity' (i.e. none).
724 When other mappings are supported, this code will need changing.
725 * debian/changelog: Version 1.0-2.
727 2001-12-26 Chip Salzenberg <chip@pobox.com>
729 * nfs-utils.spec (Version): Set to "1.0".
730 * configure.in (VERSION): Likewise.
731 * configure: Regenerated.
733 * debian/changelog: Version 1.0-1.
735 * utils/exportfs/exports.man: Emphasize the need for options to
736 immediately follow client names. Explain that wildcards don't
737 usually work on addresses, but may work when reverse DNS fails.
738 Comment out a leftover TP that was TPing our indentation.
739 * utils/mountd/mountd.man, utils/rquotad/rquotad.man,
740 utils/statd/statd.man: Remove refs to non-existent "hosts_allow(5)".
741 * debian/changelog: Version 0.3.3-6.
743 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
745 * support/export/client.c(client_lookup): If a host has multiple
746 IP addresses, then we must always use the result of a
747 gethostbyname, not that of gethostbyaddr for exporting
749 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
751 * support/export/client.c (client_lookup): use strcasecmp when
753 * support/nfs/export.c (getexportent): add fromkernel arg and use
754 different defaults as kernels prior to 2.4.11 assume different
755 defaults in /proc/fs/nfs/exports
756 * support/include/nfslib.h, support/export/export.c,
757 support/export/xtab.c: support extra "fromkernel" arg for
760 2001-12-13 Chip Salzenberg <chip@pobox.com>
762 * debian/changelog: Version 0.3.3-5.
764 2001-11-26 TAKAI Kousuke <takai@vlsi.kuee.kyoto-u.ac.jp>
766 * support/nfs/xio.c (xskip): Call `xungetc' instead of
767 `ungetc' to keep x_line more properly.
769 2001-11-26 Chip Salzenberg <chip@pobox.com>
771 * utils/showmount/showmount.c (main): Don't assume that strings
772 starting with digits are IP addresses.
773 * utils/nfsd/nfsd.c (main): Close all fds and reopen 0,1,2 on
774 /dev/null before nfssvc(). Use syslog to report nfssvc errors.
775 * support/misc/tcpwrapper.c, utils/mountd/mountd.man,
776 utils/rquotad/rquotad.man, utils/statd/statd.man: Fix comments and
777 man pages: We check host names *and* addresses with tcpwrappers.
778 * debian/changelog: Version 0.3.3-4.
780 2001-11-21 Chip Salzenberg <chip@pobox.com>
782 * support/nfs/clients.c (cfname): Added: current clients file name.
783 (setnfsclntent): Set it.
784 ({get,end}nfsclntent, syntaxerr): Use it.
785 * support/nfs/exports.c (efname): Added: current exports file name.
786 (setnfsexportent): Set it.
787 (endnfsexportent, parseopts, getexport, syntaxerr): Use it.
788 (parseopts): Accept old-style "crossmnt" option, for old xtabs.
789 * debian/changelog: Version 0.3.3-3.
791 2001-10-11 Chip Salzenberg <chip@pobox.com>
793 * utils/mountd/mountd.c (main): Close fds > 2 _before_ RPC init.
794 * debian/changelog: Version 0.3.3-2.
796 2001-10-08 Chip Salzenberg <chip@pobox.com>
798 * utils/mountd/mountd.c (main): When daemonizing, close all fds > 2.
799 * utils/Makefile.in: Remove old Makefile in target 'distclean'.
800 * utils/mountd/mountd.man: Update paths to /var/lib.
801 * debian/*: Version 0.3.3-1, with Debian-specific fixes.
803 2001-10-06 Preston Brown <pbrown@redhat.com>
805 * utils/nfsstat/nfsstat.man: Updated.
807 2001-09-24 H.J. Lu <hjl@lucon.org>
809 * configure.in (VERSION): Set to "0.3.3".
810 * configure: Regenerated.
811 * nfs-utils.spec: Likewise.
813 * README: Updated for 0.3.3.
815 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
817 Arrange that "exportfs -au" never does DNS lookup:
819 * support/export/client.c (client_lookup) : add "canonical"
820 flag which says that the hostname is known to be canonical, so
823 * support/export/export.c (export_create) : add "canonical"
824 flag to be passed down to client_lookup
825 * support/export/export.c (export_lookup) : Likewise
827 * support/export/xtab.c (xtab_read) : pass appropriate
828 "canonical" flag to export_lookup and export_create:
829 set if reading list of filesystems currently exports
832 * support/export/export.c (export_read) : pass 0 as
833 "canonical" flag to export_lookup and export_create
834 * support/export/rmtab.s (rmtab_read) : Likewise
836 * support/include/exportfs.h : redeclare various routines
837 to have "canonical" flag
839 * utils/exportfs/exportfs.c (main) : redo logic for
840 "-au" to read in what is currently exported, but never even
841 look at what "should" be exported.
843 * utils/exportfs/exportfs.c (unexportall) : remove this
844 routine. Functionality is completely included in
847 * utils/exportfs/exportfs.c (exportfs) : set "canonical"
848 flag to zero in calls to export_lookup and export_create.
851 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
852 Anne Milicia <milicia@missioncriticallinux.com>
854 * support/export/client.c (client_lookup) call gethostbyadd
855 to make sure that we have a canonical hostname, even for
857 * utils/exportfs/exportfs.c (exportfs) Likewise
859 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
861 * support/nfs/exports.c (putexportent): \octal quote any spaces
863 * support/nfs/xio.c (xgettok): recognise double-quote and
864 \octal quoting in path names
865 * utils/exportfs/exports.man: document quoting conventions
868 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
870 * utils/mountd/auth.c (auth_authenticate_internal): Reverse
871 change from 2000-08-02: It causes problems if someone exports
872 to both a hostname and IP addresses. nfs-utils must be
873 consistant about the canonical name that it chooses.
875 2001-08-17 Ragnar Kjørstad <nfs@ragnark.vestdata.no>
876 H.J. Lu <hjl@lucon.org>
878 * etc/redhat/nfslock.init (STATDARG): New. Pass it to rpc.statd.
880 * utils/statd/statd.c (longopts): Add "name".
881 (usage): Add "-n/--name".
882 (main): Set MY_NAME with "-n/--name".
884 * utils/statd/state.c (change_state): Set MY_NAME only if it
887 * utils/statd/statd.man: Updated for "-n/--name".
889 2001-07-26 H.J. Lu <hjl@lucon.org>
891 * nfs-utils.spec (Release): Set to 8.
893 2001-07-25 H.J. Lu <hjl@lucon.org>
895 * etc/redhat/nfs.init: Check if rpc.rquotad exists before doing
898 2001-06-27 H.J. Lu <hjl@lucon.org>
900 * etc/redhat/nfs.init: Run rpc.rquotad only if it exists.
902 2001-06-27 H.J. Lu <hjl@lucon.org>
904 * utils/rquotad/rquota_server.c: Don't call statfs () for
905 the block size. Use BLOCK_SIZE instead.
907 2001-06-27 H.J. Lu <hjl@lucon.org>
909 * config.mk.in (CC_FOR_BUILD): Renamed from BUILD_CC.
910 (CFLAGS_FOR_BUILD): New. Don't use @CFLAGS@.
912 * configure.in (enable_nfsv3): Set to yes by default.
913 (--enable-rquotad): Added
914 (AC_PROG_CXX): Removed.
915 (AC_OUTPUT): Add utils/Makefile.
916 (CC_FOR_BUILD): Renamed from BUILD_CC.
917 * configure: Regenerated.
919 * utils/Makefile: Removed.
921 * utils/Makefile.in: New.
923 * nfs-utils.spec.in (rquotad): New. Set to 0 to disable
925 (CC_FOR_BUILD): Renamed from BUILD_CC.
926 * nfs-utils.spec: Regenerated.
928 2001-06-15 Chip Salzenberg <chip@debian.org>
930 * debian/changelog: Version 0.3.2-2.
931 * debian/*.init: Minor fixes.
933 2001-06-07 Lon H. Hohberger <hohberger@missioncriticallinux.com>
935 * etc/nodist/nfs-server: Fixed a bug where the script would
936 disable mounts from NFSv3 clients if NFSv3 is present.
938 2001-06-05 H.J. Lu <hjl@lucon.org>
940 * utils/mountd/mountd.c (longopts): Add "descriptors/o".
941 (main): Support --descriptors/-o to set the limit of the number
942 of open file descriptors.
945 * utils/mountd/mountd.man: Updated for --descriptors/-o.
947 2001-06-04 H.J. Lu <hjl@lucon.org>
949 * nfs-utils.spec (Release): Set to 6.
951 2001-05-28 H.J. Lu <hjl@lucon.org>
953 * utils/lockd/lockd.c (main): chdir to NFS_STATEDIR.
954 * utils/mountd/mountd.c (main): Likewise.
955 * utils/nfsd/nfsd.c (main): Likewise.
956 * utils/rquotad/rquota_svc.c (main): Likewise.
958 2001-05-06 Anne Milicia <milicia@missioncriticallinux.com>
960 * support/export/client.c (client_check): Check IP address
963 2001-05-06 Neil Brown <neilb@cse.unsw.edu.au>
965 * support/export/client.c (client_gettype): Treat `*' as
968 2001-04-22 H.J. Lu <hjl@lucon.org>
970 * nfs-utils.spec.in: Fix a typo.
971 * nfs-utils.spec: Regenerated.
973 2001-04-21 H.J. Lu <hjl@lucon.org>
975 * nfs-utils.spec.in: Fix cross build.
976 * nfs-utils.spec: Regenerated.
979 2001-04-18 H.J. Lu <hjl@lucon.org>
981 * nfs-utils.spec.in: Support cross build.
982 * nfs-utils.spec: Regenerated.
988 * config.mk.in (BUILD_CC): New.
989 (CC): Set to $(BUILD_CC) if BUILD is defined.
992 (RANLIB): Set to @RANLIB@.
994 * configure.in: Check BUILD_CC, RANLIB, AR and LD.
995 * configure: Regenerated.
997 * tools/rpcgen/Makefile (BUILD): Set to true.
999 2001-04-01 Chip Salzenberg <chip@valinux.com>
1001 * tools/rpcgen/rpc_svcout.c (write_timeout_func): Remove
1002 redundant, and sometimes broken, declaration of svc_fdset;
1004 * support/nfs/rpcmisc.c (closedown): Likewise.
1006 2001-03-21 H.J. Lu <hjl@lucon.org>
1008 * nfs-utils.spec: Regenerated.
1009 (Release): Set to 3.
1011 2001-03-21 Ion Badulescu <ionut@cs.columbia.edu>
1013 * utils/statd/statd.c (main): make sure file descriptors 0-2
1014 are open to /dev/null.
1016 2001-03-21 H.J. Lu <hjl@lucon.org>
1018 * support/nfs/rpcmisc.c: Restore the change made on 2001-03-10.
1019 * support/nfs/rpcmisc.c: Likewise.
1020 * utils/rquotad/rquota_svc.c: Likewise.
1021 * utils/rquotad/rquotad.man: Likewise.
1022 * utils/statd/Makefile: Likewise.
1023 * utils/statd/rmtcall.c: Likewise.
1024 * utils/statd/simulate.c: Likewise.
1025 * utils/statd/statd.c: Likewise.
1026 * utils/statd/statd.man: Likewise.
1028 2001-03-11 H.J. Lu <hjl@lucon.org>
1030 * configure.in (RELEASE): New. Default to 1, set by
1031 --with-release=XXX. Substitute nfs-utils.spec.
1032 * nfs-utils.spec.in (Release): Set to @RELEASE@.
1033 * configure: Regenerated.
1034 * nfs-utils.spec: Likewise.
1036 2001-03-11 H.J. Lu <hjl@lucon.org>
1038 * utils/rquotad/rquotad.man: Fix a typo.
1040 2001-03-11 H.J. Lu <hjl@lucon.org>
1042 * support/include/rpcmisc.h: Undo the change made on 2001-03-10.
1043 * support/nfs/rpcmisc.c: Likewise.
1044 * utils/rquotad/rquota_svc.c: Likewise.
1045 * utils/rquotad/rquotad.man: Likewise.
1046 * utils/statd/Makefile: Likewise.
1047 * utils/statd/rmtcall.c: Likewise.
1048 * utils/statd/simulate.c: Likewise.
1049 * utils/statd/statd.c: Likewise.
1050 * utils/statd/statd.man: Likewise.
1052 2001-03-10 H.J. Lu <hjl@lucon.org>
1054 * configure.in (VERSION): Set to "0.3.2".
1055 * configure: Regenerated.
1056 * nfs-utils.spec: Likewise.
1058 * README: Updated for 0.3.2.
1060 2001-03-10 Tavis Barr <tavis@boole.isetr.columbia.edu>
1062 * utils/rquotad/rquotad.man: Updated for -p.
1063 * utils/statd/statd.man: Likewise.
1065 2001-03-10 Ion Badulescu <ionut@cs.columbia.edu>
1067 * support/nfs/rpcmisc.c: export makesock()
1069 * support/include/rpcmisc.h (makesock): Declared.
1071 * utils/rquotad/rquota_svc.c: added longopts, added support for
1072 specifying the port to bind to on the command line.
1074 * utils/statd/statd.c: ditto, also specify port used for
1075 outgoing connections.
1076 (do_regist): Removed.
1078 * utils/statd/rmtcall.c (statd_get_socket): Renamed from
1079 get_socket. Make it extern.
1081 * utils/statd/simulate.c (daemon_simulator): Call rpc_init
1082 instead of do_regist.
1084 * utils/statd/Makefile (LIBS): link with our own libnfs
1086 2001-03-09 H.J. Lu <hjl@lucon.org>
1088 * etc/redhat/nfslock.init: Changed chkconfig line to 60 86.
1089 * etc/nodist/nfs-client: Likewise.
1091 2001-02-26 Chip Salzenberg <chip@valinux.com>
1093 * debian/changelog: Version 0.3.1-1.
1094 * Mention upstream source and license in copyright file.
1095 * Add build-Depends for debhelper and libwrap0-dev.
1097 2001-02-20 Lon Hohberger <hohberger@missioncriticallinux.com>
1099 * etc/nodist/nfs-server: Changed chkconfig line to 60 20
1100 * etc/nodist/nfs-client: Likewise.
1102 2001-02-18 Lon Hohberger <hohberger@missioncriticallinux.com>
1104 * utils/statd/statd.man: Changed /usr/sbin/rpc.statd to
1107 2001-02-17 Patrick J. LoPresti <patl@curl.com>
1109 * utils/statd/log.c (log_init): Use LOG_DAEMON instead of
1112 2001-02-14 H.J. Lu <hjl@lucon.org>
1114 * utils/statd/rmtcall.c: Include <time.h>.
1115 * utils/statd/svc_run.c: Likewise.
1117 2001-02-14 H.J. Lu <hjl@lucon.org>
1119 * configure.in (VERSION): Set to "0.3.1".
1120 * configure: Regenerated.
1121 * nfs-utils.spec: Likewise.
1123 * README: Updated for 0.3.1.
1125 2001-02-14 H.J. Lu <hjl@lucon.org>
1127 * support/nfs/rpcmisc.c: Include <time.h>.
1129 2001-02-14 Chip Salzenberg <chip@valinux.com>
1131 * debian/control: Change priority of nhfsstone package to 'extra'.
1133 2001-02-12 Chip Salzenberg <chip@valinux.com>
1135 * debian/changelog: Version 0.3-2.
1137 2001-02-02 H.J. Lu <hjl@lucon.org>
1139 * support/include/rpcmisc.h (rpc_init): Remove bufsize.
1141 * support/nfs/rpcmisc.c (makesock): Remove socksz and comment
1142 out SO_SNDBUF/SO_RCVBUF.
1143 (rpc_init): Remove bufsize and remove socksz in calls to
1146 * utils/mountd/mountd.c (main): Remove bufsize in calls to
1149 2001-01-28 Chip Salzenberg <chip@valinux.com>
1151 * debian/changelog: Version 0.3-1.
1153 2001-01-25 H.J. Lu <hjl@lucon.org>
1155 * configure.in (VERSION): Set to "0.3".
1156 * configure: Regenerated.
1157 * nfs-utils.spec: Likewise.
1159 * README: Updated for 0.3.
1161 2001-01-25 H.J. Lu <hjl@lucon.org>
1163 * utils/lockd/lockd.c (main): Ignore errno == EINVAL.
1165 2001-01-20 Chip Salzenberg <chip@valinux.com>
1167 * support/include/xio.h (xgetc): Declare to return int.
1168 * support/nfs/xio.c (xgetc): Return int.
1169 (xgettok, xskip, xskipcomment): Use int for value of xgetc.
1170 * utils/statd/statd.c (main): Use int for value of getopt.
1171 * debian/changelog: Version 0.2.1-5.
1173 2000-12-10 Chip Salzenberg <chip@valinux.com>
1175 * utils/statd/monitor.c (sm_mon_1_svc): Fix buggy check for
1176 program and procedure numbers of kernel lockd's callback. Also,
1177 besides the old (and broken) procedure #24, allow #16 per Trond.
1179 2000-12-03 Chip Salzenberg <chip@valinux.com>
1181 * support/nfs/xio.c (xfopen): Initialize x_line to one, not zero.
1182 * debian/control: Let nhfsstone replace files in nfs-kernel-server.
1183 * debian/changelog: Version 0.2.1-4.
1185 2000-11-27 Tobias Ringstrom <tori@tellus.mine.nu>
1187 * utils/mountd/auth.c (auth_authenticate): Log the bad path
1190 2000-11-24 Neil Brown <neilb@cse.unsw.edu.au>
1192 * support/nfs/exports.c (getexportent): Check for host name
1193 without option, or options without hostname, and print a warning,
1194 as this is most likely a typo.
1196 2000-11-19 Chip Salzenberg <chip@valinux.com>
1198 * debian/control: Add dependency on portmap.
1199 * debian/changelog: Version 0.2.1-3.
1201 2000-11-10 H.J. Lu <hjl@lucon.org>
1203 * nfs-utils.spec.in: Don't use libtool.
1204 Add ChangeLog and COPYING to doc.
1205 * nfs-utils.spec: Rebuild.
1207 2000-11-09 H.J. Lu <hjl@lucon.org>
1209 * etc/redhat/nfs.init (start): Back out the last change.
1211 2000-11-09 H.J. Lu <hjl@lucon.org>
1213 * etc/redhat/nfs.init (start): Pass --no-tcp to mountd if
1214 TCP is not supported by kernel.
1216 * support/nfs/rpcmisc.c (rpc_init): Don't set _rpcfdtype to 0.
1218 * utils/mountd/mountd.c (longopts): Add "-n/--no-tcp".
1219 (main): Set to _rpcfdtype to SOCK_DGRAM for "-n/--no-tcp".
1221 * utils/mountd/mountd.man: Updated for "-n/--no-tcp".
1223 2000-10-24 Lon Hohberger <hohberger@missioncriticallinux.com>
1225 * utils/statd/callback.c: Fix bug preventing callbacks to local lockd.
1226 * utils/statd/rmtcall.c: Add some IP address paranoia when doing
1227 callbacks to local lockd.
1229 2000-10-18 Scott McDermott <mcdermot@questra.com>
1231 * utils/exportfs/exports.man: Updated for CIDR netmask.
1233 2000-10-17 Scott McDermott <mcdermot@questra.com>
1235 * support/export/client.c (client_init): Support CIDR netmask
1238 2000-10-11 H.J. Lu <hjl@lucon.org>
1240 * aclocal.m4 (AC_TCP_WRAPPER): Fix a typo.
1241 * configure: Rebuilt.
1243 2000-10-06 Lon Hohberger <hohberger@missioncriticallinux.com>
1245 * utils/statd/statd.man: Change "/var/lib/nfs/sm/state" to
1246 "/var/lib/nfs/state".
1248 2000-10-05 Lon Hohberger <hohberger@missioncriticallinux.com>
1250 * utils/statd/statd.h (run_mode): New global bitmask of runtime
1251 behaviors: fg/bg, logging, etc.
1252 * utils/statd/statd.c: New command line options: -V -h -? -d .
1253 * utils/statd/statd.man: Update for changes to statd.
1255 * utils/statd/log.h (log_init): Remove parameter of function; use
1256 global variable "name_p" instead.
1257 * utils/statd/log.c: Add support for logging to stderr.
1259 * utils/statd/notlist.c: Partially rewrite notify list handling
1260 functions. Eliminate run-off-end-of-list bug when calling
1261 nlist_insert_timer. Add lots of comments.
1263 2000-09-27 H.J. Lu <hjl@lucon.org>
1265 * README: Updated for RedHat 7.0.
1267 2000-09-27 H.J. Lu <hjl@lucon.org>
1269 * nfs-utils.spec: Rebuild.
1271 2000-09-27 H.J. Lu <hjl@lucon.org>
1273 * README: Updated for 0.2.1.
1275 2000-09-27 H.J. Lu <hjl@lucon.org>
1277 * nfs-utils.spec.in: Updated to use rpm macros and support
1280 2000-09-25 H.J. Lu <hjl@lucon.org>
1282 * configure.in (VERSION): Set to "0.2.1".
1283 * configure: Regenerated.
1284 * nfs-utils.spec: Updated.
1286 2000-09-25 H.J. Lu <hjl@lucon.org>
1288 * utils/mountd/auth.c (auth_authenticate_internal): Make sure a
1289 non-NULL hostent is always returned.
1291 2000-09-11 Ion Badulescu <ionut@cs.columbia.edu>
1293 * etc/redhat/nfslock.init: don't kill lockd processes that do not
1294 have an executable (i.e. kernel threads)
1296 2000-09-01 H.J. Lu <hjl@lucon.org>
1298 * README: Updated for 0.2.
1300 2000-09-01 Jay Weber <jweber@valinux.com>
1302 * etc/redhat/nfs.init: Added ability for rpc.mountd to default to
1303 supporting version 3 of nfs if available, else it will fall back to
1304 version 2 support only.
1306 2000-08-30 H.J. Lu <hjl@lucon.org>
1308 * configure.in (VERSION): Set to "0.2".
1309 * configure: Regenerated.
1310 * nfs-utils.spec: Updated.
1312 2000-08-25 H.J. Lu <hjl@lucon.org>
1314 * support/misc/tcpwrapper.c (logit): Modify the log output.
1316 2000-08-25 Ion Badulescu <ionut@cs.columbia.edu>
1318 * utils/rquotad/rquotad.man, utils/statd/statd.man,
1319 utils/mountd/mountd.man: updated
1321 * utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL)
1322 * utils/rquotad/Makefile: fix comment
1324 * support/misc/tcpwrapper.c (logit): added comment about waiting
1325 for the children after fork()
1327 * utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving
1328 zombies behind (from logit()'s fork)
1329 * utils/rquotad/rquota_svc.c (main): ditto
1330 * utils/statd/statd.c (main): ditto
1332 * utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG
1333 to check_default instead of 0, for prognum
1335 * utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG
1336 to check_default instead of 0, for prognum
1338 * utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if
1339 HAVE_TCP_WRAPPER is defined.
1340 (mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is
1341 defined. Reject an RPC call if check_default () fails.
1343 2000-08-25 H.J. Lu <hjl@lucon.org>
1345 * support/include/tcpwrapper.h: New for the tcp wrapper
1347 * support/misc/Makefile: Likewise.
1348 * support/misc/from_local.c: Likewise.
1349 * support/misc/tcpwrapper.c: Likewise.
1351 * aclocal.m4 (AC_TCP_WRAPPER): New.
1352 * configure.in: Use it. Substitute LIBWRAP.
1353 * configure: Rebuilt.
1355 * config.mk.in (LIBNSL): New.
1356 (LIBWRAP): Likewise.
1358 * support/Makefile (SUBDIRS): Add misc.
1360 * support/lib/Makefile (LIBS): Add libmisc.a.
1362 * utils/rquotad/Makefile (LIBS): Add
1364 -lmisc $(LIBWRAP) $(LIBNSL)
1366 * utils/statd/Makefile (LIBS): Likewise.
1368 * utils/rquotad/rquota_svc.c: Include "tcpwrapper.h" if
1369 HAVE_TCP_WRAPPER is defined.
1370 (rquotaprog_1): Call check_default () if HAVE_TCP_WRAPPER is
1371 defined. Reject an RPC call if check_default () fails.
1373 * utils/statd/statd.c: Include "tcpwrapper.h" if
1374 HAVE_TCP_WRAPPER is defined.
1375 (sm_prog_1_wrapper): New. A wrapper for sm_prog_1. Call
1376 check_default () before calling sm_prog_1 (). Define it as
1377 sm_prog_1_wrapper if HAVE_TCP_WRAPPER is defined.
1379 2000-08-25 Chip Salzenberg <chip@valinux.com>
1381 * debian/*: Complete Debian build support.
1382 * etc/debian/*: Remove.
1384 2000-08-24 Neil Brown <neilb@cse.unsw.edu.au>
1386 * support/export/client.c(client_check): removed the "dot+1" as a
1387 ypdomain argument to innetgr as this is entirely bogus.
1388 It should always be NULL.
1390 2000-08-23 Neil Brown <neilb@cse.unsw.edu.au>
1392 * support/export/xtab.c(xtab_read): introduce new mode for
1393 reading xtab. i.e. a list of exports that might be known to the
1394 kernel, or might not. These are flagged as m_exported == -1
1395 * support/export/xtab.c(xtab_mount_read): call xtab_read with new
1396 value "2" for xtab, meaning don't trust this too much.
1397 * support/include/exportfs.h(struct mexport): changed m_exported
1398 from one bit to an int so that it can hold new value
1399 * utils/exportfs/exportfs.c(exportfs_ipdate): add an export to the
1400 kernel if it is uncertain whether the kernel knows (m_exported == -1)
1401 * utils/mountd/mountd.c(get_rootfh): similarly export to kernel if
1404 * support/nfs/xio.c(xflock): added O_CREAT when getting
1405 a write lock so that missing files aren't fatal.
1407 * etc/debian/nfs-common: new file from "potato"
1408 * etc/debian/nfs-kernel-server: new file from "potato" plus fixes.
1410 2000-08-09 H.J. Lu <hjl@lucon.org>
1412 * etc/redhat/nfs.init: Run /usr/sbin/exportfs first during
1413 startup to ensure all existing clients work fine.
1415 * support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0
1416 to xtab_read () for reading _PATH_XTAB.
1418 2000-08-02 H.J. Lu <hjl@lucon.org>
1420 * utils/mountd/auth.c (auth_authenticate_internal): Try to
1421 avoid the reverse name lookup.
1423 2000-07-04 H.J. Lu <hjl@lucon.org>
1425 * utils/statd/log.c: Include <stdlib.h> for exit ().
1427 * utils/statd/misc.c (xunlink): Add `{' and `}' to quiet the
1430 2000-07-04 H.J. Lu <hjl@lucon.org>
1432 * configure.in (VERSION): Set to "0.1.9.1".
1433 * configure: Regenerated.
1434 * nfs-utils.spec: Updated.
1438 2000-07-04 Neil Brown <neilb@cse.unsw.edu.au>
1440 * support/export/hostname.c (hostent_dup): Handle the NULL
1443 2000-07-03 H.J. Lu <hjl@lucon.org>
1445 * README: Update the util-linux requirement.
1447 2000-07-03 H.J. Lu <hjl@lucon.org>
1449 * configure.in (VERSION): Set to "0.1.9".
1450 * configure: Regenerated.
1451 * nfs-utils.spec: Updated.
1455 2000-07-03 H.J. Lu <hjl@lucon.org>
1457 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
1458 stop to ensure all clients can still access the server
1459 before it is shutdown.
1461 2000-06-30 Jeff Uphoff <juphoff@transmeta.com>
1463 * tools/rpcgen/rpc_svcout.c (write_msg_out): Generate syslog()
1464 calls with format string.
1466 2000-06-28 Chip Salzenberg <chip@valinux.com>
1468 * utils/statd/log.c (log): Call syslog with format string.
1470 2000-06-27 H.J. Lu <hjl@lucon.org>
1472 * utils/statd/statd.c (main): Use sysconf (_SC_OPEN_MAX)
1473 instead of OPEN_MAX.
1475 2000-06-27 H.J. Lu <hjl@lucon.org>
1479 2000-06-27 H.J. Lu <hjl@lucon.org>
1481 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
1482 startup to ensure all existing clients are exported.
1484 * configure.in (VERSION): Set to "0.1.8.2".
1485 * configure: Regenerated.
1486 * nfs-utils.spec: Updated.
1488 2000-06-06 H.J. Lu <hjl@lucon.org>
1490 * configure.in (VERSION): Set to "0.1.8.1".
1491 * configure: Regenerated.
1492 * nfs-utils.spec: Updated.
1494 2000-06-06 H.J. Lu <hjl@lucon.org>
1496 * utils/mountd/mountd.c (mount_dump_1_svc): Cast svc_getcaller
1497 to "struct sockaddr_in *" for glibc 2.2.
1498 (mount_umnt_1_svc): Likewise.
1499 (mount_umntall_1_svc): Likewise.
1500 (mount_export_1_svc): Likewise.
1501 (mount_exportall_1_svc): Likewise.
1502 (mount_pathconf_2_svc): Likewise.
1503 (get_rootfh): Likewise.
1505 2000-06-04 H.J. Lu <hjl@lucon.org>
1507 * etc/redhat/nfs.init: Fix a typo in comment.
1509 2000-05-31 H.J. Lu <hjl@lucon.org>
1511 * configure.in (VERSION): Set to "0.1.8".
1512 * configure: Regenerated.
1513 * nfs-utils.spec: Updated.
1517 2000-05-31 H.J. Lu <hjl@lucon.org>
1519 * configure.in (VERSION): Set to "0.1.7.5".
1520 * configure: Regenerated.
1521 * nfs-utils.spec: Updated.
1523 * support/include/nfslib.h (exportent): Add a new field,
1524 r_count, to count the number of mounts from a client.
1525 (getrmtabent): Take a new argument for position in file.
1526 (putrmtabent): Likewise.
1527 (fgetrmtabent): Likewise.
1528 (fputrmtabent): Likewise.
1529 * support/nfs/rmtab.c (getrmtabent): Handle the new argument
1530 for position in file.
1531 (fgetrmtabent): Likewise.
1532 (putrmtabent): Likewise.
1533 (fputrmtabent): Likewise.
1535 * support/nfs/rmtab.c (fgetrmtabent): Get value for the new
1538 * support/export/rmtab.c (rmtab_read): Pass NULL as the new
1539 argument to getrmtabent (), fgetrmtabent (), putrmtabent ()
1540 and fputrmtabent ().
1541 * utils/mountd/rmtab.c (mountlist_add): Likewise.
1542 (mountlist_del): Likewise.
1543 (mountlist_del_all): Likewise.
1544 (mountlist_list): Likewise.
1546 * utils/mountd/rmtab.c (mountlist_add): Increment "r_count"
1547 for the existing entry and initialize "r_count" to 1.
1548 (mountlist_del): Decrement "r_count".
1550 2000-05-18 H.J. Lu <hjl@lucon.org>
1552 * configure.in (VERSION): Set to "0.1.7.4".
1553 * configure: Regenerated.
1554 * nfs-utils.spec: Updated.
1556 2000-05-18 H.J. Lu <hjl@lucon.org>
1558 * etc/redhat/nfs.init (restart): Just do stop and start.
1560 2000-05-09 Jay Weber <jweber@valinux.com>
1562 * utils/rquotad/hasquota.c: added support for ext3 recognition
1564 * utils/rquotad/mntent.h: Likewise.
1566 2000-05-01 H.J. Lu <hjl@lucon.org>
1568 * configure.in (VERSION): Set to "0.1.7.3".
1569 * configure: Regenerated.
1570 * nfs-utils.spec: Updated.
1572 2000-05-01 H.J. Lu <hjl@lucon.org>
1574 * utils/rquotad/rquota_server.c (getquotainfo): Skip bad
1575 mounting poins in /etc/fstab.
1577 2000-05-01 H.J. Lu <hjl@lucon.org>
1579 * configure.in (VERSION): Set to "0.1.7.2".
1580 * configure: Regenerated.
1581 * nfs-utils.spec: Updated.
1583 2000-05-01 H.J. Lu <hjl@lucon.org>
1585 * utils/rquotad/rquota_server.c (getquotainfo): Call stat ()
1586 to check for the mounting point.
1588 2000-04-29 Chip Salzenberg <chip@valinux.com>
1589 Neil Brown <neilb@cse.unsw.edu.au>
1591 * Really re-use RPC ports.
1592 (Fixes earlier patch. Sorry, Neil.)
1594 2000-04-26 H.J. Lu <hjl@lucon.org>
1596 * configure.in (VERSION): Set to "0.1.7.1".
1597 * configure: Regenerated.
1598 * nfs-utils.spec: Updated.
1600 2000-04-26 H.J. Lu <hjl@lucon.org>
1602 * etc/redhat/nfslock.init: Check if lockd exits before killing
1605 2000-04-25 H.J. Lu <hjl@lucon.org>
1607 * README: Require util-linux-2.10f-mount-rpc.patch for mount.
1609 2000-03-21 Michael Weiser <michael@weiser.saale-net.de>
1611 * support/nfs/exports.c (parsesquash): Correctly set the
1614 Tue Mar 21 11:38:48 EST 2000 NeilBrown <neilb@cse.unsw.edu.au>
1616 * support/include/nfs/nfs.h: Removed knowledge of internals of
1617 kernel filehandles (which can change) and defined nfs_fh_size
1618 which has variable size
1620 * support/nfs/getfh.c: defined getfh_size to use new syscall to
1621 get variable sized file handles, and change getfh{,old} to
1624 * utils/mountd/mountd.c: use nfd_fh_size and call getfh_size for
1627 * tools/Makefile, tools/nlmtest/nlmtest.c
1628 nlmtest.c depended on internel format of file handles, so now
1632 2000-03-12 Chip Salzenberg <chip@valinux.com>
1633 Neil Brown <neilb@cse.unsw.edu.au>
1635 * support/nfs/rpcmisc.c (rpc_init): Share transports.
1637 2000-03-13 H.J. Lu <hjl@lucon.org>
1639 * etc/redhat/nfsd.init: Updated.
1641 * etc/redhat/nfslock.init: Updated.
1643 * nfs-utils.spec.in: Updated.
1645 * configure.in (VERSION): Set to "0.1.7".
1646 * configure: Regenerated.
1647 * nfs-utils.spec: Updated.
1651 Wed Mar 8 09:42:43 2000 Neil Brown <neilb@cse.unsw.edu.au>
1653 * utils/exportfs/exportfs.c (dump): Included printing of
1654 nohide, no_subtree_check, and insecure_locks
1656 2000-02-26 Chip Salzenberg <chip@valinux.com>
1658 * config.mk.in (INSTALLSUID): Strip ("-s").
1659 (INSTALLSCRIPT): Define.
1660 * utils/nhfsstone/Makefile: Use it.
1662 2000-02-26 Chip Salzenberg <chip@valinux.com>
1664 * utils/lockd/lockd.man: Create.
1665 * utils/lockd/Makefile: Install it.
1666 * utils/nhfsstone/nhfs{run,nums,graph}.man: Create.
1667 * utils/nhfsstone/nhfsstone.man: Change suffix from ".1".
1668 * utils/nhfsstone/Makefile: Install the helper scripts and
1670 * utils/exportfs/exports.man: Fix typo.
1672 2000-02-26 Chip Salzenberg <chip@valinux.com>
1674 * support/nfs/xio.c (xungetc): Decrement line number when
1675 character to unget is newline. Make first parameter int, so
1676 it can distinguish EOF from \377.
1677 * support/include/xio.h (xungetc): Adjust prototype.
1679 Fri Feb 4 23:42:23 2000 Neil Brown <neilb@cse.unsw.edu.au>
1681 * support/include/nfs/export.h: added NFSEXP_NOAUTHNLM
1682 * support/nfs/exports.c: added handling for NFSEXP_NOAUTHNLM
1683 * utils/exportfs/exports.man: added documentation for no_auth_nlm.
1685 This is for supporting a new option introduced in 2.3.42
1687 Thu Feb 3 14:55:48 2000 H.J. Lu <hjl@lucon.org>
1689 * COPYING: Added. GPL.
1691 Thu Feb 03 14:40:40 2000 Cristian Gafton <gafton@redhat.com>
1693 * utils/rquotad/rquota_server.c (getquotainfo): Call statfs ()
1694 to get the block size.
1696 Tue Jan 25 11:04:17 2000 H.J. Lu <hjl@lucon.org>
1698 * nfs-utils.spec.in: Update ftp site.
1700 Mon Jan 17 11:48:18 2000 H.J. Lu <hjl@lucon.org>
1702 * README: Update hostnames.
1704 Tue Jan 11 10:06:22 2000 H.J. Lu <hjl@lucon.org>
1706 * configure.in (VERSION): Set to "0.1.6".
1707 * configure: Regenerated.
1708 * nfs-utils.spec: Updated.
1712 Mon Jan 10 14:26:33 2000 H.J. Lu <hjl@lucon.org>
1714 * utils/mountd/auth.c (auth_authenticate_internal): Call
1715 xstrdup for hostname before passing it to gethostbyname.
1717 * utils/mountd/mountd.c (get_exportlist): Use xstrdup instead
1720 Sun Dec 19 09:35:01 1999 H.J. Lu <hjl@lucon.org>
1722 * README: Update the mailing list address.
1724 Sun Dec 19 09:22:28 1999 H.J. Lu <hjl@lucon.org>
1726 * configure.in (VERSION): Set to "0.1.5".
1727 * configure: Regenerated.
1728 * nfs-utils.spec: Updated.
1732 Mon Dec 13 13:40:20 1999 H.J. Lu <hjl@lucon.org>
1734 * utils/rquotad/hasquota.c (hasquota): Malloc one more char
1737 Mon Dec 6 09:42:45 1999 H.J. Lu <hjl@lucon.org>
1739 * configure.in (VERSION): Set to "0.1.4".
1740 * configure: Regenerated.
1741 * nfs-utils.spec: Updated.
1745 Mon Dec 6 09:28:07 1999 H.J. Lu <hjl@lucon.org>
1747 * nfs-utils.spec.in: New file.
1749 * config.mk.in (VERSION): Changed to "nfs-utils @VERSION@".
1751 * configure.in (nfs-utils.spec): Added to AC_OUTPUT.
1753 1999-12-04 Chip Salzenberg <chip@valinux.com>
1755 * config.mk.in: Use $(CC) as set by configure.
1757 1999-12-04 Chip Salzenberg <chip@valinux.com>
1759 * rules.mk: Call $(MAKE) with $(MFLAGS).
1761 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1763 * tools/rpcgen/rpc_main.c (h_output): Generate IXDR_GET_INT32,
1764 IXDR_PUT_INT32, IXDR_GET_U_INT32 and IXDR_PUT_U_INT32.
1766 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1768 * nfs-utils.spec (Version): Set to 0.1.3.
1770 * configure.in (VERSION): Set to "nfs-utils 0.1.3".
1771 * configure: Regenerated.
1775 Mon Nov 29 11:15:47 1999 H.J. Lu <hjl@lucon.org>
1777 * utils/rquotad/rquota_server.c (nfsmount_to_devname): Removed.
1778 (_PATH_DEV_DSK): Likewise.
1779 (getquotainfo): Match the mounting point from /etc/mtab
1780 instead of calling nfsmount_to_devname ().
1782 1999-11-24 Chip Salzenberg <chip@valinux.com>
1784 * utils/statd/monitor.c (sm_mon_1_svc): Accept lockd callbacks
1785 to the new port 24 as well as the historical port 100021.
1787 Tue Nov 23 10:21:34 1999 Neil Brown <neilb@cse.unsw.edu.au>
1789 * etc/redhat/nfsd.init (stop): moved exportfs -ua after
1790 stopping nfsd to stop spurious ESTALE on server shutdown.
1792 Tue Nov 23 10:13:39 1999 Neil Brown <neilb@cse.unsw.edu.au>
1794 * support/nfs/exports.c (parseopts): make copy of opt string
1795 before 'nul'ing out commas so that
1797 # exportfs -o option1,option2 hosta:/fs hostb:/fs
1799 applies both options to both exports.
1801 Thu Oct 28 12:55:42 1999 H.J. Lu <hjl@lucon.org>
1803 * README: Fix a few typos.
1805 * tools/rpcgen/rpc_cout.c (print_header): Use int32_t instead
1807 * tools/rpcgen/rpc_hout.c (pdefine): Likewise.
1808 * tools/rpcgen/rpc_main.c (c_initialize): Likewise.
1809 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1810 (unsigned_dec): Likewise.
1811 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1812 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1814 * tools/rpcgen/rpc_cout.c (emit_single_in_line): Use INT32
1816 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1817 (unsigned_dec): Likewise.
1818 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1819 * tools/rpcgen/rpc_scan.h (tok_kind): Likewise.
1820 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1822 Thu Oct 28 11:27:51 1999 Neil Brown <neilb@cse.unsw.edu.au>
1824 * support/include/nfs/export.h addedd NFSEXP_NOSUBTREECHECK
1825 * support/nfs/exports.c: added {no_,}subtree_check and changed
1827 * utils/exportfs/exports.man: added no_subtree_check and nohide
1828 and removed irrelevant stuff from unfsd.
1829 * support/export/rmtab.c: rmtab_read didn't quite do the right
1830 thing if a pathname from rmtab was a subdirectory of an export-point
1832 Tue Oct 26 17:22:40 1999 H.J. Lu <hjl@lucon.org>
1834 * README: Updated ftp site.
1836 Mon Oct 25 18:12:45 1999 H.J. Lu <hjl@lucon.org>
1838 * nfs-utils.spec (Version): Set to 0.1.2.
1840 * configure.in (VERSION): Set to "nfs-utils 0.1.2".
1841 * configure: Regenerated.
1845 Mon Oct 25 18:11:21 1999 H.J. Lu <hjl@lucon.org>
1847 * utils/mountd/auth.c (auth_error): Add "no_forward_dns".
1848 (auth_authenticate_internal): Check for NULL return on forward
1850 (auth_authenticate): Handle "no_forward_dns".
1852 Thu Oct 21 16:22:06 1999 H.J. Lu <hjl@lucon.org>
1854 * Version 0.1.1 released.
1856 * nfs-utils.spec (Version): Set to 0.1.1.
1858 * configure.in (VERSION): Set to "nfs-utils 0.1.1".
1859 * configure: Regenerated.
1863 Mon Oct 18 17:43:29 1999 H.J. Lu <hjl@lucon.org>
1865 * nfs-utils.spec (Obsoletes): Fixed a typo, change knfsd-client
1867 (Provides): Likewise.
1869 Mon Oct 18 14:56:22 1999 H.J. Lu <hjl@lucon.org>
1871 * Initial version 0.1 released.
1873 * configure.in (VERSION): Set to "nfs-utils 0.1".
1874 * configure: Regenerated.
1876 Mon Oct 18 14:54:57 1999 H.J. Lu <hjl@lucon.org>
1878 * utils/mountd/mountd.c (get_exportlist): Cleanup.
1880 * utils/exportfs/exportfs.c (unexport_all): Unexport from
1881 kernel only if the entry is exported to kernel.
1882 (unexportfs): Likewise.
1884 Wed Sep 08 16:49:32 1999 Neil Brown <neilb@cse.unsw.edu.au>
1886 1/ utils/mountd/rmtab.c::mountlist_list
1888 This routine stats the rmtab file to see if it has changed. It
1889 if has, it cleans up it's old copy of the data. But it still
1890 always re-read the file, thus returning multiple copies of the
1891 data on consecutive calls without intervening changes.
1892 "Showmount -a" didn't show this as it appears to sort/unique the
1893 data, but 'strace showmount -a' showed that the size of the
1894 datagram that it received grew.
1896 I moved the getrmtabent loop inside the mtime test.
1898 2/ utils/exportfs/exportfs.c
1900 Many routines used the m_path field of m_export instead of
1902 According to the comment in nfslib.h, m_path should only
1903 be used when processing a mount request (i.e. in mountd)
1904 where the mountpoint may be a subdirectory of the export point.
1906 I changed all occurances of m_path to e_path
1909 3/ utils/exportfs/exportfs.c:main
1911 extra arguments are not meaningful with -a or -r, but
1912 exportfs accepted them and then ignored the -a/-r, expect that
1913 -r would still unexport everything first.
1915 I generate an error if there are extra args and f_all
1917 4/ utils/exportfs/exportfs.c:main
1918 extract dump out as a special case.
1920 5/ utils/exportfs/exportfs.c
1921 made f_reexport a local variable.
1924 6/ utils/exportfs/exportfs.c:main,exportall
1926 support/export/rmtab.c
1927 only mayexport on newly created entries, don't set xtabent at all
1929 7/ support/include/nfslib.h
1931 add #define _PATH_PROC_EXPORTS to be /proc/fs/nds/exports
1933 8/ support/export/xtab.c
1935 xtab_mount_read loads data from _PATH_PROC_EXPORTS if it exists,
1939 9/ support/export/xtab.c
1941 xtab_mount_read now sets m_exported, and NOT
1942 xtabent and mayexport
1944 removed the append arguement from xtab_write as it was
1947 added is_export flag to xtab_write similar to xtab_read
1948 if is_export, only write entries with m_xtabent or m_addxtab
1949 if !is_export, only write entries with m_exported
1951 10/ support/export/export.c::export_allowed_internal
1953 added test for exp->m_mayexport, as the export tree
1954 may have entries that are no longer allowed to be exported,
1955 and so shouldn't caused deduced exported by rmtab_read
1957 11/ utils/exportfs/exportfs.c::main
1958 error checking of flags.
1960 12/ utils/exportfs/exportfs.c
1962 total rewrite of export and unexport logic.
1964 - build an exportslist of valid exports, based on
1965 current etab file and arguments,
1966 - read rmtab to instantiate relevant wild card entries
1967 - read etab to find out what is currently exported
1968 - synchronise intention with reality
1969 - write out etab and xtab
1972 discard the m_addxtab flag
1973 add m_changed flag so we know what to report in exportfs
1975 14/ utils/mountd/auth.c:auth_authenticate
1977 the value returned by gethostbyaddr was trusted.
1979 It now follows this with a call to gethostbyname
1980 and checks that the address is in the list.
1982 15/ support/export/nfsctl.c::cltsetup,expsetup
1984 force client names to lowercase as kernel is
1987 16/ quietened a few compiler warnings
1989 17/ support/export/client:client_lookup
1991 look for pre-existing client with same name before creating
1994 18/ support/include/exportfs.h
1996 The ordering of the MCL_* enum was:
1997 ANONYMOUS, FQDN, SUBNETWORK, WILDCARD, NETGROUP
1999 I moved ANONYMOUS to the end.
2001 The ordering is significant when an export entry is being searched for to
2002 match a given address. There are two problems with ANONYMOUS being first.
2004 1/ if a directory is exported rw to a couple of hosts and ro to everyone else,
2005 then the ro case will always be found first and the privileged hosts won't get
2007 2/ When mountd gets a request to mount an ANONYMOUSly exported tree, it creates a FQDN
2008 export entry for the specific host, and writes it to xtab.
2009 When another request comes from the same host, the ANONYMOUS entry is found again,
2010 before the new FQDN entry, so it creates another FQDN entry and writes it to xtab
2011 again. If causes bloat in xtab.
2013 Putting ANONYMOUS at the end reflects it's nature as a catch-all
2015 19/ utils/exportfs/exportfs.man
2016 many updates to the man page to reflect changes to the code
2018 -----------------------
2024 - allow exportfs to modify rmtab file
2025 - make sure kernel never gets two clients with same IP address
2026 - possible kernel should reject
2027 - needs to be some way to lookup client in kernel by IP address
2028 - maybe get kernel to do case-insensitive comparisons on client names
2029 - remove unused clients from kernel
2031 - change etab to xtab and xtab to xtab.active
2033 - timestamp and/or statd-stamp in rmtab for removing old entries.
2035 Mon Oct 18 11:48:07 1999 H.J. Lu <hjl@lucon.org>
2037 * linux-nfs: New directory.
2038 * linux-nfs/ChangeLog: Moved from ..
2039 * linux-nfs/INSTALL: Likewise.
2040 * linux-nfs/KNOWNBUGS: Likewise.
2041 * linux-nfs/NEW: Likewise.
2042 * linux-nfs/README: Likewise.
2043 * linux-nfs/THANKS: Likewise.
2044 * linux-nfs/TODO: Likewise.
2046 * Starting from knfsd 1.4.7.