1 2001-02-14 H.J. Lu <hjl@lucon.org>
3 * configure.in (VERSION): Set to "0.3.1".
4 * configure: Regenerated.
5 * nfs-utils.spec: Likewise.
7 * README: Updated for 0.3.1.
9 2001-02-14 H.J. Lu <hjl@lucon.org>
11 * support/nfs/rpcmisc.c: Include <time.h>.
13 2001-02-14 Chip Salzenberg <chip@valinux.com>
15 * debian/control: Change priority of nhfsstone package to 'extra'.
17 2001-02-12 Chip Salzenberg <chip@valinux.com>
19 * debian/changelog: Version 0.3-2.
21 2001-02-02 H.J. Lu <hjl@lucon.org>
23 * support/include/rpcmisc.h (rpc_init): Remove bufsize.
25 * support/nfs/rpcmisc.c (makesock): Remove socksz and comment
26 out SO_SNDBUF/SO_RCVBUF.
27 (rpc_init): Remove bufsize and remove socksz in calls to
30 * utils/mountd/mountd.c (main): Remove bufsize in calls to
33 2001-01-28 Chip Salzenberg <chip@valinux.com>
35 * debian/changelog: Version 0.3-1.
37 2001-01-25 H.J. Lu <hjl@lucon.org>
39 * configure.in (VERSION): Set to "0.3".
40 * configure: Regenerated.
41 * nfs-utils.spec: Likewise.
43 * README: Updated for 0.3.
45 2001-01-25 H.J. Lu <hjl@lucon.org>
47 * utils/lockd/lockd.c (main): Ignore errno == EINVAL.
49 2001-01-20 Chip Salzenberg <chip@valinux.com>
51 * support/include/xio.h (xgetc): Declare to return int.
52 * support/nfs/xio.c (xgetc): Return int.
53 (xgettok, xskip, xskipcomment): Use int for value of xgetc.
54 * utils/statd/statd.c (main): Use int for value of getopt.
55 * debian/changelog: Version 0.2.1-5.
57 2000-12-10 Chip Salzenberg <chip@valinux.com>
59 * utils/statd/monitor.c (sm_mon_1_svc): Fix buggy check for
60 program and procedure numbers of kernel lockd's callback. Also,
61 besides the old (and broken) procedure #24, allow #16 per Trond.
63 2000-12-03 Chip Salzenberg <chip@valinux.com>
65 * support/nfs/xio.c (xfopen): Initialize x_line to one, not zero.
66 * debian/control: Let nhfsstone replace files in nfs-kernel-server.
67 * debian/changelog: Version 0.2.1-4.
69 2000-11-27 Tobias Ringstrom <tori@tellus.mine.nu>
71 * utils/mountd/auth.c (auth_authenticate): Log the bad path
74 2000-11-24 Neil Brown <neilb@cse.unsw.edu.au>
76 * support/nfs/exports.c (getexportent): Check for host name
77 without option, or options without hostname, and print a warning,
78 as this is most likely a typo.
80 2000-11-19 Chip Salzenberg <chip@valinux.com>
82 * debian/control: Add dependency on portmap.
83 * debian/changelog: Version 0.2.1-3.
85 2000-11-10 H.J. Lu <hjl@lucon.org>
87 * nfs-utils.spec.in: Don't use libtool.
88 Add ChangeLog and COPYING to doc.
89 * nfs-utils.spec: Rebuild.
91 2000-11-09 H.J. Lu <hjl@lucon.org>
93 * etc/redhat/nfs.init (start): Back out the last change.
95 2000-11-09 H.J. Lu <hjl@lucon.org>
97 * etc/redhat/nfs.init (start): Pass --no-tcp to mountd if
98 TCP is not supported by kernel.
100 * support/nfs/rpcmisc.c (rpc_init): Don't set _rpcfdtype to 0.
102 * utils/mountd/mountd.c (longopts): Add "-n/--no-tcp".
103 (main): Set to _rpcfdtype to SOCK_DGRAM for "-n/--no-tcp".
105 * utils/mountd/mountd.man: Updated for "-n/--no-tcp".
107 2000-10-24 Lon Hohberger <hohberger@missioncriticallinux.com>
109 * utils/statd/callback.c: Fix bug preventing callbacks to local lockd.
110 * utils/statd/rmtcall.c: Add some IP address paranoia when doing
111 callbacks to local lockd.
113 2000-10-18 Scott McDermott <mcdermot@questra.com>
115 * utils/exportfs/exports.man: Updated for CIDR netmask.
117 2000-10-17 Scott McDermott <mcdermot@questra.com>
119 * support/export/client.c (client_init): Support CIDR netmask
122 2000-10-11 H.J. Lu <hjl@lucon.org>
124 * aclocal.m4 (AC_TCP_WRAPPER): Fix a typo.
125 * configure: Rebuilt.
127 2000-10-06 Lon Hohberger <hohberger@missioncriticallinux.com>
129 * utils/statd/statd.man: Change "/var/lib/nfs/sm/state" to
130 "/var/lib/nfs/state".
132 2000-10-05 Lon Hohberger <hohberger@missioncriticallinux.com>
134 * utils/statd/statd.h (run_mode): New global bitmask of runtime
135 behaviors: fg/bg, logging, etc.
136 * utils/statd/statd.c: New command line options: -V -h -? -d .
137 * utils/statd/statd.man: Update for changes to statd.
139 * utils/statd/log.h (log_init): Remove parameter of function; use
140 global variable "name_p" instead.
141 * utils/statd/log.c: Add support for logging to stderr.
143 * utils/statd/notlist.c: Partially rewrite notify list handling
144 functions. Eliminate run-off-end-of-list bug when calling
145 nlist_insert_timer. Add lots of comments.
147 2000-09-27 H.J. Lu <hjl@lucon.org>
149 * README: Updated for RedHat 7.0.
151 2000-09-27 H.J. Lu <hjl@lucon.org>
153 * nfs-utils.spec: Rebuild.
155 2000-09-27 H.J. Lu <hjl@lucon.org>
157 * README: Updated for 0.2.1.
159 2000-09-27 H.J. Lu <hjl@lucon.org>
161 * nfs-utils.spec.in: Updated to use rpm macros and support
164 2000-09-25 H.J. Lu <hjl@lucon.org>
166 * configure.in (VERSION): Set to "0.2.1".
167 * configure: Regenerated.
168 * nfs-utils.spec: Updated.
170 2000-09-25 H.J. Lu <hjl@lucon.org>
172 * utils/mountd/auth.c (auth_authenticate_internal): Make sure a
173 non-NULL hostent is always returned.
175 2000-09-11 Ion Badulescu <ionut@moisil.dev.hydraweb.com>
177 * etc/redhat/nfslock.init: don't kill lockd processes that do not
178 have an executable (i.e. kernel threads)
180 2000-09-01 H.J. Lu <hjl@lucon.org>
182 * README: Updated for 0.2.
184 2000-09-01 Jay Weber <jweber@valinux.com>
186 * etc/redhat/nfs.init: Added ability for rpc.mountd to default to
187 supporting version 3 of nfs if available, else it will fall back to
188 version 2 support only.
190 2000-08-30 H.J. Lu <hjl@lucon.org>
192 * configure.in (VERSION): Set to "0.2".
193 * configure: Regenerated.
194 * nfs-utils.spec: Updated.
196 2000-08-25 H.J. Lu <hjl@lucon.org>
198 * support/misc/tcpwrapper.c (logit): Modify the log output.
200 2000-08-25 Ion Badulescu <ionut@cs.columbia.edu>
202 * utils/rquotad/rquotad.man, utils/statd/statd.man,
203 utils/mountd/mountd.man: updated
205 * utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL)
206 * utils/rquotad/Makefile: fix comment
208 * support/misc/tcpwrapper.c (logit): added comment about waiting
209 for the children after fork()
211 * utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving
212 zombies behind (from logit()'s fork)
213 * utils/rquotad/rquota_svc.c (main): ditto
214 * utils/statd/statd.c (main): ditto
216 * utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG
217 to check_default instead of 0, for prognum
219 * utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG
220 to check_default instead of 0, for prognum
222 * utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if
223 HAVE_TCP_WRAPPER is defined.
224 (mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is
225 defined. Reject an RPC call if check_default () fails.
227 2000-08-25 H.J. Lu <hjl@lucon.org>
229 * support/include/tcpwrapper.h: New for the tcp wrapper
231 * support/misc/Makefile: Likewise.
232 * support/misc/from_local.c: Likewise.
233 * support/misc/tcpwrapper.c: Likewise.
235 * aclocal.m4 (AC_TCP_WRAPPER): New.
236 * configure.in: Use it. Substitute LIBWRAP.
237 * configure: Rebuilt.
239 * config.mk.in (LIBNSL): New.
242 * support/Makefile (SUBDIRS): Add misc.
244 * support/lib/Makefile (LIBS): Add libmisc.a.
246 * utils/rquotad/Makefile (LIBS): Add
248 -lmisc $(LIBWRAP) $(LIBNSL)
250 * utils/statd/Makefile (LIBS): Likewise.
252 * utils/rquotad/rquota_svc.c: Include "tcpwrapper.h" if
253 HAVE_TCP_WRAPPER is defined.
254 (rquotaprog_1): Call check_default () if HAVE_TCP_WRAPPER is
255 defined. Reject an RPC call if check_default () fails.
257 * utils/statd/statd.c: Include "tcpwrapper.h" if
258 HAVE_TCP_WRAPPER is defined.
259 (sm_prog_1_wrapper): New. A wrapper for sm_prog_1. Call
260 check_default () before calling sm_prog_1 (). Define it as
261 sm_prog_1_wrapper if HAVE_TCP_WRAPPER is defined.
263 2000-08-25 Chip Salzenberg <chip@valinux.com>
265 * debian/*: Complete Debian build support.
266 * etc/debian/*: Remove.
268 2000-08-24 Neil Brown <neilb@cse.unsw.edu.au>
270 * support/export/client.c(client_check): removed the "dot+1" as a
271 ypdomain argument to innetgr as this is entirely bogus.
272 It should always be NULL.
274 2000-08-23 Neil Brown <neilb@cse.unsw.edu.au>
276 * support/export/xtab.c(xtab_read): introduce new mode for
277 reading xtab. i.e. a list of exports that might be known to the
278 kernel, or might not. These are flagged as m_exported == -1
279 * support/export/xtab.c(xtab_mount_read): call xtab_read with new
280 value "2" for xtab, meaning don't trust this too much.
281 * support/include/exportfs.h(struct mexport): changed m_exported
282 from one bit to an int so that it can hold new value
283 * utils/exportfs/exportfs.c(exportfs_ipdate): add an export to the
284 kernel if it is uncertain whether the kernel knows (m_exported == -1)
285 * utils/mountd/mountd.c(get_rootfh): similarly export to kernel if
288 * support/nfs/xio.c(xflock): added O_CREAT when getting
289 a write lock so that missing files aren't fatal.
291 * etc/debian/nfs-common: new file from "potato"
292 * etc/debian/nfs-kernel-server: new file from "potato" plus fixes.
294 2000-08-09 H.J. Lu <hjl@lucon.org>
296 * etc/redhat/nfs.init: Run /usr/sbin/exportfs first during
297 startup to ensure all existing clients work fine.
299 * support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0
300 to xtab_read () for reading _PATH_XTAB.
302 2000-08-02 H.J. Lu <hjl@lucon.org>
304 * utils/mountd/auth.c (auth_authenticate_internal): Try to
305 avoid the reverse name lookup.
307 2000-07-04 H.J. Lu <hjl@lucon.org>
309 * utils/statd/log.c: Include <stdlib.h> for exit ().
311 * utils/statd/misc.c (xunlink): Add `{' and `}' to quiet the
314 2000-07-04 H.J. Lu <hjl@lucon.org>
316 * configure.in (VERSION): Set to "0.1.9.1".
317 * configure: Regenerated.
318 * nfs-utils.spec: Updated.
322 2000-07-04 Neil Brown <neilb@cse.unsw.edu.au>
324 * support/export/hostname.c (hostent_dup): Handle the NULL
327 2000-07-03 H.J. Lu <hjl@lucon.org>
329 * README: Update the util-linux requirement.
331 2000-07-03 H.J. Lu <hjl@lucon.org>
333 * configure.in (VERSION): Set to "0.1.9".
334 * configure: Regenerated.
335 * nfs-utils.spec: Updated.
339 2000-07-03 H.J. Lu <hjl@lucon.org>
341 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
342 stop to ensure all clients can still access the server
343 before it is shutdown.
345 2000-06-30 Jeff Uphoff <juphoff@transmeta.com>
347 * tools/rpcgen/rpc_svcout.c (write_msg_out): Generate syslog()
348 calls with format string.
350 2000-06-28 Chip Salzenberg <chip@valinux.com>
352 * utils/statd/log.c (log): Call syslog with format string.
354 2000-06-27 H.J. Lu <hjl@lucon.org>
356 * utils/statd/statd.c (main): Use sysconf (_SC_OPEN_MAX)
359 2000-06-27 H.J. Lu <hjl@lucon.org>
363 2000-06-27 H.J. Lu <hjl@lucon.org>
365 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
366 startup to ensure all existing clients are exported.
368 * configure.in (VERSION): Set to "0.1.8.2".
369 * configure: Regenerated.
370 * nfs-utils.spec: Updated.
372 2000-06-06 H.J. Lu <hjl@lucon.org>
374 * configure.in (VERSION): Set to "0.1.8.1".
375 * configure: Regenerated.
376 * nfs-utils.spec: Updated.
378 2000-06-06 H.J. Lu <hjl@lucon.org>
380 * utils/mountd/mountd.c (mount_dump_1_svc): Cast svc_getcaller
381 to "struct sockaddr_in *" for glibc 2.2.
382 (mount_umnt_1_svc): Likewise.
383 (mount_umntall_1_svc): Likewise.
384 (mount_export_1_svc): Likewise.
385 (mount_exportall_1_svc): Likewise.
386 (mount_pathconf_2_svc): Likewise.
387 (get_rootfh): Likewise.
389 2000-06-04 H.J. Lu <hjl@lucon.org>
391 * etc/redhat/nfs.init: Fix a typo in comment.
393 2000-05-31 H.J. Lu <hjl@lucon.org>
395 * configure.in (VERSION): Set to "0.1.8".
396 * configure: Regenerated.
397 * nfs-utils.spec: Updated.
401 2000-05-31 H.J. Lu <hjl@lucon.org>
403 * configure.in (VERSION): Set to "0.1.7.5".
404 * configure: Regenerated.
405 * nfs-utils.spec: Updated.
407 * support/include/nfslib.h (exportent): Add a new field,
408 r_count, to count the number of mounts from a client.
409 (getrmtabent): Take a new argument for position in file.
410 (putrmtabent): Likewise.
411 (fgetrmtabent): Likewise.
412 (fputrmtabent): Likewise.
413 * support/nfs/rmtab.c (getrmtabent): Handle the new argument
414 for position in file.
415 (fgetrmtabent): Likewise.
416 (putrmtabent): Likewise.
417 (fputrmtabent): Likewise.
419 * support/nfs/rmtab.c (fgetrmtabent): Get value for the new
422 * support/export/rmtab.c (rmtab_read): Pass NULL as the new
423 argument to getrmtabent (), fgetrmtabent (), putrmtabent ()
425 * utils/mountd/rmtab.c (mountlist_add): Likewise.
426 (mountlist_del): Likewise.
427 (mountlist_del_all): Likewise.
428 (mountlist_list): Likewise.
430 * utils/mountd/rmtab.c (mountlist_add): Increment "r_count"
431 for the existing entry and initialize "r_count" to 1.
432 (mountlist_del): Decrement "r_count".
434 2000-05-18 H.J. Lu <hjl@lucon.org>
436 * configure.in (VERSION): Set to "0.1.7.4".
437 * configure: Regenerated.
438 * nfs-utils.spec: Updated.
440 2000-05-18 H.J. Lu <hjl@lucon.org>
442 * etc/redhat/nfs.init (restart): Just do stop and start.
444 2000-05-09 Jay Weber <jweber@valinux.com>
446 * utils/rquotad/hasquota.c: added support for ext3 recognition
448 * utils/rquotad/mntent.h: Likewise.
450 2000-05-01 H.J. Lu <hjl@lucon.org>
452 * configure.in (VERSION): Set to "0.1.7.3".
453 * configure: Regenerated.
454 * nfs-utils.spec: Updated.
456 2000-05-01 H.J. Lu <hjl@lucon.org>
458 * utils/rquotad/rquota_server.c (getquotainfo): Skip bad
459 mounting poins in /etc/fstab.
461 2000-05-01 H.J. Lu <hjl@lucon.org>
463 * configure.in (VERSION): Set to "0.1.7.2".
464 * configure: Regenerated.
465 * nfs-utils.spec: Updated.
467 2000-05-01 H.J. Lu <hjl@lucon.org>
469 * utils/rquotad/rquota_server.c (getquotainfo): Call stat ()
470 to check for the mounting point.
472 2000-04-29 Chip Salzenberg <chip@valinux.com>
473 Neil Brown <neilb@cse.unsw.edu.au>
475 * Really re-use RPC ports.
476 (Fixes earlier patch. Sorry, Neil.)
478 2000-04-26 H.J. Lu <hjl@lucon.org>
480 * configure.in (VERSION): Set to "0.1.7.1".
481 * configure: Regenerated.
482 * nfs-utils.spec: Updated.
484 2000-04-26 H.J. Lu <hjl@lucon.org>
486 * etc/redhat/nfslock.init: Check if lockd exits before killing
489 2000-04-25 H.J. Lu <hjl@lucon.org>
491 * README: Require util-linux-2.10f-mount-rpc.patch for mount.
493 2000-03-21 Michael Weiser <michael@weiser.saale-net.de>
495 * support/nfs/exports.c (parsesquash): Correctly set the
498 Tue Mar 21 11:38:48 EST 2000 NeilBrown <neilb@cse.unsw.edu.au>
500 * support/include/nfs/nfs.h: Removed knowledge of internals of
501 kernel filehandles (which can change) and defined nfs_fh_size
502 which has variable size
504 * support/nfs/getfh.c: defined getfh_size to use new syscall to
505 get variable sized file handles, and change getfh{,old} to
508 * utils/mountd/mountd.c: use nfd_fh_size and call getfh_size for
511 * tools/Makefile, tools/nlmtest/nlmtest.c
512 nlmtest.c depended on internel format of file handles, so now
516 2000-03-12 Chip Salzenberg <chip@valinux.com>
517 Neil Brown <neilb@cse.unsw.edu.au>
519 * support/nfs/rpcmisc.c (rpc_init): Share transports.
521 2000-03-13 H.J. Lu <hjl@lucon.org>
523 * etc/redhat/nfsd.init: Updated.
525 * etc/redhat/nfslock.init: Updated.
527 * nfs-utils.spec.in: Updated.
529 * configure.in (VERSION): Set to "0.1.7".
530 * configure: Regenerated.
531 * nfs-utils.spec: Updated.
535 Wed Mar 8 09:42:43 2000 Neil Brown <neilb@cse.unsw.edu.au>
537 * utils/exportfs/exportfs.c (dump): Included printing of
538 nohide, no_subtree_check, and insecure_locks
540 2000-02-26 Chip Salzenberg <chip@valinux.com>
542 * config.mk.in (INSTALLSUID): Strip ("-s").
543 (INSTALLSCRIPT): Define.
544 * utils/nhfsstone/Makefile: Use it.
546 2000-02-26 Chip Salzenberg <chip@valinux.com>
548 * utils/lockd/lockd.man: Create.
549 * utils/lockd/Makefile: Install it.
550 * utils/nhfsstone/nhfs{run,nums,graph}.man: Create.
551 * utils/nhfsstone/nhfsstone.man: Change suffix from ".1".
552 * utils/nhfsstone/Makefile: Install the helper scripts and
554 * utils/exportfs/exports.man: Fix typo.
556 2000-02-26 Chip Salzenberg <chip@valinux.com>
558 * support/nfs/xio.c (xungetc): Decrement line number when
559 character to unget is newline. Make first parameter int, so
560 it can distinguish EOF from \377.
561 * support/include/xio.h (xungetc): Adjust prototype.
563 Fri Feb 4 23:42:23 2000 Neil Brown <neilb@cse.unsw.edu.au>
565 * support/include/nfs/export.h: added NFSEXP_NOAUTHNLM
566 * support/nfs/exports.c: added handling for NFSEXP_NOAUTHNLM
567 * utils/exportfs/exports.man: added documentation for no_auth_nlm.
569 This is for supporting a new option introduced in 2.3.42
571 Thu Feb 3 14:55:48 2000 H.J. Lu <hjl@lucon.org>
573 * COPYING: Added. GPL.
575 Thu Feb 03 14:40:40 2000 Cristian Gafton <gafton@redhat.com>
577 * utils/rquotad/rquota_server.c (getquotainfo): Call statfs ()
578 to get the block size.
580 Tue Jan 25 11:04:17 2000 H.J. Lu <hjl@lucon.org>
582 * nfs-utils.spec.in: Update ftp site.
584 Mon Jan 17 11:48:18 2000 H.J. Lu <hjl@lucon.org>
586 * README: Update hostnames.
588 Tue Jan 11 10:06:22 2000 H.J. Lu <hjl@lucon.org>
590 * configure.in (VERSION): Set to "0.1.6".
591 * configure: Regenerated.
592 * nfs-utils.spec: Updated.
596 Mon Jan 10 14:26:33 2000 H.J. Lu <hjl@lucon.org>
598 * utils/mountd/auth.c (auth_authenticate_internal): Call
599 xstrdup for hostname before passing it to gethostbyname.
601 * utils/mountd/mountd.c (get_exportlist): Use xstrdup instead
604 Sun Dec 19 09:35:01 1999 H.J. Lu <hjl@lucon.org>
606 * README: Update the mailing list address.
608 Sun Dec 19 09:22:28 1999 H.J. Lu <hjl@lucon.org>
610 * configure.in (VERSION): Set to "0.1.5".
611 * configure: Regenerated.
612 * nfs-utils.spec: Updated.
616 Mon Dec 13 13:40:20 1999 H.J. Lu <hjl@lucon.org>
618 * utils/rquotad/hasquota.c (hasquota): Malloc one more char
621 Mon Dec 6 09:42:45 1999 H.J. Lu <hjl@lucon.org>
623 * configure.in (VERSION): Set to "0.1.4".
624 * configure: Regenerated.
625 * nfs-utils.spec: Updated.
629 Mon Dec 6 09:28:07 1999 H.J. Lu <hjl@lucon.org>
631 * nfs-utils.spec.in: New file.
633 * config.mk.in (VERSION): Changed to "nfs-utils @VERSION@".
635 * configure.in (nfs-utils.spec): Added to AC_OUTPUT.
637 1999-12-04 Chip Salzenberg <chip@valinux.com>
639 * config.mk.in: Use $(CC) as set by configure.
641 1999-12-04 Chip Salzenberg <chip@valinux.com>
643 * rules.mk: Call $(MAKE) with $(MFLAGS).
645 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
647 * tools/rpcgen/rpc_main.c (h_output): Generate IXDR_GET_INT32,
648 IXDR_PUT_INT32, IXDR_GET_U_INT32 and IXDR_PUT_U_INT32.
650 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
652 * nfs-utils.spec (Version): Set to 0.1.3.
654 * configure.in (VERSION): Set to "nfs-utils 0.1.3".
655 * configure: Regenerated.
659 Mon Nov 29 11:15:47 1999 H.J. Lu <hjl@lucon.org>
661 * utils/rquotad/rquota_server.c (nfsmount_to_devname): Removed.
662 (_PATH_DEV_DSK): Likewise.
663 (getquotainfo): Match the mounting point from /etc/mtab
664 instead of calling nfsmount_to_devname ().
666 1999-11-24 Chip Salzenberg <chip@valinux.com>
668 * utils/statd/monitor.c (sm_mon_1_svc): Accept lockd callbacks
669 to the new port 24 as well as the historical port 100021.
671 Tue Nov 23 10:21:34 1999 Neil Brown <neilb@cse.unsw.edu.au>
673 * etc/redhat/nfsd.init (stop): moved exportfs -ua after
674 stopping nfsd to stop spurious ESTALE on server shutdown.
676 Tue Nov 23 10:13:39 1999 Neil Brown <neilb@cse.unsw.edu.au>
678 * support/nfs/exports.c (parseopts): make copy of opt string
679 before 'nul'ing out commas so that
681 # exportfs -o option1,option2 hosta:/fs hostb:/fs
683 applies both options to both exports.
685 Thu Oct 28 12:55:42 1999 H.J. Lu <hjl@lucon.org>
687 * README: Fix a few typos.
689 * tools/rpcgen/rpc_cout.c (print_header): Use int32_t instead
691 * tools/rpcgen/rpc_hout.c (pdefine): Likewise.
692 * tools/rpcgen/rpc_main.c (c_initialize): Likewise.
693 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
694 (unsigned_dec): Likewise.
695 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
696 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
698 * tools/rpcgen/rpc_cout.c (emit_single_in_line): Use INT32
700 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
701 (unsigned_dec): Likewise.
702 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
703 * tools/rpcgen/rpc_scan.h (tok_kind): Likewise.
704 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
706 Thu Oct 28 11:27:51 1999 Neil Brown <neilb@cse.unsw.edu.au>
708 * support/include/nfs/export.h addedd NFSEXP_NOSUBTREECHECK
709 * support/nfs/exports.c: added {no_,}subtree_check and changed
711 * utils/exportfs/exports.man: added no_subtree_check and nohide
712 and removed irrelevant stuff from unfsd.
713 * support/export/rmtab.c: rmtab_read didn't quite do the right
714 thing if a pathname from rmtab was a subdirectory of an export-point
716 Tue Oct 26 17:22:40 1999 H.J. Lu <hjl@lucon.org>
718 * README: Updated ftp site.
720 Mon Oct 25 18:12:45 1999 H.J. Lu <hjl@lucon.org>
722 * nfs-utils.spec (Version): Set to 0.1.2.
724 * configure.in (VERSION): Set to "nfs-utils 0.1.2".
725 * configure: Regenerated.
729 Mon Oct 25 18:11:21 1999 H.J. Lu <hjl@lucon.org>
731 * utils/mountd/auth.c (auth_error): Add "no_forward_dns".
732 (auth_authenticate_internal): Check for NULL return on forward
734 (auth_authenticate): Handle "no_forward_dns".
736 Thu Oct 21 16:22:06 1999 H.J. Lu <hjl@lucon.org>
738 * Version 0.1.1 released.
740 * nfs-utils.spec (Version): Set to 0.1.1.
742 * configure.in (VERSION): Set to "nfs-utils 0.1.1".
743 * configure: Regenerated.
747 Mon Oct 18 17:43:29 1999 H.J. Lu <hjl@lucon.org>
749 * nfs-utils.spec (Obsoletes): Fixed a typo, change knfsd-client
751 (Provides): Likewise.
753 Mon Oct 18 14:56:22 1999 H.J. Lu <hjl@lucon.org>
755 * Initial version 0.1 released.
757 * configure.in (VERSION): Set to "nfs-utils 0.1".
758 * configure: Regenerated.
760 Mon Oct 18 14:54:57 1999 H.J. Lu <hjl@lucon.org>
762 * utils/mountd/mountd.c (get_exportlist): Cleanup.
764 * utils/exportfs/exportfs.c (unexport_all): Unexport from
765 kernel only if the entry is exported to kernel.
766 (unexportfs): Likewise.
768 Wed Sep 08 16:49:32 1999 Neil Brown <neilb@cse.unsw.edu.au>
770 1/ utils/mountd/rmtab.c::mountlist_list
772 This routine stats the rmtab file to see if it has changed. It
773 if has, it cleans up it's old copy of the data. But it still
774 always re-read the file, thus returning multiple copies of the
775 data on consecutive calls without intervening changes.
776 "Showmount -a" didn't show this as it appears to sort/unique the
777 data, but 'strace showmount -a' showed that the size of the
778 datagram that it received grew.
780 I moved the getrmtabent loop inside the mtime test.
782 2/ utils/exportfs/exportfs.c
784 Many routines used the m_path field of m_export instead of
786 According to the comment in nfslib.h, m_path should only
787 be used when processing a mount request (i.e. in mountd)
788 where the mountpoint may be a subdirectory of the export point.
790 I changed all occurances of m_path to e_path
793 3/ utils/exportfs/exportfs.c:main
795 extra arguments are not meaningful with -a or -r, but
796 exportfs accepted them and then ignored the -a/-r, expect that
797 -r would still unexport everything first.
799 I generate an error if there are extra args and f_all
801 4/ utils/exportfs/exportfs.c:main
802 extract dump out as a special case.
804 5/ utils/exportfs/exportfs.c
805 made f_reexport a local variable.
808 6/ utils/exportfs/exportfs.c:main,exportall
810 support/export/rmtab.c
811 only mayexport on newly created entries, don't set xtabent at all
813 7/ support/include/nfslib.h
815 add #define _PATH_PROC_EXPORTS to be /proc/fs/nds/exports
817 8/ support/export/xtab.c
819 xtab_mount_read loads data from _PATH_PROC_EXPORTS if it exists,
823 9/ support/export/xtab.c
825 xtab_mount_read now sets m_exported, and NOT
826 xtabent and mayexport
828 removed the append arguement from xtab_write as it was
831 added is_export flag to xtab_write similar to xtab_read
832 if is_export, only write entries with m_xtabent or m_addxtab
833 if !is_export, only write entries with m_exported
835 10/ support/export/export.c::export_allowed_internal
837 added test for exp->m_mayexport, as the export tree
838 may have entries that are no longer allowed to be exported,
839 and so shouldn't caused deduced exported by rmtab_read
841 11/ utils/exportfs/exportfs.c::main
842 error checking of flags.
844 12/ utils/exportfs/exportfs.c
846 total rewrite of export and unexport logic.
848 - build an exportslist of valid exports, based on
849 current etab file and arguments,
850 - read rmtab to instantiate relevant wild card entries
851 - read etab to find out what is currently exported
852 - synchronise intention with reality
853 - write out etab and xtab
856 discard the m_addxtab flag
857 add m_changed flag so we know what to report in exportfs
859 14/ utils/mountd/auth.c:auth_authenticate
861 the value returned by gethostbyaddr was trusted.
863 It now follows this with a call to gethostbyname
864 and checks that the address is in the list.
866 15/ support/export/nfsctl.c::cltsetup,expsetup
868 force client names to lowercase as kernel is
871 16/ quietened a few compiler warnings
873 17/ support/export/client:client_lookup
875 look for pre-existing client with same name before creating
878 18/ support/include/exportfs.h
880 The ordering of the MCL_* enum was:
881 ANONYMOUS, FQDN, SUBNETWORK, WILDCARD, NETGROUP
883 I moved ANONYMOUS to the end.
885 The ordering is significant when an export entry is being searched for to
886 match a given address. There are two problems with ANONYMOUS being first.
888 1/ if a directory is exported rw to a couple of hosts and ro to everyone else,
889 then the ro case will always be found first and the privileged hosts won't get
891 2/ When mountd gets a request to mount an ANONYMOUSly exported tree, it creates a FQDN
892 export entry for the specific host, and writes it to xtab.
893 When another request comes from the same host, the ANONYMOUS entry is found again,
894 before the new FQDN entry, so it creates another FQDN entry and writes it to xtab
895 again. If causes bloat in xtab.
897 Putting ANONYMOUS at the end reflects it's nature as a catch-all
899 19/ utils/exportfs/exportfs.man
900 many updates to the man page to reflect changes to the code
902 -----------------------
908 - allow exportfs to modify rmtab file
909 - make sure kernel never gets two clients with same IP address
910 - possible kernel should reject
911 - needs to be some way to lookup client in kernel by IP address
912 - maybe get kernel to do case-insensitive comparisons on client names
913 - remove unused clients from kernel
915 - change etab to xtab and xtab to xtab.active
917 - timestamp and/or statd-stamp in rmtab for removing old entries.
919 Mon Oct 18 11:48:07 1999 H.J. Lu <hjl@lucon.org>
921 * linux-nfs: New directory.
922 * linux-nfs/ChangeLog: Moved from ..
923 * linux-nfs/INSTALL: Likewise.
924 * linux-nfs/KNOWNBUGS: Likewise.
925 * linux-nfs/NEW: Likewise.
926 * linux-nfs/README: Likewise.
927 * linux-nfs/THANKS: Likewise.
928 * linux-nfs/TODO: Likewise.
930 * Starting from knfsd 1.4.7.