1 2001-02-17 Patrick J. LoPresti <patl@curl.com>
3 * utils/statd/log.c (log_init): Use LOG_DAEMON instead of
6 2001-02-14 H.J. Lu <hjl@lucon.org>
8 * utils/statd/rmtcall.c: Include <time.h>.
9 * utils/statd/svc_run.c: Likewise.
11 2001-02-14 H.J. Lu <hjl@lucon.org>
13 * configure.in (VERSION): Set to "0.3.1".
14 * configure: Regenerated.
15 * nfs-utils.spec: Likewise.
17 * README: Updated for 0.3.1.
19 2001-02-14 H.J. Lu <hjl@lucon.org>
21 * support/nfs/rpcmisc.c: Include <time.h>.
23 2001-02-14 Chip Salzenberg <chip@valinux.com>
25 * debian/control: Change priority of nhfsstone package to 'extra'.
27 2001-02-12 Chip Salzenberg <chip@valinux.com>
29 * debian/changelog: Version 0.3-2.
31 2001-02-02 H.J. Lu <hjl@lucon.org>
33 * support/include/rpcmisc.h (rpc_init): Remove bufsize.
35 * support/nfs/rpcmisc.c (makesock): Remove socksz and comment
36 out SO_SNDBUF/SO_RCVBUF.
37 (rpc_init): Remove bufsize and remove socksz in calls to
40 * utils/mountd/mountd.c (main): Remove bufsize in calls to
43 2001-01-28 Chip Salzenberg <chip@valinux.com>
45 * debian/changelog: Version 0.3-1.
47 2001-01-25 H.J. Lu <hjl@lucon.org>
49 * configure.in (VERSION): Set to "0.3".
50 * configure: Regenerated.
51 * nfs-utils.spec: Likewise.
53 * README: Updated for 0.3.
55 2001-01-25 H.J. Lu <hjl@lucon.org>
57 * utils/lockd/lockd.c (main): Ignore errno == EINVAL.
59 2001-01-20 Chip Salzenberg <chip@valinux.com>
61 * support/include/xio.h (xgetc): Declare to return int.
62 * support/nfs/xio.c (xgetc): Return int.
63 (xgettok, xskip, xskipcomment): Use int for value of xgetc.
64 * utils/statd/statd.c (main): Use int for value of getopt.
65 * debian/changelog: Version 0.2.1-5.
67 2000-12-10 Chip Salzenberg <chip@valinux.com>
69 * utils/statd/monitor.c (sm_mon_1_svc): Fix buggy check for
70 program and procedure numbers of kernel lockd's callback. Also,
71 besides the old (and broken) procedure #24, allow #16 per Trond.
73 2000-12-03 Chip Salzenberg <chip@valinux.com>
75 * support/nfs/xio.c (xfopen): Initialize x_line to one, not zero.
76 * debian/control: Let nhfsstone replace files in nfs-kernel-server.
77 * debian/changelog: Version 0.2.1-4.
79 2000-11-27 Tobias Ringstrom <tori@tellus.mine.nu>
81 * utils/mountd/auth.c (auth_authenticate): Log the bad path
84 2000-11-24 Neil Brown <neilb@cse.unsw.edu.au>
86 * support/nfs/exports.c (getexportent): Check for host name
87 without option, or options without hostname, and print a warning,
88 as this is most likely a typo.
90 2000-11-19 Chip Salzenberg <chip@valinux.com>
92 * debian/control: Add dependency on portmap.
93 * debian/changelog: Version 0.2.1-3.
95 2000-11-10 H.J. Lu <hjl@lucon.org>
97 * nfs-utils.spec.in: Don't use libtool.
98 Add ChangeLog and COPYING to doc.
99 * nfs-utils.spec: Rebuild.
101 2000-11-09 H.J. Lu <hjl@lucon.org>
103 * etc/redhat/nfs.init (start): Back out the last change.
105 2000-11-09 H.J. Lu <hjl@lucon.org>
107 * etc/redhat/nfs.init (start): Pass --no-tcp to mountd if
108 TCP is not supported by kernel.
110 * support/nfs/rpcmisc.c (rpc_init): Don't set _rpcfdtype to 0.
112 * utils/mountd/mountd.c (longopts): Add "-n/--no-tcp".
113 (main): Set to _rpcfdtype to SOCK_DGRAM for "-n/--no-tcp".
115 * utils/mountd/mountd.man: Updated for "-n/--no-tcp".
117 2000-10-24 Lon Hohberger <hohberger@missioncriticallinux.com>
119 * utils/statd/callback.c: Fix bug preventing callbacks to local lockd.
120 * utils/statd/rmtcall.c: Add some IP address paranoia when doing
121 callbacks to local lockd.
123 2000-10-18 Scott McDermott <mcdermot@questra.com>
125 * utils/exportfs/exports.man: Updated for CIDR netmask.
127 2000-10-17 Scott McDermott <mcdermot@questra.com>
129 * support/export/client.c (client_init): Support CIDR netmask
132 2000-10-11 H.J. Lu <hjl@lucon.org>
134 * aclocal.m4 (AC_TCP_WRAPPER): Fix a typo.
135 * configure: Rebuilt.
137 2000-10-06 Lon Hohberger <hohberger@missioncriticallinux.com>
139 * utils/statd/statd.man: Change "/var/lib/nfs/sm/state" to
140 "/var/lib/nfs/state".
142 2000-10-05 Lon Hohberger <hohberger@missioncriticallinux.com>
144 * utils/statd/statd.h (run_mode): New global bitmask of runtime
145 behaviors: fg/bg, logging, etc.
146 * utils/statd/statd.c: New command line options: -V -h -? -d .
147 * utils/statd/statd.man: Update for changes to statd.
149 * utils/statd/log.h (log_init): Remove parameter of function; use
150 global variable "name_p" instead.
151 * utils/statd/log.c: Add support for logging to stderr.
153 * utils/statd/notlist.c: Partially rewrite notify list handling
154 functions. Eliminate run-off-end-of-list bug when calling
155 nlist_insert_timer. Add lots of comments.
157 2000-09-27 H.J. Lu <hjl@lucon.org>
159 * README: Updated for RedHat 7.0.
161 2000-09-27 H.J. Lu <hjl@lucon.org>
163 * nfs-utils.spec: Rebuild.
165 2000-09-27 H.J. Lu <hjl@lucon.org>
167 * README: Updated for 0.2.1.
169 2000-09-27 H.J. Lu <hjl@lucon.org>
171 * nfs-utils.spec.in: Updated to use rpm macros and support
174 2000-09-25 H.J. Lu <hjl@lucon.org>
176 * configure.in (VERSION): Set to "0.2.1".
177 * configure: Regenerated.
178 * nfs-utils.spec: Updated.
180 2000-09-25 H.J. Lu <hjl@lucon.org>
182 * utils/mountd/auth.c (auth_authenticate_internal): Make sure a
183 non-NULL hostent is always returned.
185 2000-09-11 Ion Badulescu <ionut@moisil.dev.hydraweb.com>
187 * etc/redhat/nfslock.init: don't kill lockd processes that do not
188 have an executable (i.e. kernel threads)
190 2000-09-01 H.J. Lu <hjl@lucon.org>
192 * README: Updated for 0.2.
194 2000-09-01 Jay Weber <jweber@valinux.com>
196 * etc/redhat/nfs.init: Added ability for rpc.mountd to default to
197 supporting version 3 of nfs if available, else it will fall back to
198 version 2 support only.
200 2000-08-30 H.J. Lu <hjl@lucon.org>
202 * configure.in (VERSION): Set to "0.2".
203 * configure: Regenerated.
204 * nfs-utils.spec: Updated.
206 2000-08-25 H.J. Lu <hjl@lucon.org>
208 * support/misc/tcpwrapper.c (logit): Modify the log output.
210 2000-08-25 Ion Badulescu <ionut@cs.columbia.edu>
212 * utils/rquotad/rquotad.man, utils/statd/statd.man,
213 utils/mountd/mountd.man: updated
215 * utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL)
216 * utils/rquotad/Makefile: fix comment
218 * support/misc/tcpwrapper.c (logit): added comment about waiting
219 for the children after fork()
221 * utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving
222 zombies behind (from logit()'s fork)
223 * utils/rquotad/rquota_svc.c (main): ditto
224 * utils/statd/statd.c (main): ditto
226 * utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG
227 to check_default instead of 0, for prognum
229 * utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG
230 to check_default instead of 0, for prognum
232 * utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if
233 HAVE_TCP_WRAPPER is defined.
234 (mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is
235 defined. Reject an RPC call if check_default () fails.
237 2000-08-25 H.J. Lu <hjl@lucon.org>
239 * support/include/tcpwrapper.h: New for the tcp wrapper
241 * support/misc/Makefile: Likewise.
242 * support/misc/from_local.c: Likewise.
243 * support/misc/tcpwrapper.c: Likewise.
245 * aclocal.m4 (AC_TCP_WRAPPER): New.
246 * configure.in: Use it. Substitute LIBWRAP.
247 * configure: Rebuilt.
249 * config.mk.in (LIBNSL): New.
252 * support/Makefile (SUBDIRS): Add misc.
254 * support/lib/Makefile (LIBS): Add libmisc.a.
256 * utils/rquotad/Makefile (LIBS): Add
258 -lmisc $(LIBWRAP) $(LIBNSL)
260 * utils/statd/Makefile (LIBS): Likewise.
262 * utils/rquotad/rquota_svc.c: Include "tcpwrapper.h" if
263 HAVE_TCP_WRAPPER is defined.
264 (rquotaprog_1): Call check_default () if HAVE_TCP_WRAPPER is
265 defined. Reject an RPC call if check_default () fails.
267 * utils/statd/statd.c: Include "tcpwrapper.h" if
268 HAVE_TCP_WRAPPER is defined.
269 (sm_prog_1_wrapper): New. A wrapper for sm_prog_1. Call
270 check_default () before calling sm_prog_1 (). Define it as
271 sm_prog_1_wrapper if HAVE_TCP_WRAPPER is defined.
273 2000-08-25 Chip Salzenberg <chip@valinux.com>
275 * debian/*: Complete Debian build support.
276 * etc/debian/*: Remove.
278 2000-08-24 Neil Brown <neilb@cse.unsw.edu.au>
280 * support/export/client.c(client_check): removed the "dot+1" as a
281 ypdomain argument to innetgr as this is entirely bogus.
282 It should always be NULL.
284 2000-08-23 Neil Brown <neilb@cse.unsw.edu.au>
286 * support/export/xtab.c(xtab_read): introduce new mode for
287 reading xtab. i.e. a list of exports that might be known to the
288 kernel, or might not. These are flagged as m_exported == -1
289 * support/export/xtab.c(xtab_mount_read): call xtab_read with new
290 value "2" for xtab, meaning don't trust this too much.
291 * support/include/exportfs.h(struct mexport): changed m_exported
292 from one bit to an int so that it can hold new value
293 * utils/exportfs/exportfs.c(exportfs_ipdate): add an export to the
294 kernel if it is uncertain whether the kernel knows (m_exported == -1)
295 * utils/mountd/mountd.c(get_rootfh): similarly export to kernel if
298 * support/nfs/xio.c(xflock): added O_CREAT when getting
299 a write lock so that missing files aren't fatal.
301 * etc/debian/nfs-common: new file from "potato"
302 * etc/debian/nfs-kernel-server: new file from "potato" plus fixes.
304 2000-08-09 H.J. Lu <hjl@lucon.org>
306 * etc/redhat/nfs.init: Run /usr/sbin/exportfs first during
307 startup to ensure all existing clients work fine.
309 * support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0
310 to xtab_read () for reading _PATH_XTAB.
312 2000-08-02 H.J. Lu <hjl@lucon.org>
314 * utils/mountd/auth.c (auth_authenticate_internal): Try to
315 avoid the reverse name lookup.
317 2000-07-04 H.J. Lu <hjl@lucon.org>
319 * utils/statd/log.c: Include <stdlib.h> for exit ().
321 * utils/statd/misc.c (xunlink): Add `{' and `}' to quiet the
324 2000-07-04 H.J. Lu <hjl@lucon.org>
326 * configure.in (VERSION): Set to "0.1.9.1".
327 * configure: Regenerated.
328 * nfs-utils.spec: Updated.
332 2000-07-04 Neil Brown <neilb@cse.unsw.edu.au>
334 * support/export/hostname.c (hostent_dup): Handle the NULL
337 2000-07-03 H.J. Lu <hjl@lucon.org>
339 * README: Update the util-linux requirement.
341 2000-07-03 H.J. Lu <hjl@lucon.org>
343 * configure.in (VERSION): Set to "0.1.9".
344 * configure: Regenerated.
345 * nfs-utils.spec: Updated.
349 2000-07-03 H.J. Lu <hjl@lucon.org>
351 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
352 stop to ensure all clients can still access the server
353 before it is shutdown.
355 2000-06-30 Jeff Uphoff <juphoff@transmeta.com>
357 * tools/rpcgen/rpc_svcout.c (write_msg_out): Generate syslog()
358 calls with format string.
360 2000-06-28 Chip Salzenberg <chip@valinux.com>
362 * utils/statd/log.c (log): Call syslog with format string.
364 2000-06-27 H.J. Lu <hjl@lucon.org>
366 * utils/statd/statd.c (main): Use sysconf (_SC_OPEN_MAX)
369 2000-06-27 H.J. Lu <hjl@lucon.org>
373 2000-06-27 H.J. Lu <hjl@lucon.org>
375 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
376 startup to ensure all existing clients are exported.
378 * configure.in (VERSION): Set to "0.1.8.2".
379 * configure: Regenerated.
380 * nfs-utils.spec: Updated.
382 2000-06-06 H.J. Lu <hjl@lucon.org>
384 * configure.in (VERSION): Set to "0.1.8.1".
385 * configure: Regenerated.
386 * nfs-utils.spec: Updated.
388 2000-06-06 H.J. Lu <hjl@lucon.org>
390 * utils/mountd/mountd.c (mount_dump_1_svc): Cast svc_getcaller
391 to "struct sockaddr_in *" for glibc 2.2.
392 (mount_umnt_1_svc): Likewise.
393 (mount_umntall_1_svc): Likewise.
394 (mount_export_1_svc): Likewise.
395 (mount_exportall_1_svc): Likewise.
396 (mount_pathconf_2_svc): Likewise.
397 (get_rootfh): Likewise.
399 2000-06-04 H.J. Lu <hjl@lucon.org>
401 * etc/redhat/nfs.init: Fix a typo in comment.
403 2000-05-31 H.J. Lu <hjl@lucon.org>
405 * configure.in (VERSION): Set to "0.1.8".
406 * configure: Regenerated.
407 * nfs-utils.spec: Updated.
411 2000-05-31 H.J. Lu <hjl@lucon.org>
413 * configure.in (VERSION): Set to "0.1.7.5".
414 * configure: Regenerated.
415 * nfs-utils.spec: Updated.
417 * support/include/nfslib.h (exportent): Add a new field,
418 r_count, to count the number of mounts from a client.
419 (getrmtabent): Take a new argument for position in file.
420 (putrmtabent): Likewise.
421 (fgetrmtabent): Likewise.
422 (fputrmtabent): Likewise.
423 * support/nfs/rmtab.c (getrmtabent): Handle the new argument
424 for position in file.
425 (fgetrmtabent): Likewise.
426 (putrmtabent): Likewise.
427 (fputrmtabent): Likewise.
429 * support/nfs/rmtab.c (fgetrmtabent): Get value for the new
432 * support/export/rmtab.c (rmtab_read): Pass NULL as the new
433 argument to getrmtabent (), fgetrmtabent (), putrmtabent ()
435 * utils/mountd/rmtab.c (mountlist_add): Likewise.
436 (mountlist_del): Likewise.
437 (mountlist_del_all): Likewise.
438 (mountlist_list): Likewise.
440 * utils/mountd/rmtab.c (mountlist_add): Increment "r_count"
441 for the existing entry and initialize "r_count" to 1.
442 (mountlist_del): Decrement "r_count".
444 2000-05-18 H.J. Lu <hjl@lucon.org>
446 * configure.in (VERSION): Set to "0.1.7.4".
447 * configure: Regenerated.
448 * nfs-utils.spec: Updated.
450 2000-05-18 H.J. Lu <hjl@lucon.org>
452 * etc/redhat/nfs.init (restart): Just do stop and start.
454 2000-05-09 Jay Weber <jweber@valinux.com>
456 * utils/rquotad/hasquota.c: added support for ext3 recognition
458 * utils/rquotad/mntent.h: Likewise.
460 2000-05-01 H.J. Lu <hjl@lucon.org>
462 * configure.in (VERSION): Set to "0.1.7.3".
463 * configure: Regenerated.
464 * nfs-utils.spec: Updated.
466 2000-05-01 H.J. Lu <hjl@lucon.org>
468 * utils/rquotad/rquota_server.c (getquotainfo): Skip bad
469 mounting poins in /etc/fstab.
471 2000-05-01 H.J. Lu <hjl@lucon.org>
473 * configure.in (VERSION): Set to "0.1.7.2".
474 * configure: Regenerated.
475 * nfs-utils.spec: Updated.
477 2000-05-01 H.J. Lu <hjl@lucon.org>
479 * utils/rquotad/rquota_server.c (getquotainfo): Call stat ()
480 to check for the mounting point.
482 2000-04-29 Chip Salzenberg <chip@valinux.com>
483 Neil Brown <neilb@cse.unsw.edu.au>
485 * Really re-use RPC ports.
486 (Fixes earlier patch. Sorry, Neil.)
488 2000-04-26 H.J. Lu <hjl@lucon.org>
490 * configure.in (VERSION): Set to "0.1.7.1".
491 * configure: Regenerated.
492 * nfs-utils.spec: Updated.
494 2000-04-26 H.J. Lu <hjl@lucon.org>
496 * etc/redhat/nfslock.init: Check if lockd exits before killing
499 2000-04-25 H.J. Lu <hjl@lucon.org>
501 * README: Require util-linux-2.10f-mount-rpc.patch for mount.
503 2000-03-21 Michael Weiser <michael@weiser.saale-net.de>
505 * support/nfs/exports.c (parsesquash): Correctly set the
508 Tue Mar 21 11:38:48 EST 2000 NeilBrown <neilb@cse.unsw.edu.au>
510 * support/include/nfs/nfs.h: Removed knowledge of internals of
511 kernel filehandles (which can change) and defined nfs_fh_size
512 which has variable size
514 * support/nfs/getfh.c: defined getfh_size to use new syscall to
515 get variable sized file handles, and change getfh{,old} to
518 * utils/mountd/mountd.c: use nfd_fh_size and call getfh_size for
521 * tools/Makefile, tools/nlmtest/nlmtest.c
522 nlmtest.c depended on internel format of file handles, so now
526 2000-03-12 Chip Salzenberg <chip@valinux.com>
527 Neil Brown <neilb@cse.unsw.edu.au>
529 * support/nfs/rpcmisc.c (rpc_init): Share transports.
531 2000-03-13 H.J. Lu <hjl@lucon.org>
533 * etc/redhat/nfsd.init: Updated.
535 * etc/redhat/nfslock.init: Updated.
537 * nfs-utils.spec.in: Updated.
539 * configure.in (VERSION): Set to "0.1.7".
540 * configure: Regenerated.
541 * nfs-utils.spec: Updated.
545 Wed Mar 8 09:42:43 2000 Neil Brown <neilb@cse.unsw.edu.au>
547 * utils/exportfs/exportfs.c (dump): Included printing of
548 nohide, no_subtree_check, and insecure_locks
550 2000-02-26 Chip Salzenberg <chip@valinux.com>
552 * config.mk.in (INSTALLSUID): Strip ("-s").
553 (INSTALLSCRIPT): Define.
554 * utils/nhfsstone/Makefile: Use it.
556 2000-02-26 Chip Salzenberg <chip@valinux.com>
558 * utils/lockd/lockd.man: Create.
559 * utils/lockd/Makefile: Install it.
560 * utils/nhfsstone/nhfs{run,nums,graph}.man: Create.
561 * utils/nhfsstone/nhfsstone.man: Change suffix from ".1".
562 * utils/nhfsstone/Makefile: Install the helper scripts and
564 * utils/exportfs/exports.man: Fix typo.
566 2000-02-26 Chip Salzenberg <chip@valinux.com>
568 * support/nfs/xio.c (xungetc): Decrement line number when
569 character to unget is newline. Make first parameter int, so
570 it can distinguish EOF from \377.
571 * support/include/xio.h (xungetc): Adjust prototype.
573 Fri Feb 4 23:42:23 2000 Neil Brown <neilb@cse.unsw.edu.au>
575 * support/include/nfs/export.h: added NFSEXP_NOAUTHNLM
576 * support/nfs/exports.c: added handling for NFSEXP_NOAUTHNLM
577 * utils/exportfs/exports.man: added documentation for no_auth_nlm.
579 This is for supporting a new option introduced in 2.3.42
581 Thu Feb 3 14:55:48 2000 H.J. Lu <hjl@lucon.org>
583 * COPYING: Added. GPL.
585 Thu Feb 03 14:40:40 2000 Cristian Gafton <gafton@redhat.com>
587 * utils/rquotad/rquota_server.c (getquotainfo): Call statfs ()
588 to get the block size.
590 Tue Jan 25 11:04:17 2000 H.J. Lu <hjl@lucon.org>
592 * nfs-utils.spec.in: Update ftp site.
594 Mon Jan 17 11:48:18 2000 H.J. Lu <hjl@lucon.org>
596 * README: Update hostnames.
598 Tue Jan 11 10:06:22 2000 H.J. Lu <hjl@lucon.org>
600 * configure.in (VERSION): Set to "0.1.6".
601 * configure: Regenerated.
602 * nfs-utils.spec: Updated.
606 Mon Jan 10 14:26:33 2000 H.J. Lu <hjl@lucon.org>
608 * utils/mountd/auth.c (auth_authenticate_internal): Call
609 xstrdup for hostname before passing it to gethostbyname.
611 * utils/mountd/mountd.c (get_exportlist): Use xstrdup instead
614 Sun Dec 19 09:35:01 1999 H.J. Lu <hjl@lucon.org>
616 * README: Update the mailing list address.
618 Sun Dec 19 09:22:28 1999 H.J. Lu <hjl@lucon.org>
620 * configure.in (VERSION): Set to "0.1.5".
621 * configure: Regenerated.
622 * nfs-utils.spec: Updated.
626 Mon Dec 13 13:40:20 1999 H.J. Lu <hjl@lucon.org>
628 * utils/rquotad/hasquota.c (hasquota): Malloc one more char
631 Mon Dec 6 09:42:45 1999 H.J. Lu <hjl@lucon.org>
633 * configure.in (VERSION): Set to "0.1.4".
634 * configure: Regenerated.
635 * nfs-utils.spec: Updated.
639 Mon Dec 6 09:28:07 1999 H.J. Lu <hjl@lucon.org>
641 * nfs-utils.spec.in: New file.
643 * config.mk.in (VERSION): Changed to "nfs-utils @VERSION@".
645 * configure.in (nfs-utils.spec): Added to AC_OUTPUT.
647 1999-12-04 Chip Salzenberg <chip@valinux.com>
649 * config.mk.in: Use $(CC) as set by configure.
651 1999-12-04 Chip Salzenberg <chip@valinux.com>
653 * rules.mk: Call $(MAKE) with $(MFLAGS).
655 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
657 * tools/rpcgen/rpc_main.c (h_output): Generate IXDR_GET_INT32,
658 IXDR_PUT_INT32, IXDR_GET_U_INT32 and IXDR_PUT_U_INT32.
660 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
662 * nfs-utils.spec (Version): Set to 0.1.3.
664 * configure.in (VERSION): Set to "nfs-utils 0.1.3".
665 * configure: Regenerated.
669 Mon Nov 29 11:15:47 1999 H.J. Lu <hjl@lucon.org>
671 * utils/rquotad/rquota_server.c (nfsmount_to_devname): Removed.
672 (_PATH_DEV_DSK): Likewise.
673 (getquotainfo): Match the mounting point from /etc/mtab
674 instead of calling nfsmount_to_devname ().
676 1999-11-24 Chip Salzenberg <chip@valinux.com>
678 * utils/statd/monitor.c (sm_mon_1_svc): Accept lockd callbacks
679 to the new port 24 as well as the historical port 100021.
681 Tue Nov 23 10:21:34 1999 Neil Brown <neilb@cse.unsw.edu.au>
683 * etc/redhat/nfsd.init (stop): moved exportfs -ua after
684 stopping nfsd to stop spurious ESTALE on server shutdown.
686 Tue Nov 23 10:13:39 1999 Neil Brown <neilb@cse.unsw.edu.au>
688 * support/nfs/exports.c (parseopts): make copy of opt string
689 before 'nul'ing out commas so that
691 # exportfs -o option1,option2 hosta:/fs hostb:/fs
693 applies both options to both exports.
695 Thu Oct 28 12:55:42 1999 H.J. Lu <hjl@lucon.org>
697 * README: Fix a few typos.
699 * tools/rpcgen/rpc_cout.c (print_header): Use int32_t instead
701 * tools/rpcgen/rpc_hout.c (pdefine): Likewise.
702 * tools/rpcgen/rpc_main.c (c_initialize): Likewise.
703 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
704 (unsigned_dec): Likewise.
705 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
706 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
708 * tools/rpcgen/rpc_cout.c (emit_single_in_line): Use INT32
710 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
711 (unsigned_dec): Likewise.
712 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
713 * tools/rpcgen/rpc_scan.h (tok_kind): Likewise.
714 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
716 Thu Oct 28 11:27:51 1999 Neil Brown <neilb@cse.unsw.edu.au>
718 * support/include/nfs/export.h addedd NFSEXP_NOSUBTREECHECK
719 * support/nfs/exports.c: added {no_,}subtree_check and changed
721 * utils/exportfs/exports.man: added no_subtree_check and nohide
722 and removed irrelevant stuff from unfsd.
723 * support/export/rmtab.c: rmtab_read didn't quite do the right
724 thing if a pathname from rmtab was a subdirectory of an export-point
726 Tue Oct 26 17:22:40 1999 H.J. Lu <hjl@lucon.org>
728 * README: Updated ftp site.
730 Mon Oct 25 18:12:45 1999 H.J. Lu <hjl@lucon.org>
732 * nfs-utils.spec (Version): Set to 0.1.2.
734 * configure.in (VERSION): Set to "nfs-utils 0.1.2".
735 * configure: Regenerated.
739 Mon Oct 25 18:11:21 1999 H.J. Lu <hjl@lucon.org>
741 * utils/mountd/auth.c (auth_error): Add "no_forward_dns".
742 (auth_authenticate_internal): Check for NULL return on forward
744 (auth_authenticate): Handle "no_forward_dns".
746 Thu Oct 21 16:22:06 1999 H.J. Lu <hjl@lucon.org>
748 * Version 0.1.1 released.
750 * nfs-utils.spec (Version): Set to 0.1.1.
752 * configure.in (VERSION): Set to "nfs-utils 0.1.1".
753 * configure: Regenerated.
757 Mon Oct 18 17:43:29 1999 H.J. Lu <hjl@lucon.org>
759 * nfs-utils.spec (Obsoletes): Fixed a typo, change knfsd-client
761 (Provides): Likewise.
763 Mon Oct 18 14:56:22 1999 H.J. Lu <hjl@lucon.org>
765 * Initial version 0.1 released.
767 * configure.in (VERSION): Set to "nfs-utils 0.1".
768 * configure: Regenerated.
770 Mon Oct 18 14:54:57 1999 H.J. Lu <hjl@lucon.org>
772 * utils/mountd/mountd.c (get_exportlist): Cleanup.
774 * utils/exportfs/exportfs.c (unexport_all): Unexport from
775 kernel only if the entry is exported to kernel.
776 (unexportfs): Likewise.
778 Wed Sep 08 16:49:32 1999 Neil Brown <neilb@cse.unsw.edu.au>
780 1/ utils/mountd/rmtab.c::mountlist_list
782 This routine stats the rmtab file to see if it has changed. It
783 if has, it cleans up it's old copy of the data. But it still
784 always re-read the file, thus returning multiple copies of the
785 data on consecutive calls without intervening changes.
786 "Showmount -a" didn't show this as it appears to sort/unique the
787 data, but 'strace showmount -a' showed that the size of the
788 datagram that it received grew.
790 I moved the getrmtabent loop inside the mtime test.
792 2/ utils/exportfs/exportfs.c
794 Many routines used the m_path field of m_export instead of
796 According to the comment in nfslib.h, m_path should only
797 be used when processing a mount request (i.e. in mountd)
798 where the mountpoint may be a subdirectory of the export point.
800 I changed all occurances of m_path to e_path
803 3/ utils/exportfs/exportfs.c:main
805 extra arguments are not meaningful with -a or -r, but
806 exportfs accepted them and then ignored the -a/-r, expect that
807 -r would still unexport everything first.
809 I generate an error if there are extra args and f_all
811 4/ utils/exportfs/exportfs.c:main
812 extract dump out as a special case.
814 5/ utils/exportfs/exportfs.c
815 made f_reexport a local variable.
818 6/ utils/exportfs/exportfs.c:main,exportall
820 support/export/rmtab.c
821 only mayexport on newly created entries, don't set xtabent at all
823 7/ support/include/nfslib.h
825 add #define _PATH_PROC_EXPORTS to be /proc/fs/nds/exports
827 8/ support/export/xtab.c
829 xtab_mount_read loads data from _PATH_PROC_EXPORTS if it exists,
833 9/ support/export/xtab.c
835 xtab_mount_read now sets m_exported, and NOT
836 xtabent and mayexport
838 removed the append arguement from xtab_write as it was
841 added is_export flag to xtab_write similar to xtab_read
842 if is_export, only write entries with m_xtabent or m_addxtab
843 if !is_export, only write entries with m_exported
845 10/ support/export/export.c::export_allowed_internal
847 added test for exp->m_mayexport, as the export tree
848 may have entries that are no longer allowed to be exported,
849 and so shouldn't caused deduced exported by rmtab_read
851 11/ utils/exportfs/exportfs.c::main
852 error checking of flags.
854 12/ utils/exportfs/exportfs.c
856 total rewrite of export and unexport logic.
858 - build an exportslist of valid exports, based on
859 current etab file and arguments,
860 - read rmtab to instantiate relevant wild card entries
861 - read etab to find out what is currently exported
862 - synchronise intention with reality
863 - write out etab and xtab
866 discard the m_addxtab flag
867 add m_changed flag so we know what to report in exportfs
869 14/ utils/mountd/auth.c:auth_authenticate
871 the value returned by gethostbyaddr was trusted.
873 It now follows this with a call to gethostbyname
874 and checks that the address is in the list.
876 15/ support/export/nfsctl.c::cltsetup,expsetup
878 force client names to lowercase as kernel is
881 16/ quietened a few compiler warnings
883 17/ support/export/client:client_lookup
885 look for pre-existing client with same name before creating
888 18/ support/include/exportfs.h
890 The ordering of the MCL_* enum was:
891 ANONYMOUS, FQDN, SUBNETWORK, WILDCARD, NETGROUP
893 I moved ANONYMOUS to the end.
895 The ordering is significant when an export entry is being searched for to
896 match a given address. There are two problems with ANONYMOUS being first.
898 1/ if a directory is exported rw to a couple of hosts and ro to everyone else,
899 then the ro case will always be found first and the privileged hosts won't get
901 2/ When mountd gets a request to mount an ANONYMOUSly exported tree, it creates a FQDN
902 export entry for the specific host, and writes it to xtab.
903 When another request comes from the same host, the ANONYMOUS entry is found again,
904 before the new FQDN entry, so it creates another FQDN entry and writes it to xtab
905 again. If causes bloat in xtab.
907 Putting ANONYMOUS at the end reflects it's nature as a catch-all
909 19/ utils/exportfs/exportfs.man
910 many updates to the man page to reflect changes to the code
912 -----------------------
918 - allow exportfs to modify rmtab file
919 - make sure kernel never gets two clients with same IP address
920 - possible kernel should reject
921 - needs to be some way to lookup client in kernel by IP address
922 - maybe get kernel to do case-insensitive comparisons on client names
923 - remove unused clients from kernel
925 - change etab to xtab and xtab to xtab.active
927 - timestamp and/or statd-stamp in rmtab for removing old entries.
929 Mon Oct 18 11:48:07 1999 H.J. Lu <hjl@lucon.org>
931 * linux-nfs: New directory.
932 * linux-nfs/ChangeLog: Moved from ..
933 * linux-nfs/INSTALL: Likewise.
934 * linux-nfs/KNOWNBUGS: Likewise.
935 * linux-nfs/NEW: Likewise.
936 * linux-nfs/README: Likewise.
937 * linux-nfs/THANKS: Likewise.
938 * linux-nfs/TODO: Likewise.
940 * Starting from knfsd 1.4.7.