1 2005-04-06 Chip Salzenberg <chip@pobox.com>
3 * support/nfs/exports.c (parseopts): Accept "acl" option to mean
4 ~NFSEXP_NOACL, and "no_acl" to mean NFSEXP_NOACL.
5 (putexportent): Report NFSEXP_NOACL as "no_acl", and ~NFSEXP_NOACL
7 * utils/exportfs/exportfs.c (dump): Report NFSEXP_NOACL as
9 * utils/exportfs/exports.man: Document "no_acl".
11 2005-03-14 NeilBrown <neilb@cse.unsw.edu.au>
12 Denis Vlasenko <vda@ilport.com.ua>
13 * support/export/client.c(client_init and client_gettype):
14 treat N.N.N.N as a special case of MCL_SUBNETWORK instead of
17 2005-03-06 G. Allen Morris III <gam3@gam3.net>
18 * support/nfs/cacheio.c(readline): Could not read lines greater
19 than 128 bytes. [1157791]
20 * utils/exportfs/exports.man: Added a SEE ALSO section and
21 fixed 2 typos. [1018450]
23 2005-02-28 Trond Myklebust <trond.myklebust@fys.uio.no>
24 * utils/statd/rmtcall.c(statd_get_socket): If a port number is
25 explicitly given, make sure to try to bind to that.
27 2005-01-11 Chip Salzenberg <chip@pobox.com>
29 * debian/changelog: Version 1.0.7-1.
30 * debian/nfs-common.default (NEED_IDMAPD, NEED_GSSD):
31 Disable by default, on advice of upstream.
32 * debian/nfs-kernel-server.default (NEED_SVCGSSD):
35 * utils/svcgssd/Makefile (predep): Symbolically link duplicated
37 (distclean): Remove symlinks to duplicated files.
39 2004-12-17 NeilBrown <neilb@cse.unsw.edu.au>
42 * config.mk, configure.in: update version number, run autoconf
43 * configure.in: require nfsidmap.h if gss is enabled.
45 2004-12-10 NeilBrown <neilb@cse.unsw.edu.au>
48 * config.mk, configure.in: update version number, run autoconf
50 2004-12-10 Neil Brown <neilb@cse.unsw.edu.au>
51 * README : note dependancy on kerberos, libevent, and nfsidmap
52 * configure.in : fail if --enable-nfsv4 and libevent or
53 libnfsidmap are missing.
54 * configuyre.in: improve message if krb5 support is missing
56 2004-12-06 Paul Clements <paul.clements@steeleye.com>
57 * support/include/ha-callout.h: get return status from waitpid
59 * support/include/ha-callout.h: don't ignore SIGCHLD while waiting
60 for a callout to complete.
61 * utils/statd/statd.c(sigusr): print current start when re-reading
62 notify list due to SIGUSR1
63 * utils/statd/svc_run.c(my_svc_run): call change_state when
66 2004-12-06 Marc Eshel <eshel@almaden.ibm.com>
67 * utils/statd/svc_run.c(my_svc_run): allow loop to exit when in
69 *utils/statd/rmtcall.c(statd_get_socket): if a hostname is given
70 to statd with -n, prefer it's IP address to the default for
73 2004-12-06 Bruce Allan <bwa@us.ibm.com>
74 * utils/mountd/auth.c(auth_reload) Clear the "my_client" cache on
75 an auth_reload to avoid old data getting used.
77 2004-12-03 NeilBrown <neilb@cse.unsw.edu.au>
78 Release 1.0.7-pre1 for testing
80 * config.mk, configure.in: update version number, run autoconf
82 2004-12-03 Trond Myklebust <trond.myklebust@fys.uio.no>
84 * utils/statd/statd.c(main): ignore SIGPIPE
86 2004-11-22 "J. Bruce Fields" <bfields@fieldses.org>
88 * tools/rpcdebug/rpcdebug.c: support aliases "nfsdebug" and
89 "nfsddebug" and update flag names.
90 * configure.in, nodist/* redhat/* nfs-utils.spec*: remove redhat
91 specific files (as no-one actually uses them, especially not
92 redhat), and the nodist /etc files (as they drift out-of-date, and
93 the debian directory provides a suitable example.
94 * utils/svcgssd_proc.c(get_ids): fix memory leak
95 * utils/svcgssd/svcgssd_proc.c: Rely on count of the number of
96 groups instead of using a special guard value to identify the end
98 * utils/idmapd/idmapd.c: don't allow Default domain and anon-uid
99 or -gid to be specified on command line.
100 * utils/idmapd/idmapd.c: improve error messages
101 * utils/idmapd/idmapd.c: Reopen nfsd files on sighup. Allows us
102 to start up client side only (even when nfsd module not loaded),
103 and then sighup later after insmodding nfsd module.
104 * utils/idmapd/idmapd.c: Make sure we catch all errors on
105 daemonizing by waiting for child to report succesfull startup
107 * utils/idmapd/idmapd.c: Let libnfsidmapd parse the idmapd.conf
108 file for the default domain, instead of doing that ourselves.
109 * utils/gssd/gssd_proc.c: Make sure we get an error when a gssd
111 * utils/gssd/gssd_proc.c: We were forgetting to restore the euid
112 on certain failures, which meant gssd could get stuck in a state
113 where it didn't have permissions to read the files in rpc_pipefs
115 * utils/gssd/gssd_proc.c: Use libnfsidmapd to map gss principals
117 * debian/nfs-kernel-server.default: Document the NEED_SVCGSSD
118 variable in /etc/default/nfs-kernel-server.
121 2004-11-22 NeilBrown <neilb@cse.unsw.edu.au>
123 * utils/exportfs/nfsd.man: corrected typo in .BR macro usage -
124 reported by Eric Raymond
126 2004-10-19 "J. Bruce Fields" <bfields@fieldses.org>
128 * support/gssapi/* support/rpc/* utils/gssd/* utils/svcgssd/* etc
129 initial support for GSSAPI authentication
131 2004-09-15 Neil Brown <neilb@cse.unsw.edu.au>
133 * utils/statd/monitor.c(sm_unmon_1_svc): is RESTRICTED_STATD, then
134 check IP address and force my_name to 127.0.0.1 to match
135 what happens in sm_mon_1_svc. This avoid spurious "erroneous
137 * utils/statd.monitor.c(sm_unmon_all_1_svc): likewise
139 2004-09-15 "J. Bruce Fields" <bfields@fieldses.org>
141 * Assorted changes to support "gss/*" style authentication
142 * utils/idmapd: new idmapd daemon for nfsv4 username lookup
144 2004-09-06 Trond Myklebust <trond.myklebust@fys.uio.no>
145 Neil Brown <neilb@cse.unsw.edu.au>
147 * utils/mountd/auth.c(auth_authenticate_internal): fix
148 uninitialsed variable problem (causes bad error messages).
150 2004-09-06 Paul Clements <paul.clements@steeleye.com>
151 Neil Brown <neilb@cse.unsw.edu.au>
153 * utils/mountd/mountd.c(main): support --ha-callout (-H) for
154 specifying a callout program
155 * utils/mountd/rmtab.c: Call ha_callout on mount/unmount
156 * utils/statd/monitor.c: Call ha_callout on add/del client
157 * utils/statd/rmtcall.c: as above
158 * utils/statd/statd.c: handle --ha-callout (-H)
159 * utils/statd/svc_run.c: call notify_hosts is we have received a
161 * support/include/ha-callout.h: define ha_callout function
164 2004-08-31 NeilBrown <neilb@cse.unsw.edu.au>
165 * utils/mountd/cache.c(cache_process_req): clear fd after
166 processing so as not to confused libc/sunrpc into thinking
167 it need to do something with that fd.
169 2004-08-31 NeilBrown <neilb@cse.unsw.edu.au>
171 * debian/nfs-kernel-server.init(start,stop) mount the nfsd
172 filesystem, if available, before starting nfs services, and
173 unmount it afterwards.
174 * etc/nodist/nfs-server: ditto
175 * etc/redhat/nfs.init: likewise
176 * etc/redhat/nfs: add "MOUNT_NFSD" flag to control above.
178 2004-06-08 NeilBrown <neilb@cse.unsw.edu.au>
180 * utils/exportfs/exportfs.c: Don't rmtab_read if new_cache, it
182 * support/nfs/cacheio.c(cache_flush): Change order in which caches
183 are flushed so that dependancies don't keep things in the cache
186 2004-03-18 Chip Salzenberg <chip@pobox.com>
188 * debian/changelog: Version 1.0.6-2.
190 2004-02-24 NeilBrown <neilb@cse.unsw.edu.au>
191 from "J. Bruce Fields" <bfields@fieldses.org>
193 * utils/mountd/cache.c: call auth_reload to make sure auth data is
194 current before responding to kernel upcall.
196 2004-02-24 NeilBrown <neilb@cse.unsw.edu.au>
197 Based on patch from Greg Banks <gnb@melbourne.sgi.com>
199 * utils/exportfs/exports.man: Document fsid= option.
201 2003-09-15 NeilBrown <neilb@cse.unsw.edu.au>
205 * rules.mk: Add dep: rule when no OBJS, so "make dep" works in
206 support/include, and depend in "predep"
207 * support/export/Makefile, tools/rpcgen/Makefile,
208 utils/statd/Makefile: add "predep" rule so that "make dep" works.
209 * Makefile: allow a simple "make" to run ./configure and "make dep"
211 * configure.in, nfs-utils.spec: Update version to 1.0.6
214 2003-09-12 Chip Salzenberg <chip@pobox.com>
216 * debian/changelog: Version 1.0.6-1.
218 2003-09-12 NeilBrown <neilb@cse.unsw.edu.au>
220 * utils/mountd/mountd.c(main): Impose FD_SETSIZE as an upper limit
222 * utils/statd/statd.c(main): Ditto.
224 michael <michael@newdream.net> discovered that svc_setreqsize
225 in glibc can segfault if RLIMIT_NOFILE is bigger than
226 FD_SETSIZE, so a simple solution is to impose a hard limit.
228 2003-09-09 Chip Salzenberg <chip@pobox.com>
230 * debian/changelog: Version 1.0.5-3.
231 * support/export/hostname.c (get_reliable_hostbyaddr): Fix crash
232 on invalid reverse DNS.
233 * utils/showmount/showmount.c (main): Fix inet_ntoa() parameter.
234 * tools/rpcgen/rpc_cout.c (print_header): Remove unused vars.
235 * tools/rpcgen/rpc_parse.c (def_union): Likewise.
237 2003-08-22 Chip Salzenberg <chip@pobox.com>
239 * utils/statd/{log.h,log.c}: Rename log() to note() and L_* to
240 N_*, to avoid conflict with ISO C built-in log() function.
241 * utils/statd/*.c: Use note().
243 2003-08-20 Chip Salzenberg <chip@pobox.com>
245 * debian/changelog: Version 1.0.5-2.
247 2003-08-11 NeilBrown <neilb@cse.unsw.edu.au>
249 * utils/mountd/cache.c(cache_get_filehandle): close the filehandle
252 2003-08-04 NeilBrown <neilb@cse.unsw.edu.au>
254 * support/include/nfs/export.h, support/nfs/exports.c,
255 utils/exportfs/exports.c, utils/mountd/mountd.c: change
256 NFSEXP_CROSSMNT to NFSEXP_CROSSMOUNT to avoid confusion with older
257 meaning. Also remove meaningless
258 NFSEXP_{UIDMAP,KERBEROS,SUNSECURE}
260 2003-08-04 NeilBrown <neilb@cse.unsw.edu.au>
262 * support/export/xtab.c, support/include/nfslib.h,
263 support/nfs/cacheio.c, support/nfs/nfssvc.c,
264 utils/exportfs/exportfs.c, utils/exportfs/exportfs.man,
265 utils/exportfs/nfsd.man, utils/mountd/cache.c: support
266 /proc/fs/nfsd/* as a perferred alternate to /proc/fs/nfs/*
267 (nfs-utils-1.0.5-post2)
269 2003-08-04 NeilBrown <neilb@cse.unsw.edu.au>
271 * support/nfs/nfsexport.c: open channel file O_WRONLY when
273 * utils/mountd/cache.c: maintain mountlist when new_cache is
274 active. Also use O_WRONLY for channel files.
275 * utils/mountd/mountd.h: mountlist_{del,add} now take a host name
276 rather than an nfs_export.
277 * utils/mountd/rmtab.c: ditto.
278 (nfs-utils-1.5.0-post1)
280 2003-07-24 Chip Salzenberg <chip@pobox.com>
282 * support/nfs/xlog.c (xlog): Revise buffer-overflow fix to
283 use Debian security team's cleaner approach.
284 * debian/changelog: Version 1.0.5-1.
285 * debian/nfs-kernel-server.init: Cosmetic changes.
287 2003-07-18 NeilBrown <neilb@cse.unsw.edu.au>
290 1.0.4 was a bit of a brown-paper-bag-release because of the extra
291 'free' in auth.c. So I'm releasing this just a few days later.
293 * support/nfs/cacheio.c(cache_flush): Correct test for 'open
295 * utils/exportfs/exportfs.c(main): If "-f" given as lone option,
296 check if new_cache is enabled, error if not, flush and exit if it
298 * utils/exportfs/exportfs.man: Explain -f option and explain the
299 two different modes that exportfs can work in.
300 * utils/mountd/mountd.c: Do not change RLIMIT_NOFILE if the -o
302 * utils/mountd/mountd.man: Record the change if default behaviour
304 * configure.in, nfs-utils.spec: update version to 1.0.5 and
307 2003-07-15 NeilBrown <neilb@cse.unsw.edu.au>
309 * utils/mountd/mountd.c(main): getopt string fix for 'o'
310 * utils/mountd/auth.c(auth_authenticate): remove extra 'free'
311 * utils/exportfs/exportfs.c(main): make 'exportfs -f' just flush
313 * support/include/nfs/export.h: Reserve a bit for possible ACL
316 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
318 * utils/exportfs/nfsd.man: new man page for nfsd filesystem. Also
319 assorted changed to cope with section 7 of the manual.
320 * configure.in, nfs-utils.spec: Update version to 1.0.4
323 This is a 'pre-release' for 1.1.0 Hopefully 1.1.0 will be the
324 baseline for 2.6 and 2.8. I.e. it should continue to work right
325 through the 2.8 (or 3.0) kernel series. Previous releases wont.
327 2003-07-04 NeilBrown <neilb@cse.unsw.edu.au>
328 Steve Dickson <SteveD@redhat.com>
331 * utils/statd/statd.c: create a pidfile with pid of statd, and
332 truncate it when statd exists.
333 * utils/statd/statd.c: drop privs by setuid to owner of SM_DIR,
334 and warn if this is root.
335 * utils/statd/statd.c: when statd forks, connect child to parent
336 with a pipe, and send a byte down the pipe once the child is
338 * Makefile: create and chown sm, sm.bak, state when "make install"
339 * configure.in: add --with-statduser= option which defaults to
340 "rpcuser" or "nobody"
341 * config.mk.in: pass "statduser" through to Makefile
343 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
345 * support/include/nfs/nfs.h: Make sure correct __kernel_dev_t is
346 used as the size was changed somewhere in 2.5.60-2.5.70. Without
347 this nfs-utils compiles against 2.6 headers will not work on a
350 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
352 * support/nfs/nfssvc.c(nfssvc): If /proc/fs/nfs/threads exists,
353 set number of threads by writing to there. This means it will
354 still work when the syscall interface goes away in 2.7.
356 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
357 fumihiko kakuma <kakmy@mvh.biglobe.ne.jp>
359 * utils/exportfs/exportfs.c(unexportfs): improve host comparison
360 so as to only export the wildcard exports that were asked for.
361 * support/export/export.c(export_allowed): changed to return the
362 nfs_export rather than a "struct exportent", as m_changed is
364 * support/export/rmtab.c(rmtab_read): modified to deal with
365 interface change for export_allowed(), and enhanced to preserve
366 m_changed flag when a wild-card export causes the creation of
367 a non-wildcard export.
369 2003-07-02 NeilBrown <neilb@cse.unsw.edu.au>
370 Steve Dickson <SteveD@redhat.com>
372 * utils/mountd/mountd.man: Add valid kinds of debugging.
373 * utils/mountd/mountd.c(main): ignore SIGPIPE
374 * utils/nfsstat/nfsstat.c: fine-tune printing of warning so
375 we don't get warnings about unavailable stats that weren't asked
378 2003-06-24 NeilBrown <neilb@cse.unsw.edu.au>
380 * support/nfs/nfsexport.c(exp_unexp): When unexporting filesystems
381 via /rpc/net/rpc/nfsd*/channel, set the expiry date to 1, not
382 'forever', so things disappear out of the cache rather than just
385 2003-06-16 "J. Bruce Fields" <bfields@fieldses.org>
387 * utils/mountd/cache.c(nfsd_fh): don't export the export_ent
390 2003-06-16 NeilBrown <neilb@cse.unsw.edu.au>
392 * debian/nfs-kernel-server.init,etc/nodist/nfs-server,
393 etc/redhat/nfs.init: when checking if V3 is supported, make sure
394 nfs server 'knows' about 127.0.0.1 first.
396 2003-06-10 Chip Salzenberg <chip@pobox.com>
398 * support/nfs/xlog.c (xlog): Fix off-by-one buffer overflow bug.
399 * debian/changelog: Version 1.0.3-2.
401 2003-05-30 Michael Griffith <grif@michaelgriffith.com>
402 NeilBrown <neilb@cse.unsw.edu.au>
404 utils/nfsstat/nfsstat.c(print_callstats): use unsigned
405 long long to avoid overflow when printing stats.
407 2003-05-30 NeilBrown <neilb@cse.unsw.edu.au>
409 * support/export/export.c, support/include/nfslib.h,
410 support/nfs/export.c, utils/exportfs/exportfs.c,
411 utils/mountd/mountd.c: new export option "mountpoint"
412 If no path is given, then the export point must be a
413 mount point, or it won't be exported. If a path is
414 given (e.g. mountpoint=/path) then that path must be
415 a mountpoint or the exportpoint won't be exported.
416 * utils/exportfs/exportfs.man: document mountpoint option.
417 * support/misc/mountpoint.c: New file with is_mountpoint()
418 to determine if something is a mountpoint.
420 2003-05-23 NeilBrown <neilb@cse.unsw.edu.au>
422 * utils/mountd/cache.c(cache_get_filehandle): take a separate path
423 argument as we might not be getting the filehandle for the
425 * utils/mountd/mountd.c(get_rootfh): pass real path when calling
426 cache_get_filehandle.
427 * utils/mountd/mountd.c(get_rootfh): check export point and
428 requested directory are on the same filesystem, and complain if
431 2003-05-22 NeilBrown <neilb@cse.unsw.edu.au>
433 * utils/mountd/auth.c(auth_authenticate_internal): make sure
434 portnumber is still checked when using new cache lookup.
436 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
438 * utils/exportfs/exportfs.c: Use check_new_cache and cache_flush
439 Don't actually talk to kernel when new cache is in effect, except
441 * utils/exportfs/exportfs.c: add -f option to fully flush cache.
442 * support/export/xtab.c: Only rename new xtab into place if it has
443 changed, thus preserving modify date for exportfs to use when
445 * support/nfs/cacheio.c: Add cache_flush
446 * support/export/xtab.c: Only rename new xtab into place if it has
447 changed, thus preserving modify date for exportfs to use when
450 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
452 * support/export/client.c: Add client_compose, client_member to
453 handle new composite client names
454 * support/include/exportfs.h: Declare above functions.
455 * utils/mountd/auth.c: use client_compose to determine calling
456 client if new cache is being used.
457 * utils/mountd/auth.c: call cache_export to export a filesystem if
458 new_cache, check if new cache is used, and call my_svc_run instead
460 * utils/mountd/svc_run.c: new file defining my_svc_run
461 * utils/mountd/cache.c: new file for handling cache upcalls.
462 * support/nfs/cacheio.c(check_new_cache): new function to check if
463 new cache should be used.
466 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
468 * support/include/nfs/export.h: New CROSSMNT distinct from NOHIDE
469 * support/nfs/exports.c: Make CROSSMNT distinct from NOHIDE
470 * utils/exportfs/exportfs.c(dump): ditto
472 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
474 * support/export/hostname.c(get_reliable_hostbyaddr): new function
475 to get host name from address with full checking of authenticity.
476 * support/include/misc.h: declare above function
477 * utils/mountd/auth.c(auth_authenticate_internal): remove all
478 logic for authenticating address.
479 * utils/mountd/auth.c(auth_authenticate): call new
480 get_reliable_hostbyaddr to to hostname lookup before calling _internal.
483 2003-03-30 NeilBrown <neilb@cse.unsw.edu.au>
485 * tools/rpcgen/rpc_main.c(find_cpp): removed
486 * tools/rpcgen/rpc_main.c(open_input): use execvp to find "cpp",
487 then try hard-coded paths.
489 2003-03-26 Chip Salzenberg <chip@pobox.com>
491 * debian/changelog: Version 1.0.3-1.
493 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
495 * utils/mountd/rmtab.c (slink_safe_rename): real_newpath should be
496 "const char*", not "char*".
498 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
500 * configure.in (VERSION): Set to "1.0.3".
501 * nfs-utils.spec: Likewise.
502 * configure: Regenerated.
504 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
506 * support/nfs/cacheio.c: New File - support for read/writing
507 to export cache in /proc/rpc/*/channel
508 * support/nfs/Makefile: compile cacheio.c
509 * support/include/nfslib.h: declare cacheio.c functions
510 * support/nfs/nfsexport.c: export and unexport through
511 /proc/rpc/*/channel if possible, as old syscall interface
512 may not survive into 2.6 on all architectures.
514 2003-02-19 NeilBrown <neilb@cse.unsw.edu.au>
515 Ben Leslie <benno@sesgroup.net>
517 * support/nfs/rpcmisc.c(rpc_init): change test for ignoring
518 "defport" from (__rpcfdtype == 0) to (__rpcpmstart==0). The
519 former would incorectly ignore defport if the application
520 explicitly set __rpcfdtype. The later is sufficient to avoid the
521 special handling in the case where stdin is an internet socket.
523 * utils/mountd/mountd.c(main): Add 'n' to option list in
524 getopt_long as this is a short form of --no-tcp which want being
527 2003-02-12 Chip Salzenberg <chip@pobox.com>
529 * debian/changelog: Version 1.0.2-2.
531 2002-11-27 Chip Salzenberg <chip@pobox.com>
533 * utils/mountd/rmtab.c (slink_safe_rename): Fix off-by-one buffer
534 overflow bug. Reformat per rest of source file.
536 2002-11-19 NeilBrown <neilb@cse.unsw.edu.au>
538 * utils/exportfs/exports.man: Correct notes about whether the wild
539 card characters match a period. They do.
541 2002-10-15 Juan Gomez <juang@us.ibm.com>
543 * utils/mountd/rmtab.c (slink_safe_rename): New. Support
545 (mountlist_add): Call slink_safe_rename instead of rename.
547 2002-10-11 H.J. Lu <hjl@lucon.org>
549 * support/include/exportfs.h (export_errno): New.
551 * support/nfs/exports.c: Include <errno.h>.
553 (getexportent): Set export_errno to EINVAL for bad option.
554 (parseopts): Likewise.
555 Report the location of the default sync/async option.
557 * utils/exportfs/exportfs.c (main): Initialize export_errno to
558 0. Return export_errno.
560 2002-10-11 Juan Gomez <gomez@cs.sjsu.edu>
561 NeilBrown <neilb@cse.unsw.edu.au>
563 utils/statd/statd.c(killer): don't pmap_unset if in notify_only mode
564 utils/statd/statd.c(main): don't pmap_unset if in notify_only mode
566 2002-09-16 Chip Salzenberg <chip@pobox.com>
568 * utils/rquotad/rquota_svc.c (main): Use int for value of getopt.
570 2002-09-15 Chip Salzenberg <chip@pobox.com>
572 * support/nfs/rpcmisc.c (rpc_init): Allow stdin to be a non-INET
573 socket, as occurs when run from sshd.
574 * debian/changelog: Version 1.0.2-1.
576 2002-09-12 H.J. Lu <hjl@lucon.org>
578 * support/nfs/svc_socket.c: Remove HAVE_SVCTCP_SOCKET and
581 2002-09-12 H.J. Lu <hjl@lucon.org>
583 * configure.in: Remove checking svctcp_socket and svcudp_socket.
584 * configure: Regenerated.
586 * support/include/config.h.in (HAVE_SVCTCP_SOCKET): Removed.
587 (HAVE_SVCUDP_SOCKET): Removed.
589 * support/include/nfslib.h: Undo the last change.
591 2002-09-12 H.J. Lu <hjl@lucon.org>
593 * support/include/nfslib.h (svctcp_socket): Protect it with
595 (svcudp_socket): Protect it with HAVE_SVCUDP_SOCKET.
597 2002-09-12 H.J. Lu <hjl@lucon.org>
599 * configure.in (VERSION): Set to "1.0.2".
600 * configure: Regenerated.
601 * nfs-utils.spec: Likewise.
603 2002-09-12 H.J. Lu <hjl@lucon.org>
605 * configure.in: Check svctcp_socket and svcudp_socket.
606 * configure: Regenerated.
608 * support/include/config.h.in (HAVE_SVCTCP_SOCKET): New.
609 (HAVE_SVCUDP_SOCKET): New.
611 * support/include/nfslib.h (svctcp_socket): New.
612 (svcudp_socket): New.
614 * support/nfs/Makefile (OBJS): Add svc_socket.o.
616 * support/nfs/svc_socket.c: New.
618 * support/nfs/rpcmisc.c (rpc_init): Call svctcp_socket and
619 svcudp_socket if port is unspecified.
621 * utils/nfsd/nfsd.c (main): Call getservbyname for port.
623 * utils/rquotad/rquota_svc.c: Include <nfslib.h>.
624 (killer): New. Signal handler to unregister.
625 (main): Use killer. Call svcudp_socket to get the default
628 2002-09-02 Juan Gomez <juang@us.ibm.com>
629 NeilBrown <neilb@cse.unsw.edu.au>
631 Add -N option to statd to run in notify-only mode.
633 * utils/statd/statd.h: uncomment MODE_NOTIFY_ONLY
634 * utils/statd/statd.man: document -N
635 * utils/statd/statd.c: enabled -N, largely exists but needed to be
636 uncommented and completed
638 2002-09-02 Juan Gomez <juang@us.ibm.com>
639 NeilBrown <neilb@cse.unsw.edu.au>
641 statd to have " -P directory" arg to use that directory instead
642 of /var/lib/nfs. This is useful for fail-over clusters.
644 * utils/statd/statd.h: define SM_DIR etc as var, not const.
645 * utils/statd/statd.c: define "-P" option to set SM_*
647 * utils/statd/monitor.c: sprintf to cope with SM_DIR not being
649 * utils/statd/notify.c: ditto.
650 * utils/statd/statd.man: document -P option.
652 2002-08-26 Chip Salzenberg <chip@pobox.com>
654 * utils/nfsd/nfsd.man: Fix typo.
655 * debian/changelog: Version 1.0.1-1.
657 2002-05-29 NeilBrown <neilb@cse.unsw.edu.au>
659 * let parseopts know if /etc/exports was being read or not,
660 and have it only print "no sync or async" warning in that case.
662 2002-05-06 Tom McNeal <trmcneal@attbi.com>
663 NeilBrown <neilb@cse.unsw.edu.au>
665 * utils/nfsstat/nfsstat.c: Handle differing format for
666 /proc/net/rpc/nfsd between pre and post 2.4.0
668 2002-04-09 NeilBrown <neilb@cse.unsw.edu.au>
669 James Pearson <james-p@moving-picture.com>
671 * support/nfs/rmtab.c(fendrmtabent): sync changes to
672 storage before returning, as this is critical state
674 2002-04-08 Sean O'Connell <sean@ee.duke.edu>
675 H.J. Lu <hjl@lucon.org>
677 * etc/redhat/nfs: New.
679 2002-04-08 H.J. Lu <hjl@lucon.org>
681 * etc/redhat/nfs.init: Updated.
683 * nfs-utils.spec.in: Updated.
684 * nfs-utils.spec: Regenerated.
686 * utils/mountd/mountd.c (longopts): Fix a typo.
688 * utils/mountd/mountd.man: Updated.
690 2002-04-07 H.J. Lu <hjl@lucon.org>
692 * etc/redhat/nfslock.init (restart): Just do stop and start.
694 * etc/redhat/nfs.init: Fix a typo.
696 2002-04-07 H.J. Lu <hjl@lucon.org>
698 * configure.in (VERSION): Set to "1.0.1".
699 * configure: Regenerated.
700 * nfs-utils.spec: Likewise.
702 * README: Updated for 1.0.1.
704 2002-04-07 Sean O'Connell <sean@ee.duke.edu>
705 H.J. Lu <hjl@lucon.org>
707 * etc/redhat/nfs.init: Read /etc/sysconfig/nfsd for NFS tuning.
709 2002-02-28 Steven Whitehouse <steve@gw.chygwyn.com>
710 NeilBrown <neilb@cse.unsw.edu.au>
712 Add support for fsid=nn export option so that device
713 numbers don't go in filehandles.
714 * support/export/nfsctl.c(expsetup): if exporting and NFSEXP_FSID
715 is set, pass the fsid in-place of the device number
716 * support/nfs/exports.c: parse and print fsid= option.
717 Also check if efname has been set, and use "command line"
718 instead in error messages.
719 Also, use strtol instead of atoi for anon[ug]id= so that
720 bad numbers cause errors.
722 2002-01-17 Adrian Drzewiecki <drze@MissionCriticalLinux.com>
723 NeilBrown <neilb@cse.unsw.edu.au>
725 * support/nfs/exports.c: remove NFSEXP_ASYNC as a default
726 flag so that "sync" becomes the default.
727 Check that either "sync" or "async" is given as an option
728 and warn if neither are present
729 * utils/exportfs/exports.man: change documentation for "sync"
730 to be documentation for "async".
731 * utils/exportfs/exportfs.man: note that "sync" is the default
735 2002-01-02 Chip Salzenberg <chip@pobox.com>
737 * support/export/nfsctl.c (expsetup): Don't export entries that
738 specify id mappings not supported by the kernel. No extant kernel
739 supports any significant mapping, only 'identity' (i.e. none).
740 When other mappings are supported, this code will need changing.
741 * debian/changelog: Version 1.0-2.
743 2001-12-26 Chip Salzenberg <chip@pobox.com>
745 * nfs-utils.spec (Version): Set to "1.0".
746 * configure.in (VERSION): Likewise.
747 * configure: Regenerated.
749 * debian/changelog: Version 1.0-1.
751 * utils/exportfs/exports.man: Emphasize the need for options to
752 immediately follow client names. Explain that wildcards don't
753 usually work on addresses, but may work when reverse DNS fails.
754 Comment out a leftover TP that was TPing our indentation.
755 * utils/mountd/mountd.man, utils/rquotad/rquotad.man,
756 utils/statd/statd.man: Remove refs to non-existent "hosts_allow(5)".
757 * debian/changelog: Version 0.3.3-6.
759 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
761 * support/export/client.c(client_lookup): If a host has multiple
762 IP addresses, then we must always use the result of a
763 gethostbyname, not that of gethostbyaddr for exporting
765 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
767 * support/export/client.c (client_lookup): use strcasecmp when
769 * support/nfs/export.c (getexportent): add fromkernel arg and use
770 different defaults as kernels prior to 2.4.11 assume different
771 defaults in /proc/fs/nfs/exports
772 * support/include/nfslib.h, support/export/export.c,
773 support/export/xtab.c: support extra "fromkernel" arg for
776 2001-12-13 Chip Salzenberg <chip@pobox.com>
778 * debian/changelog: Version 0.3.3-5.
780 2001-11-26 TAKAI Kousuke <takai@vlsi.kuee.kyoto-u.ac.jp>
782 * support/nfs/xio.c (xskip): Call `xungetc' instead of
783 `ungetc' to keep x_line more properly.
785 2001-11-26 Chip Salzenberg <chip@pobox.com>
787 * utils/showmount/showmount.c (main): Don't assume that strings
788 starting with digits are IP addresses.
789 * utils/nfsd/nfsd.c (main): Close all fds and reopen 0,1,2 on
790 /dev/null before nfssvc(). Use syslog to report nfssvc errors.
791 * support/misc/tcpwrapper.c, utils/mountd/mountd.man,
792 utils/rquotad/rquotad.man, utils/statd/statd.man: Fix comments and
793 man pages: We check host names *and* addresses with tcpwrappers.
794 * debian/changelog: Version 0.3.3-4.
796 2001-11-21 Chip Salzenberg <chip@pobox.com>
798 * support/nfs/clients.c (cfname): Added: current clients file name.
799 (setnfsclntent): Set it.
800 ({get,end}nfsclntent, syntaxerr): Use it.
801 * support/nfs/exports.c (efname): Added: current exports file name.
802 (setnfsexportent): Set it.
803 (endnfsexportent, parseopts, getexport, syntaxerr): Use it.
804 (parseopts): Accept old-style "crossmnt" option, for old xtabs.
805 * debian/changelog: Version 0.3.3-3.
807 2001-10-11 Chip Salzenberg <chip@pobox.com>
809 * utils/mountd/mountd.c (main): Close fds > 2 _before_ RPC init.
810 * debian/changelog: Version 0.3.3-2.
812 2001-10-08 Chip Salzenberg <chip@pobox.com>
814 * utils/mountd/mountd.c (main): When daemonizing, close all fds > 2.
815 * utils/Makefile.in: Remove old Makefile in target 'distclean'.
816 * utils/mountd/mountd.man: Update paths to /var/lib.
817 * debian/*: Version 0.3.3-1, with Debian-specific fixes.
819 2001-10-06 Preston Brown <pbrown@redhat.com>
821 * utils/nfsstat/nfsstat.man: Updated.
823 2001-09-24 H.J. Lu <hjl@lucon.org>
825 * configure.in (VERSION): Set to "0.3.3".
826 * configure: Regenerated.
827 * nfs-utils.spec: Likewise.
829 * README: Updated for 0.3.3.
831 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
833 Arrange that "exportfs -au" never does DNS lookup:
835 * support/export/client.c (client_lookup) : add "canonical"
836 flag which says that the hostname is known to be canonical, so
839 * support/export/export.c (export_create) : add "canonical"
840 flag to be passed down to client_lookup
841 * support/export/export.c (export_lookup) : Likewise
843 * support/export/xtab.c (xtab_read) : pass appropriate
844 "canonical" flag to export_lookup and export_create:
845 set if reading list of filesystems currently exports
848 * support/export/export.c (export_read) : pass 0 as
849 "canonical" flag to export_lookup and export_create
850 * support/export/rmtab.s (rmtab_read) : Likewise
852 * support/include/exportfs.h : redeclare various routines
853 to have "canonical" flag
855 * utils/exportfs/exportfs.c (main) : redo logic for
856 "-au" to read in what is currently exported, but never even
857 look at what "should" be exported.
859 * utils/exportfs/exportfs.c (unexportall) : remove this
860 routine. Functionality is completely included in
863 * utils/exportfs/exportfs.c (exportfs) : set "canonical"
864 flag to zero in calls to export_lookup and export_create.
867 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
868 Anne Milicia <milicia@missioncriticallinux.com>
870 * support/export/client.c (client_lookup) call gethostbyadd
871 to make sure that we have a canonical hostname, even for
873 * utils/exportfs/exportfs.c (exportfs) Likewise
875 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
877 * support/nfs/exports.c (putexportent): \octal quote any spaces
879 * support/nfs/xio.c (xgettok): recognise double-quote and
880 \octal quoting in path names
881 * utils/exportfs/exports.man: document quoting conventions
884 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
886 * utils/mountd/auth.c (auth_authenticate_internal): Reverse
887 change from 2000-08-02: It causes problems if someone exports
888 to both a hostname and IP addresses. nfs-utils must be
889 consistant about the canonical name that it chooses.
891 2001-08-17 Ragnar Kjørstad <nfs@ragnark.vestdata.no>
892 H.J. Lu <hjl@lucon.org>
894 * etc/redhat/nfslock.init (STATDARG): New. Pass it to rpc.statd.
896 * utils/statd/statd.c (longopts): Add "name".
897 (usage): Add "-n/--name".
898 (main): Set MY_NAME with "-n/--name".
900 * utils/statd/state.c (change_state): Set MY_NAME only if it
903 * utils/statd/statd.man: Updated for "-n/--name".
905 2001-07-26 H.J. Lu <hjl@lucon.org>
907 * nfs-utils.spec (Release): Set to 8.
909 2001-07-25 H.J. Lu <hjl@lucon.org>
911 * etc/redhat/nfs.init: Check if rpc.rquotad exists before doing
914 2001-06-27 H.J. Lu <hjl@lucon.org>
916 * etc/redhat/nfs.init: Run rpc.rquotad only if it exists.
918 2001-06-27 H.J. Lu <hjl@lucon.org>
920 * utils/rquotad/rquota_server.c: Don't call statfs () for
921 the block size. Use BLOCK_SIZE instead.
923 2001-06-27 H.J. Lu <hjl@lucon.org>
925 * config.mk.in (CC_FOR_BUILD): Renamed from BUILD_CC.
926 (CFLAGS_FOR_BUILD): New. Don't use @CFLAGS@.
928 * configure.in (enable_nfsv3): Set to yes by default.
929 (--enable-rquotad): Added
930 (AC_PROG_CXX): Removed.
931 (AC_OUTPUT): Add utils/Makefile.
932 (CC_FOR_BUILD): Renamed from BUILD_CC.
933 * configure: Regenerated.
935 * utils/Makefile: Removed.
937 * utils/Makefile.in: New.
939 * nfs-utils.spec.in (rquotad): New. Set to 0 to disable
941 (CC_FOR_BUILD): Renamed from BUILD_CC.
942 * nfs-utils.spec: Regenerated.
944 2001-06-15 Chip Salzenberg <chip@debian.org>
946 * debian/changelog: Version 0.3.2-2.
947 * debian/*.init: Minor fixes.
949 2001-06-07 Lon H. Hohberger <hohberger@missioncriticallinux.com>
951 * etc/nodist/nfs-server: Fixed a bug where the script would
952 disable mounts from NFSv3 clients if NFSv3 is present.
954 2001-06-05 H.J. Lu <hjl@lucon.org>
956 * utils/mountd/mountd.c (longopts): Add "descriptors/o".
957 (main): Support --descriptors/-o to set the limit of the number
958 of open file descriptors.
961 * utils/mountd/mountd.man: Updated for --descriptors/-o.
963 2001-06-04 H.J. Lu <hjl@lucon.org>
965 * nfs-utils.spec (Release): Set to 6.
967 2001-05-28 H.J. Lu <hjl@lucon.org>
969 * utils/lockd/lockd.c (main): chdir to NFS_STATEDIR.
970 * utils/mountd/mountd.c (main): Likewise.
971 * utils/nfsd/nfsd.c (main): Likewise.
972 * utils/rquotad/rquota_svc.c (main): Likewise.
974 2001-05-06 Anne Milicia <milicia@missioncriticallinux.com>
976 * support/export/client.c (client_check): Check IP address
979 2001-05-06 Neil Brown <neilb@cse.unsw.edu.au>
981 * support/export/client.c (client_gettype): Treat `*' as
984 2001-04-22 H.J. Lu <hjl@lucon.org>
986 * nfs-utils.spec.in: Fix a typo.
987 * nfs-utils.spec: Regenerated.
989 2001-04-21 H.J. Lu <hjl@lucon.org>
991 * nfs-utils.spec.in: Fix cross build.
992 * nfs-utils.spec: Regenerated.
995 2001-04-18 H.J. Lu <hjl@lucon.org>
997 * nfs-utils.spec.in: Support cross build.
998 * nfs-utils.spec: Regenerated.
1002 * config.guess: New.
1004 * config.mk.in (BUILD_CC): New.
1005 (CC): Set to $(BUILD_CC) if BUILD is defined.
1008 (RANLIB): Set to @RANLIB@.
1010 * configure.in: Check BUILD_CC, RANLIB, AR and LD.
1011 * configure: Regenerated.
1013 * tools/rpcgen/Makefile (BUILD): Set to true.
1015 2001-04-01 Chip Salzenberg <chip@valinux.com>
1017 * tools/rpcgen/rpc_svcout.c (write_timeout_func): Remove
1018 redundant, and sometimes broken, declaration of svc_fdset;
1020 * support/nfs/rpcmisc.c (closedown): Likewise.
1022 2001-03-21 H.J. Lu <hjl@lucon.org>
1024 * nfs-utils.spec: Regenerated.
1025 (Release): Set to 3.
1027 2001-03-21 Ion Badulescu <ionut@cs.columbia.edu>
1029 * utils/statd/statd.c (main): make sure file descriptors 0-2
1030 are open to /dev/null.
1032 2001-03-21 H.J. Lu <hjl@lucon.org>
1034 * support/nfs/rpcmisc.c: Restore the change made on 2001-03-10.
1035 * support/nfs/rpcmisc.c: Likewise.
1036 * utils/rquotad/rquota_svc.c: Likewise.
1037 * utils/rquotad/rquotad.man: Likewise.
1038 * utils/statd/Makefile: Likewise.
1039 * utils/statd/rmtcall.c: Likewise.
1040 * utils/statd/simulate.c: Likewise.
1041 * utils/statd/statd.c: Likewise.
1042 * utils/statd/statd.man: Likewise.
1044 2001-03-11 H.J. Lu <hjl@lucon.org>
1046 * configure.in (RELEASE): New. Default to 1, set by
1047 --with-release=XXX. Substitute nfs-utils.spec.
1048 * nfs-utils.spec.in (Release): Set to @RELEASE@.
1049 * configure: Regenerated.
1050 * nfs-utils.spec: Likewise.
1052 2001-03-11 H.J. Lu <hjl@lucon.org>
1054 * utils/rquotad/rquotad.man: Fix a typo.
1056 2001-03-11 H.J. Lu <hjl@lucon.org>
1058 * support/include/rpcmisc.h: Undo the change made on 2001-03-10.
1059 * support/nfs/rpcmisc.c: Likewise.
1060 * utils/rquotad/rquota_svc.c: Likewise.
1061 * utils/rquotad/rquotad.man: Likewise.
1062 * utils/statd/Makefile: Likewise.
1063 * utils/statd/rmtcall.c: Likewise.
1064 * utils/statd/simulate.c: Likewise.
1065 * utils/statd/statd.c: Likewise.
1066 * utils/statd/statd.man: Likewise.
1068 2001-03-10 H.J. Lu <hjl@lucon.org>
1070 * configure.in (VERSION): Set to "0.3.2".
1071 * configure: Regenerated.
1072 * nfs-utils.spec: Likewise.
1074 * README: Updated for 0.3.2.
1076 2001-03-10 Tavis Barr <tavis@boole.isetr.columbia.edu>
1078 * utils/rquotad/rquotad.man: Updated for -p.
1079 * utils/statd/statd.man: Likewise.
1081 2001-03-10 Ion Badulescu <ionut@cs.columbia.edu>
1083 * support/nfs/rpcmisc.c: export makesock()
1085 * support/include/rpcmisc.h (makesock): Declared.
1087 * utils/rquotad/rquota_svc.c: added longopts, added support for
1088 specifying the port to bind to on the command line.
1090 * utils/statd/statd.c: ditto, also specify port used for
1091 outgoing connections.
1092 (do_regist): Removed.
1094 * utils/statd/rmtcall.c (statd_get_socket): Renamed from
1095 get_socket. Make it extern.
1097 * utils/statd/simulate.c (daemon_simulator): Call rpc_init
1098 instead of do_regist.
1100 * utils/statd/Makefile (LIBS): link with our own libnfs
1102 2001-03-09 H.J. Lu <hjl@lucon.org>
1104 * etc/redhat/nfslock.init: Changed chkconfig line to 60 86.
1105 * etc/nodist/nfs-client: Likewise.
1107 2001-02-26 Chip Salzenberg <chip@valinux.com>
1109 * debian/changelog: Version 0.3.1-1.
1110 * Mention upstream source and license in copyright file.
1111 * Add build-Depends for debhelper and libwrap0-dev.
1113 2001-02-20 Lon Hohberger <hohberger@missioncriticallinux.com>
1115 * etc/nodist/nfs-server: Changed chkconfig line to 60 20
1116 * etc/nodist/nfs-client: Likewise.
1118 2001-02-18 Lon Hohberger <hohberger@missioncriticallinux.com>
1120 * utils/statd/statd.man: Changed /usr/sbin/rpc.statd to
1123 2001-02-17 Patrick J. LoPresti <patl@curl.com>
1125 * utils/statd/log.c (log_init): Use LOG_DAEMON instead of
1128 2001-02-14 H.J. Lu <hjl@lucon.org>
1130 * utils/statd/rmtcall.c: Include <time.h>.
1131 * utils/statd/svc_run.c: Likewise.
1133 2001-02-14 H.J. Lu <hjl@lucon.org>
1135 * configure.in (VERSION): Set to "0.3.1".
1136 * configure: Regenerated.
1137 * nfs-utils.spec: Likewise.
1139 * README: Updated for 0.3.1.
1141 2001-02-14 H.J. Lu <hjl@lucon.org>
1143 * support/nfs/rpcmisc.c: Include <time.h>.
1145 2001-02-14 Chip Salzenberg <chip@valinux.com>
1147 * debian/control: Change priority of nhfsstone package to 'extra'.
1149 2001-02-12 Chip Salzenberg <chip@valinux.com>
1151 * debian/changelog: Version 0.3-2.
1153 2001-02-02 H.J. Lu <hjl@lucon.org>
1155 * support/include/rpcmisc.h (rpc_init): Remove bufsize.
1157 * support/nfs/rpcmisc.c (makesock): Remove socksz and comment
1158 out SO_SNDBUF/SO_RCVBUF.
1159 (rpc_init): Remove bufsize and remove socksz in calls to
1162 * utils/mountd/mountd.c (main): Remove bufsize in calls to
1165 2001-01-28 Chip Salzenberg <chip@valinux.com>
1167 * debian/changelog: Version 0.3-1.
1169 2001-01-25 H.J. Lu <hjl@lucon.org>
1171 * configure.in (VERSION): Set to "0.3".
1172 * configure: Regenerated.
1173 * nfs-utils.spec: Likewise.
1175 * README: Updated for 0.3.
1177 2001-01-25 H.J. Lu <hjl@lucon.org>
1179 * utils/lockd/lockd.c (main): Ignore errno == EINVAL.
1181 2001-01-20 Chip Salzenberg <chip@valinux.com>
1183 * support/include/xio.h (xgetc): Declare to return int.
1184 * support/nfs/xio.c (xgetc): Return int.
1185 (xgettok, xskip, xskipcomment): Use int for value of xgetc.
1186 * utils/statd/statd.c (main): Use int for value of getopt.
1187 * debian/changelog: Version 0.2.1-5.
1189 2000-12-10 Chip Salzenberg <chip@valinux.com>
1191 * utils/statd/monitor.c (sm_mon_1_svc): Fix buggy check for
1192 program and procedure numbers of kernel lockd's callback. Also,
1193 besides the old (and broken) procedure #24, allow #16 per Trond.
1195 2000-12-03 Chip Salzenberg <chip@valinux.com>
1197 * support/nfs/xio.c (xfopen): Initialize x_line to one, not zero.
1198 * debian/control: Let nhfsstone replace files in nfs-kernel-server.
1199 * debian/changelog: Version 0.2.1-4.
1201 2000-11-27 Tobias Ringstrom <tori@tellus.mine.nu>
1203 * utils/mountd/auth.c (auth_authenticate): Log the bad path
1206 2000-11-24 Neil Brown <neilb@cse.unsw.edu.au>
1208 * support/nfs/exports.c (getexportent): Check for host name
1209 without option, or options without hostname, and print a warning,
1210 as this is most likely a typo.
1212 2000-11-19 Chip Salzenberg <chip@valinux.com>
1214 * debian/control: Add dependency on portmap.
1215 * debian/changelog: Version 0.2.1-3.
1217 2000-11-10 H.J. Lu <hjl@lucon.org>
1219 * nfs-utils.spec.in: Don't use libtool.
1220 Add ChangeLog and COPYING to doc.
1221 * nfs-utils.spec: Rebuild.
1223 2000-11-09 H.J. Lu <hjl@lucon.org>
1225 * etc/redhat/nfs.init (start): Back out the last change.
1227 2000-11-09 H.J. Lu <hjl@lucon.org>
1229 * etc/redhat/nfs.init (start): Pass --no-tcp to mountd if
1230 TCP is not supported by kernel.
1232 * support/nfs/rpcmisc.c (rpc_init): Don't set _rpcfdtype to 0.
1234 * utils/mountd/mountd.c (longopts): Add "-n/--no-tcp".
1235 (main): Set to _rpcfdtype to SOCK_DGRAM for "-n/--no-tcp".
1237 * utils/mountd/mountd.man: Updated for "-n/--no-tcp".
1239 2000-10-24 Lon Hohberger <hohberger@missioncriticallinux.com>
1241 * utils/statd/callback.c: Fix bug preventing callbacks to local lockd.
1242 * utils/statd/rmtcall.c: Add some IP address paranoia when doing
1243 callbacks to local lockd.
1245 2000-10-18 Scott McDermott <mcdermot@questra.com>
1247 * utils/exportfs/exports.man: Updated for CIDR netmask.
1249 2000-10-17 Scott McDermott <mcdermot@questra.com>
1251 * support/export/client.c (client_init): Support CIDR netmask
1254 2000-10-11 H.J. Lu <hjl@lucon.org>
1256 * aclocal.m4 (AC_TCP_WRAPPER): Fix a typo.
1257 * configure: Rebuilt.
1259 2000-10-06 Lon Hohberger <hohberger@missioncriticallinux.com>
1261 * utils/statd/statd.man: Change "/var/lib/nfs/sm/state" to
1262 "/var/lib/nfs/state".
1264 2000-10-05 Lon Hohberger <hohberger@missioncriticallinux.com>
1266 * utils/statd/statd.h (run_mode): New global bitmask of runtime
1267 behaviors: fg/bg, logging, etc.
1268 * utils/statd/statd.c: New command line options: -V -h -? -d .
1269 * utils/statd/statd.man: Update for changes to statd.
1271 * utils/statd/log.h (log_init): Remove parameter of function; use
1272 global variable "name_p" instead.
1273 * utils/statd/log.c: Add support for logging to stderr.
1275 * utils/statd/notlist.c: Partially rewrite notify list handling
1276 functions. Eliminate run-off-end-of-list bug when calling
1277 nlist_insert_timer. Add lots of comments.
1279 2000-09-27 H.J. Lu <hjl@lucon.org>
1281 * README: Updated for RedHat 7.0.
1283 2000-09-27 H.J. Lu <hjl@lucon.org>
1285 * nfs-utils.spec: Rebuild.
1287 2000-09-27 H.J. Lu <hjl@lucon.org>
1289 * README: Updated for 0.2.1.
1291 2000-09-27 H.J. Lu <hjl@lucon.org>
1293 * nfs-utils.spec.in: Updated to use rpm macros and support
1296 2000-09-25 H.J. Lu <hjl@lucon.org>
1298 * configure.in (VERSION): Set to "0.2.1".
1299 * configure: Regenerated.
1300 * nfs-utils.spec: Updated.
1302 2000-09-25 H.J. Lu <hjl@lucon.org>
1304 * utils/mountd/auth.c (auth_authenticate_internal): Make sure a
1305 non-NULL hostent is always returned.
1307 2000-09-11 Ion Badulescu <ionut@cs.columbia.edu>
1309 * etc/redhat/nfslock.init: don't kill lockd processes that do not
1310 have an executable (i.e. kernel threads)
1312 2000-09-01 H.J. Lu <hjl@lucon.org>
1314 * README: Updated for 0.2.
1316 2000-09-01 Jay Weber <jweber@valinux.com>
1318 * etc/redhat/nfs.init: Added ability for rpc.mountd to default to
1319 supporting version 3 of nfs if available, else it will fall back to
1320 version 2 support only.
1322 2000-08-30 H.J. Lu <hjl@lucon.org>
1324 * configure.in (VERSION): Set to "0.2".
1325 * configure: Regenerated.
1326 * nfs-utils.spec: Updated.
1328 2000-08-25 H.J. Lu <hjl@lucon.org>
1330 * support/misc/tcpwrapper.c (logit): Modify the log output.
1332 2000-08-25 Ion Badulescu <ionut@cs.columbia.edu>
1334 * utils/rquotad/rquotad.man, utils/statd/statd.man,
1335 utils/mountd/mountd.man: updated
1337 * utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL)
1338 * utils/rquotad/Makefile: fix comment
1340 * support/misc/tcpwrapper.c (logit): added comment about waiting
1341 for the children after fork()
1343 * utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving
1344 zombies behind (from logit()'s fork)
1345 * utils/rquotad/rquota_svc.c (main): ditto
1346 * utils/statd/statd.c (main): ditto
1348 * utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG
1349 to check_default instead of 0, for prognum
1351 * utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG
1352 to check_default instead of 0, for prognum
1354 * utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if
1355 HAVE_TCP_WRAPPER is defined.
1356 (mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is
1357 defined. Reject an RPC call if check_default () fails.
1359 2000-08-25 H.J. Lu <hjl@lucon.org>
1361 * support/include/tcpwrapper.h: New for the tcp wrapper
1363 * support/misc/Makefile: Likewise.
1364 * support/misc/from_local.c: Likewise.
1365 * support/misc/tcpwrapper.c: Likewise.
1367 * aclocal.m4 (AC_TCP_WRAPPER): New.
1368 * configure.in: Use it. Substitute LIBWRAP.
1369 * configure: Rebuilt.
1371 * config.mk.in (LIBNSL): New.
1372 (LIBWRAP): Likewise.
1374 * support/Makefile (SUBDIRS): Add misc.
1376 * support/lib/Makefile (LIBS): Add libmisc.a.
1378 * utils/rquotad/Makefile (LIBS): Add
1380 -lmisc $(LIBWRAP) $(LIBNSL)
1382 * utils/statd/Makefile (LIBS): Likewise.
1384 * utils/rquotad/rquota_svc.c: Include "tcpwrapper.h" if
1385 HAVE_TCP_WRAPPER is defined.
1386 (rquotaprog_1): Call check_default () if HAVE_TCP_WRAPPER is
1387 defined. Reject an RPC call if check_default () fails.
1389 * utils/statd/statd.c: Include "tcpwrapper.h" if
1390 HAVE_TCP_WRAPPER is defined.
1391 (sm_prog_1_wrapper): New. A wrapper for sm_prog_1. Call
1392 check_default () before calling sm_prog_1 (). Define it as
1393 sm_prog_1_wrapper if HAVE_TCP_WRAPPER is defined.
1395 2000-08-25 Chip Salzenberg <chip@valinux.com>
1397 * debian/*: Complete Debian build support.
1398 * etc/debian/*: Remove.
1400 2000-08-24 Neil Brown <neilb@cse.unsw.edu.au>
1402 * support/export/client.c(client_check): removed the "dot+1" as a
1403 ypdomain argument to innetgr as this is entirely bogus.
1404 It should always be NULL.
1406 2000-08-23 Neil Brown <neilb@cse.unsw.edu.au>
1408 * support/export/xtab.c(xtab_read): introduce new mode for
1409 reading xtab. i.e. a list of exports that might be known to the
1410 kernel, or might not. These are flagged as m_exported == -1
1411 * support/export/xtab.c(xtab_mount_read): call xtab_read with new
1412 value "2" for xtab, meaning don't trust this too much.
1413 * support/include/exportfs.h(struct mexport): changed m_exported
1414 from one bit to an int so that it can hold new value
1415 * utils/exportfs/exportfs.c(exportfs_ipdate): add an export to the
1416 kernel if it is uncertain whether the kernel knows (m_exported == -1)
1417 * utils/mountd/mountd.c(get_rootfh): similarly export to kernel if
1420 * support/nfs/xio.c(xflock): added O_CREAT when getting
1421 a write lock so that missing files aren't fatal.
1423 * etc/debian/nfs-common: new file from "potato"
1424 * etc/debian/nfs-kernel-server: new file from "potato" plus fixes.
1426 2000-08-09 H.J. Lu <hjl@lucon.org>
1428 * etc/redhat/nfs.init: Run /usr/sbin/exportfs first during
1429 startup to ensure all existing clients work fine.
1431 * support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0
1432 to xtab_read () for reading _PATH_XTAB.
1434 2000-08-02 H.J. Lu <hjl@lucon.org>
1436 * utils/mountd/auth.c (auth_authenticate_internal): Try to
1437 avoid the reverse name lookup.
1439 2000-07-04 H.J. Lu <hjl@lucon.org>
1441 * utils/statd/log.c: Include <stdlib.h> for exit ().
1443 * utils/statd/misc.c (xunlink): Add `{' and `}' to quiet the
1446 2000-07-04 H.J. Lu <hjl@lucon.org>
1448 * configure.in (VERSION): Set to "0.1.9.1".
1449 * configure: Regenerated.
1450 * nfs-utils.spec: Updated.
1454 2000-07-04 Neil Brown <neilb@cse.unsw.edu.au>
1456 * support/export/hostname.c (hostent_dup): Handle the NULL
1459 2000-07-03 H.J. Lu <hjl@lucon.org>
1461 * README: Update the util-linux requirement.
1463 2000-07-03 H.J. Lu <hjl@lucon.org>
1465 * configure.in (VERSION): Set to "0.1.9".
1466 * configure: Regenerated.
1467 * nfs-utils.spec: Updated.
1471 2000-07-03 H.J. Lu <hjl@lucon.org>
1473 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
1474 stop to ensure all clients can still access the server
1475 before it is shutdown.
1477 2000-06-30 Jeff Uphoff <juphoff@transmeta.com>
1479 * tools/rpcgen/rpc_svcout.c (write_msg_out): Generate syslog()
1480 calls with format string.
1482 2000-06-28 Chip Salzenberg <chip@valinux.com>
1484 * utils/statd/log.c (log): Call syslog with format string.
1486 2000-06-27 H.J. Lu <hjl@lucon.org>
1488 * utils/statd/statd.c (main): Use sysconf (_SC_OPEN_MAX)
1489 instead of OPEN_MAX.
1491 2000-06-27 H.J. Lu <hjl@lucon.org>
1495 2000-06-27 H.J. Lu <hjl@lucon.org>
1497 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
1498 startup to ensure all existing clients are exported.
1500 * configure.in (VERSION): Set to "0.1.8.2".
1501 * configure: Regenerated.
1502 * nfs-utils.spec: Updated.
1504 2000-06-06 H.J. Lu <hjl@lucon.org>
1506 * configure.in (VERSION): Set to "0.1.8.1".
1507 * configure: Regenerated.
1508 * nfs-utils.spec: Updated.
1510 2000-06-06 H.J. Lu <hjl@lucon.org>
1512 * utils/mountd/mountd.c (mount_dump_1_svc): Cast svc_getcaller
1513 to "struct sockaddr_in *" for glibc 2.2.
1514 (mount_umnt_1_svc): Likewise.
1515 (mount_umntall_1_svc): Likewise.
1516 (mount_export_1_svc): Likewise.
1517 (mount_exportall_1_svc): Likewise.
1518 (mount_pathconf_2_svc): Likewise.
1519 (get_rootfh): Likewise.
1521 2000-06-04 H.J. Lu <hjl@lucon.org>
1523 * etc/redhat/nfs.init: Fix a typo in comment.
1525 2000-05-31 H.J. Lu <hjl@lucon.org>
1527 * configure.in (VERSION): Set to "0.1.8".
1528 * configure: Regenerated.
1529 * nfs-utils.spec: Updated.
1533 2000-05-31 H.J. Lu <hjl@lucon.org>
1535 * configure.in (VERSION): Set to "0.1.7.5".
1536 * configure: Regenerated.
1537 * nfs-utils.spec: Updated.
1539 * support/include/nfslib.h (exportent): Add a new field,
1540 r_count, to count the number of mounts from a client.
1541 (getrmtabent): Take a new argument for position in file.
1542 (putrmtabent): Likewise.
1543 (fgetrmtabent): Likewise.
1544 (fputrmtabent): Likewise.
1545 * support/nfs/rmtab.c (getrmtabent): Handle the new argument
1546 for position in file.
1547 (fgetrmtabent): Likewise.
1548 (putrmtabent): Likewise.
1549 (fputrmtabent): Likewise.
1551 * support/nfs/rmtab.c (fgetrmtabent): Get value for the new
1554 * support/export/rmtab.c (rmtab_read): Pass NULL as the new
1555 argument to getrmtabent (), fgetrmtabent (), putrmtabent ()
1556 and fputrmtabent ().
1557 * utils/mountd/rmtab.c (mountlist_add): Likewise.
1558 (mountlist_del): Likewise.
1559 (mountlist_del_all): Likewise.
1560 (mountlist_list): Likewise.
1562 * utils/mountd/rmtab.c (mountlist_add): Increment "r_count"
1563 for the existing entry and initialize "r_count" to 1.
1564 (mountlist_del): Decrement "r_count".
1566 2000-05-18 H.J. Lu <hjl@lucon.org>
1568 * configure.in (VERSION): Set to "0.1.7.4".
1569 * configure: Regenerated.
1570 * nfs-utils.spec: Updated.
1572 2000-05-18 H.J. Lu <hjl@lucon.org>
1574 * etc/redhat/nfs.init (restart): Just do stop and start.
1576 2000-05-09 Jay Weber <jweber@valinux.com>
1578 * utils/rquotad/hasquota.c: added support for ext3 recognition
1580 * utils/rquotad/mntent.h: Likewise.
1582 2000-05-01 H.J. Lu <hjl@lucon.org>
1584 * configure.in (VERSION): Set to "0.1.7.3".
1585 * configure: Regenerated.
1586 * nfs-utils.spec: Updated.
1588 2000-05-01 H.J. Lu <hjl@lucon.org>
1590 * utils/rquotad/rquota_server.c (getquotainfo): Skip bad
1591 mounting poins in /etc/fstab.
1593 2000-05-01 H.J. Lu <hjl@lucon.org>
1595 * configure.in (VERSION): Set to "0.1.7.2".
1596 * configure: Regenerated.
1597 * nfs-utils.spec: Updated.
1599 2000-05-01 H.J. Lu <hjl@lucon.org>
1601 * utils/rquotad/rquota_server.c (getquotainfo): Call stat ()
1602 to check for the mounting point.
1604 2000-04-29 Chip Salzenberg <chip@valinux.com>
1605 Neil Brown <neilb@cse.unsw.edu.au>
1607 * Really re-use RPC ports.
1608 (Fixes earlier patch. Sorry, Neil.)
1610 2000-04-26 H.J. Lu <hjl@lucon.org>
1612 * configure.in (VERSION): Set to "0.1.7.1".
1613 * configure: Regenerated.
1614 * nfs-utils.spec: Updated.
1616 2000-04-26 H.J. Lu <hjl@lucon.org>
1618 * etc/redhat/nfslock.init: Check if lockd exits before killing
1621 2000-04-25 H.J. Lu <hjl@lucon.org>
1623 * README: Require util-linux-2.10f-mount-rpc.patch for mount.
1625 2000-03-21 Michael Weiser <michael@weiser.saale-net.de>
1627 * support/nfs/exports.c (parsesquash): Correctly set the
1630 Tue Mar 21 11:38:48 EST 2000 NeilBrown <neilb@cse.unsw.edu.au>
1632 * support/include/nfs/nfs.h: Removed knowledge of internals of
1633 kernel filehandles (which can change) and defined nfs_fh_size
1634 which has variable size
1636 * support/nfs/getfh.c: defined getfh_size to use new syscall to
1637 get variable sized file handles, and change getfh{,old} to
1640 * utils/mountd/mountd.c: use nfd_fh_size and call getfh_size for
1643 * tools/Makefile, tools/nlmtest/nlmtest.c
1644 nlmtest.c depended on internel format of file handles, so now
1648 2000-03-12 Chip Salzenberg <chip@valinux.com>
1649 Neil Brown <neilb@cse.unsw.edu.au>
1651 * support/nfs/rpcmisc.c (rpc_init): Share transports.
1653 2000-03-13 H.J. Lu <hjl@lucon.org>
1655 * etc/redhat/nfsd.init: Updated.
1657 * etc/redhat/nfslock.init: Updated.
1659 * nfs-utils.spec.in: Updated.
1661 * configure.in (VERSION): Set to "0.1.7".
1662 * configure: Regenerated.
1663 * nfs-utils.spec: Updated.
1667 Wed Mar 8 09:42:43 2000 Neil Brown <neilb@cse.unsw.edu.au>
1669 * utils/exportfs/exportfs.c (dump): Included printing of
1670 nohide, no_subtree_check, and insecure_locks
1672 2000-02-26 Chip Salzenberg <chip@valinux.com>
1674 * config.mk.in (INSTALLSUID): Strip ("-s").
1675 (INSTALLSCRIPT): Define.
1676 * utils/nhfsstone/Makefile: Use it.
1678 2000-02-26 Chip Salzenberg <chip@valinux.com>
1680 * utils/lockd/lockd.man: Create.
1681 * utils/lockd/Makefile: Install it.
1682 * utils/nhfsstone/nhfs{run,nums,graph}.man: Create.
1683 * utils/nhfsstone/nhfsstone.man: Change suffix from ".1".
1684 * utils/nhfsstone/Makefile: Install the helper scripts and
1686 * utils/exportfs/exports.man: Fix typo.
1688 2000-02-26 Chip Salzenberg <chip@valinux.com>
1690 * support/nfs/xio.c (xungetc): Decrement line number when
1691 character to unget is newline. Make first parameter int, so
1692 it can distinguish EOF from \377.
1693 * support/include/xio.h (xungetc): Adjust prototype.
1695 Fri Feb 4 23:42:23 2000 Neil Brown <neilb@cse.unsw.edu.au>
1697 * support/include/nfs/export.h: added NFSEXP_NOAUTHNLM
1698 * support/nfs/exports.c: added handling for NFSEXP_NOAUTHNLM
1699 * utils/exportfs/exports.man: added documentation for no_auth_nlm.
1701 This is for supporting a new option introduced in 2.3.42
1703 Thu Feb 3 14:55:48 2000 H.J. Lu <hjl@lucon.org>
1705 * COPYING: Added. GPL.
1707 Thu Feb 03 14:40:40 2000 Cristian Gafton <gafton@redhat.com>
1709 * utils/rquotad/rquota_server.c (getquotainfo): Call statfs ()
1710 to get the block size.
1712 Tue Jan 25 11:04:17 2000 H.J. Lu <hjl@lucon.org>
1714 * nfs-utils.spec.in: Update ftp site.
1716 Mon Jan 17 11:48:18 2000 H.J. Lu <hjl@lucon.org>
1718 * README: Update hostnames.
1720 Tue Jan 11 10:06:22 2000 H.J. Lu <hjl@lucon.org>
1722 * configure.in (VERSION): Set to "0.1.6".
1723 * configure: Regenerated.
1724 * nfs-utils.spec: Updated.
1728 Mon Jan 10 14:26:33 2000 H.J. Lu <hjl@lucon.org>
1730 * utils/mountd/auth.c (auth_authenticate_internal): Call
1731 xstrdup for hostname before passing it to gethostbyname.
1733 * utils/mountd/mountd.c (get_exportlist): Use xstrdup instead
1736 Sun Dec 19 09:35:01 1999 H.J. Lu <hjl@lucon.org>
1738 * README: Update the mailing list address.
1740 Sun Dec 19 09:22:28 1999 H.J. Lu <hjl@lucon.org>
1742 * configure.in (VERSION): Set to "0.1.5".
1743 * configure: Regenerated.
1744 * nfs-utils.spec: Updated.
1748 Mon Dec 13 13:40:20 1999 H.J. Lu <hjl@lucon.org>
1750 * utils/rquotad/hasquota.c (hasquota): Malloc one more char
1753 Mon Dec 6 09:42:45 1999 H.J. Lu <hjl@lucon.org>
1755 * configure.in (VERSION): Set to "0.1.4".
1756 * configure: Regenerated.
1757 * nfs-utils.spec: Updated.
1761 Mon Dec 6 09:28:07 1999 H.J. Lu <hjl@lucon.org>
1763 * nfs-utils.spec.in: New file.
1765 * config.mk.in (VERSION): Changed to "nfs-utils @VERSION@".
1767 * configure.in (nfs-utils.spec): Added to AC_OUTPUT.
1769 1999-12-04 Chip Salzenberg <chip@valinux.com>
1771 * config.mk.in: Use $(CC) as set by configure.
1773 1999-12-04 Chip Salzenberg <chip@valinux.com>
1775 * rules.mk: Call $(MAKE) with $(MFLAGS).
1777 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1779 * tools/rpcgen/rpc_main.c (h_output): Generate IXDR_GET_INT32,
1780 IXDR_PUT_INT32, IXDR_GET_U_INT32 and IXDR_PUT_U_INT32.
1782 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1784 * nfs-utils.spec (Version): Set to 0.1.3.
1786 * configure.in (VERSION): Set to "nfs-utils 0.1.3".
1787 * configure: Regenerated.
1791 Mon Nov 29 11:15:47 1999 H.J. Lu <hjl@lucon.org>
1793 * utils/rquotad/rquota_server.c (nfsmount_to_devname): Removed.
1794 (_PATH_DEV_DSK): Likewise.
1795 (getquotainfo): Match the mounting point from /etc/mtab
1796 instead of calling nfsmount_to_devname ().
1798 1999-11-24 Chip Salzenberg <chip@valinux.com>
1800 * utils/statd/monitor.c (sm_mon_1_svc): Accept lockd callbacks
1801 to the new port 24 as well as the historical port 100021.
1803 Tue Nov 23 10:21:34 1999 Neil Brown <neilb@cse.unsw.edu.au>
1805 * etc/redhat/nfsd.init (stop): moved exportfs -ua after
1806 stopping nfsd to stop spurious ESTALE on server shutdown.
1808 Tue Nov 23 10:13:39 1999 Neil Brown <neilb@cse.unsw.edu.au>
1810 * support/nfs/exports.c (parseopts): make copy of opt string
1811 before 'nul'ing out commas so that
1813 # exportfs -o option1,option2 hosta:/fs hostb:/fs
1815 applies both options to both exports.
1817 Thu Oct 28 12:55:42 1999 H.J. Lu <hjl@lucon.org>
1819 * README: Fix a few typos.
1821 * tools/rpcgen/rpc_cout.c (print_header): Use int32_t instead
1823 * tools/rpcgen/rpc_hout.c (pdefine): Likewise.
1824 * tools/rpcgen/rpc_main.c (c_initialize): Likewise.
1825 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1826 (unsigned_dec): Likewise.
1827 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1828 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1830 * tools/rpcgen/rpc_cout.c (emit_single_in_line): Use INT32
1832 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1833 (unsigned_dec): Likewise.
1834 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1835 * tools/rpcgen/rpc_scan.h (tok_kind): Likewise.
1836 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1838 Thu Oct 28 11:27:51 1999 Neil Brown <neilb@cse.unsw.edu.au>
1840 * support/include/nfs/export.h addedd NFSEXP_NOSUBTREECHECK
1841 * support/nfs/exports.c: added {no_,}subtree_check and changed
1843 * utils/exportfs/exports.man: added no_subtree_check and nohide
1844 and removed irrelevant stuff from unfsd.
1845 * support/export/rmtab.c: rmtab_read didn't quite do the right
1846 thing if a pathname from rmtab was a subdirectory of an export-point
1848 Tue Oct 26 17:22:40 1999 H.J. Lu <hjl@lucon.org>
1850 * README: Updated ftp site.
1852 Mon Oct 25 18:12:45 1999 H.J. Lu <hjl@lucon.org>
1854 * nfs-utils.spec (Version): Set to 0.1.2.
1856 * configure.in (VERSION): Set to "nfs-utils 0.1.2".
1857 * configure: Regenerated.
1861 Mon Oct 25 18:11:21 1999 H.J. Lu <hjl@lucon.org>
1863 * utils/mountd/auth.c (auth_error): Add "no_forward_dns".
1864 (auth_authenticate_internal): Check for NULL return on forward
1866 (auth_authenticate): Handle "no_forward_dns".
1868 Thu Oct 21 16:22:06 1999 H.J. Lu <hjl@lucon.org>
1870 * Version 0.1.1 released.
1872 * nfs-utils.spec (Version): Set to 0.1.1.
1874 * configure.in (VERSION): Set to "nfs-utils 0.1.1".
1875 * configure: Regenerated.
1879 Mon Oct 18 17:43:29 1999 H.J. Lu <hjl@lucon.org>
1881 * nfs-utils.spec (Obsoletes): Fixed a typo, change knfsd-client
1883 (Provides): Likewise.
1885 Mon Oct 18 14:56:22 1999 H.J. Lu <hjl@lucon.org>
1887 * Initial version 0.1 released.
1889 * configure.in (VERSION): Set to "nfs-utils 0.1".
1890 * configure: Regenerated.
1892 Mon Oct 18 14:54:57 1999 H.J. Lu <hjl@lucon.org>
1894 * utils/mountd/mountd.c (get_exportlist): Cleanup.
1896 * utils/exportfs/exportfs.c (unexport_all): Unexport from
1897 kernel only if the entry is exported to kernel.
1898 (unexportfs): Likewise.
1900 Wed Sep 08 16:49:32 1999 Neil Brown <neilb@cse.unsw.edu.au>
1902 1/ utils/mountd/rmtab.c::mountlist_list
1904 This routine stats the rmtab file to see if it has changed. It
1905 if has, it cleans up it's old copy of the data. But it still
1906 always re-read the file, thus returning multiple copies of the
1907 data on consecutive calls without intervening changes.
1908 "Showmount -a" didn't show this as it appears to sort/unique the
1909 data, but 'strace showmount -a' showed that the size of the
1910 datagram that it received grew.
1912 I moved the getrmtabent loop inside the mtime test.
1914 2/ utils/exportfs/exportfs.c
1916 Many routines used the m_path field of m_export instead of
1918 According to the comment in nfslib.h, m_path should only
1919 be used when processing a mount request (i.e. in mountd)
1920 where the mountpoint may be a subdirectory of the export point.
1922 I changed all occurances of m_path to e_path
1925 3/ utils/exportfs/exportfs.c:main
1927 extra arguments are not meaningful with -a or -r, but
1928 exportfs accepted them and then ignored the -a/-r, expect that
1929 -r would still unexport everything first.
1931 I generate an error if there are extra args and f_all
1933 4/ utils/exportfs/exportfs.c:main
1934 extract dump out as a special case.
1936 5/ utils/exportfs/exportfs.c
1937 made f_reexport a local variable.
1940 6/ utils/exportfs/exportfs.c:main,exportall
1942 support/export/rmtab.c
1943 only mayexport on newly created entries, don't set xtabent at all
1945 7/ support/include/nfslib.h
1947 add #define _PATH_PROC_EXPORTS to be /proc/fs/nds/exports
1949 8/ support/export/xtab.c
1951 xtab_mount_read loads data from _PATH_PROC_EXPORTS if it exists,
1955 9/ support/export/xtab.c
1957 xtab_mount_read now sets m_exported, and NOT
1958 xtabent and mayexport
1960 removed the append arguement from xtab_write as it was
1963 added is_export flag to xtab_write similar to xtab_read
1964 if is_export, only write entries with m_xtabent or m_addxtab
1965 if !is_export, only write entries with m_exported
1967 10/ support/export/export.c::export_allowed_internal
1969 added test for exp->m_mayexport, as the export tree
1970 may have entries that are no longer allowed to be exported,
1971 and so shouldn't caused deduced exported by rmtab_read
1973 11/ utils/exportfs/exportfs.c::main
1974 error checking of flags.
1976 12/ utils/exportfs/exportfs.c
1978 total rewrite of export and unexport logic.
1980 - build an exportslist of valid exports, based on
1981 current etab file and arguments,
1982 - read rmtab to instantiate relevant wild card entries
1983 - read etab to find out what is currently exported
1984 - synchronise intention with reality
1985 - write out etab and xtab
1988 discard the m_addxtab flag
1989 add m_changed flag so we know what to report in exportfs
1991 14/ utils/mountd/auth.c:auth_authenticate
1993 the value returned by gethostbyaddr was trusted.
1995 It now follows this with a call to gethostbyname
1996 and checks that the address is in the list.
1998 15/ support/export/nfsctl.c::cltsetup,expsetup
2000 force client names to lowercase as kernel is
2003 16/ quietened a few compiler warnings
2005 17/ support/export/client:client_lookup
2007 look for pre-existing client with same name before creating
2010 18/ support/include/exportfs.h
2012 The ordering of the MCL_* enum was:
2013 ANONYMOUS, FQDN, SUBNETWORK, WILDCARD, NETGROUP
2015 I moved ANONYMOUS to the end.
2017 The ordering is significant when an export entry is being searched for to
2018 match a given address. There are two problems with ANONYMOUS being first.
2020 1/ if a directory is exported rw to a couple of hosts and ro to everyone else,
2021 then the ro case will always be found first and the privileged hosts won't get
2023 2/ When mountd gets a request to mount an ANONYMOUSly exported tree, it creates a FQDN
2024 export entry for the specific host, and writes it to xtab.
2025 When another request comes from the same host, the ANONYMOUS entry is found again,
2026 before the new FQDN entry, so it creates another FQDN entry and writes it to xtab
2027 again. If causes bloat in xtab.
2029 Putting ANONYMOUS at the end reflects it's nature as a catch-all
2031 19/ utils/exportfs/exportfs.man
2032 many updates to the man page to reflect changes to the code
2034 -----------------------
2040 - allow exportfs to modify rmtab file
2041 - make sure kernel never gets two clients with same IP address
2042 - possible kernel should reject
2043 - needs to be some way to lookup client in kernel by IP address
2044 - maybe get kernel to do case-insensitive comparisons on client names
2045 - remove unused clients from kernel
2047 - change etab to xtab and xtab to xtab.active
2049 - timestamp and/or statd-stamp in rmtab for removing old entries.
2051 Mon Oct 18 11:48:07 1999 H.J. Lu <hjl@lucon.org>
2053 * linux-nfs: New directory.
2054 * linux-nfs/ChangeLog: Moved from ..
2055 * linux-nfs/INSTALL: Likewise.
2056 * linux-nfs/KNOWNBUGS: Likewise.
2057 * linux-nfs/NEW: Likewise.
2058 * linux-nfs/README: Likewise.
2059 * linux-nfs/THANKS: Likewise.
2060 * linux-nfs/TODO: Likewise.
2062 * Starting from knfsd 1.4.7.