1 2000-12-10 Chip Salzenberg <chip@valinux.com>
3 * utils/statd/monitor.c (sm_mon_1_svc): Fix buggy check for
4 program and procedure numbers of kernel lockd's callback. Also,
5 besides the old (and broken) procedure #24, allow #16 per Trond.
7 2000-12-03 Chip Salzenberg <chip@valinux.com>
9 * support/nfs/xio.c (xfopen): Initialize x_line to one, not zero.
10 * debian/control: Let nhfsstone replace files in nfs-kernel-server.
11 * debian/changelog: Version 0.2.1-4.
13 2000-11-27 Tobias Ringstrom <tori@tellus.mine.nu>
15 * utils/mountd/auth.c (auth_authenticate): Log the bad path
18 2000-11-24 Neil Brown <neilb@cse.unsw.edu.au>
20 * support/nfs/exports.c (getexportent): Check for host name
21 without option, or options without hostname, and print a warning,
22 as this is most likely a typo.
24 2000-11-19 Chip Salzenberg <chip@valinux.com>
26 * debian/control: Add dependency on portmap.
27 * debian/changelog: Version 0.2.1-3.
29 2000-11-10 H.J. Lu <hjl@lucon.org>
31 * nfs-utils.spec.in: Don't use libtool.
32 Add ChangeLog and COPYING to doc.
33 * nfs-utils.spec: Rebuild.
35 2000-11-09 H.J. Lu <hjl@lucon.org>
37 * etc/redhat/nfs.init (start): Back out the last change.
39 2000-11-09 H.J. Lu <hjl@lucon.org>
41 * etc/redhat/nfs.init (start): Pass --no-tcp to mountd if
42 TCP is not supported by kernel.
44 * support/nfs/rpcmisc.c (rpc_init): Don't set _rpcfdtype to 0.
46 * utils/mountd/mountd.c (longopts): Add "-n/--no-tcp".
47 (main): Set to _rpcfdtype to SOCK_DGRAM for "-n/--no-tcp".
49 * utils/mountd/mountd.man: Updated for "-n/--no-tcp".
51 2000-10-24 Lon Hohberger <hohberger@missioncriticallinux.com>
53 * utils/statd/callback.c: Fix bug preventing callbacks to local lockd.
54 * utils/statd/rmtcall.c: Add some IP address paranoia when doing
55 callbacks to local lockd.
57 2000-10-18 Scott McDermott <mcdermot@questra.com>
59 * utils/exportfs/exports.man: Updated for CIDR netmask.
61 2000-10-17 Scott McDermott <mcdermot@questra.com>
63 * support/export/client.c (client_init): Support CIDR netmask
66 2000-10-11 H.J. Lu <hjl@lucon.org>
68 * aclocal.m4 (AC_TCP_WRAPPER): Fix a typo.
71 2000-10-06 Lon Hohberger <hohberger@missioncriticallinux.com>
73 * utils/statd/statd.man: Change "/var/lib/nfs/sm/state" to
76 2000-10-05 Lon Hohberger <hohberger@missioncriticallinux.com>
78 * utils/statd/statd.h (run_mode): New global bitmask of runtime
79 behaviors: fg/bg, logging, etc.
80 * utils/statd/statd.c: New command line options: -V -h -? -d .
81 * utils/statd/statd.man: Update for changes to statd.
83 * utils/statd/log.h (log_init): Remove parameter of function; use
84 global variable "name_p" instead.
85 * utils/statd/log.c: Add support for logging to stderr.
87 * utils/statd/notlist.c: Partially rewrite notify list handling
88 functions. Eliminate run-off-end-of-list bug when calling
89 nlist_insert_timer. Add lots of comments.
91 2000-09-27 H.J. Lu <hjl@lucon.org>
93 * README: Updated for RedHat 7.0.
95 2000-09-27 H.J. Lu <hjl@lucon.org>
97 * nfs-utils.spec: Rebuild.
99 2000-09-27 H.J. Lu <hjl@lucon.org>
101 * README: Updated for 0.2.1.
103 2000-09-27 H.J. Lu <hjl@lucon.org>
105 * nfs-utils.spec.in: Updated to use rpm macros and support
108 2000-09-25 H.J. Lu <hjl@lucon.org>
110 * configure.in (VERSION): Set to "0.2.1".
111 * configure: Regenerated.
112 * nfs-utils.spec: Updated.
114 2000-09-25 H.J. Lu <hjl@lucon.org>
116 * utils/mountd/auth.c (auth_authenticate_internal): Make sure a
117 non-NULL hostent is always returned.
119 2000-09-11 Ion Badulescu <ionut@moisil.dev.hydraweb.com>
121 * etc/redhat/nfslock.init: don't kill lockd processes that do not
122 have an executable (i.e. kernel threads)
124 2000-09-01 H.J. Lu <hjl@lucon.org>
126 * README: Updated for 0.2.
128 2000-09-01 Jay Weber <jweber@valinux.com>
130 * etc/redhat/nfs.init: Added ability for rpc.mountd to default to
131 supporting version 3 of nfs if available, else it will fall back to
132 version 2 support only.
134 2000-08-30 H.J. Lu <hjl@lucon.org>
136 * configure.in (VERSION): Set to "0.2".
137 * configure: Regenerated.
138 * nfs-utils.spec: Updated.
140 2000-08-25 H.J. Lu <hjl@lucon.org>
142 * support/misc/tcpwrapper.c (logit): Modify the log output.
144 2000-08-25 Ion Badulescu <ionut@cs.columbia.edu>
146 * utils/rquotad/rquotad.man, utils/statd/statd.man,
147 utils/mountd/mountd.man: updated
149 * utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL)
150 * utils/rquotad/Makefile: fix comment
152 * support/misc/tcpwrapper.c (logit): added comment about waiting
153 for the children after fork()
155 * utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving
156 zombies behind (from logit()'s fork)
157 * utils/rquotad/rquota_svc.c (main): ditto
158 * utils/statd/statd.c (main): ditto
160 * utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG
161 to check_default instead of 0, for prognum
163 * utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG
164 to check_default instead of 0, for prognum
166 * utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if
167 HAVE_TCP_WRAPPER is defined.
168 (mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is
169 defined. Reject an RPC call if check_default () fails.
171 2000-08-25 H.J. Lu <hjl@lucon.org>
173 * support/include/tcpwrapper.h: New for the tcp wrapper
175 * support/misc/Makefile: Likewise.
176 * support/misc/from_local.c: Likewise.
177 * support/misc/tcpwrapper.c: Likewise.
179 * aclocal.m4 (AC_TCP_WRAPPER): New.
180 * configure.in: Use it. Substitute LIBWRAP.
181 * configure: Rebuilt.
183 * config.mk.in (LIBNSL): New.
186 * support/Makefile (SUBDIRS): Add misc.
188 * support/lib/Makefile (LIBS): Add libmisc.a.
190 * utils/rquotad/Makefile (LIBS): Add
192 -lmisc $(LIBWRAP) $(LIBNSL)
194 * utils/statd/Makefile (LIBS): Likewise.
196 * utils/rquotad/rquota_svc.c: Include "tcpwrapper.h" if
197 HAVE_TCP_WRAPPER is defined.
198 (rquotaprog_1): Call check_default () if HAVE_TCP_WRAPPER is
199 defined. Reject an RPC call if check_default () fails.
201 * utils/statd/statd.c: Include "tcpwrapper.h" if
202 HAVE_TCP_WRAPPER is defined.
203 (sm_prog_1_wrapper): New. A wrapper for sm_prog_1. Call
204 check_default () before calling sm_prog_1 (). Define it as
205 sm_prog_1_wrapper if HAVE_TCP_WRAPPER is defined.
207 2000-08-25 Chip Salzenberg <chip@valinux.com>
209 * debian/*: Complete Debian build support.
210 * etc/debian/*: Remove.
212 2000-08-24 Neil Brown <neilb@cse.unsw.edu.au>
214 * support/export/client.c(client_check): removed the "dot+1" as a
215 ypdomain argument to innetgr as this is entirely bogus.
216 It should always be NULL.
218 2000-08-23 Neil Brown <neilb@cse.unsw.edu.au>
220 * support/export/xtab.c(xtab_read): introduce new mode for
221 reading xtab. i.e. a list of exports that might be known to the
222 kernel, or might not. These are flagged as m_exported == -1
223 * support/export/xtab.c(xtab_mount_read): call xtab_read with new
224 value "2" for xtab, meaning don't trust this too much.
225 * support/include/exportfs.h(struct mexport): changed m_exported
226 from one bit to an int so that it can hold new value
227 * utils/exportfs/exportfs.c(exportfs_ipdate): add an export to the
228 kernel if it is uncertain whether the kernel knows (m_exported == -1)
229 * utils/mountd/mountd.c(get_rootfh): similarly export to kernel if
232 * support/nfs/xio.c(xflock): added O_CREAT when getting
233 a write lock so that missing files aren't fatal.
235 * etc/debian/nfs-common: new file from "potato"
236 * etc/debian/nfs-kernel-server: new file from "potato" plus fixes.
238 2000-08-09 H.J. Lu <hjl@lucon.org>
240 * etc/redhat/nfs.init: Run /usr/sbin/exportfs first during
241 startup to ensure all existing clients work fine.
243 * support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0
244 to xtab_read () for reading _PATH_XTAB.
246 2000-08-02 H.J. Lu <hjl@lucon.org>
248 * utils/mountd/auth.c (auth_authenticate_internal): Try to
249 avoid the reverse name lookup.
251 2000-07-04 H.J. Lu <hjl@lucon.org>
253 * utils/statd/log.c: Include <stdlib.h> for exit ().
255 * utils/statd/misc.c (xunlink): Add `{' and `}' to quiet the
258 2000-07-04 H.J. Lu <hjl@lucon.org>
260 * configure.in (VERSION): Set to "0.1.9.1".
261 * configure: Regenerated.
262 * nfs-utils.spec: Updated.
266 2000-07-04 Neil Brown <neilb@cse.unsw.edu.au>
268 * support/export/hostname.c (hostent_dup): Handle the NULL
271 2000-07-03 H.J. Lu <hjl@lucon.org>
273 * README: Update the util-linux requirement.
275 2000-07-03 H.J. Lu <hjl@lucon.org>
277 * configure.in (VERSION): Set to "0.1.9".
278 * configure: Regenerated.
279 * nfs-utils.spec: Updated.
283 2000-07-03 H.J. Lu <hjl@lucon.org>
285 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
286 stop to ensure all clients can still access the server
287 before it is shutdown.
289 2000-06-30 Jeff Uphoff <juphoff@transmeta.com>
291 * tools/rpcgen/rpc_svcout.c (write_msg_out): Generate syslog()
292 calls with format string.
294 2000-06-28 Chip Salzenberg <chip@valinux.com>
296 * utils/statd/log.c (log): Call syslog with format string.
298 2000-06-27 H.J. Lu <hjl@lucon.org>
300 * utils/statd/statd.c (main): Use sysconf (_SC_OPEN_MAX)
303 2000-06-27 H.J. Lu <hjl@lucon.org>
307 2000-06-27 H.J. Lu <hjl@lucon.org>
309 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
310 startup to ensure all existing clients are exported.
312 * configure.in (VERSION): Set to "0.1.8.2".
313 * configure: Regenerated.
314 * nfs-utils.spec: Updated.
316 2000-06-06 H.J. Lu <hjl@lucon.org>
318 * configure.in (VERSION): Set to "0.1.8.1".
319 * configure: Regenerated.
320 * nfs-utils.spec: Updated.
322 2000-06-06 H.J. Lu <hjl@lucon.org>
324 * utils/mountd/mountd.c (mount_dump_1_svc): Cast svc_getcaller
325 to "struct sockaddr_in *" for glibc 2.2.
326 (mount_umnt_1_svc): Likewise.
327 (mount_umntall_1_svc): Likewise.
328 (mount_export_1_svc): Likewise.
329 (mount_exportall_1_svc): Likewise.
330 (mount_pathconf_2_svc): Likewise.
331 (get_rootfh): Likewise.
333 2000-06-04 H.J. Lu <hjl@lucon.org>
335 * etc/redhat/nfs.init: Fix a typo in comment.
337 2000-05-31 H.J. Lu <hjl@lucon.org>
339 * configure.in (VERSION): Set to "0.1.8".
340 * configure: Regenerated.
341 * nfs-utils.spec: Updated.
345 2000-05-31 H.J. Lu <hjl@lucon.org>
347 * configure.in (VERSION): Set to "0.1.7.5".
348 * configure: Regenerated.
349 * nfs-utils.spec: Updated.
351 * support/include/nfslib.h (exportent): Add a new field,
352 r_count, to count the number of mounts from a client.
353 (getrmtabent): Take a new argument for position in file.
354 (putrmtabent): Likewise.
355 (fgetrmtabent): Likewise.
356 (fputrmtabent): Likewise.
357 * support/nfs/rmtab.c (getrmtabent): Handle the new argument
358 for position in file.
359 (fgetrmtabent): Likewise.
360 (putrmtabent): Likewise.
361 (fputrmtabent): Likewise.
363 * support/nfs/rmtab.c (fgetrmtabent): Get value for the new
366 * support/export/rmtab.c (rmtab_read): Pass NULL as the new
367 argument to getrmtabent (), fgetrmtabent (), putrmtabent ()
369 * utils/mountd/rmtab.c (mountlist_add): Likewise.
370 (mountlist_del): Likewise.
371 (mountlist_del_all): Likewise.
372 (mountlist_list): Likewise.
374 * utils/mountd/rmtab.c (mountlist_add): Increment "r_count"
375 for the existing entry and initialize "r_count" to 1.
376 (mountlist_del): Decrement "r_count".
378 2000-05-18 H.J. Lu <hjl@lucon.org>
380 * configure.in (VERSION): Set to "0.1.7.4".
381 * configure: Regenerated.
382 * nfs-utils.spec: Updated.
384 2000-05-18 H.J. Lu <hjl@lucon.org>
386 * etc/redhat/nfs.init (restart): Just do stop and start.
388 2000-05-09 Jay Weber <jweber@valinux.com>
390 * utils/rquotad/hasquota.c: added support for ext3 recognition
392 * utils/rquotad/mntent.h: Likewise.
394 2000-05-01 H.J. Lu <hjl@lucon.org>
396 * configure.in (VERSION): Set to "0.1.7.3".
397 * configure: Regenerated.
398 * nfs-utils.spec: Updated.
400 2000-05-01 H.J. Lu <hjl@lucon.org>
402 * utils/rquotad/rquota_server.c (getquotainfo): Skip bad
403 mounting poins in /etc/fstab.
405 2000-05-01 H.J. Lu <hjl@lucon.org>
407 * configure.in (VERSION): Set to "0.1.7.2".
408 * configure: Regenerated.
409 * nfs-utils.spec: Updated.
411 2000-05-01 H.J. Lu <hjl@lucon.org>
413 * utils/rquotad/rquota_server.c (getquotainfo): Call stat ()
414 to check for the mounting point.
416 2000-04-29 Chip Salzenberg <chip@valinux.com>
417 Neil Brown <neilb@cse.unsw.edu.au>
419 * Really re-use RPC ports.
420 (Fixes earlier patch. Sorry, Neil.)
422 2000-04-26 H.J. Lu <hjl@lucon.org>
424 * configure.in (VERSION): Set to "0.1.7.1".
425 * configure: Regenerated.
426 * nfs-utils.spec: Updated.
428 2000-04-26 H.J. Lu <hjl@lucon.org>
430 * etc/redhat/nfslock.init: Check if lockd exits before killing
433 2000-04-25 H.J. Lu <hjl@lucon.org>
435 * README: Require util-linux-2.10f-mount-rpc.patch for mount.
437 2000-03-21 Michael Weiser <michael@weiser.saale-net.de>
439 * support/nfs/exports.c (parsesquash): Correctly set the
442 Tue Mar 21 11:38:48 EST 2000 NeilBrown <neilb@cse.unsw.edu.au>
444 * support/include/nfs/nfs.h: Removed knowledge of internals of
445 kernel filehandles (which can change) and defined nfs_fh_size
446 which has variable size
448 * support/nfs/getfh.c: defined getfh_size to use new syscall to
449 get variable sized file handles, and change getfh{,old} to
452 * utils/mountd/mountd.c: use nfd_fh_size and call getfh_size for
455 * tools/Makefile, tools/nlmtest/nlmtest.c
456 nlmtest.c depended on internel format of file handles, so now
460 2000-03-12 Chip Salzenberg <chip@valinux.com>
461 Neil Brown <neilb@cse.unsw.edu.au>
463 * support/nfs/rpcmisc.c (rpc_init): Share transports.
465 2000-03-13 H.J. Lu <hjl@lucon.org>
467 * etc/redhat/nfsd.init: Updated.
469 * etc/redhat/nfslock.init: Updated.
471 * nfs-utils.spec.in: Updated.
473 * configure.in (VERSION): Set to "0.1.7".
474 * configure: Regenerated.
475 * nfs-utils.spec: Updated.
479 Wed Mar 8 09:42:43 2000 Neil Brown <neilb@cse.unsw.edu.au>
481 * utils/exportfs/exportfs.c (dump): Included printing of
482 nohide, no_subtree_check, and insecure_locks
484 2000-02-26 Chip Salzenberg <chip@valinux.com>
486 * config.mk.in (INSTALLSUID): Strip ("-s").
487 (INSTALLSCRIPT): Define.
488 * utils/nhfsstone/Makefile: Use it.
490 2000-02-26 Chip Salzenberg <chip@valinux.com>
492 * utils/lockd/lockd.man: Create.
493 * utils/lockd/Makefile: Install it.
494 * utils/nhfsstone/nhfs{run,nums,graph}.man: Create.
495 * utils/nhfsstone/nhfsstone.man: Change suffix from ".1".
496 * utils/nhfsstone/Makefile: Install the helper scripts and
498 * utils/exportfs/exports.man: Fix typo.
500 2000-02-26 Chip Salzenberg <chip@valinux.com>
502 * support/nfs/xio.c (xungetc): Decrement line number when
503 character to unget is newline. Make first parameter int, so
504 it can distinguish EOF from \377.
505 * support/include/xio.h (xungetc): Adjust prototype.
507 Fri Feb 4 23:42:23 2000 Neil Brown <neilb@cse.unsw.edu.au>
509 * support/include/nfs/export.h: added NFSEXP_NOAUTHNLM
510 * support/nfs/exports.c: added handling for NFSEXP_NOAUTHNLM
511 * utils/exportfs/exports.man: added documentation for no_auth_nlm.
513 This is for supporting a new option introduced in 2.3.42
515 Thu Feb 3 14:55:48 2000 H.J. Lu <hjl@lucon.org>
517 * COPYING: Added. GPL.
519 Thu Feb 03 14:40:40 2000 Cristian Gafton <gafton@redhat.com>
521 * utils/rquotad/rquota_server.c (getquotainfo): Call statfs ()
522 to get the block size.
524 Tue Jan 25 11:04:17 2000 H.J. Lu <hjl@lucon.org>
526 * nfs-utils.spec.in: Update ftp site.
528 Mon Jan 17 11:48:18 2000 H.J. Lu <hjl@lucon.org>
530 * README: Update hostnames.
532 Tue Jan 11 10:06:22 2000 H.J. Lu <hjl@lucon.org>
534 * configure.in (VERSION): Set to "0.1.6".
535 * configure: Regenerated.
536 * nfs-utils.spec: Updated.
540 Mon Jan 10 14:26:33 2000 H.J. Lu <hjl@lucon.org>
542 * utils/mountd/auth.c (auth_authenticate_internal): Call
543 xstrdup for hostname before passing it to gethostbyname.
545 * utils/mountd/mountd.c (get_exportlist): Use xstrdup instead
548 Sun Dec 19 09:35:01 1999 H.J. Lu <hjl@lucon.org>
550 * README: Update the mailing list address.
552 Sun Dec 19 09:22:28 1999 H.J. Lu <hjl@lucon.org>
554 * configure.in (VERSION): Set to "0.1.5".
555 * configure: Regenerated.
556 * nfs-utils.spec: Updated.
560 Mon Dec 13 13:40:20 1999 H.J. Lu <hjl@lucon.org>
562 * utils/rquotad/hasquota.c (hasquota): Malloc one more char
565 Mon Dec 6 09:42:45 1999 H.J. Lu <hjl@lucon.org>
567 * configure.in (VERSION): Set to "0.1.4".
568 * configure: Regenerated.
569 * nfs-utils.spec: Updated.
573 Mon Dec 6 09:28:07 1999 H.J. Lu <hjl@lucon.org>
575 * nfs-utils.spec.in: New file.
577 * config.mk.in (VERSION): Changed to "nfs-utils @VERSION@".
579 * configure.in (nfs-utils.spec): Added to AC_OUTPUT.
581 1999-12-04 Chip Salzenberg <chip@valinux.com>
583 * config.mk.in: Use $(CC) as set by configure.
585 1999-12-04 Chip Salzenberg <chip@valinux.com>
587 * rules.mk: Call $(MAKE) with $(MFLAGS).
589 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
591 * tools/rpcgen/rpc_main.c (h_output): Generate IXDR_GET_INT32,
592 IXDR_PUT_INT32, IXDR_GET_U_INT32 and IXDR_PUT_U_INT32.
594 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
596 * nfs-utils.spec (Version): Set to 0.1.3.
598 * configure.in (VERSION): Set to "nfs-utils 0.1.3".
599 * configure: Regenerated.
603 Mon Nov 29 11:15:47 1999 H.J. Lu <hjl@lucon.org>
605 * utils/rquotad/rquota_server.c (nfsmount_to_devname): Removed.
606 (_PATH_DEV_DSK): Likewise.
607 (getquotainfo): Match the mounting point from /etc/mtab
608 instead of calling nfsmount_to_devname ().
610 1999-11-24 Chip Salzenberg <chip@valinux.com>
612 * utils/statd/monitor.c (sm_mon_1_svc): Accept lockd callbacks
613 to the new port 24 as well as the historical port 100021.
615 Tue Nov 23 10:21:34 1999 Neil Brown <neilb@cse.unsw.edu.au>
617 * etc/redhat/nfsd.init (stop): moved exportfs -ua after
618 stopping nfsd to stop spurious ESTALE on server shutdown.
620 Tue Nov 23 10:13:39 1999 Neil Brown <neilb@cse.unsw.edu.au>
622 * support/nfs/exports.c (parseopts): make copy of opt string
623 before 'nul'ing out commas so that
625 # exportfs -o option1,option2 hosta:/fs hostb:/fs
627 applies both options to both exports.
629 Thu Oct 28 12:55:42 1999 H.J. Lu <hjl@lucon.org>
631 * README: Fix a few typos.
633 * tools/rpcgen/rpc_cout.c (print_header): Use int32_t instead
635 * tools/rpcgen/rpc_hout.c (pdefine): Likewise.
636 * tools/rpcgen/rpc_main.c (c_initialize): Likewise.
637 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
638 (unsigned_dec): Likewise.
639 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
640 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
642 * tools/rpcgen/rpc_cout.c (emit_single_in_line): Use INT32
644 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
645 (unsigned_dec): Likewise.
646 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
647 * tools/rpcgen/rpc_scan.h (tok_kind): Likewise.
648 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
650 Thu Oct 28 11:27:51 1999 Neil Brown <neilb@cse.unsw.edu.au>
652 * support/include/nfs/export.h addedd NFSEXP_NOSUBTREECHECK
653 * support/nfs/exports.c: added {no_,}subtree_check and changed
655 * utils/exportfs/exports.man: added no_subtree_check and nohide
656 and removed irrelevant stuff from unfsd.
657 * support/export/rmtab.c: rmtab_read didn't quite do the right
658 thing if a pathname from rmtab was a subdirectory of an export-point
660 Tue Oct 26 17:22:40 1999 H.J. Lu <hjl@lucon.org>
662 * README: Updated ftp site.
664 Mon Oct 25 18:12:45 1999 H.J. Lu <hjl@lucon.org>
666 * nfs-utils.spec (Version): Set to 0.1.2.
668 * configure.in (VERSION): Set to "nfs-utils 0.1.2".
669 * configure: Regenerated.
673 Mon Oct 25 18:11:21 1999 H.J. Lu <hjl@lucon.org>
675 * utils/mountd/auth.c (auth_error): Add "no_forward_dns".
676 (auth_authenticate_internal): Check for NULL return on forward
678 (auth_authenticate): Handle "no_forward_dns".
680 Thu Oct 21 16:22:06 1999 H.J. Lu <hjl@lucon.org>
682 * Version 0.1.1 released.
684 * nfs-utils.spec (Version): Set to 0.1.1.
686 * configure.in (VERSION): Set to "nfs-utils 0.1.1".
687 * configure: Regenerated.
691 Mon Oct 18 17:43:29 1999 H.J. Lu <hjl@lucon.org>
693 * nfs-utils.spec (Obsoletes): Fixed a typo, change knfsd-client
695 (Provides): Likewise.
697 Mon Oct 18 14:56:22 1999 H.J. Lu <hjl@lucon.org>
699 * Initial version 0.1 released.
701 * configure.in (VERSION): Set to "nfs-utils 0.1".
702 * configure: Regenerated.
704 Mon Oct 18 14:54:57 1999 H.J. Lu <hjl@lucon.org>
706 * utils/mountd/mountd.c (get_exportlist): Cleanup.
708 * utils/exportfs/exportfs.c (unexport_all): Unexport from
709 kernel only if the entry is exported to kernel.
710 (unexportfs): Likewise.
712 Wed Sep 08 16:49:32 1999 Neil Brown <neilb@cse.unsw.edu.au>
714 1/ utils/mountd/rmtab.c::mountlist_list
716 This routine stats the rmtab file to see if it has changed. It
717 if has, it cleans up it's old copy of the data. But it still
718 always re-read the file, thus returning multiple copies of the
719 data on consecutive calls without intervening changes.
720 "Showmount -a" didn't show this as it appears to sort/unique the
721 data, but 'strace showmount -a' showed that the size of the
722 datagram that it received grew.
724 I moved the getrmtabent loop inside the mtime test.
726 2/ utils/exportfs/exportfs.c
728 Many routines used the m_path field of m_export instead of
730 According to the comment in nfslib.h, m_path should only
731 be used when processing a mount request (i.e. in mountd)
732 where the mountpoint may be a subdirectory of the export point.
734 I changed all occurances of m_path to e_path
737 3/ utils/exportfs/exportfs.c:main
739 extra arguments are not meaningful with -a or -r, but
740 exportfs accepted them and then ignored the -a/-r, expect that
741 -r would still unexport everything first.
743 I generate an error if there are extra args and f_all
745 4/ utils/exportfs/exportfs.c:main
746 extract dump out as a special case.
748 5/ utils/exportfs/exportfs.c
749 made f_reexport a local variable.
752 6/ utils/exportfs/exportfs.c:main,exportall
754 support/export/rmtab.c
755 only mayexport on newly created entries, don't set xtabent at all
757 7/ support/include/nfslib.h
759 add #define _PATH_PROC_EXPORTS to be /proc/fs/nds/exports
761 8/ support/export/xtab.c
763 xtab_mount_read loads data from _PATH_PROC_EXPORTS if it exists,
767 9/ support/export/xtab.c
769 xtab_mount_read now sets m_exported, and NOT
770 xtabent and mayexport
772 removed the append arguement from xtab_write as it was
775 added is_export flag to xtab_write similar to xtab_read
776 if is_export, only write entries with m_xtabent or m_addxtab
777 if !is_export, only write entries with m_exported
779 10/ support/export/export.c::export_allowed_internal
781 added test for exp->m_mayexport, as the export tree
782 may have entries that are no longer allowed to be exported,
783 and so shouldn't caused deduced exported by rmtab_read
785 11/ utils/exportfs/exportfs.c::main
786 error checking of flags.
788 12/ utils/exportfs/exportfs.c
790 total rewrite of export and unexport logic.
792 - build an exportslist of valid exports, based on
793 current etab file and arguments,
794 - read rmtab to instantiate relevant wild card entries
795 - read etab to find out what is currently exported
796 - synchronise intention with reality
797 - write out etab and xtab
800 discard the m_addxtab flag
801 add m_changed flag so we know what to report in exportfs
803 14/ utils/mountd/auth.c:auth_authenticate
805 the value returned by gethostbyaddr was trusted.
807 It now follows this with a call to gethostbyname
808 and checks that the address is in the list.
810 15/ support/export/nfsctl.c::cltsetup,expsetup
812 force client names to lowercase as kernel is
815 16/ quietened a few compiler warnings
817 17/ support/export/client:client_lookup
819 look for pre-existing client with same name before creating
822 18/ support/include/exportfs.h
824 The ordering of the MCL_* enum was:
825 ANONYMOUS, FQDN, SUBNETWORK, WILDCARD, NETGROUP
827 I moved ANONYMOUS to the end.
829 The ordering is significant when an export entry is being searched for to
830 match a given address. There are two problems with ANONYMOUS being first.
832 1/ if a directory is exported rw to a couple of hosts and ro to everyone else,
833 then the ro case will always be found first and the privileged hosts won't get
835 2/ When mountd gets a request to mount an ANONYMOUSly exported tree, it creates a FQDN
836 export entry for the specific host, and writes it to xtab.
837 When another request comes from the same host, the ANONYMOUS entry is found again,
838 before the new FQDN entry, so it creates another FQDN entry and writes it to xtab
839 again. If causes bloat in xtab.
841 Putting ANONYMOUS at the end reflects it's nature as a catch-all
843 19/ utils/exportfs/exportfs.man
844 many updates to the man page to reflect changes to the code
846 -----------------------
852 - allow exportfs to modify rmtab file
853 - make sure kernel never gets two clients with same IP address
854 - possible kernel should reject
855 - needs to be some way to lookup client in kernel by IP address
856 - maybe get kernel to do case-insensitive comparisons on client names
857 - remove unused clients from kernel
859 - change etab to xtab and xtab to xtab.active
861 - timestamp and/or statd-stamp in rmtab for removing old entries.
863 Mon Oct 18 11:48:07 1999 H.J. Lu <hjl@lucon.org>
865 * linux-nfs: New directory.
866 * linux-nfs/ChangeLog: Moved from ..
867 * linux-nfs/INSTALL: Likewise.
868 * linux-nfs/KNOWNBUGS: Likewise.
869 * linux-nfs/NEW: Likewise.
870 * linux-nfs/README: Likewise.
871 * linux-nfs/THANKS: Likewise.
872 * linux-nfs/TODO: Likewise.
874 * Starting from knfsd 1.4.7.