1 2005-08-26 Kevin Coffman <kwc@citi.umich.edu>
3 Consolidate some of the Kerberos checking instead of repeating
4 the same things for MIT and Heimdal.
5 Also adds more checks to distinguish 32-bit from 64-bit
7 Fix svcgssd Makefile so make TOP=../../ works correctly there.
8 Enable running a modern autoheader.
10 2005-04-12 G. Allen Morris III <gam3@gam3.net>
12 * All Makefile: added TOP as needed for easier compile.
14 * utils/nfsstat/nfsstat.c: added NFS V4 support; added the -m
15 option; Added -2, -3, and -4 options; changed -a option to -v
16 option; added long options; changed default output to not
17 show V2 NFS statistics unless used.
19 * utils/nfsstat/nfsstat.man: Documented above changes; changed
20 authors email address; added BUGS section.
22 2005-04-07 Chip Salzenberg <chip@pobox.com>
24 * debian/changelog: Version 1.0.7-2.
26 2005-04-06 Chip Salzenberg <chip@pobox.com>
28 * config.guess, config.sub: Update.
30 * support/rpc/svc_auth_gss.c (_svcauth_gss): Avoid using a cast as
31 an lvalue, as it is non-portable.
33 * support/nfs/exports.c (parseopts): Accept "acl" option to mean
34 ~NFSEXP_NOACL, and "no_acl" to mean NFSEXP_NOACL.
35 (putexportent): Report NFSEXP_NOACL as "no_acl", and ~NFSEXP_NOACL
37 * utils/exportfs/exportfs.c (dump): Report NFSEXP_NOACL as
39 * utils/exportfs/exports.man: Document "no_acl".
41 2005-03-14 NeilBrown <neilb@cse.unsw.edu.au>
42 Denis Vlasenko <vda@ilport.com.ua>
43 * support/export/client.c(client_init and client_gettype):
44 treat N.N.N.N as a special case of MCL_SUBNETWORK instead of
47 2005-03-06 G. Allen Morris III <gam3@gam3.net>
48 * support/nfs/cacheio.c(readline): Could not read lines greater
49 than 128 bytes. [1157791]
50 * utils/exportfs/exports.man: Added a SEE ALSO section and
51 fixed 2 typos. [1018450]
53 2005-02-28 Trond Myklebust <trond.myklebust@fys.uio.no>
54 * utils/statd/rmtcall.c(statd_get_socket): If a port number is
55 explicitly given, make sure to try to bind to that.
57 2005-01-11 Chip Salzenberg <chip@pobox.com>
59 * debian/changelog: Version 1.0.7-1.
60 * debian/nfs-common.default (NEED_IDMAPD, NEED_GSSD):
61 Disable by default, on advice of upstream.
62 * debian/nfs-kernel-server.default (NEED_SVCGSSD):
65 * utils/svcgssd/Makefile (predep): Symbolically link duplicated
67 (distclean): Remove symlinks to duplicated files.
69 2004-12-17 NeilBrown <neilb@cse.unsw.edu.au>
72 * config.mk, configure.in: update version number, run autoconf
73 * configure.in: require nfsidmap.h if gss is enabled.
75 2004-12-10 NeilBrown <neilb@cse.unsw.edu.au>
78 * config.mk, configure.in: update version number, run autoconf
80 2004-12-10 Neil Brown <neilb@cse.unsw.edu.au>
81 * README : note dependancy on kerberos, libevent, and nfsidmap
82 * configure.in : fail if --enable-nfsv4 and libevent or
83 libnfsidmap are missing.
84 * configuyre.in: improve message if krb5 support is missing
86 2004-12-06 Paul Clements <paul.clements@steeleye.com>
87 * support/include/ha-callout.h: get return status from waitpid
89 * support/include/ha-callout.h: don't ignore SIGCHLD while waiting
90 for a callout to complete.
91 * utils/statd/statd.c(sigusr): print current start when re-reading
92 notify list due to SIGUSR1
93 * utils/statd/svc_run.c(my_svc_run): call change_state when
96 2004-12-06 Marc Eshel <eshel@almaden.ibm.com>
97 * utils/statd/svc_run.c(my_svc_run): allow loop to exit when in
99 *utils/statd/rmtcall.c(statd_get_socket): if a hostname is given
100 to statd with -n, prefer it's IP address to the default for
103 2004-12-06 Bruce Allan <bwa@us.ibm.com>
104 * utils/mountd/auth.c(auth_reload) Clear the "my_client" cache on
105 an auth_reload to avoid old data getting used.
107 2004-12-03 NeilBrown <neilb@cse.unsw.edu.au>
108 Release 1.0.7-pre1 for testing
110 * config.mk, configure.in: update version number, run autoconf
112 2004-12-03 Trond Myklebust <trond.myklebust@fys.uio.no>
114 * utils/statd/statd.c(main): ignore SIGPIPE
116 2004-11-22 "J. Bruce Fields" <bfields@fieldses.org>
118 * tools/rpcdebug/rpcdebug.c: support aliases "nfsdebug" and
119 "nfsddebug" and update flag names.
120 * configure.in, nodist/* redhat/* nfs-utils.spec*: remove redhat
121 specific files (as no-one actually uses them, especially not
122 redhat), and the nodist /etc files (as they drift out-of-date, and
123 the debian directory provides a suitable example.
124 * utils/svcgssd_proc.c(get_ids): fix memory leak
125 * utils/svcgssd/svcgssd_proc.c: Rely on count of the number of
126 groups instead of using a special guard value to identify the end
128 * utils/idmapd/idmapd.c: don't allow Default domain and anon-uid
129 or -gid to be specified on command line.
130 * utils/idmapd/idmapd.c: improve error messages
131 * utils/idmapd/idmapd.c: Reopen nfsd files on sighup. Allows us
132 to start up client side only (even when nfsd module not loaded),
133 and then sighup later after insmodding nfsd module.
134 * utils/idmapd/idmapd.c: Make sure we catch all errors on
135 daemonizing by waiting for child to report succesfull startup
137 * utils/idmapd/idmapd.c: Let libnfsidmapd parse the idmapd.conf
138 file for the default domain, instead of doing that ourselves.
139 * utils/gssd/gssd_proc.c: Make sure we get an error when a gssd
141 * utils/gssd/gssd_proc.c: We were forgetting to restore the euid
142 on certain failures, which meant gssd could get stuck in a state
143 where it didn't have permissions to read the files in rpc_pipefs
145 * utils/gssd/gssd_proc.c: Use libnfsidmapd to map gss principals
147 * debian/nfs-kernel-server.default: Document the NEED_SVCGSSD
148 variable in /etc/default/nfs-kernel-server.
151 2004-11-22 NeilBrown <neilb@cse.unsw.edu.au>
153 * utils/exportfs/nfsd.man: corrected typo in .BR macro usage -
154 reported by Eric Raymond
156 2004-10-19 "J. Bruce Fields" <bfields@fieldses.org>
158 * support/gssapi/* support/rpc/* utils/gssd/* utils/svcgssd/* etc
159 initial support for GSSAPI authentication
161 2004-09-15 Neil Brown <neilb@cse.unsw.edu.au>
163 * utils/statd/monitor.c(sm_unmon_1_svc): is RESTRICTED_STATD, then
164 check IP address and force my_name to 127.0.0.1 to match
165 what happens in sm_mon_1_svc. This avoid spurious "erroneous
167 * utils/statd.monitor.c(sm_unmon_all_1_svc): likewise
169 2004-09-15 "J. Bruce Fields" <bfields@fieldses.org>
171 * Assorted changes to support "gss/*" style authentication
172 * utils/idmapd: new idmapd daemon for nfsv4 username lookup
174 2004-09-06 Trond Myklebust <trond.myklebust@fys.uio.no>
175 Neil Brown <neilb@cse.unsw.edu.au>
177 * utils/mountd/auth.c(auth_authenticate_internal): fix
178 uninitialsed variable problem (causes bad error messages).
180 2004-09-06 Paul Clements <paul.clements@steeleye.com>
181 Neil Brown <neilb@cse.unsw.edu.au>
183 * utils/mountd/mountd.c(main): support --ha-callout (-H) for
184 specifying a callout program
185 * utils/mountd/rmtab.c: Call ha_callout on mount/unmount
186 * utils/statd/monitor.c: Call ha_callout on add/del client
187 * utils/statd/rmtcall.c: as above
188 * utils/statd/statd.c: handle --ha-callout (-H)
189 * utils/statd/svc_run.c: call notify_hosts is we have received a
191 * support/include/ha-callout.h: define ha_callout function
194 2004-08-31 NeilBrown <neilb@cse.unsw.edu.au>
195 * utils/mountd/cache.c(cache_process_req): clear fd after
196 processing so as not to confused libc/sunrpc into thinking
197 it need to do something with that fd.
199 2004-08-31 NeilBrown <neilb@cse.unsw.edu.au>
201 * debian/nfs-kernel-server.init(start,stop) mount the nfsd
202 filesystem, if available, before starting nfs services, and
203 unmount it afterwards.
204 * etc/nodist/nfs-server: ditto
205 * etc/redhat/nfs.init: likewise
206 * etc/redhat/nfs: add "MOUNT_NFSD" flag to control above.
208 2004-06-08 NeilBrown <neilb@cse.unsw.edu.au>
210 * utils/exportfs/exportfs.c: Don't rmtab_read if new_cache, it
212 * support/nfs/cacheio.c(cache_flush): Change order in which caches
213 are flushed so that dependancies don't keep things in the cache
216 2004-03-18 Chip Salzenberg <chip@pobox.com>
218 * debian/changelog: Version 1.0.6-2.
220 2004-02-24 NeilBrown <neilb@cse.unsw.edu.au>
221 from "J. Bruce Fields" <bfields@fieldses.org>
223 * utils/mountd/cache.c: call auth_reload to make sure auth data is
224 current before responding to kernel upcall.
226 2004-02-24 NeilBrown <neilb@cse.unsw.edu.au>
227 Based on patch from Greg Banks <gnb@melbourne.sgi.com>
229 * utils/exportfs/exports.man: Document fsid= option.
231 2003-09-15 NeilBrown <neilb@cse.unsw.edu.au>
235 * rules.mk: Add dep: rule when no OBJS, so "make dep" works in
236 support/include, and depend in "predep"
237 * support/export/Makefile, tools/rpcgen/Makefile,
238 utils/statd/Makefile: add "predep" rule so that "make dep" works.
239 * Makefile: allow a simple "make" to run ./configure and "make dep"
241 * configure.in, nfs-utils.spec: Update version to 1.0.6
244 2003-09-12 Chip Salzenberg <chip@pobox.com>
246 * debian/changelog: Version 1.0.6-1.
248 2003-09-12 NeilBrown <neilb@cse.unsw.edu.au>
250 * utils/mountd/mountd.c(main): Impose FD_SETSIZE as an upper limit
252 * utils/statd/statd.c(main): Ditto.
254 michael <michael@newdream.net> discovered that svc_setreqsize
255 in glibc can segfault if RLIMIT_NOFILE is bigger than
256 FD_SETSIZE, so a simple solution is to impose a hard limit.
258 2003-09-09 Chip Salzenberg <chip@pobox.com>
260 * debian/changelog: Version 1.0.5-3.
261 * support/export/hostname.c (get_reliable_hostbyaddr): Fix crash
262 on invalid reverse DNS.
263 * utils/showmount/showmount.c (main): Fix inet_ntoa() parameter.
264 * tools/rpcgen/rpc_cout.c (print_header): Remove unused vars.
265 * tools/rpcgen/rpc_parse.c (def_union): Likewise.
267 2003-08-22 Chip Salzenberg <chip@pobox.com>
269 * utils/statd/{log.h,log.c}: Rename log() to note() and L_* to
270 N_*, to avoid conflict with ISO C built-in log() function.
271 * utils/statd/*.c: Use note().
273 2003-08-20 Chip Salzenberg <chip@pobox.com>
275 * debian/changelog: Version 1.0.5-2.
277 2003-08-11 NeilBrown <neilb@cse.unsw.edu.au>
279 * utils/mountd/cache.c(cache_get_filehandle): close the filehandle
282 2003-08-04 NeilBrown <neilb@cse.unsw.edu.au>
284 * support/include/nfs/export.h, support/nfs/exports.c,
285 utils/exportfs/exports.c, utils/mountd/mountd.c: change
286 NFSEXP_CROSSMNT to NFSEXP_CROSSMOUNT to avoid confusion with older
287 meaning. Also remove meaningless
288 NFSEXP_{UIDMAP,KERBEROS,SUNSECURE}
290 2003-08-04 NeilBrown <neilb@cse.unsw.edu.au>
292 * support/export/xtab.c, support/include/nfslib.h,
293 support/nfs/cacheio.c, support/nfs/nfssvc.c,
294 utils/exportfs/exportfs.c, utils/exportfs/exportfs.man,
295 utils/exportfs/nfsd.man, utils/mountd/cache.c: support
296 /proc/fs/nfsd/* as a perferred alternate to /proc/fs/nfs/*
297 (nfs-utils-1.0.5-post2)
299 2003-08-04 NeilBrown <neilb@cse.unsw.edu.au>
301 * support/nfs/nfsexport.c: open channel file O_WRONLY when
303 * utils/mountd/cache.c: maintain mountlist when new_cache is
304 active. Also use O_WRONLY for channel files.
305 * utils/mountd/mountd.h: mountlist_{del,add} now take a host name
306 rather than an nfs_export.
307 * utils/mountd/rmtab.c: ditto.
308 (nfs-utils-1.5.0-post1)
310 2003-07-24 Chip Salzenberg <chip@pobox.com>
312 * support/nfs/xlog.c (xlog): Revise buffer-overflow fix to
313 use Debian security team's cleaner approach.
314 * debian/changelog: Version 1.0.5-1.
315 * debian/nfs-kernel-server.init: Cosmetic changes.
317 2003-07-18 NeilBrown <neilb@cse.unsw.edu.au>
320 1.0.4 was a bit of a brown-paper-bag-release because of the extra
321 'free' in auth.c. So I'm releasing this just a few days later.
323 * support/nfs/cacheio.c(cache_flush): Correct test for 'open
325 * utils/exportfs/exportfs.c(main): If "-f" given as lone option,
326 check if new_cache is enabled, error if not, flush and exit if it
328 * utils/exportfs/exportfs.man: Explain -f option and explain the
329 two different modes that exportfs can work in.
330 * utils/mountd/mountd.c: Do not change RLIMIT_NOFILE if the -o
332 * utils/mountd/mountd.man: Record the change if default behaviour
334 * configure.in, nfs-utils.spec: update version to 1.0.5 and
337 2003-07-15 NeilBrown <neilb@cse.unsw.edu.au>
339 * utils/mountd/mountd.c(main): getopt string fix for 'o'
340 * utils/mountd/auth.c(auth_authenticate): remove extra 'free'
341 * utils/exportfs/exportfs.c(main): make 'exportfs -f' just flush
343 * support/include/nfs/export.h: Reserve a bit for possible ACL
346 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
348 * utils/exportfs/nfsd.man: new man page for nfsd filesystem. Also
349 assorted changed to cope with section 7 of the manual.
350 * configure.in, nfs-utils.spec: Update version to 1.0.4
353 This is a 'pre-release' for 1.1.0 Hopefully 1.1.0 will be the
354 baseline for 2.6 and 2.8. I.e. it should continue to work right
355 through the 2.8 (or 3.0) kernel series. Previous releases wont.
357 2003-07-04 NeilBrown <neilb@cse.unsw.edu.au>
358 Steve Dickson <SteveD@redhat.com>
361 * utils/statd/statd.c: create a pidfile with pid of statd, and
362 truncate it when statd exists.
363 * utils/statd/statd.c: drop privs by setuid to owner of SM_DIR,
364 and warn if this is root.
365 * utils/statd/statd.c: when statd forks, connect child to parent
366 with a pipe, and send a byte down the pipe once the child is
368 * Makefile: create and chown sm, sm.bak, state when "make install"
369 * configure.in: add --with-statduser= option which defaults to
370 "rpcuser" or "nobody"
371 * config.mk.in: pass "statduser" through to Makefile
373 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
375 * support/include/nfs/nfs.h: Make sure correct __kernel_dev_t is
376 used as the size was changed somewhere in 2.5.60-2.5.70. Without
377 this nfs-utils compiles against 2.6 headers will not work on a
380 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
382 * support/nfs/nfssvc.c(nfssvc): If /proc/fs/nfs/threads exists,
383 set number of threads by writing to there. This means it will
384 still work when the syscall interface goes away in 2.7.
386 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
387 fumihiko kakuma <kakmy@mvh.biglobe.ne.jp>
389 * utils/exportfs/exportfs.c(unexportfs): improve host comparison
390 so as to only export the wildcard exports that were asked for.
391 * support/export/export.c(export_allowed): changed to return the
392 nfs_export rather than a "struct exportent", as m_changed is
394 * support/export/rmtab.c(rmtab_read): modified to deal with
395 interface change for export_allowed(), and enhanced to preserve
396 m_changed flag when a wild-card export causes the creation of
397 a non-wildcard export.
399 2003-07-02 NeilBrown <neilb@cse.unsw.edu.au>
400 Steve Dickson <SteveD@redhat.com>
402 * utils/mountd/mountd.man: Add valid kinds of debugging.
403 * utils/mountd/mountd.c(main): ignore SIGPIPE
404 * utils/nfsstat/nfsstat.c: fine-tune printing of warning so
405 we don't get warnings about unavailable stats that weren't asked
408 2003-06-24 NeilBrown <neilb@cse.unsw.edu.au>
410 * support/nfs/nfsexport.c(exp_unexp): When unexporting filesystems
411 via /rpc/net/rpc/nfsd*/channel, set the expiry date to 1, not
412 'forever', so things disappear out of the cache rather than just
415 2003-06-16 "J. Bruce Fields" <bfields@fieldses.org>
417 * utils/mountd/cache.c(nfsd_fh): don't export the export_ent
420 2003-06-16 NeilBrown <neilb@cse.unsw.edu.au>
422 * debian/nfs-kernel-server.init,etc/nodist/nfs-server,
423 etc/redhat/nfs.init: when checking if V3 is supported, make sure
424 nfs server 'knows' about 127.0.0.1 first.
426 2003-06-10 Chip Salzenberg <chip@pobox.com>
428 * support/nfs/xlog.c (xlog): Fix off-by-one buffer overflow bug.
429 * debian/changelog: Version 1.0.3-2.
431 2003-05-30 Michael Griffith <grif@michaelgriffith.com>
432 NeilBrown <neilb@cse.unsw.edu.au>
434 utils/nfsstat/nfsstat.c(print_callstats): use unsigned
435 long long to avoid overflow when printing stats.
437 2003-05-30 NeilBrown <neilb@cse.unsw.edu.au>
439 * support/export/export.c, support/include/nfslib.h,
440 support/nfs/export.c, utils/exportfs/exportfs.c,
441 utils/mountd/mountd.c: new export option "mountpoint"
442 If no path is given, then the export point must be a
443 mount point, or it won't be exported. If a path is
444 given (e.g. mountpoint=/path) then that path must be
445 a mountpoint or the exportpoint won't be exported.
446 * utils/exportfs/exportfs.man: document mountpoint option.
447 * support/misc/mountpoint.c: New file with is_mountpoint()
448 to determine if something is a mountpoint.
450 2003-05-23 NeilBrown <neilb@cse.unsw.edu.au>
452 * utils/mountd/cache.c(cache_get_filehandle): take a separate path
453 argument as we might not be getting the filehandle for the
455 * utils/mountd/mountd.c(get_rootfh): pass real path when calling
456 cache_get_filehandle.
457 * utils/mountd/mountd.c(get_rootfh): check export point and
458 requested directory are on the same filesystem, and complain if
461 2003-05-22 NeilBrown <neilb@cse.unsw.edu.au>
463 * utils/mountd/auth.c(auth_authenticate_internal): make sure
464 portnumber is still checked when using new cache lookup.
466 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
468 * utils/exportfs/exportfs.c: Use check_new_cache and cache_flush
469 Don't actually talk to kernel when new cache is in effect, except
471 * utils/exportfs/exportfs.c: add -f option to fully flush cache.
472 * support/export/xtab.c: Only rename new xtab into place if it has
473 changed, thus preserving modify date for exportfs to use when
475 * support/nfs/cacheio.c: Add cache_flush
476 * support/export/xtab.c: Only rename new xtab into place if it has
477 changed, thus preserving modify date for exportfs to use when
480 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
482 * support/export/client.c: Add client_compose, client_member to
483 handle new composite client names
484 * support/include/exportfs.h: Declare above functions.
485 * utils/mountd/auth.c: use client_compose to determine calling
486 client if new cache is being used.
487 * utils/mountd/auth.c: call cache_export to export a filesystem if
488 new_cache, check if new cache is used, and call my_svc_run instead
490 * utils/mountd/svc_run.c: new file defining my_svc_run
491 * utils/mountd/cache.c: new file for handling cache upcalls.
492 * support/nfs/cacheio.c(check_new_cache): new function to check if
493 new cache should be used.
496 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
498 * support/include/nfs/export.h: New CROSSMNT distinct from NOHIDE
499 * support/nfs/exports.c: Make CROSSMNT distinct from NOHIDE
500 * utils/exportfs/exportfs.c(dump): ditto
502 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
504 * support/export/hostname.c(get_reliable_hostbyaddr): new function
505 to get host name from address with full checking of authenticity.
506 * support/include/misc.h: declare above function
507 * utils/mountd/auth.c(auth_authenticate_internal): remove all
508 logic for authenticating address.
509 * utils/mountd/auth.c(auth_authenticate): call new
510 get_reliable_hostbyaddr to to hostname lookup before calling _internal.
513 2003-03-30 NeilBrown <neilb@cse.unsw.edu.au>
515 * tools/rpcgen/rpc_main.c(find_cpp): removed
516 * tools/rpcgen/rpc_main.c(open_input): use execvp to find "cpp",
517 then try hard-coded paths.
519 2003-03-26 Chip Salzenberg <chip@pobox.com>
521 * debian/changelog: Version 1.0.3-1.
523 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
525 * utils/mountd/rmtab.c (slink_safe_rename): real_newpath should be
526 "const char*", not "char*".
528 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
530 * configure.in (VERSION): Set to "1.0.3".
531 * nfs-utils.spec: Likewise.
532 * configure: Regenerated.
534 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
536 * support/nfs/cacheio.c: New File - support for read/writing
537 to export cache in /proc/rpc/*/channel
538 * support/nfs/Makefile: compile cacheio.c
539 * support/include/nfslib.h: declare cacheio.c functions
540 * support/nfs/nfsexport.c: export and unexport through
541 /proc/rpc/*/channel if possible, as old syscall interface
542 may not survive into 2.6 on all architectures.
544 2003-02-19 NeilBrown <neilb@cse.unsw.edu.au>
545 Ben Leslie <benno@sesgroup.net>
547 * support/nfs/rpcmisc.c(rpc_init): change test for ignoring
548 "defport" from (__rpcfdtype == 0) to (__rpcpmstart==0). The
549 former would incorectly ignore defport if the application
550 explicitly set __rpcfdtype. The later is sufficient to avoid the
551 special handling in the case where stdin is an internet socket.
553 * utils/mountd/mountd.c(main): Add 'n' to option list in
554 getopt_long as this is a short form of --no-tcp which want being
557 2003-02-12 Chip Salzenberg <chip@pobox.com>
559 * debian/changelog: Version 1.0.2-2.
561 2002-11-27 Chip Salzenberg <chip@pobox.com>
563 * utils/mountd/rmtab.c (slink_safe_rename): Fix off-by-one buffer
564 overflow bug. Reformat per rest of source file.
566 2002-11-19 NeilBrown <neilb@cse.unsw.edu.au>
568 * utils/exportfs/exports.man: Correct notes about whether the wild
569 card characters match a period. They do.
571 2002-10-15 Juan Gomez <juang@us.ibm.com>
573 * utils/mountd/rmtab.c (slink_safe_rename): New. Support
575 (mountlist_add): Call slink_safe_rename instead of rename.
577 2002-10-11 H.J. Lu <hjl@lucon.org>
579 * support/include/exportfs.h (export_errno): New.
581 * support/nfs/exports.c: Include <errno.h>.
583 (getexportent): Set export_errno to EINVAL for bad option.
584 (parseopts): Likewise.
585 Report the location of the default sync/async option.
587 * utils/exportfs/exportfs.c (main): Initialize export_errno to
588 0. Return export_errno.
590 2002-10-11 Juan Gomez <gomez@cs.sjsu.edu>
591 NeilBrown <neilb@cse.unsw.edu.au>
593 utils/statd/statd.c(killer): don't pmap_unset if in notify_only mode
594 utils/statd/statd.c(main): don't pmap_unset if in notify_only mode
596 2002-09-16 Chip Salzenberg <chip@pobox.com>
598 * utils/rquotad/rquota_svc.c (main): Use int for value of getopt.
600 2002-09-15 Chip Salzenberg <chip@pobox.com>
602 * support/nfs/rpcmisc.c (rpc_init): Allow stdin to be a non-INET
603 socket, as occurs when run from sshd.
604 * debian/changelog: Version 1.0.2-1.
606 2002-09-12 H.J. Lu <hjl@lucon.org>
608 * support/nfs/svc_socket.c: Remove HAVE_SVCTCP_SOCKET and
611 2002-09-12 H.J. Lu <hjl@lucon.org>
613 * configure.in: Remove checking svctcp_socket and svcudp_socket.
614 * configure: Regenerated.
616 * support/include/config.h.in (HAVE_SVCTCP_SOCKET): Removed.
617 (HAVE_SVCUDP_SOCKET): Removed.
619 * support/include/nfslib.h: Undo the last change.
621 2002-09-12 H.J. Lu <hjl@lucon.org>
623 * support/include/nfslib.h (svctcp_socket): Protect it with
625 (svcudp_socket): Protect it with HAVE_SVCUDP_SOCKET.
627 2002-09-12 H.J. Lu <hjl@lucon.org>
629 * configure.in (VERSION): Set to "1.0.2".
630 * configure: Regenerated.
631 * nfs-utils.spec: Likewise.
633 2002-09-12 H.J. Lu <hjl@lucon.org>
635 * configure.in: Check svctcp_socket and svcudp_socket.
636 * configure: Regenerated.
638 * support/include/config.h.in (HAVE_SVCTCP_SOCKET): New.
639 (HAVE_SVCUDP_SOCKET): New.
641 * support/include/nfslib.h (svctcp_socket): New.
642 (svcudp_socket): New.
644 * support/nfs/Makefile (OBJS): Add svc_socket.o.
646 * support/nfs/svc_socket.c: New.
648 * support/nfs/rpcmisc.c (rpc_init): Call svctcp_socket and
649 svcudp_socket if port is unspecified.
651 * utils/nfsd/nfsd.c (main): Call getservbyname for port.
653 * utils/rquotad/rquota_svc.c: Include <nfslib.h>.
654 (killer): New. Signal handler to unregister.
655 (main): Use killer. Call svcudp_socket to get the default
658 2002-09-02 Juan Gomez <juang@us.ibm.com>
659 NeilBrown <neilb@cse.unsw.edu.au>
661 Add -N option to statd to run in notify-only mode.
663 * utils/statd/statd.h: uncomment MODE_NOTIFY_ONLY
664 * utils/statd/statd.man: document -N
665 * utils/statd/statd.c: enabled -N, largely exists but needed to be
666 uncommented and completed
668 2002-09-02 Juan Gomez <juang@us.ibm.com>
669 NeilBrown <neilb@cse.unsw.edu.au>
671 statd to have " -P directory" arg to use that directory instead
672 of /var/lib/nfs. This is useful for fail-over clusters.
674 * utils/statd/statd.h: define SM_DIR etc as var, not const.
675 * utils/statd/statd.c: define "-P" option to set SM_*
677 * utils/statd/monitor.c: sprintf to cope with SM_DIR not being
679 * utils/statd/notify.c: ditto.
680 * utils/statd/statd.man: document -P option.
682 2002-08-26 Chip Salzenberg <chip@pobox.com>
684 * utils/nfsd/nfsd.man: Fix typo.
685 * debian/changelog: Version 1.0.1-1.
687 2002-05-29 NeilBrown <neilb@cse.unsw.edu.au>
689 * let parseopts know if /etc/exports was being read or not,
690 and have it only print "no sync or async" warning in that case.
692 2002-05-06 Tom McNeal <trmcneal@attbi.com>
693 NeilBrown <neilb@cse.unsw.edu.au>
695 * utils/nfsstat/nfsstat.c: Handle differing format for
696 /proc/net/rpc/nfsd between pre and post 2.4.0
698 2002-04-09 NeilBrown <neilb@cse.unsw.edu.au>
699 James Pearson <james-p@moving-picture.com>
701 * support/nfs/rmtab.c(fendrmtabent): sync changes to
702 storage before returning, as this is critical state
704 2002-04-08 Sean O'Connell <sean@ee.duke.edu>
705 H.J. Lu <hjl@lucon.org>
707 * etc/redhat/nfs: New.
709 2002-04-08 H.J. Lu <hjl@lucon.org>
711 * etc/redhat/nfs.init: Updated.
713 * nfs-utils.spec.in: Updated.
714 * nfs-utils.spec: Regenerated.
716 * utils/mountd/mountd.c (longopts): Fix a typo.
718 * utils/mountd/mountd.man: Updated.
720 2002-04-07 H.J. Lu <hjl@lucon.org>
722 * etc/redhat/nfslock.init (restart): Just do stop and start.
724 * etc/redhat/nfs.init: Fix a typo.
726 2002-04-07 H.J. Lu <hjl@lucon.org>
728 * configure.in (VERSION): Set to "1.0.1".
729 * configure: Regenerated.
730 * nfs-utils.spec: Likewise.
732 * README: Updated for 1.0.1.
734 2002-04-07 Sean O'Connell <sean@ee.duke.edu>
735 H.J. Lu <hjl@lucon.org>
737 * etc/redhat/nfs.init: Read /etc/sysconfig/nfsd for NFS tuning.
739 2002-02-28 Steven Whitehouse <steve@gw.chygwyn.com>
740 NeilBrown <neilb@cse.unsw.edu.au>
742 Add support for fsid=nn export option so that device
743 numbers don't go in filehandles.
744 * support/export/nfsctl.c(expsetup): if exporting and NFSEXP_FSID
745 is set, pass the fsid in-place of the device number
746 * support/nfs/exports.c: parse and print fsid= option.
747 Also check if efname has been set, and use "command line"
748 instead in error messages.
749 Also, use strtol instead of atoi for anon[ug]id= so that
750 bad numbers cause errors.
752 2002-01-17 Adrian Drzewiecki <drze@MissionCriticalLinux.com>
753 NeilBrown <neilb@cse.unsw.edu.au>
755 * support/nfs/exports.c: remove NFSEXP_ASYNC as a default
756 flag so that "sync" becomes the default.
757 Check that either "sync" or "async" is given as an option
758 and warn if neither are present
759 * utils/exportfs/exports.man: change documentation for "sync"
760 to be documentation for "async".
761 * utils/exportfs/exportfs.man: note that "sync" is the default
765 2002-01-02 Chip Salzenberg <chip@pobox.com>
767 * support/export/nfsctl.c (expsetup): Don't export entries that
768 specify id mappings not supported by the kernel. No extant kernel
769 supports any significant mapping, only 'identity' (i.e. none).
770 When other mappings are supported, this code will need changing.
771 * debian/changelog: Version 1.0-2.
773 2001-12-26 Chip Salzenberg <chip@pobox.com>
775 * nfs-utils.spec (Version): Set to "1.0".
776 * configure.in (VERSION): Likewise.
777 * configure: Regenerated.
779 * debian/changelog: Version 1.0-1.
781 * utils/exportfs/exports.man: Emphasize the need for options to
782 immediately follow client names. Explain that wildcards don't
783 usually work on addresses, but may work when reverse DNS fails.
784 Comment out a leftover TP that was TPing our indentation.
785 * utils/mountd/mountd.man, utils/rquotad/rquotad.man,
786 utils/statd/statd.man: Remove refs to non-existent "hosts_allow(5)".
787 * debian/changelog: Version 0.3.3-6.
789 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
791 * support/export/client.c(client_lookup): If a host has multiple
792 IP addresses, then we must always use the result of a
793 gethostbyname, not that of gethostbyaddr for exporting
795 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
797 * support/export/client.c (client_lookup): use strcasecmp when
799 * support/nfs/export.c (getexportent): add fromkernel arg and use
800 different defaults as kernels prior to 2.4.11 assume different
801 defaults in /proc/fs/nfs/exports
802 * support/include/nfslib.h, support/export/export.c,
803 support/export/xtab.c: support extra "fromkernel" arg for
806 2001-12-13 Chip Salzenberg <chip@pobox.com>
808 * debian/changelog: Version 0.3.3-5.
810 2001-11-26 TAKAI Kousuke <takai@vlsi.kuee.kyoto-u.ac.jp>
812 * support/nfs/xio.c (xskip): Call `xungetc' instead of
813 `ungetc' to keep x_line more properly.
815 2001-11-26 Chip Salzenberg <chip@pobox.com>
817 * utils/showmount/showmount.c (main): Don't assume that strings
818 starting with digits are IP addresses.
819 * utils/nfsd/nfsd.c (main): Close all fds and reopen 0,1,2 on
820 /dev/null before nfssvc(). Use syslog to report nfssvc errors.
821 * support/misc/tcpwrapper.c, utils/mountd/mountd.man,
822 utils/rquotad/rquotad.man, utils/statd/statd.man: Fix comments and
823 man pages: We check host names *and* addresses with tcpwrappers.
824 * debian/changelog: Version 0.3.3-4.
826 2001-11-21 Chip Salzenberg <chip@pobox.com>
828 * support/nfs/clients.c (cfname): Added: current clients file name.
829 (setnfsclntent): Set it.
830 ({get,end}nfsclntent, syntaxerr): Use it.
831 * support/nfs/exports.c (efname): Added: current exports file name.
832 (setnfsexportent): Set it.
833 (endnfsexportent, parseopts, getexport, syntaxerr): Use it.
834 (parseopts): Accept old-style "crossmnt" option, for old xtabs.
835 * debian/changelog: Version 0.3.3-3.
837 2001-10-11 Chip Salzenberg <chip@pobox.com>
839 * utils/mountd/mountd.c (main): Close fds > 2 _before_ RPC init.
840 * debian/changelog: Version 0.3.3-2.
842 2001-10-08 Chip Salzenberg <chip@pobox.com>
844 * utils/mountd/mountd.c (main): When daemonizing, close all fds > 2.
845 * utils/Makefile.in: Remove old Makefile in target 'distclean'.
846 * utils/mountd/mountd.man: Update paths to /var/lib.
847 * debian/*: Version 0.3.3-1, with Debian-specific fixes.
849 2001-10-06 Preston Brown <pbrown@redhat.com>
851 * utils/nfsstat/nfsstat.man: Updated.
853 2001-09-24 H.J. Lu <hjl@lucon.org>
855 * configure.in (VERSION): Set to "0.3.3".
856 * configure: Regenerated.
857 * nfs-utils.spec: Likewise.
859 * README: Updated for 0.3.3.
861 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
863 Arrange that "exportfs -au" never does DNS lookup:
865 * support/export/client.c (client_lookup) : add "canonical"
866 flag which says that the hostname is known to be canonical, so
869 * support/export/export.c (export_create) : add "canonical"
870 flag to be passed down to client_lookup
871 * support/export/export.c (export_lookup) : Likewise
873 * support/export/xtab.c (xtab_read) : pass appropriate
874 "canonical" flag to export_lookup and export_create:
875 set if reading list of filesystems currently exports
878 * support/export/export.c (export_read) : pass 0 as
879 "canonical" flag to export_lookup and export_create
880 * support/export/rmtab.s (rmtab_read) : Likewise
882 * support/include/exportfs.h : redeclare various routines
883 to have "canonical" flag
885 * utils/exportfs/exportfs.c (main) : redo logic for
886 "-au" to read in what is currently exported, but never even
887 look at what "should" be exported.
889 * utils/exportfs/exportfs.c (unexportall) : remove this
890 routine. Functionality is completely included in
893 * utils/exportfs/exportfs.c (exportfs) : set "canonical"
894 flag to zero in calls to export_lookup and export_create.
897 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
898 Anne Milicia <milicia@missioncriticallinux.com>
900 * support/export/client.c (client_lookup) call gethostbyadd
901 to make sure that we have a canonical hostname, even for
903 * utils/exportfs/exportfs.c (exportfs) Likewise
905 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
907 * support/nfs/exports.c (putexportent): \octal quote any spaces
909 * support/nfs/xio.c (xgettok): recognise double-quote and
910 \octal quoting in path names
911 * utils/exportfs/exports.man: document quoting conventions
914 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
916 * utils/mountd/auth.c (auth_authenticate_internal): Reverse
917 change from 2000-08-02: It causes problems if someone exports
918 to both a hostname and IP addresses. nfs-utils must be
919 consistant about the canonical name that it chooses.
921 2001-08-17 Ragnar Kjørstad <nfs@ragnark.vestdata.no>
922 H.J. Lu <hjl@lucon.org>
924 * etc/redhat/nfslock.init (STATDARG): New. Pass it to rpc.statd.
926 * utils/statd/statd.c (longopts): Add "name".
927 (usage): Add "-n/--name".
928 (main): Set MY_NAME with "-n/--name".
930 * utils/statd/state.c (change_state): Set MY_NAME only if it
933 * utils/statd/statd.man: Updated for "-n/--name".
935 2001-07-26 H.J. Lu <hjl@lucon.org>
937 * nfs-utils.spec (Release): Set to 8.
939 2001-07-25 H.J. Lu <hjl@lucon.org>
941 * etc/redhat/nfs.init: Check if rpc.rquotad exists before doing
944 2001-06-27 H.J. Lu <hjl@lucon.org>
946 * etc/redhat/nfs.init: Run rpc.rquotad only if it exists.
948 2001-06-27 H.J. Lu <hjl@lucon.org>
950 * utils/rquotad/rquota_server.c: Don't call statfs () for
951 the block size. Use BLOCK_SIZE instead.
953 2001-06-27 H.J. Lu <hjl@lucon.org>
955 * config.mk.in (CC_FOR_BUILD): Renamed from BUILD_CC.
956 (CFLAGS_FOR_BUILD): New. Don't use @CFLAGS@.
958 * configure.in (enable_nfsv3): Set to yes by default.
959 (--enable-rquotad): Added
960 (AC_PROG_CXX): Removed.
961 (AC_OUTPUT): Add utils/Makefile.
962 (CC_FOR_BUILD): Renamed from BUILD_CC.
963 * configure: Regenerated.
965 * utils/Makefile: Removed.
967 * utils/Makefile.in: New.
969 * nfs-utils.spec.in (rquotad): New. Set to 0 to disable
971 (CC_FOR_BUILD): Renamed from BUILD_CC.
972 * nfs-utils.spec: Regenerated.
974 2001-06-15 Chip Salzenberg <chip@debian.org>
976 * debian/changelog: Version 0.3.2-2.
977 * debian/*.init: Minor fixes.
979 2001-06-07 Lon H. Hohberger <hohberger@missioncriticallinux.com>
981 * etc/nodist/nfs-server: Fixed a bug where the script would
982 disable mounts from NFSv3 clients if NFSv3 is present.
984 2001-06-05 H.J. Lu <hjl@lucon.org>
986 * utils/mountd/mountd.c (longopts): Add "descriptors/o".
987 (main): Support --descriptors/-o to set the limit of the number
988 of open file descriptors.
991 * utils/mountd/mountd.man: Updated for --descriptors/-o.
993 2001-06-04 H.J. Lu <hjl@lucon.org>
995 * nfs-utils.spec (Release): Set to 6.
997 2001-05-28 H.J. Lu <hjl@lucon.org>
999 * utils/lockd/lockd.c (main): chdir to NFS_STATEDIR.
1000 * utils/mountd/mountd.c (main): Likewise.
1001 * utils/nfsd/nfsd.c (main): Likewise.
1002 * utils/rquotad/rquota_svc.c (main): Likewise.
1004 2001-05-06 Anne Milicia <milicia@missioncriticallinux.com>
1006 * support/export/client.c (client_check): Check IP address
1009 2001-05-06 Neil Brown <neilb@cse.unsw.edu.au>
1011 * support/export/client.c (client_gettype): Treat `*' as
1014 2001-04-22 H.J. Lu <hjl@lucon.org>
1016 * nfs-utils.spec.in: Fix a typo.
1017 * nfs-utils.spec: Regenerated.
1019 2001-04-21 H.J. Lu <hjl@lucon.org>
1021 * nfs-utils.spec.in: Fix cross build.
1022 * nfs-utils.spec: Regenerated.
1023 (Release): Set to 5.
1025 2001-04-18 H.J. Lu <hjl@lucon.org>
1027 * nfs-utils.spec.in: Support cross build.
1028 * nfs-utils.spec: Regenerated.
1029 (Release): Set to 4.
1032 * config.guess: New.
1034 * config.mk.in (BUILD_CC): New.
1035 (CC): Set to $(BUILD_CC) if BUILD is defined.
1038 (RANLIB): Set to @RANLIB@.
1040 * configure.in: Check BUILD_CC, RANLIB, AR and LD.
1041 * configure: Regenerated.
1043 * tools/rpcgen/Makefile (BUILD): Set to true.
1045 2001-04-01 Chip Salzenberg <chip@valinux.com>
1047 * tools/rpcgen/rpc_svcout.c (write_timeout_func): Remove
1048 redundant, and sometimes broken, declaration of svc_fdset;
1050 * support/nfs/rpcmisc.c (closedown): Likewise.
1052 2001-03-21 H.J. Lu <hjl@lucon.org>
1054 * nfs-utils.spec: Regenerated.
1055 (Release): Set to 3.
1057 2001-03-21 Ion Badulescu <ionut@cs.columbia.edu>
1059 * utils/statd/statd.c (main): make sure file descriptors 0-2
1060 are open to /dev/null.
1062 2001-03-21 H.J. Lu <hjl@lucon.org>
1064 * support/nfs/rpcmisc.c: Restore the change made on 2001-03-10.
1065 * support/nfs/rpcmisc.c: Likewise.
1066 * utils/rquotad/rquota_svc.c: Likewise.
1067 * utils/rquotad/rquotad.man: Likewise.
1068 * utils/statd/Makefile: Likewise.
1069 * utils/statd/rmtcall.c: Likewise.
1070 * utils/statd/simulate.c: Likewise.
1071 * utils/statd/statd.c: Likewise.
1072 * utils/statd/statd.man: Likewise.
1074 2001-03-11 H.J. Lu <hjl@lucon.org>
1076 * configure.in (RELEASE): New. Default to 1, set by
1077 --with-release=XXX. Substitute nfs-utils.spec.
1078 * nfs-utils.spec.in (Release): Set to @RELEASE@.
1079 * configure: Regenerated.
1080 * nfs-utils.spec: Likewise.
1082 2001-03-11 H.J. Lu <hjl@lucon.org>
1084 * utils/rquotad/rquotad.man: Fix a typo.
1086 2001-03-11 H.J. Lu <hjl@lucon.org>
1088 * support/include/rpcmisc.h: Undo the change made on 2001-03-10.
1089 * support/nfs/rpcmisc.c: Likewise.
1090 * utils/rquotad/rquota_svc.c: Likewise.
1091 * utils/rquotad/rquotad.man: Likewise.
1092 * utils/statd/Makefile: Likewise.
1093 * utils/statd/rmtcall.c: Likewise.
1094 * utils/statd/simulate.c: Likewise.
1095 * utils/statd/statd.c: Likewise.
1096 * utils/statd/statd.man: Likewise.
1098 2001-03-10 H.J. Lu <hjl@lucon.org>
1100 * configure.in (VERSION): Set to "0.3.2".
1101 * configure: Regenerated.
1102 * nfs-utils.spec: Likewise.
1104 * README: Updated for 0.3.2.
1106 2001-03-10 Tavis Barr <tavis@boole.isetr.columbia.edu>
1108 * utils/rquotad/rquotad.man: Updated for -p.
1109 * utils/statd/statd.man: Likewise.
1111 2001-03-10 Ion Badulescu <ionut@cs.columbia.edu>
1113 * support/nfs/rpcmisc.c: export makesock()
1115 * support/include/rpcmisc.h (makesock): Declared.
1117 * utils/rquotad/rquota_svc.c: added longopts, added support for
1118 specifying the port to bind to on the command line.
1120 * utils/statd/statd.c: ditto, also specify port used for
1121 outgoing connections.
1122 (do_regist): Removed.
1124 * utils/statd/rmtcall.c (statd_get_socket): Renamed from
1125 get_socket. Make it extern.
1127 * utils/statd/simulate.c (daemon_simulator): Call rpc_init
1128 instead of do_regist.
1130 * utils/statd/Makefile (LIBS): link with our own libnfs
1132 2001-03-09 H.J. Lu <hjl@lucon.org>
1134 * etc/redhat/nfslock.init: Changed chkconfig line to 60 86.
1135 * etc/nodist/nfs-client: Likewise.
1137 2001-02-26 Chip Salzenberg <chip@valinux.com>
1139 * debian/changelog: Version 0.3.1-1.
1140 * Mention upstream source and license in copyright file.
1141 * Add build-Depends for debhelper and libwrap0-dev.
1143 2001-02-20 Lon Hohberger <hohberger@missioncriticallinux.com>
1145 * etc/nodist/nfs-server: Changed chkconfig line to 60 20
1146 * etc/nodist/nfs-client: Likewise.
1148 2001-02-18 Lon Hohberger <hohberger@missioncriticallinux.com>
1150 * utils/statd/statd.man: Changed /usr/sbin/rpc.statd to
1153 2001-02-17 Patrick J. LoPresti <patl@curl.com>
1155 * utils/statd/log.c (log_init): Use LOG_DAEMON instead of
1158 2001-02-14 H.J. Lu <hjl@lucon.org>
1160 * utils/statd/rmtcall.c: Include <time.h>.
1161 * utils/statd/svc_run.c: Likewise.
1163 2001-02-14 H.J. Lu <hjl@lucon.org>
1165 * configure.in (VERSION): Set to "0.3.1".
1166 * configure: Regenerated.
1167 * nfs-utils.spec: Likewise.
1169 * README: Updated for 0.3.1.
1171 2001-02-14 H.J. Lu <hjl@lucon.org>
1173 * support/nfs/rpcmisc.c: Include <time.h>.
1175 2001-02-14 Chip Salzenberg <chip@valinux.com>
1177 * debian/control: Change priority of nhfsstone package to 'extra'.
1179 2001-02-12 Chip Salzenberg <chip@valinux.com>
1181 * debian/changelog: Version 0.3-2.
1183 2001-02-02 H.J. Lu <hjl@lucon.org>
1185 * support/include/rpcmisc.h (rpc_init): Remove bufsize.
1187 * support/nfs/rpcmisc.c (makesock): Remove socksz and comment
1188 out SO_SNDBUF/SO_RCVBUF.
1189 (rpc_init): Remove bufsize and remove socksz in calls to
1192 * utils/mountd/mountd.c (main): Remove bufsize in calls to
1195 2001-01-28 Chip Salzenberg <chip@valinux.com>
1197 * debian/changelog: Version 0.3-1.
1199 2001-01-25 H.J. Lu <hjl@lucon.org>
1201 * configure.in (VERSION): Set to "0.3".
1202 * configure: Regenerated.
1203 * nfs-utils.spec: Likewise.
1205 * README: Updated for 0.3.
1207 2001-01-25 H.J. Lu <hjl@lucon.org>
1209 * utils/lockd/lockd.c (main): Ignore errno == EINVAL.
1211 2001-01-20 Chip Salzenberg <chip@valinux.com>
1213 * support/include/xio.h (xgetc): Declare to return int.
1214 * support/nfs/xio.c (xgetc): Return int.
1215 (xgettok, xskip, xskipcomment): Use int for value of xgetc.
1216 * utils/statd/statd.c (main): Use int for value of getopt.
1217 * debian/changelog: Version 0.2.1-5.
1219 2000-12-10 Chip Salzenberg <chip@valinux.com>
1221 * utils/statd/monitor.c (sm_mon_1_svc): Fix buggy check for
1222 program and procedure numbers of kernel lockd's callback. Also,
1223 besides the old (and broken) procedure #24, allow #16 per Trond.
1225 2000-12-03 Chip Salzenberg <chip@valinux.com>
1227 * support/nfs/xio.c (xfopen): Initialize x_line to one, not zero.
1228 * debian/control: Let nhfsstone replace files in nfs-kernel-server.
1229 * debian/changelog: Version 0.2.1-4.
1231 2000-11-27 Tobias Ringstrom <tori@tellus.mine.nu>
1233 * utils/mountd/auth.c (auth_authenticate): Log the bad path
1236 2000-11-24 Neil Brown <neilb@cse.unsw.edu.au>
1238 * support/nfs/exports.c (getexportent): Check for host name
1239 without option, or options without hostname, and print a warning,
1240 as this is most likely a typo.
1242 2000-11-19 Chip Salzenberg <chip@valinux.com>
1244 * debian/control: Add dependency on portmap.
1245 * debian/changelog: Version 0.2.1-3.
1247 2000-11-10 H.J. Lu <hjl@lucon.org>
1249 * nfs-utils.spec.in: Don't use libtool.
1250 Add ChangeLog and COPYING to doc.
1251 * nfs-utils.spec: Rebuild.
1253 2000-11-09 H.J. Lu <hjl@lucon.org>
1255 * etc/redhat/nfs.init (start): Back out the last change.
1257 2000-11-09 H.J. Lu <hjl@lucon.org>
1259 * etc/redhat/nfs.init (start): Pass --no-tcp to mountd if
1260 TCP is not supported by kernel.
1262 * support/nfs/rpcmisc.c (rpc_init): Don't set _rpcfdtype to 0.
1264 * utils/mountd/mountd.c (longopts): Add "-n/--no-tcp".
1265 (main): Set to _rpcfdtype to SOCK_DGRAM for "-n/--no-tcp".
1267 * utils/mountd/mountd.man: Updated for "-n/--no-tcp".
1269 2000-10-24 Lon Hohberger <hohberger@missioncriticallinux.com>
1271 * utils/statd/callback.c: Fix bug preventing callbacks to local lockd.
1272 * utils/statd/rmtcall.c: Add some IP address paranoia when doing
1273 callbacks to local lockd.
1275 2000-10-18 Scott McDermott <mcdermot@questra.com>
1277 * utils/exportfs/exports.man: Updated for CIDR netmask.
1279 2000-10-17 Scott McDermott <mcdermot@questra.com>
1281 * support/export/client.c (client_init): Support CIDR netmask
1284 2000-10-11 H.J. Lu <hjl@lucon.org>
1286 * aclocal.m4 (AC_TCP_WRAPPER): Fix a typo.
1287 * configure: Rebuilt.
1289 2000-10-06 Lon Hohberger <hohberger@missioncriticallinux.com>
1291 * utils/statd/statd.man: Change "/var/lib/nfs/sm/state" to
1292 "/var/lib/nfs/state".
1294 2000-10-05 Lon Hohberger <hohberger@missioncriticallinux.com>
1296 * utils/statd/statd.h (run_mode): New global bitmask of runtime
1297 behaviors: fg/bg, logging, etc.
1298 * utils/statd/statd.c: New command line options: -V -h -? -d .
1299 * utils/statd/statd.man: Update for changes to statd.
1301 * utils/statd/log.h (log_init): Remove parameter of function; use
1302 global variable "name_p" instead.
1303 * utils/statd/log.c: Add support for logging to stderr.
1305 * utils/statd/notlist.c: Partially rewrite notify list handling
1306 functions. Eliminate run-off-end-of-list bug when calling
1307 nlist_insert_timer. Add lots of comments.
1309 2000-09-27 H.J. Lu <hjl@lucon.org>
1311 * README: Updated for RedHat 7.0.
1313 2000-09-27 H.J. Lu <hjl@lucon.org>
1315 * nfs-utils.spec: Rebuild.
1317 2000-09-27 H.J. Lu <hjl@lucon.org>
1319 * README: Updated for 0.2.1.
1321 2000-09-27 H.J. Lu <hjl@lucon.org>
1323 * nfs-utils.spec.in: Updated to use rpm macros and support
1326 2000-09-25 H.J. Lu <hjl@lucon.org>
1328 * configure.in (VERSION): Set to "0.2.1".
1329 * configure: Regenerated.
1330 * nfs-utils.spec: Updated.
1332 2000-09-25 H.J. Lu <hjl@lucon.org>
1334 * utils/mountd/auth.c (auth_authenticate_internal): Make sure a
1335 non-NULL hostent is always returned.
1337 2000-09-11 Ion Badulescu <ionut@cs.columbia.edu>
1339 * etc/redhat/nfslock.init: don't kill lockd processes that do not
1340 have an executable (i.e. kernel threads)
1342 2000-09-01 H.J. Lu <hjl@lucon.org>
1344 * README: Updated for 0.2.
1346 2000-09-01 Jay Weber <jweber@valinux.com>
1348 * etc/redhat/nfs.init: Added ability for rpc.mountd to default to
1349 supporting version 3 of nfs if available, else it will fall back to
1350 version 2 support only.
1352 2000-08-30 H.J. Lu <hjl@lucon.org>
1354 * configure.in (VERSION): Set to "0.2".
1355 * configure: Regenerated.
1356 * nfs-utils.spec: Updated.
1358 2000-08-25 H.J. Lu <hjl@lucon.org>
1360 * support/misc/tcpwrapper.c (logit): Modify the log output.
1362 2000-08-25 Ion Badulescu <ionut@cs.columbia.edu>
1364 * utils/rquotad/rquotad.man, utils/statd/statd.man,
1365 utils/mountd/mountd.man: updated
1367 * utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL)
1368 * utils/rquotad/Makefile: fix comment
1370 * support/misc/tcpwrapper.c (logit): added comment about waiting
1371 for the children after fork()
1373 * utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving
1374 zombies behind (from logit()'s fork)
1375 * utils/rquotad/rquota_svc.c (main): ditto
1376 * utils/statd/statd.c (main): ditto
1378 * utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG
1379 to check_default instead of 0, for prognum
1381 * utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG
1382 to check_default instead of 0, for prognum
1384 * utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if
1385 HAVE_TCP_WRAPPER is defined.
1386 (mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is
1387 defined. Reject an RPC call if check_default () fails.
1389 2000-08-25 H.J. Lu <hjl@lucon.org>
1391 * support/include/tcpwrapper.h: New for the tcp wrapper
1393 * support/misc/Makefile: Likewise.
1394 * support/misc/from_local.c: Likewise.
1395 * support/misc/tcpwrapper.c: Likewise.
1397 * aclocal.m4 (AC_TCP_WRAPPER): New.
1398 * configure.in: Use it. Substitute LIBWRAP.
1399 * configure: Rebuilt.
1401 * config.mk.in (LIBNSL): New.
1402 (LIBWRAP): Likewise.
1404 * support/Makefile (SUBDIRS): Add misc.
1406 * support/lib/Makefile (LIBS): Add libmisc.a.
1408 * utils/rquotad/Makefile (LIBS): Add
1410 -lmisc $(LIBWRAP) $(LIBNSL)
1412 * utils/statd/Makefile (LIBS): Likewise.
1414 * utils/rquotad/rquota_svc.c: Include "tcpwrapper.h" if
1415 HAVE_TCP_WRAPPER is defined.
1416 (rquotaprog_1): Call check_default () if HAVE_TCP_WRAPPER is
1417 defined. Reject an RPC call if check_default () fails.
1419 * utils/statd/statd.c: Include "tcpwrapper.h" if
1420 HAVE_TCP_WRAPPER is defined.
1421 (sm_prog_1_wrapper): New. A wrapper for sm_prog_1. Call
1422 check_default () before calling sm_prog_1 (). Define it as
1423 sm_prog_1_wrapper if HAVE_TCP_WRAPPER is defined.
1425 2000-08-25 Chip Salzenberg <chip@valinux.com>
1427 * debian/*: Complete Debian build support.
1428 * etc/debian/*: Remove.
1430 2000-08-24 Neil Brown <neilb@cse.unsw.edu.au>
1432 * support/export/client.c(client_check): removed the "dot+1" as a
1433 ypdomain argument to innetgr as this is entirely bogus.
1434 It should always be NULL.
1436 2000-08-23 Neil Brown <neilb@cse.unsw.edu.au>
1438 * support/export/xtab.c(xtab_read): introduce new mode for
1439 reading xtab. i.e. a list of exports that might be known to the
1440 kernel, or might not. These are flagged as m_exported == -1
1441 * support/export/xtab.c(xtab_mount_read): call xtab_read with new
1442 value "2" for xtab, meaning don't trust this too much.
1443 * support/include/exportfs.h(struct mexport): changed m_exported
1444 from one bit to an int so that it can hold new value
1445 * utils/exportfs/exportfs.c(exportfs_ipdate): add an export to the
1446 kernel if it is uncertain whether the kernel knows (m_exported == -1)
1447 * utils/mountd/mountd.c(get_rootfh): similarly export to kernel if
1450 * support/nfs/xio.c(xflock): added O_CREAT when getting
1451 a write lock so that missing files aren't fatal.
1453 * etc/debian/nfs-common: new file from "potato"
1454 * etc/debian/nfs-kernel-server: new file from "potato" plus fixes.
1456 2000-08-09 H.J. Lu <hjl@lucon.org>
1458 * etc/redhat/nfs.init: Run /usr/sbin/exportfs first during
1459 startup to ensure all existing clients work fine.
1461 * support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0
1462 to xtab_read () for reading _PATH_XTAB.
1464 2000-08-02 H.J. Lu <hjl@lucon.org>
1466 * utils/mountd/auth.c (auth_authenticate_internal): Try to
1467 avoid the reverse name lookup.
1469 2000-07-04 H.J. Lu <hjl@lucon.org>
1471 * utils/statd/log.c: Include <stdlib.h> for exit ().
1473 * utils/statd/misc.c (xunlink): Add `{' and `}' to quiet the
1476 2000-07-04 H.J. Lu <hjl@lucon.org>
1478 * configure.in (VERSION): Set to "0.1.9.1".
1479 * configure: Regenerated.
1480 * nfs-utils.spec: Updated.
1484 2000-07-04 Neil Brown <neilb@cse.unsw.edu.au>
1486 * support/export/hostname.c (hostent_dup): Handle the NULL
1489 2000-07-03 H.J. Lu <hjl@lucon.org>
1491 * README: Update the util-linux requirement.
1493 2000-07-03 H.J. Lu <hjl@lucon.org>
1495 * configure.in (VERSION): Set to "0.1.9".
1496 * configure: Regenerated.
1497 * nfs-utils.spec: Updated.
1501 2000-07-03 H.J. Lu <hjl@lucon.org>
1503 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
1504 stop to ensure all clients can still access the server
1505 before it is shutdown.
1507 2000-06-30 Jeff Uphoff <juphoff@transmeta.com>
1509 * tools/rpcgen/rpc_svcout.c (write_msg_out): Generate syslog()
1510 calls with format string.
1512 2000-06-28 Chip Salzenberg <chip@valinux.com>
1514 * utils/statd/log.c (log): Call syslog with format string.
1516 2000-06-27 H.J. Lu <hjl@lucon.org>
1518 * utils/statd/statd.c (main): Use sysconf (_SC_OPEN_MAX)
1519 instead of OPEN_MAX.
1521 2000-06-27 H.J. Lu <hjl@lucon.org>
1525 2000-06-27 H.J. Lu <hjl@lucon.org>
1527 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
1528 startup to ensure all existing clients are exported.
1530 * configure.in (VERSION): Set to "0.1.8.2".
1531 * configure: Regenerated.
1532 * nfs-utils.spec: Updated.
1534 2000-06-06 H.J. Lu <hjl@lucon.org>
1536 * configure.in (VERSION): Set to "0.1.8.1".
1537 * configure: Regenerated.
1538 * nfs-utils.spec: Updated.
1540 2000-06-06 H.J. Lu <hjl@lucon.org>
1542 * utils/mountd/mountd.c (mount_dump_1_svc): Cast svc_getcaller
1543 to "struct sockaddr_in *" for glibc 2.2.
1544 (mount_umnt_1_svc): Likewise.
1545 (mount_umntall_1_svc): Likewise.
1546 (mount_export_1_svc): Likewise.
1547 (mount_exportall_1_svc): Likewise.
1548 (mount_pathconf_2_svc): Likewise.
1549 (get_rootfh): Likewise.
1551 2000-06-04 H.J. Lu <hjl@lucon.org>
1553 * etc/redhat/nfs.init: Fix a typo in comment.
1555 2000-05-31 H.J. Lu <hjl@lucon.org>
1557 * configure.in (VERSION): Set to "0.1.8".
1558 * configure: Regenerated.
1559 * nfs-utils.spec: Updated.
1563 2000-05-31 H.J. Lu <hjl@lucon.org>
1565 * configure.in (VERSION): Set to "0.1.7.5".
1566 * configure: Regenerated.
1567 * nfs-utils.spec: Updated.
1569 * support/include/nfslib.h (exportent): Add a new field,
1570 r_count, to count the number of mounts from a client.
1571 (getrmtabent): Take a new argument for position in file.
1572 (putrmtabent): Likewise.
1573 (fgetrmtabent): Likewise.
1574 (fputrmtabent): Likewise.
1575 * support/nfs/rmtab.c (getrmtabent): Handle the new argument
1576 for position in file.
1577 (fgetrmtabent): Likewise.
1578 (putrmtabent): Likewise.
1579 (fputrmtabent): Likewise.
1581 * support/nfs/rmtab.c (fgetrmtabent): Get value for the new
1584 * support/export/rmtab.c (rmtab_read): Pass NULL as the new
1585 argument to getrmtabent (), fgetrmtabent (), putrmtabent ()
1586 and fputrmtabent ().
1587 * utils/mountd/rmtab.c (mountlist_add): Likewise.
1588 (mountlist_del): Likewise.
1589 (mountlist_del_all): Likewise.
1590 (mountlist_list): Likewise.
1592 * utils/mountd/rmtab.c (mountlist_add): Increment "r_count"
1593 for the existing entry and initialize "r_count" to 1.
1594 (mountlist_del): Decrement "r_count".
1596 2000-05-18 H.J. Lu <hjl@lucon.org>
1598 * configure.in (VERSION): Set to "0.1.7.4".
1599 * configure: Regenerated.
1600 * nfs-utils.spec: Updated.
1602 2000-05-18 H.J. Lu <hjl@lucon.org>
1604 * etc/redhat/nfs.init (restart): Just do stop and start.
1606 2000-05-09 Jay Weber <jweber@valinux.com>
1608 * utils/rquotad/hasquota.c: added support for ext3 recognition
1610 * utils/rquotad/mntent.h: Likewise.
1612 2000-05-01 H.J. Lu <hjl@lucon.org>
1614 * configure.in (VERSION): Set to "0.1.7.3".
1615 * configure: Regenerated.
1616 * nfs-utils.spec: Updated.
1618 2000-05-01 H.J. Lu <hjl@lucon.org>
1620 * utils/rquotad/rquota_server.c (getquotainfo): Skip bad
1621 mounting poins in /etc/fstab.
1623 2000-05-01 H.J. Lu <hjl@lucon.org>
1625 * configure.in (VERSION): Set to "0.1.7.2".
1626 * configure: Regenerated.
1627 * nfs-utils.spec: Updated.
1629 2000-05-01 H.J. Lu <hjl@lucon.org>
1631 * utils/rquotad/rquota_server.c (getquotainfo): Call stat ()
1632 to check for the mounting point.
1634 2000-04-29 Chip Salzenberg <chip@valinux.com>
1635 Neil Brown <neilb@cse.unsw.edu.au>
1637 * Really re-use RPC ports.
1638 (Fixes earlier patch. Sorry, Neil.)
1640 2000-04-26 H.J. Lu <hjl@lucon.org>
1642 * configure.in (VERSION): Set to "0.1.7.1".
1643 * configure: Regenerated.
1644 * nfs-utils.spec: Updated.
1646 2000-04-26 H.J. Lu <hjl@lucon.org>
1648 * etc/redhat/nfslock.init: Check if lockd exits before killing
1651 2000-04-25 H.J. Lu <hjl@lucon.org>
1653 * README: Require util-linux-2.10f-mount-rpc.patch for mount.
1655 2000-03-21 Michael Weiser <michael@weiser.saale-net.de>
1657 * support/nfs/exports.c (parsesquash): Correctly set the
1660 Tue Mar 21 11:38:48 EST 2000 NeilBrown <neilb@cse.unsw.edu.au>
1662 * support/include/nfs/nfs.h: Removed knowledge of internals of
1663 kernel filehandles (which can change) and defined nfs_fh_size
1664 which has variable size
1666 * support/nfs/getfh.c: defined getfh_size to use new syscall to
1667 get variable sized file handles, and change getfh{,old} to
1670 * utils/mountd/mountd.c: use nfd_fh_size and call getfh_size for
1673 * tools/Makefile, tools/nlmtest/nlmtest.c
1674 nlmtest.c depended on internel format of file handles, so now
1678 2000-03-12 Chip Salzenberg <chip@valinux.com>
1679 Neil Brown <neilb@cse.unsw.edu.au>
1681 * support/nfs/rpcmisc.c (rpc_init): Share transports.
1683 2000-03-13 H.J. Lu <hjl@lucon.org>
1685 * etc/redhat/nfsd.init: Updated.
1687 * etc/redhat/nfslock.init: Updated.
1689 * nfs-utils.spec.in: Updated.
1691 * configure.in (VERSION): Set to "0.1.7".
1692 * configure: Regenerated.
1693 * nfs-utils.spec: Updated.
1697 Wed Mar 8 09:42:43 2000 Neil Brown <neilb@cse.unsw.edu.au>
1699 * utils/exportfs/exportfs.c (dump): Included printing of
1700 nohide, no_subtree_check, and insecure_locks
1702 2000-02-26 Chip Salzenberg <chip@valinux.com>
1704 * config.mk.in (INSTALLSUID): Strip ("-s").
1705 (INSTALLSCRIPT): Define.
1706 * utils/nhfsstone/Makefile: Use it.
1708 2000-02-26 Chip Salzenberg <chip@valinux.com>
1710 * utils/lockd/lockd.man: Create.
1711 * utils/lockd/Makefile: Install it.
1712 * utils/nhfsstone/nhfs{run,nums,graph}.man: Create.
1713 * utils/nhfsstone/nhfsstone.man: Change suffix from ".1".
1714 * utils/nhfsstone/Makefile: Install the helper scripts and
1716 * utils/exportfs/exports.man: Fix typo.
1718 2000-02-26 Chip Salzenberg <chip@valinux.com>
1720 * support/nfs/xio.c (xungetc): Decrement line number when
1721 character to unget is newline. Make first parameter int, so
1722 it can distinguish EOF from \377.
1723 * support/include/xio.h (xungetc): Adjust prototype.
1725 Fri Feb 4 23:42:23 2000 Neil Brown <neilb@cse.unsw.edu.au>
1727 * support/include/nfs/export.h: added NFSEXP_NOAUTHNLM
1728 * support/nfs/exports.c: added handling for NFSEXP_NOAUTHNLM
1729 * utils/exportfs/exports.man: added documentation for no_auth_nlm.
1731 This is for supporting a new option introduced in 2.3.42
1733 Thu Feb 3 14:55:48 2000 H.J. Lu <hjl@lucon.org>
1735 * COPYING: Added. GPL.
1737 Thu Feb 03 14:40:40 2000 Cristian Gafton <gafton@redhat.com>
1739 * utils/rquotad/rquota_server.c (getquotainfo): Call statfs ()
1740 to get the block size.
1742 Tue Jan 25 11:04:17 2000 H.J. Lu <hjl@lucon.org>
1744 * nfs-utils.spec.in: Update ftp site.
1746 Mon Jan 17 11:48:18 2000 H.J. Lu <hjl@lucon.org>
1748 * README: Update hostnames.
1750 Tue Jan 11 10:06:22 2000 H.J. Lu <hjl@lucon.org>
1752 * configure.in (VERSION): Set to "0.1.6".
1753 * configure: Regenerated.
1754 * nfs-utils.spec: Updated.
1758 Mon Jan 10 14:26:33 2000 H.J. Lu <hjl@lucon.org>
1760 * utils/mountd/auth.c (auth_authenticate_internal): Call
1761 xstrdup for hostname before passing it to gethostbyname.
1763 * utils/mountd/mountd.c (get_exportlist): Use xstrdup instead
1766 Sun Dec 19 09:35:01 1999 H.J. Lu <hjl@lucon.org>
1768 * README: Update the mailing list address.
1770 Sun Dec 19 09:22:28 1999 H.J. Lu <hjl@lucon.org>
1772 * configure.in (VERSION): Set to "0.1.5".
1773 * configure: Regenerated.
1774 * nfs-utils.spec: Updated.
1778 Mon Dec 13 13:40:20 1999 H.J. Lu <hjl@lucon.org>
1780 * utils/rquotad/hasquota.c (hasquota): Malloc one more char
1783 Mon Dec 6 09:42:45 1999 H.J. Lu <hjl@lucon.org>
1785 * configure.in (VERSION): Set to "0.1.4".
1786 * configure: Regenerated.
1787 * nfs-utils.spec: Updated.
1791 Mon Dec 6 09:28:07 1999 H.J. Lu <hjl@lucon.org>
1793 * nfs-utils.spec.in: New file.
1795 * config.mk.in (VERSION): Changed to "nfs-utils @VERSION@".
1797 * configure.in (nfs-utils.spec): Added to AC_OUTPUT.
1799 1999-12-04 Chip Salzenberg <chip@valinux.com>
1801 * config.mk.in: Use $(CC) as set by configure.
1803 1999-12-04 Chip Salzenberg <chip@valinux.com>
1805 * rules.mk: Call $(MAKE) with $(MFLAGS).
1807 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1809 * tools/rpcgen/rpc_main.c (h_output): Generate IXDR_GET_INT32,
1810 IXDR_PUT_INT32, IXDR_GET_U_INT32 and IXDR_PUT_U_INT32.
1812 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1814 * nfs-utils.spec (Version): Set to 0.1.3.
1816 * configure.in (VERSION): Set to "nfs-utils 0.1.3".
1817 * configure: Regenerated.
1821 Mon Nov 29 11:15:47 1999 H.J. Lu <hjl@lucon.org>
1823 * utils/rquotad/rquota_server.c (nfsmount_to_devname): Removed.
1824 (_PATH_DEV_DSK): Likewise.
1825 (getquotainfo): Match the mounting point from /etc/mtab
1826 instead of calling nfsmount_to_devname ().
1828 1999-11-24 Chip Salzenberg <chip@valinux.com>
1830 * utils/statd/monitor.c (sm_mon_1_svc): Accept lockd callbacks
1831 to the new port 24 as well as the historical port 100021.
1833 Tue Nov 23 10:21:34 1999 Neil Brown <neilb@cse.unsw.edu.au>
1835 * etc/redhat/nfsd.init (stop): moved exportfs -ua after
1836 stopping nfsd to stop spurious ESTALE on server shutdown.
1838 Tue Nov 23 10:13:39 1999 Neil Brown <neilb@cse.unsw.edu.au>
1840 * support/nfs/exports.c (parseopts): make copy of opt string
1841 before 'nul'ing out commas so that
1843 # exportfs -o option1,option2 hosta:/fs hostb:/fs
1845 applies both options to both exports.
1847 Thu Oct 28 12:55:42 1999 H.J. Lu <hjl@lucon.org>
1849 * README: Fix a few typos.
1851 * tools/rpcgen/rpc_cout.c (print_header): Use int32_t instead
1853 * tools/rpcgen/rpc_hout.c (pdefine): Likewise.
1854 * tools/rpcgen/rpc_main.c (c_initialize): Likewise.
1855 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1856 (unsigned_dec): Likewise.
1857 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1858 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1860 * tools/rpcgen/rpc_cout.c (emit_single_in_line): Use INT32
1862 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1863 (unsigned_dec): Likewise.
1864 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1865 * tools/rpcgen/rpc_scan.h (tok_kind): Likewise.
1866 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1868 Thu Oct 28 11:27:51 1999 Neil Brown <neilb@cse.unsw.edu.au>
1870 * support/include/nfs/export.h addedd NFSEXP_NOSUBTREECHECK
1871 * support/nfs/exports.c: added {no_,}subtree_check and changed
1873 * utils/exportfs/exports.man: added no_subtree_check and nohide
1874 and removed irrelevant stuff from unfsd.
1875 * support/export/rmtab.c: rmtab_read didn't quite do the right
1876 thing if a pathname from rmtab was a subdirectory of an export-point
1878 Tue Oct 26 17:22:40 1999 H.J. Lu <hjl@lucon.org>
1880 * README: Updated ftp site.
1882 Mon Oct 25 18:12:45 1999 H.J. Lu <hjl@lucon.org>
1884 * nfs-utils.spec (Version): Set to 0.1.2.
1886 * configure.in (VERSION): Set to "nfs-utils 0.1.2".
1887 * configure: Regenerated.
1891 Mon Oct 25 18:11:21 1999 H.J. Lu <hjl@lucon.org>
1893 * utils/mountd/auth.c (auth_error): Add "no_forward_dns".
1894 (auth_authenticate_internal): Check for NULL return on forward
1896 (auth_authenticate): Handle "no_forward_dns".
1898 Thu Oct 21 16:22:06 1999 H.J. Lu <hjl@lucon.org>
1900 * Version 0.1.1 released.
1902 * nfs-utils.spec (Version): Set to 0.1.1.
1904 * configure.in (VERSION): Set to "nfs-utils 0.1.1".
1905 * configure: Regenerated.
1909 Mon Oct 18 17:43:29 1999 H.J. Lu <hjl@lucon.org>
1911 * nfs-utils.spec (Obsoletes): Fixed a typo, change knfsd-client
1913 (Provides): Likewise.
1915 Mon Oct 18 14:56:22 1999 H.J. Lu <hjl@lucon.org>
1917 * Initial version 0.1 released.
1919 * configure.in (VERSION): Set to "nfs-utils 0.1".
1920 * configure: Regenerated.
1922 Mon Oct 18 14:54:57 1999 H.J. Lu <hjl@lucon.org>
1924 * utils/mountd/mountd.c (get_exportlist): Cleanup.
1926 * utils/exportfs/exportfs.c (unexport_all): Unexport from
1927 kernel only if the entry is exported to kernel.
1928 (unexportfs): Likewise.
1930 Wed Sep 08 16:49:32 1999 Neil Brown <neilb@cse.unsw.edu.au>
1932 1/ utils/mountd/rmtab.c::mountlist_list
1934 This routine stats the rmtab file to see if it has changed. It
1935 if has, it cleans up it's old copy of the data. But it still
1936 always re-read the file, thus returning multiple copies of the
1937 data on consecutive calls without intervening changes.
1938 "Showmount -a" didn't show this as it appears to sort/unique the
1939 data, but 'strace showmount -a' showed that the size of the
1940 datagram that it received grew.
1942 I moved the getrmtabent loop inside the mtime test.
1944 2/ utils/exportfs/exportfs.c
1946 Many routines used the m_path field of m_export instead of
1948 According to the comment in nfslib.h, m_path should only
1949 be used when processing a mount request (i.e. in mountd)
1950 where the mountpoint may be a subdirectory of the export point.
1952 I changed all occurances of m_path to e_path
1955 3/ utils/exportfs/exportfs.c:main
1957 extra arguments are not meaningful with -a or -r, but
1958 exportfs accepted them and then ignored the -a/-r, expect that
1959 -r would still unexport everything first.
1961 I generate an error if there are extra args and f_all
1963 4/ utils/exportfs/exportfs.c:main
1964 extract dump out as a special case.
1966 5/ utils/exportfs/exportfs.c
1967 made f_reexport a local variable.
1970 6/ utils/exportfs/exportfs.c:main,exportall
1972 support/export/rmtab.c
1973 only mayexport on newly created entries, don't set xtabent at all
1975 7/ support/include/nfslib.h
1977 add #define _PATH_PROC_EXPORTS to be /proc/fs/nds/exports
1979 8/ support/export/xtab.c
1981 xtab_mount_read loads data from _PATH_PROC_EXPORTS if it exists,
1985 9/ support/export/xtab.c
1987 xtab_mount_read now sets m_exported, and NOT
1988 xtabent and mayexport
1990 removed the append arguement from xtab_write as it was
1993 added is_export flag to xtab_write similar to xtab_read
1994 if is_export, only write entries with m_xtabent or m_addxtab
1995 if !is_export, only write entries with m_exported
1997 10/ support/export/export.c::export_allowed_internal
1999 added test for exp->m_mayexport, as the export tree
2000 may have entries that are no longer allowed to be exported,
2001 and so shouldn't caused deduced exported by rmtab_read
2003 11/ utils/exportfs/exportfs.c::main
2004 error checking of flags.
2006 12/ utils/exportfs/exportfs.c
2008 total rewrite of export and unexport logic.
2010 - build an exportslist of valid exports, based on
2011 current etab file and arguments,
2012 - read rmtab to instantiate relevant wild card entries
2013 - read etab to find out what is currently exported
2014 - synchronise intention with reality
2015 - write out etab and xtab
2018 discard the m_addxtab flag
2019 add m_changed flag so we know what to report in exportfs
2021 14/ utils/mountd/auth.c:auth_authenticate
2023 the value returned by gethostbyaddr was trusted.
2025 It now follows this with a call to gethostbyname
2026 and checks that the address is in the list.
2028 15/ support/export/nfsctl.c::cltsetup,expsetup
2030 force client names to lowercase as kernel is
2033 16/ quietened a few compiler warnings
2035 17/ support/export/client:client_lookup
2037 look for pre-existing client with same name before creating
2040 18/ support/include/exportfs.h
2042 The ordering of the MCL_* enum was:
2043 ANONYMOUS, FQDN, SUBNETWORK, WILDCARD, NETGROUP
2045 I moved ANONYMOUS to the end.
2047 The ordering is significant when an export entry is being searched for to
2048 match a given address. There are two problems with ANONYMOUS being first.
2050 1/ if a directory is exported rw to a couple of hosts and ro to everyone else,
2051 then the ro case will always be found first and the privileged hosts won't get
2053 2/ When mountd gets a request to mount an ANONYMOUSly exported tree, it creates a FQDN
2054 export entry for the specific host, and writes it to xtab.
2055 When another request comes from the same host, the ANONYMOUS entry is found again,
2056 before the new FQDN entry, so it creates another FQDN entry and writes it to xtab
2057 again. If causes bloat in xtab.
2059 Putting ANONYMOUS at the end reflects it's nature as a catch-all
2061 19/ utils/exportfs/exportfs.man
2062 many updates to the man page to reflect changes to the code
2064 -----------------------
2070 - allow exportfs to modify rmtab file
2071 - make sure kernel never gets two clients with same IP address
2072 - possible kernel should reject
2073 - needs to be some way to lookup client in kernel by IP address
2074 - maybe get kernel to do case-insensitive comparisons on client names
2075 - remove unused clients from kernel
2077 - change etab to xtab and xtab to xtab.active
2079 - timestamp and/or statd-stamp in rmtab for removing old entries.
2081 Mon Oct 18 11:48:07 1999 H.J. Lu <hjl@lucon.org>
2083 * linux-nfs: New directory.
2084 * linux-nfs/ChangeLog: Moved from ..
2085 * linux-nfs/INSTALL: Likewise.
2086 * linux-nfs/KNOWNBUGS: Likewise.
2087 * linux-nfs/NEW: Likewise.
2088 * linux-nfs/README: Likewise.
2089 * linux-nfs/THANKS: Likewise.
2090 * linux-nfs/TODO: Likewise.
2092 * Starting from knfsd 1.4.7.