1 2004-12-03 Trond Myklebust <trond.myklebust@fys.uio.no>
3 * utils/statd/statd.c(main): ignore SIGPIPE
5 2004-11-22 "J. Bruce Fields" <bfields@fieldses.org>
7 * tools/rpcdebug/rpcdebug.c: support aliases "nfsdebug" and
8 "nfsddebug" and update flag names.
9 * configure.in, nodist/* redhat/* nfs-utils.spec*: remove redhat
10 specific files (as no-one actually uses them, especially not
11 redhat), and the nodist /etc files (as they drift out-of-date, and
12 the debian directory provides a suitable example.
13 * utils/svcgssd_proc.c(get_ids): fix memory leak
14 * utils/svcgssd/svcgssd_proc.c: Rely on count of the number of
15 groups instead of using a special guard value to identify the end
17 * utils/idmapd/idmapd.c: don't allow Default domain and anon-uid
18 or -gid to be specified on command line.
19 * utils/idmapd/idmapd.c: improve error messages
20 * utils/idmapd/idmapd.c: Reopen nfsd files on sighup. Allows us
21 to start up client side only (even when nfsd module not loaded),
22 and then sighup later after insmodding nfsd module.
23 * utils/idmapd/idmapd.c: Make sure we catch all errors on
24 daemonizing by waiting for child to report succesfull startup
26 * utils/idmapd/idmapd.c: Let libnfsidmapd parse the idmapd.conf
27 file for the default domain, instead of doing that ourselves.
28 * utils/gssd/gssd_proc.c: Make sure we get an error when a gssd
30 * utils/gssd/gssd_proc.c: We were forgetting to restore the euid
31 on certain failures, which meant gssd could get stuck in a state
32 where it didn't have permissions to read the files in rpc_pipefs
34 * utils/gssd/gssd_proc.c: Use libnfsidmapd to map gss principals
36 * debian/nfs-kernel-server.default: Document the NEED_SVCGSSD
37 variable in /etc/default/nfs-kernel-server.
40 2004-11-22 NeilBrown <neilb@cse.unsw.edu.au>
42 * utils/exportfs/nfsd.man: corrected typo in .BR macro usage -
43 reported by Eric Raymond
45 2004-10-19 "J. Bruce Fields" <bfields@fieldses.org>
47 * support/gssapi/* support/rpc/* utils/gssd/* utils/svcgssd/* etc
48 initial support for GSSAPI authentication
50 2004-09-15 Neil Brown <neilb@cse.unsw.edu.au>
52 * utils/statd/monitor.c(sm_unmon_1_svc): is RESTRICTED_STATD, then
53 check IP address and force my_name to 127.0.0.1 to match
54 what happens in sm_mon_1_svc. This avoid spurious "erroneous
56 * utils/statd.monitor.c(sm_unmon_all_1_svc): likewise
58 2004-09-15 "J. Bruce Fields" <bfields@fieldses.org>
60 * Assorted changes to support "gss/*" style authentication
61 * utils/idmapd: new idmapd daemon for nfsv4 username lookup
63 2004-09-06 Trond Myklebust <trond.myklebust@fys.uio.no>
64 Neil Brown <neilb@cse.unsw.edu.au>
66 * utils/mountd/auth.c(auth_authenticate_internal): fix
67 uninitialsed variable problem (causes bad error messages).
69 2004-09-06 Paul Clements <paul.clements@steeleye.com>
70 Neil Brown <neilb@cse.unsw.edu.au>
72 * utils/mountd/mountd.c(main): support --ha-callout (-H) for
73 specifying a callout program
74 * utils/mountd/rmtab.c: Call ha_callout on mount/unmount
75 * utils/statd/monitor.c: Call ha_callout on add/del client
76 * utils/statd/rmtcall.c: as above
77 * utils/statd/statd.c: handle --ha-callout (-H)
78 * utils/statd/svc_run.c: call notify_hosts is we have received a
80 * support/include/ha-callout.h: define ha_callout function
83 2004-08-31 NeilBrown <neilb@cse.unsw.edu.au>
84 * utils/mountd/cache.c(cache_process_req): clear fd after
85 processing so as not to confused libc/sunrpc into thinking
86 it need to do something with that fd.
88 2004-08-31 NeilBrown <neilb@cse.unsw.edu.au>
90 * debian/nfs-kernel-server.init(start,stop) mount the nfsd
91 filesystem, if available, before starting nfs services, and
92 unmount it afterwards.
93 * etc/nodist/nfs-server: ditto
94 * etc/redhat/nfs.init: likewise
95 * etc/redhat/nfs: add "MOUNT_NFSD" flag to control above.
97 2004-06-08 NeilBrown <neilb@cse.unsw.edu.au>
99 * utils/exportfs/exportfs.c: Don't rmtab_read if new_cache, it
101 * support/nfs/cacheio.c(cache_flush): Change order in which caches
102 are flushed so that dependancies don't keep things in the cache
105 2004-03-18 Chip Salzenberg <chip@pobox.com>
107 * debian/changelog: Version 1.0.6-2.
109 2004-02-24 NeilBrown <neilb@cse.unsw.edu.au>
110 from "J. Bruce Fields" <bfields@fieldses.org>
112 * utils/mountd/cache.c: call auth_reload to make sure auth data is
113 current before responding to kernel upcall.
115 2004-02-24 NeilBrown <neilb@cse.unsw.edu.au>
116 Based on patch from Greg Banks <gnb@melbourne.sgi.com>
118 * utils/exportfs/exports.man: Document fsid= option.
120 2003-09-15 NeilBrown <neilb@cse.unsw.edu.au>
124 * rules.mk: Add dep: rule when no OBJS, so "make dep" works in
125 support/include, and depend in "predep"
126 * support/export/Makefile, tools/rpcgen/Makefile,
127 utils/statd/Makefile: add "predep" rule so that "make dep" works.
128 * Makefile: allow a simple "make" to run ./configure and "make dep"
130 * configure.in, nfs-utils.spec: Update version to 1.0.6
133 2003-09-12 Chip Salzenberg <chip@pobox.com>
135 * debian/changelog: Version 1.0.6-1.
137 2003-09-12 NeilBrown <neilb@cse.unsw.edu.au>
139 * utils/mountd/mountd.c(main): Impose FD_SETSIZE as an upper limit
141 * utils/statd/statd.c(main): Ditto.
143 michael <michael@newdream.net> discovered that svc_setreqsize
144 in glibc can segfault if RLIMIT_NOFILE is bigger than
145 FD_SETSIZE, so a simple solution is to impose a hard limit.
147 2003-09-09 Chip Salzenberg <chip@pobox.com>
149 * debian/changelog: Version 1.0.5-3.
150 * support/export/hostname.c (get_reliable_hostbyaddr): Fix crash
151 on invalid reverse DNS.
152 * utils/showmount/showmount.c (main): Fix inet_ntoa() parameter.
153 * tools/rpcgen/rpc_cout.c (print_header): Remove unused vars.
154 * tools/rpcgen/rpc_parse.c (def_union): Likewise.
156 2003-08-22 Chip Salzenberg <chip@pobox.com>
158 * utils/statd/{log.h,log.c}: Rename log() to note() and L_* to
159 N_*, to avoid conflict with ISO C built-in log() function.
160 * utils/statd/*.c: Use note().
162 2003-08-20 Chip Salzenberg <chip@pobox.com>
164 * debian/changelog: Version 1.0.5-2.
166 2003-08-11 NeilBrown <neilb@cse.unsw.edu.au>
168 * utils/mountd/cache.c(cache_get_filehandle): close the filehandle
171 2003-08-04 NeilBrown <neilb@cse.unsw.edu.au>
173 * support/include/nfs/export.h, support/nfs/exports.c,
174 utils/exportfs/exports.c, utils/mountd/mountd.c: change
175 NFSEXP_CROSSMNT to NFSEXP_CROSSMOUNT to avoid confusion with older
176 meaning. Also remove meaningless
177 NFSEXP_{UIDMAP,KERBEROS,SUNSECURE}
179 2003-08-04 NeilBrown <neilb@cse.unsw.edu.au>
181 * support/export/xtab.c, support/include/nfslib.h,
182 support/nfs/cacheio.c, support/nfs/nfssvc.c,
183 utils/exportfs/exportfs.c, utils/exportfs/exportfs.man,
184 utils/exportfs/nfsd.man, utils/mountd/cache.c: support
185 /proc/fs/nfsd/* as a perferred alternate to /proc/fs/nfs/*
186 (nfs-utils-1.0.5-post2)
188 2003-08-04 NeilBrown <neilb@cse.unsw.edu.au>
190 * support/nfs/nfsexport.c: open channel file O_WRONLY when
192 * utils/mountd/cache.c: maintain mountlist when new_cache is
193 active. Also use O_WRONLY for channel files.
194 * utils/mountd/mountd.h: mountlist_{del,add} now take a host name
195 rather than an nfs_export.
196 * utils/mountd/rmtab.c: ditto.
197 (nfs-utils-1.5.0-post1)
199 2003-07-24 Chip Salzenberg <chip@pobox.com>
201 * support/nfs/xlog.c (xlog): Revise buffer-overflow fix to
202 use Debian security team's cleaner approach.
203 * debian/changelog: Version 1.0.5-1.
204 * debian/nfs-kernel-server.init: Cosmetic changes.
206 2003-07-18 NeilBrown <neilb@cse.unsw.edu.au>
209 1.0.4 was a bit of a brown-paper-bag-release because of the extra
210 'free' in auth.c. So I'm releasing this just a few days later.
212 * support/nfs/cacheio.c(cache_flush): Correct test for 'open
214 * utils/exportfs/exportfs.c(main): If "-f" given as lone option,
215 check if new_cache is enabled, error if not, flush and exit if it
217 * utils/exportfs/exportfs.man: Explain -f option and explain the
218 two different modes that exportfs can work in.
219 * utils/mountd/mountd.c: Do not change RLIMIT_NOFILE if the -o
221 * utils/mountd/mountd.man: Record the change if default behaviour
223 * configure.in, nfs-utils.spec: update version to 1.0.5 and
226 2003-07-15 NeilBrown <neilb@cse.unsw.edu.au>
228 * utils/mountd/mountd.c(main): getopt string fix for 'o'
229 * utils/mountd/auth.c(auth_authenticate): remove extra 'free'
230 * utils/exportfs/exportfs.c(main): make 'exportfs -f' just flush
232 * support/include/nfs/export.h: Reserve a bit for possible ACL
235 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
237 * utils/exportfs/nfsd.man: new man page for nfsd filesystem. Also
238 assorted changed to cope with section 7 of the manual.
239 * configure.in, nfs-utils.spec: Update version to 1.0.4
242 This is a 'pre-release' for 1.1.0 Hopefully 1.1.0 will be the
243 baseline for 2.6 and 2.8. I.e. it should continue to work right
244 through the 2.8 (or 3.0) kernel series. Previous releases wont.
246 2003-07-04 NeilBrown <neilb@cse.unsw.edu.au>
247 Steve Dickson <SteveD@redhat.com>
250 * utils/statd/statd.c: create a pidfile with pid of statd, and
251 truncate it when statd exists.
252 * utils/statd/statd.c: drop privs by setuid to owner of SM_DIR,
253 and warn if this is root.
254 * utils/statd/statd.c: when statd forks, connect child to parent
255 with a pipe, and send a byte down the pipe once the child is
257 * Makefile: create and chown sm, sm.bak, state when "make install"
258 * configure.in: add --with-statduser= option which defaults to
259 "rpcuser" or "nobody"
260 * config.mk.in: pass "statduser" through to Makefile
262 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
264 * support/include/nfs/nfs.h: Make sure correct __kernel_dev_t is
265 used as the size was changed somewhere in 2.5.60-2.5.70. Without
266 this nfs-utils compiles against 2.6 headers will not work on a
269 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
271 * support/nfs/nfssvc.c(nfssvc): If /proc/fs/nfs/threads exists,
272 set number of threads by writing to there. This means it will
273 still work when the syscall interface goes away in 2.7.
275 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
276 fumihiko kakuma <kakmy@mvh.biglobe.ne.jp>
278 * utils/exportfs/exportfs.c(unexportfs): improve host comparison
279 so as to only export the wildcard exports that were asked for.
280 * support/export/export.c(export_allowed): changed to return the
281 nfs_export rather than a "struct exportent", as m_changed is
283 * support/export/rmtab.c(rmtab_read): modified to deal with
284 interface change for export_allowed(), and enhanced to preserve
285 m_changed flag when a wild-card export causes the creation of
286 a non-wildcard export.
288 2003-07-02 NeilBrown <neilb@cse.unsw.edu.au>
289 Steve Dickson <SteveD@redhat.com>
291 * utils/mountd/mountd.man: Add valid kinds of debugging.
292 * utils/mountd/mountd.c(main): ignore SIGPIPE
293 * utils/nfsstat/nfsstat.c: fine-tune printing of warning so
294 we don't get warnings about unavailable stats that weren't asked
297 2003-06-24 NeilBrown <neilb@cse.unsw.edu.au>
299 * support/nfs/nfsexport.c(exp_unexp): When unexporting filesystems
300 via /rpc/net/rpc/nfsd*/channel, set the expiry date to 1, not
301 'forever', so things disappear out of the cache rather than just
304 2003-06-16 "J. Bruce Fields" <bfields@fieldses.org>
306 * utils/mountd/cache.c(nfsd_fh): don't export the export_ent
309 2003-06-16 NeilBrown <neilb@cse.unsw.edu.au>
311 * debian/nfs-kernel-server.init,etc/nodist/nfs-server,
312 etc/redhat/nfs.init: when checking if V3 is supported, make sure
313 nfs server 'knows' about 127.0.0.1 first.
315 2003-06-10 Chip Salzenberg <chip@pobox.com>
317 * support/nfs/xlog.c (xlog): Fix off-by-one buffer overflow bug.
318 * debian/changelog: Version 1.0.3-2.
320 2003-05-30 Michael Griffith <grif@michaelgriffith.com>
321 NeilBrown <neilb@cse.unsw.edu.au>
323 utils/nfsstat/nfsstat.c(print_callstats): use unsigned
324 long long to avoid overflow when printing stats.
326 2003-05-30 NeilBrown <neilb@cse.unsw.edu.au>
328 * support/export/export.c, support/include/nfslib.h,
329 support/nfs/export.c, utils/exportfs/exportfs.c,
330 utils/mountd/mountd.c: new export option "mountpoint"
331 If no path is given, then the export point must be a
332 mount point, or it won't be exported. If a path is
333 given (e.g. mountpoint=/path) then that path must be
334 a mountpoint or the exportpoint won't be exported.
335 * utils/exportfs/exportfs.man: document mountpoint option.
336 * support/misc/mountpoint.c: New file with is_mountpoint()
337 to determine if something is a mountpoint.
339 2003-05-23 NeilBrown <neilb@cse.unsw.edu.au>
341 * utils/mountd/cache.c(cache_get_filehandle): take a separate path
342 argument as we might not be getting the filehandle for the
344 * utils/mountd/mountd.c(get_rootfh): pass real path when calling
345 cache_get_filehandle.
346 * utils/mountd/mountd.c(get_rootfh): check export point and
347 requested directory are on the same filesystem, and complain if
350 2003-05-22 NeilBrown <neilb@cse.unsw.edu.au>
352 * utils/mountd/auth.c(auth_authenticate_internal): make sure
353 portnumber is still checked when using new cache lookup.
355 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
357 * utils/exportfs/exportfs.c: Use check_new_cache and cache_flush
358 Don't actually talk to kernel when new cache is in effect, except
360 * utils/exportfs/exportfs.c: add -f option to fully flush cache.
361 * support/export/xtab.c: Only rename new xtab into place if it has
362 changed, thus preserving modify date for exportfs to use when
364 * support/nfs/cacheio.c: Add cache_flush
365 * support/export/xtab.c: Only rename new xtab into place if it has
366 changed, thus preserving modify date for exportfs to use when
369 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
371 * support/export/client.c: Add client_compose, client_member to
372 handle new composite client names
373 * support/include/exportfs.h: Declare above functions.
374 * utils/mountd/auth.c: use client_compose to determine calling
375 client if new cache is being used.
376 * utils/mountd/auth.c: call cache_export to export a filesystem if
377 new_cache, check if new cache is used, and call my_svc_run instead
379 * utils/mountd/svc_run.c: new file defining my_svc_run
380 * utils/mountd/cache.c: new file for handling cache upcalls.
381 * support/nfs/cacheio.c(check_new_cache): new function to check if
382 new cache should be used.
385 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
387 * support/include/nfs/export.h: New CROSSMNT distinct from NOHIDE
388 * support/nfs/exports.c: Make CROSSMNT distinct from NOHIDE
389 * utils/exportfs/exportfs.c(dump): ditto
391 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
393 * support/export/hostname.c(get_reliable_hostbyaddr): new function
394 to get host name from address with full checking of authenticity.
395 * support/include/misc.h: declare above function
396 * utils/mountd/auth.c(auth_authenticate_internal): remove all
397 logic for authenticating address.
398 * utils/mountd/auth.c(auth_authenticate): call new
399 get_reliable_hostbyaddr to to hostname lookup before calling _internal.
402 2003-03-30 NeilBrown <neilb@cse.unsw.edu.au>
404 * tools/rpcgen/rpc_main.c(find_cpp): removed
405 * tools/rpcgen/rpc_main.c(open_input): use execvp to find "cpp",
406 then try hard-coded paths.
408 2003-03-26 Chip Salzenberg <chip@pobox.com>
410 * debian/changelog: Version 1.0.3-1.
412 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
414 * utils/mountd/rmtab.c (slink_safe_rename): real_newpath should be
415 "const char*", not "char*".
417 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
419 * configure.in (VERSION): Set to "1.0.3".
420 * nfs-utils.spec: Likewise.
421 * configure: Regenerated.
423 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
425 * support/nfs/cacheio.c: New File - support for read/writing
426 to export cache in /proc/rpc/*/channel
427 * support/nfs/Makefile: compile cacheio.c
428 * support/include/nfslib.h: declare cacheio.c functions
429 * support/nfs/nfsexport.c: export and unexport through
430 /proc/rpc/*/channel if possible, as old syscall interface
431 may not survive into 2.6 on all architectures.
433 2003-02-19 NeilBrown <neilb@cse.unsw.edu.au>
434 Ben Leslie <benno@sesgroup.net>
436 * support/nfs/rpcmisc.c(rpc_init): change test for ignoring
437 "defport" from (__rpcfdtype == 0) to (__rpcpmstart==0). The
438 former would incorectly ignore defport if the application
439 explicitly set __rpcfdtype. The later is sufficient to avoid the
440 special handling in the case where stdin is an internet socket.
442 * utils/mountd/mountd.c(main): Add 'n' to option list in
443 getopt_long as this is a short form of --no-tcp which want being
446 2003-02-12 Chip Salzenberg <chip@pobox.com>
448 * debian/changelog: Version 1.0.2-2.
450 2002-11-27 Chip Salzenberg <chip@pobox.com>
452 * utils/mountd/rmtab.c (slink_safe_rename): Fix off-by-one buffer
453 overflow bug. Reformat per rest of source file.
455 2002-11-19 NeilBrown <neilb@cse.unsw.edu.au>
457 * utils/exportfs/exports.man: Correct notes about whether the wild
458 card characters match a period. They do.
460 2002-10-15 Juan Gomez <juang@us.ibm.com>
462 * utils/mountd/rmtab.c (slink_safe_rename): New. Support
464 (mountlist_add): Call slink_safe_rename instead of rename.
466 2002-10-11 H.J. Lu <hjl@lucon.org>
468 * support/include/exportfs.h (export_errno): New.
470 * support/nfs/exports.c: Include <errno.h>.
472 (getexportent): Set export_errno to EINVAL for bad option.
473 (parseopts): Likewise.
474 Report the location of the default sync/async option.
476 * utils/exportfs/exportfs.c (main): Initialize export_errno to
477 0. Return export_errno.
479 2002-10-11 Juan Gomez <gomez@cs.sjsu.edu>
480 NeilBrown <neilb@cse.unsw.edu.au>
482 utils/statd/statd.c(killer): don't pmap_unset if in notify_only mode
483 utils/statd/statd.c(main): don't pmap_unset if in notify_only mode
485 2002-09-16 Chip Salzenberg <chip@pobox.com>
487 * utils/rquotad/rquota_svc.c (main): Use int for value of getopt.
489 2002-09-15 Chip Salzenberg <chip@pobox.com>
491 * support/nfs/rpcmisc.c (rpc_init): Allow stdin to be a non-INET
492 socket, as occurs when run from sshd.
493 * debian/changelog: Version 1.0.2-1.
495 2002-09-12 H.J. Lu <hjl@lucon.org>
497 * support/nfs/svc_socket.c: Remove HAVE_SVCTCP_SOCKET and
500 2002-09-12 H.J. Lu <hjl@lucon.org>
502 * configure.in: Remove checking svctcp_socket and svcudp_socket.
503 * configure: Regenerated.
505 * support/include/config.h.in (HAVE_SVCTCP_SOCKET): Removed.
506 (HAVE_SVCUDP_SOCKET): Removed.
508 * support/include/nfslib.h: Undo the last change.
510 2002-09-12 H.J. Lu <hjl@lucon.org>
512 * support/include/nfslib.h (svctcp_socket): Protect it with
514 (svcudp_socket): Protect it with HAVE_SVCUDP_SOCKET.
516 2002-09-12 H.J. Lu <hjl@lucon.org>
518 * configure.in (VERSION): Set to "1.0.2".
519 * configure: Regenerated.
520 * nfs-utils.spec: Likewise.
522 2002-09-12 H.J. Lu <hjl@lucon.org>
524 * configure.in: Check svctcp_socket and svcudp_socket.
525 * configure: Regenerated.
527 * support/include/config.h.in (HAVE_SVCTCP_SOCKET): New.
528 (HAVE_SVCUDP_SOCKET): New.
530 * support/include/nfslib.h (svctcp_socket): New.
531 (svcudp_socket): New.
533 * support/nfs/Makefile (OBJS): Add svc_socket.o.
535 * support/nfs/svc_socket.c: New.
537 * support/nfs/rpcmisc.c (rpc_init): Call svctcp_socket and
538 svcudp_socket if port is unspecified.
540 * utils/nfsd/nfsd.c (main): Call getservbyname for port.
542 * utils/rquotad/rquota_svc.c: Include <nfslib.h>.
543 (killer): New. Signal handler to unregister.
544 (main): Use killer. Call svcudp_socket to get the default
547 2002-09-02 Juan Gomez <juang@us.ibm.com>
548 NeilBrown <neilb@cse.unsw.edu.au>
550 Add -N option to statd to run in notify-only mode.
552 * utils/statd/statd.h: uncomment MODE_NOTIFY_ONLY
553 * utils/statd/statd.man: document -N
554 * utils/statd/statd.c: enabled -N, largely exists but needed to be
555 uncommented and completed
557 2002-09-02 Juan Gomez <juang@us.ibm.com>
558 NeilBrown <neilb@cse.unsw.edu.au>
560 statd to have " -P directory" arg to use that directory instead
561 of /var/lib/nfs. This is useful for fail-over clusters.
563 * utils/statd/statd.h: define SM_DIR etc as var, not const.
564 * utils/statd/statd.c: define "-P" option to set SM_*
566 * utils/statd/monitor.c: sprintf to cope with SM_DIR not being
568 * utils/statd/notify.c: ditto.
569 * utils/statd/statd.man: document -P option.
571 2002-08-26 Chip Salzenberg <chip@pobox.com>
573 * utils/nfsd/nfsd.man: Fix typo.
574 * debian/changelog: Version 1.0.1-1.
576 2002-05-29 NeilBrown <neilb@cse.unsw.edu.au>
578 * let parseopts know if /etc/exports was being read or not,
579 and have it only print "no sync or async" warning in that case.
581 2002-05-06 Tom McNeal <trmcneal@attbi.com>
582 NeilBrown <neilb@cse.unsw.edu.au>
584 * utils/nfsstat/nfsstat.c: Handle differing format for
585 /proc/net/rpc/nfsd between pre and post 2.4.0
587 2002-04-09 NeilBrown <neilb@cse.unsw.edu.au>
588 James Pearson <james-p@moving-picture.com>
590 * support/nfs/rmtab.c(fendrmtabent): sync changes to
591 storage before returning, as this is critical state
593 2002-04-08 Sean O'Connell <sean@ee.duke.edu>
594 H.J. Lu <hjl@lucon.org>
596 * etc/redhat/nfs: New.
598 2002-04-08 H.J. Lu <hjl@lucon.org>
600 * etc/redhat/nfs.init: Updated.
602 * nfs-utils.spec.in: Updated.
603 * nfs-utils.spec: Regenerated.
605 * utils/mountd/mountd.c (longopts): Fix a typo.
607 * utils/mountd/mountd.man: Updated.
609 2002-04-07 H.J. Lu <hjl@lucon.org>
611 * etc/redhat/nfslock.init (restart): Just do stop and start.
613 * etc/redhat/nfs.init: Fix a typo.
615 2002-04-07 H.J. Lu <hjl@lucon.org>
617 * configure.in (VERSION): Set to "1.0.1".
618 * configure: Regenerated.
619 * nfs-utils.spec: Likewise.
621 * README: Updated for 1.0.1.
623 2002-04-07 Sean O'Connell <sean@ee.duke.edu>
624 H.J. Lu <hjl@lucon.org>
626 * etc/redhat/nfs.init: Read /etc/sysconfig/nfsd for NFS tuning.
628 2002-02-28 Steven Whitehouse <steve@gw.chygwyn.com>
629 NeilBrown <neilb@cse.unsw.edu.au>
631 Add support for fsid=nn export option so that device
632 numbers don't go in filehandles.
633 * support/export/nfsctl.c(expsetup): if exporting and NFSEXP_FSID
634 is set, pass the fsid in-place of the device number
635 * support/nfs/exports.c: parse and print fsid= option.
636 Also check if efname has been set, and use "command line"
637 instead in error messages.
638 Also, use strtol instead of atoi for anon[ug]id= so that
639 bad numbers cause errors.
641 2002-01-17 Adrian Drzewiecki <drze@MissionCriticalLinux.com>
642 NeilBrown <neilb@cse.unsw.edu.au>
644 * support/nfs/exports.c: remove NFSEXP_ASYNC as a default
645 flag so that "sync" becomes the default.
646 Check that either "sync" or "async" is given as an option
647 and warn if neither are present
648 * utils/exportfs/exports.man: change documentation for "sync"
649 to be documentation for "async".
650 * utils/exportfs/exportfs.man: note that "sync" is the default
654 2002-01-02 Chip Salzenberg <chip@pobox.com>
656 * support/export/nfsctl.c (expsetup): Don't export entries that
657 specify id mappings not supported by the kernel. No extant kernel
658 supports any significant mapping, only 'identity' (i.e. none).
659 When other mappings are supported, this code will need changing.
660 * debian/changelog: Version 1.0-2.
662 2001-12-26 Chip Salzenberg <chip@pobox.com>
664 * nfs-utils.spec (Version): Set to "1.0".
665 * configure.in (VERSION): Likewise.
666 * configure: Regenerated.
668 * debian/changelog: Version 1.0-1.
670 * utils/exportfs/exports.man: Emphasize the need for options to
671 immediately follow client names. Explain that wildcards don't
672 usually work on addresses, but may work when reverse DNS fails.
673 Comment out a leftover TP that was TPing our indentation.
674 * utils/mountd/mountd.man, utils/rquotad/rquotad.man,
675 utils/statd/statd.man: Remove refs to non-existent "hosts_allow(5)".
676 * debian/changelog: Version 0.3.3-6.
678 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
680 * support/export/client.c(client_lookup): If a host has multiple
681 IP addresses, then we must always use the result of a
682 gethostbyname, not that of gethostbyaddr for exporting
684 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
686 * support/export/client.c (client_lookup): use strcasecmp when
688 * support/nfs/export.c (getexportent): add fromkernel arg and use
689 different defaults as kernels prior to 2.4.11 assume different
690 defaults in /proc/fs/nfs/exports
691 * support/include/nfslib.h, support/export/export.c,
692 support/export/xtab.c: support extra "fromkernel" arg for
695 2001-12-13 Chip Salzenberg <chip@pobox.com>
697 * debian/changelog: Version 0.3.3-5.
699 2001-11-26 TAKAI Kousuke <takai@vlsi.kuee.kyoto-u.ac.jp>
701 * support/nfs/xio.c (xskip): Call `xungetc' instead of
702 `ungetc' to keep x_line more properly.
704 2001-11-26 Chip Salzenberg <chip@pobox.com>
706 * utils/showmount/showmount.c (main): Don't assume that strings
707 starting with digits are IP addresses.
708 * utils/nfsd/nfsd.c (main): Close all fds and reopen 0,1,2 on
709 /dev/null before nfssvc(). Use syslog to report nfssvc errors.
710 * support/misc/tcpwrapper.c, utils/mountd/mountd.man,
711 utils/rquotad/rquotad.man, utils/statd/statd.man: Fix comments and
712 man pages: We check host names *and* addresses with tcpwrappers.
713 * debian/changelog: Version 0.3.3-4.
715 2001-11-21 Chip Salzenberg <chip@pobox.com>
717 * support/nfs/clients.c (cfname): Added: current clients file name.
718 (setnfsclntent): Set it.
719 ({get,end}nfsclntent, syntaxerr): Use it.
720 * support/nfs/exports.c (efname): Added: current exports file name.
721 (setnfsexportent): Set it.
722 (endnfsexportent, parseopts, getexport, syntaxerr): Use it.
723 (parseopts): Accept old-style "crossmnt" option, for old xtabs.
724 * debian/changelog: Version 0.3.3-3.
726 2001-10-11 Chip Salzenberg <chip@pobox.com>
728 * utils/mountd/mountd.c (main): Close fds > 2 _before_ RPC init.
729 * debian/changelog: Version 0.3.3-2.
731 2001-10-08 Chip Salzenberg <chip@pobox.com>
733 * utils/mountd/mountd.c (main): When daemonizing, close all fds > 2.
734 * utils/Makefile.in: Remove old Makefile in target 'distclean'.
735 * utils/mountd/mountd.man: Update paths to /var/lib.
736 * debian/*: Version 0.3.3-1, with Debian-specific fixes.
738 2001-10-06 Preston Brown <pbrown@redhat.com>
740 * utils/nfsstat/nfsstat.man: Updated.
742 2001-09-24 H.J. Lu <hjl@lucon.org>
744 * configure.in (VERSION): Set to "0.3.3".
745 * configure: Regenerated.
746 * nfs-utils.spec: Likewise.
748 * README: Updated for 0.3.3.
750 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
752 Arrange that "exportfs -au" never does DNS lookup:
754 * support/export/client.c (client_lookup) : add "canonical"
755 flag which says that the hostname is known to be canonical, so
758 * support/export/export.c (export_create) : add "canonical"
759 flag to be passed down to client_lookup
760 * support/export/export.c (export_lookup) : Likewise
762 * support/export/xtab.c (xtab_read) : pass appropriate
763 "canonical" flag to export_lookup and export_create:
764 set if reading list of filesystems currently exports
767 * support/export/export.c (export_read) : pass 0 as
768 "canonical" flag to export_lookup and export_create
769 * support/export/rmtab.s (rmtab_read) : Likewise
771 * support/include/exportfs.h : redeclare various routines
772 to have "canonical" flag
774 * utils/exportfs/exportfs.c (main) : redo logic for
775 "-au" to read in what is currently exported, but never even
776 look at what "should" be exported.
778 * utils/exportfs/exportfs.c (unexportall) : remove this
779 routine. Functionality is completely included in
782 * utils/exportfs/exportfs.c (exportfs) : set "canonical"
783 flag to zero in calls to export_lookup and export_create.
786 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
787 Anne Milicia <milicia@missioncriticallinux.com>
789 * support/export/client.c (client_lookup) call gethostbyadd
790 to make sure that we have a canonical hostname, even for
792 * utils/exportfs/exportfs.c (exportfs) Likewise
794 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
796 * support/nfs/exports.c (putexportent): \octal quote any spaces
798 * support/nfs/xio.c (xgettok): recognise double-quote and
799 \octal quoting in path names
800 * utils/exportfs/exports.man: document quoting conventions
803 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
805 * utils/mountd/auth.c (auth_authenticate_internal): Reverse
806 change from 2000-08-02: It causes problems if someone exports
807 to both a hostname and IP addresses. nfs-utils must be
808 consistant about the canonical name that it chooses.
810 2001-08-17 Ragnar Kjørstad <nfs@ragnark.vestdata.no>
811 H.J. Lu <hjl@lucon.org>
813 * etc/redhat/nfslock.init (STATDARG): New. Pass it to rpc.statd.
815 * utils/statd/statd.c (longopts): Add "name".
816 (usage): Add "-n/--name".
817 (main): Set MY_NAME with "-n/--name".
819 * utils/statd/state.c (change_state): Set MY_NAME only if it
822 * utils/statd/statd.man: Updated for "-n/--name".
824 2001-07-26 H.J. Lu <hjl@lucon.org>
826 * nfs-utils.spec (Release): Set to 8.
828 2001-07-25 H.J. Lu <hjl@lucon.org>
830 * etc/redhat/nfs.init: Check if rpc.rquotad exists before doing
833 2001-06-27 H.J. Lu <hjl@lucon.org>
835 * etc/redhat/nfs.init: Run rpc.rquotad only if it exists.
837 2001-06-27 H.J. Lu <hjl@lucon.org>
839 * utils/rquotad/rquota_server.c: Don't call statfs () for
840 the block size. Use BLOCK_SIZE instead.
842 2001-06-27 H.J. Lu <hjl@lucon.org>
844 * config.mk.in (CC_FOR_BUILD): Renamed from BUILD_CC.
845 (CFLAGS_FOR_BUILD): New. Don't use @CFLAGS@.
847 * configure.in (enable_nfsv3): Set to yes by default.
848 (--enable-rquotad): Added
849 (AC_PROG_CXX): Removed.
850 (AC_OUTPUT): Add utils/Makefile.
851 (CC_FOR_BUILD): Renamed from BUILD_CC.
852 * configure: Regenerated.
854 * utils/Makefile: Removed.
856 * utils/Makefile.in: New.
858 * nfs-utils.spec.in (rquotad): New. Set to 0 to disable
860 (CC_FOR_BUILD): Renamed from BUILD_CC.
861 * nfs-utils.spec: Regenerated.
863 2001-06-15 Chip Salzenberg <chip@debian.org>
865 * debian/changelog: Version 0.3.2-2.
866 * debian/*.init: Minor fixes.
868 2001-06-07 Lon H. Hohberger <hohberger@missioncriticallinux.com>
870 * etc/nodist/nfs-server: Fixed a bug where the script would
871 disable mounts from NFSv3 clients if NFSv3 is present.
873 2001-06-05 H.J. Lu <hjl@lucon.org>
875 * utils/mountd/mountd.c (longopts): Add "descriptors/o".
876 (main): Support --descriptors/-o to set the limit of the number
877 of open file descriptors.
880 * utils/mountd/mountd.man: Updated for --descriptors/-o.
882 2001-06-04 H.J. Lu <hjl@lucon.org>
884 * nfs-utils.spec (Release): Set to 6.
886 2001-05-28 H.J. Lu <hjl@lucon.org>
888 * utils/lockd/lockd.c (main): chdir to NFS_STATEDIR.
889 * utils/mountd/mountd.c (main): Likewise.
890 * utils/nfsd/nfsd.c (main): Likewise.
891 * utils/rquotad/rquota_svc.c (main): Likewise.
893 2001-05-06 Anne Milicia <milicia@missioncriticallinux.com>
895 * support/export/client.c (client_check): Check IP address
898 2001-05-06 Neil Brown <neilb@cse.unsw.edu.au>
900 * support/export/client.c (client_gettype): Treat `*' as
903 2001-04-22 H.J. Lu <hjl@lucon.org>
905 * nfs-utils.spec.in: Fix a typo.
906 * nfs-utils.spec: Regenerated.
908 2001-04-21 H.J. Lu <hjl@lucon.org>
910 * nfs-utils.spec.in: Fix cross build.
911 * nfs-utils.spec: Regenerated.
914 2001-04-18 H.J. Lu <hjl@lucon.org>
916 * nfs-utils.spec.in: Support cross build.
917 * nfs-utils.spec: Regenerated.
923 * config.mk.in (BUILD_CC): New.
924 (CC): Set to $(BUILD_CC) if BUILD is defined.
927 (RANLIB): Set to @RANLIB@.
929 * configure.in: Check BUILD_CC, RANLIB, AR and LD.
930 * configure: Regenerated.
932 * tools/rpcgen/Makefile (BUILD): Set to true.
934 2001-04-01 Chip Salzenberg <chip@valinux.com>
936 * tools/rpcgen/rpc_svcout.c (write_timeout_func): Remove
937 redundant, and sometimes broken, declaration of svc_fdset;
939 * support/nfs/rpcmisc.c (closedown): Likewise.
941 2001-03-21 H.J. Lu <hjl@lucon.org>
943 * nfs-utils.spec: Regenerated.
946 2001-03-21 Ion Badulescu <ionut@cs.columbia.edu>
948 * utils/statd/statd.c (main): make sure file descriptors 0-2
949 are open to /dev/null.
951 2001-03-21 H.J. Lu <hjl@lucon.org>
953 * support/nfs/rpcmisc.c: Restore the change made on 2001-03-10.
954 * support/nfs/rpcmisc.c: Likewise.
955 * utils/rquotad/rquota_svc.c: Likewise.
956 * utils/rquotad/rquotad.man: Likewise.
957 * utils/statd/Makefile: Likewise.
958 * utils/statd/rmtcall.c: Likewise.
959 * utils/statd/simulate.c: Likewise.
960 * utils/statd/statd.c: Likewise.
961 * utils/statd/statd.man: Likewise.
963 2001-03-11 H.J. Lu <hjl@lucon.org>
965 * configure.in (RELEASE): New. Default to 1, set by
966 --with-release=XXX. Substitute nfs-utils.spec.
967 * nfs-utils.spec.in (Release): Set to @RELEASE@.
968 * configure: Regenerated.
969 * nfs-utils.spec: Likewise.
971 2001-03-11 H.J. Lu <hjl@lucon.org>
973 * utils/rquotad/rquotad.man: Fix a typo.
975 2001-03-11 H.J. Lu <hjl@lucon.org>
977 * support/include/rpcmisc.h: Undo the change made on 2001-03-10.
978 * support/nfs/rpcmisc.c: Likewise.
979 * utils/rquotad/rquota_svc.c: Likewise.
980 * utils/rquotad/rquotad.man: Likewise.
981 * utils/statd/Makefile: Likewise.
982 * utils/statd/rmtcall.c: Likewise.
983 * utils/statd/simulate.c: Likewise.
984 * utils/statd/statd.c: Likewise.
985 * utils/statd/statd.man: Likewise.
987 2001-03-10 H.J. Lu <hjl@lucon.org>
989 * configure.in (VERSION): Set to "0.3.2".
990 * configure: Regenerated.
991 * nfs-utils.spec: Likewise.
993 * README: Updated for 0.3.2.
995 2001-03-10 Tavis Barr <tavis@boole.isetr.columbia.edu>
997 * utils/rquotad/rquotad.man: Updated for -p.
998 * utils/statd/statd.man: Likewise.
1000 2001-03-10 Ion Badulescu <ionut@cs.columbia.edu>
1002 * support/nfs/rpcmisc.c: export makesock()
1004 * support/include/rpcmisc.h (makesock): Declared.
1006 * utils/rquotad/rquota_svc.c: added longopts, added support for
1007 specifying the port to bind to on the command line.
1009 * utils/statd/statd.c: ditto, also specify port used for
1010 outgoing connections.
1011 (do_regist): Removed.
1013 * utils/statd/rmtcall.c (statd_get_socket): Renamed from
1014 get_socket. Make it extern.
1016 * utils/statd/simulate.c (daemon_simulator): Call rpc_init
1017 instead of do_regist.
1019 * utils/statd/Makefile (LIBS): link with our own libnfs
1021 2001-03-09 H.J. Lu <hjl@lucon.org>
1023 * etc/redhat/nfslock.init: Changed chkconfig line to 60 86.
1024 * etc/nodist/nfs-client: Likewise.
1026 2001-02-26 Chip Salzenberg <chip@valinux.com>
1028 * debian/changelog: Version 0.3.1-1.
1029 * Mention upstream source and license in copyright file.
1030 * Add build-Depends for debhelper and libwrap0-dev.
1032 2001-02-20 Lon Hohberger <hohberger@missioncriticallinux.com>
1034 * etc/nodist/nfs-server: Changed chkconfig line to 60 20
1035 * etc/nodist/nfs-client: Likewise.
1037 2001-02-18 Lon Hohberger <hohberger@missioncriticallinux.com>
1039 * utils/statd/statd.man: Changed /usr/sbin/rpc.statd to
1042 2001-02-17 Patrick J. LoPresti <patl@curl.com>
1044 * utils/statd/log.c (log_init): Use LOG_DAEMON instead of
1047 2001-02-14 H.J. Lu <hjl@lucon.org>
1049 * utils/statd/rmtcall.c: Include <time.h>.
1050 * utils/statd/svc_run.c: Likewise.
1052 2001-02-14 H.J. Lu <hjl@lucon.org>
1054 * configure.in (VERSION): Set to "0.3.1".
1055 * configure: Regenerated.
1056 * nfs-utils.spec: Likewise.
1058 * README: Updated for 0.3.1.
1060 2001-02-14 H.J. Lu <hjl@lucon.org>
1062 * support/nfs/rpcmisc.c: Include <time.h>.
1064 2001-02-14 Chip Salzenberg <chip@valinux.com>
1066 * debian/control: Change priority of nhfsstone package to 'extra'.
1068 2001-02-12 Chip Salzenberg <chip@valinux.com>
1070 * debian/changelog: Version 0.3-2.
1072 2001-02-02 H.J. Lu <hjl@lucon.org>
1074 * support/include/rpcmisc.h (rpc_init): Remove bufsize.
1076 * support/nfs/rpcmisc.c (makesock): Remove socksz and comment
1077 out SO_SNDBUF/SO_RCVBUF.
1078 (rpc_init): Remove bufsize and remove socksz in calls to
1081 * utils/mountd/mountd.c (main): Remove bufsize in calls to
1084 2001-01-28 Chip Salzenberg <chip@valinux.com>
1086 * debian/changelog: Version 0.3-1.
1088 2001-01-25 H.J. Lu <hjl@lucon.org>
1090 * configure.in (VERSION): Set to "0.3".
1091 * configure: Regenerated.
1092 * nfs-utils.spec: Likewise.
1094 * README: Updated for 0.3.
1096 2001-01-25 H.J. Lu <hjl@lucon.org>
1098 * utils/lockd/lockd.c (main): Ignore errno == EINVAL.
1100 2001-01-20 Chip Salzenberg <chip@valinux.com>
1102 * support/include/xio.h (xgetc): Declare to return int.
1103 * support/nfs/xio.c (xgetc): Return int.
1104 (xgettok, xskip, xskipcomment): Use int for value of xgetc.
1105 * utils/statd/statd.c (main): Use int for value of getopt.
1106 * debian/changelog: Version 0.2.1-5.
1108 2000-12-10 Chip Salzenberg <chip@valinux.com>
1110 * utils/statd/monitor.c (sm_mon_1_svc): Fix buggy check for
1111 program and procedure numbers of kernel lockd's callback. Also,
1112 besides the old (and broken) procedure #24, allow #16 per Trond.
1114 2000-12-03 Chip Salzenberg <chip@valinux.com>
1116 * support/nfs/xio.c (xfopen): Initialize x_line to one, not zero.
1117 * debian/control: Let nhfsstone replace files in nfs-kernel-server.
1118 * debian/changelog: Version 0.2.1-4.
1120 2000-11-27 Tobias Ringstrom <tori@tellus.mine.nu>
1122 * utils/mountd/auth.c (auth_authenticate): Log the bad path
1125 2000-11-24 Neil Brown <neilb@cse.unsw.edu.au>
1127 * support/nfs/exports.c (getexportent): Check for host name
1128 without option, or options without hostname, and print a warning,
1129 as this is most likely a typo.
1131 2000-11-19 Chip Salzenberg <chip@valinux.com>
1133 * debian/control: Add dependency on portmap.
1134 * debian/changelog: Version 0.2.1-3.
1136 2000-11-10 H.J. Lu <hjl@lucon.org>
1138 * nfs-utils.spec.in: Don't use libtool.
1139 Add ChangeLog and COPYING to doc.
1140 * nfs-utils.spec: Rebuild.
1142 2000-11-09 H.J. Lu <hjl@lucon.org>
1144 * etc/redhat/nfs.init (start): Back out the last change.
1146 2000-11-09 H.J. Lu <hjl@lucon.org>
1148 * etc/redhat/nfs.init (start): Pass --no-tcp to mountd if
1149 TCP is not supported by kernel.
1151 * support/nfs/rpcmisc.c (rpc_init): Don't set _rpcfdtype to 0.
1153 * utils/mountd/mountd.c (longopts): Add "-n/--no-tcp".
1154 (main): Set to _rpcfdtype to SOCK_DGRAM for "-n/--no-tcp".
1156 * utils/mountd/mountd.man: Updated for "-n/--no-tcp".
1158 2000-10-24 Lon Hohberger <hohberger@missioncriticallinux.com>
1160 * utils/statd/callback.c: Fix bug preventing callbacks to local lockd.
1161 * utils/statd/rmtcall.c: Add some IP address paranoia when doing
1162 callbacks to local lockd.
1164 2000-10-18 Scott McDermott <mcdermot@questra.com>
1166 * utils/exportfs/exports.man: Updated for CIDR netmask.
1168 2000-10-17 Scott McDermott <mcdermot@questra.com>
1170 * support/export/client.c (client_init): Support CIDR netmask
1173 2000-10-11 H.J. Lu <hjl@lucon.org>
1175 * aclocal.m4 (AC_TCP_WRAPPER): Fix a typo.
1176 * configure: Rebuilt.
1178 2000-10-06 Lon Hohberger <hohberger@missioncriticallinux.com>
1180 * utils/statd/statd.man: Change "/var/lib/nfs/sm/state" to
1181 "/var/lib/nfs/state".
1183 2000-10-05 Lon Hohberger <hohberger@missioncriticallinux.com>
1185 * utils/statd/statd.h (run_mode): New global bitmask of runtime
1186 behaviors: fg/bg, logging, etc.
1187 * utils/statd/statd.c: New command line options: -V -h -? -d .
1188 * utils/statd/statd.man: Update for changes to statd.
1190 * utils/statd/log.h (log_init): Remove parameter of function; use
1191 global variable "name_p" instead.
1192 * utils/statd/log.c: Add support for logging to stderr.
1194 * utils/statd/notlist.c: Partially rewrite notify list handling
1195 functions. Eliminate run-off-end-of-list bug when calling
1196 nlist_insert_timer. Add lots of comments.
1198 2000-09-27 H.J. Lu <hjl@lucon.org>
1200 * README: Updated for RedHat 7.0.
1202 2000-09-27 H.J. Lu <hjl@lucon.org>
1204 * nfs-utils.spec: Rebuild.
1206 2000-09-27 H.J. Lu <hjl@lucon.org>
1208 * README: Updated for 0.2.1.
1210 2000-09-27 H.J. Lu <hjl@lucon.org>
1212 * nfs-utils.spec.in: Updated to use rpm macros and support
1215 2000-09-25 H.J. Lu <hjl@lucon.org>
1217 * configure.in (VERSION): Set to "0.2.1".
1218 * configure: Regenerated.
1219 * nfs-utils.spec: Updated.
1221 2000-09-25 H.J. Lu <hjl@lucon.org>
1223 * utils/mountd/auth.c (auth_authenticate_internal): Make sure a
1224 non-NULL hostent is always returned.
1226 2000-09-11 Ion Badulescu <ionut@cs.columbia.edu>
1228 * etc/redhat/nfslock.init: don't kill lockd processes that do not
1229 have an executable (i.e. kernel threads)
1231 2000-09-01 H.J. Lu <hjl@lucon.org>
1233 * README: Updated for 0.2.
1235 2000-09-01 Jay Weber <jweber@valinux.com>
1237 * etc/redhat/nfs.init: Added ability for rpc.mountd to default to
1238 supporting version 3 of nfs if available, else it will fall back to
1239 version 2 support only.
1241 2000-08-30 H.J. Lu <hjl@lucon.org>
1243 * configure.in (VERSION): Set to "0.2".
1244 * configure: Regenerated.
1245 * nfs-utils.spec: Updated.
1247 2000-08-25 H.J. Lu <hjl@lucon.org>
1249 * support/misc/tcpwrapper.c (logit): Modify the log output.
1251 2000-08-25 Ion Badulescu <ionut@cs.columbia.edu>
1253 * utils/rquotad/rquotad.man, utils/statd/statd.man,
1254 utils/mountd/mountd.man: updated
1256 * utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL)
1257 * utils/rquotad/Makefile: fix comment
1259 * support/misc/tcpwrapper.c (logit): added comment about waiting
1260 for the children after fork()
1262 * utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving
1263 zombies behind (from logit()'s fork)
1264 * utils/rquotad/rquota_svc.c (main): ditto
1265 * utils/statd/statd.c (main): ditto
1267 * utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG
1268 to check_default instead of 0, for prognum
1270 * utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG
1271 to check_default instead of 0, for prognum
1273 * utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if
1274 HAVE_TCP_WRAPPER is defined.
1275 (mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is
1276 defined. Reject an RPC call if check_default () fails.
1278 2000-08-25 H.J. Lu <hjl@lucon.org>
1280 * support/include/tcpwrapper.h: New for the tcp wrapper
1282 * support/misc/Makefile: Likewise.
1283 * support/misc/from_local.c: Likewise.
1284 * support/misc/tcpwrapper.c: Likewise.
1286 * aclocal.m4 (AC_TCP_WRAPPER): New.
1287 * configure.in: Use it. Substitute LIBWRAP.
1288 * configure: Rebuilt.
1290 * config.mk.in (LIBNSL): New.
1291 (LIBWRAP): Likewise.
1293 * support/Makefile (SUBDIRS): Add misc.
1295 * support/lib/Makefile (LIBS): Add libmisc.a.
1297 * utils/rquotad/Makefile (LIBS): Add
1299 -lmisc $(LIBWRAP) $(LIBNSL)
1301 * utils/statd/Makefile (LIBS): Likewise.
1303 * utils/rquotad/rquota_svc.c: Include "tcpwrapper.h" if
1304 HAVE_TCP_WRAPPER is defined.
1305 (rquotaprog_1): Call check_default () if HAVE_TCP_WRAPPER is
1306 defined. Reject an RPC call if check_default () fails.
1308 * utils/statd/statd.c: Include "tcpwrapper.h" if
1309 HAVE_TCP_WRAPPER is defined.
1310 (sm_prog_1_wrapper): New. A wrapper for sm_prog_1. Call
1311 check_default () before calling sm_prog_1 (). Define it as
1312 sm_prog_1_wrapper if HAVE_TCP_WRAPPER is defined.
1314 2000-08-25 Chip Salzenberg <chip@valinux.com>
1316 * debian/*: Complete Debian build support.
1317 * etc/debian/*: Remove.
1319 2000-08-24 Neil Brown <neilb@cse.unsw.edu.au>
1321 * support/export/client.c(client_check): removed the "dot+1" as a
1322 ypdomain argument to innetgr as this is entirely bogus.
1323 It should always be NULL.
1325 2000-08-23 Neil Brown <neilb@cse.unsw.edu.au>
1327 * support/export/xtab.c(xtab_read): introduce new mode for
1328 reading xtab. i.e. a list of exports that might be known to the
1329 kernel, or might not. These are flagged as m_exported == -1
1330 * support/export/xtab.c(xtab_mount_read): call xtab_read with new
1331 value "2" for xtab, meaning don't trust this too much.
1332 * support/include/exportfs.h(struct mexport): changed m_exported
1333 from one bit to an int so that it can hold new value
1334 * utils/exportfs/exportfs.c(exportfs_ipdate): add an export to the
1335 kernel if it is uncertain whether the kernel knows (m_exported == -1)
1336 * utils/mountd/mountd.c(get_rootfh): similarly export to kernel if
1339 * support/nfs/xio.c(xflock): added O_CREAT when getting
1340 a write lock so that missing files aren't fatal.
1342 * etc/debian/nfs-common: new file from "potato"
1343 * etc/debian/nfs-kernel-server: new file from "potato" plus fixes.
1345 2000-08-09 H.J. Lu <hjl@lucon.org>
1347 * etc/redhat/nfs.init: Run /usr/sbin/exportfs first during
1348 startup to ensure all existing clients work fine.
1350 * support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0
1351 to xtab_read () for reading _PATH_XTAB.
1353 2000-08-02 H.J. Lu <hjl@lucon.org>
1355 * utils/mountd/auth.c (auth_authenticate_internal): Try to
1356 avoid the reverse name lookup.
1358 2000-07-04 H.J. Lu <hjl@lucon.org>
1360 * utils/statd/log.c: Include <stdlib.h> for exit ().
1362 * utils/statd/misc.c (xunlink): Add `{' and `}' to quiet the
1365 2000-07-04 H.J. Lu <hjl@lucon.org>
1367 * configure.in (VERSION): Set to "0.1.9.1".
1368 * configure: Regenerated.
1369 * nfs-utils.spec: Updated.
1373 2000-07-04 Neil Brown <neilb@cse.unsw.edu.au>
1375 * support/export/hostname.c (hostent_dup): Handle the NULL
1378 2000-07-03 H.J. Lu <hjl@lucon.org>
1380 * README: Update the util-linux requirement.
1382 2000-07-03 H.J. Lu <hjl@lucon.org>
1384 * configure.in (VERSION): Set to "0.1.9".
1385 * configure: Regenerated.
1386 * nfs-utils.spec: Updated.
1390 2000-07-03 H.J. Lu <hjl@lucon.org>
1392 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
1393 stop to ensure all clients can still access the server
1394 before it is shutdown.
1396 2000-06-30 Jeff Uphoff <juphoff@transmeta.com>
1398 * tools/rpcgen/rpc_svcout.c (write_msg_out): Generate syslog()
1399 calls with format string.
1401 2000-06-28 Chip Salzenberg <chip@valinux.com>
1403 * utils/statd/log.c (log): Call syslog with format string.
1405 2000-06-27 H.J. Lu <hjl@lucon.org>
1407 * utils/statd/statd.c (main): Use sysconf (_SC_OPEN_MAX)
1408 instead of OPEN_MAX.
1410 2000-06-27 H.J. Lu <hjl@lucon.org>
1414 2000-06-27 H.J. Lu <hjl@lucon.org>
1416 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
1417 startup to ensure all existing clients are exported.
1419 * configure.in (VERSION): Set to "0.1.8.2".
1420 * configure: Regenerated.
1421 * nfs-utils.spec: Updated.
1423 2000-06-06 H.J. Lu <hjl@lucon.org>
1425 * configure.in (VERSION): Set to "0.1.8.1".
1426 * configure: Regenerated.
1427 * nfs-utils.spec: Updated.
1429 2000-06-06 H.J. Lu <hjl@lucon.org>
1431 * utils/mountd/mountd.c (mount_dump_1_svc): Cast svc_getcaller
1432 to "struct sockaddr_in *" for glibc 2.2.
1433 (mount_umnt_1_svc): Likewise.
1434 (mount_umntall_1_svc): Likewise.
1435 (mount_export_1_svc): Likewise.
1436 (mount_exportall_1_svc): Likewise.
1437 (mount_pathconf_2_svc): Likewise.
1438 (get_rootfh): Likewise.
1440 2000-06-04 H.J. Lu <hjl@lucon.org>
1442 * etc/redhat/nfs.init: Fix a typo in comment.
1444 2000-05-31 H.J. Lu <hjl@lucon.org>
1446 * configure.in (VERSION): Set to "0.1.8".
1447 * configure: Regenerated.
1448 * nfs-utils.spec: Updated.
1452 2000-05-31 H.J. Lu <hjl@lucon.org>
1454 * configure.in (VERSION): Set to "0.1.7.5".
1455 * configure: Regenerated.
1456 * nfs-utils.spec: Updated.
1458 * support/include/nfslib.h (exportent): Add a new field,
1459 r_count, to count the number of mounts from a client.
1460 (getrmtabent): Take a new argument for position in file.
1461 (putrmtabent): Likewise.
1462 (fgetrmtabent): Likewise.
1463 (fputrmtabent): Likewise.
1464 * support/nfs/rmtab.c (getrmtabent): Handle the new argument
1465 for position in file.
1466 (fgetrmtabent): Likewise.
1467 (putrmtabent): Likewise.
1468 (fputrmtabent): Likewise.
1470 * support/nfs/rmtab.c (fgetrmtabent): Get value for the new
1473 * support/export/rmtab.c (rmtab_read): Pass NULL as the new
1474 argument to getrmtabent (), fgetrmtabent (), putrmtabent ()
1475 and fputrmtabent ().
1476 * utils/mountd/rmtab.c (mountlist_add): Likewise.
1477 (mountlist_del): Likewise.
1478 (mountlist_del_all): Likewise.
1479 (mountlist_list): Likewise.
1481 * utils/mountd/rmtab.c (mountlist_add): Increment "r_count"
1482 for the existing entry and initialize "r_count" to 1.
1483 (mountlist_del): Decrement "r_count".
1485 2000-05-18 H.J. Lu <hjl@lucon.org>
1487 * configure.in (VERSION): Set to "0.1.7.4".
1488 * configure: Regenerated.
1489 * nfs-utils.spec: Updated.
1491 2000-05-18 H.J. Lu <hjl@lucon.org>
1493 * etc/redhat/nfs.init (restart): Just do stop and start.
1495 2000-05-09 Jay Weber <jweber@valinux.com>
1497 * utils/rquotad/hasquota.c: added support for ext3 recognition
1499 * utils/rquotad/mntent.h: Likewise.
1501 2000-05-01 H.J. Lu <hjl@lucon.org>
1503 * configure.in (VERSION): Set to "0.1.7.3".
1504 * configure: Regenerated.
1505 * nfs-utils.spec: Updated.
1507 2000-05-01 H.J. Lu <hjl@lucon.org>
1509 * utils/rquotad/rquota_server.c (getquotainfo): Skip bad
1510 mounting poins in /etc/fstab.
1512 2000-05-01 H.J. Lu <hjl@lucon.org>
1514 * configure.in (VERSION): Set to "0.1.7.2".
1515 * configure: Regenerated.
1516 * nfs-utils.spec: Updated.
1518 2000-05-01 H.J. Lu <hjl@lucon.org>
1520 * utils/rquotad/rquota_server.c (getquotainfo): Call stat ()
1521 to check for the mounting point.
1523 2000-04-29 Chip Salzenberg <chip@valinux.com>
1524 Neil Brown <neilb@cse.unsw.edu.au>
1526 * Really re-use RPC ports.
1527 (Fixes earlier patch. Sorry, Neil.)
1529 2000-04-26 H.J. Lu <hjl@lucon.org>
1531 * configure.in (VERSION): Set to "0.1.7.1".
1532 * configure: Regenerated.
1533 * nfs-utils.spec: Updated.
1535 2000-04-26 H.J. Lu <hjl@lucon.org>
1537 * etc/redhat/nfslock.init: Check if lockd exits before killing
1540 2000-04-25 H.J. Lu <hjl@lucon.org>
1542 * README: Require util-linux-2.10f-mount-rpc.patch for mount.
1544 2000-03-21 Michael Weiser <michael@weiser.saale-net.de>
1546 * support/nfs/exports.c (parsesquash): Correctly set the
1549 Tue Mar 21 11:38:48 EST 2000 NeilBrown <neilb@cse.unsw.edu.au>
1551 * support/include/nfs/nfs.h: Removed knowledge of internals of
1552 kernel filehandles (which can change) and defined nfs_fh_size
1553 which has variable size
1555 * support/nfs/getfh.c: defined getfh_size to use new syscall to
1556 get variable sized file handles, and change getfh{,old} to
1559 * utils/mountd/mountd.c: use nfd_fh_size and call getfh_size for
1562 * tools/Makefile, tools/nlmtest/nlmtest.c
1563 nlmtest.c depended on internel format of file handles, so now
1567 2000-03-12 Chip Salzenberg <chip@valinux.com>
1568 Neil Brown <neilb@cse.unsw.edu.au>
1570 * support/nfs/rpcmisc.c (rpc_init): Share transports.
1572 2000-03-13 H.J. Lu <hjl@lucon.org>
1574 * etc/redhat/nfsd.init: Updated.
1576 * etc/redhat/nfslock.init: Updated.
1578 * nfs-utils.spec.in: Updated.
1580 * configure.in (VERSION): Set to "0.1.7".
1581 * configure: Regenerated.
1582 * nfs-utils.spec: Updated.
1586 Wed Mar 8 09:42:43 2000 Neil Brown <neilb@cse.unsw.edu.au>
1588 * utils/exportfs/exportfs.c (dump): Included printing of
1589 nohide, no_subtree_check, and insecure_locks
1591 2000-02-26 Chip Salzenberg <chip@valinux.com>
1593 * config.mk.in (INSTALLSUID): Strip ("-s").
1594 (INSTALLSCRIPT): Define.
1595 * utils/nhfsstone/Makefile: Use it.
1597 2000-02-26 Chip Salzenberg <chip@valinux.com>
1599 * utils/lockd/lockd.man: Create.
1600 * utils/lockd/Makefile: Install it.
1601 * utils/nhfsstone/nhfs{run,nums,graph}.man: Create.
1602 * utils/nhfsstone/nhfsstone.man: Change suffix from ".1".
1603 * utils/nhfsstone/Makefile: Install the helper scripts and
1605 * utils/exportfs/exports.man: Fix typo.
1607 2000-02-26 Chip Salzenberg <chip@valinux.com>
1609 * support/nfs/xio.c (xungetc): Decrement line number when
1610 character to unget is newline. Make first parameter int, so
1611 it can distinguish EOF from \377.
1612 * support/include/xio.h (xungetc): Adjust prototype.
1614 Fri Feb 4 23:42:23 2000 Neil Brown <neilb@cse.unsw.edu.au>
1616 * support/include/nfs/export.h: added NFSEXP_NOAUTHNLM
1617 * support/nfs/exports.c: added handling for NFSEXP_NOAUTHNLM
1618 * utils/exportfs/exports.man: added documentation for no_auth_nlm.
1620 This is for supporting a new option introduced in 2.3.42
1622 Thu Feb 3 14:55:48 2000 H.J. Lu <hjl@lucon.org>
1624 * COPYING: Added. GPL.
1626 Thu Feb 03 14:40:40 2000 Cristian Gafton <gafton@redhat.com>
1628 * utils/rquotad/rquota_server.c (getquotainfo): Call statfs ()
1629 to get the block size.
1631 Tue Jan 25 11:04:17 2000 H.J. Lu <hjl@lucon.org>
1633 * nfs-utils.spec.in: Update ftp site.
1635 Mon Jan 17 11:48:18 2000 H.J. Lu <hjl@lucon.org>
1637 * README: Update hostnames.
1639 Tue Jan 11 10:06:22 2000 H.J. Lu <hjl@lucon.org>
1641 * configure.in (VERSION): Set to "0.1.6".
1642 * configure: Regenerated.
1643 * nfs-utils.spec: Updated.
1647 Mon Jan 10 14:26:33 2000 H.J. Lu <hjl@lucon.org>
1649 * utils/mountd/auth.c (auth_authenticate_internal): Call
1650 xstrdup for hostname before passing it to gethostbyname.
1652 * utils/mountd/mountd.c (get_exportlist): Use xstrdup instead
1655 Sun Dec 19 09:35:01 1999 H.J. Lu <hjl@lucon.org>
1657 * README: Update the mailing list address.
1659 Sun Dec 19 09:22:28 1999 H.J. Lu <hjl@lucon.org>
1661 * configure.in (VERSION): Set to "0.1.5".
1662 * configure: Regenerated.
1663 * nfs-utils.spec: Updated.
1667 Mon Dec 13 13:40:20 1999 H.J. Lu <hjl@lucon.org>
1669 * utils/rquotad/hasquota.c (hasquota): Malloc one more char
1672 Mon Dec 6 09:42:45 1999 H.J. Lu <hjl@lucon.org>
1674 * configure.in (VERSION): Set to "0.1.4".
1675 * configure: Regenerated.
1676 * nfs-utils.spec: Updated.
1680 Mon Dec 6 09:28:07 1999 H.J. Lu <hjl@lucon.org>
1682 * nfs-utils.spec.in: New file.
1684 * config.mk.in (VERSION): Changed to "nfs-utils @VERSION@".
1686 * configure.in (nfs-utils.spec): Added to AC_OUTPUT.
1688 1999-12-04 Chip Salzenberg <chip@valinux.com>
1690 * config.mk.in: Use $(CC) as set by configure.
1692 1999-12-04 Chip Salzenberg <chip@valinux.com>
1694 * rules.mk: Call $(MAKE) with $(MFLAGS).
1696 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1698 * tools/rpcgen/rpc_main.c (h_output): Generate IXDR_GET_INT32,
1699 IXDR_PUT_INT32, IXDR_GET_U_INT32 and IXDR_PUT_U_INT32.
1701 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1703 * nfs-utils.spec (Version): Set to 0.1.3.
1705 * configure.in (VERSION): Set to "nfs-utils 0.1.3".
1706 * configure: Regenerated.
1710 Mon Nov 29 11:15:47 1999 H.J. Lu <hjl@lucon.org>
1712 * utils/rquotad/rquota_server.c (nfsmount_to_devname): Removed.
1713 (_PATH_DEV_DSK): Likewise.
1714 (getquotainfo): Match the mounting point from /etc/mtab
1715 instead of calling nfsmount_to_devname ().
1717 1999-11-24 Chip Salzenberg <chip@valinux.com>
1719 * utils/statd/monitor.c (sm_mon_1_svc): Accept lockd callbacks
1720 to the new port 24 as well as the historical port 100021.
1722 Tue Nov 23 10:21:34 1999 Neil Brown <neilb@cse.unsw.edu.au>
1724 * etc/redhat/nfsd.init (stop): moved exportfs -ua after
1725 stopping nfsd to stop spurious ESTALE on server shutdown.
1727 Tue Nov 23 10:13:39 1999 Neil Brown <neilb@cse.unsw.edu.au>
1729 * support/nfs/exports.c (parseopts): make copy of opt string
1730 before 'nul'ing out commas so that
1732 # exportfs -o option1,option2 hosta:/fs hostb:/fs
1734 applies both options to both exports.
1736 Thu Oct 28 12:55:42 1999 H.J. Lu <hjl@lucon.org>
1738 * README: Fix a few typos.
1740 * tools/rpcgen/rpc_cout.c (print_header): Use int32_t instead
1742 * tools/rpcgen/rpc_hout.c (pdefine): Likewise.
1743 * tools/rpcgen/rpc_main.c (c_initialize): Likewise.
1744 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1745 (unsigned_dec): Likewise.
1746 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1747 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1749 * tools/rpcgen/rpc_cout.c (emit_single_in_line): Use INT32
1751 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1752 (unsigned_dec): Likewise.
1753 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1754 * tools/rpcgen/rpc_scan.h (tok_kind): Likewise.
1755 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1757 Thu Oct 28 11:27:51 1999 Neil Brown <neilb@cse.unsw.edu.au>
1759 * support/include/nfs/export.h addedd NFSEXP_NOSUBTREECHECK
1760 * support/nfs/exports.c: added {no_,}subtree_check and changed
1762 * utils/exportfs/exports.man: added no_subtree_check and nohide
1763 and removed irrelevant stuff from unfsd.
1764 * support/export/rmtab.c: rmtab_read didn't quite do the right
1765 thing if a pathname from rmtab was a subdirectory of an export-point
1767 Tue Oct 26 17:22:40 1999 H.J. Lu <hjl@lucon.org>
1769 * README: Updated ftp site.
1771 Mon Oct 25 18:12:45 1999 H.J. Lu <hjl@lucon.org>
1773 * nfs-utils.spec (Version): Set to 0.1.2.
1775 * configure.in (VERSION): Set to "nfs-utils 0.1.2".
1776 * configure: Regenerated.
1780 Mon Oct 25 18:11:21 1999 H.J. Lu <hjl@lucon.org>
1782 * utils/mountd/auth.c (auth_error): Add "no_forward_dns".
1783 (auth_authenticate_internal): Check for NULL return on forward
1785 (auth_authenticate): Handle "no_forward_dns".
1787 Thu Oct 21 16:22:06 1999 H.J. Lu <hjl@lucon.org>
1789 * Version 0.1.1 released.
1791 * nfs-utils.spec (Version): Set to 0.1.1.
1793 * configure.in (VERSION): Set to "nfs-utils 0.1.1".
1794 * configure: Regenerated.
1798 Mon Oct 18 17:43:29 1999 H.J. Lu <hjl@lucon.org>
1800 * nfs-utils.spec (Obsoletes): Fixed a typo, change knfsd-client
1802 (Provides): Likewise.
1804 Mon Oct 18 14:56:22 1999 H.J. Lu <hjl@lucon.org>
1806 * Initial version 0.1 released.
1808 * configure.in (VERSION): Set to "nfs-utils 0.1".
1809 * configure: Regenerated.
1811 Mon Oct 18 14:54:57 1999 H.J. Lu <hjl@lucon.org>
1813 * utils/mountd/mountd.c (get_exportlist): Cleanup.
1815 * utils/exportfs/exportfs.c (unexport_all): Unexport from
1816 kernel only if the entry is exported to kernel.
1817 (unexportfs): Likewise.
1819 Wed Sep 08 16:49:32 1999 Neil Brown <neilb@cse.unsw.edu.au>
1821 1/ utils/mountd/rmtab.c::mountlist_list
1823 This routine stats the rmtab file to see if it has changed. It
1824 if has, it cleans up it's old copy of the data. But it still
1825 always re-read the file, thus returning multiple copies of the
1826 data on consecutive calls without intervening changes.
1827 "Showmount -a" didn't show this as it appears to sort/unique the
1828 data, but 'strace showmount -a' showed that the size of the
1829 datagram that it received grew.
1831 I moved the getrmtabent loop inside the mtime test.
1833 2/ utils/exportfs/exportfs.c
1835 Many routines used the m_path field of m_export instead of
1837 According to the comment in nfslib.h, m_path should only
1838 be used when processing a mount request (i.e. in mountd)
1839 where the mountpoint may be a subdirectory of the export point.
1841 I changed all occurances of m_path to e_path
1844 3/ utils/exportfs/exportfs.c:main
1846 extra arguments are not meaningful with -a or -r, but
1847 exportfs accepted them and then ignored the -a/-r, expect that
1848 -r would still unexport everything first.
1850 I generate an error if there are extra args and f_all
1852 4/ utils/exportfs/exportfs.c:main
1853 extract dump out as a special case.
1855 5/ utils/exportfs/exportfs.c
1856 made f_reexport a local variable.
1859 6/ utils/exportfs/exportfs.c:main,exportall
1861 support/export/rmtab.c
1862 only mayexport on newly created entries, don't set xtabent at all
1864 7/ support/include/nfslib.h
1866 add #define _PATH_PROC_EXPORTS to be /proc/fs/nds/exports
1868 8/ support/export/xtab.c
1870 xtab_mount_read loads data from _PATH_PROC_EXPORTS if it exists,
1874 9/ support/export/xtab.c
1876 xtab_mount_read now sets m_exported, and NOT
1877 xtabent and mayexport
1879 removed the append arguement from xtab_write as it was
1882 added is_export flag to xtab_write similar to xtab_read
1883 if is_export, only write entries with m_xtabent or m_addxtab
1884 if !is_export, only write entries with m_exported
1886 10/ support/export/export.c::export_allowed_internal
1888 added test for exp->m_mayexport, as the export tree
1889 may have entries that are no longer allowed to be exported,
1890 and so shouldn't caused deduced exported by rmtab_read
1892 11/ utils/exportfs/exportfs.c::main
1893 error checking of flags.
1895 12/ utils/exportfs/exportfs.c
1897 total rewrite of export and unexport logic.
1899 - build an exportslist of valid exports, based on
1900 current etab file and arguments,
1901 - read rmtab to instantiate relevant wild card entries
1902 - read etab to find out what is currently exported
1903 - synchronise intention with reality
1904 - write out etab and xtab
1907 discard the m_addxtab flag
1908 add m_changed flag so we know what to report in exportfs
1910 14/ utils/mountd/auth.c:auth_authenticate
1912 the value returned by gethostbyaddr was trusted.
1914 It now follows this with a call to gethostbyname
1915 and checks that the address is in the list.
1917 15/ support/export/nfsctl.c::cltsetup,expsetup
1919 force client names to lowercase as kernel is
1922 16/ quietened a few compiler warnings
1924 17/ support/export/client:client_lookup
1926 look for pre-existing client with same name before creating
1929 18/ support/include/exportfs.h
1931 The ordering of the MCL_* enum was:
1932 ANONYMOUS, FQDN, SUBNETWORK, WILDCARD, NETGROUP
1934 I moved ANONYMOUS to the end.
1936 The ordering is significant when an export entry is being searched for to
1937 match a given address. There are two problems with ANONYMOUS being first.
1939 1/ if a directory is exported rw to a couple of hosts and ro to everyone else,
1940 then the ro case will always be found first and the privileged hosts won't get
1942 2/ When mountd gets a request to mount an ANONYMOUSly exported tree, it creates a FQDN
1943 export entry for the specific host, and writes it to xtab.
1944 When another request comes from the same host, the ANONYMOUS entry is found again,
1945 before the new FQDN entry, so it creates another FQDN entry and writes it to xtab
1946 again. If causes bloat in xtab.
1948 Putting ANONYMOUS at the end reflects it's nature as a catch-all
1950 19/ utils/exportfs/exportfs.man
1951 many updates to the man page to reflect changes to the code
1953 -----------------------
1959 - allow exportfs to modify rmtab file
1960 - make sure kernel never gets two clients with same IP address
1961 - possible kernel should reject
1962 - needs to be some way to lookup client in kernel by IP address
1963 - maybe get kernel to do case-insensitive comparisons on client names
1964 - remove unused clients from kernel
1966 - change etab to xtab and xtab to xtab.active
1968 - timestamp and/or statd-stamp in rmtab for removing old entries.
1970 Mon Oct 18 11:48:07 1999 H.J. Lu <hjl@lucon.org>
1972 * linux-nfs: New directory.
1973 * linux-nfs/ChangeLog: Moved from ..
1974 * linux-nfs/INSTALL: Likewise.
1975 * linux-nfs/KNOWNBUGS: Likewise.
1976 * linux-nfs/NEW: Likewise.
1977 * linux-nfs/README: Likewise.
1978 * linux-nfs/THANKS: Likewise.
1979 * linux-nfs/TODO: Likewise.
1981 * Starting from knfsd 1.4.7.