1 2005-04-06 Chip Salzenberg <chip@pobox.com>
3 * config.guess, config.sub: Update.
5 * support/rpc/svc_auth_gss.c (_svcauth_gss): Avoid using a cast as
6 an lvalue, as it is non-portable.
8 * support/nfs/exports.c (parseopts): Accept "acl" option to mean
9 ~NFSEXP_NOACL, and "no_acl" to mean NFSEXP_NOACL.
10 (putexportent): Report NFSEXP_NOACL as "no_acl", and ~NFSEXP_NOACL
12 * utils/exportfs/exportfs.c (dump): Report NFSEXP_NOACL as
14 * utils/exportfs/exports.man: Document "no_acl".
16 2005-03-14 NeilBrown <neilb@cse.unsw.edu.au>
17 Denis Vlasenko <vda@ilport.com.ua>
18 * support/export/client.c(client_init and client_gettype):
19 treat N.N.N.N as a special case of MCL_SUBNETWORK instead of
22 2005-03-06 G. Allen Morris III <gam3@gam3.net>
23 * support/nfs/cacheio.c(readline): Could not read lines greater
24 than 128 bytes. [1157791]
25 * utils/exportfs/exports.man: Added a SEE ALSO section and
26 fixed 2 typos. [1018450]
28 2005-02-28 Trond Myklebust <trond.myklebust@fys.uio.no>
29 * utils/statd/rmtcall.c(statd_get_socket): If a port number is
30 explicitly given, make sure to try to bind to that.
32 2005-01-11 Chip Salzenberg <chip@pobox.com>
34 * debian/changelog: Version 1.0.7-1.
35 * debian/nfs-common.default (NEED_IDMAPD, NEED_GSSD):
36 Disable by default, on advice of upstream.
37 * debian/nfs-kernel-server.default (NEED_SVCGSSD):
40 * utils/svcgssd/Makefile (predep): Symbolically link duplicated
42 (distclean): Remove symlinks to duplicated files.
44 2004-12-17 NeilBrown <neilb@cse.unsw.edu.au>
47 * config.mk, configure.in: update version number, run autoconf
48 * configure.in: require nfsidmap.h if gss is enabled.
50 2004-12-10 NeilBrown <neilb@cse.unsw.edu.au>
53 * config.mk, configure.in: update version number, run autoconf
55 2004-12-10 Neil Brown <neilb@cse.unsw.edu.au>
56 * README : note dependancy on kerberos, libevent, and nfsidmap
57 * configure.in : fail if --enable-nfsv4 and libevent or
58 libnfsidmap are missing.
59 * configuyre.in: improve message if krb5 support is missing
61 2004-12-06 Paul Clements <paul.clements@steeleye.com>
62 * support/include/ha-callout.h: get return status from waitpid
64 * support/include/ha-callout.h: don't ignore SIGCHLD while waiting
65 for a callout to complete.
66 * utils/statd/statd.c(sigusr): print current start when re-reading
67 notify list due to SIGUSR1
68 * utils/statd/svc_run.c(my_svc_run): call change_state when
71 2004-12-06 Marc Eshel <eshel@almaden.ibm.com>
72 * utils/statd/svc_run.c(my_svc_run): allow loop to exit when in
74 *utils/statd/rmtcall.c(statd_get_socket): if a hostname is given
75 to statd with -n, prefer it's IP address to the default for
78 2004-12-06 Bruce Allan <bwa@us.ibm.com>
79 * utils/mountd/auth.c(auth_reload) Clear the "my_client" cache on
80 an auth_reload to avoid old data getting used.
82 2004-12-03 NeilBrown <neilb@cse.unsw.edu.au>
83 Release 1.0.7-pre1 for testing
85 * config.mk, configure.in: update version number, run autoconf
87 2004-12-03 Trond Myklebust <trond.myklebust@fys.uio.no>
89 * utils/statd/statd.c(main): ignore SIGPIPE
91 2004-11-22 "J. Bruce Fields" <bfields@fieldses.org>
93 * tools/rpcdebug/rpcdebug.c: support aliases "nfsdebug" and
94 "nfsddebug" and update flag names.
95 * configure.in, nodist/* redhat/* nfs-utils.spec*: remove redhat
96 specific files (as no-one actually uses them, especially not
97 redhat), and the nodist /etc files (as they drift out-of-date, and
98 the debian directory provides a suitable example.
99 * utils/svcgssd_proc.c(get_ids): fix memory leak
100 * utils/svcgssd/svcgssd_proc.c: Rely on count of the number of
101 groups instead of using a special guard value to identify the end
103 * utils/idmapd/idmapd.c: don't allow Default domain and anon-uid
104 or -gid to be specified on command line.
105 * utils/idmapd/idmapd.c: improve error messages
106 * utils/idmapd/idmapd.c: Reopen nfsd files on sighup. Allows us
107 to start up client side only (even when nfsd module not loaded),
108 and then sighup later after insmodding nfsd module.
109 * utils/idmapd/idmapd.c: Make sure we catch all errors on
110 daemonizing by waiting for child to report succesfull startup
112 * utils/idmapd/idmapd.c: Let libnfsidmapd parse the idmapd.conf
113 file for the default domain, instead of doing that ourselves.
114 * utils/gssd/gssd_proc.c: Make sure we get an error when a gssd
116 * utils/gssd/gssd_proc.c: We were forgetting to restore the euid
117 on certain failures, which meant gssd could get stuck in a state
118 where it didn't have permissions to read the files in rpc_pipefs
120 * utils/gssd/gssd_proc.c: Use libnfsidmapd to map gss principals
122 * debian/nfs-kernel-server.default: Document the NEED_SVCGSSD
123 variable in /etc/default/nfs-kernel-server.
126 2004-11-22 NeilBrown <neilb@cse.unsw.edu.au>
128 * utils/exportfs/nfsd.man: corrected typo in .BR macro usage -
129 reported by Eric Raymond
131 2004-10-19 "J. Bruce Fields" <bfields@fieldses.org>
133 * support/gssapi/* support/rpc/* utils/gssd/* utils/svcgssd/* etc
134 initial support for GSSAPI authentication
136 2004-09-15 Neil Brown <neilb@cse.unsw.edu.au>
138 * utils/statd/monitor.c(sm_unmon_1_svc): is RESTRICTED_STATD, then
139 check IP address and force my_name to 127.0.0.1 to match
140 what happens in sm_mon_1_svc. This avoid spurious "erroneous
142 * utils/statd.monitor.c(sm_unmon_all_1_svc): likewise
144 2004-09-15 "J. Bruce Fields" <bfields@fieldses.org>
146 * Assorted changes to support "gss/*" style authentication
147 * utils/idmapd: new idmapd daemon for nfsv4 username lookup
149 2004-09-06 Trond Myklebust <trond.myklebust@fys.uio.no>
150 Neil Brown <neilb@cse.unsw.edu.au>
152 * utils/mountd/auth.c(auth_authenticate_internal): fix
153 uninitialsed variable problem (causes bad error messages).
155 2004-09-06 Paul Clements <paul.clements@steeleye.com>
156 Neil Brown <neilb@cse.unsw.edu.au>
158 * utils/mountd/mountd.c(main): support --ha-callout (-H) for
159 specifying a callout program
160 * utils/mountd/rmtab.c: Call ha_callout on mount/unmount
161 * utils/statd/monitor.c: Call ha_callout on add/del client
162 * utils/statd/rmtcall.c: as above
163 * utils/statd/statd.c: handle --ha-callout (-H)
164 * utils/statd/svc_run.c: call notify_hosts is we have received a
166 * support/include/ha-callout.h: define ha_callout function
169 2004-08-31 NeilBrown <neilb@cse.unsw.edu.au>
170 * utils/mountd/cache.c(cache_process_req): clear fd after
171 processing so as not to confused libc/sunrpc into thinking
172 it need to do something with that fd.
174 2004-08-31 NeilBrown <neilb@cse.unsw.edu.au>
176 * debian/nfs-kernel-server.init(start,stop) mount the nfsd
177 filesystem, if available, before starting nfs services, and
178 unmount it afterwards.
179 * etc/nodist/nfs-server: ditto
180 * etc/redhat/nfs.init: likewise
181 * etc/redhat/nfs: add "MOUNT_NFSD" flag to control above.
183 2004-06-08 NeilBrown <neilb@cse.unsw.edu.au>
185 * utils/exportfs/exportfs.c: Don't rmtab_read if new_cache, it
187 * support/nfs/cacheio.c(cache_flush): Change order in which caches
188 are flushed so that dependancies don't keep things in the cache
191 2004-03-18 Chip Salzenberg <chip@pobox.com>
193 * debian/changelog: Version 1.0.6-2.
195 2004-02-24 NeilBrown <neilb@cse.unsw.edu.au>
196 from "J. Bruce Fields" <bfields@fieldses.org>
198 * utils/mountd/cache.c: call auth_reload to make sure auth data is
199 current before responding to kernel upcall.
201 2004-02-24 NeilBrown <neilb@cse.unsw.edu.au>
202 Based on patch from Greg Banks <gnb@melbourne.sgi.com>
204 * utils/exportfs/exports.man: Document fsid= option.
206 2003-09-15 NeilBrown <neilb@cse.unsw.edu.au>
210 * rules.mk: Add dep: rule when no OBJS, so "make dep" works in
211 support/include, and depend in "predep"
212 * support/export/Makefile, tools/rpcgen/Makefile,
213 utils/statd/Makefile: add "predep" rule so that "make dep" works.
214 * Makefile: allow a simple "make" to run ./configure and "make dep"
216 * configure.in, nfs-utils.spec: Update version to 1.0.6
219 2003-09-12 Chip Salzenberg <chip@pobox.com>
221 * debian/changelog: Version 1.0.6-1.
223 2003-09-12 NeilBrown <neilb@cse.unsw.edu.au>
225 * utils/mountd/mountd.c(main): Impose FD_SETSIZE as an upper limit
227 * utils/statd/statd.c(main): Ditto.
229 michael <michael@newdream.net> discovered that svc_setreqsize
230 in glibc can segfault if RLIMIT_NOFILE is bigger than
231 FD_SETSIZE, so a simple solution is to impose a hard limit.
233 2003-09-09 Chip Salzenberg <chip@pobox.com>
235 * debian/changelog: Version 1.0.5-3.
236 * support/export/hostname.c (get_reliable_hostbyaddr): Fix crash
237 on invalid reverse DNS.
238 * utils/showmount/showmount.c (main): Fix inet_ntoa() parameter.
239 * tools/rpcgen/rpc_cout.c (print_header): Remove unused vars.
240 * tools/rpcgen/rpc_parse.c (def_union): Likewise.
242 2003-08-22 Chip Salzenberg <chip@pobox.com>
244 * utils/statd/{log.h,log.c}: Rename log() to note() and L_* to
245 N_*, to avoid conflict with ISO C built-in log() function.
246 * utils/statd/*.c: Use note().
248 2003-08-20 Chip Salzenberg <chip@pobox.com>
250 * debian/changelog: Version 1.0.5-2.
252 2003-08-11 NeilBrown <neilb@cse.unsw.edu.au>
254 * utils/mountd/cache.c(cache_get_filehandle): close the filehandle
257 2003-08-04 NeilBrown <neilb@cse.unsw.edu.au>
259 * support/include/nfs/export.h, support/nfs/exports.c,
260 utils/exportfs/exports.c, utils/mountd/mountd.c: change
261 NFSEXP_CROSSMNT to NFSEXP_CROSSMOUNT to avoid confusion with older
262 meaning. Also remove meaningless
263 NFSEXP_{UIDMAP,KERBEROS,SUNSECURE}
265 2003-08-04 NeilBrown <neilb@cse.unsw.edu.au>
267 * support/export/xtab.c, support/include/nfslib.h,
268 support/nfs/cacheio.c, support/nfs/nfssvc.c,
269 utils/exportfs/exportfs.c, utils/exportfs/exportfs.man,
270 utils/exportfs/nfsd.man, utils/mountd/cache.c: support
271 /proc/fs/nfsd/* as a perferred alternate to /proc/fs/nfs/*
272 (nfs-utils-1.0.5-post2)
274 2003-08-04 NeilBrown <neilb@cse.unsw.edu.au>
276 * support/nfs/nfsexport.c: open channel file O_WRONLY when
278 * utils/mountd/cache.c: maintain mountlist when new_cache is
279 active. Also use O_WRONLY for channel files.
280 * utils/mountd/mountd.h: mountlist_{del,add} now take a host name
281 rather than an nfs_export.
282 * utils/mountd/rmtab.c: ditto.
283 (nfs-utils-1.5.0-post1)
285 2003-07-24 Chip Salzenberg <chip@pobox.com>
287 * support/nfs/xlog.c (xlog): Revise buffer-overflow fix to
288 use Debian security team's cleaner approach.
289 * debian/changelog: Version 1.0.5-1.
290 * debian/nfs-kernel-server.init: Cosmetic changes.
292 2003-07-18 NeilBrown <neilb@cse.unsw.edu.au>
295 1.0.4 was a bit of a brown-paper-bag-release because of the extra
296 'free' in auth.c. So I'm releasing this just a few days later.
298 * support/nfs/cacheio.c(cache_flush): Correct test for 'open
300 * utils/exportfs/exportfs.c(main): If "-f" given as lone option,
301 check if new_cache is enabled, error if not, flush and exit if it
303 * utils/exportfs/exportfs.man: Explain -f option and explain the
304 two different modes that exportfs can work in.
305 * utils/mountd/mountd.c: Do not change RLIMIT_NOFILE if the -o
307 * utils/mountd/mountd.man: Record the change if default behaviour
309 * configure.in, nfs-utils.spec: update version to 1.0.5 and
312 2003-07-15 NeilBrown <neilb@cse.unsw.edu.au>
314 * utils/mountd/mountd.c(main): getopt string fix for 'o'
315 * utils/mountd/auth.c(auth_authenticate): remove extra 'free'
316 * utils/exportfs/exportfs.c(main): make 'exportfs -f' just flush
318 * support/include/nfs/export.h: Reserve a bit for possible ACL
321 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
323 * utils/exportfs/nfsd.man: new man page for nfsd filesystem. Also
324 assorted changed to cope with section 7 of the manual.
325 * configure.in, nfs-utils.spec: Update version to 1.0.4
328 This is a 'pre-release' for 1.1.0 Hopefully 1.1.0 will be the
329 baseline for 2.6 and 2.8. I.e. it should continue to work right
330 through the 2.8 (or 3.0) kernel series. Previous releases wont.
332 2003-07-04 NeilBrown <neilb@cse.unsw.edu.au>
333 Steve Dickson <SteveD@redhat.com>
336 * utils/statd/statd.c: create a pidfile with pid of statd, and
337 truncate it when statd exists.
338 * utils/statd/statd.c: drop privs by setuid to owner of SM_DIR,
339 and warn if this is root.
340 * utils/statd/statd.c: when statd forks, connect child to parent
341 with a pipe, and send a byte down the pipe once the child is
343 * Makefile: create and chown sm, sm.bak, state when "make install"
344 * configure.in: add --with-statduser= option which defaults to
345 "rpcuser" or "nobody"
346 * config.mk.in: pass "statduser" through to Makefile
348 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
350 * support/include/nfs/nfs.h: Make sure correct __kernel_dev_t is
351 used as the size was changed somewhere in 2.5.60-2.5.70. Without
352 this nfs-utils compiles against 2.6 headers will not work on a
355 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
357 * support/nfs/nfssvc.c(nfssvc): If /proc/fs/nfs/threads exists,
358 set number of threads by writing to there. This means it will
359 still work when the syscall interface goes away in 2.7.
361 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
362 fumihiko kakuma <kakmy@mvh.biglobe.ne.jp>
364 * utils/exportfs/exportfs.c(unexportfs): improve host comparison
365 so as to only export the wildcard exports that were asked for.
366 * support/export/export.c(export_allowed): changed to return the
367 nfs_export rather than a "struct exportent", as m_changed is
369 * support/export/rmtab.c(rmtab_read): modified to deal with
370 interface change for export_allowed(), and enhanced to preserve
371 m_changed flag when a wild-card export causes the creation of
372 a non-wildcard export.
374 2003-07-02 NeilBrown <neilb@cse.unsw.edu.au>
375 Steve Dickson <SteveD@redhat.com>
377 * utils/mountd/mountd.man: Add valid kinds of debugging.
378 * utils/mountd/mountd.c(main): ignore SIGPIPE
379 * utils/nfsstat/nfsstat.c: fine-tune printing of warning so
380 we don't get warnings about unavailable stats that weren't asked
383 2003-06-24 NeilBrown <neilb@cse.unsw.edu.au>
385 * support/nfs/nfsexport.c(exp_unexp): When unexporting filesystems
386 via /rpc/net/rpc/nfsd*/channel, set the expiry date to 1, not
387 'forever', so things disappear out of the cache rather than just
390 2003-06-16 "J. Bruce Fields" <bfields@fieldses.org>
392 * utils/mountd/cache.c(nfsd_fh): don't export the export_ent
395 2003-06-16 NeilBrown <neilb@cse.unsw.edu.au>
397 * debian/nfs-kernel-server.init,etc/nodist/nfs-server,
398 etc/redhat/nfs.init: when checking if V3 is supported, make sure
399 nfs server 'knows' about 127.0.0.1 first.
401 2003-06-10 Chip Salzenberg <chip@pobox.com>
403 * support/nfs/xlog.c (xlog): Fix off-by-one buffer overflow bug.
404 * debian/changelog: Version 1.0.3-2.
406 2003-05-30 Michael Griffith <grif@michaelgriffith.com>
407 NeilBrown <neilb@cse.unsw.edu.au>
409 utils/nfsstat/nfsstat.c(print_callstats): use unsigned
410 long long to avoid overflow when printing stats.
412 2003-05-30 NeilBrown <neilb@cse.unsw.edu.au>
414 * support/export/export.c, support/include/nfslib.h,
415 support/nfs/export.c, utils/exportfs/exportfs.c,
416 utils/mountd/mountd.c: new export option "mountpoint"
417 If no path is given, then the export point must be a
418 mount point, or it won't be exported. If a path is
419 given (e.g. mountpoint=/path) then that path must be
420 a mountpoint or the exportpoint won't be exported.
421 * utils/exportfs/exportfs.man: document mountpoint option.
422 * support/misc/mountpoint.c: New file with is_mountpoint()
423 to determine if something is a mountpoint.
425 2003-05-23 NeilBrown <neilb@cse.unsw.edu.au>
427 * utils/mountd/cache.c(cache_get_filehandle): take a separate path
428 argument as we might not be getting the filehandle for the
430 * utils/mountd/mountd.c(get_rootfh): pass real path when calling
431 cache_get_filehandle.
432 * utils/mountd/mountd.c(get_rootfh): check export point and
433 requested directory are on the same filesystem, and complain if
436 2003-05-22 NeilBrown <neilb@cse.unsw.edu.au>
438 * utils/mountd/auth.c(auth_authenticate_internal): make sure
439 portnumber is still checked when using new cache lookup.
441 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
443 * utils/exportfs/exportfs.c: Use check_new_cache and cache_flush
444 Don't actually talk to kernel when new cache is in effect, except
446 * utils/exportfs/exportfs.c: add -f option to fully flush cache.
447 * support/export/xtab.c: Only rename new xtab into place if it has
448 changed, thus preserving modify date for exportfs to use when
450 * support/nfs/cacheio.c: Add cache_flush
451 * support/export/xtab.c: Only rename new xtab into place if it has
452 changed, thus preserving modify date for exportfs to use when
455 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
457 * support/export/client.c: Add client_compose, client_member to
458 handle new composite client names
459 * support/include/exportfs.h: Declare above functions.
460 * utils/mountd/auth.c: use client_compose to determine calling
461 client if new cache is being used.
462 * utils/mountd/auth.c: call cache_export to export a filesystem if
463 new_cache, check if new cache is used, and call my_svc_run instead
465 * utils/mountd/svc_run.c: new file defining my_svc_run
466 * utils/mountd/cache.c: new file for handling cache upcalls.
467 * support/nfs/cacheio.c(check_new_cache): new function to check if
468 new cache should be used.
471 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
473 * support/include/nfs/export.h: New CROSSMNT distinct from NOHIDE
474 * support/nfs/exports.c: Make CROSSMNT distinct from NOHIDE
475 * utils/exportfs/exportfs.c(dump): ditto
477 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
479 * support/export/hostname.c(get_reliable_hostbyaddr): new function
480 to get host name from address with full checking of authenticity.
481 * support/include/misc.h: declare above function
482 * utils/mountd/auth.c(auth_authenticate_internal): remove all
483 logic for authenticating address.
484 * utils/mountd/auth.c(auth_authenticate): call new
485 get_reliable_hostbyaddr to to hostname lookup before calling _internal.
488 2003-03-30 NeilBrown <neilb@cse.unsw.edu.au>
490 * tools/rpcgen/rpc_main.c(find_cpp): removed
491 * tools/rpcgen/rpc_main.c(open_input): use execvp to find "cpp",
492 then try hard-coded paths.
494 2003-03-26 Chip Salzenberg <chip@pobox.com>
496 * debian/changelog: Version 1.0.3-1.
498 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
500 * utils/mountd/rmtab.c (slink_safe_rename): real_newpath should be
501 "const char*", not "char*".
503 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
505 * configure.in (VERSION): Set to "1.0.3".
506 * nfs-utils.spec: Likewise.
507 * configure: Regenerated.
509 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
511 * support/nfs/cacheio.c: New File - support for read/writing
512 to export cache in /proc/rpc/*/channel
513 * support/nfs/Makefile: compile cacheio.c
514 * support/include/nfslib.h: declare cacheio.c functions
515 * support/nfs/nfsexport.c: export and unexport through
516 /proc/rpc/*/channel if possible, as old syscall interface
517 may not survive into 2.6 on all architectures.
519 2003-02-19 NeilBrown <neilb@cse.unsw.edu.au>
520 Ben Leslie <benno@sesgroup.net>
522 * support/nfs/rpcmisc.c(rpc_init): change test for ignoring
523 "defport" from (__rpcfdtype == 0) to (__rpcpmstart==0). The
524 former would incorectly ignore defport if the application
525 explicitly set __rpcfdtype. The later is sufficient to avoid the
526 special handling in the case where stdin is an internet socket.
528 * utils/mountd/mountd.c(main): Add 'n' to option list in
529 getopt_long as this is a short form of --no-tcp which want being
532 2003-02-12 Chip Salzenberg <chip@pobox.com>
534 * debian/changelog: Version 1.0.2-2.
536 2002-11-27 Chip Salzenberg <chip@pobox.com>
538 * utils/mountd/rmtab.c (slink_safe_rename): Fix off-by-one buffer
539 overflow bug. Reformat per rest of source file.
541 2002-11-19 NeilBrown <neilb@cse.unsw.edu.au>
543 * utils/exportfs/exports.man: Correct notes about whether the wild
544 card characters match a period. They do.
546 2002-10-15 Juan Gomez <juang@us.ibm.com>
548 * utils/mountd/rmtab.c (slink_safe_rename): New. Support
550 (mountlist_add): Call slink_safe_rename instead of rename.
552 2002-10-11 H.J. Lu <hjl@lucon.org>
554 * support/include/exportfs.h (export_errno): New.
556 * support/nfs/exports.c: Include <errno.h>.
558 (getexportent): Set export_errno to EINVAL for bad option.
559 (parseopts): Likewise.
560 Report the location of the default sync/async option.
562 * utils/exportfs/exportfs.c (main): Initialize export_errno to
563 0. Return export_errno.
565 2002-10-11 Juan Gomez <gomez@cs.sjsu.edu>
566 NeilBrown <neilb@cse.unsw.edu.au>
568 utils/statd/statd.c(killer): don't pmap_unset if in notify_only mode
569 utils/statd/statd.c(main): don't pmap_unset if in notify_only mode
571 2002-09-16 Chip Salzenberg <chip@pobox.com>
573 * utils/rquotad/rquota_svc.c (main): Use int for value of getopt.
575 2002-09-15 Chip Salzenberg <chip@pobox.com>
577 * support/nfs/rpcmisc.c (rpc_init): Allow stdin to be a non-INET
578 socket, as occurs when run from sshd.
579 * debian/changelog: Version 1.0.2-1.
581 2002-09-12 H.J. Lu <hjl@lucon.org>
583 * support/nfs/svc_socket.c: Remove HAVE_SVCTCP_SOCKET and
586 2002-09-12 H.J. Lu <hjl@lucon.org>
588 * configure.in: Remove checking svctcp_socket and svcudp_socket.
589 * configure: Regenerated.
591 * support/include/config.h.in (HAVE_SVCTCP_SOCKET): Removed.
592 (HAVE_SVCUDP_SOCKET): Removed.
594 * support/include/nfslib.h: Undo the last change.
596 2002-09-12 H.J. Lu <hjl@lucon.org>
598 * support/include/nfslib.h (svctcp_socket): Protect it with
600 (svcudp_socket): Protect it with HAVE_SVCUDP_SOCKET.
602 2002-09-12 H.J. Lu <hjl@lucon.org>
604 * configure.in (VERSION): Set to "1.0.2".
605 * configure: Regenerated.
606 * nfs-utils.spec: Likewise.
608 2002-09-12 H.J. Lu <hjl@lucon.org>
610 * configure.in: Check svctcp_socket and svcudp_socket.
611 * configure: Regenerated.
613 * support/include/config.h.in (HAVE_SVCTCP_SOCKET): New.
614 (HAVE_SVCUDP_SOCKET): New.
616 * support/include/nfslib.h (svctcp_socket): New.
617 (svcudp_socket): New.
619 * support/nfs/Makefile (OBJS): Add svc_socket.o.
621 * support/nfs/svc_socket.c: New.
623 * support/nfs/rpcmisc.c (rpc_init): Call svctcp_socket and
624 svcudp_socket if port is unspecified.
626 * utils/nfsd/nfsd.c (main): Call getservbyname for port.
628 * utils/rquotad/rquota_svc.c: Include <nfslib.h>.
629 (killer): New. Signal handler to unregister.
630 (main): Use killer. Call svcudp_socket to get the default
633 2002-09-02 Juan Gomez <juang@us.ibm.com>
634 NeilBrown <neilb@cse.unsw.edu.au>
636 Add -N option to statd to run in notify-only mode.
638 * utils/statd/statd.h: uncomment MODE_NOTIFY_ONLY
639 * utils/statd/statd.man: document -N
640 * utils/statd/statd.c: enabled -N, largely exists but needed to be
641 uncommented and completed
643 2002-09-02 Juan Gomez <juang@us.ibm.com>
644 NeilBrown <neilb@cse.unsw.edu.au>
646 statd to have " -P directory" arg to use that directory instead
647 of /var/lib/nfs. This is useful for fail-over clusters.
649 * utils/statd/statd.h: define SM_DIR etc as var, not const.
650 * utils/statd/statd.c: define "-P" option to set SM_*
652 * utils/statd/monitor.c: sprintf to cope with SM_DIR not being
654 * utils/statd/notify.c: ditto.
655 * utils/statd/statd.man: document -P option.
657 2002-08-26 Chip Salzenberg <chip@pobox.com>
659 * utils/nfsd/nfsd.man: Fix typo.
660 * debian/changelog: Version 1.0.1-1.
662 2002-05-29 NeilBrown <neilb@cse.unsw.edu.au>
664 * let parseopts know if /etc/exports was being read or not,
665 and have it only print "no sync or async" warning in that case.
667 2002-05-06 Tom McNeal <trmcneal@attbi.com>
668 NeilBrown <neilb@cse.unsw.edu.au>
670 * utils/nfsstat/nfsstat.c: Handle differing format for
671 /proc/net/rpc/nfsd between pre and post 2.4.0
673 2002-04-09 NeilBrown <neilb@cse.unsw.edu.au>
674 James Pearson <james-p@moving-picture.com>
676 * support/nfs/rmtab.c(fendrmtabent): sync changes to
677 storage before returning, as this is critical state
679 2002-04-08 Sean O'Connell <sean@ee.duke.edu>
680 H.J. Lu <hjl@lucon.org>
682 * etc/redhat/nfs: New.
684 2002-04-08 H.J. Lu <hjl@lucon.org>
686 * etc/redhat/nfs.init: Updated.
688 * nfs-utils.spec.in: Updated.
689 * nfs-utils.spec: Regenerated.
691 * utils/mountd/mountd.c (longopts): Fix a typo.
693 * utils/mountd/mountd.man: Updated.
695 2002-04-07 H.J. Lu <hjl@lucon.org>
697 * etc/redhat/nfslock.init (restart): Just do stop and start.
699 * etc/redhat/nfs.init: Fix a typo.
701 2002-04-07 H.J. Lu <hjl@lucon.org>
703 * configure.in (VERSION): Set to "1.0.1".
704 * configure: Regenerated.
705 * nfs-utils.spec: Likewise.
707 * README: Updated for 1.0.1.
709 2002-04-07 Sean O'Connell <sean@ee.duke.edu>
710 H.J. Lu <hjl@lucon.org>
712 * etc/redhat/nfs.init: Read /etc/sysconfig/nfsd for NFS tuning.
714 2002-02-28 Steven Whitehouse <steve@gw.chygwyn.com>
715 NeilBrown <neilb@cse.unsw.edu.au>
717 Add support for fsid=nn export option so that device
718 numbers don't go in filehandles.
719 * support/export/nfsctl.c(expsetup): if exporting and NFSEXP_FSID
720 is set, pass the fsid in-place of the device number
721 * support/nfs/exports.c: parse and print fsid= option.
722 Also check if efname has been set, and use "command line"
723 instead in error messages.
724 Also, use strtol instead of atoi for anon[ug]id= so that
725 bad numbers cause errors.
727 2002-01-17 Adrian Drzewiecki <drze@MissionCriticalLinux.com>
728 NeilBrown <neilb@cse.unsw.edu.au>
730 * support/nfs/exports.c: remove NFSEXP_ASYNC as a default
731 flag so that "sync" becomes the default.
732 Check that either "sync" or "async" is given as an option
733 and warn if neither are present
734 * utils/exportfs/exports.man: change documentation for "sync"
735 to be documentation for "async".
736 * utils/exportfs/exportfs.man: note that "sync" is the default
740 2002-01-02 Chip Salzenberg <chip@pobox.com>
742 * support/export/nfsctl.c (expsetup): Don't export entries that
743 specify id mappings not supported by the kernel. No extant kernel
744 supports any significant mapping, only 'identity' (i.e. none).
745 When other mappings are supported, this code will need changing.
746 * debian/changelog: Version 1.0-2.
748 2001-12-26 Chip Salzenberg <chip@pobox.com>
750 * nfs-utils.spec (Version): Set to "1.0".
751 * configure.in (VERSION): Likewise.
752 * configure: Regenerated.
754 * debian/changelog: Version 1.0-1.
756 * utils/exportfs/exports.man: Emphasize the need for options to
757 immediately follow client names. Explain that wildcards don't
758 usually work on addresses, but may work when reverse DNS fails.
759 Comment out a leftover TP that was TPing our indentation.
760 * utils/mountd/mountd.man, utils/rquotad/rquotad.man,
761 utils/statd/statd.man: Remove refs to non-existent "hosts_allow(5)".
762 * debian/changelog: Version 0.3.3-6.
764 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
766 * support/export/client.c(client_lookup): If a host has multiple
767 IP addresses, then we must always use the result of a
768 gethostbyname, not that of gethostbyaddr for exporting
770 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
772 * support/export/client.c (client_lookup): use strcasecmp when
774 * support/nfs/export.c (getexportent): add fromkernel arg and use
775 different defaults as kernels prior to 2.4.11 assume different
776 defaults in /proc/fs/nfs/exports
777 * support/include/nfslib.h, support/export/export.c,
778 support/export/xtab.c: support extra "fromkernel" arg for
781 2001-12-13 Chip Salzenberg <chip@pobox.com>
783 * debian/changelog: Version 0.3.3-5.
785 2001-11-26 TAKAI Kousuke <takai@vlsi.kuee.kyoto-u.ac.jp>
787 * support/nfs/xio.c (xskip): Call `xungetc' instead of
788 `ungetc' to keep x_line more properly.
790 2001-11-26 Chip Salzenberg <chip@pobox.com>
792 * utils/showmount/showmount.c (main): Don't assume that strings
793 starting with digits are IP addresses.
794 * utils/nfsd/nfsd.c (main): Close all fds and reopen 0,1,2 on
795 /dev/null before nfssvc(). Use syslog to report nfssvc errors.
796 * support/misc/tcpwrapper.c, utils/mountd/mountd.man,
797 utils/rquotad/rquotad.man, utils/statd/statd.man: Fix comments and
798 man pages: We check host names *and* addresses with tcpwrappers.
799 * debian/changelog: Version 0.3.3-4.
801 2001-11-21 Chip Salzenberg <chip@pobox.com>
803 * support/nfs/clients.c (cfname): Added: current clients file name.
804 (setnfsclntent): Set it.
805 ({get,end}nfsclntent, syntaxerr): Use it.
806 * support/nfs/exports.c (efname): Added: current exports file name.
807 (setnfsexportent): Set it.
808 (endnfsexportent, parseopts, getexport, syntaxerr): Use it.
809 (parseopts): Accept old-style "crossmnt" option, for old xtabs.
810 * debian/changelog: Version 0.3.3-3.
812 2001-10-11 Chip Salzenberg <chip@pobox.com>
814 * utils/mountd/mountd.c (main): Close fds > 2 _before_ RPC init.
815 * debian/changelog: Version 0.3.3-2.
817 2001-10-08 Chip Salzenberg <chip@pobox.com>
819 * utils/mountd/mountd.c (main): When daemonizing, close all fds > 2.
820 * utils/Makefile.in: Remove old Makefile in target 'distclean'.
821 * utils/mountd/mountd.man: Update paths to /var/lib.
822 * debian/*: Version 0.3.3-1, with Debian-specific fixes.
824 2001-10-06 Preston Brown <pbrown@redhat.com>
826 * utils/nfsstat/nfsstat.man: Updated.
828 2001-09-24 H.J. Lu <hjl@lucon.org>
830 * configure.in (VERSION): Set to "0.3.3".
831 * configure: Regenerated.
832 * nfs-utils.spec: Likewise.
834 * README: Updated for 0.3.3.
836 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
838 Arrange that "exportfs -au" never does DNS lookup:
840 * support/export/client.c (client_lookup) : add "canonical"
841 flag which says that the hostname is known to be canonical, so
844 * support/export/export.c (export_create) : add "canonical"
845 flag to be passed down to client_lookup
846 * support/export/export.c (export_lookup) : Likewise
848 * support/export/xtab.c (xtab_read) : pass appropriate
849 "canonical" flag to export_lookup and export_create:
850 set if reading list of filesystems currently exports
853 * support/export/export.c (export_read) : pass 0 as
854 "canonical" flag to export_lookup and export_create
855 * support/export/rmtab.s (rmtab_read) : Likewise
857 * support/include/exportfs.h : redeclare various routines
858 to have "canonical" flag
860 * utils/exportfs/exportfs.c (main) : redo logic for
861 "-au" to read in what is currently exported, but never even
862 look at what "should" be exported.
864 * utils/exportfs/exportfs.c (unexportall) : remove this
865 routine. Functionality is completely included in
868 * utils/exportfs/exportfs.c (exportfs) : set "canonical"
869 flag to zero in calls to export_lookup and export_create.
872 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
873 Anne Milicia <milicia@missioncriticallinux.com>
875 * support/export/client.c (client_lookup) call gethostbyadd
876 to make sure that we have a canonical hostname, even for
878 * utils/exportfs/exportfs.c (exportfs) Likewise
880 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
882 * support/nfs/exports.c (putexportent): \octal quote any spaces
884 * support/nfs/xio.c (xgettok): recognise double-quote and
885 \octal quoting in path names
886 * utils/exportfs/exports.man: document quoting conventions
889 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
891 * utils/mountd/auth.c (auth_authenticate_internal): Reverse
892 change from 2000-08-02: It causes problems if someone exports
893 to both a hostname and IP addresses. nfs-utils must be
894 consistant about the canonical name that it chooses.
896 2001-08-17 Ragnar Kjørstad <nfs@ragnark.vestdata.no>
897 H.J. Lu <hjl@lucon.org>
899 * etc/redhat/nfslock.init (STATDARG): New. Pass it to rpc.statd.
901 * utils/statd/statd.c (longopts): Add "name".
902 (usage): Add "-n/--name".
903 (main): Set MY_NAME with "-n/--name".
905 * utils/statd/state.c (change_state): Set MY_NAME only if it
908 * utils/statd/statd.man: Updated for "-n/--name".
910 2001-07-26 H.J. Lu <hjl@lucon.org>
912 * nfs-utils.spec (Release): Set to 8.
914 2001-07-25 H.J. Lu <hjl@lucon.org>
916 * etc/redhat/nfs.init: Check if rpc.rquotad exists before doing
919 2001-06-27 H.J. Lu <hjl@lucon.org>
921 * etc/redhat/nfs.init: Run rpc.rquotad only if it exists.
923 2001-06-27 H.J. Lu <hjl@lucon.org>
925 * utils/rquotad/rquota_server.c: Don't call statfs () for
926 the block size. Use BLOCK_SIZE instead.
928 2001-06-27 H.J. Lu <hjl@lucon.org>
930 * config.mk.in (CC_FOR_BUILD): Renamed from BUILD_CC.
931 (CFLAGS_FOR_BUILD): New. Don't use @CFLAGS@.
933 * configure.in (enable_nfsv3): Set to yes by default.
934 (--enable-rquotad): Added
935 (AC_PROG_CXX): Removed.
936 (AC_OUTPUT): Add utils/Makefile.
937 (CC_FOR_BUILD): Renamed from BUILD_CC.
938 * configure: Regenerated.
940 * utils/Makefile: Removed.
942 * utils/Makefile.in: New.
944 * nfs-utils.spec.in (rquotad): New. Set to 0 to disable
946 (CC_FOR_BUILD): Renamed from BUILD_CC.
947 * nfs-utils.spec: Regenerated.
949 2001-06-15 Chip Salzenberg <chip@debian.org>
951 * debian/changelog: Version 0.3.2-2.
952 * debian/*.init: Minor fixes.
954 2001-06-07 Lon H. Hohberger <hohberger@missioncriticallinux.com>
956 * etc/nodist/nfs-server: Fixed a bug where the script would
957 disable mounts from NFSv3 clients if NFSv3 is present.
959 2001-06-05 H.J. Lu <hjl@lucon.org>
961 * utils/mountd/mountd.c (longopts): Add "descriptors/o".
962 (main): Support --descriptors/-o to set the limit of the number
963 of open file descriptors.
966 * utils/mountd/mountd.man: Updated for --descriptors/-o.
968 2001-06-04 H.J. Lu <hjl@lucon.org>
970 * nfs-utils.spec (Release): Set to 6.
972 2001-05-28 H.J. Lu <hjl@lucon.org>
974 * utils/lockd/lockd.c (main): chdir to NFS_STATEDIR.
975 * utils/mountd/mountd.c (main): Likewise.
976 * utils/nfsd/nfsd.c (main): Likewise.
977 * utils/rquotad/rquota_svc.c (main): Likewise.
979 2001-05-06 Anne Milicia <milicia@missioncriticallinux.com>
981 * support/export/client.c (client_check): Check IP address
984 2001-05-06 Neil Brown <neilb@cse.unsw.edu.au>
986 * support/export/client.c (client_gettype): Treat `*' as
989 2001-04-22 H.J. Lu <hjl@lucon.org>
991 * nfs-utils.spec.in: Fix a typo.
992 * nfs-utils.spec: Regenerated.
994 2001-04-21 H.J. Lu <hjl@lucon.org>
996 * nfs-utils.spec.in: Fix cross build.
997 * nfs-utils.spec: Regenerated.
1000 2001-04-18 H.J. Lu <hjl@lucon.org>
1002 * nfs-utils.spec.in: Support cross build.
1003 * nfs-utils.spec: Regenerated.
1004 (Release): Set to 4.
1007 * config.guess: New.
1009 * config.mk.in (BUILD_CC): New.
1010 (CC): Set to $(BUILD_CC) if BUILD is defined.
1013 (RANLIB): Set to @RANLIB@.
1015 * configure.in: Check BUILD_CC, RANLIB, AR and LD.
1016 * configure: Regenerated.
1018 * tools/rpcgen/Makefile (BUILD): Set to true.
1020 2001-04-01 Chip Salzenberg <chip@valinux.com>
1022 * tools/rpcgen/rpc_svcout.c (write_timeout_func): Remove
1023 redundant, and sometimes broken, declaration of svc_fdset;
1025 * support/nfs/rpcmisc.c (closedown): Likewise.
1027 2001-03-21 H.J. Lu <hjl@lucon.org>
1029 * nfs-utils.spec: Regenerated.
1030 (Release): Set to 3.
1032 2001-03-21 Ion Badulescu <ionut@cs.columbia.edu>
1034 * utils/statd/statd.c (main): make sure file descriptors 0-2
1035 are open to /dev/null.
1037 2001-03-21 H.J. Lu <hjl@lucon.org>
1039 * support/nfs/rpcmisc.c: Restore the change made on 2001-03-10.
1040 * support/nfs/rpcmisc.c: Likewise.
1041 * utils/rquotad/rquota_svc.c: Likewise.
1042 * utils/rquotad/rquotad.man: Likewise.
1043 * utils/statd/Makefile: Likewise.
1044 * utils/statd/rmtcall.c: Likewise.
1045 * utils/statd/simulate.c: Likewise.
1046 * utils/statd/statd.c: Likewise.
1047 * utils/statd/statd.man: Likewise.
1049 2001-03-11 H.J. Lu <hjl@lucon.org>
1051 * configure.in (RELEASE): New. Default to 1, set by
1052 --with-release=XXX. Substitute nfs-utils.spec.
1053 * nfs-utils.spec.in (Release): Set to @RELEASE@.
1054 * configure: Regenerated.
1055 * nfs-utils.spec: Likewise.
1057 2001-03-11 H.J. Lu <hjl@lucon.org>
1059 * utils/rquotad/rquotad.man: Fix a typo.
1061 2001-03-11 H.J. Lu <hjl@lucon.org>
1063 * support/include/rpcmisc.h: Undo the change made on 2001-03-10.
1064 * support/nfs/rpcmisc.c: Likewise.
1065 * utils/rquotad/rquota_svc.c: Likewise.
1066 * utils/rquotad/rquotad.man: Likewise.
1067 * utils/statd/Makefile: Likewise.
1068 * utils/statd/rmtcall.c: Likewise.
1069 * utils/statd/simulate.c: Likewise.
1070 * utils/statd/statd.c: Likewise.
1071 * utils/statd/statd.man: Likewise.
1073 2001-03-10 H.J. Lu <hjl@lucon.org>
1075 * configure.in (VERSION): Set to "0.3.2".
1076 * configure: Regenerated.
1077 * nfs-utils.spec: Likewise.
1079 * README: Updated for 0.3.2.
1081 2001-03-10 Tavis Barr <tavis@boole.isetr.columbia.edu>
1083 * utils/rquotad/rquotad.man: Updated for -p.
1084 * utils/statd/statd.man: Likewise.
1086 2001-03-10 Ion Badulescu <ionut@cs.columbia.edu>
1088 * support/nfs/rpcmisc.c: export makesock()
1090 * support/include/rpcmisc.h (makesock): Declared.
1092 * utils/rquotad/rquota_svc.c: added longopts, added support for
1093 specifying the port to bind to on the command line.
1095 * utils/statd/statd.c: ditto, also specify port used for
1096 outgoing connections.
1097 (do_regist): Removed.
1099 * utils/statd/rmtcall.c (statd_get_socket): Renamed from
1100 get_socket. Make it extern.
1102 * utils/statd/simulate.c (daemon_simulator): Call rpc_init
1103 instead of do_regist.
1105 * utils/statd/Makefile (LIBS): link with our own libnfs
1107 2001-03-09 H.J. Lu <hjl@lucon.org>
1109 * etc/redhat/nfslock.init: Changed chkconfig line to 60 86.
1110 * etc/nodist/nfs-client: Likewise.
1112 2001-02-26 Chip Salzenberg <chip@valinux.com>
1114 * debian/changelog: Version 0.3.1-1.
1115 * Mention upstream source and license in copyright file.
1116 * Add build-Depends for debhelper and libwrap0-dev.
1118 2001-02-20 Lon Hohberger <hohberger@missioncriticallinux.com>
1120 * etc/nodist/nfs-server: Changed chkconfig line to 60 20
1121 * etc/nodist/nfs-client: Likewise.
1123 2001-02-18 Lon Hohberger <hohberger@missioncriticallinux.com>
1125 * utils/statd/statd.man: Changed /usr/sbin/rpc.statd to
1128 2001-02-17 Patrick J. LoPresti <patl@curl.com>
1130 * utils/statd/log.c (log_init): Use LOG_DAEMON instead of
1133 2001-02-14 H.J. Lu <hjl@lucon.org>
1135 * utils/statd/rmtcall.c: Include <time.h>.
1136 * utils/statd/svc_run.c: Likewise.
1138 2001-02-14 H.J. Lu <hjl@lucon.org>
1140 * configure.in (VERSION): Set to "0.3.1".
1141 * configure: Regenerated.
1142 * nfs-utils.spec: Likewise.
1144 * README: Updated for 0.3.1.
1146 2001-02-14 H.J. Lu <hjl@lucon.org>
1148 * support/nfs/rpcmisc.c: Include <time.h>.
1150 2001-02-14 Chip Salzenberg <chip@valinux.com>
1152 * debian/control: Change priority of nhfsstone package to 'extra'.
1154 2001-02-12 Chip Salzenberg <chip@valinux.com>
1156 * debian/changelog: Version 0.3-2.
1158 2001-02-02 H.J. Lu <hjl@lucon.org>
1160 * support/include/rpcmisc.h (rpc_init): Remove bufsize.
1162 * support/nfs/rpcmisc.c (makesock): Remove socksz and comment
1163 out SO_SNDBUF/SO_RCVBUF.
1164 (rpc_init): Remove bufsize and remove socksz in calls to
1167 * utils/mountd/mountd.c (main): Remove bufsize in calls to
1170 2001-01-28 Chip Salzenberg <chip@valinux.com>
1172 * debian/changelog: Version 0.3-1.
1174 2001-01-25 H.J. Lu <hjl@lucon.org>
1176 * configure.in (VERSION): Set to "0.3".
1177 * configure: Regenerated.
1178 * nfs-utils.spec: Likewise.
1180 * README: Updated for 0.3.
1182 2001-01-25 H.J. Lu <hjl@lucon.org>
1184 * utils/lockd/lockd.c (main): Ignore errno == EINVAL.
1186 2001-01-20 Chip Salzenberg <chip@valinux.com>
1188 * support/include/xio.h (xgetc): Declare to return int.
1189 * support/nfs/xio.c (xgetc): Return int.
1190 (xgettok, xskip, xskipcomment): Use int for value of xgetc.
1191 * utils/statd/statd.c (main): Use int for value of getopt.
1192 * debian/changelog: Version 0.2.1-5.
1194 2000-12-10 Chip Salzenberg <chip@valinux.com>
1196 * utils/statd/monitor.c (sm_mon_1_svc): Fix buggy check for
1197 program and procedure numbers of kernel lockd's callback. Also,
1198 besides the old (and broken) procedure #24, allow #16 per Trond.
1200 2000-12-03 Chip Salzenberg <chip@valinux.com>
1202 * support/nfs/xio.c (xfopen): Initialize x_line to one, not zero.
1203 * debian/control: Let nhfsstone replace files in nfs-kernel-server.
1204 * debian/changelog: Version 0.2.1-4.
1206 2000-11-27 Tobias Ringstrom <tori@tellus.mine.nu>
1208 * utils/mountd/auth.c (auth_authenticate): Log the bad path
1211 2000-11-24 Neil Brown <neilb@cse.unsw.edu.au>
1213 * support/nfs/exports.c (getexportent): Check for host name
1214 without option, or options without hostname, and print a warning,
1215 as this is most likely a typo.
1217 2000-11-19 Chip Salzenberg <chip@valinux.com>
1219 * debian/control: Add dependency on portmap.
1220 * debian/changelog: Version 0.2.1-3.
1222 2000-11-10 H.J. Lu <hjl@lucon.org>
1224 * nfs-utils.spec.in: Don't use libtool.
1225 Add ChangeLog and COPYING to doc.
1226 * nfs-utils.spec: Rebuild.
1228 2000-11-09 H.J. Lu <hjl@lucon.org>
1230 * etc/redhat/nfs.init (start): Back out the last change.
1232 2000-11-09 H.J. Lu <hjl@lucon.org>
1234 * etc/redhat/nfs.init (start): Pass --no-tcp to mountd if
1235 TCP is not supported by kernel.
1237 * support/nfs/rpcmisc.c (rpc_init): Don't set _rpcfdtype to 0.
1239 * utils/mountd/mountd.c (longopts): Add "-n/--no-tcp".
1240 (main): Set to _rpcfdtype to SOCK_DGRAM for "-n/--no-tcp".
1242 * utils/mountd/mountd.man: Updated for "-n/--no-tcp".
1244 2000-10-24 Lon Hohberger <hohberger@missioncriticallinux.com>
1246 * utils/statd/callback.c: Fix bug preventing callbacks to local lockd.
1247 * utils/statd/rmtcall.c: Add some IP address paranoia when doing
1248 callbacks to local lockd.
1250 2000-10-18 Scott McDermott <mcdermot@questra.com>
1252 * utils/exportfs/exports.man: Updated for CIDR netmask.
1254 2000-10-17 Scott McDermott <mcdermot@questra.com>
1256 * support/export/client.c (client_init): Support CIDR netmask
1259 2000-10-11 H.J. Lu <hjl@lucon.org>
1261 * aclocal.m4 (AC_TCP_WRAPPER): Fix a typo.
1262 * configure: Rebuilt.
1264 2000-10-06 Lon Hohberger <hohberger@missioncriticallinux.com>
1266 * utils/statd/statd.man: Change "/var/lib/nfs/sm/state" to
1267 "/var/lib/nfs/state".
1269 2000-10-05 Lon Hohberger <hohberger@missioncriticallinux.com>
1271 * utils/statd/statd.h (run_mode): New global bitmask of runtime
1272 behaviors: fg/bg, logging, etc.
1273 * utils/statd/statd.c: New command line options: -V -h -? -d .
1274 * utils/statd/statd.man: Update for changes to statd.
1276 * utils/statd/log.h (log_init): Remove parameter of function; use
1277 global variable "name_p" instead.
1278 * utils/statd/log.c: Add support for logging to stderr.
1280 * utils/statd/notlist.c: Partially rewrite notify list handling
1281 functions. Eliminate run-off-end-of-list bug when calling
1282 nlist_insert_timer. Add lots of comments.
1284 2000-09-27 H.J. Lu <hjl@lucon.org>
1286 * README: Updated for RedHat 7.0.
1288 2000-09-27 H.J. Lu <hjl@lucon.org>
1290 * nfs-utils.spec: Rebuild.
1292 2000-09-27 H.J. Lu <hjl@lucon.org>
1294 * README: Updated for 0.2.1.
1296 2000-09-27 H.J. Lu <hjl@lucon.org>
1298 * nfs-utils.spec.in: Updated to use rpm macros and support
1301 2000-09-25 H.J. Lu <hjl@lucon.org>
1303 * configure.in (VERSION): Set to "0.2.1".
1304 * configure: Regenerated.
1305 * nfs-utils.spec: Updated.
1307 2000-09-25 H.J. Lu <hjl@lucon.org>
1309 * utils/mountd/auth.c (auth_authenticate_internal): Make sure a
1310 non-NULL hostent is always returned.
1312 2000-09-11 Ion Badulescu <ionut@cs.columbia.edu>
1314 * etc/redhat/nfslock.init: don't kill lockd processes that do not
1315 have an executable (i.e. kernel threads)
1317 2000-09-01 H.J. Lu <hjl@lucon.org>
1319 * README: Updated for 0.2.
1321 2000-09-01 Jay Weber <jweber@valinux.com>
1323 * etc/redhat/nfs.init: Added ability for rpc.mountd to default to
1324 supporting version 3 of nfs if available, else it will fall back to
1325 version 2 support only.
1327 2000-08-30 H.J. Lu <hjl@lucon.org>
1329 * configure.in (VERSION): Set to "0.2".
1330 * configure: Regenerated.
1331 * nfs-utils.spec: Updated.
1333 2000-08-25 H.J. Lu <hjl@lucon.org>
1335 * support/misc/tcpwrapper.c (logit): Modify the log output.
1337 2000-08-25 Ion Badulescu <ionut@cs.columbia.edu>
1339 * utils/rquotad/rquotad.man, utils/statd/statd.man,
1340 utils/mountd/mountd.man: updated
1342 * utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL)
1343 * utils/rquotad/Makefile: fix comment
1345 * support/misc/tcpwrapper.c (logit): added comment about waiting
1346 for the children after fork()
1348 * utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving
1349 zombies behind (from logit()'s fork)
1350 * utils/rquotad/rquota_svc.c (main): ditto
1351 * utils/statd/statd.c (main): ditto
1353 * utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG
1354 to check_default instead of 0, for prognum
1356 * utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG
1357 to check_default instead of 0, for prognum
1359 * utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if
1360 HAVE_TCP_WRAPPER is defined.
1361 (mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is
1362 defined. Reject an RPC call if check_default () fails.
1364 2000-08-25 H.J. Lu <hjl@lucon.org>
1366 * support/include/tcpwrapper.h: New for the tcp wrapper
1368 * support/misc/Makefile: Likewise.
1369 * support/misc/from_local.c: Likewise.
1370 * support/misc/tcpwrapper.c: Likewise.
1372 * aclocal.m4 (AC_TCP_WRAPPER): New.
1373 * configure.in: Use it. Substitute LIBWRAP.
1374 * configure: Rebuilt.
1376 * config.mk.in (LIBNSL): New.
1377 (LIBWRAP): Likewise.
1379 * support/Makefile (SUBDIRS): Add misc.
1381 * support/lib/Makefile (LIBS): Add libmisc.a.
1383 * utils/rquotad/Makefile (LIBS): Add
1385 -lmisc $(LIBWRAP) $(LIBNSL)
1387 * utils/statd/Makefile (LIBS): Likewise.
1389 * utils/rquotad/rquota_svc.c: Include "tcpwrapper.h" if
1390 HAVE_TCP_WRAPPER is defined.
1391 (rquotaprog_1): Call check_default () if HAVE_TCP_WRAPPER is
1392 defined. Reject an RPC call if check_default () fails.
1394 * utils/statd/statd.c: Include "tcpwrapper.h" if
1395 HAVE_TCP_WRAPPER is defined.
1396 (sm_prog_1_wrapper): New. A wrapper for sm_prog_1. Call
1397 check_default () before calling sm_prog_1 (). Define it as
1398 sm_prog_1_wrapper if HAVE_TCP_WRAPPER is defined.
1400 2000-08-25 Chip Salzenberg <chip@valinux.com>
1402 * debian/*: Complete Debian build support.
1403 * etc/debian/*: Remove.
1405 2000-08-24 Neil Brown <neilb@cse.unsw.edu.au>
1407 * support/export/client.c(client_check): removed the "dot+1" as a
1408 ypdomain argument to innetgr as this is entirely bogus.
1409 It should always be NULL.
1411 2000-08-23 Neil Brown <neilb@cse.unsw.edu.au>
1413 * support/export/xtab.c(xtab_read): introduce new mode for
1414 reading xtab. i.e. a list of exports that might be known to the
1415 kernel, or might not. These are flagged as m_exported == -1
1416 * support/export/xtab.c(xtab_mount_read): call xtab_read with new
1417 value "2" for xtab, meaning don't trust this too much.
1418 * support/include/exportfs.h(struct mexport): changed m_exported
1419 from one bit to an int so that it can hold new value
1420 * utils/exportfs/exportfs.c(exportfs_ipdate): add an export to the
1421 kernel if it is uncertain whether the kernel knows (m_exported == -1)
1422 * utils/mountd/mountd.c(get_rootfh): similarly export to kernel if
1425 * support/nfs/xio.c(xflock): added O_CREAT when getting
1426 a write lock so that missing files aren't fatal.
1428 * etc/debian/nfs-common: new file from "potato"
1429 * etc/debian/nfs-kernel-server: new file from "potato" plus fixes.
1431 2000-08-09 H.J. Lu <hjl@lucon.org>
1433 * etc/redhat/nfs.init: Run /usr/sbin/exportfs first during
1434 startup to ensure all existing clients work fine.
1436 * support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0
1437 to xtab_read () for reading _PATH_XTAB.
1439 2000-08-02 H.J. Lu <hjl@lucon.org>
1441 * utils/mountd/auth.c (auth_authenticate_internal): Try to
1442 avoid the reverse name lookup.
1444 2000-07-04 H.J. Lu <hjl@lucon.org>
1446 * utils/statd/log.c: Include <stdlib.h> for exit ().
1448 * utils/statd/misc.c (xunlink): Add `{' and `}' to quiet the
1451 2000-07-04 H.J. Lu <hjl@lucon.org>
1453 * configure.in (VERSION): Set to "0.1.9.1".
1454 * configure: Regenerated.
1455 * nfs-utils.spec: Updated.
1459 2000-07-04 Neil Brown <neilb@cse.unsw.edu.au>
1461 * support/export/hostname.c (hostent_dup): Handle the NULL
1464 2000-07-03 H.J. Lu <hjl@lucon.org>
1466 * README: Update the util-linux requirement.
1468 2000-07-03 H.J. Lu <hjl@lucon.org>
1470 * configure.in (VERSION): Set to "0.1.9".
1471 * configure: Regenerated.
1472 * nfs-utils.spec: Updated.
1476 2000-07-03 H.J. Lu <hjl@lucon.org>
1478 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
1479 stop to ensure all clients can still access the server
1480 before it is shutdown.
1482 2000-06-30 Jeff Uphoff <juphoff@transmeta.com>
1484 * tools/rpcgen/rpc_svcout.c (write_msg_out): Generate syslog()
1485 calls with format string.
1487 2000-06-28 Chip Salzenberg <chip@valinux.com>
1489 * utils/statd/log.c (log): Call syslog with format string.
1491 2000-06-27 H.J. Lu <hjl@lucon.org>
1493 * utils/statd/statd.c (main): Use sysconf (_SC_OPEN_MAX)
1494 instead of OPEN_MAX.
1496 2000-06-27 H.J. Lu <hjl@lucon.org>
1500 2000-06-27 H.J. Lu <hjl@lucon.org>
1502 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
1503 startup to ensure all existing clients are exported.
1505 * configure.in (VERSION): Set to "0.1.8.2".
1506 * configure: Regenerated.
1507 * nfs-utils.spec: Updated.
1509 2000-06-06 H.J. Lu <hjl@lucon.org>
1511 * configure.in (VERSION): Set to "0.1.8.1".
1512 * configure: Regenerated.
1513 * nfs-utils.spec: Updated.
1515 2000-06-06 H.J. Lu <hjl@lucon.org>
1517 * utils/mountd/mountd.c (mount_dump_1_svc): Cast svc_getcaller
1518 to "struct sockaddr_in *" for glibc 2.2.
1519 (mount_umnt_1_svc): Likewise.
1520 (mount_umntall_1_svc): Likewise.
1521 (mount_export_1_svc): Likewise.
1522 (mount_exportall_1_svc): Likewise.
1523 (mount_pathconf_2_svc): Likewise.
1524 (get_rootfh): Likewise.
1526 2000-06-04 H.J. Lu <hjl@lucon.org>
1528 * etc/redhat/nfs.init: Fix a typo in comment.
1530 2000-05-31 H.J. Lu <hjl@lucon.org>
1532 * configure.in (VERSION): Set to "0.1.8".
1533 * configure: Regenerated.
1534 * nfs-utils.spec: Updated.
1538 2000-05-31 H.J. Lu <hjl@lucon.org>
1540 * configure.in (VERSION): Set to "0.1.7.5".
1541 * configure: Regenerated.
1542 * nfs-utils.spec: Updated.
1544 * support/include/nfslib.h (exportent): Add a new field,
1545 r_count, to count the number of mounts from a client.
1546 (getrmtabent): Take a new argument for position in file.
1547 (putrmtabent): Likewise.
1548 (fgetrmtabent): Likewise.
1549 (fputrmtabent): Likewise.
1550 * support/nfs/rmtab.c (getrmtabent): Handle the new argument
1551 for position in file.
1552 (fgetrmtabent): Likewise.
1553 (putrmtabent): Likewise.
1554 (fputrmtabent): Likewise.
1556 * support/nfs/rmtab.c (fgetrmtabent): Get value for the new
1559 * support/export/rmtab.c (rmtab_read): Pass NULL as the new
1560 argument to getrmtabent (), fgetrmtabent (), putrmtabent ()
1561 and fputrmtabent ().
1562 * utils/mountd/rmtab.c (mountlist_add): Likewise.
1563 (mountlist_del): Likewise.
1564 (mountlist_del_all): Likewise.
1565 (mountlist_list): Likewise.
1567 * utils/mountd/rmtab.c (mountlist_add): Increment "r_count"
1568 for the existing entry and initialize "r_count" to 1.
1569 (mountlist_del): Decrement "r_count".
1571 2000-05-18 H.J. Lu <hjl@lucon.org>
1573 * configure.in (VERSION): Set to "0.1.7.4".
1574 * configure: Regenerated.
1575 * nfs-utils.spec: Updated.
1577 2000-05-18 H.J. Lu <hjl@lucon.org>
1579 * etc/redhat/nfs.init (restart): Just do stop and start.
1581 2000-05-09 Jay Weber <jweber@valinux.com>
1583 * utils/rquotad/hasquota.c: added support for ext3 recognition
1585 * utils/rquotad/mntent.h: Likewise.
1587 2000-05-01 H.J. Lu <hjl@lucon.org>
1589 * configure.in (VERSION): Set to "0.1.7.3".
1590 * configure: Regenerated.
1591 * nfs-utils.spec: Updated.
1593 2000-05-01 H.J. Lu <hjl@lucon.org>
1595 * utils/rquotad/rquota_server.c (getquotainfo): Skip bad
1596 mounting poins in /etc/fstab.
1598 2000-05-01 H.J. Lu <hjl@lucon.org>
1600 * configure.in (VERSION): Set to "0.1.7.2".
1601 * configure: Regenerated.
1602 * nfs-utils.spec: Updated.
1604 2000-05-01 H.J. Lu <hjl@lucon.org>
1606 * utils/rquotad/rquota_server.c (getquotainfo): Call stat ()
1607 to check for the mounting point.
1609 2000-04-29 Chip Salzenberg <chip@valinux.com>
1610 Neil Brown <neilb@cse.unsw.edu.au>
1612 * Really re-use RPC ports.
1613 (Fixes earlier patch. Sorry, Neil.)
1615 2000-04-26 H.J. Lu <hjl@lucon.org>
1617 * configure.in (VERSION): Set to "0.1.7.1".
1618 * configure: Regenerated.
1619 * nfs-utils.spec: Updated.
1621 2000-04-26 H.J. Lu <hjl@lucon.org>
1623 * etc/redhat/nfslock.init: Check if lockd exits before killing
1626 2000-04-25 H.J. Lu <hjl@lucon.org>
1628 * README: Require util-linux-2.10f-mount-rpc.patch for mount.
1630 2000-03-21 Michael Weiser <michael@weiser.saale-net.de>
1632 * support/nfs/exports.c (parsesquash): Correctly set the
1635 Tue Mar 21 11:38:48 EST 2000 NeilBrown <neilb@cse.unsw.edu.au>
1637 * support/include/nfs/nfs.h: Removed knowledge of internals of
1638 kernel filehandles (which can change) and defined nfs_fh_size
1639 which has variable size
1641 * support/nfs/getfh.c: defined getfh_size to use new syscall to
1642 get variable sized file handles, and change getfh{,old} to
1645 * utils/mountd/mountd.c: use nfd_fh_size and call getfh_size for
1648 * tools/Makefile, tools/nlmtest/nlmtest.c
1649 nlmtest.c depended on internel format of file handles, so now
1653 2000-03-12 Chip Salzenberg <chip@valinux.com>
1654 Neil Brown <neilb@cse.unsw.edu.au>
1656 * support/nfs/rpcmisc.c (rpc_init): Share transports.
1658 2000-03-13 H.J. Lu <hjl@lucon.org>
1660 * etc/redhat/nfsd.init: Updated.
1662 * etc/redhat/nfslock.init: Updated.
1664 * nfs-utils.spec.in: Updated.
1666 * configure.in (VERSION): Set to "0.1.7".
1667 * configure: Regenerated.
1668 * nfs-utils.spec: Updated.
1672 Wed Mar 8 09:42:43 2000 Neil Brown <neilb@cse.unsw.edu.au>
1674 * utils/exportfs/exportfs.c (dump): Included printing of
1675 nohide, no_subtree_check, and insecure_locks
1677 2000-02-26 Chip Salzenberg <chip@valinux.com>
1679 * config.mk.in (INSTALLSUID): Strip ("-s").
1680 (INSTALLSCRIPT): Define.
1681 * utils/nhfsstone/Makefile: Use it.
1683 2000-02-26 Chip Salzenberg <chip@valinux.com>
1685 * utils/lockd/lockd.man: Create.
1686 * utils/lockd/Makefile: Install it.
1687 * utils/nhfsstone/nhfs{run,nums,graph}.man: Create.
1688 * utils/nhfsstone/nhfsstone.man: Change suffix from ".1".
1689 * utils/nhfsstone/Makefile: Install the helper scripts and
1691 * utils/exportfs/exports.man: Fix typo.
1693 2000-02-26 Chip Salzenberg <chip@valinux.com>
1695 * support/nfs/xio.c (xungetc): Decrement line number when
1696 character to unget is newline. Make first parameter int, so
1697 it can distinguish EOF from \377.
1698 * support/include/xio.h (xungetc): Adjust prototype.
1700 Fri Feb 4 23:42:23 2000 Neil Brown <neilb@cse.unsw.edu.au>
1702 * support/include/nfs/export.h: added NFSEXP_NOAUTHNLM
1703 * support/nfs/exports.c: added handling for NFSEXP_NOAUTHNLM
1704 * utils/exportfs/exports.man: added documentation for no_auth_nlm.
1706 This is for supporting a new option introduced in 2.3.42
1708 Thu Feb 3 14:55:48 2000 H.J. Lu <hjl@lucon.org>
1710 * COPYING: Added. GPL.
1712 Thu Feb 03 14:40:40 2000 Cristian Gafton <gafton@redhat.com>
1714 * utils/rquotad/rquota_server.c (getquotainfo): Call statfs ()
1715 to get the block size.
1717 Tue Jan 25 11:04:17 2000 H.J. Lu <hjl@lucon.org>
1719 * nfs-utils.spec.in: Update ftp site.
1721 Mon Jan 17 11:48:18 2000 H.J. Lu <hjl@lucon.org>
1723 * README: Update hostnames.
1725 Tue Jan 11 10:06:22 2000 H.J. Lu <hjl@lucon.org>
1727 * configure.in (VERSION): Set to "0.1.6".
1728 * configure: Regenerated.
1729 * nfs-utils.spec: Updated.
1733 Mon Jan 10 14:26:33 2000 H.J. Lu <hjl@lucon.org>
1735 * utils/mountd/auth.c (auth_authenticate_internal): Call
1736 xstrdup for hostname before passing it to gethostbyname.
1738 * utils/mountd/mountd.c (get_exportlist): Use xstrdup instead
1741 Sun Dec 19 09:35:01 1999 H.J. Lu <hjl@lucon.org>
1743 * README: Update the mailing list address.
1745 Sun Dec 19 09:22:28 1999 H.J. Lu <hjl@lucon.org>
1747 * configure.in (VERSION): Set to "0.1.5".
1748 * configure: Regenerated.
1749 * nfs-utils.spec: Updated.
1753 Mon Dec 13 13:40:20 1999 H.J. Lu <hjl@lucon.org>
1755 * utils/rquotad/hasquota.c (hasquota): Malloc one more char
1758 Mon Dec 6 09:42:45 1999 H.J. Lu <hjl@lucon.org>
1760 * configure.in (VERSION): Set to "0.1.4".
1761 * configure: Regenerated.
1762 * nfs-utils.spec: Updated.
1766 Mon Dec 6 09:28:07 1999 H.J. Lu <hjl@lucon.org>
1768 * nfs-utils.spec.in: New file.
1770 * config.mk.in (VERSION): Changed to "nfs-utils @VERSION@".
1772 * configure.in (nfs-utils.spec): Added to AC_OUTPUT.
1774 1999-12-04 Chip Salzenberg <chip@valinux.com>
1776 * config.mk.in: Use $(CC) as set by configure.
1778 1999-12-04 Chip Salzenberg <chip@valinux.com>
1780 * rules.mk: Call $(MAKE) with $(MFLAGS).
1782 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1784 * tools/rpcgen/rpc_main.c (h_output): Generate IXDR_GET_INT32,
1785 IXDR_PUT_INT32, IXDR_GET_U_INT32 and IXDR_PUT_U_INT32.
1787 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1789 * nfs-utils.spec (Version): Set to 0.1.3.
1791 * configure.in (VERSION): Set to "nfs-utils 0.1.3".
1792 * configure: Regenerated.
1796 Mon Nov 29 11:15:47 1999 H.J. Lu <hjl@lucon.org>
1798 * utils/rquotad/rquota_server.c (nfsmount_to_devname): Removed.
1799 (_PATH_DEV_DSK): Likewise.
1800 (getquotainfo): Match the mounting point from /etc/mtab
1801 instead of calling nfsmount_to_devname ().
1803 1999-11-24 Chip Salzenberg <chip@valinux.com>
1805 * utils/statd/monitor.c (sm_mon_1_svc): Accept lockd callbacks
1806 to the new port 24 as well as the historical port 100021.
1808 Tue Nov 23 10:21:34 1999 Neil Brown <neilb@cse.unsw.edu.au>
1810 * etc/redhat/nfsd.init (stop): moved exportfs -ua after
1811 stopping nfsd to stop spurious ESTALE on server shutdown.
1813 Tue Nov 23 10:13:39 1999 Neil Brown <neilb@cse.unsw.edu.au>
1815 * support/nfs/exports.c (parseopts): make copy of opt string
1816 before 'nul'ing out commas so that
1818 # exportfs -o option1,option2 hosta:/fs hostb:/fs
1820 applies both options to both exports.
1822 Thu Oct 28 12:55:42 1999 H.J. Lu <hjl@lucon.org>
1824 * README: Fix a few typos.
1826 * tools/rpcgen/rpc_cout.c (print_header): Use int32_t instead
1828 * tools/rpcgen/rpc_hout.c (pdefine): Likewise.
1829 * tools/rpcgen/rpc_main.c (c_initialize): Likewise.
1830 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1831 (unsigned_dec): Likewise.
1832 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1833 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1835 * tools/rpcgen/rpc_cout.c (emit_single_in_line): Use INT32
1837 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1838 (unsigned_dec): Likewise.
1839 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1840 * tools/rpcgen/rpc_scan.h (tok_kind): Likewise.
1841 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1843 Thu Oct 28 11:27:51 1999 Neil Brown <neilb@cse.unsw.edu.au>
1845 * support/include/nfs/export.h addedd NFSEXP_NOSUBTREECHECK
1846 * support/nfs/exports.c: added {no_,}subtree_check and changed
1848 * utils/exportfs/exports.man: added no_subtree_check and nohide
1849 and removed irrelevant stuff from unfsd.
1850 * support/export/rmtab.c: rmtab_read didn't quite do the right
1851 thing if a pathname from rmtab was a subdirectory of an export-point
1853 Tue Oct 26 17:22:40 1999 H.J. Lu <hjl@lucon.org>
1855 * README: Updated ftp site.
1857 Mon Oct 25 18:12:45 1999 H.J. Lu <hjl@lucon.org>
1859 * nfs-utils.spec (Version): Set to 0.1.2.
1861 * configure.in (VERSION): Set to "nfs-utils 0.1.2".
1862 * configure: Regenerated.
1866 Mon Oct 25 18:11:21 1999 H.J. Lu <hjl@lucon.org>
1868 * utils/mountd/auth.c (auth_error): Add "no_forward_dns".
1869 (auth_authenticate_internal): Check for NULL return on forward
1871 (auth_authenticate): Handle "no_forward_dns".
1873 Thu Oct 21 16:22:06 1999 H.J. Lu <hjl@lucon.org>
1875 * Version 0.1.1 released.
1877 * nfs-utils.spec (Version): Set to 0.1.1.
1879 * configure.in (VERSION): Set to "nfs-utils 0.1.1".
1880 * configure: Regenerated.
1884 Mon Oct 18 17:43:29 1999 H.J. Lu <hjl@lucon.org>
1886 * nfs-utils.spec (Obsoletes): Fixed a typo, change knfsd-client
1888 (Provides): Likewise.
1890 Mon Oct 18 14:56:22 1999 H.J. Lu <hjl@lucon.org>
1892 * Initial version 0.1 released.
1894 * configure.in (VERSION): Set to "nfs-utils 0.1".
1895 * configure: Regenerated.
1897 Mon Oct 18 14:54:57 1999 H.J. Lu <hjl@lucon.org>
1899 * utils/mountd/mountd.c (get_exportlist): Cleanup.
1901 * utils/exportfs/exportfs.c (unexport_all): Unexport from
1902 kernel only if the entry is exported to kernel.
1903 (unexportfs): Likewise.
1905 Wed Sep 08 16:49:32 1999 Neil Brown <neilb@cse.unsw.edu.au>
1907 1/ utils/mountd/rmtab.c::mountlist_list
1909 This routine stats the rmtab file to see if it has changed. It
1910 if has, it cleans up it's old copy of the data. But it still
1911 always re-read the file, thus returning multiple copies of the
1912 data on consecutive calls without intervening changes.
1913 "Showmount -a" didn't show this as it appears to sort/unique the
1914 data, but 'strace showmount -a' showed that the size of the
1915 datagram that it received grew.
1917 I moved the getrmtabent loop inside the mtime test.
1919 2/ utils/exportfs/exportfs.c
1921 Many routines used the m_path field of m_export instead of
1923 According to the comment in nfslib.h, m_path should only
1924 be used when processing a mount request (i.e. in mountd)
1925 where the mountpoint may be a subdirectory of the export point.
1927 I changed all occurances of m_path to e_path
1930 3/ utils/exportfs/exportfs.c:main
1932 extra arguments are not meaningful with -a or -r, but
1933 exportfs accepted them and then ignored the -a/-r, expect that
1934 -r would still unexport everything first.
1936 I generate an error if there are extra args and f_all
1938 4/ utils/exportfs/exportfs.c:main
1939 extract dump out as a special case.
1941 5/ utils/exportfs/exportfs.c
1942 made f_reexport a local variable.
1945 6/ utils/exportfs/exportfs.c:main,exportall
1947 support/export/rmtab.c
1948 only mayexport on newly created entries, don't set xtabent at all
1950 7/ support/include/nfslib.h
1952 add #define _PATH_PROC_EXPORTS to be /proc/fs/nds/exports
1954 8/ support/export/xtab.c
1956 xtab_mount_read loads data from _PATH_PROC_EXPORTS if it exists,
1960 9/ support/export/xtab.c
1962 xtab_mount_read now sets m_exported, and NOT
1963 xtabent and mayexport
1965 removed the append arguement from xtab_write as it was
1968 added is_export flag to xtab_write similar to xtab_read
1969 if is_export, only write entries with m_xtabent or m_addxtab
1970 if !is_export, only write entries with m_exported
1972 10/ support/export/export.c::export_allowed_internal
1974 added test for exp->m_mayexport, as the export tree
1975 may have entries that are no longer allowed to be exported,
1976 and so shouldn't caused deduced exported by rmtab_read
1978 11/ utils/exportfs/exportfs.c::main
1979 error checking of flags.
1981 12/ utils/exportfs/exportfs.c
1983 total rewrite of export and unexport logic.
1985 - build an exportslist of valid exports, based on
1986 current etab file and arguments,
1987 - read rmtab to instantiate relevant wild card entries
1988 - read etab to find out what is currently exported
1989 - synchronise intention with reality
1990 - write out etab and xtab
1993 discard the m_addxtab flag
1994 add m_changed flag so we know what to report in exportfs
1996 14/ utils/mountd/auth.c:auth_authenticate
1998 the value returned by gethostbyaddr was trusted.
2000 It now follows this with a call to gethostbyname
2001 and checks that the address is in the list.
2003 15/ support/export/nfsctl.c::cltsetup,expsetup
2005 force client names to lowercase as kernel is
2008 16/ quietened a few compiler warnings
2010 17/ support/export/client:client_lookup
2012 look for pre-existing client with same name before creating
2015 18/ support/include/exportfs.h
2017 The ordering of the MCL_* enum was:
2018 ANONYMOUS, FQDN, SUBNETWORK, WILDCARD, NETGROUP
2020 I moved ANONYMOUS to the end.
2022 The ordering is significant when an export entry is being searched for to
2023 match a given address. There are two problems with ANONYMOUS being first.
2025 1/ if a directory is exported rw to a couple of hosts and ro to everyone else,
2026 then the ro case will always be found first and the privileged hosts won't get
2028 2/ When mountd gets a request to mount an ANONYMOUSly exported tree, it creates a FQDN
2029 export entry for the specific host, and writes it to xtab.
2030 When another request comes from the same host, the ANONYMOUS entry is found again,
2031 before the new FQDN entry, so it creates another FQDN entry and writes it to xtab
2032 again. If causes bloat in xtab.
2034 Putting ANONYMOUS at the end reflects it's nature as a catch-all
2036 19/ utils/exportfs/exportfs.man
2037 many updates to the man page to reflect changes to the code
2039 -----------------------
2045 - allow exportfs to modify rmtab file
2046 - make sure kernel never gets two clients with same IP address
2047 - possible kernel should reject
2048 - needs to be some way to lookup client in kernel by IP address
2049 - maybe get kernel to do case-insensitive comparisons on client names
2050 - remove unused clients from kernel
2052 - change etab to xtab and xtab to xtab.active
2054 - timestamp and/or statd-stamp in rmtab for removing old entries.
2056 Mon Oct 18 11:48:07 1999 H.J. Lu <hjl@lucon.org>
2058 * linux-nfs: New directory.
2059 * linux-nfs/ChangeLog: Moved from ..
2060 * linux-nfs/INSTALL: Likewise.
2061 * linux-nfs/KNOWNBUGS: Likewise.
2062 * linux-nfs/NEW: Likewise.
2063 * linux-nfs/README: Likewise.
2064 * linux-nfs/THANKS: Likewise.
2065 * linux-nfs/TODO: Likewise.
2067 * Starting from knfsd 1.4.7.