1 2001-02-14 H.J. Lu <hjl@lucon.org>
3 * support/nfs/rpcmisc.c: Include <time.h>.
5 2001-02-14 Chip Salzenberg <chip@valinux.com>
7 * debian/control: Change priority of nhfsstone package to 'extra'.
9 2001-02-12 Chip Salzenberg <chip@valinux.com>
11 * debian/changelog: Version 0.3-2.
13 2001-02-02 H.J. Lu <hjl@lucon.org>
15 * support/include/rpcmisc.h (rpc_init): Remove bufsize.
17 * support/nfs/rpcmisc.c (makesock): Remove socksz and comment
18 out SO_SNDBUF/SO_RCVBUF.
19 (rpc_init): Remove bufsize and remove socksz in calls to
22 * utils/mountd/mountd.c (main): Remove bufsize in calls to
25 2001-01-28 Chip Salzenberg <chip@valinux.com>
27 * debian/changelog: Version 0.3-1.
29 2001-01-25 H.J. Lu <hjl@lucon.org>
31 * configure.in (VERSION): Set to "0.3".
32 * configure: Regenerated.
33 * nfs-utils.spec: Likewise.
35 * README: Updated for 0.3.
37 2001-01-25 H.J. Lu <hjl@lucon.org>
39 * utils/lockd/lockd.c (main): Ignore errno == EINVAL.
41 2001-01-20 Chip Salzenberg <chip@valinux.com>
43 * support/include/xio.h (xgetc): Declare to return int.
44 * support/nfs/xio.c (xgetc): Return int.
45 (xgettok, xskip, xskipcomment): Use int for value of xgetc.
46 * utils/statd/statd.c (main): Use int for value of getopt.
47 * debian/changelog: Version 0.2.1-5.
49 2000-12-10 Chip Salzenberg <chip@valinux.com>
51 * utils/statd/monitor.c (sm_mon_1_svc): Fix buggy check for
52 program and procedure numbers of kernel lockd's callback. Also,
53 besides the old (and broken) procedure #24, allow #16 per Trond.
55 2000-12-03 Chip Salzenberg <chip@valinux.com>
57 * support/nfs/xio.c (xfopen): Initialize x_line to one, not zero.
58 * debian/control: Let nhfsstone replace files in nfs-kernel-server.
59 * debian/changelog: Version 0.2.1-4.
61 2000-11-27 Tobias Ringstrom <tori@tellus.mine.nu>
63 * utils/mountd/auth.c (auth_authenticate): Log the bad path
66 2000-11-24 Neil Brown <neilb@cse.unsw.edu.au>
68 * support/nfs/exports.c (getexportent): Check for host name
69 without option, or options without hostname, and print a warning,
70 as this is most likely a typo.
72 2000-11-19 Chip Salzenberg <chip@valinux.com>
74 * debian/control: Add dependency on portmap.
75 * debian/changelog: Version 0.2.1-3.
77 2000-11-10 H.J. Lu <hjl@lucon.org>
79 * nfs-utils.spec.in: Don't use libtool.
80 Add ChangeLog and COPYING to doc.
81 * nfs-utils.spec: Rebuild.
83 2000-11-09 H.J. Lu <hjl@lucon.org>
85 * etc/redhat/nfs.init (start): Back out the last change.
87 2000-11-09 H.J. Lu <hjl@lucon.org>
89 * etc/redhat/nfs.init (start): Pass --no-tcp to mountd if
90 TCP is not supported by kernel.
92 * support/nfs/rpcmisc.c (rpc_init): Don't set _rpcfdtype to 0.
94 * utils/mountd/mountd.c (longopts): Add "-n/--no-tcp".
95 (main): Set to _rpcfdtype to SOCK_DGRAM for "-n/--no-tcp".
97 * utils/mountd/mountd.man: Updated for "-n/--no-tcp".
99 2000-10-24 Lon Hohberger <hohberger@missioncriticallinux.com>
101 * utils/statd/callback.c: Fix bug preventing callbacks to local lockd.
102 * utils/statd/rmtcall.c: Add some IP address paranoia when doing
103 callbacks to local lockd.
105 2000-10-18 Scott McDermott <mcdermot@questra.com>
107 * utils/exportfs/exports.man: Updated for CIDR netmask.
109 2000-10-17 Scott McDermott <mcdermot@questra.com>
111 * support/export/client.c (client_init): Support CIDR netmask
114 2000-10-11 H.J. Lu <hjl@lucon.org>
116 * aclocal.m4 (AC_TCP_WRAPPER): Fix a typo.
117 * configure: Rebuilt.
119 2000-10-06 Lon Hohberger <hohberger@missioncriticallinux.com>
121 * utils/statd/statd.man: Change "/var/lib/nfs/sm/state" to
122 "/var/lib/nfs/state".
124 2000-10-05 Lon Hohberger <hohberger@missioncriticallinux.com>
126 * utils/statd/statd.h (run_mode): New global bitmask of runtime
127 behaviors: fg/bg, logging, etc.
128 * utils/statd/statd.c: New command line options: -V -h -? -d .
129 * utils/statd/statd.man: Update for changes to statd.
131 * utils/statd/log.h (log_init): Remove parameter of function; use
132 global variable "name_p" instead.
133 * utils/statd/log.c: Add support for logging to stderr.
135 * utils/statd/notlist.c: Partially rewrite notify list handling
136 functions. Eliminate run-off-end-of-list bug when calling
137 nlist_insert_timer. Add lots of comments.
139 2000-09-27 H.J. Lu <hjl@lucon.org>
141 * README: Updated for RedHat 7.0.
143 2000-09-27 H.J. Lu <hjl@lucon.org>
145 * nfs-utils.spec: Rebuild.
147 2000-09-27 H.J. Lu <hjl@lucon.org>
149 * README: Updated for 0.2.1.
151 2000-09-27 H.J. Lu <hjl@lucon.org>
153 * nfs-utils.spec.in: Updated to use rpm macros and support
156 2000-09-25 H.J. Lu <hjl@lucon.org>
158 * configure.in (VERSION): Set to "0.2.1".
159 * configure: Regenerated.
160 * nfs-utils.spec: Updated.
162 2000-09-25 H.J. Lu <hjl@lucon.org>
164 * utils/mountd/auth.c (auth_authenticate_internal): Make sure a
165 non-NULL hostent is always returned.
167 2000-09-11 Ion Badulescu <ionut@moisil.dev.hydraweb.com>
169 * etc/redhat/nfslock.init: don't kill lockd processes that do not
170 have an executable (i.e. kernel threads)
172 2000-09-01 H.J. Lu <hjl@lucon.org>
174 * README: Updated for 0.2.
176 2000-09-01 Jay Weber <jweber@valinux.com>
178 * etc/redhat/nfs.init: Added ability for rpc.mountd to default to
179 supporting version 3 of nfs if available, else it will fall back to
180 version 2 support only.
182 2000-08-30 H.J. Lu <hjl@lucon.org>
184 * configure.in (VERSION): Set to "0.2".
185 * configure: Regenerated.
186 * nfs-utils.spec: Updated.
188 2000-08-25 H.J. Lu <hjl@lucon.org>
190 * support/misc/tcpwrapper.c (logit): Modify the log output.
192 2000-08-25 Ion Badulescu <ionut@cs.columbia.edu>
194 * utils/rquotad/rquotad.man, utils/statd/statd.man,
195 utils/mountd/mountd.man: updated
197 * utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL)
198 * utils/rquotad/Makefile: fix comment
200 * support/misc/tcpwrapper.c (logit): added comment about waiting
201 for the children after fork()
203 * utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving
204 zombies behind (from logit()'s fork)
205 * utils/rquotad/rquota_svc.c (main): ditto
206 * utils/statd/statd.c (main): ditto
208 * utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG
209 to check_default instead of 0, for prognum
211 * utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG
212 to check_default instead of 0, for prognum
214 * utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if
215 HAVE_TCP_WRAPPER is defined.
216 (mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is
217 defined. Reject an RPC call if check_default () fails.
219 2000-08-25 H.J. Lu <hjl@lucon.org>
221 * support/include/tcpwrapper.h: New for the tcp wrapper
223 * support/misc/Makefile: Likewise.
224 * support/misc/from_local.c: Likewise.
225 * support/misc/tcpwrapper.c: Likewise.
227 * aclocal.m4 (AC_TCP_WRAPPER): New.
228 * configure.in: Use it. Substitute LIBWRAP.
229 * configure: Rebuilt.
231 * config.mk.in (LIBNSL): New.
234 * support/Makefile (SUBDIRS): Add misc.
236 * support/lib/Makefile (LIBS): Add libmisc.a.
238 * utils/rquotad/Makefile (LIBS): Add
240 -lmisc $(LIBWRAP) $(LIBNSL)
242 * utils/statd/Makefile (LIBS): Likewise.
244 * utils/rquotad/rquota_svc.c: Include "tcpwrapper.h" if
245 HAVE_TCP_WRAPPER is defined.
246 (rquotaprog_1): Call check_default () if HAVE_TCP_WRAPPER is
247 defined. Reject an RPC call if check_default () fails.
249 * utils/statd/statd.c: Include "tcpwrapper.h" if
250 HAVE_TCP_WRAPPER is defined.
251 (sm_prog_1_wrapper): New. A wrapper for sm_prog_1. Call
252 check_default () before calling sm_prog_1 (). Define it as
253 sm_prog_1_wrapper if HAVE_TCP_WRAPPER is defined.
255 2000-08-25 Chip Salzenberg <chip@valinux.com>
257 * debian/*: Complete Debian build support.
258 * etc/debian/*: Remove.
260 2000-08-24 Neil Brown <neilb@cse.unsw.edu.au>
262 * support/export/client.c(client_check): removed the "dot+1" as a
263 ypdomain argument to innetgr as this is entirely bogus.
264 It should always be NULL.
266 2000-08-23 Neil Brown <neilb@cse.unsw.edu.au>
268 * support/export/xtab.c(xtab_read): introduce new mode for
269 reading xtab. i.e. a list of exports that might be known to the
270 kernel, or might not. These are flagged as m_exported == -1
271 * support/export/xtab.c(xtab_mount_read): call xtab_read with new
272 value "2" for xtab, meaning don't trust this too much.
273 * support/include/exportfs.h(struct mexport): changed m_exported
274 from one bit to an int so that it can hold new value
275 * utils/exportfs/exportfs.c(exportfs_ipdate): add an export to the
276 kernel if it is uncertain whether the kernel knows (m_exported == -1)
277 * utils/mountd/mountd.c(get_rootfh): similarly export to kernel if
280 * support/nfs/xio.c(xflock): added O_CREAT when getting
281 a write lock so that missing files aren't fatal.
283 * etc/debian/nfs-common: new file from "potato"
284 * etc/debian/nfs-kernel-server: new file from "potato" plus fixes.
286 2000-08-09 H.J. Lu <hjl@lucon.org>
288 * etc/redhat/nfs.init: Run /usr/sbin/exportfs first during
289 startup to ensure all existing clients work fine.
291 * support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0
292 to xtab_read () for reading _PATH_XTAB.
294 2000-08-02 H.J. Lu <hjl@lucon.org>
296 * utils/mountd/auth.c (auth_authenticate_internal): Try to
297 avoid the reverse name lookup.
299 2000-07-04 H.J. Lu <hjl@lucon.org>
301 * utils/statd/log.c: Include <stdlib.h> for exit ().
303 * utils/statd/misc.c (xunlink): Add `{' and `}' to quiet the
306 2000-07-04 H.J. Lu <hjl@lucon.org>
308 * configure.in (VERSION): Set to "0.1.9.1".
309 * configure: Regenerated.
310 * nfs-utils.spec: Updated.
314 2000-07-04 Neil Brown <neilb@cse.unsw.edu.au>
316 * support/export/hostname.c (hostent_dup): Handle the NULL
319 2000-07-03 H.J. Lu <hjl@lucon.org>
321 * README: Update the util-linux requirement.
323 2000-07-03 H.J. Lu <hjl@lucon.org>
325 * configure.in (VERSION): Set to "0.1.9".
326 * configure: Regenerated.
327 * nfs-utils.spec: Updated.
331 2000-07-03 H.J. Lu <hjl@lucon.org>
333 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
334 stop to ensure all clients can still access the server
335 before it is shutdown.
337 2000-06-30 Jeff Uphoff <juphoff@transmeta.com>
339 * tools/rpcgen/rpc_svcout.c (write_msg_out): Generate syslog()
340 calls with format string.
342 2000-06-28 Chip Salzenberg <chip@valinux.com>
344 * utils/statd/log.c (log): Call syslog with format string.
346 2000-06-27 H.J. Lu <hjl@lucon.org>
348 * utils/statd/statd.c (main): Use sysconf (_SC_OPEN_MAX)
351 2000-06-27 H.J. Lu <hjl@lucon.org>
355 2000-06-27 H.J. Lu <hjl@lucon.org>
357 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
358 startup to ensure all existing clients are exported.
360 * configure.in (VERSION): Set to "0.1.8.2".
361 * configure: Regenerated.
362 * nfs-utils.spec: Updated.
364 2000-06-06 H.J. Lu <hjl@lucon.org>
366 * configure.in (VERSION): Set to "0.1.8.1".
367 * configure: Regenerated.
368 * nfs-utils.spec: Updated.
370 2000-06-06 H.J. Lu <hjl@lucon.org>
372 * utils/mountd/mountd.c (mount_dump_1_svc): Cast svc_getcaller
373 to "struct sockaddr_in *" for glibc 2.2.
374 (mount_umnt_1_svc): Likewise.
375 (mount_umntall_1_svc): Likewise.
376 (mount_export_1_svc): Likewise.
377 (mount_exportall_1_svc): Likewise.
378 (mount_pathconf_2_svc): Likewise.
379 (get_rootfh): Likewise.
381 2000-06-04 H.J. Lu <hjl@lucon.org>
383 * etc/redhat/nfs.init: Fix a typo in comment.
385 2000-05-31 H.J. Lu <hjl@lucon.org>
387 * configure.in (VERSION): Set to "0.1.8".
388 * configure: Regenerated.
389 * nfs-utils.spec: Updated.
393 2000-05-31 H.J. Lu <hjl@lucon.org>
395 * configure.in (VERSION): Set to "0.1.7.5".
396 * configure: Regenerated.
397 * nfs-utils.spec: Updated.
399 * support/include/nfslib.h (exportent): Add a new field,
400 r_count, to count the number of mounts from a client.
401 (getrmtabent): Take a new argument for position in file.
402 (putrmtabent): Likewise.
403 (fgetrmtabent): Likewise.
404 (fputrmtabent): Likewise.
405 * support/nfs/rmtab.c (getrmtabent): Handle the new argument
406 for position in file.
407 (fgetrmtabent): Likewise.
408 (putrmtabent): Likewise.
409 (fputrmtabent): Likewise.
411 * support/nfs/rmtab.c (fgetrmtabent): Get value for the new
414 * support/export/rmtab.c (rmtab_read): Pass NULL as the new
415 argument to getrmtabent (), fgetrmtabent (), putrmtabent ()
417 * utils/mountd/rmtab.c (mountlist_add): Likewise.
418 (mountlist_del): Likewise.
419 (mountlist_del_all): Likewise.
420 (mountlist_list): Likewise.
422 * utils/mountd/rmtab.c (mountlist_add): Increment "r_count"
423 for the existing entry and initialize "r_count" to 1.
424 (mountlist_del): Decrement "r_count".
426 2000-05-18 H.J. Lu <hjl@lucon.org>
428 * configure.in (VERSION): Set to "0.1.7.4".
429 * configure: Regenerated.
430 * nfs-utils.spec: Updated.
432 2000-05-18 H.J. Lu <hjl@lucon.org>
434 * etc/redhat/nfs.init (restart): Just do stop and start.
436 2000-05-09 Jay Weber <jweber@valinux.com>
438 * utils/rquotad/hasquota.c: added support for ext3 recognition
440 * utils/rquotad/mntent.h: Likewise.
442 2000-05-01 H.J. Lu <hjl@lucon.org>
444 * configure.in (VERSION): Set to "0.1.7.3".
445 * configure: Regenerated.
446 * nfs-utils.spec: Updated.
448 2000-05-01 H.J. Lu <hjl@lucon.org>
450 * utils/rquotad/rquota_server.c (getquotainfo): Skip bad
451 mounting poins in /etc/fstab.
453 2000-05-01 H.J. Lu <hjl@lucon.org>
455 * configure.in (VERSION): Set to "0.1.7.2".
456 * configure: Regenerated.
457 * nfs-utils.spec: Updated.
459 2000-05-01 H.J. Lu <hjl@lucon.org>
461 * utils/rquotad/rquota_server.c (getquotainfo): Call stat ()
462 to check for the mounting point.
464 2000-04-29 Chip Salzenberg <chip@valinux.com>
465 Neil Brown <neilb@cse.unsw.edu.au>
467 * Really re-use RPC ports.
468 (Fixes earlier patch. Sorry, Neil.)
470 2000-04-26 H.J. Lu <hjl@lucon.org>
472 * configure.in (VERSION): Set to "0.1.7.1".
473 * configure: Regenerated.
474 * nfs-utils.spec: Updated.
476 2000-04-26 H.J. Lu <hjl@lucon.org>
478 * etc/redhat/nfslock.init: Check if lockd exits before killing
481 2000-04-25 H.J. Lu <hjl@lucon.org>
483 * README: Require util-linux-2.10f-mount-rpc.patch for mount.
485 2000-03-21 Michael Weiser <michael@weiser.saale-net.de>
487 * support/nfs/exports.c (parsesquash): Correctly set the
490 Tue Mar 21 11:38:48 EST 2000 NeilBrown <neilb@cse.unsw.edu.au>
492 * support/include/nfs/nfs.h: Removed knowledge of internals of
493 kernel filehandles (which can change) and defined nfs_fh_size
494 which has variable size
496 * support/nfs/getfh.c: defined getfh_size to use new syscall to
497 get variable sized file handles, and change getfh{,old} to
500 * utils/mountd/mountd.c: use nfd_fh_size and call getfh_size for
503 * tools/Makefile, tools/nlmtest/nlmtest.c
504 nlmtest.c depended on internel format of file handles, so now
508 2000-03-12 Chip Salzenberg <chip@valinux.com>
509 Neil Brown <neilb@cse.unsw.edu.au>
511 * support/nfs/rpcmisc.c (rpc_init): Share transports.
513 2000-03-13 H.J. Lu <hjl@lucon.org>
515 * etc/redhat/nfsd.init: Updated.
517 * etc/redhat/nfslock.init: Updated.
519 * nfs-utils.spec.in: Updated.
521 * configure.in (VERSION): Set to "0.1.7".
522 * configure: Regenerated.
523 * nfs-utils.spec: Updated.
527 Wed Mar 8 09:42:43 2000 Neil Brown <neilb@cse.unsw.edu.au>
529 * utils/exportfs/exportfs.c (dump): Included printing of
530 nohide, no_subtree_check, and insecure_locks
532 2000-02-26 Chip Salzenberg <chip@valinux.com>
534 * config.mk.in (INSTALLSUID): Strip ("-s").
535 (INSTALLSCRIPT): Define.
536 * utils/nhfsstone/Makefile: Use it.
538 2000-02-26 Chip Salzenberg <chip@valinux.com>
540 * utils/lockd/lockd.man: Create.
541 * utils/lockd/Makefile: Install it.
542 * utils/nhfsstone/nhfs{run,nums,graph}.man: Create.
543 * utils/nhfsstone/nhfsstone.man: Change suffix from ".1".
544 * utils/nhfsstone/Makefile: Install the helper scripts and
546 * utils/exportfs/exports.man: Fix typo.
548 2000-02-26 Chip Salzenberg <chip@valinux.com>
550 * support/nfs/xio.c (xungetc): Decrement line number when
551 character to unget is newline. Make first parameter int, so
552 it can distinguish EOF from \377.
553 * support/include/xio.h (xungetc): Adjust prototype.
555 Fri Feb 4 23:42:23 2000 Neil Brown <neilb@cse.unsw.edu.au>
557 * support/include/nfs/export.h: added NFSEXP_NOAUTHNLM
558 * support/nfs/exports.c: added handling for NFSEXP_NOAUTHNLM
559 * utils/exportfs/exports.man: added documentation for no_auth_nlm.
561 This is for supporting a new option introduced in 2.3.42
563 Thu Feb 3 14:55:48 2000 H.J. Lu <hjl@lucon.org>
565 * COPYING: Added. GPL.
567 Thu Feb 03 14:40:40 2000 Cristian Gafton <gafton@redhat.com>
569 * utils/rquotad/rquota_server.c (getquotainfo): Call statfs ()
570 to get the block size.
572 Tue Jan 25 11:04:17 2000 H.J. Lu <hjl@lucon.org>
574 * nfs-utils.spec.in: Update ftp site.
576 Mon Jan 17 11:48:18 2000 H.J. Lu <hjl@lucon.org>
578 * README: Update hostnames.
580 Tue Jan 11 10:06:22 2000 H.J. Lu <hjl@lucon.org>
582 * configure.in (VERSION): Set to "0.1.6".
583 * configure: Regenerated.
584 * nfs-utils.spec: Updated.
588 Mon Jan 10 14:26:33 2000 H.J. Lu <hjl@lucon.org>
590 * utils/mountd/auth.c (auth_authenticate_internal): Call
591 xstrdup for hostname before passing it to gethostbyname.
593 * utils/mountd/mountd.c (get_exportlist): Use xstrdup instead
596 Sun Dec 19 09:35:01 1999 H.J. Lu <hjl@lucon.org>
598 * README: Update the mailing list address.
600 Sun Dec 19 09:22:28 1999 H.J. Lu <hjl@lucon.org>
602 * configure.in (VERSION): Set to "0.1.5".
603 * configure: Regenerated.
604 * nfs-utils.spec: Updated.
608 Mon Dec 13 13:40:20 1999 H.J. Lu <hjl@lucon.org>
610 * utils/rquotad/hasquota.c (hasquota): Malloc one more char
613 Mon Dec 6 09:42:45 1999 H.J. Lu <hjl@lucon.org>
615 * configure.in (VERSION): Set to "0.1.4".
616 * configure: Regenerated.
617 * nfs-utils.spec: Updated.
621 Mon Dec 6 09:28:07 1999 H.J. Lu <hjl@lucon.org>
623 * nfs-utils.spec.in: New file.
625 * config.mk.in (VERSION): Changed to "nfs-utils @VERSION@".
627 * configure.in (nfs-utils.spec): Added to AC_OUTPUT.
629 1999-12-04 Chip Salzenberg <chip@valinux.com>
631 * config.mk.in: Use $(CC) as set by configure.
633 1999-12-04 Chip Salzenberg <chip@valinux.com>
635 * rules.mk: Call $(MAKE) with $(MFLAGS).
637 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
639 * tools/rpcgen/rpc_main.c (h_output): Generate IXDR_GET_INT32,
640 IXDR_PUT_INT32, IXDR_GET_U_INT32 and IXDR_PUT_U_INT32.
642 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
644 * nfs-utils.spec (Version): Set to 0.1.3.
646 * configure.in (VERSION): Set to "nfs-utils 0.1.3".
647 * configure: Regenerated.
651 Mon Nov 29 11:15:47 1999 H.J. Lu <hjl@lucon.org>
653 * utils/rquotad/rquota_server.c (nfsmount_to_devname): Removed.
654 (_PATH_DEV_DSK): Likewise.
655 (getquotainfo): Match the mounting point from /etc/mtab
656 instead of calling nfsmount_to_devname ().
658 1999-11-24 Chip Salzenberg <chip@valinux.com>
660 * utils/statd/monitor.c (sm_mon_1_svc): Accept lockd callbacks
661 to the new port 24 as well as the historical port 100021.
663 Tue Nov 23 10:21:34 1999 Neil Brown <neilb@cse.unsw.edu.au>
665 * etc/redhat/nfsd.init (stop): moved exportfs -ua after
666 stopping nfsd to stop spurious ESTALE on server shutdown.
668 Tue Nov 23 10:13:39 1999 Neil Brown <neilb@cse.unsw.edu.au>
670 * support/nfs/exports.c (parseopts): make copy of opt string
671 before 'nul'ing out commas so that
673 # exportfs -o option1,option2 hosta:/fs hostb:/fs
675 applies both options to both exports.
677 Thu Oct 28 12:55:42 1999 H.J. Lu <hjl@lucon.org>
679 * README: Fix a few typos.
681 * tools/rpcgen/rpc_cout.c (print_header): Use int32_t instead
683 * tools/rpcgen/rpc_hout.c (pdefine): Likewise.
684 * tools/rpcgen/rpc_main.c (c_initialize): Likewise.
685 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
686 (unsigned_dec): Likewise.
687 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
688 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
690 * tools/rpcgen/rpc_cout.c (emit_single_in_line): Use INT32
692 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
693 (unsigned_dec): Likewise.
694 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
695 * tools/rpcgen/rpc_scan.h (tok_kind): Likewise.
696 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
698 Thu Oct 28 11:27:51 1999 Neil Brown <neilb@cse.unsw.edu.au>
700 * support/include/nfs/export.h addedd NFSEXP_NOSUBTREECHECK
701 * support/nfs/exports.c: added {no_,}subtree_check and changed
703 * utils/exportfs/exports.man: added no_subtree_check and nohide
704 and removed irrelevant stuff from unfsd.
705 * support/export/rmtab.c: rmtab_read didn't quite do the right
706 thing if a pathname from rmtab was a subdirectory of an export-point
708 Tue Oct 26 17:22:40 1999 H.J. Lu <hjl@lucon.org>
710 * README: Updated ftp site.
712 Mon Oct 25 18:12:45 1999 H.J. Lu <hjl@lucon.org>
714 * nfs-utils.spec (Version): Set to 0.1.2.
716 * configure.in (VERSION): Set to "nfs-utils 0.1.2".
717 * configure: Regenerated.
721 Mon Oct 25 18:11:21 1999 H.J. Lu <hjl@lucon.org>
723 * utils/mountd/auth.c (auth_error): Add "no_forward_dns".
724 (auth_authenticate_internal): Check for NULL return on forward
726 (auth_authenticate): Handle "no_forward_dns".
728 Thu Oct 21 16:22:06 1999 H.J. Lu <hjl@lucon.org>
730 * Version 0.1.1 released.
732 * nfs-utils.spec (Version): Set to 0.1.1.
734 * configure.in (VERSION): Set to "nfs-utils 0.1.1".
735 * configure: Regenerated.
739 Mon Oct 18 17:43:29 1999 H.J. Lu <hjl@lucon.org>
741 * nfs-utils.spec (Obsoletes): Fixed a typo, change knfsd-client
743 (Provides): Likewise.
745 Mon Oct 18 14:56:22 1999 H.J. Lu <hjl@lucon.org>
747 * Initial version 0.1 released.
749 * configure.in (VERSION): Set to "nfs-utils 0.1".
750 * configure: Regenerated.
752 Mon Oct 18 14:54:57 1999 H.J. Lu <hjl@lucon.org>
754 * utils/mountd/mountd.c (get_exportlist): Cleanup.
756 * utils/exportfs/exportfs.c (unexport_all): Unexport from
757 kernel only if the entry is exported to kernel.
758 (unexportfs): Likewise.
760 Wed Sep 08 16:49:32 1999 Neil Brown <neilb@cse.unsw.edu.au>
762 1/ utils/mountd/rmtab.c::mountlist_list
764 This routine stats the rmtab file to see if it has changed. It
765 if has, it cleans up it's old copy of the data. But it still
766 always re-read the file, thus returning multiple copies of the
767 data on consecutive calls without intervening changes.
768 "Showmount -a" didn't show this as it appears to sort/unique the
769 data, but 'strace showmount -a' showed that the size of the
770 datagram that it received grew.
772 I moved the getrmtabent loop inside the mtime test.
774 2/ utils/exportfs/exportfs.c
776 Many routines used the m_path field of m_export instead of
778 According to the comment in nfslib.h, m_path should only
779 be used when processing a mount request (i.e. in mountd)
780 where the mountpoint may be a subdirectory of the export point.
782 I changed all occurances of m_path to e_path
785 3/ utils/exportfs/exportfs.c:main
787 extra arguments are not meaningful with -a or -r, but
788 exportfs accepted them and then ignored the -a/-r, expect that
789 -r would still unexport everything first.
791 I generate an error if there are extra args and f_all
793 4/ utils/exportfs/exportfs.c:main
794 extract dump out as a special case.
796 5/ utils/exportfs/exportfs.c
797 made f_reexport a local variable.
800 6/ utils/exportfs/exportfs.c:main,exportall
802 support/export/rmtab.c
803 only mayexport on newly created entries, don't set xtabent at all
805 7/ support/include/nfslib.h
807 add #define _PATH_PROC_EXPORTS to be /proc/fs/nds/exports
809 8/ support/export/xtab.c
811 xtab_mount_read loads data from _PATH_PROC_EXPORTS if it exists,
815 9/ support/export/xtab.c
817 xtab_mount_read now sets m_exported, and NOT
818 xtabent and mayexport
820 removed the append arguement from xtab_write as it was
823 added is_export flag to xtab_write similar to xtab_read
824 if is_export, only write entries with m_xtabent or m_addxtab
825 if !is_export, only write entries with m_exported
827 10/ support/export/export.c::export_allowed_internal
829 added test for exp->m_mayexport, as the export tree
830 may have entries that are no longer allowed to be exported,
831 and so shouldn't caused deduced exported by rmtab_read
833 11/ utils/exportfs/exportfs.c::main
834 error checking of flags.
836 12/ utils/exportfs/exportfs.c
838 total rewrite of export and unexport logic.
840 - build an exportslist of valid exports, based on
841 current etab file and arguments,
842 - read rmtab to instantiate relevant wild card entries
843 - read etab to find out what is currently exported
844 - synchronise intention with reality
845 - write out etab and xtab
848 discard the m_addxtab flag
849 add m_changed flag so we know what to report in exportfs
851 14/ utils/mountd/auth.c:auth_authenticate
853 the value returned by gethostbyaddr was trusted.
855 It now follows this with a call to gethostbyname
856 and checks that the address is in the list.
858 15/ support/export/nfsctl.c::cltsetup,expsetup
860 force client names to lowercase as kernel is
863 16/ quietened a few compiler warnings
865 17/ support/export/client:client_lookup
867 look for pre-existing client with same name before creating
870 18/ support/include/exportfs.h
872 The ordering of the MCL_* enum was:
873 ANONYMOUS, FQDN, SUBNETWORK, WILDCARD, NETGROUP
875 I moved ANONYMOUS to the end.
877 The ordering is significant when an export entry is being searched for to
878 match a given address. There are two problems with ANONYMOUS being first.
880 1/ if a directory is exported rw to a couple of hosts and ro to everyone else,
881 then the ro case will always be found first and the privileged hosts won't get
883 2/ When mountd gets a request to mount an ANONYMOUSly exported tree, it creates a FQDN
884 export entry for the specific host, and writes it to xtab.
885 When another request comes from the same host, the ANONYMOUS entry is found again,
886 before the new FQDN entry, so it creates another FQDN entry and writes it to xtab
887 again. If causes bloat in xtab.
889 Putting ANONYMOUS at the end reflects it's nature as a catch-all
891 19/ utils/exportfs/exportfs.man
892 many updates to the man page to reflect changes to the code
894 -----------------------
900 - allow exportfs to modify rmtab file
901 - make sure kernel never gets two clients with same IP address
902 - possible kernel should reject
903 - needs to be some way to lookup client in kernel by IP address
904 - maybe get kernel to do case-insensitive comparisons on client names
905 - remove unused clients from kernel
907 - change etab to xtab and xtab to xtab.active
909 - timestamp and/or statd-stamp in rmtab for removing old entries.
911 Mon Oct 18 11:48:07 1999 H.J. Lu <hjl@lucon.org>
913 * linux-nfs: New directory.
914 * linux-nfs/ChangeLog: Moved from ..
915 * linux-nfs/INSTALL: Likewise.
916 * linux-nfs/KNOWNBUGS: Likewise.
917 * linux-nfs/NEW: Likewise.
918 * linux-nfs/README: Likewise.
919 * linux-nfs/THANKS: Likewise.
920 * linux-nfs/TODO: Likewise.
922 * Starting from knfsd 1.4.7.