1 2004-11-22 "J. Bruce Fields" <bfields@fieldses.org>
3 * tools/rpcdebug/rpcdebug.c: support aliases "nfsdebug" and
4 "nfsddebug" and update flag names.
5 * configure.in, nodist/* redhat/* nfs-utils.spec*: remove redhat
6 specific files (as no-one actually uses them, especially not
7 redhat), and the nodist /etc files (as they drift out-of-date, and
8 the debian directory provides a suitable example.
9 * utils/svcgssd_proc.c(get_ids): fix memory leak
10 * utils/svcgssd/svcgssd_proc.c: Rely on count of the number of
11 groups instead of using a special guard value to identify the end
13 * utils/idmapd/idmapd.c: don't allow Default domain and anon-uid
14 or -gid to be specified on command line.
15 * utils/idmapd/idmapd.c: improve error messages
16 * utils/idmapd/idmapd.c: Reopen nfsd files on sighup. Allows us
17 to start up client side only (even when nfsd module not loaded),
18 and then sighup later after insmodding nfsd module.
19 * utils/idmapd/idmapd.c: Make sure we catch all errors on
20 daemonizing by waiting for child to report succesfull startup
24 2004-11-22 NeilBrown <neilb@cse.unsw.edu.au>
26 * utils/exportfs/nfsd.man: corrected typo in .BR macro usage -
27 reported by Eric Raymond
29 2004-10-19 "J. Bruce Fields" <bfields@fieldses.org>
31 * support/gssapi/* support/rpc/* utils/gssd/* utils/svcgssd/* etc
32 initial support for GSSAPI authentication
34 2004-09-15 Neil Brown <neilb@cse.unsw.edu.au>
36 * utils/statd/monitor.c(sm_unmon_1_svc): is RESTRICTED_STATD, then
37 check IP address and force my_name to 127.0.0.1 to match
38 what happens in sm_mon_1_svc. This avoid spurious "erroneous
40 * utils/statd.monitor.c(sm_unmon_all_1_svc): likewise
42 2004-09-15 "J. Bruce Fields" <bfields@fieldses.org>
44 * Assorted changes to support "gss/*" style authentication
45 * utils/idmapd: new idmapd daemon for nfsv4 username lookup
47 2004-09-06 Trond Myklebust <trond.myklebust@fys.uio.no>
48 Neil Brown <neilb@cse.unsw.edu.au>
50 * utils/mountd/auth.c(auth_authenticate_internal): fix
51 uninitialsed variable problem (causes bad error messages).
53 2004-09-06 Paul Clements <paul.clements@steeleye.com>
54 Neil Brown <neilb@cse.unsw.edu.au>
56 * utils/mountd/mountd.c(main): support --ha-callout (-H) for
57 specifying a callout program
58 * utils/mountd/rmtab.c: Call ha_callout on mount/unmount
59 * utils/statd/monitor.c: Call ha_callout on add/del client
60 * utils/statd/rmtcall.c: as above
61 * utils/statd/statd.c: handle --ha-callout (-H)
62 * utils/statd/svc_run.c: call notify_hosts is we have received a
64 * support/include/ha-callout.h: define ha_callout function
67 2004-08-31 NeilBrown <neilb@cse.unsw.edu.au>
68 * utils/mountd/cache.c(cache_process_req): clear fd after
69 processing so as not to confused libc/sunrpc into thinking
70 it need to do something with that fd.
72 2004-08-31 NeilBrown <neilb@cse.unsw.edu.au>
74 * debian/nfs-kernel-server.init(start,stop) mount the nfsd
75 filesystem, if available, before starting nfs services, and
76 unmount it afterwards.
77 * etc/nodist/nfs-server: ditto
78 * etc/redhat/nfs.init: likewise
79 * etc/redhat/nfs: add "MOUNT_NFSD" flag to control above.
81 2004-06-08 NeilBrown <neilb@cse.unsw.edu.au>
83 * utils/exportfs/exportfs.c: Don't rmtab_read if new_cache, it
85 * support/nfs/cacheio.c(cache_flush): Change order in which caches
86 are flushed so that dependancies don't keep things in the cache
89 2004-03-18 Chip Salzenberg <chip@pobox.com>
91 * debian/changelog: Version 1.0.6-2.
93 2004-02-24 NeilBrown <neilb@cse.unsw.edu.au>
94 from "J. Bruce Fields" <bfields@fieldses.org>
96 * utils/mountd/cache.c: call auth_reload to make sure auth data is
97 current before responding to kernel upcall.
99 2004-02-24 NeilBrown <neilb@cse.unsw.edu.au>
100 Based on patch from Greg Banks <gnb@melbourne.sgi.com>
102 * utils/exportfs/exports.man: Document fsid= option.
104 2003-09-15 NeilBrown <neilb@cse.unsw.edu.au>
108 * rules.mk: Add dep: rule when no OBJS, so "make dep" works in
109 support/include, and depend in "predep"
110 * support/export/Makefile, tools/rpcgen/Makefile,
111 utils/statd/Makefile: add "predep" rule so that "make dep" works.
112 * Makefile: allow a simple "make" to run ./configure and "make dep"
114 * configure.in, nfs-utils.spec: Update version to 1.0.6
117 2003-09-12 Chip Salzenberg <chip@pobox.com>
119 * debian/changelog: Version 1.0.6-1.
121 2003-09-12 NeilBrown <neilb@cse.unsw.edu.au>
123 * utils/mountd/mountd.c(main): Impose FD_SETSIZE as an upper limit
125 * utils/statd/statd.c(main): Ditto.
127 michael <michael@newdream.net> discovered that svc_setreqsize
128 in glibc can segfault if RLIMIT_NOFILE is bigger than
129 FD_SETSIZE, so a simple solution is to impose a hard limit.
131 2003-09-09 Chip Salzenberg <chip@pobox.com>
133 * debian/changelog: Version 1.0.5-3.
134 * support/export/hostname.c (get_reliable_hostbyaddr): Fix crash
135 on invalid reverse DNS.
136 * utils/showmount/showmount.c (main): Fix inet_ntoa() parameter.
137 * tools/rpcgen/rpc_cout.c (print_header): Remove unused vars.
138 * tools/rpcgen/rpc_parse.c (def_union): Likewise.
140 2003-08-22 Chip Salzenberg <chip@pobox.com>
142 * utils/statd/{log.h,log.c}: Rename log() to note() and L_* to
143 N_*, to avoid conflict with ISO C built-in log() function.
144 * utils/statd/*.c: Use note().
146 2003-08-20 Chip Salzenberg <chip@pobox.com>
148 * debian/changelog: Version 1.0.5-2.
150 2003-08-11 NeilBrown <neilb@cse.unsw.edu.au>
152 * utils/mountd/cache.c(cache_get_filehandle): close the filehandle
155 2003-08-04 NeilBrown <neilb@cse.unsw.edu.au>
157 * support/include/nfs/export.h, support/nfs/exports.c,
158 utils/exportfs/exports.c, utils/mountd/mountd.c: change
159 NFSEXP_CROSSMNT to NFSEXP_CROSSMOUNT to avoid confusion with older
160 meaning. Also remove meaningless
161 NFSEXP_{UIDMAP,KERBEROS,SUNSECURE}
163 2003-08-04 NeilBrown <neilb@cse.unsw.edu.au>
165 * support/export/xtab.c, support/include/nfslib.h,
166 support/nfs/cacheio.c, support/nfs/nfssvc.c,
167 utils/exportfs/exportfs.c, utils/exportfs/exportfs.man,
168 utils/exportfs/nfsd.man, utils/mountd/cache.c: support
169 /proc/fs/nfsd/* as a perferred alternate to /proc/fs/nfs/*
170 (nfs-utils-1.0.5-post2)
172 2003-08-04 NeilBrown <neilb@cse.unsw.edu.au>
174 * support/nfs/nfsexport.c: open channel file O_WRONLY when
176 * utils/mountd/cache.c: maintain mountlist when new_cache is
177 active. Also use O_WRONLY for channel files.
178 * utils/mountd/mountd.h: mountlist_{del,add} now take a host name
179 rather than an nfs_export.
180 * utils/mountd/rmtab.c: ditto.
181 (nfs-utils-1.5.0-post1)
183 2003-07-24 Chip Salzenberg <chip@pobox.com>
185 * support/nfs/xlog.c (xlog): Revise buffer-overflow fix to
186 use Debian security team's cleaner approach.
187 * debian/changelog: Version 1.0.5-1.
188 * debian/nfs-kernel-server.init: Cosmetic changes.
190 2003-07-18 NeilBrown <neilb@cse.unsw.edu.au>
193 1.0.4 was a bit of a brown-paper-bag-release because of the extra
194 'free' in auth.c. So I'm releasing this just a few days later.
196 * support/nfs/cacheio.c(cache_flush): Correct test for 'open
198 * utils/exportfs/exportfs.c(main): If "-f" given as lone option,
199 check if new_cache is enabled, error if not, flush and exit if it
201 * utils/exportfs/exportfs.man: Explain -f option and explain the
202 two different modes that exportfs can work in.
203 * utils/mountd/mountd.c: Do not change RLIMIT_NOFILE if the -o
205 * utils/mountd/mountd.man: Record the change if default behaviour
207 * configure.in, nfs-utils.spec: update version to 1.0.5 and
210 2003-07-15 NeilBrown <neilb@cse.unsw.edu.au>
212 * utils/mountd/mountd.c(main): getopt string fix for 'o'
213 * utils/mountd/auth.c(auth_authenticate): remove extra 'free'
214 * utils/exportfs/exportfs.c(main): make 'exportfs -f' just flush
216 * support/include/nfs/export.h: Reserve a bit for possible ACL
219 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
221 * utils/exportfs/nfsd.man: new man page for nfsd filesystem. Also
222 assorted changed to cope with section 7 of the manual.
223 * configure.in, nfs-utils.spec: Update version to 1.0.4
226 This is a 'pre-release' for 1.1.0 Hopefully 1.1.0 will be the
227 baseline for 2.6 and 2.8. I.e. it should continue to work right
228 through the 2.8 (or 3.0) kernel series. Previous releases wont.
230 2003-07-04 NeilBrown <neilb@cse.unsw.edu.au>
231 Steve Dickson <SteveD@redhat.com>
234 * utils/statd/statd.c: create a pidfile with pid of statd, and
235 truncate it when statd exists.
236 * utils/statd/statd.c: drop privs by setuid to owner of SM_DIR,
237 and warn if this is root.
238 * utils/statd/statd.c: when statd forks, connect child to parent
239 with a pipe, and send a byte down the pipe once the child is
241 * Makefile: create and chown sm, sm.bak, state when "make install"
242 * configure.in: add --with-statduser= option which defaults to
243 "rpcuser" or "nobody"
244 * config.mk.in: pass "statduser" through to Makefile
246 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
248 * support/include/nfs/nfs.h: Make sure correct __kernel_dev_t is
249 used as the size was changed somewhere in 2.5.60-2.5.70. Without
250 this nfs-utils compiles against 2.6 headers will not work on a
253 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
255 * support/nfs/nfssvc.c(nfssvc): If /proc/fs/nfs/threads exists,
256 set number of threads by writing to there. This means it will
257 still work when the syscall interface goes away in 2.7.
259 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
260 fumihiko kakuma <kakmy@mvh.biglobe.ne.jp>
262 * utils/exportfs/exportfs.c(unexportfs): improve host comparison
263 so as to only export the wildcard exports that were asked for.
264 * support/export/export.c(export_allowed): changed to return the
265 nfs_export rather than a "struct exportent", as m_changed is
267 * support/export/rmtab.c(rmtab_read): modified to deal with
268 interface change for export_allowed(), and enhanced to preserve
269 m_changed flag when a wild-card export causes the creation of
270 a non-wildcard export.
272 2003-07-02 NeilBrown <neilb@cse.unsw.edu.au>
273 Steve Dickson <SteveD@redhat.com>
275 * utils/mountd/mountd.man: Add valid kinds of debugging.
276 * utils/mountd/mountd.c(main): ignore SIGPIPE
277 * utils/nfsstat/nfsstat.c: fine-tune printing of warning so
278 we don't get warnings about unavailable stats that weren't asked
281 2003-06-24 NeilBrown <neilb@cse.unsw.edu.au>
283 * support/nfs/nfsexport.c(exp_unexp): When unexporting filesystems
284 via /rpc/net/rpc/nfsd*/channel, set the expiry date to 1, not
285 'forever', so things disappear out of the cache rather than just
288 2003-06-16 "J. Bruce Fields" <bfields@fieldses.org>
290 * utils/mountd/cache.c(nfsd_fh): don't export the export_ent
293 2003-06-16 NeilBrown <neilb@cse.unsw.edu.au>
295 * debian/nfs-kernel-server.init,etc/nodist/nfs-server,
296 etc/redhat/nfs.init: when checking if V3 is supported, make sure
297 nfs server 'knows' about 127.0.0.1 first.
299 2003-06-10 Chip Salzenberg <chip@pobox.com>
301 * support/nfs/xlog.c (xlog): Fix off-by-one buffer overflow bug.
302 * debian/changelog: Version 1.0.3-2.
304 2003-05-30 Michael Griffith <grif@michaelgriffith.com>
305 NeilBrown <neilb@cse.unsw.edu.au>
307 utils/nfsstat/nfsstat.c(print_callstats): use unsigned
308 long long to avoid overflow when printing stats.
310 2003-05-30 NeilBrown <neilb@cse.unsw.edu.au>
312 * support/export/export.c, support/include/nfslib.h,
313 support/nfs/export.c, utils/exportfs/exportfs.c,
314 utils/mountd/mountd.c: new export option "mountpoint"
315 If no path is given, then the export point must be a
316 mount point, or it won't be exported. If a path is
317 given (e.g. mountpoint=/path) then that path must be
318 a mountpoint or the exportpoint won't be exported.
319 * utils/exportfs/exportfs.man: document mountpoint option.
320 * support/misc/mountpoint.c: New file with is_mountpoint()
321 to determine if something is a mountpoint.
323 2003-05-23 NeilBrown <neilb@cse.unsw.edu.au>
325 * utils/mountd/cache.c(cache_get_filehandle): take a separate path
326 argument as we might not be getting the filehandle for the
328 * utils/mountd/mountd.c(get_rootfh): pass real path when calling
329 cache_get_filehandle.
330 * utils/mountd/mountd.c(get_rootfh): check export point and
331 requested directory are on the same filesystem, and complain if
334 2003-05-22 NeilBrown <neilb@cse.unsw.edu.au>
336 * utils/mountd/auth.c(auth_authenticate_internal): make sure
337 portnumber is still checked when using new cache lookup.
339 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
341 * utils/exportfs/exportfs.c: Use check_new_cache and cache_flush
342 Don't actually talk to kernel when new cache is in effect, except
344 * utils/exportfs/exportfs.c: add -f option to fully flush cache.
345 * support/export/xtab.c: Only rename new xtab into place if it has
346 changed, thus preserving modify date for exportfs to use when
348 * support/nfs/cacheio.c: Add cache_flush
349 * support/export/xtab.c: Only rename new xtab into place if it has
350 changed, thus preserving modify date for exportfs to use when
353 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
355 * support/export/client.c: Add client_compose, client_member to
356 handle new composite client names
357 * support/include/exportfs.h: Declare above functions.
358 * utils/mountd/auth.c: use client_compose to determine calling
359 client if new cache is being used.
360 * utils/mountd/auth.c: call cache_export to export a filesystem if
361 new_cache, check if new cache is used, and call my_svc_run instead
363 * utils/mountd/svc_run.c: new file defining my_svc_run
364 * utils/mountd/cache.c: new file for handling cache upcalls.
365 * support/nfs/cacheio.c(check_new_cache): new function to check if
366 new cache should be used.
369 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
371 * support/include/nfs/export.h: New CROSSMNT distinct from NOHIDE
372 * support/nfs/exports.c: Make CROSSMNT distinct from NOHIDE
373 * utils/exportfs/exportfs.c(dump): ditto
375 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
377 * support/export/hostname.c(get_reliable_hostbyaddr): new function
378 to get host name from address with full checking of authenticity.
379 * support/include/misc.h: declare above function
380 * utils/mountd/auth.c(auth_authenticate_internal): remove all
381 logic for authenticating address.
382 * utils/mountd/auth.c(auth_authenticate): call new
383 get_reliable_hostbyaddr to to hostname lookup before calling _internal.
386 2003-03-30 NeilBrown <neilb@cse.unsw.edu.au>
388 * tools/rpcgen/rpc_main.c(find_cpp): removed
389 * tools/rpcgen/rpc_main.c(open_input): use execvp to find "cpp",
390 then try hard-coded paths.
392 2003-03-26 Chip Salzenberg <chip@pobox.com>
394 * debian/changelog: Version 1.0.3-1.
396 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
398 * utils/mountd/rmtab.c (slink_safe_rename): real_newpath should be
399 "const char*", not "char*".
401 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
403 * configure.in (VERSION): Set to "1.0.3".
404 * nfs-utils.spec: Likewise.
405 * configure: Regenerated.
407 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
409 * support/nfs/cacheio.c: New File - support for read/writing
410 to export cache in /proc/rpc/*/channel
411 * support/nfs/Makefile: compile cacheio.c
412 * support/include/nfslib.h: declare cacheio.c functions
413 * support/nfs/nfsexport.c: export and unexport through
414 /proc/rpc/*/channel if possible, as old syscall interface
415 may not survive into 2.6 on all architectures.
417 2003-02-19 NeilBrown <neilb@cse.unsw.edu.au>
418 Ben Leslie <benno@sesgroup.net>
420 * support/nfs/rpcmisc.c(rpc_init): change test for ignoring
421 "defport" from (__rpcfdtype == 0) to (__rpcpmstart==0). The
422 former would incorectly ignore defport if the application
423 explicitly set __rpcfdtype. The later is sufficient to avoid the
424 special handling in the case where stdin is an internet socket.
426 * utils/mountd/mountd.c(main): Add 'n' to option list in
427 getopt_long as this is a short form of --no-tcp which want being
430 2003-02-12 Chip Salzenberg <chip@pobox.com>
432 * debian/changelog: Version 1.0.2-2.
434 2002-11-27 Chip Salzenberg <chip@pobox.com>
436 * utils/mountd/rmtab.c (slink_safe_rename): Fix off-by-one buffer
437 overflow bug. Reformat per rest of source file.
439 2002-11-19 NeilBrown <neilb@cse.unsw.edu.au>
441 * utils/exportfs/exports.man: Correct notes about whether the wild
442 card characters match a period. They do.
444 2002-10-15 Juan Gomez <juang@us.ibm.com>
446 * utils/mountd/rmtab.c (slink_safe_rename): New. Support
448 (mountlist_add): Call slink_safe_rename instead of rename.
450 2002-10-11 H.J. Lu <hjl@lucon.org>
452 * support/include/exportfs.h (export_errno): New.
454 * support/nfs/exports.c: Include <errno.h>.
456 (getexportent): Set export_errno to EINVAL for bad option.
457 (parseopts): Likewise.
458 Report the location of the default sync/async option.
460 * utils/exportfs/exportfs.c (main): Initialize export_errno to
461 0. Return export_errno.
463 2002-10-11 Juan Gomez <gomez@cs.sjsu.edu>
464 NeilBrown <neilb@cse.unsw.edu.au>
466 utils/statd/statd.c(killer): don't pmap_unset if in notify_only mode
467 utils/statd/statd.c(main): don't pmap_unset if in notify_only mode
469 2002-09-16 Chip Salzenberg <chip@pobox.com>
471 * utils/rquotad/rquota_svc.c (main): Use int for value of getopt.
473 2002-09-15 Chip Salzenberg <chip@pobox.com>
475 * support/nfs/rpcmisc.c (rpc_init): Allow stdin to be a non-INET
476 socket, as occurs when run from sshd.
477 * debian/changelog: Version 1.0.2-1.
479 2002-09-12 H.J. Lu <hjl@lucon.org>
481 * support/nfs/svc_socket.c: Remove HAVE_SVCTCP_SOCKET and
484 2002-09-12 H.J. Lu <hjl@lucon.org>
486 * configure.in: Remove checking svctcp_socket and svcudp_socket.
487 * configure: Regenerated.
489 * support/include/config.h.in (HAVE_SVCTCP_SOCKET): Removed.
490 (HAVE_SVCUDP_SOCKET): Removed.
492 * support/include/nfslib.h: Undo the last change.
494 2002-09-12 H.J. Lu <hjl@lucon.org>
496 * support/include/nfslib.h (svctcp_socket): Protect it with
498 (svcudp_socket): Protect it with HAVE_SVCUDP_SOCKET.
500 2002-09-12 H.J. Lu <hjl@lucon.org>
502 * configure.in (VERSION): Set to "1.0.2".
503 * configure: Regenerated.
504 * nfs-utils.spec: Likewise.
506 2002-09-12 H.J. Lu <hjl@lucon.org>
508 * configure.in: Check svctcp_socket and svcudp_socket.
509 * configure: Regenerated.
511 * support/include/config.h.in (HAVE_SVCTCP_SOCKET): New.
512 (HAVE_SVCUDP_SOCKET): New.
514 * support/include/nfslib.h (svctcp_socket): New.
515 (svcudp_socket): New.
517 * support/nfs/Makefile (OBJS): Add svc_socket.o.
519 * support/nfs/svc_socket.c: New.
521 * support/nfs/rpcmisc.c (rpc_init): Call svctcp_socket and
522 svcudp_socket if port is unspecified.
524 * utils/nfsd/nfsd.c (main): Call getservbyname for port.
526 * utils/rquotad/rquota_svc.c: Include <nfslib.h>.
527 (killer): New. Signal handler to unregister.
528 (main): Use killer. Call svcudp_socket to get the default
531 2002-09-02 Juan Gomez <juang@us.ibm.com>
532 NeilBrown <neilb@cse.unsw.edu.au>
534 Add -N option to statd to run in notify-only mode.
536 * utils/statd/statd.h: uncomment MODE_NOTIFY_ONLY
537 * utils/statd/statd.man: document -N
538 * utils/statd/statd.c: enabled -N, largely exists but needed to be
539 uncommented and completed
541 2002-09-02 Juan Gomez <juang@us.ibm.com>
542 NeilBrown <neilb@cse.unsw.edu.au>
544 statd to have " -P directory" arg to use that directory instead
545 of /var/lib/nfs. This is useful for fail-over clusters.
547 * utils/statd/statd.h: define SM_DIR etc as var, not const.
548 * utils/statd/statd.c: define "-P" option to set SM_*
550 * utils/statd/monitor.c: sprintf to cope with SM_DIR not being
552 * utils/statd/notify.c: ditto.
553 * utils/statd/statd.man: document -P option.
555 2002-08-26 Chip Salzenberg <chip@pobox.com>
557 * utils/nfsd/nfsd.man: Fix typo.
558 * debian/changelog: Version 1.0.1-1.
560 2002-05-29 NeilBrown <neilb@cse.unsw.edu.au>
562 * let parseopts know if /etc/exports was being read or not,
563 and have it only print "no sync or async" warning in that case.
565 2002-05-06 Tom McNeal <trmcneal@attbi.com>
566 NeilBrown <neilb@cse.unsw.edu.au>
568 * utils/nfsstat/nfsstat.c: Handle differing format for
569 /proc/net/rpc/nfsd between pre and post 2.4.0
571 2002-04-09 NeilBrown <neilb@cse.unsw.edu.au>
572 James Pearson <james-p@moving-picture.com>
574 * support/nfs/rmtab.c(fendrmtabent): sync changes to
575 storage before returning, as this is critical state
577 2002-04-08 Sean O'Connell <sean@ee.duke.edu>
578 H.J. Lu <hjl@lucon.org>
580 * etc/redhat/nfs: New.
582 2002-04-08 H.J. Lu <hjl@lucon.org>
584 * etc/redhat/nfs.init: Updated.
586 * nfs-utils.spec.in: Updated.
587 * nfs-utils.spec: Regenerated.
589 * utils/mountd/mountd.c (longopts): Fix a typo.
591 * utils/mountd/mountd.man: Updated.
593 2002-04-07 H.J. Lu <hjl@lucon.org>
595 * etc/redhat/nfslock.init (restart): Just do stop and start.
597 * etc/redhat/nfs.init: Fix a typo.
599 2002-04-07 H.J. Lu <hjl@lucon.org>
601 * configure.in (VERSION): Set to "1.0.1".
602 * configure: Regenerated.
603 * nfs-utils.spec: Likewise.
605 * README: Updated for 1.0.1.
607 2002-04-07 Sean O'Connell <sean@ee.duke.edu>
608 H.J. Lu <hjl@lucon.org>
610 * etc/redhat/nfs.init: Read /etc/sysconfig/nfsd for NFS tuning.
612 2002-02-28 Steven Whitehouse <steve@gw.chygwyn.com>
613 NeilBrown <neilb@cse.unsw.edu.au>
615 Add support for fsid=nn export option so that device
616 numbers don't go in filehandles.
617 * support/export/nfsctl.c(expsetup): if exporting and NFSEXP_FSID
618 is set, pass the fsid in-place of the device number
619 * support/nfs/exports.c: parse and print fsid= option.
620 Also check if efname has been set, and use "command line"
621 instead in error messages.
622 Also, use strtol instead of atoi for anon[ug]id= so that
623 bad numbers cause errors.
625 2002-01-17 Adrian Drzewiecki <drze@MissionCriticalLinux.com>
626 NeilBrown <neilb@cse.unsw.edu.au>
628 * support/nfs/exports.c: remove NFSEXP_ASYNC as a default
629 flag so that "sync" becomes the default.
630 Check that either "sync" or "async" is given as an option
631 and warn if neither are present
632 * utils/exportfs/exports.man: change documentation for "sync"
633 to be documentation for "async".
634 * utils/exportfs/exportfs.man: note that "sync" is the default
638 2002-01-02 Chip Salzenberg <chip@pobox.com>
640 * support/export/nfsctl.c (expsetup): Don't export entries that
641 specify id mappings not supported by the kernel. No extant kernel
642 supports any significant mapping, only 'identity' (i.e. none).
643 When other mappings are supported, this code will need changing.
644 * debian/changelog: Version 1.0-2.
646 2001-12-26 Chip Salzenberg <chip@pobox.com>
648 * nfs-utils.spec (Version): Set to "1.0".
649 * configure.in (VERSION): Likewise.
650 * configure: Regenerated.
652 * debian/changelog: Version 1.0-1.
654 * utils/exportfs/exports.man: Emphasize the need for options to
655 immediately follow client names. Explain that wildcards don't
656 usually work on addresses, but may work when reverse DNS fails.
657 Comment out a leftover TP that was TPing our indentation.
658 * utils/mountd/mountd.man, utils/rquotad/rquotad.man,
659 utils/statd/statd.man: Remove refs to non-existent "hosts_allow(5)".
660 * debian/changelog: Version 0.3.3-6.
662 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
664 * support/export/client.c(client_lookup): If a host has multiple
665 IP addresses, then we must always use the result of a
666 gethostbyname, not that of gethostbyaddr for exporting
668 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
670 * support/export/client.c (client_lookup): use strcasecmp when
672 * support/nfs/export.c (getexportent): add fromkernel arg and use
673 different defaults as kernels prior to 2.4.11 assume different
674 defaults in /proc/fs/nfs/exports
675 * support/include/nfslib.h, support/export/export.c,
676 support/export/xtab.c: support extra "fromkernel" arg for
679 2001-12-13 Chip Salzenberg <chip@pobox.com>
681 * debian/changelog: Version 0.3.3-5.
683 2001-11-26 TAKAI Kousuke <takai@vlsi.kuee.kyoto-u.ac.jp>
685 * support/nfs/xio.c (xskip): Call `xungetc' instead of
686 `ungetc' to keep x_line more properly.
688 2001-11-26 Chip Salzenberg <chip@pobox.com>
690 * utils/showmount/showmount.c (main): Don't assume that strings
691 starting with digits are IP addresses.
692 * utils/nfsd/nfsd.c (main): Close all fds and reopen 0,1,2 on
693 /dev/null before nfssvc(). Use syslog to report nfssvc errors.
694 * support/misc/tcpwrapper.c, utils/mountd/mountd.man,
695 utils/rquotad/rquotad.man, utils/statd/statd.man: Fix comments and
696 man pages: We check host names *and* addresses with tcpwrappers.
697 * debian/changelog: Version 0.3.3-4.
699 2001-11-21 Chip Salzenberg <chip@pobox.com>
701 * support/nfs/clients.c (cfname): Added: current clients file name.
702 (setnfsclntent): Set it.
703 ({get,end}nfsclntent, syntaxerr): Use it.
704 * support/nfs/exports.c (efname): Added: current exports file name.
705 (setnfsexportent): Set it.
706 (endnfsexportent, parseopts, getexport, syntaxerr): Use it.
707 (parseopts): Accept old-style "crossmnt" option, for old xtabs.
708 * debian/changelog: Version 0.3.3-3.
710 2001-10-11 Chip Salzenberg <chip@pobox.com>
712 * utils/mountd/mountd.c (main): Close fds > 2 _before_ RPC init.
713 * debian/changelog: Version 0.3.3-2.
715 2001-10-08 Chip Salzenberg <chip@pobox.com>
717 * utils/mountd/mountd.c (main): When daemonizing, close all fds > 2.
718 * utils/Makefile.in: Remove old Makefile in target 'distclean'.
719 * utils/mountd/mountd.man: Update paths to /var/lib.
720 * debian/*: Version 0.3.3-1, with Debian-specific fixes.
722 2001-10-06 Preston Brown <pbrown@redhat.com>
724 * utils/nfsstat/nfsstat.man: Updated.
726 2001-09-24 H.J. Lu <hjl@lucon.org>
728 * configure.in (VERSION): Set to "0.3.3".
729 * configure: Regenerated.
730 * nfs-utils.spec: Likewise.
732 * README: Updated for 0.3.3.
734 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
736 Arrange that "exportfs -au" never does DNS lookup:
738 * support/export/client.c (client_lookup) : add "canonical"
739 flag which says that the hostname is known to be canonical, so
742 * support/export/export.c (export_create) : add "canonical"
743 flag to be passed down to client_lookup
744 * support/export/export.c (export_lookup) : Likewise
746 * support/export/xtab.c (xtab_read) : pass appropriate
747 "canonical" flag to export_lookup and export_create:
748 set if reading list of filesystems currently exports
751 * support/export/export.c (export_read) : pass 0 as
752 "canonical" flag to export_lookup and export_create
753 * support/export/rmtab.s (rmtab_read) : Likewise
755 * support/include/exportfs.h : redeclare various routines
756 to have "canonical" flag
758 * utils/exportfs/exportfs.c (main) : redo logic for
759 "-au" to read in what is currently exported, but never even
760 look at what "should" be exported.
762 * utils/exportfs/exportfs.c (unexportall) : remove this
763 routine. Functionality is completely included in
766 * utils/exportfs/exportfs.c (exportfs) : set "canonical"
767 flag to zero in calls to export_lookup and export_create.
770 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
771 Anne Milicia <milicia@missioncriticallinux.com>
773 * support/export/client.c (client_lookup) call gethostbyadd
774 to make sure that we have a canonical hostname, even for
776 * utils/exportfs/exportfs.c (exportfs) Likewise
778 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
780 * support/nfs/exports.c (putexportent): \octal quote any spaces
782 * support/nfs/xio.c (xgettok): recognise double-quote and
783 \octal quoting in path names
784 * utils/exportfs/exports.man: document quoting conventions
787 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
789 * utils/mountd/auth.c (auth_authenticate_internal): Reverse
790 change from 2000-08-02: It causes problems if someone exports
791 to both a hostname and IP addresses. nfs-utils must be
792 consistant about the canonical name that it chooses.
794 2001-08-17 Ragnar Kjørstad <nfs@ragnark.vestdata.no>
795 H.J. Lu <hjl@lucon.org>
797 * etc/redhat/nfslock.init (STATDARG): New. Pass it to rpc.statd.
799 * utils/statd/statd.c (longopts): Add "name".
800 (usage): Add "-n/--name".
801 (main): Set MY_NAME with "-n/--name".
803 * utils/statd/state.c (change_state): Set MY_NAME only if it
806 * utils/statd/statd.man: Updated for "-n/--name".
808 2001-07-26 H.J. Lu <hjl@lucon.org>
810 * nfs-utils.spec (Release): Set to 8.
812 2001-07-25 H.J. Lu <hjl@lucon.org>
814 * etc/redhat/nfs.init: Check if rpc.rquotad exists before doing
817 2001-06-27 H.J. Lu <hjl@lucon.org>
819 * etc/redhat/nfs.init: Run rpc.rquotad only if it exists.
821 2001-06-27 H.J. Lu <hjl@lucon.org>
823 * utils/rquotad/rquota_server.c: Don't call statfs () for
824 the block size. Use BLOCK_SIZE instead.
826 2001-06-27 H.J. Lu <hjl@lucon.org>
828 * config.mk.in (CC_FOR_BUILD): Renamed from BUILD_CC.
829 (CFLAGS_FOR_BUILD): New. Don't use @CFLAGS@.
831 * configure.in (enable_nfsv3): Set to yes by default.
832 (--enable-rquotad): Added
833 (AC_PROG_CXX): Removed.
834 (AC_OUTPUT): Add utils/Makefile.
835 (CC_FOR_BUILD): Renamed from BUILD_CC.
836 * configure: Regenerated.
838 * utils/Makefile: Removed.
840 * utils/Makefile.in: New.
842 * nfs-utils.spec.in (rquotad): New. Set to 0 to disable
844 (CC_FOR_BUILD): Renamed from BUILD_CC.
845 * nfs-utils.spec: Regenerated.
847 2001-06-15 Chip Salzenberg <chip@debian.org>
849 * debian/changelog: Version 0.3.2-2.
850 * debian/*.init: Minor fixes.
852 2001-06-07 Lon H. Hohberger <hohberger@missioncriticallinux.com>
854 * etc/nodist/nfs-server: Fixed a bug where the script would
855 disable mounts from NFSv3 clients if NFSv3 is present.
857 2001-06-05 H.J. Lu <hjl@lucon.org>
859 * utils/mountd/mountd.c (longopts): Add "descriptors/o".
860 (main): Support --descriptors/-o to set the limit of the number
861 of open file descriptors.
864 * utils/mountd/mountd.man: Updated for --descriptors/-o.
866 2001-06-04 H.J. Lu <hjl@lucon.org>
868 * nfs-utils.spec (Release): Set to 6.
870 2001-05-28 H.J. Lu <hjl@lucon.org>
872 * utils/lockd/lockd.c (main): chdir to NFS_STATEDIR.
873 * utils/mountd/mountd.c (main): Likewise.
874 * utils/nfsd/nfsd.c (main): Likewise.
875 * utils/rquotad/rquota_svc.c (main): Likewise.
877 2001-05-06 Anne Milicia <milicia@missioncriticallinux.com>
879 * support/export/client.c (client_check): Check IP address
882 2001-05-06 Neil Brown <neilb@cse.unsw.edu.au>
884 * support/export/client.c (client_gettype): Treat `*' as
887 2001-04-22 H.J. Lu <hjl@lucon.org>
889 * nfs-utils.spec.in: Fix a typo.
890 * nfs-utils.spec: Regenerated.
892 2001-04-21 H.J. Lu <hjl@lucon.org>
894 * nfs-utils.spec.in: Fix cross build.
895 * nfs-utils.spec: Regenerated.
898 2001-04-18 H.J. Lu <hjl@lucon.org>
900 * nfs-utils.spec.in: Support cross build.
901 * nfs-utils.spec: Regenerated.
907 * config.mk.in (BUILD_CC): New.
908 (CC): Set to $(BUILD_CC) if BUILD is defined.
911 (RANLIB): Set to @RANLIB@.
913 * configure.in: Check BUILD_CC, RANLIB, AR and LD.
914 * configure: Regenerated.
916 * tools/rpcgen/Makefile (BUILD): Set to true.
918 2001-04-01 Chip Salzenberg <chip@valinux.com>
920 * tools/rpcgen/rpc_svcout.c (write_timeout_func): Remove
921 redundant, and sometimes broken, declaration of svc_fdset;
923 * support/nfs/rpcmisc.c (closedown): Likewise.
925 2001-03-21 H.J. Lu <hjl@lucon.org>
927 * nfs-utils.spec: Regenerated.
930 2001-03-21 Ion Badulescu <ionut@cs.columbia.edu>
932 * utils/statd/statd.c (main): make sure file descriptors 0-2
933 are open to /dev/null.
935 2001-03-21 H.J. Lu <hjl@lucon.org>
937 * support/nfs/rpcmisc.c: Restore the change made on 2001-03-10.
938 * support/nfs/rpcmisc.c: Likewise.
939 * utils/rquotad/rquota_svc.c: Likewise.
940 * utils/rquotad/rquotad.man: Likewise.
941 * utils/statd/Makefile: Likewise.
942 * utils/statd/rmtcall.c: Likewise.
943 * utils/statd/simulate.c: Likewise.
944 * utils/statd/statd.c: Likewise.
945 * utils/statd/statd.man: Likewise.
947 2001-03-11 H.J. Lu <hjl@lucon.org>
949 * configure.in (RELEASE): New. Default to 1, set by
950 --with-release=XXX. Substitute nfs-utils.spec.
951 * nfs-utils.spec.in (Release): Set to @RELEASE@.
952 * configure: Regenerated.
953 * nfs-utils.spec: Likewise.
955 2001-03-11 H.J. Lu <hjl@lucon.org>
957 * utils/rquotad/rquotad.man: Fix a typo.
959 2001-03-11 H.J. Lu <hjl@lucon.org>
961 * support/include/rpcmisc.h: Undo the change made on 2001-03-10.
962 * support/nfs/rpcmisc.c: Likewise.
963 * utils/rquotad/rquota_svc.c: Likewise.
964 * utils/rquotad/rquotad.man: Likewise.
965 * utils/statd/Makefile: Likewise.
966 * utils/statd/rmtcall.c: Likewise.
967 * utils/statd/simulate.c: Likewise.
968 * utils/statd/statd.c: Likewise.
969 * utils/statd/statd.man: Likewise.
971 2001-03-10 H.J. Lu <hjl@lucon.org>
973 * configure.in (VERSION): Set to "0.3.2".
974 * configure: Regenerated.
975 * nfs-utils.spec: Likewise.
977 * README: Updated for 0.3.2.
979 2001-03-10 Tavis Barr <tavis@boole.isetr.columbia.edu>
981 * utils/rquotad/rquotad.man: Updated for -p.
982 * utils/statd/statd.man: Likewise.
984 2001-03-10 Ion Badulescu <ionut@cs.columbia.edu>
986 * support/nfs/rpcmisc.c: export makesock()
988 * support/include/rpcmisc.h (makesock): Declared.
990 * utils/rquotad/rquota_svc.c: added longopts, added support for
991 specifying the port to bind to on the command line.
993 * utils/statd/statd.c: ditto, also specify port used for
994 outgoing connections.
995 (do_regist): Removed.
997 * utils/statd/rmtcall.c (statd_get_socket): Renamed from
998 get_socket. Make it extern.
1000 * utils/statd/simulate.c (daemon_simulator): Call rpc_init
1001 instead of do_regist.
1003 * utils/statd/Makefile (LIBS): link with our own libnfs
1005 2001-03-09 H.J. Lu <hjl@lucon.org>
1007 * etc/redhat/nfslock.init: Changed chkconfig line to 60 86.
1008 * etc/nodist/nfs-client: Likewise.
1010 2001-02-26 Chip Salzenberg <chip@valinux.com>
1012 * debian/changelog: Version 0.3.1-1.
1013 * Mention upstream source and license in copyright file.
1014 * Add build-Depends for debhelper and libwrap0-dev.
1016 2001-02-20 Lon Hohberger <hohberger@missioncriticallinux.com>
1018 * etc/nodist/nfs-server: Changed chkconfig line to 60 20
1019 * etc/nodist/nfs-client: Likewise.
1021 2001-02-18 Lon Hohberger <hohberger@missioncriticallinux.com>
1023 * utils/statd/statd.man: Changed /usr/sbin/rpc.statd to
1026 2001-02-17 Patrick J. LoPresti <patl@curl.com>
1028 * utils/statd/log.c (log_init): Use LOG_DAEMON instead of
1031 2001-02-14 H.J. Lu <hjl@lucon.org>
1033 * utils/statd/rmtcall.c: Include <time.h>.
1034 * utils/statd/svc_run.c: Likewise.
1036 2001-02-14 H.J. Lu <hjl@lucon.org>
1038 * configure.in (VERSION): Set to "0.3.1".
1039 * configure: Regenerated.
1040 * nfs-utils.spec: Likewise.
1042 * README: Updated for 0.3.1.
1044 2001-02-14 H.J. Lu <hjl@lucon.org>
1046 * support/nfs/rpcmisc.c: Include <time.h>.
1048 2001-02-14 Chip Salzenberg <chip@valinux.com>
1050 * debian/control: Change priority of nhfsstone package to 'extra'.
1052 2001-02-12 Chip Salzenberg <chip@valinux.com>
1054 * debian/changelog: Version 0.3-2.
1056 2001-02-02 H.J. Lu <hjl@lucon.org>
1058 * support/include/rpcmisc.h (rpc_init): Remove bufsize.
1060 * support/nfs/rpcmisc.c (makesock): Remove socksz and comment
1061 out SO_SNDBUF/SO_RCVBUF.
1062 (rpc_init): Remove bufsize and remove socksz in calls to
1065 * utils/mountd/mountd.c (main): Remove bufsize in calls to
1068 2001-01-28 Chip Salzenberg <chip@valinux.com>
1070 * debian/changelog: Version 0.3-1.
1072 2001-01-25 H.J. Lu <hjl@lucon.org>
1074 * configure.in (VERSION): Set to "0.3".
1075 * configure: Regenerated.
1076 * nfs-utils.spec: Likewise.
1078 * README: Updated for 0.3.
1080 2001-01-25 H.J. Lu <hjl@lucon.org>
1082 * utils/lockd/lockd.c (main): Ignore errno == EINVAL.
1084 2001-01-20 Chip Salzenberg <chip@valinux.com>
1086 * support/include/xio.h (xgetc): Declare to return int.
1087 * support/nfs/xio.c (xgetc): Return int.
1088 (xgettok, xskip, xskipcomment): Use int for value of xgetc.
1089 * utils/statd/statd.c (main): Use int for value of getopt.
1090 * debian/changelog: Version 0.2.1-5.
1092 2000-12-10 Chip Salzenberg <chip@valinux.com>
1094 * utils/statd/monitor.c (sm_mon_1_svc): Fix buggy check for
1095 program and procedure numbers of kernel lockd's callback. Also,
1096 besides the old (and broken) procedure #24, allow #16 per Trond.
1098 2000-12-03 Chip Salzenberg <chip@valinux.com>
1100 * support/nfs/xio.c (xfopen): Initialize x_line to one, not zero.
1101 * debian/control: Let nhfsstone replace files in nfs-kernel-server.
1102 * debian/changelog: Version 0.2.1-4.
1104 2000-11-27 Tobias Ringstrom <tori@tellus.mine.nu>
1106 * utils/mountd/auth.c (auth_authenticate): Log the bad path
1109 2000-11-24 Neil Brown <neilb@cse.unsw.edu.au>
1111 * support/nfs/exports.c (getexportent): Check for host name
1112 without option, or options without hostname, and print a warning,
1113 as this is most likely a typo.
1115 2000-11-19 Chip Salzenberg <chip@valinux.com>
1117 * debian/control: Add dependency on portmap.
1118 * debian/changelog: Version 0.2.1-3.
1120 2000-11-10 H.J. Lu <hjl@lucon.org>
1122 * nfs-utils.spec.in: Don't use libtool.
1123 Add ChangeLog and COPYING to doc.
1124 * nfs-utils.spec: Rebuild.
1126 2000-11-09 H.J. Lu <hjl@lucon.org>
1128 * etc/redhat/nfs.init (start): Back out the last change.
1130 2000-11-09 H.J. Lu <hjl@lucon.org>
1132 * etc/redhat/nfs.init (start): Pass --no-tcp to mountd if
1133 TCP is not supported by kernel.
1135 * support/nfs/rpcmisc.c (rpc_init): Don't set _rpcfdtype to 0.
1137 * utils/mountd/mountd.c (longopts): Add "-n/--no-tcp".
1138 (main): Set to _rpcfdtype to SOCK_DGRAM for "-n/--no-tcp".
1140 * utils/mountd/mountd.man: Updated for "-n/--no-tcp".
1142 2000-10-24 Lon Hohberger <hohberger@missioncriticallinux.com>
1144 * utils/statd/callback.c: Fix bug preventing callbacks to local lockd.
1145 * utils/statd/rmtcall.c: Add some IP address paranoia when doing
1146 callbacks to local lockd.
1148 2000-10-18 Scott McDermott <mcdermot@questra.com>
1150 * utils/exportfs/exports.man: Updated for CIDR netmask.
1152 2000-10-17 Scott McDermott <mcdermot@questra.com>
1154 * support/export/client.c (client_init): Support CIDR netmask
1157 2000-10-11 H.J. Lu <hjl@lucon.org>
1159 * aclocal.m4 (AC_TCP_WRAPPER): Fix a typo.
1160 * configure: Rebuilt.
1162 2000-10-06 Lon Hohberger <hohberger@missioncriticallinux.com>
1164 * utils/statd/statd.man: Change "/var/lib/nfs/sm/state" to
1165 "/var/lib/nfs/state".
1167 2000-10-05 Lon Hohberger <hohberger@missioncriticallinux.com>
1169 * utils/statd/statd.h (run_mode): New global bitmask of runtime
1170 behaviors: fg/bg, logging, etc.
1171 * utils/statd/statd.c: New command line options: -V -h -? -d .
1172 * utils/statd/statd.man: Update for changes to statd.
1174 * utils/statd/log.h (log_init): Remove parameter of function; use
1175 global variable "name_p" instead.
1176 * utils/statd/log.c: Add support for logging to stderr.
1178 * utils/statd/notlist.c: Partially rewrite notify list handling
1179 functions. Eliminate run-off-end-of-list bug when calling
1180 nlist_insert_timer. Add lots of comments.
1182 2000-09-27 H.J. Lu <hjl@lucon.org>
1184 * README: Updated for RedHat 7.0.
1186 2000-09-27 H.J. Lu <hjl@lucon.org>
1188 * nfs-utils.spec: Rebuild.
1190 2000-09-27 H.J. Lu <hjl@lucon.org>
1192 * README: Updated for 0.2.1.
1194 2000-09-27 H.J. Lu <hjl@lucon.org>
1196 * nfs-utils.spec.in: Updated to use rpm macros and support
1199 2000-09-25 H.J. Lu <hjl@lucon.org>
1201 * configure.in (VERSION): Set to "0.2.1".
1202 * configure: Regenerated.
1203 * nfs-utils.spec: Updated.
1205 2000-09-25 H.J. Lu <hjl@lucon.org>
1207 * utils/mountd/auth.c (auth_authenticate_internal): Make sure a
1208 non-NULL hostent is always returned.
1210 2000-09-11 Ion Badulescu <ionut@cs.columbia.edu>
1212 * etc/redhat/nfslock.init: don't kill lockd processes that do not
1213 have an executable (i.e. kernel threads)
1215 2000-09-01 H.J. Lu <hjl@lucon.org>
1217 * README: Updated for 0.2.
1219 2000-09-01 Jay Weber <jweber@valinux.com>
1221 * etc/redhat/nfs.init: Added ability for rpc.mountd to default to
1222 supporting version 3 of nfs if available, else it will fall back to
1223 version 2 support only.
1225 2000-08-30 H.J. Lu <hjl@lucon.org>
1227 * configure.in (VERSION): Set to "0.2".
1228 * configure: Regenerated.
1229 * nfs-utils.spec: Updated.
1231 2000-08-25 H.J. Lu <hjl@lucon.org>
1233 * support/misc/tcpwrapper.c (logit): Modify the log output.
1235 2000-08-25 Ion Badulescu <ionut@cs.columbia.edu>
1237 * utils/rquotad/rquotad.man, utils/statd/statd.man,
1238 utils/mountd/mountd.man: updated
1240 * utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL)
1241 * utils/rquotad/Makefile: fix comment
1243 * support/misc/tcpwrapper.c (logit): added comment about waiting
1244 for the children after fork()
1246 * utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving
1247 zombies behind (from logit()'s fork)
1248 * utils/rquotad/rquota_svc.c (main): ditto
1249 * utils/statd/statd.c (main): ditto
1251 * utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG
1252 to check_default instead of 0, for prognum
1254 * utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG
1255 to check_default instead of 0, for prognum
1257 * utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if
1258 HAVE_TCP_WRAPPER is defined.
1259 (mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is
1260 defined. Reject an RPC call if check_default () fails.
1262 2000-08-25 H.J. Lu <hjl@lucon.org>
1264 * support/include/tcpwrapper.h: New for the tcp wrapper
1266 * support/misc/Makefile: Likewise.
1267 * support/misc/from_local.c: Likewise.
1268 * support/misc/tcpwrapper.c: Likewise.
1270 * aclocal.m4 (AC_TCP_WRAPPER): New.
1271 * configure.in: Use it. Substitute LIBWRAP.
1272 * configure: Rebuilt.
1274 * config.mk.in (LIBNSL): New.
1275 (LIBWRAP): Likewise.
1277 * support/Makefile (SUBDIRS): Add misc.
1279 * support/lib/Makefile (LIBS): Add libmisc.a.
1281 * utils/rquotad/Makefile (LIBS): Add
1283 -lmisc $(LIBWRAP) $(LIBNSL)
1285 * utils/statd/Makefile (LIBS): Likewise.
1287 * utils/rquotad/rquota_svc.c: Include "tcpwrapper.h" if
1288 HAVE_TCP_WRAPPER is defined.
1289 (rquotaprog_1): Call check_default () if HAVE_TCP_WRAPPER is
1290 defined. Reject an RPC call if check_default () fails.
1292 * utils/statd/statd.c: Include "tcpwrapper.h" if
1293 HAVE_TCP_WRAPPER is defined.
1294 (sm_prog_1_wrapper): New. A wrapper for sm_prog_1. Call
1295 check_default () before calling sm_prog_1 (). Define it as
1296 sm_prog_1_wrapper if HAVE_TCP_WRAPPER is defined.
1298 2000-08-25 Chip Salzenberg <chip@valinux.com>
1300 * debian/*: Complete Debian build support.
1301 * etc/debian/*: Remove.
1303 2000-08-24 Neil Brown <neilb@cse.unsw.edu.au>
1305 * support/export/client.c(client_check): removed the "dot+1" as a
1306 ypdomain argument to innetgr as this is entirely bogus.
1307 It should always be NULL.
1309 2000-08-23 Neil Brown <neilb@cse.unsw.edu.au>
1311 * support/export/xtab.c(xtab_read): introduce new mode for
1312 reading xtab. i.e. a list of exports that might be known to the
1313 kernel, or might not. These are flagged as m_exported == -1
1314 * support/export/xtab.c(xtab_mount_read): call xtab_read with new
1315 value "2" for xtab, meaning don't trust this too much.
1316 * support/include/exportfs.h(struct mexport): changed m_exported
1317 from one bit to an int so that it can hold new value
1318 * utils/exportfs/exportfs.c(exportfs_ipdate): add an export to the
1319 kernel if it is uncertain whether the kernel knows (m_exported == -1)
1320 * utils/mountd/mountd.c(get_rootfh): similarly export to kernel if
1323 * support/nfs/xio.c(xflock): added O_CREAT when getting
1324 a write lock so that missing files aren't fatal.
1326 * etc/debian/nfs-common: new file from "potato"
1327 * etc/debian/nfs-kernel-server: new file from "potato" plus fixes.
1329 2000-08-09 H.J. Lu <hjl@lucon.org>
1331 * etc/redhat/nfs.init: Run /usr/sbin/exportfs first during
1332 startup to ensure all existing clients work fine.
1334 * support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0
1335 to xtab_read () for reading _PATH_XTAB.
1337 2000-08-02 H.J. Lu <hjl@lucon.org>
1339 * utils/mountd/auth.c (auth_authenticate_internal): Try to
1340 avoid the reverse name lookup.
1342 2000-07-04 H.J. Lu <hjl@lucon.org>
1344 * utils/statd/log.c: Include <stdlib.h> for exit ().
1346 * utils/statd/misc.c (xunlink): Add `{' and `}' to quiet the
1349 2000-07-04 H.J. Lu <hjl@lucon.org>
1351 * configure.in (VERSION): Set to "0.1.9.1".
1352 * configure: Regenerated.
1353 * nfs-utils.spec: Updated.
1357 2000-07-04 Neil Brown <neilb@cse.unsw.edu.au>
1359 * support/export/hostname.c (hostent_dup): Handle the NULL
1362 2000-07-03 H.J. Lu <hjl@lucon.org>
1364 * README: Update the util-linux requirement.
1366 2000-07-03 H.J. Lu <hjl@lucon.org>
1368 * configure.in (VERSION): Set to "0.1.9".
1369 * configure: Regenerated.
1370 * nfs-utils.spec: Updated.
1374 2000-07-03 H.J. Lu <hjl@lucon.org>
1376 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
1377 stop to ensure all clients can still access the server
1378 before it is shutdown.
1380 2000-06-30 Jeff Uphoff <juphoff@transmeta.com>
1382 * tools/rpcgen/rpc_svcout.c (write_msg_out): Generate syslog()
1383 calls with format string.
1385 2000-06-28 Chip Salzenberg <chip@valinux.com>
1387 * utils/statd/log.c (log): Call syslog with format string.
1389 2000-06-27 H.J. Lu <hjl@lucon.org>
1391 * utils/statd/statd.c (main): Use sysconf (_SC_OPEN_MAX)
1392 instead of OPEN_MAX.
1394 2000-06-27 H.J. Lu <hjl@lucon.org>
1398 2000-06-27 H.J. Lu <hjl@lucon.org>
1400 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
1401 startup to ensure all existing clients are exported.
1403 * configure.in (VERSION): Set to "0.1.8.2".
1404 * configure: Regenerated.
1405 * nfs-utils.spec: Updated.
1407 2000-06-06 H.J. Lu <hjl@lucon.org>
1409 * configure.in (VERSION): Set to "0.1.8.1".
1410 * configure: Regenerated.
1411 * nfs-utils.spec: Updated.
1413 2000-06-06 H.J. Lu <hjl@lucon.org>
1415 * utils/mountd/mountd.c (mount_dump_1_svc): Cast svc_getcaller
1416 to "struct sockaddr_in *" for glibc 2.2.
1417 (mount_umnt_1_svc): Likewise.
1418 (mount_umntall_1_svc): Likewise.
1419 (mount_export_1_svc): Likewise.
1420 (mount_exportall_1_svc): Likewise.
1421 (mount_pathconf_2_svc): Likewise.
1422 (get_rootfh): Likewise.
1424 2000-06-04 H.J. Lu <hjl@lucon.org>
1426 * etc/redhat/nfs.init: Fix a typo in comment.
1428 2000-05-31 H.J. Lu <hjl@lucon.org>
1430 * configure.in (VERSION): Set to "0.1.8".
1431 * configure: Regenerated.
1432 * nfs-utils.spec: Updated.
1436 2000-05-31 H.J. Lu <hjl@lucon.org>
1438 * configure.in (VERSION): Set to "0.1.7.5".
1439 * configure: Regenerated.
1440 * nfs-utils.spec: Updated.
1442 * support/include/nfslib.h (exportent): Add a new field,
1443 r_count, to count the number of mounts from a client.
1444 (getrmtabent): Take a new argument for position in file.
1445 (putrmtabent): Likewise.
1446 (fgetrmtabent): Likewise.
1447 (fputrmtabent): Likewise.
1448 * support/nfs/rmtab.c (getrmtabent): Handle the new argument
1449 for position in file.
1450 (fgetrmtabent): Likewise.
1451 (putrmtabent): Likewise.
1452 (fputrmtabent): Likewise.
1454 * support/nfs/rmtab.c (fgetrmtabent): Get value for the new
1457 * support/export/rmtab.c (rmtab_read): Pass NULL as the new
1458 argument to getrmtabent (), fgetrmtabent (), putrmtabent ()
1459 and fputrmtabent ().
1460 * utils/mountd/rmtab.c (mountlist_add): Likewise.
1461 (mountlist_del): Likewise.
1462 (mountlist_del_all): Likewise.
1463 (mountlist_list): Likewise.
1465 * utils/mountd/rmtab.c (mountlist_add): Increment "r_count"
1466 for the existing entry and initialize "r_count" to 1.
1467 (mountlist_del): Decrement "r_count".
1469 2000-05-18 H.J. Lu <hjl@lucon.org>
1471 * configure.in (VERSION): Set to "0.1.7.4".
1472 * configure: Regenerated.
1473 * nfs-utils.spec: Updated.
1475 2000-05-18 H.J. Lu <hjl@lucon.org>
1477 * etc/redhat/nfs.init (restart): Just do stop and start.
1479 2000-05-09 Jay Weber <jweber@valinux.com>
1481 * utils/rquotad/hasquota.c: added support for ext3 recognition
1483 * utils/rquotad/mntent.h: Likewise.
1485 2000-05-01 H.J. Lu <hjl@lucon.org>
1487 * configure.in (VERSION): Set to "0.1.7.3".
1488 * configure: Regenerated.
1489 * nfs-utils.spec: Updated.
1491 2000-05-01 H.J. Lu <hjl@lucon.org>
1493 * utils/rquotad/rquota_server.c (getquotainfo): Skip bad
1494 mounting poins in /etc/fstab.
1496 2000-05-01 H.J. Lu <hjl@lucon.org>
1498 * configure.in (VERSION): Set to "0.1.7.2".
1499 * configure: Regenerated.
1500 * nfs-utils.spec: Updated.
1502 2000-05-01 H.J. Lu <hjl@lucon.org>
1504 * utils/rquotad/rquota_server.c (getquotainfo): Call stat ()
1505 to check for the mounting point.
1507 2000-04-29 Chip Salzenberg <chip@valinux.com>
1508 Neil Brown <neilb@cse.unsw.edu.au>
1510 * Really re-use RPC ports.
1511 (Fixes earlier patch. Sorry, Neil.)
1513 2000-04-26 H.J. Lu <hjl@lucon.org>
1515 * configure.in (VERSION): Set to "0.1.7.1".
1516 * configure: Regenerated.
1517 * nfs-utils.spec: Updated.
1519 2000-04-26 H.J. Lu <hjl@lucon.org>
1521 * etc/redhat/nfslock.init: Check if lockd exits before killing
1524 2000-04-25 H.J. Lu <hjl@lucon.org>
1526 * README: Require util-linux-2.10f-mount-rpc.patch for mount.
1528 2000-03-21 Michael Weiser <michael@weiser.saale-net.de>
1530 * support/nfs/exports.c (parsesquash): Correctly set the
1533 Tue Mar 21 11:38:48 EST 2000 NeilBrown <neilb@cse.unsw.edu.au>
1535 * support/include/nfs/nfs.h: Removed knowledge of internals of
1536 kernel filehandles (which can change) and defined nfs_fh_size
1537 which has variable size
1539 * support/nfs/getfh.c: defined getfh_size to use new syscall to
1540 get variable sized file handles, and change getfh{,old} to
1543 * utils/mountd/mountd.c: use nfd_fh_size and call getfh_size for
1546 * tools/Makefile, tools/nlmtest/nlmtest.c
1547 nlmtest.c depended on internel format of file handles, so now
1551 2000-03-12 Chip Salzenberg <chip@valinux.com>
1552 Neil Brown <neilb@cse.unsw.edu.au>
1554 * support/nfs/rpcmisc.c (rpc_init): Share transports.
1556 2000-03-13 H.J. Lu <hjl@lucon.org>
1558 * etc/redhat/nfsd.init: Updated.
1560 * etc/redhat/nfslock.init: Updated.
1562 * nfs-utils.spec.in: Updated.
1564 * configure.in (VERSION): Set to "0.1.7".
1565 * configure: Regenerated.
1566 * nfs-utils.spec: Updated.
1570 Wed Mar 8 09:42:43 2000 Neil Brown <neilb@cse.unsw.edu.au>
1572 * utils/exportfs/exportfs.c (dump): Included printing of
1573 nohide, no_subtree_check, and insecure_locks
1575 2000-02-26 Chip Salzenberg <chip@valinux.com>
1577 * config.mk.in (INSTALLSUID): Strip ("-s").
1578 (INSTALLSCRIPT): Define.
1579 * utils/nhfsstone/Makefile: Use it.
1581 2000-02-26 Chip Salzenberg <chip@valinux.com>
1583 * utils/lockd/lockd.man: Create.
1584 * utils/lockd/Makefile: Install it.
1585 * utils/nhfsstone/nhfs{run,nums,graph}.man: Create.
1586 * utils/nhfsstone/nhfsstone.man: Change suffix from ".1".
1587 * utils/nhfsstone/Makefile: Install the helper scripts and
1589 * utils/exportfs/exports.man: Fix typo.
1591 2000-02-26 Chip Salzenberg <chip@valinux.com>
1593 * support/nfs/xio.c (xungetc): Decrement line number when
1594 character to unget is newline. Make first parameter int, so
1595 it can distinguish EOF from \377.
1596 * support/include/xio.h (xungetc): Adjust prototype.
1598 Fri Feb 4 23:42:23 2000 Neil Brown <neilb@cse.unsw.edu.au>
1600 * support/include/nfs/export.h: added NFSEXP_NOAUTHNLM
1601 * support/nfs/exports.c: added handling for NFSEXP_NOAUTHNLM
1602 * utils/exportfs/exports.man: added documentation for no_auth_nlm.
1604 This is for supporting a new option introduced in 2.3.42
1606 Thu Feb 3 14:55:48 2000 H.J. Lu <hjl@lucon.org>
1608 * COPYING: Added. GPL.
1610 Thu Feb 03 14:40:40 2000 Cristian Gafton <gafton@redhat.com>
1612 * utils/rquotad/rquota_server.c (getquotainfo): Call statfs ()
1613 to get the block size.
1615 Tue Jan 25 11:04:17 2000 H.J. Lu <hjl@lucon.org>
1617 * nfs-utils.spec.in: Update ftp site.
1619 Mon Jan 17 11:48:18 2000 H.J. Lu <hjl@lucon.org>
1621 * README: Update hostnames.
1623 Tue Jan 11 10:06:22 2000 H.J. Lu <hjl@lucon.org>
1625 * configure.in (VERSION): Set to "0.1.6".
1626 * configure: Regenerated.
1627 * nfs-utils.spec: Updated.
1631 Mon Jan 10 14:26:33 2000 H.J. Lu <hjl@lucon.org>
1633 * utils/mountd/auth.c (auth_authenticate_internal): Call
1634 xstrdup for hostname before passing it to gethostbyname.
1636 * utils/mountd/mountd.c (get_exportlist): Use xstrdup instead
1639 Sun Dec 19 09:35:01 1999 H.J. Lu <hjl@lucon.org>
1641 * README: Update the mailing list address.
1643 Sun Dec 19 09:22:28 1999 H.J. Lu <hjl@lucon.org>
1645 * configure.in (VERSION): Set to "0.1.5".
1646 * configure: Regenerated.
1647 * nfs-utils.spec: Updated.
1651 Mon Dec 13 13:40:20 1999 H.J. Lu <hjl@lucon.org>
1653 * utils/rquotad/hasquota.c (hasquota): Malloc one more char
1656 Mon Dec 6 09:42:45 1999 H.J. Lu <hjl@lucon.org>
1658 * configure.in (VERSION): Set to "0.1.4".
1659 * configure: Regenerated.
1660 * nfs-utils.spec: Updated.
1664 Mon Dec 6 09:28:07 1999 H.J. Lu <hjl@lucon.org>
1666 * nfs-utils.spec.in: New file.
1668 * config.mk.in (VERSION): Changed to "nfs-utils @VERSION@".
1670 * configure.in (nfs-utils.spec): Added to AC_OUTPUT.
1672 1999-12-04 Chip Salzenberg <chip@valinux.com>
1674 * config.mk.in: Use $(CC) as set by configure.
1676 1999-12-04 Chip Salzenberg <chip@valinux.com>
1678 * rules.mk: Call $(MAKE) with $(MFLAGS).
1680 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1682 * tools/rpcgen/rpc_main.c (h_output): Generate IXDR_GET_INT32,
1683 IXDR_PUT_INT32, IXDR_GET_U_INT32 and IXDR_PUT_U_INT32.
1685 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1687 * nfs-utils.spec (Version): Set to 0.1.3.
1689 * configure.in (VERSION): Set to "nfs-utils 0.1.3".
1690 * configure: Regenerated.
1694 Mon Nov 29 11:15:47 1999 H.J. Lu <hjl@lucon.org>
1696 * utils/rquotad/rquota_server.c (nfsmount_to_devname): Removed.
1697 (_PATH_DEV_DSK): Likewise.
1698 (getquotainfo): Match the mounting point from /etc/mtab
1699 instead of calling nfsmount_to_devname ().
1701 1999-11-24 Chip Salzenberg <chip@valinux.com>
1703 * utils/statd/monitor.c (sm_mon_1_svc): Accept lockd callbacks
1704 to the new port 24 as well as the historical port 100021.
1706 Tue Nov 23 10:21:34 1999 Neil Brown <neilb@cse.unsw.edu.au>
1708 * etc/redhat/nfsd.init (stop): moved exportfs -ua after
1709 stopping nfsd to stop spurious ESTALE on server shutdown.
1711 Tue Nov 23 10:13:39 1999 Neil Brown <neilb@cse.unsw.edu.au>
1713 * support/nfs/exports.c (parseopts): make copy of opt string
1714 before 'nul'ing out commas so that
1716 # exportfs -o option1,option2 hosta:/fs hostb:/fs
1718 applies both options to both exports.
1720 Thu Oct 28 12:55:42 1999 H.J. Lu <hjl@lucon.org>
1722 * README: Fix a few typos.
1724 * tools/rpcgen/rpc_cout.c (print_header): Use int32_t instead
1726 * tools/rpcgen/rpc_hout.c (pdefine): Likewise.
1727 * tools/rpcgen/rpc_main.c (c_initialize): Likewise.
1728 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1729 (unsigned_dec): Likewise.
1730 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1731 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1733 * tools/rpcgen/rpc_cout.c (emit_single_in_line): Use INT32
1735 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1736 (unsigned_dec): Likewise.
1737 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1738 * tools/rpcgen/rpc_scan.h (tok_kind): Likewise.
1739 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1741 Thu Oct 28 11:27:51 1999 Neil Brown <neilb@cse.unsw.edu.au>
1743 * support/include/nfs/export.h addedd NFSEXP_NOSUBTREECHECK
1744 * support/nfs/exports.c: added {no_,}subtree_check and changed
1746 * utils/exportfs/exports.man: added no_subtree_check and nohide
1747 and removed irrelevant stuff from unfsd.
1748 * support/export/rmtab.c: rmtab_read didn't quite do the right
1749 thing if a pathname from rmtab was a subdirectory of an export-point
1751 Tue Oct 26 17:22:40 1999 H.J. Lu <hjl@lucon.org>
1753 * README: Updated ftp site.
1755 Mon Oct 25 18:12:45 1999 H.J. Lu <hjl@lucon.org>
1757 * nfs-utils.spec (Version): Set to 0.1.2.
1759 * configure.in (VERSION): Set to "nfs-utils 0.1.2".
1760 * configure: Regenerated.
1764 Mon Oct 25 18:11:21 1999 H.J. Lu <hjl@lucon.org>
1766 * utils/mountd/auth.c (auth_error): Add "no_forward_dns".
1767 (auth_authenticate_internal): Check for NULL return on forward
1769 (auth_authenticate): Handle "no_forward_dns".
1771 Thu Oct 21 16:22:06 1999 H.J. Lu <hjl@lucon.org>
1773 * Version 0.1.1 released.
1775 * nfs-utils.spec (Version): Set to 0.1.1.
1777 * configure.in (VERSION): Set to "nfs-utils 0.1.1".
1778 * configure: Regenerated.
1782 Mon Oct 18 17:43:29 1999 H.J. Lu <hjl@lucon.org>
1784 * nfs-utils.spec (Obsoletes): Fixed a typo, change knfsd-client
1786 (Provides): Likewise.
1788 Mon Oct 18 14:56:22 1999 H.J. Lu <hjl@lucon.org>
1790 * Initial version 0.1 released.
1792 * configure.in (VERSION): Set to "nfs-utils 0.1".
1793 * configure: Regenerated.
1795 Mon Oct 18 14:54:57 1999 H.J. Lu <hjl@lucon.org>
1797 * utils/mountd/mountd.c (get_exportlist): Cleanup.
1799 * utils/exportfs/exportfs.c (unexport_all): Unexport from
1800 kernel only if the entry is exported to kernel.
1801 (unexportfs): Likewise.
1803 Wed Sep 08 16:49:32 1999 Neil Brown <neilb@cse.unsw.edu.au>
1805 1/ utils/mountd/rmtab.c::mountlist_list
1807 This routine stats the rmtab file to see if it has changed. It
1808 if has, it cleans up it's old copy of the data. But it still
1809 always re-read the file, thus returning multiple copies of the
1810 data on consecutive calls without intervening changes.
1811 "Showmount -a" didn't show this as it appears to sort/unique the
1812 data, but 'strace showmount -a' showed that the size of the
1813 datagram that it received grew.
1815 I moved the getrmtabent loop inside the mtime test.
1817 2/ utils/exportfs/exportfs.c
1819 Many routines used the m_path field of m_export instead of
1821 According to the comment in nfslib.h, m_path should only
1822 be used when processing a mount request (i.e. in mountd)
1823 where the mountpoint may be a subdirectory of the export point.
1825 I changed all occurances of m_path to e_path
1828 3/ utils/exportfs/exportfs.c:main
1830 extra arguments are not meaningful with -a or -r, but
1831 exportfs accepted them and then ignored the -a/-r, expect that
1832 -r would still unexport everything first.
1834 I generate an error if there are extra args and f_all
1836 4/ utils/exportfs/exportfs.c:main
1837 extract dump out as a special case.
1839 5/ utils/exportfs/exportfs.c
1840 made f_reexport a local variable.
1843 6/ utils/exportfs/exportfs.c:main,exportall
1845 support/export/rmtab.c
1846 only mayexport on newly created entries, don't set xtabent at all
1848 7/ support/include/nfslib.h
1850 add #define _PATH_PROC_EXPORTS to be /proc/fs/nds/exports
1852 8/ support/export/xtab.c
1854 xtab_mount_read loads data from _PATH_PROC_EXPORTS if it exists,
1858 9/ support/export/xtab.c
1860 xtab_mount_read now sets m_exported, and NOT
1861 xtabent and mayexport
1863 removed the append arguement from xtab_write as it was
1866 added is_export flag to xtab_write similar to xtab_read
1867 if is_export, only write entries with m_xtabent or m_addxtab
1868 if !is_export, only write entries with m_exported
1870 10/ support/export/export.c::export_allowed_internal
1872 added test for exp->m_mayexport, as the export tree
1873 may have entries that are no longer allowed to be exported,
1874 and so shouldn't caused deduced exported by rmtab_read
1876 11/ utils/exportfs/exportfs.c::main
1877 error checking of flags.
1879 12/ utils/exportfs/exportfs.c
1881 total rewrite of export and unexport logic.
1883 - build an exportslist of valid exports, based on
1884 current etab file and arguments,
1885 - read rmtab to instantiate relevant wild card entries
1886 - read etab to find out what is currently exported
1887 - synchronise intention with reality
1888 - write out etab and xtab
1891 discard the m_addxtab flag
1892 add m_changed flag so we know what to report in exportfs
1894 14/ utils/mountd/auth.c:auth_authenticate
1896 the value returned by gethostbyaddr was trusted.
1898 It now follows this with a call to gethostbyname
1899 and checks that the address is in the list.
1901 15/ support/export/nfsctl.c::cltsetup,expsetup
1903 force client names to lowercase as kernel is
1906 16/ quietened a few compiler warnings
1908 17/ support/export/client:client_lookup
1910 look for pre-existing client with same name before creating
1913 18/ support/include/exportfs.h
1915 The ordering of the MCL_* enum was:
1916 ANONYMOUS, FQDN, SUBNETWORK, WILDCARD, NETGROUP
1918 I moved ANONYMOUS to the end.
1920 The ordering is significant when an export entry is being searched for to
1921 match a given address. There are two problems with ANONYMOUS being first.
1923 1/ if a directory is exported rw to a couple of hosts and ro to everyone else,
1924 then the ro case will always be found first and the privileged hosts won't get
1926 2/ When mountd gets a request to mount an ANONYMOUSly exported tree, it creates a FQDN
1927 export entry for the specific host, and writes it to xtab.
1928 When another request comes from the same host, the ANONYMOUS entry is found again,
1929 before the new FQDN entry, so it creates another FQDN entry and writes it to xtab
1930 again. If causes bloat in xtab.
1932 Putting ANONYMOUS at the end reflects it's nature as a catch-all
1934 19/ utils/exportfs/exportfs.man
1935 many updates to the man page to reflect changes to the code
1937 -----------------------
1943 - allow exportfs to modify rmtab file
1944 - make sure kernel never gets two clients with same IP address
1945 - possible kernel should reject
1946 - needs to be some way to lookup client in kernel by IP address
1947 - maybe get kernel to do case-insensitive comparisons on client names
1948 - remove unused clients from kernel
1950 - change etab to xtab and xtab to xtab.active
1952 - timestamp and/or statd-stamp in rmtab for removing old entries.
1954 Mon Oct 18 11:48:07 1999 H.J. Lu <hjl@lucon.org>
1956 * linux-nfs: New directory.
1957 * linux-nfs/ChangeLog: Moved from ..
1958 * linux-nfs/INSTALL: Likewise.
1959 * linux-nfs/KNOWNBUGS: Likewise.
1960 * linux-nfs/NEW: Likewise.
1961 * linux-nfs/README: Likewise.
1962 * linux-nfs/THANKS: Likewise.
1963 * linux-nfs/TODO: Likewise.
1965 * Starting from knfsd 1.4.7.