1 2005-08-26 Kevin Coffman <kwc@citi.umich.edu>
2 * utils/exportfs/exports.man: Document the "crossmnt" export export option
3 * utils/gssd/krb5_util.c:
4 Add better debugging and partially revert the function
5 check for gss_krb5_ccache_name.
7 For MIT Kerberos releases up to and including 1.3.1, we *must*
8 use the routine gss_krb5_ccache_name to get the K5 gssapi code
9 to use a different credentials cache.
11 For releases 1.3.2 and on, we want to use the KRB5CCNAME
12 environment variable to tell it what to use.
13 (A problem was reported where 1.3.5 was being used, our
14 code was using gss_krb5_ccache_name, but the underlying
15 code continued to use the first (or default?) credentials
16 cache. Switching to using the env variable fixed the problem.
17 I cannot recreate this problem.
19 *utils/gssd/krb5_util.c:
20 Andrew Mahone <andrew.mahone@gmail.com> reported that reiser4
21 always has DT_UNKNOWN. He supplied patch to move the check
22 for regular files after the stat() call to correctly find
23 ccache files in reiser4 filesystem.
25 Also change the name comparison so that the wrong file is
26 not selected when the substring comparison is done.
28 *utils/gssd/krb5_util.c:
29 Limit the set of encryption types that can be negotiated by
30 the Kerberos library to those that the kernel code currently
33 This should eventually query the kernel for the list of
36 *utils/gssd/gss_util.c, utils/svcgssd/svcgssd_main_loop.c:
37 Print more information in error messages to help debugging failures.
39 *utils/svcgssd/svcgssd_proc.c: Increase token buffer size and
40 update error handling so that a response is always sent.
42 *utils/svcgssd/svcgssd_proc.c: Add support to retrieve
46 2005-08-26 Kevin Coffman <kwc@citi.umich.edu>
48 Consolidate some of the Kerberos checking instead of repeating
49 the same things for MIT and Heimdal.
50 Also adds more checks to distinguish 32-bit from 64-bit
52 Fix svcgssd Makefile so make TOP=../../ works correctly there.
53 Enable running a modern autoheader.
54 * utils/gssd/gss_oids.c: Use correct OID value for SPKM-3
55 * utils/gssd/gss_util.c: Fix build with older MIT releases that do not define GSS_C_NT_HOSTBASED_SERVICE
56 * utils/gssd/write_bytes.h, support/include/gssapi/gssapi.h:
57 Length of gss_buffer_desc is a size_t which is 64-bits on a
58 64-bit machine. Kernel code expects 32-bit integer for length.
59 Coerce length value into a 32-bit value when reading from or
60 writing to the kernel.
61 Change gssapi.h to use datatype size values obtained from
62 configure rather than hard-coded values.
63 * utils/idmapd/idmapd.c: The EV_INIT check here was wrong, and was
64 causing idmapd to become unresponsive to server requests after
66 * utils/idmapd/idmapd.c: Idmapd should flush the server id<->name
67 caches when its started.
69 2005-04-12 G. Allen Morris III <gam3@gam3.net>
71 * All Makefile: added TOP as needed for easier compile.
73 * utils/nfsstat/nfsstat.c: added NFS V4 support; added the -m
74 option; Added -2, -3, and -4 options; changed -a option to -v
75 option; added long options; changed default output to not
76 show V2 NFS statistics unless used.
78 * utils/nfsstat/nfsstat.man: Documented above changes; changed
79 authors email address; added BUGS section.
81 2005-04-07 Chip Salzenberg <chip@pobox.com>
83 * debian/changelog: Version 1.0.7-2.
85 2005-04-06 Chip Salzenberg <chip@pobox.com>
87 * config.guess, config.sub: Update.
89 * support/rpc/svc_auth_gss.c (_svcauth_gss): Avoid using a cast as
90 an lvalue, as it is non-portable.
92 * support/nfs/exports.c (parseopts): Accept "acl" option to mean
93 ~NFSEXP_NOACL, and "no_acl" to mean NFSEXP_NOACL.
94 (putexportent): Report NFSEXP_NOACL as "no_acl", and ~NFSEXP_NOACL
96 * utils/exportfs/exportfs.c (dump): Report NFSEXP_NOACL as
98 * utils/exportfs/exports.man: Document "no_acl".
100 2005-03-14 NeilBrown <neilb@cse.unsw.edu.au>
101 Denis Vlasenko <vda@ilport.com.ua>
102 * support/export/client.c(client_init and client_gettype):
103 treat N.N.N.N as a special case of MCL_SUBNETWORK instead of
106 2005-03-06 G. Allen Morris III <gam3@gam3.net>
107 * support/nfs/cacheio.c(readline): Could not read lines greater
108 than 128 bytes. [1157791]
109 * utils/exportfs/exports.man: Added a SEE ALSO section and
110 fixed 2 typos. [1018450]
112 2005-02-28 Trond Myklebust <trond.myklebust@fys.uio.no>
113 * utils/statd/rmtcall.c(statd_get_socket): If a port number is
114 explicitly given, make sure to try to bind to that.
116 2005-01-11 Chip Salzenberg <chip@pobox.com>
118 * debian/changelog: Version 1.0.7-1.
119 * debian/nfs-common.default (NEED_IDMAPD, NEED_GSSD):
120 Disable by default, on advice of upstream.
121 * debian/nfs-kernel-server.default (NEED_SVCGSSD):
124 * utils/svcgssd/Makefile (predep): Symbolically link duplicated
126 (distclean): Remove symlinks to duplicated files.
128 2004-12-17 NeilBrown <neilb@cse.unsw.edu.au>
131 * config.mk, configure.in: update version number, run autoconf
132 * configure.in: require nfsidmap.h if gss is enabled.
134 2004-12-10 NeilBrown <neilb@cse.unsw.edu.au>
137 * config.mk, configure.in: update version number, run autoconf
139 2004-12-10 Neil Brown <neilb@cse.unsw.edu.au>
140 * README : note dependancy on kerberos, libevent, and nfsidmap
141 * configure.in : fail if --enable-nfsv4 and libevent or
142 libnfsidmap are missing.
143 * configuyre.in: improve message if krb5 support is missing
145 2004-12-06 Paul Clements <paul.clements@steeleye.com>
146 * support/include/ha-callout.h: get return status from waitpid
148 * support/include/ha-callout.h: don't ignore SIGCHLD while waiting
149 for a callout to complete.
150 * utils/statd/statd.c(sigusr): print current start when re-reading
151 notify list due to SIGUSR1
152 * utils/statd/svc_run.c(my_svc_run): call change_state when
153 re-notifying clients.
155 2004-12-06 Marc Eshel <eshel@almaden.ibm.com>
156 * utils/statd/svc_run.c(my_svc_run): allow loop to exit when in
158 *utils/statd/rmtcall.c(statd_get_socket): if a hostname is given
159 to statd with -n, prefer it's IP address to the default for
162 2004-12-06 Bruce Allan <bwa@us.ibm.com>
163 * utils/mountd/auth.c(auth_reload) Clear the "my_client" cache on
164 an auth_reload to avoid old data getting used.
166 2004-12-03 NeilBrown <neilb@cse.unsw.edu.au>
167 Release 1.0.7-pre1 for testing
169 * config.mk, configure.in: update version number, run autoconf
171 2004-12-03 Trond Myklebust <trond.myklebust@fys.uio.no>
173 * utils/statd/statd.c(main): ignore SIGPIPE
175 2004-11-22 "J. Bruce Fields" <bfields@fieldses.org>
177 * tools/rpcdebug/rpcdebug.c: support aliases "nfsdebug" and
178 "nfsddebug" and update flag names.
179 * configure.in, nodist/* redhat/* nfs-utils.spec*: remove redhat
180 specific files (as no-one actually uses them, especially not
181 redhat), and the nodist /etc files (as they drift out-of-date, and
182 the debian directory provides a suitable example.
183 * utils/svcgssd_proc.c(get_ids): fix memory leak
184 * utils/svcgssd/svcgssd_proc.c: Rely on count of the number of
185 groups instead of using a special guard value to identify the end
187 * utils/idmapd/idmapd.c: don't allow Default domain and anon-uid
188 or -gid to be specified on command line.
189 * utils/idmapd/idmapd.c: improve error messages
190 * utils/idmapd/idmapd.c: Reopen nfsd files on sighup. Allows us
191 to start up client side only (even when nfsd module not loaded),
192 and then sighup later after insmodding nfsd module.
193 * utils/idmapd/idmapd.c: Make sure we catch all errors on
194 daemonizing by waiting for child to report succesfull startup
196 * utils/idmapd/idmapd.c: Let libnfsidmapd parse the idmapd.conf
197 file for the default domain, instead of doing that ourselves.
198 * utils/gssd/gssd_proc.c: Make sure we get an error when a gssd
200 * utils/gssd/gssd_proc.c: We were forgetting to restore the euid
201 on certain failures, which meant gssd could get stuck in a state
202 where it didn't have permissions to read the files in rpc_pipefs
204 * utils/gssd/gssd_proc.c: Use libnfsidmapd to map gss principals
206 * debian/nfs-kernel-server.default: Document the NEED_SVCGSSD
207 variable in /etc/default/nfs-kernel-server.
210 2004-11-22 NeilBrown <neilb@cse.unsw.edu.au>
212 * utils/exportfs/nfsd.man: corrected typo in .BR macro usage -
213 reported by Eric Raymond
215 2004-10-19 "J. Bruce Fields" <bfields@fieldses.org>
217 * support/gssapi/* support/rpc/* utils/gssd/* utils/svcgssd/* etc
218 initial support for GSSAPI authentication
220 2004-09-15 Neil Brown <neilb@cse.unsw.edu.au>
222 * utils/statd/monitor.c(sm_unmon_1_svc): is RESTRICTED_STATD, then
223 check IP address and force my_name to 127.0.0.1 to match
224 what happens in sm_mon_1_svc. This avoid spurious "erroneous
226 * utils/statd.monitor.c(sm_unmon_all_1_svc): likewise
228 2004-09-15 "J. Bruce Fields" <bfields@fieldses.org>
230 * Assorted changes to support "gss/*" style authentication
231 * utils/idmapd: new idmapd daemon for nfsv4 username lookup
233 2004-09-06 Trond Myklebust <trond.myklebust@fys.uio.no>
234 Neil Brown <neilb@cse.unsw.edu.au>
236 * utils/mountd/auth.c(auth_authenticate_internal): fix
237 uninitialsed variable problem (causes bad error messages).
239 2004-09-06 Paul Clements <paul.clements@steeleye.com>
240 Neil Brown <neilb@cse.unsw.edu.au>
242 * utils/mountd/mountd.c(main): support --ha-callout (-H) for
243 specifying a callout program
244 * utils/mountd/rmtab.c: Call ha_callout on mount/unmount
245 * utils/statd/monitor.c: Call ha_callout on add/del client
246 * utils/statd/rmtcall.c: as above
247 * utils/statd/statd.c: handle --ha-callout (-H)
248 * utils/statd/svc_run.c: call notify_hosts is we have received a
250 * support/include/ha-callout.h: define ha_callout function
253 2004-08-31 NeilBrown <neilb@cse.unsw.edu.au>
254 * utils/mountd/cache.c(cache_process_req): clear fd after
255 processing so as not to confused libc/sunrpc into thinking
256 it need to do something with that fd.
258 2004-08-31 NeilBrown <neilb@cse.unsw.edu.au>
260 * debian/nfs-kernel-server.init(start,stop) mount the nfsd
261 filesystem, if available, before starting nfs services, and
262 unmount it afterwards.
263 * etc/nodist/nfs-server: ditto
264 * etc/redhat/nfs.init: likewise
265 * etc/redhat/nfs: add "MOUNT_NFSD" flag to control above.
267 2004-06-08 NeilBrown <neilb@cse.unsw.edu.au>
269 * utils/exportfs/exportfs.c: Don't rmtab_read if new_cache, it
271 * support/nfs/cacheio.c(cache_flush): Change order in which caches
272 are flushed so that dependancies don't keep things in the cache
275 2004-03-18 Chip Salzenberg <chip@pobox.com>
277 * debian/changelog: Version 1.0.6-2.
279 2004-02-24 NeilBrown <neilb@cse.unsw.edu.au>
280 from "J. Bruce Fields" <bfields@fieldses.org>
282 * utils/mountd/cache.c: call auth_reload to make sure auth data is
283 current before responding to kernel upcall.
285 2004-02-24 NeilBrown <neilb@cse.unsw.edu.au>
286 Based on patch from Greg Banks <gnb@melbourne.sgi.com>
288 * utils/exportfs/exports.man: Document fsid= option.
290 2003-09-15 NeilBrown <neilb@cse.unsw.edu.au>
294 * rules.mk: Add dep: rule when no OBJS, so "make dep" works in
295 support/include, and depend in "predep"
296 * support/export/Makefile, tools/rpcgen/Makefile,
297 utils/statd/Makefile: add "predep" rule so that "make dep" works.
298 * Makefile: allow a simple "make" to run ./configure and "make dep"
300 * configure.in, nfs-utils.spec: Update version to 1.0.6
303 2003-09-12 Chip Salzenberg <chip@pobox.com>
305 * debian/changelog: Version 1.0.6-1.
307 2003-09-12 NeilBrown <neilb@cse.unsw.edu.au>
309 * utils/mountd/mountd.c(main): Impose FD_SETSIZE as an upper limit
311 * utils/statd/statd.c(main): Ditto.
313 michael <michael@newdream.net> discovered that svc_setreqsize
314 in glibc can segfault if RLIMIT_NOFILE is bigger than
315 FD_SETSIZE, so a simple solution is to impose a hard limit.
317 2003-09-09 Chip Salzenberg <chip@pobox.com>
319 * debian/changelog: Version 1.0.5-3.
320 * support/export/hostname.c (get_reliable_hostbyaddr): Fix crash
321 on invalid reverse DNS.
322 * utils/showmount/showmount.c (main): Fix inet_ntoa() parameter.
323 * tools/rpcgen/rpc_cout.c (print_header): Remove unused vars.
324 * tools/rpcgen/rpc_parse.c (def_union): Likewise.
326 2003-08-22 Chip Salzenberg <chip@pobox.com>
328 * utils/statd/{log.h,log.c}: Rename log() to note() and L_* to
329 N_*, to avoid conflict with ISO C built-in log() function.
330 * utils/statd/*.c: Use note().
332 2003-08-20 Chip Salzenberg <chip@pobox.com>
334 * debian/changelog: Version 1.0.5-2.
336 2003-08-11 NeilBrown <neilb@cse.unsw.edu.au>
338 * utils/mountd/cache.c(cache_get_filehandle): close the filehandle
341 2003-08-04 NeilBrown <neilb@cse.unsw.edu.au>
343 * support/include/nfs/export.h, support/nfs/exports.c,
344 utils/exportfs/exports.c, utils/mountd/mountd.c: change
345 NFSEXP_CROSSMNT to NFSEXP_CROSSMOUNT to avoid confusion with older
346 meaning. Also remove meaningless
347 NFSEXP_{UIDMAP,KERBEROS,SUNSECURE}
349 2003-08-04 NeilBrown <neilb@cse.unsw.edu.au>
351 * support/export/xtab.c, support/include/nfslib.h,
352 support/nfs/cacheio.c, support/nfs/nfssvc.c,
353 utils/exportfs/exportfs.c, utils/exportfs/exportfs.man,
354 utils/exportfs/nfsd.man, utils/mountd/cache.c: support
355 /proc/fs/nfsd/* as a perferred alternate to /proc/fs/nfs/*
356 (nfs-utils-1.0.5-post2)
358 2003-08-04 NeilBrown <neilb@cse.unsw.edu.au>
360 * support/nfs/nfsexport.c: open channel file O_WRONLY when
362 * utils/mountd/cache.c: maintain mountlist when new_cache is
363 active. Also use O_WRONLY for channel files.
364 * utils/mountd/mountd.h: mountlist_{del,add} now take a host name
365 rather than an nfs_export.
366 * utils/mountd/rmtab.c: ditto.
367 (nfs-utils-1.5.0-post1)
369 2003-07-24 Chip Salzenberg <chip@pobox.com>
371 * support/nfs/xlog.c (xlog): Revise buffer-overflow fix to
372 use Debian security team's cleaner approach.
373 * debian/changelog: Version 1.0.5-1.
374 * debian/nfs-kernel-server.init: Cosmetic changes.
376 2003-07-18 NeilBrown <neilb@cse.unsw.edu.au>
379 1.0.4 was a bit of a brown-paper-bag-release because of the extra
380 'free' in auth.c. So I'm releasing this just a few days later.
382 * support/nfs/cacheio.c(cache_flush): Correct test for 'open
384 * utils/exportfs/exportfs.c(main): If "-f" given as lone option,
385 check if new_cache is enabled, error if not, flush and exit if it
387 * utils/exportfs/exportfs.man: Explain -f option and explain the
388 two different modes that exportfs can work in.
389 * utils/mountd/mountd.c: Do not change RLIMIT_NOFILE if the -o
391 * utils/mountd/mountd.man: Record the change if default behaviour
393 * configure.in, nfs-utils.spec: update version to 1.0.5 and
396 2003-07-15 NeilBrown <neilb@cse.unsw.edu.au>
398 * utils/mountd/mountd.c(main): getopt string fix for 'o'
399 * utils/mountd/auth.c(auth_authenticate): remove extra 'free'
400 * utils/exportfs/exportfs.c(main): make 'exportfs -f' just flush
402 * support/include/nfs/export.h: Reserve a bit for possible ACL
405 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
407 * utils/exportfs/nfsd.man: new man page for nfsd filesystem. Also
408 assorted changed to cope with section 7 of the manual.
409 * configure.in, nfs-utils.spec: Update version to 1.0.4
412 This is a 'pre-release' for 1.1.0 Hopefully 1.1.0 will be the
413 baseline for 2.6 and 2.8. I.e. it should continue to work right
414 through the 2.8 (or 3.0) kernel series. Previous releases wont.
416 2003-07-04 NeilBrown <neilb@cse.unsw.edu.au>
417 Steve Dickson <SteveD@redhat.com>
420 * utils/statd/statd.c: create a pidfile with pid of statd, and
421 truncate it when statd exists.
422 * utils/statd/statd.c: drop privs by setuid to owner of SM_DIR,
423 and warn if this is root.
424 * utils/statd/statd.c: when statd forks, connect child to parent
425 with a pipe, and send a byte down the pipe once the child is
427 * Makefile: create and chown sm, sm.bak, state when "make install"
428 * configure.in: add --with-statduser= option which defaults to
429 "rpcuser" or "nobody"
430 * config.mk.in: pass "statduser" through to Makefile
432 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
434 * support/include/nfs/nfs.h: Make sure correct __kernel_dev_t is
435 used as the size was changed somewhere in 2.5.60-2.5.70. Without
436 this nfs-utils compiles against 2.6 headers will not work on a
439 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
441 * support/nfs/nfssvc.c(nfssvc): If /proc/fs/nfs/threads exists,
442 set number of threads by writing to there. This means it will
443 still work when the syscall interface goes away in 2.7.
445 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
446 fumihiko kakuma <kakmy@mvh.biglobe.ne.jp>
448 * utils/exportfs/exportfs.c(unexportfs): improve host comparison
449 so as to only export the wildcard exports that were asked for.
450 * support/export/export.c(export_allowed): changed to return the
451 nfs_export rather than a "struct exportent", as m_changed is
453 * support/export/rmtab.c(rmtab_read): modified to deal with
454 interface change for export_allowed(), and enhanced to preserve
455 m_changed flag when a wild-card export causes the creation of
456 a non-wildcard export.
458 2003-07-02 NeilBrown <neilb@cse.unsw.edu.au>
459 Steve Dickson <SteveD@redhat.com>
461 * utils/mountd/mountd.man: Add valid kinds of debugging.
462 * utils/mountd/mountd.c(main): ignore SIGPIPE
463 * utils/nfsstat/nfsstat.c: fine-tune printing of warning so
464 we don't get warnings about unavailable stats that weren't asked
467 2003-06-24 NeilBrown <neilb@cse.unsw.edu.au>
469 * support/nfs/nfsexport.c(exp_unexp): When unexporting filesystems
470 via /rpc/net/rpc/nfsd*/channel, set the expiry date to 1, not
471 'forever', so things disappear out of the cache rather than just
474 2003-06-16 "J. Bruce Fields" <bfields@fieldses.org>
476 * utils/mountd/cache.c(nfsd_fh): don't export the export_ent
479 2003-06-16 NeilBrown <neilb@cse.unsw.edu.au>
481 * debian/nfs-kernel-server.init,etc/nodist/nfs-server,
482 etc/redhat/nfs.init: when checking if V3 is supported, make sure
483 nfs server 'knows' about 127.0.0.1 first.
485 2003-06-10 Chip Salzenberg <chip@pobox.com>
487 * support/nfs/xlog.c (xlog): Fix off-by-one buffer overflow bug.
488 * debian/changelog: Version 1.0.3-2.
490 2003-05-30 Michael Griffith <grif@michaelgriffith.com>
491 NeilBrown <neilb@cse.unsw.edu.au>
493 utils/nfsstat/nfsstat.c(print_callstats): use unsigned
494 long long to avoid overflow when printing stats.
496 2003-05-30 NeilBrown <neilb@cse.unsw.edu.au>
498 * support/export/export.c, support/include/nfslib.h,
499 support/nfs/export.c, utils/exportfs/exportfs.c,
500 utils/mountd/mountd.c: new export option "mountpoint"
501 If no path is given, then the export point must be a
502 mount point, or it won't be exported. If a path is
503 given (e.g. mountpoint=/path) then that path must be
504 a mountpoint or the exportpoint won't be exported.
505 * utils/exportfs/exportfs.man: document mountpoint option.
506 * support/misc/mountpoint.c: New file with is_mountpoint()
507 to determine if something is a mountpoint.
509 2003-05-23 NeilBrown <neilb@cse.unsw.edu.au>
511 * utils/mountd/cache.c(cache_get_filehandle): take a separate path
512 argument as we might not be getting the filehandle for the
514 * utils/mountd/mountd.c(get_rootfh): pass real path when calling
515 cache_get_filehandle.
516 * utils/mountd/mountd.c(get_rootfh): check export point and
517 requested directory are on the same filesystem, and complain if
520 2003-05-22 NeilBrown <neilb@cse.unsw.edu.au>
522 * utils/mountd/auth.c(auth_authenticate_internal): make sure
523 portnumber is still checked when using new cache lookup.
525 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
527 * utils/exportfs/exportfs.c: Use check_new_cache and cache_flush
528 Don't actually talk to kernel when new cache is in effect, except
530 * utils/exportfs/exportfs.c: add -f option to fully flush cache.
531 * support/export/xtab.c: Only rename new xtab into place if it has
532 changed, thus preserving modify date for exportfs to use when
534 * support/nfs/cacheio.c: Add cache_flush
535 * support/export/xtab.c: Only rename new xtab into place if it has
536 changed, thus preserving modify date for exportfs to use when
539 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
541 * support/export/client.c: Add client_compose, client_member to
542 handle new composite client names
543 * support/include/exportfs.h: Declare above functions.
544 * utils/mountd/auth.c: use client_compose to determine calling
545 client if new cache is being used.
546 * utils/mountd/auth.c: call cache_export to export a filesystem if
547 new_cache, check if new cache is used, and call my_svc_run instead
549 * utils/mountd/svc_run.c: new file defining my_svc_run
550 * utils/mountd/cache.c: new file for handling cache upcalls.
551 * support/nfs/cacheio.c(check_new_cache): new function to check if
552 new cache should be used.
555 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
557 * support/include/nfs/export.h: New CROSSMNT distinct from NOHIDE
558 * support/nfs/exports.c: Make CROSSMNT distinct from NOHIDE
559 * utils/exportfs/exportfs.c(dump): ditto
561 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
563 * support/export/hostname.c(get_reliable_hostbyaddr): new function
564 to get host name from address with full checking of authenticity.
565 * support/include/misc.h: declare above function
566 * utils/mountd/auth.c(auth_authenticate_internal): remove all
567 logic for authenticating address.
568 * utils/mountd/auth.c(auth_authenticate): call new
569 get_reliable_hostbyaddr to to hostname lookup before calling _internal.
572 2003-03-30 NeilBrown <neilb@cse.unsw.edu.au>
574 * tools/rpcgen/rpc_main.c(find_cpp): removed
575 * tools/rpcgen/rpc_main.c(open_input): use execvp to find "cpp",
576 then try hard-coded paths.
578 2003-03-26 Chip Salzenberg <chip@pobox.com>
580 * debian/changelog: Version 1.0.3-1.
582 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
584 * utils/mountd/rmtab.c (slink_safe_rename): real_newpath should be
585 "const char*", not "char*".
587 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
589 * configure.in (VERSION): Set to "1.0.3".
590 * nfs-utils.spec: Likewise.
591 * configure: Regenerated.
593 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
595 * support/nfs/cacheio.c: New File - support for read/writing
596 to export cache in /proc/rpc/*/channel
597 * support/nfs/Makefile: compile cacheio.c
598 * support/include/nfslib.h: declare cacheio.c functions
599 * support/nfs/nfsexport.c: export and unexport through
600 /proc/rpc/*/channel if possible, as old syscall interface
601 may not survive into 2.6 on all architectures.
603 2003-02-19 NeilBrown <neilb@cse.unsw.edu.au>
604 Ben Leslie <benno@sesgroup.net>
606 * support/nfs/rpcmisc.c(rpc_init): change test for ignoring
607 "defport" from (__rpcfdtype == 0) to (__rpcpmstart==0). The
608 former would incorectly ignore defport if the application
609 explicitly set __rpcfdtype. The later is sufficient to avoid the
610 special handling in the case where stdin is an internet socket.
612 * utils/mountd/mountd.c(main): Add 'n' to option list in
613 getopt_long as this is a short form of --no-tcp which want being
616 2003-02-12 Chip Salzenberg <chip@pobox.com>
618 * debian/changelog: Version 1.0.2-2.
620 2002-11-27 Chip Salzenberg <chip@pobox.com>
622 * utils/mountd/rmtab.c (slink_safe_rename): Fix off-by-one buffer
623 overflow bug. Reformat per rest of source file.
625 2002-11-19 NeilBrown <neilb@cse.unsw.edu.au>
627 * utils/exportfs/exports.man: Correct notes about whether the wild
628 card characters match a period. They do.
630 2002-10-15 Juan Gomez <juang@us.ibm.com>
632 * utils/mountd/rmtab.c (slink_safe_rename): New. Support
634 (mountlist_add): Call slink_safe_rename instead of rename.
636 2002-10-11 H.J. Lu <hjl@lucon.org>
638 * support/include/exportfs.h (export_errno): New.
640 * support/nfs/exports.c: Include <errno.h>.
642 (getexportent): Set export_errno to EINVAL for bad option.
643 (parseopts): Likewise.
644 Report the location of the default sync/async option.
646 * utils/exportfs/exportfs.c (main): Initialize export_errno to
647 0. Return export_errno.
649 2002-10-11 Juan Gomez <gomez@cs.sjsu.edu>
650 NeilBrown <neilb@cse.unsw.edu.au>
652 utils/statd/statd.c(killer): don't pmap_unset if in notify_only mode
653 utils/statd/statd.c(main): don't pmap_unset if in notify_only mode
655 2002-09-16 Chip Salzenberg <chip@pobox.com>
657 * utils/rquotad/rquota_svc.c (main): Use int for value of getopt.
659 2002-09-15 Chip Salzenberg <chip@pobox.com>
661 * support/nfs/rpcmisc.c (rpc_init): Allow stdin to be a non-INET
662 socket, as occurs when run from sshd.
663 * debian/changelog: Version 1.0.2-1.
665 2002-09-12 H.J. Lu <hjl@lucon.org>
667 * support/nfs/svc_socket.c: Remove HAVE_SVCTCP_SOCKET and
670 2002-09-12 H.J. Lu <hjl@lucon.org>
672 * configure.in: Remove checking svctcp_socket and svcudp_socket.
673 * configure: Regenerated.
675 * support/include/config.h.in (HAVE_SVCTCP_SOCKET): Removed.
676 (HAVE_SVCUDP_SOCKET): Removed.
678 * support/include/nfslib.h: Undo the last change.
680 2002-09-12 H.J. Lu <hjl@lucon.org>
682 * support/include/nfslib.h (svctcp_socket): Protect it with
684 (svcudp_socket): Protect it with HAVE_SVCUDP_SOCKET.
686 2002-09-12 H.J. Lu <hjl@lucon.org>
688 * configure.in (VERSION): Set to "1.0.2".
689 * configure: Regenerated.
690 * nfs-utils.spec: Likewise.
692 2002-09-12 H.J. Lu <hjl@lucon.org>
694 * configure.in: Check svctcp_socket and svcudp_socket.
695 * configure: Regenerated.
697 * support/include/config.h.in (HAVE_SVCTCP_SOCKET): New.
698 (HAVE_SVCUDP_SOCKET): New.
700 * support/include/nfslib.h (svctcp_socket): New.
701 (svcudp_socket): New.
703 * support/nfs/Makefile (OBJS): Add svc_socket.o.
705 * support/nfs/svc_socket.c: New.
707 * support/nfs/rpcmisc.c (rpc_init): Call svctcp_socket and
708 svcudp_socket if port is unspecified.
710 * utils/nfsd/nfsd.c (main): Call getservbyname for port.
712 * utils/rquotad/rquota_svc.c: Include <nfslib.h>.
713 (killer): New. Signal handler to unregister.
714 (main): Use killer. Call svcudp_socket to get the default
717 2002-09-02 Juan Gomez <juang@us.ibm.com>
718 NeilBrown <neilb@cse.unsw.edu.au>
720 Add -N option to statd to run in notify-only mode.
722 * utils/statd/statd.h: uncomment MODE_NOTIFY_ONLY
723 * utils/statd/statd.man: document -N
724 * utils/statd/statd.c: enabled -N, largely exists but needed to be
725 uncommented and completed
727 2002-09-02 Juan Gomez <juang@us.ibm.com>
728 NeilBrown <neilb@cse.unsw.edu.au>
730 statd to have " -P directory" arg to use that directory instead
731 of /var/lib/nfs. This is useful for fail-over clusters.
733 * utils/statd/statd.h: define SM_DIR etc as var, not const.
734 * utils/statd/statd.c: define "-P" option to set SM_*
736 * utils/statd/monitor.c: sprintf to cope with SM_DIR not being
738 * utils/statd/notify.c: ditto.
739 * utils/statd/statd.man: document -P option.
741 2002-08-26 Chip Salzenberg <chip@pobox.com>
743 * utils/nfsd/nfsd.man: Fix typo.
744 * debian/changelog: Version 1.0.1-1.
746 2002-05-29 NeilBrown <neilb@cse.unsw.edu.au>
748 * let parseopts know if /etc/exports was being read or not,
749 and have it only print "no sync or async" warning in that case.
751 2002-05-06 Tom McNeal <trmcneal@attbi.com>
752 NeilBrown <neilb@cse.unsw.edu.au>
754 * utils/nfsstat/nfsstat.c: Handle differing format for
755 /proc/net/rpc/nfsd between pre and post 2.4.0
757 2002-04-09 NeilBrown <neilb@cse.unsw.edu.au>
758 James Pearson <james-p@moving-picture.com>
760 * support/nfs/rmtab.c(fendrmtabent): sync changes to
761 storage before returning, as this is critical state
763 2002-04-08 Sean O'Connell <sean@ee.duke.edu>
764 H.J. Lu <hjl@lucon.org>
766 * etc/redhat/nfs: New.
768 2002-04-08 H.J. Lu <hjl@lucon.org>
770 * etc/redhat/nfs.init: Updated.
772 * nfs-utils.spec.in: Updated.
773 * nfs-utils.spec: Regenerated.
775 * utils/mountd/mountd.c (longopts): Fix a typo.
777 * utils/mountd/mountd.man: Updated.
779 2002-04-07 H.J. Lu <hjl@lucon.org>
781 * etc/redhat/nfslock.init (restart): Just do stop and start.
783 * etc/redhat/nfs.init: Fix a typo.
785 2002-04-07 H.J. Lu <hjl@lucon.org>
787 * configure.in (VERSION): Set to "1.0.1".
788 * configure: Regenerated.
789 * nfs-utils.spec: Likewise.
791 * README: Updated for 1.0.1.
793 2002-04-07 Sean O'Connell <sean@ee.duke.edu>
794 H.J. Lu <hjl@lucon.org>
796 * etc/redhat/nfs.init: Read /etc/sysconfig/nfsd for NFS tuning.
798 2002-02-28 Steven Whitehouse <steve@gw.chygwyn.com>
799 NeilBrown <neilb@cse.unsw.edu.au>
801 Add support for fsid=nn export option so that device
802 numbers don't go in filehandles.
803 * support/export/nfsctl.c(expsetup): if exporting and NFSEXP_FSID
804 is set, pass the fsid in-place of the device number
805 * support/nfs/exports.c: parse and print fsid= option.
806 Also check if efname has been set, and use "command line"
807 instead in error messages.
808 Also, use strtol instead of atoi for anon[ug]id= so that
809 bad numbers cause errors.
811 2002-01-17 Adrian Drzewiecki <drze@MissionCriticalLinux.com>
812 NeilBrown <neilb@cse.unsw.edu.au>
814 * support/nfs/exports.c: remove NFSEXP_ASYNC as a default
815 flag so that "sync" becomes the default.
816 Check that either "sync" or "async" is given as an option
817 and warn if neither are present
818 * utils/exportfs/exports.man: change documentation for "sync"
819 to be documentation for "async".
820 * utils/exportfs/exportfs.man: note that "sync" is the default
824 2002-01-02 Chip Salzenberg <chip@pobox.com>
826 * support/export/nfsctl.c (expsetup): Don't export entries that
827 specify id mappings not supported by the kernel. No extant kernel
828 supports any significant mapping, only 'identity' (i.e. none).
829 When other mappings are supported, this code will need changing.
830 * debian/changelog: Version 1.0-2.
832 2001-12-26 Chip Salzenberg <chip@pobox.com>
834 * nfs-utils.spec (Version): Set to "1.0".
835 * configure.in (VERSION): Likewise.
836 * configure: Regenerated.
838 * debian/changelog: Version 1.0-1.
840 * utils/exportfs/exports.man: Emphasize the need for options to
841 immediately follow client names. Explain that wildcards don't
842 usually work on addresses, but may work when reverse DNS fails.
843 Comment out a leftover TP that was TPing our indentation.
844 * utils/mountd/mountd.man, utils/rquotad/rquotad.man,
845 utils/statd/statd.man: Remove refs to non-existent "hosts_allow(5)".
846 * debian/changelog: Version 0.3.3-6.
848 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
850 * support/export/client.c(client_lookup): If a host has multiple
851 IP addresses, then we must always use the result of a
852 gethostbyname, not that of gethostbyaddr for exporting
854 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
856 * support/export/client.c (client_lookup): use strcasecmp when
858 * support/nfs/export.c (getexportent): add fromkernel arg and use
859 different defaults as kernels prior to 2.4.11 assume different
860 defaults in /proc/fs/nfs/exports
861 * support/include/nfslib.h, support/export/export.c,
862 support/export/xtab.c: support extra "fromkernel" arg for
865 2001-12-13 Chip Salzenberg <chip@pobox.com>
867 * debian/changelog: Version 0.3.3-5.
869 2001-11-26 TAKAI Kousuke <takai@vlsi.kuee.kyoto-u.ac.jp>
871 * support/nfs/xio.c (xskip): Call `xungetc' instead of
872 `ungetc' to keep x_line more properly.
874 2001-11-26 Chip Salzenberg <chip@pobox.com>
876 * utils/showmount/showmount.c (main): Don't assume that strings
877 starting with digits are IP addresses.
878 * utils/nfsd/nfsd.c (main): Close all fds and reopen 0,1,2 on
879 /dev/null before nfssvc(). Use syslog to report nfssvc errors.
880 * support/misc/tcpwrapper.c, utils/mountd/mountd.man,
881 utils/rquotad/rquotad.man, utils/statd/statd.man: Fix comments and
882 man pages: We check host names *and* addresses with tcpwrappers.
883 * debian/changelog: Version 0.3.3-4.
885 2001-11-21 Chip Salzenberg <chip@pobox.com>
887 * support/nfs/clients.c (cfname): Added: current clients file name.
888 (setnfsclntent): Set it.
889 ({get,end}nfsclntent, syntaxerr): Use it.
890 * support/nfs/exports.c (efname): Added: current exports file name.
891 (setnfsexportent): Set it.
892 (endnfsexportent, parseopts, getexport, syntaxerr): Use it.
893 (parseopts): Accept old-style "crossmnt" option, for old xtabs.
894 * debian/changelog: Version 0.3.3-3.
896 2001-10-11 Chip Salzenberg <chip@pobox.com>
898 * utils/mountd/mountd.c (main): Close fds > 2 _before_ RPC init.
899 * debian/changelog: Version 0.3.3-2.
901 2001-10-08 Chip Salzenberg <chip@pobox.com>
903 * utils/mountd/mountd.c (main): When daemonizing, close all fds > 2.
904 * utils/Makefile.in: Remove old Makefile in target 'distclean'.
905 * utils/mountd/mountd.man: Update paths to /var/lib.
906 * debian/*: Version 0.3.3-1, with Debian-specific fixes.
908 2001-10-06 Preston Brown <pbrown@redhat.com>
910 * utils/nfsstat/nfsstat.man: Updated.
912 2001-09-24 H.J. Lu <hjl@lucon.org>
914 * configure.in (VERSION): Set to "0.3.3".
915 * configure: Regenerated.
916 * nfs-utils.spec: Likewise.
918 * README: Updated for 0.3.3.
920 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
922 Arrange that "exportfs -au" never does DNS lookup:
924 * support/export/client.c (client_lookup) : add "canonical"
925 flag which says that the hostname is known to be canonical, so
928 * support/export/export.c (export_create) : add "canonical"
929 flag to be passed down to client_lookup
930 * support/export/export.c (export_lookup) : Likewise
932 * support/export/xtab.c (xtab_read) : pass appropriate
933 "canonical" flag to export_lookup and export_create:
934 set if reading list of filesystems currently exports
937 * support/export/export.c (export_read) : pass 0 as
938 "canonical" flag to export_lookup and export_create
939 * support/export/rmtab.s (rmtab_read) : Likewise
941 * support/include/exportfs.h : redeclare various routines
942 to have "canonical" flag
944 * utils/exportfs/exportfs.c (main) : redo logic for
945 "-au" to read in what is currently exported, but never even
946 look at what "should" be exported.
948 * utils/exportfs/exportfs.c (unexportall) : remove this
949 routine. Functionality is completely included in
952 * utils/exportfs/exportfs.c (exportfs) : set "canonical"
953 flag to zero in calls to export_lookup and export_create.
956 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
957 Anne Milicia <milicia@missioncriticallinux.com>
959 * support/export/client.c (client_lookup) call gethostbyadd
960 to make sure that we have a canonical hostname, even for
962 * utils/exportfs/exportfs.c (exportfs) Likewise
964 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
966 * support/nfs/exports.c (putexportent): \octal quote any spaces
968 * support/nfs/xio.c (xgettok): recognise double-quote and
969 \octal quoting in path names
970 * utils/exportfs/exports.man: document quoting conventions
973 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
975 * utils/mountd/auth.c (auth_authenticate_internal): Reverse
976 change from 2000-08-02: It causes problems if someone exports
977 to both a hostname and IP addresses. nfs-utils must be
978 consistant about the canonical name that it chooses.
980 2001-08-17 Ragnar Kjørstad <nfs@ragnark.vestdata.no>
981 H.J. Lu <hjl@lucon.org>
983 * etc/redhat/nfslock.init (STATDARG): New. Pass it to rpc.statd.
985 * utils/statd/statd.c (longopts): Add "name".
986 (usage): Add "-n/--name".
987 (main): Set MY_NAME with "-n/--name".
989 * utils/statd/state.c (change_state): Set MY_NAME only if it
992 * utils/statd/statd.man: Updated for "-n/--name".
994 2001-07-26 H.J. Lu <hjl@lucon.org>
996 * nfs-utils.spec (Release): Set to 8.
998 2001-07-25 H.J. Lu <hjl@lucon.org>
1000 * etc/redhat/nfs.init: Check if rpc.rquotad exists before doing
1003 2001-06-27 H.J. Lu <hjl@lucon.org>
1005 * etc/redhat/nfs.init: Run rpc.rquotad only if it exists.
1007 2001-06-27 H.J. Lu <hjl@lucon.org>
1009 * utils/rquotad/rquota_server.c: Don't call statfs () for
1010 the block size. Use BLOCK_SIZE instead.
1012 2001-06-27 H.J. Lu <hjl@lucon.org>
1014 * config.mk.in (CC_FOR_BUILD): Renamed from BUILD_CC.
1015 (CFLAGS_FOR_BUILD): New. Don't use @CFLAGS@.
1017 * configure.in (enable_nfsv3): Set to yes by default.
1018 (--enable-rquotad): Added
1019 (AC_PROG_CXX): Removed.
1020 (AC_OUTPUT): Add utils/Makefile.
1021 (CC_FOR_BUILD): Renamed from BUILD_CC.
1022 * configure: Regenerated.
1024 * utils/Makefile: Removed.
1026 * utils/Makefile.in: New.
1028 * nfs-utils.spec.in (rquotad): New. Set to 0 to disable
1030 (CC_FOR_BUILD): Renamed from BUILD_CC.
1031 * nfs-utils.spec: Regenerated.
1033 2001-06-15 Chip Salzenberg <chip@debian.org>
1035 * debian/changelog: Version 0.3.2-2.
1036 * debian/*.init: Minor fixes.
1038 2001-06-07 Lon H. Hohberger <hohberger@missioncriticallinux.com>
1040 * etc/nodist/nfs-server: Fixed a bug where the script would
1041 disable mounts from NFSv3 clients if NFSv3 is present.
1043 2001-06-05 H.J. Lu <hjl@lucon.org>
1045 * utils/mountd/mountd.c (longopts): Add "descriptors/o".
1046 (main): Support --descriptors/-o to set the limit of the number
1047 of open file descriptors.
1050 * utils/mountd/mountd.man: Updated for --descriptors/-o.
1052 2001-06-04 H.J. Lu <hjl@lucon.org>
1054 * nfs-utils.spec (Release): Set to 6.
1056 2001-05-28 H.J. Lu <hjl@lucon.org>
1058 * utils/lockd/lockd.c (main): chdir to NFS_STATEDIR.
1059 * utils/mountd/mountd.c (main): Likewise.
1060 * utils/nfsd/nfsd.c (main): Likewise.
1061 * utils/rquotad/rquota_svc.c (main): Likewise.
1063 2001-05-06 Anne Milicia <milicia@missioncriticallinux.com>
1065 * support/export/client.c (client_check): Check IP address
1068 2001-05-06 Neil Brown <neilb@cse.unsw.edu.au>
1070 * support/export/client.c (client_gettype): Treat `*' as
1073 2001-04-22 H.J. Lu <hjl@lucon.org>
1075 * nfs-utils.spec.in: Fix a typo.
1076 * nfs-utils.spec: Regenerated.
1078 2001-04-21 H.J. Lu <hjl@lucon.org>
1080 * nfs-utils.spec.in: Fix cross build.
1081 * nfs-utils.spec: Regenerated.
1082 (Release): Set to 5.
1084 2001-04-18 H.J. Lu <hjl@lucon.org>
1086 * nfs-utils.spec.in: Support cross build.
1087 * nfs-utils.spec: Regenerated.
1088 (Release): Set to 4.
1091 * config.guess: New.
1093 * config.mk.in (BUILD_CC): New.
1094 (CC): Set to $(BUILD_CC) if BUILD is defined.
1097 (RANLIB): Set to @RANLIB@.
1099 * configure.in: Check BUILD_CC, RANLIB, AR and LD.
1100 * configure: Regenerated.
1102 * tools/rpcgen/Makefile (BUILD): Set to true.
1104 2001-04-01 Chip Salzenberg <chip@valinux.com>
1106 * tools/rpcgen/rpc_svcout.c (write_timeout_func): Remove
1107 redundant, and sometimes broken, declaration of svc_fdset;
1109 * support/nfs/rpcmisc.c (closedown): Likewise.
1111 2001-03-21 H.J. Lu <hjl@lucon.org>
1113 * nfs-utils.spec: Regenerated.
1114 (Release): Set to 3.
1116 2001-03-21 Ion Badulescu <ionut@cs.columbia.edu>
1118 * utils/statd/statd.c (main): make sure file descriptors 0-2
1119 are open to /dev/null.
1121 2001-03-21 H.J. Lu <hjl@lucon.org>
1123 * support/nfs/rpcmisc.c: Restore the change made on 2001-03-10.
1124 * support/nfs/rpcmisc.c: Likewise.
1125 * utils/rquotad/rquota_svc.c: Likewise.
1126 * utils/rquotad/rquotad.man: Likewise.
1127 * utils/statd/Makefile: Likewise.
1128 * utils/statd/rmtcall.c: Likewise.
1129 * utils/statd/simulate.c: Likewise.
1130 * utils/statd/statd.c: Likewise.
1131 * utils/statd/statd.man: Likewise.
1133 2001-03-11 H.J. Lu <hjl@lucon.org>
1135 * configure.in (RELEASE): New. Default to 1, set by
1136 --with-release=XXX. Substitute nfs-utils.spec.
1137 * nfs-utils.spec.in (Release): Set to @RELEASE@.
1138 * configure: Regenerated.
1139 * nfs-utils.spec: Likewise.
1141 2001-03-11 H.J. Lu <hjl@lucon.org>
1143 * utils/rquotad/rquotad.man: Fix a typo.
1145 2001-03-11 H.J. Lu <hjl@lucon.org>
1147 * support/include/rpcmisc.h: Undo the change made on 2001-03-10.
1148 * support/nfs/rpcmisc.c: Likewise.
1149 * utils/rquotad/rquota_svc.c: Likewise.
1150 * utils/rquotad/rquotad.man: Likewise.
1151 * utils/statd/Makefile: Likewise.
1152 * utils/statd/rmtcall.c: Likewise.
1153 * utils/statd/simulate.c: Likewise.
1154 * utils/statd/statd.c: Likewise.
1155 * utils/statd/statd.man: Likewise.
1157 2001-03-10 H.J. Lu <hjl@lucon.org>
1159 * configure.in (VERSION): Set to "0.3.2".
1160 * configure: Regenerated.
1161 * nfs-utils.spec: Likewise.
1163 * README: Updated for 0.3.2.
1165 2001-03-10 Tavis Barr <tavis@boole.isetr.columbia.edu>
1167 * utils/rquotad/rquotad.man: Updated for -p.
1168 * utils/statd/statd.man: Likewise.
1170 2001-03-10 Ion Badulescu <ionut@cs.columbia.edu>
1172 * support/nfs/rpcmisc.c: export makesock()
1174 * support/include/rpcmisc.h (makesock): Declared.
1176 * utils/rquotad/rquota_svc.c: added longopts, added support for
1177 specifying the port to bind to on the command line.
1179 * utils/statd/statd.c: ditto, also specify port used for
1180 outgoing connections.
1181 (do_regist): Removed.
1183 * utils/statd/rmtcall.c (statd_get_socket): Renamed from
1184 get_socket. Make it extern.
1186 * utils/statd/simulate.c (daemon_simulator): Call rpc_init
1187 instead of do_regist.
1189 * utils/statd/Makefile (LIBS): link with our own libnfs
1191 2001-03-09 H.J. Lu <hjl@lucon.org>
1193 * etc/redhat/nfslock.init: Changed chkconfig line to 60 86.
1194 * etc/nodist/nfs-client: Likewise.
1196 2001-02-26 Chip Salzenberg <chip@valinux.com>
1198 * debian/changelog: Version 0.3.1-1.
1199 * Mention upstream source and license in copyright file.
1200 * Add build-Depends for debhelper and libwrap0-dev.
1202 2001-02-20 Lon Hohberger <hohberger@missioncriticallinux.com>
1204 * etc/nodist/nfs-server: Changed chkconfig line to 60 20
1205 * etc/nodist/nfs-client: Likewise.
1207 2001-02-18 Lon Hohberger <hohberger@missioncriticallinux.com>
1209 * utils/statd/statd.man: Changed /usr/sbin/rpc.statd to
1212 2001-02-17 Patrick J. LoPresti <patl@curl.com>
1214 * utils/statd/log.c (log_init): Use LOG_DAEMON instead of
1217 2001-02-14 H.J. Lu <hjl@lucon.org>
1219 * utils/statd/rmtcall.c: Include <time.h>.
1220 * utils/statd/svc_run.c: Likewise.
1222 2001-02-14 H.J. Lu <hjl@lucon.org>
1224 * configure.in (VERSION): Set to "0.3.1".
1225 * configure: Regenerated.
1226 * nfs-utils.spec: Likewise.
1228 * README: Updated for 0.3.1.
1230 2001-02-14 H.J. Lu <hjl@lucon.org>
1232 * support/nfs/rpcmisc.c: Include <time.h>.
1234 2001-02-14 Chip Salzenberg <chip@valinux.com>
1236 * debian/control: Change priority of nhfsstone package to 'extra'.
1238 2001-02-12 Chip Salzenberg <chip@valinux.com>
1240 * debian/changelog: Version 0.3-2.
1242 2001-02-02 H.J. Lu <hjl@lucon.org>
1244 * support/include/rpcmisc.h (rpc_init): Remove bufsize.
1246 * support/nfs/rpcmisc.c (makesock): Remove socksz and comment
1247 out SO_SNDBUF/SO_RCVBUF.
1248 (rpc_init): Remove bufsize and remove socksz in calls to
1251 * utils/mountd/mountd.c (main): Remove bufsize in calls to
1254 2001-01-28 Chip Salzenberg <chip@valinux.com>
1256 * debian/changelog: Version 0.3-1.
1258 2001-01-25 H.J. Lu <hjl@lucon.org>
1260 * configure.in (VERSION): Set to "0.3".
1261 * configure: Regenerated.
1262 * nfs-utils.spec: Likewise.
1264 * README: Updated for 0.3.
1266 2001-01-25 H.J. Lu <hjl@lucon.org>
1268 * utils/lockd/lockd.c (main): Ignore errno == EINVAL.
1270 2001-01-20 Chip Salzenberg <chip@valinux.com>
1272 * support/include/xio.h (xgetc): Declare to return int.
1273 * support/nfs/xio.c (xgetc): Return int.
1274 (xgettok, xskip, xskipcomment): Use int for value of xgetc.
1275 * utils/statd/statd.c (main): Use int for value of getopt.
1276 * debian/changelog: Version 0.2.1-5.
1278 2000-12-10 Chip Salzenberg <chip@valinux.com>
1280 * utils/statd/monitor.c (sm_mon_1_svc): Fix buggy check for
1281 program and procedure numbers of kernel lockd's callback. Also,
1282 besides the old (and broken) procedure #24, allow #16 per Trond.
1284 2000-12-03 Chip Salzenberg <chip@valinux.com>
1286 * support/nfs/xio.c (xfopen): Initialize x_line to one, not zero.
1287 * debian/control: Let nhfsstone replace files in nfs-kernel-server.
1288 * debian/changelog: Version 0.2.1-4.
1290 2000-11-27 Tobias Ringstrom <tori@tellus.mine.nu>
1292 * utils/mountd/auth.c (auth_authenticate): Log the bad path
1295 2000-11-24 Neil Brown <neilb@cse.unsw.edu.au>
1297 * support/nfs/exports.c (getexportent): Check for host name
1298 without option, or options without hostname, and print a warning,
1299 as this is most likely a typo.
1301 2000-11-19 Chip Salzenberg <chip@valinux.com>
1303 * debian/control: Add dependency on portmap.
1304 * debian/changelog: Version 0.2.1-3.
1306 2000-11-10 H.J. Lu <hjl@lucon.org>
1308 * nfs-utils.spec.in: Don't use libtool.
1309 Add ChangeLog and COPYING to doc.
1310 * nfs-utils.spec: Rebuild.
1312 2000-11-09 H.J. Lu <hjl@lucon.org>
1314 * etc/redhat/nfs.init (start): Back out the last change.
1316 2000-11-09 H.J. Lu <hjl@lucon.org>
1318 * etc/redhat/nfs.init (start): Pass --no-tcp to mountd if
1319 TCP is not supported by kernel.
1321 * support/nfs/rpcmisc.c (rpc_init): Don't set _rpcfdtype to 0.
1323 * utils/mountd/mountd.c (longopts): Add "-n/--no-tcp".
1324 (main): Set to _rpcfdtype to SOCK_DGRAM for "-n/--no-tcp".
1326 * utils/mountd/mountd.man: Updated for "-n/--no-tcp".
1328 2000-10-24 Lon Hohberger <hohberger@missioncriticallinux.com>
1330 * utils/statd/callback.c: Fix bug preventing callbacks to local lockd.
1331 * utils/statd/rmtcall.c: Add some IP address paranoia when doing
1332 callbacks to local lockd.
1334 2000-10-18 Scott McDermott <mcdermot@questra.com>
1336 * utils/exportfs/exports.man: Updated for CIDR netmask.
1338 2000-10-17 Scott McDermott <mcdermot@questra.com>
1340 * support/export/client.c (client_init): Support CIDR netmask
1343 2000-10-11 H.J. Lu <hjl@lucon.org>
1345 * aclocal.m4 (AC_TCP_WRAPPER): Fix a typo.
1346 * configure: Rebuilt.
1348 2000-10-06 Lon Hohberger <hohberger@missioncriticallinux.com>
1350 * utils/statd/statd.man: Change "/var/lib/nfs/sm/state" to
1351 "/var/lib/nfs/state".
1353 2000-10-05 Lon Hohberger <hohberger@missioncriticallinux.com>
1355 * utils/statd/statd.h (run_mode): New global bitmask of runtime
1356 behaviors: fg/bg, logging, etc.
1357 * utils/statd/statd.c: New command line options: -V -h -? -d .
1358 * utils/statd/statd.man: Update for changes to statd.
1360 * utils/statd/log.h (log_init): Remove parameter of function; use
1361 global variable "name_p" instead.
1362 * utils/statd/log.c: Add support for logging to stderr.
1364 * utils/statd/notlist.c: Partially rewrite notify list handling
1365 functions. Eliminate run-off-end-of-list bug when calling
1366 nlist_insert_timer. Add lots of comments.
1368 2000-09-27 H.J. Lu <hjl@lucon.org>
1370 * README: Updated for RedHat 7.0.
1372 2000-09-27 H.J. Lu <hjl@lucon.org>
1374 * nfs-utils.spec: Rebuild.
1376 2000-09-27 H.J. Lu <hjl@lucon.org>
1378 * README: Updated for 0.2.1.
1380 2000-09-27 H.J. Lu <hjl@lucon.org>
1382 * nfs-utils.spec.in: Updated to use rpm macros and support
1385 2000-09-25 H.J. Lu <hjl@lucon.org>
1387 * configure.in (VERSION): Set to "0.2.1".
1388 * configure: Regenerated.
1389 * nfs-utils.spec: Updated.
1391 2000-09-25 H.J. Lu <hjl@lucon.org>
1393 * utils/mountd/auth.c (auth_authenticate_internal): Make sure a
1394 non-NULL hostent is always returned.
1396 2000-09-11 Ion Badulescu <ionut@cs.columbia.edu>
1398 * etc/redhat/nfslock.init: don't kill lockd processes that do not
1399 have an executable (i.e. kernel threads)
1401 2000-09-01 H.J. Lu <hjl@lucon.org>
1403 * README: Updated for 0.2.
1405 2000-09-01 Jay Weber <jweber@valinux.com>
1407 * etc/redhat/nfs.init: Added ability for rpc.mountd to default to
1408 supporting version 3 of nfs if available, else it will fall back to
1409 version 2 support only.
1411 2000-08-30 H.J. Lu <hjl@lucon.org>
1413 * configure.in (VERSION): Set to "0.2".
1414 * configure: Regenerated.
1415 * nfs-utils.spec: Updated.
1417 2000-08-25 H.J. Lu <hjl@lucon.org>
1419 * support/misc/tcpwrapper.c (logit): Modify the log output.
1421 2000-08-25 Ion Badulescu <ionut@cs.columbia.edu>
1423 * utils/rquotad/rquotad.man, utils/statd/statd.man,
1424 utils/mountd/mountd.man: updated
1426 * utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL)
1427 * utils/rquotad/Makefile: fix comment
1429 * support/misc/tcpwrapper.c (logit): added comment about waiting
1430 for the children after fork()
1432 * utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving
1433 zombies behind (from logit()'s fork)
1434 * utils/rquotad/rquota_svc.c (main): ditto
1435 * utils/statd/statd.c (main): ditto
1437 * utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG
1438 to check_default instead of 0, for prognum
1440 * utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG
1441 to check_default instead of 0, for prognum
1443 * utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if
1444 HAVE_TCP_WRAPPER is defined.
1445 (mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is
1446 defined. Reject an RPC call if check_default () fails.
1448 2000-08-25 H.J. Lu <hjl@lucon.org>
1450 * support/include/tcpwrapper.h: New for the tcp wrapper
1452 * support/misc/Makefile: Likewise.
1453 * support/misc/from_local.c: Likewise.
1454 * support/misc/tcpwrapper.c: Likewise.
1456 * aclocal.m4 (AC_TCP_WRAPPER): New.
1457 * configure.in: Use it. Substitute LIBWRAP.
1458 * configure: Rebuilt.
1460 * config.mk.in (LIBNSL): New.
1461 (LIBWRAP): Likewise.
1463 * support/Makefile (SUBDIRS): Add misc.
1465 * support/lib/Makefile (LIBS): Add libmisc.a.
1467 * utils/rquotad/Makefile (LIBS): Add
1469 -lmisc $(LIBWRAP) $(LIBNSL)
1471 * utils/statd/Makefile (LIBS): Likewise.
1473 * utils/rquotad/rquota_svc.c: Include "tcpwrapper.h" if
1474 HAVE_TCP_WRAPPER is defined.
1475 (rquotaprog_1): Call check_default () if HAVE_TCP_WRAPPER is
1476 defined. Reject an RPC call if check_default () fails.
1478 * utils/statd/statd.c: Include "tcpwrapper.h" if
1479 HAVE_TCP_WRAPPER is defined.
1480 (sm_prog_1_wrapper): New. A wrapper for sm_prog_1. Call
1481 check_default () before calling sm_prog_1 (). Define it as
1482 sm_prog_1_wrapper if HAVE_TCP_WRAPPER is defined.
1484 2000-08-25 Chip Salzenberg <chip@valinux.com>
1486 * debian/*: Complete Debian build support.
1487 * etc/debian/*: Remove.
1489 2000-08-24 Neil Brown <neilb@cse.unsw.edu.au>
1491 * support/export/client.c(client_check): removed the "dot+1" as a
1492 ypdomain argument to innetgr as this is entirely bogus.
1493 It should always be NULL.
1495 2000-08-23 Neil Brown <neilb@cse.unsw.edu.au>
1497 * support/export/xtab.c(xtab_read): introduce new mode for
1498 reading xtab. i.e. a list of exports that might be known to the
1499 kernel, or might not. These are flagged as m_exported == -1
1500 * support/export/xtab.c(xtab_mount_read): call xtab_read with new
1501 value "2" for xtab, meaning don't trust this too much.
1502 * support/include/exportfs.h(struct mexport): changed m_exported
1503 from one bit to an int so that it can hold new value
1504 * utils/exportfs/exportfs.c(exportfs_ipdate): add an export to the
1505 kernel if it is uncertain whether the kernel knows (m_exported == -1)
1506 * utils/mountd/mountd.c(get_rootfh): similarly export to kernel if
1509 * support/nfs/xio.c(xflock): added O_CREAT when getting
1510 a write lock so that missing files aren't fatal.
1512 * etc/debian/nfs-common: new file from "potato"
1513 * etc/debian/nfs-kernel-server: new file from "potato" plus fixes.
1515 2000-08-09 H.J. Lu <hjl@lucon.org>
1517 * etc/redhat/nfs.init: Run /usr/sbin/exportfs first during
1518 startup to ensure all existing clients work fine.
1520 * support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0
1521 to xtab_read () for reading _PATH_XTAB.
1523 2000-08-02 H.J. Lu <hjl@lucon.org>
1525 * utils/mountd/auth.c (auth_authenticate_internal): Try to
1526 avoid the reverse name lookup.
1528 2000-07-04 H.J. Lu <hjl@lucon.org>
1530 * utils/statd/log.c: Include <stdlib.h> for exit ().
1532 * utils/statd/misc.c (xunlink): Add `{' and `}' to quiet the
1535 2000-07-04 H.J. Lu <hjl@lucon.org>
1537 * configure.in (VERSION): Set to "0.1.9.1".
1538 * configure: Regenerated.
1539 * nfs-utils.spec: Updated.
1543 2000-07-04 Neil Brown <neilb@cse.unsw.edu.au>
1545 * support/export/hostname.c (hostent_dup): Handle the NULL
1548 2000-07-03 H.J. Lu <hjl@lucon.org>
1550 * README: Update the util-linux requirement.
1552 2000-07-03 H.J. Lu <hjl@lucon.org>
1554 * configure.in (VERSION): Set to "0.1.9".
1555 * configure: Regenerated.
1556 * nfs-utils.spec: Updated.
1560 2000-07-03 H.J. Lu <hjl@lucon.org>
1562 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
1563 stop to ensure all clients can still access the server
1564 before it is shutdown.
1566 2000-06-30 Jeff Uphoff <juphoff@transmeta.com>
1568 * tools/rpcgen/rpc_svcout.c (write_msg_out): Generate syslog()
1569 calls with format string.
1571 2000-06-28 Chip Salzenberg <chip@valinux.com>
1573 * utils/statd/log.c (log): Call syslog with format string.
1575 2000-06-27 H.J. Lu <hjl@lucon.org>
1577 * utils/statd/statd.c (main): Use sysconf (_SC_OPEN_MAX)
1578 instead of OPEN_MAX.
1580 2000-06-27 H.J. Lu <hjl@lucon.org>
1584 2000-06-27 H.J. Lu <hjl@lucon.org>
1586 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
1587 startup to ensure all existing clients are exported.
1589 * configure.in (VERSION): Set to "0.1.8.2".
1590 * configure: Regenerated.
1591 * nfs-utils.spec: Updated.
1593 2000-06-06 H.J. Lu <hjl@lucon.org>
1595 * configure.in (VERSION): Set to "0.1.8.1".
1596 * configure: Regenerated.
1597 * nfs-utils.spec: Updated.
1599 2000-06-06 H.J. Lu <hjl@lucon.org>
1601 * utils/mountd/mountd.c (mount_dump_1_svc): Cast svc_getcaller
1602 to "struct sockaddr_in *" for glibc 2.2.
1603 (mount_umnt_1_svc): Likewise.
1604 (mount_umntall_1_svc): Likewise.
1605 (mount_export_1_svc): Likewise.
1606 (mount_exportall_1_svc): Likewise.
1607 (mount_pathconf_2_svc): Likewise.
1608 (get_rootfh): Likewise.
1610 2000-06-04 H.J. Lu <hjl@lucon.org>
1612 * etc/redhat/nfs.init: Fix a typo in comment.
1614 2000-05-31 H.J. Lu <hjl@lucon.org>
1616 * configure.in (VERSION): Set to "0.1.8".
1617 * configure: Regenerated.
1618 * nfs-utils.spec: Updated.
1622 2000-05-31 H.J. Lu <hjl@lucon.org>
1624 * configure.in (VERSION): Set to "0.1.7.5".
1625 * configure: Regenerated.
1626 * nfs-utils.spec: Updated.
1628 * support/include/nfslib.h (exportent): Add a new field,
1629 r_count, to count the number of mounts from a client.
1630 (getrmtabent): Take a new argument for position in file.
1631 (putrmtabent): Likewise.
1632 (fgetrmtabent): Likewise.
1633 (fputrmtabent): Likewise.
1634 * support/nfs/rmtab.c (getrmtabent): Handle the new argument
1635 for position in file.
1636 (fgetrmtabent): Likewise.
1637 (putrmtabent): Likewise.
1638 (fputrmtabent): Likewise.
1640 * support/nfs/rmtab.c (fgetrmtabent): Get value for the new
1643 * support/export/rmtab.c (rmtab_read): Pass NULL as the new
1644 argument to getrmtabent (), fgetrmtabent (), putrmtabent ()
1645 and fputrmtabent ().
1646 * utils/mountd/rmtab.c (mountlist_add): Likewise.
1647 (mountlist_del): Likewise.
1648 (mountlist_del_all): Likewise.
1649 (mountlist_list): Likewise.
1651 * utils/mountd/rmtab.c (mountlist_add): Increment "r_count"
1652 for the existing entry and initialize "r_count" to 1.
1653 (mountlist_del): Decrement "r_count".
1655 2000-05-18 H.J. Lu <hjl@lucon.org>
1657 * configure.in (VERSION): Set to "0.1.7.4".
1658 * configure: Regenerated.
1659 * nfs-utils.spec: Updated.
1661 2000-05-18 H.J. Lu <hjl@lucon.org>
1663 * etc/redhat/nfs.init (restart): Just do stop and start.
1665 2000-05-09 Jay Weber <jweber@valinux.com>
1667 * utils/rquotad/hasquota.c: added support for ext3 recognition
1669 * utils/rquotad/mntent.h: Likewise.
1671 2000-05-01 H.J. Lu <hjl@lucon.org>
1673 * configure.in (VERSION): Set to "0.1.7.3".
1674 * configure: Regenerated.
1675 * nfs-utils.spec: Updated.
1677 2000-05-01 H.J. Lu <hjl@lucon.org>
1679 * utils/rquotad/rquota_server.c (getquotainfo): Skip bad
1680 mounting poins in /etc/fstab.
1682 2000-05-01 H.J. Lu <hjl@lucon.org>
1684 * configure.in (VERSION): Set to "0.1.7.2".
1685 * configure: Regenerated.
1686 * nfs-utils.spec: Updated.
1688 2000-05-01 H.J. Lu <hjl@lucon.org>
1690 * utils/rquotad/rquota_server.c (getquotainfo): Call stat ()
1691 to check for the mounting point.
1693 2000-04-29 Chip Salzenberg <chip@valinux.com>
1694 Neil Brown <neilb@cse.unsw.edu.au>
1696 * Really re-use RPC ports.
1697 (Fixes earlier patch. Sorry, Neil.)
1699 2000-04-26 H.J. Lu <hjl@lucon.org>
1701 * configure.in (VERSION): Set to "0.1.7.1".
1702 * configure: Regenerated.
1703 * nfs-utils.spec: Updated.
1705 2000-04-26 H.J. Lu <hjl@lucon.org>
1707 * etc/redhat/nfslock.init: Check if lockd exits before killing
1710 2000-04-25 H.J. Lu <hjl@lucon.org>
1712 * README: Require util-linux-2.10f-mount-rpc.patch for mount.
1714 2000-03-21 Michael Weiser <michael@weiser.saale-net.de>
1716 * support/nfs/exports.c (parsesquash): Correctly set the
1719 Tue Mar 21 11:38:48 EST 2000 NeilBrown <neilb@cse.unsw.edu.au>
1721 * support/include/nfs/nfs.h: Removed knowledge of internals of
1722 kernel filehandles (which can change) and defined nfs_fh_size
1723 which has variable size
1725 * support/nfs/getfh.c: defined getfh_size to use new syscall to
1726 get variable sized file handles, and change getfh{,old} to
1729 * utils/mountd/mountd.c: use nfd_fh_size and call getfh_size for
1732 * tools/Makefile, tools/nlmtest/nlmtest.c
1733 nlmtest.c depended on internel format of file handles, so now
1737 2000-03-12 Chip Salzenberg <chip@valinux.com>
1738 Neil Brown <neilb@cse.unsw.edu.au>
1740 * support/nfs/rpcmisc.c (rpc_init): Share transports.
1742 2000-03-13 H.J. Lu <hjl@lucon.org>
1744 * etc/redhat/nfsd.init: Updated.
1746 * etc/redhat/nfslock.init: Updated.
1748 * nfs-utils.spec.in: Updated.
1750 * configure.in (VERSION): Set to "0.1.7".
1751 * configure: Regenerated.
1752 * nfs-utils.spec: Updated.
1756 Wed Mar 8 09:42:43 2000 Neil Brown <neilb@cse.unsw.edu.au>
1758 * utils/exportfs/exportfs.c (dump): Included printing of
1759 nohide, no_subtree_check, and insecure_locks
1761 2000-02-26 Chip Salzenberg <chip@valinux.com>
1763 * config.mk.in (INSTALLSUID): Strip ("-s").
1764 (INSTALLSCRIPT): Define.
1765 * utils/nhfsstone/Makefile: Use it.
1767 2000-02-26 Chip Salzenberg <chip@valinux.com>
1769 * utils/lockd/lockd.man: Create.
1770 * utils/lockd/Makefile: Install it.
1771 * utils/nhfsstone/nhfs{run,nums,graph}.man: Create.
1772 * utils/nhfsstone/nhfsstone.man: Change suffix from ".1".
1773 * utils/nhfsstone/Makefile: Install the helper scripts and
1775 * utils/exportfs/exports.man: Fix typo.
1777 2000-02-26 Chip Salzenberg <chip@valinux.com>
1779 * support/nfs/xio.c (xungetc): Decrement line number when
1780 character to unget is newline. Make first parameter int, so
1781 it can distinguish EOF from \377.
1782 * support/include/xio.h (xungetc): Adjust prototype.
1784 Fri Feb 4 23:42:23 2000 Neil Brown <neilb@cse.unsw.edu.au>
1786 * support/include/nfs/export.h: added NFSEXP_NOAUTHNLM
1787 * support/nfs/exports.c: added handling for NFSEXP_NOAUTHNLM
1788 * utils/exportfs/exports.man: added documentation for no_auth_nlm.
1790 This is for supporting a new option introduced in 2.3.42
1792 Thu Feb 3 14:55:48 2000 H.J. Lu <hjl@lucon.org>
1794 * COPYING: Added. GPL.
1796 Thu Feb 03 14:40:40 2000 Cristian Gafton <gafton@redhat.com>
1798 * utils/rquotad/rquota_server.c (getquotainfo): Call statfs ()
1799 to get the block size.
1801 Tue Jan 25 11:04:17 2000 H.J. Lu <hjl@lucon.org>
1803 * nfs-utils.spec.in: Update ftp site.
1805 Mon Jan 17 11:48:18 2000 H.J. Lu <hjl@lucon.org>
1807 * README: Update hostnames.
1809 Tue Jan 11 10:06:22 2000 H.J. Lu <hjl@lucon.org>
1811 * configure.in (VERSION): Set to "0.1.6".
1812 * configure: Regenerated.
1813 * nfs-utils.spec: Updated.
1817 Mon Jan 10 14:26:33 2000 H.J. Lu <hjl@lucon.org>
1819 * utils/mountd/auth.c (auth_authenticate_internal): Call
1820 xstrdup for hostname before passing it to gethostbyname.
1822 * utils/mountd/mountd.c (get_exportlist): Use xstrdup instead
1825 Sun Dec 19 09:35:01 1999 H.J. Lu <hjl@lucon.org>
1827 * README: Update the mailing list address.
1829 Sun Dec 19 09:22:28 1999 H.J. Lu <hjl@lucon.org>
1831 * configure.in (VERSION): Set to "0.1.5".
1832 * configure: Regenerated.
1833 * nfs-utils.spec: Updated.
1837 Mon Dec 13 13:40:20 1999 H.J. Lu <hjl@lucon.org>
1839 * utils/rquotad/hasquota.c (hasquota): Malloc one more char
1842 Mon Dec 6 09:42:45 1999 H.J. Lu <hjl@lucon.org>
1844 * configure.in (VERSION): Set to "0.1.4".
1845 * configure: Regenerated.
1846 * nfs-utils.spec: Updated.
1850 Mon Dec 6 09:28:07 1999 H.J. Lu <hjl@lucon.org>
1852 * nfs-utils.spec.in: New file.
1854 * config.mk.in (VERSION): Changed to "nfs-utils @VERSION@".
1856 * configure.in (nfs-utils.spec): Added to AC_OUTPUT.
1858 1999-12-04 Chip Salzenberg <chip@valinux.com>
1860 * config.mk.in: Use $(CC) as set by configure.
1862 1999-12-04 Chip Salzenberg <chip@valinux.com>
1864 * rules.mk: Call $(MAKE) with $(MFLAGS).
1866 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1868 * tools/rpcgen/rpc_main.c (h_output): Generate IXDR_GET_INT32,
1869 IXDR_PUT_INT32, IXDR_GET_U_INT32 and IXDR_PUT_U_INT32.
1871 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1873 * nfs-utils.spec (Version): Set to 0.1.3.
1875 * configure.in (VERSION): Set to "nfs-utils 0.1.3".
1876 * configure: Regenerated.
1880 Mon Nov 29 11:15:47 1999 H.J. Lu <hjl@lucon.org>
1882 * utils/rquotad/rquota_server.c (nfsmount_to_devname): Removed.
1883 (_PATH_DEV_DSK): Likewise.
1884 (getquotainfo): Match the mounting point from /etc/mtab
1885 instead of calling nfsmount_to_devname ().
1887 1999-11-24 Chip Salzenberg <chip@valinux.com>
1889 * utils/statd/monitor.c (sm_mon_1_svc): Accept lockd callbacks
1890 to the new port 24 as well as the historical port 100021.
1892 Tue Nov 23 10:21:34 1999 Neil Brown <neilb@cse.unsw.edu.au>
1894 * etc/redhat/nfsd.init (stop): moved exportfs -ua after
1895 stopping nfsd to stop spurious ESTALE on server shutdown.
1897 Tue Nov 23 10:13:39 1999 Neil Brown <neilb@cse.unsw.edu.au>
1899 * support/nfs/exports.c (parseopts): make copy of opt string
1900 before 'nul'ing out commas so that
1902 # exportfs -o option1,option2 hosta:/fs hostb:/fs
1904 applies both options to both exports.
1906 Thu Oct 28 12:55:42 1999 H.J. Lu <hjl@lucon.org>
1908 * README: Fix a few typos.
1910 * tools/rpcgen/rpc_cout.c (print_header): Use int32_t instead
1912 * tools/rpcgen/rpc_hout.c (pdefine): Likewise.
1913 * tools/rpcgen/rpc_main.c (c_initialize): Likewise.
1914 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1915 (unsigned_dec): Likewise.
1916 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1917 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1919 * tools/rpcgen/rpc_cout.c (emit_single_in_line): Use INT32
1921 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1922 (unsigned_dec): Likewise.
1923 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1924 * tools/rpcgen/rpc_scan.h (tok_kind): Likewise.
1925 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1927 Thu Oct 28 11:27:51 1999 Neil Brown <neilb@cse.unsw.edu.au>
1929 * support/include/nfs/export.h addedd NFSEXP_NOSUBTREECHECK
1930 * support/nfs/exports.c: added {no_,}subtree_check and changed
1932 * utils/exportfs/exports.man: added no_subtree_check and nohide
1933 and removed irrelevant stuff from unfsd.
1934 * support/export/rmtab.c: rmtab_read didn't quite do the right
1935 thing if a pathname from rmtab was a subdirectory of an export-point
1937 Tue Oct 26 17:22:40 1999 H.J. Lu <hjl@lucon.org>
1939 * README: Updated ftp site.
1941 Mon Oct 25 18:12:45 1999 H.J. Lu <hjl@lucon.org>
1943 * nfs-utils.spec (Version): Set to 0.1.2.
1945 * configure.in (VERSION): Set to "nfs-utils 0.1.2".
1946 * configure: Regenerated.
1950 Mon Oct 25 18:11:21 1999 H.J. Lu <hjl@lucon.org>
1952 * utils/mountd/auth.c (auth_error): Add "no_forward_dns".
1953 (auth_authenticate_internal): Check for NULL return on forward
1955 (auth_authenticate): Handle "no_forward_dns".
1957 Thu Oct 21 16:22:06 1999 H.J. Lu <hjl@lucon.org>
1959 * Version 0.1.1 released.
1961 * nfs-utils.spec (Version): Set to 0.1.1.
1963 * configure.in (VERSION): Set to "nfs-utils 0.1.1".
1964 * configure: Regenerated.
1968 Mon Oct 18 17:43:29 1999 H.J. Lu <hjl@lucon.org>
1970 * nfs-utils.spec (Obsoletes): Fixed a typo, change knfsd-client
1972 (Provides): Likewise.
1974 Mon Oct 18 14:56:22 1999 H.J. Lu <hjl@lucon.org>
1976 * Initial version 0.1 released.
1978 * configure.in (VERSION): Set to "nfs-utils 0.1".
1979 * configure: Regenerated.
1981 Mon Oct 18 14:54:57 1999 H.J. Lu <hjl@lucon.org>
1983 * utils/mountd/mountd.c (get_exportlist): Cleanup.
1985 * utils/exportfs/exportfs.c (unexport_all): Unexport from
1986 kernel only if the entry is exported to kernel.
1987 (unexportfs): Likewise.
1989 Wed Sep 08 16:49:32 1999 Neil Brown <neilb@cse.unsw.edu.au>
1991 1/ utils/mountd/rmtab.c::mountlist_list
1993 This routine stats the rmtab file to see if it has changed. It
1994 if has, it cleans up it's old copy of the data. But it still
1995 always re-read the file, thus returning multiple copies of the
1996 data on consecutive calls without intervening changes.
1997 "Showmount -a" didn't show this as it appears to sort/unique the
1998 data, but 'strace showmount -a' showed that the size of the
1999 datagram that it received grew.
2001 I moved the getrmtabent loop inside the mtime test.
2003 2/ utils/exportfs/exportfs.c
2005 Many routines used the m_path field of m_export instead of
2007 According to the comment in nfslib.h, m_path should only
2008 be used when processing a mount request (i.e. in mountd)
2009 where the mountpoint may be a subdirectory of the export point.
2011 I changed all occurances of m_path to e_path
2014 3/ utils/exportfs/exportfs.c:main
2016 extra arguments are not meaningful with -a or -r, but
2017 exportfs accepted them and then ignored the -a/-r, expect that
2018 -r would still unexport everything first.
2020 I generate an error if there are extra args and f_all
2022 4/ utils/exportfs/exportfs.c:main
2023 extract dump out as a special case.
2025 5/ utils/exportfs/exportfs.c
2026 made f_reexport a local variable.
2029 6/ utils/exportfs/exportfs.c:main,exportall
2031 support/export/rmtab.c
2032 only mayexport on newly created entries, don't set xtabent at all
2034 7/ support/include/nfslib.h
2036 add #define _PATH_PROC_EXPORTS to be /proc/fs/nds/exports
2038 8/ support/export/xtab.c
2040 xtab_mount_read loads data from _PATH_PROC_EXPORTS if it exists,
2044 9/ support/export/xtab.c
2046 xtab_mount_read now sets m_exported, and NOT
2047 xtabent and mayexport
2049 removed the append arguement from xtab_write as it was
2052 added is_export flag to xtab_write similar to xtab_read
2053 if is_export, only write entries with m_xtabent or m_addxtab
2054 if !is_export, only write entries with m_exported
2056 10/ support/export/export.c::export_allowed_internal
2058 added test for exp->m_mayexport, as the export tree
2059 may have entries that are no longer allowed to be exported,
2060 and so shouldn't caused deduced exported by rmtab_read
2062 11/ utils/exportfs/exportfs.c::main
2063 error checking of flags.
2065 12/ utils/exportfs/exportfs.c
2067 total rewrite of export and unexport logic.
2069 - build an exportslist of valid exports, based on
2070 current etab file and arguments,
2071 - read rmtab to instantiate relevant wild card entries
2072 - read etab to find out what is currently exported
2073 - synchronise intention with reality
2074 - write out etab and xtab
2077 discard the m_addxtab flag
2078 add m_changed flag so we know what to report in exportfs
2080 14/ utils/mountd/auth.c:auth_authenticate
2082 the value returned by gethostbyaddr was trusted.
2084 It now follows this with a call to gethostbyname
2085 and checks that the address is in the list.
2087 15/ support/export/nfsctl.c::cltsetup,expsetup
2089 force client names to lowercase as kernel is
2092 16/ quietened a few compiler warnings
2094 17/ support/export/client:client_lookup
2096 look for pre-existing client with same name before creating
2099 18/ support/include/exportfs.h
2101 The ordering of the MCL_* enum was:
2102 ANONYMOUS, FQDN, SUBNETWORK, WILDCARD, NETGROUP
2104 I moved ANONYMOUS to the end.
2106 The ordering is significant when an export entry is being searched for to
2107 match a given address. There are two problems with ANONYMOUS being first.
2109 1/ if a directory is exported rw to a couple of hosts and ro to everyone else,
2110 then the ro case will always be found first and the privileged hosts won't get
2112 2/ When mountd gets a request to mount an ANONYMOUSly exported tree, it creates a FQDN
2113 export entry for the specific host, and writes it to xtab.
2114 When another request comes from the same host, the ANONYMOUS entry is found again,
2115 before the new FQDN entry, so it creates another FQDN entry and writes it to xtab
2116 again. If causes bloat in xtab.
2118 Putting ANONYMOUS at the end reflects it's nature as a catch-all
2120 19/ utils/exportfs/exportfs.man
2121 many updates to the man page to reflect changes to the code
2123 -----------------------
2129 - allow exportfs to modify rmtab file
2130 - make sure kernel never gets two clients with same IP address
2131 - possible kernel should reject
2132 - needs to be some way to lookup client in kernel by IP address
2133 - maybe get kernel to do case-insensitive comparisons on client names
2134 - remove unused clients from kernel
2136 - change etab to xtab and xtab to xtab.active
2138 - timestamp and/or statd-stamp in rmtab for removing old entries.
2140 Mon Oct 18 11:48:07 1999 H.J. Lu <hjl@lucon.org>
2142 * linux-nfs: New directory.
2143 * linux-nfs/ChangeLog: Moved from ..
2144 * linux-nfs/INSTALL: Likewise.
2145 * linux-nfs/KNOWNBUGS: Likewise.
2146 * linux-nfs/NEW: Likewise.
2147 * linux-nfs/README: Likewise.
2148 * linux-nfs/THANKS: Likewise.
2149 * linux-nfs/TODO: Likewise.
2151 * Starting from knfsd 1.4.7.