1 2001-01-20 Chip Salzenberg <chip@valinux.com>
3 * support/include/xio.h (xgetc): Declare to return int.
4 * support/nfs/xio.c (xgetc): Return int.
5 (xgettok, xskip, xskipcomment): Use int for value of xgetc.
6 * utils/statd/statd.c (main): Use int for value of getopt.
7 * debian/changelog: Version 0.2.1-5.
9 2000-12-10 Chip Salzenberg <chip@valinux.com>
11 * utils/statd/monitor.c (sm_mon_1_svc): Fix buggy check for
12 program and procedure numbers of kernel lockd's callback. Also,
13 besides the old (and broken) procedure #24, allow #16 per Trond.
15 2000-12-03 Chip Salzenberg <chip@valinux.com>
17 * support/nfs/xio.c (xfopen): Initialize x_line to one, not zero.
18 * debian/control: Let nhfsstone replace files in nfs-kernel-server.
19 * debian/changelog: Version 0.2.1-4.
21 2000-11-27 Tobias Ringstrom <tori@tellus.mine.nu>
23 * utils/mountd/auth.c (auth_authenticate): Log the bad path
26 2000-11-24 Neil Brown <neilb@cse.unsw.edu.au>
28 * support/nfs/exports.c (getexportent): Check for host name
29 without option, or options without hostname, and print a warning,
30 as this is most likely a typo.
32 2000-11-19 Chip Salzenberg <chip@valinux.com>
34 * debian/control: Add dependency on portmap.
35 * debian/changelog: Version 0.2.1-3.
37 2000-11-10 H.J. Lu <hjl@lucon.org>
39 * nfs-utils.spec.in: Don't use libtool.
40 Add ChangeLog and COPYING to doc.
41 * nfs-utils.spec: Rebuild.
43 2000-11-09 H.J. Lu <hjl@lucon.org>
45 * etc/redhat/nfs.init (start): Back out the last change.
47 2000-11-09 H.J. Lu <hjl@lucon.org>
49 * etc/redhat/nfs.init (start): Pass --no-tcp to mountd if
50 TCP is not supported by kernel.
52 * support/nfs/rpcmisc.c (rpc_init): Don't set _rpcfdtype to 0.
54 * utils/mountd/mountd.c (longopts): Add "-n/--no-tcp".
55 (main): Set to _rpcfdtype to SOCK_DGRAM for "-n/--no-tcp".
57 * utils/mountd/mountd.man: Updated for "-n/--no-tcp".
59 2000-10-24 Lon Hohberger <hohberger@missioncriticallinux.com>
61 * utils/statd/callback.c: Fix bug preventing callbacks to local lockd.
62 * utils/statd/rmtcall.c: Add some IP address paranoia when doing
63 callbacks to local lockd.
65 2000-10-18 Scott McDermott <mcdermot@questra.com>
67 * utils/exportfs/exports.man: Updated for CIDR netmask.
69 2000-10-17 Scott McDermott <mcdermot@questra.com>
71 * support/export/client.c (client_init): Support CIDR netmask
74 2000-10-11 H.J. Lu <hjl@lucon.org>
76 * aclocal.m4 (AC_TCP_WRAPPER): Fix a typo.
79 2000-10-06 Lon Hohberger <hohberger@missioncriticallinux.com>
81 * utils/statd/statd.man: Change "/var/lib/nfs/sm/state" to
84 2000-10-05 Lon Hohberger <hohberger@missioncriticallinux.com>
86 * utils/statd/statd.h (run_mode): New global bitmask of runtime
87 behaviors: fg/bg, logging, etc.
88 * utils/statd/statd.c: New command line options: -V -h -? -d .
89 * utils/statd/statd.man: Update for changes to statd.
91 * utils/statd/log.h (log_init): Remove parameter of function; use
92 global variable "name_p" instead.
93 * utils/statd/log.c: Add support for logging to stderr.
95 * utils/statd/notlist.c: Partially rewrite notify list handling
96 functions. Eliminate run-off-end-of-list bug when calling
97 nlist_insert_timer. Add lots of comments.
99 2000-09-27 H.J. Lu <hjl@lucon.org>
101 * README: Updated for RedHat 7.0.
103 2000-09-27 H.J. Lu <hjl@lucon.org>
105 * nfs-utils.spec: Rebuild.
107 2000-09-27 H.J. Lu <hjl@lucon.org>
109 * README: Updated for 0.2.1.
111 2000-09-27 H.J. Lu <hjl@lucon.org>
113 * nfs-utils.spec.in: Updated to use rpm macros and support
116 2000-09-25 H.J. Lu <hjl@lucon.org>
118 * configure.in (VERSION): Set to "0.2.1".
119 * configure: Regenerated.
120 * nfs-utils.spec: Updated.
122 2000-09-25 H.J. Lu <hjl@lucon.org>
124 * utils/mountd/auth.c (auth_authenticate_internal): Make sure a
125 non-NULL hostent is always returned.
127 2000-09-11 Ion Badulescu <ionut@moisil.dev.hydraweb.com>
129 * etc/redhat/nfslock.init: don't kill lockd processes that do not
130 have an executable (i.e. kernel threads)
132 2000-09-01 H.J. Lu <hjl@lucon.org>
134 * README: Updated for 0.2.
136 2000-09-01 Jay Weber <jweber@valinux.com>
138 * etc/redhat/nfs.init: Added ability for rpc.mountd to default to
139 supporting version 3 of nfs if available, else it will fall back to
140 version 2 support only.
142 2000-08-30 H.J. Lu <hjl@lucon.org>
144 * configure.in (VERSION): Set to "0.2".
145 * configure: Regenerated.
146 * nfs-utils.spec: Updated.
148 2000-08-25 H.J. Lu <hjl@lucon.org>
150 * support/misc/tcpwrapper.c (logit): Modify the log output.
152 2000-08-25 Ion Badulescu <ionut@cs.columbia.edu>
154 * utils/rquotad/rquotad.man, utils/statd/statd.man,
155 utils/mountd/mountd.man: updated
157 * utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL)
158 * utils/rquotad/Makefile: fix comment
160 * support/misc/tcpwrapper.c (logit): added comment about waiting
161 for the children after fork()
163 * utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving
164 zombies behind (from logit()'s fork)
165 * utils/rquotad/rquota_svc.c (main): ditto
166 * utils/statd/statd.c (main): ditto
168 * utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG
169 to check_default instead of 0, for prognum
171 * utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG
172 to check_default instead of 0, for prognum
174 * utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if
175 HAVE_TCP_WRAPPER is defined.
176 (mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is
177 defined. Reject an RPC call if check_default () fails.
179 2000-08-25 H.J. Lu <hjl@lucon.org>
181 * support/include/tcpwrapper.h: New for the tcp wrapper
183 * support/misc/Makefile: Likewise.
184 * support/misc/from_local.c: Likewise.
185 * support/misc/tcpwrapper.c: Likewise.
187 * aclocal.m4 (AC_TCP_WRAPPER): New.
188 * configure.in: Use it. Substitute LIBWRAP.
189 * configure: Rebuilt.
191 * config.mk.in (LIBNSL): New.
194 * support/Makefile (SUBDIRS): Add misc.
196 * support/lib/Makefile (LIBS): Add libmisc.a.
198 * utils/rquotad/Makefile (LIBS): Add
200 -lmisc $(LIBWRAP) $(LIBNSL)
202 * utils/statd/Makefile (LIBS): Likewise.
204 * utils/rquotad/rquota_svc.c: Include "tcpwrapper.h" if
205 HAVE_TCP_WRAPPER is defined.
206 (rquotaprog_1): Call check_default () if HAVE_TCP_WRAPPER is
207 defined. Reject an RPC call if check_default () fails.
209 * utils/statd/statd.c: Include "tcpwrapper.h" if
210 HAVE_TCP_WRAPPER is defined.
211 (sm_prog_1_wrapper): New. A wrapper for sm_prog_1. Call
212 check_default () before calling sm_prog_1 (). Define it as
213 sm_prog_1_wrapper if HAVE_TCP_WRAPPER is defined.
215 2000-08-25 Chip Salzenberg <chip@valinux.com>
217 * debian/*: Complete Debian build support.
218 * etc/debian/*: Remove.
220 2000-08-24 Neil Brown <neilb@cse.unsw.edu.au>
222 * support/export/client.c(client_check): removed the "dot+1" as a
223 ypdomain argument to innetgr as this is entirely bogus.
224 It should always be NULL.
226 2000-08-23 Neil Brown <neilb@cse.unsw.edu.au>
228 * support/export/xtab.c(xtab_read): introduce new mode for
229 reading xtab. i.e. a list of exports that might be known to the
230 kernel, or might not. These are flagged as m_exported == -1
231 * support/export/xtab.c(xtab_mount_read): call xtab_read with new
232 value "2" for xtab, meaning don't trust this too much.
233 * support/include/exportfs.h(struct mexport): changed m_exported
234 from one bit to an int so that it can hold new value
235 * utils/exportfs/exportfs.c(exportfs_ipdate): add an export to the
236 kernel if it is uncertain whether the kernel knows (m_exported == -1)
237 * utils/mountd/mountd.c(get_rootfh): similarly export to kernel if
240 * support/nfs/xio.c(xflock): added O_CREAT when getting
241 a write lock so that missing files aren't fatal.
243 * etc/debian/nfs-common: new file from "potato"
244 * etc/debian/nfs-kernel-server: new file from "potato" plus fixes.
246 2000-08-09 H.J. Lu <hjl@lucon.org>
248 * etc/redhat/nfs.init: Run /usr/sbin/exportfs first during
249 startup to ensure all existing clients work fine.
251 * support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0
252 to xtab_read () for reading _PATH_XTAB.
254 2000-08-02 H.J. Lu <hjl@lucon.org>
256 * utils/mountd/auth.c (auth_authenticate_internal): Try to
257 avoid the reverse name lookup.
259 2000-07-04 H.J. Lu <hjl@lucon.org>
261 * utils/statd/log.c: Include <stdlib.h> for exit ().
263 * utils/statd/misc.c (xunlink): Add `{' and `}' to quiet the
266 2000-07-04 H.J. Lu <hjl@lucon.org>
268 * configure.in (VERSION): Set to "0.1.9.1".
269 * configure: Regenerated.
270 * nfs-utils.spec: Updated.
274 2000-07-04 Neil Brown <neilb@cse.unsw.edu.au>
276 * support/export/hostname.c (hostent_dup): Handle the NULL
279 2000-07-03 H.J. Lu <hjl@lucon.org>
281 * README: Update the util-linux requirement.
283 2000-07-03 H.J. Lu <hjl@lucon.org>
285 * configure.in (VERSION): Set to "0.1.9".
286 * configure: Regenerated.
287 * nfs-utils.spec: Updated.
291 2000-07-03 H.J. Lu <hjl@lucon.org>
293 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
294 stop to ensure all clients can still access the server
295 before it is shutdown.
297 2000-06-30 Jeff Uphoff <juphoff@transmeta.com>
299 * tools/rpcgen/rpc_svcout.c (write_msg_out): Generate syslog()
300 calls with format string.
302 2000-06-28 Chip Salzenberg <chip@valinux.com>
304 * utils/statd/log.c (log): Call syslog with format string.
306 2000-06-27 H.J. Lu <hjl@lucon.org>
308 * utils/statd/statd.c (main): Use sysconf (_SC_OPEN_MAX)
311 2000-06-27 H.J. Lu <hjl@lucon.org>
315 2000-06-27 H.J. Lu <hjl@lucon.org>
317 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
318 startup to ensure all existing clients are exported.
320 * configure.in (VERSION): Set to "0.1.8.2".
321 * configure: Regenerated.
322 * nfs-utils.spec: Updated.
324 2000-06-06 H.J. Lu <hjl@lucon.org>
326 * configure.in (VERSION): Set to "0.1.8.1".
327 * configure: Regenerated.
328 * nfs-utils.spec: Updated.
330 2000-06-06 H.J. Lu <hjl@lucon.org>
332 * utils/mountd/mountd.c (mount_dump_1_svc): Cast svc_getcaller
333 to "struct sockaddr_in *" for glibc 2.2.
334 (mount_umnt_1_svc): Likewise.
335 (mount_umntall_1_svc): Likewise.
336 (mount_export_1_svc): Likewise.
337 (mount_exportall_1_svc): Likewise.
338 (mount_pathconf_2_svc): Likewise.
339 (get_rootfh): Likewise.
341 2000-06-04 H.J. Lu <hjl@lucon.org>
343 * etc/redhat/nfs.init: Fix a typo in comment.
345 2000-05-31 H.J. Lu <hjl@lucon.org>
347 * configure.in (VERSION): Set to "0.1.8".
348 * configure: Regenerated.
349 * nfs-utils.spec: Updated.
353 2000-05-31 H.J. Lu <hjl@lucon.org>
355 * configure.in (VERSION): Set to "0.1.7.5".
356 * configure: Regenerated.
357 * nfs-utils.spec: Updated.
359 * support/include/nfslib.h (exportent): Add a new field,
360 r_count, to count the number of mounts from a client.
361 (getrmtabent): Take a new argument for position in file.
362 (putrmtabent): Likewise.
363 (fgetrmtabent): Likewise.
364 (fputrmtabent): Likewise.
365 * support/nfs/rmtab.c (getrmtabent): Handle the new argument
366 for position in file.
367 (fgetrmtabent): Likewise.
368 (putrmtabent): Likewise.
369 (fputrmtabent): Likewise.
371 * support/nfs/rmtab.c (fgetrmtabent): Get value for the new
374 * support/export/rmtab.c (rmtab_read): Pass NULL as the new
375 argument to getrmtabent (), fgetrmtabent (), putrmtabent ()
377 * utils/mountd/rmtab.c (mountlist_add): Likewise.
378 (mountlist_del): Likewise.
379 (mountlist_del_all): Likewise.
380 (mountlist_list): Likewise.
382 * utils/mountd/rmtab.c (mountlist_add): Increment "r_count"
383 for the existing entry and initialize "r_count" to 1.
384 (mountlist_del): Decrement "r_count".
386 2000-05-18 H.J. Lu <hjl@lucon.org>
388 * configure.in (VERSION): Set to "0.1.7.4".
389 * configure: Regenerated.
390 * nfs-utils.spec: Updated.
392 2000-05-18 H.J. Lu <hjl@lucon.org>
394 * etc/redhat/nfs.init (restart): Just do stop and start.
396 2000-05-09 Jay Weber <jweber@valinux.com>
398 * utils/rquotad/hasquota.c: added support for ext3 recognition
400 * utils/rquotad/mntent.h: Likewise.
402 2000-05-01 H.J. Lu <hjl@lucon.org>
404 * configure.in (VERSION): Set to "0.1.7.3".
405 * configure: Regenerated.
406 * nfs-utils.spec: Updated.
408 2000-05-01 H.J. Lu <hjl@lucon.org>
410 * utils/rquotad/rquota_server.c (getquotainfo): Skip bad
411 mounting poins in /etc/fstab.
413 2000-05-01 H.J. Lu <hjl@lucon.org>
415 * configure.in (VERSION): Set to "0.1.7.2".
416 * configure: Regenerated.
417 * nfs-utils.spec: Updated.
419 2000-05-01 H.J. Lu <hjl@lucon.org>
421 * utils/rquotad/rquota_server.c (getquotainfo): Call stat ()
422 to check for the mounting point.
424 2000-04-29 Chip Salzenberg <chip@valinux.com>
425 Neil Brown <neilb@cse.unsw.edu.au>
427 * Really re-use RPC ports.
428 (Fixes earlier patch. Sorry, Neil.)
430 2000-04-26 H.J. Lu <hjl@lucon.org>
432 * configure.in (VERSION): Set to "0.1.7.1".
433 * configure: Regenerated.
434 * nfs-utils.spec: Updated.
436 2000-04-26 H.J. Lu <hjl@lucon.org>
438 * etc/redhat/nfslock.init: Check if lockd exits before killing
441 2000-04-25 H.J. Lu <hjl@lucon.org>
443 * README: Require util-linux-2.10f-mount-rpc.patch for mount.
445 2000-03-21 Michael Weiser <michael@weiser.saale-net.de>
447 * support/nfs/exports.c (parsesquash): Correctly set the
450 Tue Mar 21 11:38:48 EST 2000 NeilBrown <neilb@cse.unsw.edu.au>
452 * support/include/nfs/nfs.h: Removed knowledge of internals of
453 kernel filehandles (which can change) and defined nfs_fh_size
454 which has variable size
456 * support/nfs/getfh.c: defined getfh_size to use new syscall to
457 get variable sized file handles, and change getfh{,old} to
460 * utils/mountd/mountd.c: use nfd_fh_size and call getfh_size for
463 * tools/Makefile, tools/nlmtest/nlmtest.c
464 nlmtest.c depended on internel format of file handles, so now
468 2000-03-12 Chip Salzenberg <chip@valinux.com>
469 Neil Brown <neilb@cse.unsw.edu.au>
471 * support/nfs/rpcmisc.c (rpc_init): Share transports.
473 2000-03-13 H.J. Lu <hjl@lucon.org>
475 * etc/redhat/nfsd.init: Updated.
477 * etc/redhat/nfslock.init: Updated.
479 * nfs-utils.spec.in: Updated.
481 * configure.in (VERSION): Set to "0.1.7".
482 * configure: Regenerated.
483 * nfs-utils.spec: Updated.
487 Wed Mar 8 09:42:43 2000 Neil Brown <neilb@cse.unsw.edu.au>
489 * utils/exportfs/exportfs.c (dump): Included printing of
490 nohide, no_subtree_check, and insecure_locks
492 2000-02-26 Chip Salzenberg <chip@valinux.com>
494 * config.mk.in (INSTALLSUID): Strip ("-s").
495 (INSTALLSCRIPT): Define.
496 * utils/nhfsstone/Makefile: Use it.
498 2000-02-26 Chip Salzenberg <chip@valinux.com>
500 * utils/lockd/lockd.man: Create.
501 * utils/lockd/Makefile: Install it.
502 * utils/nhfsstone/nhfs{run,nums,graph}.man: Create.
503 * utils/nhfsstone/nhfsstone.man: Change suffix from ".1".
504 * utils/nhfsstone/Makefile: Install the helper scripts and
506 * utils/exportfs/exports.man: Fix typo.
508 2000-02-26 Chip Salzenberg <chip@valinux.com>
510 * support/nfs/xio.c (xungetc): Decrement line number when
511 character to unget is newline. Make first parameter int, so
512 it can distinguish EOF from \377.
513 * support/include/xio.h (xungetc): Adjust prototype.
515 Fri Feb 4 23:42:23 2000 Neil Brown <neilb@cse.unsw.edu.au>
517 * support/include/nfs/export.h: added NFSEXP_NOAUTHNLM
518 * support/nfs/exports.c: added handling for NFSEXP_NOAUTHNLM
519 * utils/exportfs/exports.man: added documentation for no_auth_nlm.
521 This is for supporting a new option introduced in 2.3.42
523 Thu Feb 3 14:55:48 2000 H.J. Lu <hjl@lucon.org>
525 * COPYING: Added. GPL.
527 Thu Feb 03 14:40:40 2000 Cristian Gafton <gafton@redhat.com>
529 * utils/rquotad/rquota_server.c (getquotainfo): Call statfs ()
530 to get the block size.
532 Tue Jan 25 11:04:17 2000 H.J. Lu <hjl@lucon.org>
534 * nfs-utils.spec.in: Update ftp site.
536 Mon Jan 17 11:48:18 2000 H.J. Lu <hjl@lucon.org>
538 * README: Update hostnames.
540 Tue Jan 11 10:06:22 2000 H.J. Lu <hjl@lucon.org>
542 * configure.in (VERSION): Set to "0.1.6".
543 * configure: Regenerated.
544 * nfs-utils.spec: Updated.
548 Mon Jan 10 14:26:33 2000 H.J. Lu <hjl@lucon.org>
550 * utils/mountd/auth.c (auth_authenticate_internal): Call
551 xstrdup for hostname before passing it to gethostbyname.
553 * utils/mountd/mountd.c (get_exportlist): Use xstrdup instead
556 Sun Dec 19 09:35:01 1999 H.J. Lu <hjl@lucon.org>
558 * README: Update the mailing list address.
560 Sun Dec 19 09:22:28 1999 H.J. Lu <hjl@lucon.org>
562 * configure.in (VERSION): Set to "0.1.5".
563 * configure: Regenerated.
564 * nfs-utils.spec: Updated.
568 Mon Dec 13 13:40:20 1999 H.J. Lu <hjl@lucon.org>
570 * utils/rquotad/hasquota.c (hasquota): Malloc one more char
573 Mon Dec 6 09:42:45 1999 H.J. Lu <hjl@lucon.org>
575 * configure.in (VERSION): Set to "0.1.4".
576 * configure: Regenerated.
577 * nfs-utils.spec: Updated.
581 Mon Dec 6 09:28:07 1999 H.J. Lu <hjl@lucon.org>
583 * nfs-utils.spec.in: New file.
585 * config.mk.in (VERSION): Changed to "nfs-utils @VERSION@".
587 * configure.in (nfs-utils.spec): Added to AC_OUTPUT.
589 1999-12-04 Chip Salzenberg <chip@valinux.com>
591 * config.mk.in: Use $(CC) as set by configure.
593 1999-12-04 Chip Salzenberg <chip@valinux.com>
595 * rules.mk: Call $(MAKE) with $(MFLAGS).
597 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
599 * tools/rpcgen/rpc_main.c (h_output): Generate IXDR_GET_INT32,
600 IXDR_PUT_INT32, IXDR_GET_U_INT32 and IXDR_PUT_U_INT32.
602 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
604 * nfs-utils.spec (Version): Set to 0.1.3.
606 * configure.in (VERSION): Set to "nfs-utils 0.1.3".
607 * configure: Regenerated.
611 Mon Nov 29 11:15:47 1999 H.J. Lu <hjl@lucon.org>
613 * utils/rquotad/rquota_server.c (nfsmount_to_devname): Removed.
614 (_PATH_DEV_DSK): Likewise.
615 (getquotainfo): Match the mounting point from /etc/mtab
616 instead of calling nfsmount_to_devname ().
618 1999-11-24 Chip Salzenberg <chip@valinux.com>
620 * utils/statd/monitor.c (sm_mon_1_svc): Accept lockd callbacks
621 to the new port 24 as well as the historical port 100021.
623 Tue Nov 23 10:21:34 1999 Neil Brown <neilb@cse.unsw.edu.au>
625 * etc/redhat/nfsd.init (stop): moved exportfs -ua after
626 stopping nfsd to stop spurious ESTALE on server shutdown.
628 Tue Nov 23 10:13:39 1999 Neil Brown <neilb@cse.unsw.edu.au>
630 * support/nfs/exports.c (parseopts): make copy of opt string
631 before 'nul'ing out commas so that
633 # exportfs -o option1,option2 hosta:/fs hostb:/fs
635 applies both options to both exports.
637 Thu Oct 28 12:55:42 1999 H.J. Lu <hjl@lucon.org>
639 * README: Fix a few typos.
641 * tools/rpcgen/rpc_cout.c (print_header): Use int32_t instead
643 * tools/rpcgen/rpc_hout.c (pdefine): Likewise.
644 * tools/rpcgen/rpc_main.c (c_initialize): Likewise.
645 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
646 (unsigned_dec): Likewise.
647 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
648 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
650 * tools/rpcgen/rpc_cout.c (emit_single_in_line): Use INT32
652 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
653 (unsigned_dec): Likewise.
654 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
655 * tools/rpcgen/rpc_scan.h (tok_kind): Likewise.
656 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
658 Thu Oct 28 11:27:51 1999 Neil Brown <neilb@cse.unsw.edu.au>
660 * support/include/nfs/export.h addedd NFSEXP_NOSUBTREECHECK
661 * support/nfs/exports.c: added {no_,}subtree_check and changed
663 * utils/exportfs/exports.man: added no_subtree_check and nohide
664 and removed irrelevant stuff from unfsd.
665 * support/export/rmtab.c: rmtab_read didn't quite do the right
666 thing if a pathname from rmtab was a subdirectory of an export-point
668 Tue Oct 26 17:22:40 1999 H.J. Lu <hjl@lucon.org>
670 * README: Updated ftp site.
672 Mon Oct 25 18:12:45 1999 H.J. Lu <hjl@lucon.org>
674 * nfs-utils.spec (Version): Set to 0.1.2.
676 * configure.in (VERSION): Set to "nfs-utils 0.1.2".
677 * configure: Regenerated.
681 Mon Oct 25 18:11:21 1999 H.J. Lu <hjl@lucon.org>
683 * utils/mountd/auth.c (auth_error): Add "no_forward_dns".
684 (auth_authenticate_internal): Check for NULL return on forward
686 (auth_authenticate): Handle "no_forward_dns".
688 Thu Oct 21 16:22:06 1999 H.J. Lu <hjl@lucon.org>
690 * Version 0.1.1 released.
692 * nfs-utils.spec (Version): Set to 0.1.1.
694 * configure.in (VERSION): Set to "nfs-utils 0.1.1".
695 * configure: Regenerated.
699 Mon Oct 18 17:43:29 1999 H.J. Lu <hjl@lucon.org>
701 * nfs-utils.spec (Obsoletes): Fixed a typo, change knfsd-client
703 (Provides): Likewise.
705 Mon Oct 18 14:56:22 1999 H.J. Lu <hjl@lucon.org>
707 * Initial version 0.1 released.
709 * configure.in (VERSION): Set to "nfs-utils 0.1".
710 * configure: Regenerated.
712 Mon Oct 18 14:54:57 1999 H.J. Lu <hjl@lucon.org>
714 * utils/mountd/mountd.c (get_exportlist): Cleanup.
716 * utils/exportfs/exportfs.c (unexport_all): Unexport from
717 kernel only if the entry is exported to kernel.
718 (unexportfs): Likewise.
720 Wed Sep 08 16:49:32 1999 Neil Brown <neilb@cse.unsw.edu.au>
722 1/ utils/mountd/rmtab.c::mountlist_list
724 This routine stats the rmtab file to see if it has changed. It
725 if has, it cleans up it's old copy of the data. But it still
726 always re-read the file, thus returning multiple copies of the
727 data on consecutive calls without intervening changes.
728 "Showmount -a" didn't show this as it appears to sort/unique the
729 data, but 'strace showmount -a' showed that the size of the
730 datagram that it received grew.
732 I moved the getrmtabent loop inside the mtime test.
734 2/ utils/exportfs/exportfs.c
736 Many routines used the m_path field of m_export instead of
738 According to the comment in nfslib.h, m_path should only
739 be used when processing a mount request (i.e. in mountd)
740 where the mountpoint may be a subdirectory of the export point.
742 I changed all occurances of m_path to e_path
745 3/ utils/exportfs/exportfs.c:main
747 extra arguments are not meaningful with -a or -r, but
748 exportfs accepted them and then ignored the -a/-r, expect that
749 -r would still unexport everything first.
751 I generate an error if there are extra args and f_all
753 4/ utils/exportfs/exportfs.c:main
754 extract dump out as a special case.
756 5/ utils/exportfs/exportfs.c
757 made f_reexport a local variable.
760 6/ utils/exportfs/exportfs.c:main,exportall
762 support/export/rmtab.c
763 only mayexport on newly created entries, don't set xtabent at all
765 7/ support/include/nfslib.h
767 add #define _PATH_PROC_EXPORTS to be /proc/fs/nds/exports
769 8/ support/export/xtab.c
771 xtab_mount_read loads data from _PATH_PROC_EXPORTS if it exists,
775 9/ support/export/xtab.c
777 xtab_mount_read now sets m_exported, and NOT
778 xtabent and mayexport
780 removed the append arguement from xtab_write as it was
783 added is_export flag to xtab_write similar to xtab_read
784 if is_export, only write entries with m_xtabent or m_addxtab
785 if !is_export, only write entries with m_exported
787 10/ support/export/export.c::export_allowed_internal
789 added test for exp->m_mayexport, as the export tree
790 may have entries that are no longer allowed to be exported,
791 and so shouldn't caused deduced exported by rmtab_read
793 11/ utils/exportfs/exportfs.c::main
794 error checking of flags.
796 12/ utils/exportfs/exportfs.c
798 total rewrite of export and unexport logic.
800 - build an exportslist of valid exports, based on
801 current etab file and arguments,
802 - read rmtab to instantiate relevant wild card entries
803 - read etab to find out what is currently exported
804 - synchronise intention with reality
805 - write out etab and xtab
808 discard the m_addxtab flag
809 add m_changed flag so we know what to report in exportfs
811 14/ utils/mountd/auth.c:auth_authenticate
813 the value returned by gethostbyaddr was trusted.
815 It now follows this with a call to gethostbyname
816 and checks that the address is in the list.
818 15/ support/export/nfsctl.c::cltsetup,expsetup
820 force client names to lowercase as kernel is
823 16/ quietened a few compiler warnings
825 17/ support/export/client:client_lookup
827 look for pre-existing client with same name before creating
830 18/ support/include/exportfs.h
832 The ordering of the MCL_* enum was:
833 ANONYMOUS, FQDN, SUBNETWORK, WILDCARD, NETGROUP
835 I moved ANONYMOUS to the end.
837 The ordering is significant when an export entry is being searched for to
838 match a given address. There are two problems with ANONYMOUS being first.
840 1/ if a directory is exported rw to a couple of hosts and ro to everyone else,
841 then the ro case will always be found first and the privileged hosts won't get
843 2/ When mountd gets a request to mount an ANONYMOUSly exported tree, it creates a FQDN
844 export entry for the specific host, and writes it to xtab.
845 When another request comes from the same host, the ANONYMOUS entry is found again,
846 before the new FQDN entry, so it creates another FQDN entry and writes it to xtab
847 again. If causes bloat in xtab.
849 Putting ANONYMOUS at the end reflects it's nature as a catch-all
851 19/ utils/exportfs/exportfs.man
852 many updates to the man page to reflect changes to the code
854 -----------------------
860 - allow exportfs to modify rmtab file
861 - make sure kernel never gets two clients with same IP address
862 - possible kernel should reject
863 - needs to be some way to lookup client in kernel by IP address
864 - maybe get kernel to do case-insensitive comparisons on client names
865 - remove unused clients from kernel
867 - change etab to xtab and xtab to xtab.active
869 - timestamp and/or statd-stamp in rmtab for removing old entries.
871 Mon Oct 18 11:48:07 1999 H.J. Lu <hjl@lucon.org>
873 * linux-nfs: New directory.
874 * linux-nfs/ChangeLog: Moved from ..
875 * linux-nfs/INSTALL: Likewise.
876 * linux-nfs/KNOWNBUGS: Likewise.
877 * linux-nfs/NEW: Likewise.
878 * linux-nfs/README: Likewise.
879 * linux-nfs/THANKS: Likewise.
880 * linux-nfs/TODO: Likewise.
882 * Starting from knfsd 1.4.7.