1 2000-11-24 Neil Brown <neilb@cse.unsw.edu.au>
3 * support/nfs/exports.c (getexportent): Check for host name without option,
4 or options without hostname, and print a warning, as this is most likely a typo.
6 2000-11-19 Chip Salzenberg <chip@valinux.com>
8 * debian/control: Add dependency on portmap.
9 * debian/changelog: Version 0.2.1-3.
11 2000-11-10 H.J. Lu <hjl@lucon.org>
13 * nfs-utils.spec.in: Don't use libtool.
14 Add ChangeLog and COPYING to doc.
15 * nfs-utils.spec: Rebuild.
17 2000-11-09 H.J. Lu <hjl@lucon.org>
19 * etc/redhat/nfs.init (start): Back out the last change.
21 2000-11-09 H.J. Lu <hjl@lucon.org>
23 * etc/redhat/nfs.init (start): Pass --no-tcp to mountd if
24 TCP is not supported by kernel.
26 * support/nfs/rpcmisc.c (rpc_init): Don't set _rpcfdtype to 0.
28 * utils/mountd/mountd.c (longopts): Add "-n/--no-tcp".
29 (main): Set to _rpcfdtype to SOCK_DGRAM for "-n/--no-tcp".
31 * utils/mountd/mountd.man: Updated for "-n/--no-tcp".
33 2000-10-24 Lon Hohberger <hohberger@missioncriticallinux.com>
35 * utils/statd/callback.c: Fix bug preventing callbacks to local lockd.
36 * utils/statd/rmtcall.c: Add some IP address paranoia when doing
37 callbacks to local lockd.
39 2000-10-18 Scott McDermott <mcdermot@questra.com>
41 * utils/exportfs/exports.man: Updated for CIDR netmask.
43 2000-10-17 Scott McDermott <mcdermot@questra.com>
45 * support/export/client.c (client_init): Support CIDR netmask
48 2000-10-11 H.J. Lu <hjl@lucon.org>
50 * aclocal.m4 (AC_TCP_WRAPPER): Fix a typo.
53 2000-10-06 Lon Hohberger <hohberger@missioncriticallinux.com>
55 * utils/statd/statd.man: Change "/var/lib/nfs/sm/state" to
58 2000-10-05 Lon Hohberger <hohberger@missioncriticallinux.com>
60 * utils/statd/statd.h (run_mode): New global bitmask of runtime
61 behaviors: fg/bg, logging, etc.
62 * utils/statd/statd.c: New command line options: -V -h -? -d .
63 * utils/statd/statd.man: Update for changes to statd.
65 * utils/statd/log.h (log_init): Remove parameter of function; use
66 global variable "name_p" instead.
67 * utils/statd/log.c: Add support for logging to stderr.
69 * utils/statd/notlist.c: Partially rewrite notify list handling
70 functions. Eliminate run-off-end-of-list bug when calling
71 nlist_insert_timer. Add lots of comments.
73 2000-09-27 H.J. Lu <hjl@lucon.org>
75 * README: Updated for RedHat 7.0.
77 2000-09-27 H.J. Lu <hjl@lucon.org>
79 * nfs-utils.spec: Rebuild.
81 2000-09-27 H.J. Lu <hjl@lucon.org>
83 * README: Updated for 0.2.1.
85 2000-09-27 H.J. Lu <hjl@lucon.org>
87 * nfs-utils.spec.in: Updated to use rpm macros and support
90 2000-09-25 H.J. Lu <hjl@lucon.org>
92 * configure.in (VERSION): Set to "0.2.1".
93 * configure: Regenerated.
94 * nfs-utils.spec: Updated.
96 2000-09-25 H.J. Lu <hjl@lucon.org>
98 * utils/mountd/auth.c (auth_authenticate_internal): Make sure a
99 non-NULL hostent is always returned.
101 2000-09-11 Ion Badulescu <ionut@moisil.dev.hydraweb.com>
103 * etc/redhat/nfslock.init: don't kill lockd processes that do not
104 have an executable (i.e. kernel threads)
106 2000-09-01 H.J. Lu <hjl@lucon.org>
108 * README: Updated for 0.2.
110 2000-09-01 Jay Weber <jweber@valinux.com>
112 * etc/redhat/nfs.init: Added ability for rpc.mountd to default to
113 supporting version 3 of nfs if available, else it will fall back to
114 version 2 support only.
116 2000-08-30 H.J. Lu <hjl@lucon.org>
118 * configure.in (VERSION): Set to "0.2".
119 * configure: Regenerated.
120 * nfs-utils.spec: Updated.
122 2000-08-25 H.J. Lu <hjl@lucon.org>
124 * support/misc/tcpwrapper.c (logit): Modify the log output.
126 2000-08-25 Ion Badulescu <ionut@cs.columbia.edu>
128 * utils/rquotad/rquotad.man, utils/statd/statd.man,
129 utils/mountd/mountd.man: updated
131 * utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL)
132 * utils/rquotad/Makefile: fix comment
134 * support/misc/tcpwrapper.c (logit): added comment about waiting
135 for the children after fork()
137 * utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving
138 zombies behind (from logit()'s fork)
139 * utils/rquotad/rquota_svc.c (main): ditto
140 * utils/statd/statd.c (main): ditto
142 * utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG
143 to check_default instead of 0, for prognum
145 * utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG
146 to check_default instead of 0, for prognum
148 * utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if
149 HAVE_TCP_WRAPPER is defined.
150 (mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is
151 defined. Reject an RPC call if check_default () fails.
153 2000-08-25 H.J. Lu <hjl@lucon.org>
155 * support/include/tcpwrapper.h: New for the tcp wrapper
157 * support/misc/Makefile: Likewise.
158 * support/misc/from_local.c: Likewise.
159 * support/misc/tcpwrapper.c: Likewise.
161 * aclocal.m4 (AC_TCP_WRAPPER): New.
162 * configure.in: Use it. Substitute LIBWRAP.
163 * configure: Rebuilt.
165 * config.mk.in (LIBNSL): New.
168 * support/Makefile (SUBDIRS): Add misc.
170 * support/lib/Makefile (LIBS): Add libmisc.a.
172 * utils/rquotad/Makefile (LIBS): Add
174 -lmisc $(LIBWRAP) $(LIBNSL)
176 * utils/statd/Makefile (LIBS): Likewise.
178 * utils/rquotad/rquota_svc.c: Include "tcpwrapper.h" if
179 HAVE_TCP_WRAPPER is defined.
180 (rquotaprog_1): Call check_default () if HAVE_TCP_WRAPPER is
181 defined. Reject an RPC call if check_default () fails.
183 * utils/statd/statd.c: Include "tcpwrapper.h" if
184 HAVE_TCP_WRAPPER is defined.
185 (sm_prog_1_wrapper): New. A wrapper for sm_prog_1. Call
186 check_default () before calling sm_prog_1 (). Define it as
187 sm_prog_1_wrapper if HAVE_TCP_WRAPPER is defined.
189 2000-08-25 Chip Salzenberg <chip@valinux.com>
191 * debian/*: Complete Debian build support.
192 * etc/debian/*: Remove.
194 2000-08-24 Neil Brown <neilb@cse.unsw.edu.au>
196 * support/export/client.c(client_check): removed the "dot+1" as a
197 ypdomain argument to innetgr as this is entirely bogus.
198 It should always be NULL.
200 2000-08-23 Neil Brown <neilb@cse.unsw.edu.au>
202 * support/export/xtab.c(xtab_read): introduce new mode for
203 reading xtab. i.e. a list of exports that might be known to the
204 kernel, or might not. These are flagged as m_exported == -1
205 * support/export/xtab.c(xtab_mount_read): call xtab_read with new
206 value "2" for xtab, meaning don't trust this too much.
207 * support/include/exportfs.h(struct mexport): changed m_exported
208 from one bit to an int so that it can hold new value
209 * utils/exportfs/exportfs.c(exportfs_ipdate): add an export to the
210 kernel if it is uncertain whether the kernel knows (m_exported == -1)
211 * utils/mountd/mountd.c(get_rootfh): similarly export to kernel if
214 * support/nfs/xio.c(xflock): added O_CREAT when getting
215 a write lock so that missing files aren't fatal.
217 * etc/debian/nfs-common: new file from "potato"
218 * etc/debian/nfs-kernel-server: new file from "potato" plus fixes.
220 2000-08-09 H.J. Lu <hjl@lucon.org>
222 * etc/redhat/nfs.init: Run /usr/sbin/exportfs first during
223 startup to ensure all existing clients work fine.
225 * support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0
226 to xtab_read () for reading _PATH_XTAB.
228 2000-08-02 H.J. Lu <hjl@lucon.org>
230 * utils/mountd/auth.c (auth_authenticate_internal): Try to
231 avoid the reverse name lookup.
233 2000-07-04 H.J. Lu <hjl@lucon.org>
235 * utils/statd/log.c: Include <stdlib.h> for exit ().
237 * utils/statd/misc.c (xunlink): Add `{' and `}' to quiet the
240 2000-07-04 H.J. Lu <hjl@lucon.org>
242 * configure.in (VERSION): Set to "0.1.9.1".
243 * configure: Regenerated.
244 * nfs-utils.spec: Updated.
248 2000-07-04 Neil Brown <neilb@cse.unsw.edu.au>
250 * support/export/hostname.c (hostent_dup): Handle the NULL
253 2000-07-03 H.J. Lu <hjl@lucon.org>
255 * README: Update the util-linux requirement.
257 2000-07-03 H.J. Lu <hjl@lucon.org>
259 * configure.in (VERSION): Set to "0.1.9".
260 * configure: Regenerated.
261 * nfs-utils.spec: Updated.
265 2000-07-03 H.J. Lu <hjl@lucon.org>
267 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
268 stop to ensure all clients can still access the server
269 before it is shutdown.
271 2000-06-30 Jeff Uphoff <juphoff@transmeta.com>
273 * tools/rpcgen/rpc_svcout.c (write_msg_out): Generate syslog()
274 calls with format string.
276 2000-06-28 Chip Salzenberg <chip@valinux.com>
278 * utils/statd/log.c (log): Call syslog with format string.
280 2000-06-27 H.J. Lu <hjl@lucon.org>
282 * utils/statd/statd.c (main): Use sysconf (_SC_OPEN_MAX)
285 2000-06-27 H.J. Lu <hjl@lucon.org>
289 2000-06-27 H.J. Lu <hjl@lucon.org>
291 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
292 startup to ensure all existing clients are exported.
294 * configure.in (VERSION): Set to "0.1.8.2".
295 * configure: Regenerated.
296 * nfs-utils.spec: Updated.
298 2000-06-06 H.J. Lu <hjl@lucon.org>
300 * configure.in (VERSION): Set to "0.1.8.1".
301 * configure: Regenerated.
302 * nfs-utils.spec: Updated.
304 2000-06-06 H.J. Lu <hjl@lucon.org>
306 * utils/mountd/mountd.c (mount_dump_1_svc): Cast svc_getcaller
307 to "struct sockaddr_in *" for glibc 2.2.
308 (mount_umnt_1_svc): Likewise.
309 (mount_umntall_1_svc): Likewise.
310 (mount_export_1_svc): Likewise.
311 (mount_exportall_1_svc): Likewise.
312 (mount_pathconf_2_svc): Likewise.
313 (get_rootfh): Likewise.
315 2000-06-04 H.J. Lu <hjl@lucon.org>
317 * etc/redhat/nfs.init: Fix a typo in comment.
319 2000-05-31 H.J. Lu <hjl@lucon.org>
321 * configure.in (VERSION): Set to "0.1.8".
322 * configure: Regenerated.
323 * nfs-utils.spec: Updated.
327 2000-05-31 H.J. Lu <hjl@lucon.org>
329 * configure.in (VERSION): Set to "0.1.7.5".
330 * configure: Regenerated.
331 * nfs-utils.spec: Updated.
333 * support/include/nfslib.h (exportent): Add a new field,
334 r_count, to count the number of mounts from a client.
335 (getrmtabent): Take a new argument for position in file.
336 (putrmtabent): Likewise.
337 (fgetrmtabent): Likewise.
338 (fputrmtabent): Likewise.
339 * support/nfs/rmtab.c (getrmtabent): Handle the new argument
340 for position in file.
341 (fgetrmtabent): Likewise.
342 (putrmtabent): Likewise.
343 (fputrmtabent): Likewise.
345 * support/nfs/rmtab.c (fgetrmtabent): Get value for the new
348 * support/export/rmtab.c (rmtab_read): Pass NULL as the new
349 argument to getrmtabent (), fgetrmtabent (), putrmtabent ()
351 * utils/mountd/rmtab.c (mountlist_add): Likewise.
352 (mountlist_del): Likewise.
353 (mountlist_del_all): Likewise.
354 (mountlist_list): Likewise.
356 * utils/mountd/rmtab.c (mountlist_add): Increment "r_count"
357 for the existing entry and initialize "r_count" to 1.
358 (mountlist_del): Decrement "r_count".
360 2000-05-18 H.J. Lu <hjl@lucon.org>
362 * configure.in (VERSION): Set to "0.1.7.4".
363 * configure: Regenerated.
364 * nfs-utils.spec: Updated.
366 2000-05-18 H.J. Lu <hjl@lucon.org>
368 * etc/redhat/nfs.init (restart): Just do stop and start.
370 2000-05-09 Jay Weber <jweber@valinux.com>
372 * utils/rquotad/hasquota.c: added support for ext3 recognition
374 * utils/rquotad/mntent.h: Likewise.
376 2000-05-01 H.J. Lu <hjl@lucon.org>
378 * configure.in (VERSION): Set to "0.1.7.3".
379 * configure: Regenerated.
380 * nfs-utils.spec: Updated.
382 2000-05-01 H.J. Lu <hjl@lucon.org>
384 * utils/rquotad/rquota_server.c (getquotainfo): Skip bad
385 mounting poins in /etc/fstab.
387 2000-05-01 H.J. Lu <hjl@lucon.org>
389 * configure.in (VERSION): Set to "0.1.7.2".
390 * configure: Regenerated.
391 * nfs-utils.spec: Updated.
393 2000-05-01 H.J. Lu <hjl@lucon.org>
395 * utils/rquotad/rquota_server.c (getquotainfo): Call stat ()
396 to check for the mounting point.
398 2000-04-29 Chip Salzenberg <chip@valinux.com>
399 Neil Brown <neilb@cse.unsw.edu.au>
401 * Really re-use RPC ports.
402 (Fixes earlier patch. Sorry, Neil.)
404 2000-04-26 H.J. Lu <hjl@lucon.org>
406 * configure.in (VERSION): Set to "0.1.7.1".
407 * configure: Regenerated.
408 * nfs-utils.spec: Updated.
410 2000-04-26 H.J. Lu <hjl@lucon.org>
412 * etc/redhat/nfslock.init: Check if lockd exits before killing
415 2000-04-25 H.J. Lu <hjl@lucon.org>
417 * README: Require util-linux-2.10f-mount-rpc.patch for mount.
419 2000-03-21 Michael Weiser <michael@weiser.saale-net.de>
421 * support/nfs/exports.c (parsesquash): Correctly set the
424 Tue Mar 21 11:38:48 EST 2000 NeilBrown <neilb@cse.unsw.edu.au>
426 * support/include/nfs/nfs.h: Removed knowledge of internals of
427 kernel filehandles (which can change) and defined nfs_fh_size
428 which has variable size
430 * support/nfs/getfh.c: defined getfh_size to use new syscall to
431 get variable sized file handles, and change getfh{,old} to
434 * utils/mountd/mountd.c: use nfd_fh_size and call getfh_size for
437 * tools/Makefile, tools/nlmtest/nlmtest.c
438 nlmtest.c depended on internel format of file handles, so now
442 2000-03-12 Chip Salzenberg <chip@valinux.com>
443 Neil Brown <neilb@cse.unsw.edu.au>
445 * support/nfs/rpcmisc.c (rpc_init): Share transports.
447 2000-03-13 H.J. Lu <hjl@lucon.org>
449 * etc/redhat/nfsd.init: Updated.
451 * etc/redhat/nfslock.init: Updated.
453 * nfs-utils.spec.in: Updated.
455 * configure.in (VERSION): Set to "0.1.7".
456 * configure: Regenerated.
457 * nfs-utils.spec: Updated.
461 Wed Mar 8 09:42:43 2000 Neil Brown <neilb@cse.unsw.edu.au>
463 * utils/exportfs/exportfs.c (dump): Included printing of
464 nohide, no_subtree_check, and insecure_locks
466 2000-02-26 Chip Salzenberg <chip@valinux.com>
468 * config.mk.in (INSTALLSUID): Strip ("-s").
469 (INSTALLSCRIPT): Define.
470 * utils/nhfsstone/Makefile: Use it.
472 2000-02-26 Chip Salzenberg <chip@valinux.com>
474 * utils/lockd/lockd.man: Create.
475 * utils/lockd/Makefile: Install it.
476 * utils/nhfsstone/nhfs{run,nums,graph}.man: Create.
477 * utils/nhfsstone/nhfsstone.man: Change suffix from ".1".
478 * utils/nhfsstone/Makefile: Install the helper scripts and
480 * utils/exportfs/exports.man: Fix typo.
482 2000-02-26 Chip Salzenberg <chip@valinux.com>
484 * support/nfs/xio.c (xungetc): Decrement line number when
485 character to unget is newline. Make first parameter int, so
486 it can distinguish EOF from \377.
487 * support/include/xio.h (xungetc): Adjust prototype.
489 Fri Feb 4 23:42:23 2000 Neil Brown <neilb@cse.unsw.edu.au>
491 * support/include/nfs/export.h: added NFSEXP_NOAUTHNLM
492 * support/nfs/exports.c: added handling for NFSEXP_NOAUTHNLM
493 * utils/exportfs/exports.man: added documentation for no_auth_nlm.
495 This is for supporting a new option introduced in 2.3.42
497 Thu Feb 3 14:55:48 2000 H.J. Lu <hjl@lucon.org>
499 * COPYING: Added. GPL.
501 Thu Feb 03 14:40:40 2000 Cristian Gafton <gafton@redhat.com>
503 * utils/rquotad/rquota_server.c (getquotainfo): Call statfs ()
504 to get the block size.
506 Tue Jan 25 11:04:17 2000 H.J. Lu <hjl@lucon.org>
508 * nfs-utils.spec.in: Update ftp site.
510 Mon Jan 17 11:48:18 2000 H.J. Lu <hjl@lucon.org>
512 * README: Update hostnames.
514 Tue Jan 11 10:06:22 2000 H.J. Lu <hjl@lucon.org>
516 * configure.in (VERSION): Set to "0.1.6".
517 * configure: Regenerated.
518 * nfs-utils.spec: Updated.
522 Mon Jan 10 14:26:33 2000 H.J. Lu <hjl@lucon.org>
524 * utils/mountd/auth.c (auth_authenticate_internal): Call
525 xstrdup for hostname before passing it to gethostbyname.
527 * utils/mountd/mountd.c (get_exportlist): Use xstrdup instead
530 Sun Dec 19 09:35:01 1999 H.J. Lu <hjl@lucon.org>
532 * README: Update the mailing list address.
534 Sun Dec 19 09:22:28 1999 H.J. Lu <hjl@lucon.org>
536 * configure.in (VERSION): Set to "0.1.5".
537 * configure: Regenerated.
538 * nfs-utils.spec: Updated.
542 Mon Dec 13 13:40:20 1999 H.J. Lu <hjl@lucon.org>
544 * utils/rquotad/hasquota.c (hasquota): Malloc one more char
547 Mon Dec 6 09:42:45 1999 H.J. Lu <hjl@lucon.org>
549 * configure.in (VERSION): Set to "0.1.4".
550 * configure: Regenerated.
551 * nfs-utils.spec: Updated.
555 Mon Dec 6 09:28:07 1999 H.J. Lu <hjl@lucon.org>
557 * nfs-utils.spec.in: New file.
559 * config.mk.in (VERSION): Changed to "nfs-utils @VERSION@".
561 * configure.in (nfs-utils.spec): Added to AC_OUTPUT.
563 1999-12-04 Chip Salzenberg <chip@valinux.com>
565 * config.mk.in: Use $(CC) as set by configure.
567 1999-12-04 Chip Salzenberg <chip@valinux.com>
569 * rules.mk: Call $(MAKE) with $(MFLAGS).
571 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
573 * tools/rpcgen/rpc_main.c (h_output): Generate IXDR_GET_INT32,
574 IXDR_PUT_INT32, IXDR_GET_U_INT32 and IXDR_PUT_U_INT32.
576 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
578 * nfs-utils.spec (Version): Set to 0.1.3.
580 * configure.in (VERSION): Set to "nfs-utils 0.1.3".
581 * configure: Regenerated.
585 Mon Nov 29 11:15:47 1999 H.J. Lu <hjl@lucon.org>
587 * utils/rquotad/rquota_server.c (nfsmount_to_devname): Removed.
588 (_PATH_DEV_DSK): Likewise.
589 (getquotainfo): Match the mounting point from /etc/mtab
590 instead of calling nfsmount_to_devname ().
592 1999-11-24 Chip Salzenberg <chip@valinux.com>
594 * utils/statd/monitor.c (sm_mon_1_svc): Accept lockd callbacks
595 to the new port 24 as well as the historical port 100021.
597 Tue Nov 23 10:21:34 1999 Neil Brown <neilb@cse.unsw.edu.au>
599 * etc/redhat/nfsd.init (stop): moved exportfs -ua after
600 stopping nfsd to stop spurious ESTALE on server shutdown.
602 Tue Nov 23 10:13:39 1999 Neil Brown <neilb@cse.unsw.edu.au>
604 * support/nfs/exports.c (parseopts): make copy of opt string
605 before 'nul'ing out commas so that
607 # exportfs -o option1,option2 hosta:/fs hostb:/fs
609 applies both options to both exports.
611 Thu Oct 28 12:55:42 1999 H.J. Lu <hjl@lucon.org>
613 * README: Fix a few typos.
615 * tools/rpcgen/rpc_cout.c (print_header): Use int32_t instead
617 * tools/rpcgen/rpc_hout.c (pdefine): Likewise.
618 * tools/rpcgen/rpc_main.c (c_initialize): Likewise.
619 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
620 (unsigned_dec): Likewise.
621 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
622 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
624 * tools/rpcgen/rpc_cout.c (emit_single_in_line): Use INT32
626 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
627 (unsigned_dec): Likewise.
628 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
629 * tools/rpcgen/rpc_scan.h (tok_kind): Likewise.
630 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
632 Thu Oct 28 11:27:51 1999 Neil Brown <neilb@cse.unsw.edu.au>
634 * support/include/nfs/export.h addedd NFSEXP_NOSUBTREECHECK
635 * support/nfs/exports.c: added {no_,}subtree_check and changed
637 * utils/exportfs/exports.man: added no_subtree_check and nohide
638 and removed irrelevant stuff from unfsd.
639 * support/export/rmtab.c: rmtab_read didn't quite do the right
640 thing if a pathname from rmtab was a subdirectory of an export-point
642 Tue Oct 26 17:22:40 1999 H.J. Lu <hjl@lucon.org>
644 * README: Updated ftp site.
646 Mon Oct 25 18:12:45 1999 H.J. Lu <hjl@lucon.org>
648 * nfs-utils.spec (Version): Set to 0.1.2.
650 * configure.in (VERSION): Set to "nfs-utils 0.1.2".
651 * configure: Regenerated.
655 Mon Oct 25 18:11:21 1999 H.J. Lu <hjl@lucon.org>
657 * utils/mountd/auth.c (auth_error): Add "no_forward_dns".
658 (auth_authenticate_internal): Check for NULL return on forward
660 (auth_authenticate): Handle "no_forward_dns".
662 Thu Oct 21 16:22:06 1999 H.J. Lu <hjl@lucon.org>
664 * Version 0.1.1 released.
666 * nfs-utils.spec (Version): Set to 0.1.1.
668 * configure.in (VERSION): Set to "nfs-utils 0.1.1".
669 * configure: Regenerated.
673 Mon Oct 18 17:43:29 1999 H.J. Lu <hjl@lucon.org>
675 * nfs-utils.spec (Obsoletes): Fixed a typo, change knfsd-client
677 (Provides): Likewise.
679 Mon Oct 18 14:56:22 1999 H.J. Lu <hjl@lucon.org>
681 * Initial version 0.1 released.
683 * configure.in (VERSION): Set to "nfs-utils 0.1".
684 * configure: Regenerated.
686 Mon Oct 18 14:54:57 1999 H.J. Lu <hjl@lucon.org>
688 * utils/mountd/mountd.c (get_exportlist): Cleanup.
690 * utils/exportfs/exportfs.c (unexport_all): Unexport from
691 kernel only if the entry is exported to kernel.
692 (unexportfs): Likewise.
694 Wed Sep 08 16:49:32 1999 Neil Brown <neilb@cse.unsw.edu.au>
696 1/ utils/mountd/rmtab.c::mountlist_list
698 This routine stats the rmtab file to see if it has changed. It
699 if has, it cleans up it's old copy of the data. But it still
700 always re-read the file, thus returning multiple copies of the
701 data on consecutive calls without intervening changes.
702 "Showmount -a" didn't show this as it appears to sort/unique the
703 data, but 'strace showmount -a' showed that the size of the
704 datagram that it received grew.
706 I moved the getrmtabent loop inside the mtime test.
708 2/ utils/exportfs/exportfs.c
710 Many routines used the m_path field of m_export instead of
712 According to the comment in nfslib.h, m_path should only
713 be used when processing a mount request (i.e. in mountd)
714 where the mountpoint may be a subdirectory of the export point.
716 I changed all occurances of m_path to e_path
719 3/ utils/exportfs/exportfs.c:main
721 extra arguments are not meaningful with -a or -r, but
722 exportfs accepted them and then ignored the -a/-r, expect that
723 -r would still unexport everything first.
725 I generate an error if there are extra args and f_all
727 4/ utils/exportfs/exportfs.c:main
728 extract dump out as a special case.
730 5/ utils/exportfs/exportfs.c
731 made f_reexport a local variable.
734 6/ utils/exportfs/exportfs.c:main,exportall
736 support/export/rmtab.c
737 only mayexport on newly created entries, don't set xtabent at all
739 7/ support/include/nfslib.h
741 add #define _PATH_PROC_EXPORTS to be /proc/fs/nds/exports
743 8/ support/export/xtab.c
745 xtab_mount_read loads data from _PATH_PROC_EXPORTS if it exists,
749 9/ support/export/xtab.c
751 xtab_mount_read now sets m_exported, and NOT
752 xtabent and mayexport
754 removed the append arguement from xtab_write as it was
757 added is_export flag to xtab_write similar to xtab_read
758 if is_export, only write entries with m_xtabent or m_addxtab
759 if !is_export, only write entries with m_exported
761 10/ support/export/export.c::export_allowed_internal
763 added test for exp->m_mayexport, as the export tree
764 may have entries that are no longer allowed to be exported,
765 and so shouldn't caused deduced exported by rmtab_read
767 11/ utils/exportfs/exportfs.c::main
768 error checking of flags.
770 12/ utils/exportfs/exportfs.c
772 total rewrite of export and unexport logic.
774 - build an exportslist of valid exports, based on
775 current etab file and arguments,
776 - read rmtab to instantiate relevant wild card entries
777 - read etab to find out what is currently exported
778 - synchronise intention with reality
779 - write out etab and xtab
782 discard the m_addxtab flag
783 add m_changed flag so we know what to report in exportfs
785 14/ utils/mountd/auth.c:auth_authenticate
787 the value returned by gethostbyaddr was trusted.
789 It now follows this with a call to gethostbyname
790 and checks that the address is in the list.
792 15/ support/export/nfsctl.c::cltsetup,expsetup
794 force client names to lowercase as kernel is
797 16/ quietened a few compiler warnings
799 17/ support/export/client:client_lookup
801 look for pre-existing client with same name before creating
804 18/ support/include/exportfs.h
806 The ordering of the MCL_* enum was:
807 ANONYMOUS, FQDN, SUBNETWORK, WILDCARD, NETGROUP
809 I moved ANONYMOUS to the end.
811 The ordering is significant when an export entry is being searched for to
812 match a given address. There are two problems with ANONYMOUS being first.
814 1/ if a directory is exported rw to a couple of hosts and ro to everyone else,
815 then the ro case will always be found first and the privileged hosts won't get
817 2/ When mountd gets a request to mount an ANONYMOUSly exported tree, it creates a FQDN
818 export entry for the specific host, and writes it to xtab.
819 When another request comes from the same host, the ANONYMOUS entry is found again,
820 before the new FQDN entry, so it creates another FQDN entry and writes it to xtab
821 again. If causes bloat in xtab.
823 Putting ANONYMOUS at the end reflects it's nature as a catch-all
825 19/ utils/exportfs/exportfs.man
826 many updates to the man page to reflect changes to the code
828 -----------------------
834 - allow exportfs to modify rmtab file
835 - make sure kernel never gets two clients with same IP address
836 - possible kernel should reject
837 - needs to be some way to lookup client in kernel by IP address
838 - maybe get kernel to do case-insensitive comparisons on client names
839 - remove unused clients from kernel
841 - change etab to xtab and xtab to xtab.active
843 - timestamp and/or statd-stamp in rmtab for removing old entries.
845 Mon Oct 18 11:48:07 1999 H.J. Lu <hjl@lucon.org>
847 * linux-nfs: New directory.
848 * linux-nfs/ChangeLog: Moved from ..
849 * linux-nfs/INSTALL: Likewise.
850 * linux-nfs/KNOWNBUGS: Likewise.
851 * linux-nfs/NEW: Likewise.
852 * linux-nfs/README: Likewise.
853 * linux-nfs/THANKS: Likewise.
854 * linux-nfs/TODO: Likewise.
856 * Starting from knfsd 1.4.7.