1 2001-02-26 Chip Salzenberg <chip@valinux.com>
3 * debian/changelog: Version 0.3.1-1.
4 * Mention upstream source and license in copyright file.
5 * Add build-Depends for debhelper and libwrap0-dev.
7 2001-02-20 Lon Hohberger <hohberger@missioncriticallinux.com>
9 * etc/nodist/nfs-server: Changed chkconfig line to 60 20
10 * etc/nodist/nfs-client: Likewise.
12 2001-02-18 Lon Hohberger <hohberger@missioncriticallinux.com>
14 * utils/statd/statd.man: Changed /usr/sbin/rpc.statd to
17 2001-02-17 Patrick J. LoPresti <patl@curl.com>
19 * utils/statd/log.c (log_init): Use LOG_DAEMON instead of
22 2001-02-14 H.J. Lu <hjl@lucon.org>
24 * utils/statd/rmtcall.c: Include <time.h>.
25 * utils/statd/svc_run.c: Likewise.
27 2001-02-14 H.J. Lu <hjl@lucon.org>
29 * configure.in (VERSION): Set to "0.3.1".
30 * configure: Regenerated.
31 o * nfs-utils.spec: Likewise.
33 * README: Updated for 0.3.1.
35 2001-02-14 H.J. Lu <hjl@lucon.org>
37 * support/nfs/rpcmisc.c: Include <time.h>.
39 2001-02-14 Chip Salzenberg <chip@valinux.com>
41 * debian/control: Change priority of nhfsstone package to 'extra'.
43 2001-02-12 Chip Salzenberg <chip@valinux.com>
45 * debian/changelog: Version 0.3-2.
47 2001-02-02 H.J. Lu <hjl@lucon.org>
49 * support/include/rpcmisc.h (rpc_init): Remove bufsize.
51 * support/nfs/rpcmisc.c (makesock): Remove socksz and comment
52 out SO_SNDBUF/SO_RCVBUF.
53 (rpc_init): Remove bufsize and remove socksz in calls to
56 * utils/mountd/mountd.c (main): Remove bufsize in calls to
59 2001-01-28 Chip Salzenberg <chip@valinux.com>
61 * debian/changelog: Version 0.3-1.
63 2001-01-25 H.J. Lu <hjl@lucon.org>
65 * configure.in (VERSION): Set to "0.3".
66 * configure: Regenerated.
67 * nfs-utils.spec: Likewise.
69 * README: Updated for 0.3.
71 2001-01-25 H.J. Lu <hjl@lucon.org>
73 * utils/lockd/lockd.c (main): Ignore errno == EINVAL.
75 2001-01-20 Chip Salzenberg <chip@valinux.com>
77 * support/include/xio.h (xgetc): Declare to return int.
78 * support/nfs/xio.c (xgetc): Return int.
79 (xgettok, xskip, xskipcomment): Use int for value of xgetc.
80 * utils/statd/statd.c (main): Use int for value of getopt.
81 * debian/changelog: Version 0.2.1-5.
83 2000-12-10 Chip Salzenberg <chip@valinux.com>
85 * utils/statd/monitor.c (sm_mon_1_svc): Fix buggy check for
86 program and procedure numbers of kernel lockd's callback. Also,
87 besides the old (and broken) procedure #24, allow #16 per Trond.
89 2000-12-03 Chip Salzenberg <chip@valinux.com>
91 * support/nfs/xio.c (xfopen): Initialize x_line to one, not zero.
92 * debian/control: Let nhfsstone replace files in nfs-kernel-server.
93 * debian/changelog: Version 0.2.1-4.
95 2000-11-27 Tobias Ringstrom <tori@tellus.mine.nu>
97 * utils/mountd/auth.c (auth_authenticate): Log the bad path
100 2000-11-24 Neil Brown <neilb@cse.unsw.edu.au>
102 * support/nfs/exports.c (getexportent): Check for host name
103 without option, or options without hostname, and print a warning,
104 as this is most likely a typo.
106 2000-11-19 Chip Salzenberg <chip@valinux.com>
108 * debian/control: Add dependency on portmap.
109 * debian/changelog: Version 0.2.1-3.
111 2000-11-10 H.J. Lu <hjl@lucon.org>
113 * nfs-utils.spec.in: Don't use libtool.
114 Add ChangeLog and COPYING to doc.
115 * nfs-utils.spec: Rebuild.
117 2000-11-09 H.J. Lu <hjl@lucon.org>
119 * etc/redhat/nfs.init (start): Back out the last change.
121 2000-11-09 H.J. Lu <hjl@lucon.org>
123 * etc/redhat/nfs.init (start): Pass --no-tcp to mountd if
124 TCP is not supported by kernel.
126 * support/nfs/rpcmisc.c (rpc_init): Don't set _rpcfdtype to 0.
128 * utils/mountd/mountd.c (longopts): Add "-n/--no-tcp".
129 (main): Set to _rpcfdtype to SOCK_DGRAM for "-n/--no-tcp".
131 * utils/mountd/mountd.man: Updated for "-n/--no-tcp".
133 2000-10-24 Lon Hohberger <hohberger@missioncriticallinux.com>
135 * utils/statd/callback.c: Fix bug preventing callbacks to local lockd.
136 * utils/statd/rmtcall.c: Add some IP address paranoia when doing
137 callbacks to local lockd.
139 2000-10-18 Scott McDermott <mcdermot@questra.com>
141 * utils/exportfs/exports.man: Updated for CIDR netmask.
143 2000-10-17 Scott McDermott <mcdermot@questra.com>
145 * support/export/client.c (client_init): Support CIDR netmask
148 2000-10-11 H.J. Lu <hjl@lucon.org>
150 * aclocal.m4 (AC_TCP_WRAPPER): Fix a typo.
151 * configure: Rebuilt.
153 2000-10-06 Lon Hohberger <hohberger@missioncriticallinux.com>
155 * utils/statd/statd.man: Change "/var/lib/nfs/sm/state" to
156 "/var/lib/nfs/state".
158 2000-10-05 Lon Hohberger <hohberger@missioncriticallinux.com>
160 * utils/statd/statd.h (run_mode): New global bitmask of runtime
161 behaviors: fg/bg, logging, etc.
162 * utils/statd/statd.c: New command line options: -V -h -? -d .
163 * utils/statd/statd.man: Update for changes to statd.
165 * utils/statd/log.h (log_init): Remove parameter of function; use
166 global variable "name_p" instead.
167 * utils/statd/log.c: Add support for logging to stderr.
169 * utils/statd/notlist.c: Partially rewrite notify list handling
170 functions. Eliminate run-off-end-of-list bug when calling
171 nlist_insert_timer. Add lots of comments.
173 2000-09-27 H.J. Lu <hjl@lucon.org>
175 * README: Updated for RedHat 7.0.
177 2000-09-27 H.J. Lu <hjl@lucon.org>
179 * nfs-utils.spec: Rebuild.
181 2000-09-27 H.J. Lu <hjl@lucon.org>
183 * README: Updated for 0.2.1.
185 2000-09-27 H.J. Lu <hjl@lucon.org>
187 * nfs-utils.spec.in: Updated to use rpm macros and support
190 2000-09-25 H.J. Lu <hjl@lucon.org>
192 * configure.in (VERSION): Set to "0.2.1".
193 * configure: Regenerated.
194 * nfs-utils.spec: Updated.
196 2000-09-25 H.J. Lu <hjl@lucon.org>
198 * utils/mountd/auth.c (auth_authenticate_internal): Make sure a
199 non-NULL hostent is always returned.
201 2000-09-11 Ion Badulescu <ionut@moisil.dev.hydraweb.com>
203 * etc/redhat/nfslock.init: don't kill lockd processes that do not
204 have an executable (i.e. kernel threads)
206 2000-09-01 H.J. Lu <hjl@lucon.org>
208 * README: Updated for 0.2.
210 2000-09-01 Jay Weber <jweber@valinux.com>
212 * etc/redhat/nfs.init: Added ability for rpc.mountd to default to
213 supporting version 3 of nfs if available, else it will fall back to
214 version 2 support only.
216 2000-08-30 H.J. Lu <hjl@lucon.org>
218 * configure.in (VERSION): Set to "0.2".
219 * configure: Regenerated.
220 * nfs-utils.spec: Updated.
222 2000-08-25 H.J. Lu <hjl@lucon.org>
224 * support/misc/tcpwrapper.c (logit): Modify the log output.
226 2000-08-25 Ion Badulescu <ionut@cs.columbia.edu>
228 * utils/rquotad/rquotad.man, utils/statd/statd.man,
229 utils/mountd/mountd.man: updated
231 * utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL)
232 * utils/rquotad/Makefile: fix comment
234 * support/misc/tcpwrapper.c (logit): added comment about waiting
235 for the children after fork()
237 * utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving
238 zombies behind (from logit()'s fork)
239 * utils/rquotad/rquota_svc.c (main): ditto
240 * utils/statd/statd.c (main): ditto
242 * utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG
243 to check_default instead of 0, for prognum
245 * utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG
246 to check_default instead of 0, for prognum
248 * utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if
249 HAVE_TCP_WRAPPER is defined.
250 (mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is
251 defined. Reject an RPC call if check_default () fails.
253 2000-08-25 H.J. Lu <hjl@lucon.org>
255 * support/include/tcpwrapper.h: New for the tcp wrapper
257 * support/misc/Makefile: Likewise.
258 * support/misc/from_local.c: Likewise.
259 * support/misc/tcpwrapper.c: Likewise.
261 * aclocal.m4 (AC_TCP_WRAPPER): New.
262 * configure.in: Use it. Substitute LIBWRAP.
263 * configure: Rebuilt.
265 * config.mk.in (LIBNSL): New.
268 * support/Makefile (SUBDIRS): Add misc.
270 * support/lib/Makefile (LIBS): Add libmisc.a.
272 * utils/rquotad/Makefile (LIBS): Add
274 -lmisc $(LIBWRAP) $(LIBNSL)
276 * utils/statd/Makefile (LIBS): Likewise.
278 * utils/rquotad/rquota_svc.c: Include "tcpwrapper.h" if
279 HAVE_TCP_WRAPPER is defined.
280 (rquotaprog_1): Call check_default () if HAVE_TCP_WRAPPER is
281 defined. Reject an RPC call if check_default () fails.
283 * utils/statd/statd.c: Include "tcpwrapper.h" if
284 HAVE_TCP_WRAPPER is defined.
285 (sm_prog_1_wrapper): New. A wrapper for sm_prog_1. Call
286 check_default () before calling sm_prog_1 (). Define it as
287 sm_prog_1_wrapper if HAVE_TCP_WRAPPER is defined.
289 2000-08-25 Chip Salzenberg <chip@valinux.com>
291 * debian/*: Complete Debian build support.
292 * etc/debian/*: Remove.
294 2000-08-24 Neil Brown <neilb@cse.unsw.edu.au>
296 * support/export/client.c(client_check): removed the "dot+1" as a
297 ypdomain argument to innetgr as this is entirely bogus.
298 It should always be NULL.
300 2000-08-23 Neil Brown <neilb@cse.unsw.edu.au>
302 * support/export/xtab.c(xtab_read): introduce new mode for
303 reading xtab. i.e. a list of exports that might be known to the
304 kernel, or might not. These are flagged as m_exported == -1
305 * support/export/xtab.c(xtab_mount_read): call xtab_read with new
306 value "2" for xtab, meaning don't trust this too much.
307 * support/include/exportfs.h(struct mexport): changed m_exported
308 from one bit to an int so that it can hold new value
309 * utils/exportfs/exportfs.c(exportfs_ipdate): add an export to the
310 kernel if it is uncertain whether the kernel knows (m_exported == -1)
311 * utils/mountd/mountd.c(get_rootfh): similarly export to kernel if
314 * support/nfs/xio.c(xflock): added O_CREAT when getting
315 a write lock so that missing files aren't fatal.
317 * etc/debian/nfs-common: new file from "potato"
318 * etc/debian/nfs-kernel-server: new file from "potato" plus fixes.
320 2000-08-09 H.J. Lu <hjl@lucon.org>
322 * etc/redhat/nfs.init: Run /usr/sbin/exportfs first during
323 startup to ensure all existing clients work fine.
325 * support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0
326 to xtab_read () for reading _PATH_XTAB.
328 2000-08-02 H.J. Lu <hjl@lucon.org>
330 * utils/mountd/auth.c (auth_authenticate_internal): Try to
331 avoid the reverse name lookup.
333 2000-07-04 H.J. Lu <hjl@lucon.org>
335 * utils/statd/log.c: Include <stdlib.h> for exit ().
337 * utils/statd/misc.c (xunlink): Add `{' and `}' to quiet the
340 2000-07-04 H.J. Lu <hjl@lucon.org>
342 * configure.in (VERSION): Set to "0.1.9.1".
343 * configure: Regenerated.
344 * nfs-utils.spec: Updated.
348 2000-07-04 Neil Brown <neilb@cse.unsw.edu.au>
350 * support/export/hostname.c (hostent_dup): Handle the NULL
353 2000-07-03 H.J. Lu <hjl@lucon.org>
355 * README: Update the util-linux requirement.
357 2000-07-03 H.J. Lu <hjl@lucon.org>
359 * configure.in (VERSION): Set to "0.1.9".
360 * configure: Regenerated.
361 * nfs-utils.spec: Updated.
365 2000-07-03 H.J. Lu <hjl@lucon.org>
367 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
368 stop to ensure all clients can still access the server
369 before it is shutdown.
371 2000-06-30 Jeff Uphoff <juphoff@transmeta.com>
373 * tools/rpcgen/rpc_svcout.c (write_msg_out): Generate syslog()
374 calls with format string.
376 2000-06-28 Chip Salzenberg <chip@valinux.com>
378 * utils/statd/log.c (log): Call syslog with format string.
380 2000-06-27 H.J. Lu <hjl@lucon.org>
382 * utils/statd/statd.c (main): Use sysconf (_SC_OPEN_MAX)
385 2000-06-27 H.J. Lu <hjl@lucon.org>
389 2000-06-27 H.J. Lu <hjl@lucon.org>
391 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
392 startup to ensure all existing clients are exported.
394 * configure.in (VERSION): Set to "0.1.8.2".
395 * configure: Regenerated.
396 * nfs-utils.spec: Updated.
398 2000-06-06 H.J. Lu <hjl@lucon.org>
400 * configure.in (VERSION): Set to "0.1.8.1".
401 * configure: Regenerated.
402 * nfs-utils.spec: Updated.
404 2000-06-06 H.J. Lu <hjl@lucon.org>
406 * utils/mountd/mountd.c (mount_dump_1_svc): Cast svc_getcaller
407 to "struct sockaddr_in *" for glibc 2.2.
408 (mount_umnt_1_svc): Likewise.
409 (mount_umntall_1_svc): Likewise.
410 (mount_export_1_svc): Likewise.
411 (mount_exportall_1_svc): Likewise.
412 (mount_pathconf_2_svc): Likewise.
413 (get_rootfh): Likewise.
415 2000-06-04 H.J. Lu <hjl@lucon.org>
417 * etc/redhat/nfs.init: Fix a typo in comment.
419 2000-05-31 H.J. Lu <hjl@lucon.org>
421 * configure.in (VERSION): Set to "0.1.8".
422 * configure: Regenerated.
423 * nfs-utils.spec: Updated.
427 2000-05-31 H.J. Lu <hjl@lucon.org>
429 * configure.in (VERSION): Set to "0.1.7.5".
430 * configure: Regenerated.
431 * nfs-utils.spec: Updated.
433 * support/include/nfslib.h (exportent): Add a new field,
434 r_count, to count the number of mounts from a client.
435 (getrmtabent): Take a new argument for position in file.
436 (putrmtabent): Likewise.
437 (fgetrmtabent): Likewise.
438 (fputrmtabent): Likewise.
439 * support/nfs/rmtab.c (getrmtabent): Handle the new argument
440 for position in file.
441 (fgetrmtabent): Likewise.
442 (putrmtabent): Likewise.
443 (fputrmtabent): Likewise.
445 * support/nfs/rmtab.c (fgetrmtabent): Get value for the new
448 * support/export/rmtab.c (rmtab_read): Pass NULL as the new
449 argument to getrmtabent (), fgetrmtabent (), putrmtabent ()
451 * utils/mountd/rmtab.c (mountlist_add): Likewise.
452 (mountlist_del): Likewise.
453 (mountlist_del_all): Likewise.
454 (mountlist_list): Likewise.
456 * utils/mountd/rmtab.c (mountlist_add): Increment "r_count"
457 for the existing entry and initialize "r_count" to 1.
458 (mountlist_del): Decrement "r_count".
460 2000-05-18 H.J. Lu <hjl@lucon.org>
462 * configure.in (VERSION): Set to "0.1.7.4".
463 * configure: Regenerated.
464 * nfs-utils.spec: Updated.
466 2000-05-18 H.J. Lu <hjl@lucon.org>
468 * etc/redhat/nfs.init (restart): Just do stop and start.
470 2000-05-09 Jay Weber <jweber@valinux.com>
472 * utils/rquotad/hasquota.c: added support for ext3 recognition
474 * utils/rquotad/mntent.h: Likewise.
476 2000-05-01 H.J. Lu <hjl@lucon.org>
478 * configure.in (VERSION): Set to "0.1.7.3".
479 * configure: Regenerated.
480 * nfs-utils.spec: Updated.
482 2000-05-01 H.J. Lu <hjl@lucon.org>
484 * utils/rquotad/rquota_server.c (getquotainfo): Skip bad
485 mounting poins in /etc/fstab.
487 2000-05-01 H.J. Lu <hjl@lucon.org>
489 * configure.in (VERSION): Set to "0.1.7.2".
490 * configure: Regenerated.
491 * nfs-utils.spec: Updated.
493 2000-05-01 H.J. Lu <hjl@lucon.org>
495 * utils/rquotad/rquota_server.c (getquotainfo): Call stat ()
496 to check for the mounting point.
498 2000-04-29 Chip Salzenberg <chip@valinux.com>
499 Neil Brown <neilb@cse.unsw.edu.au>
501 * Really re-use RPC ports.
502 (Fixes earlier patch. Sorry, Neil.)
504 2000-04-26 H.J. Lu <hjl@lucon.org>
506 * configure.in (VERSION): Set to "0.1.7.1".
507 * configure: Regenerated.
508 * nfs-utils.spec: Updated.
510 2000-04-26 H.J. Lu <hjl@lucon.org>
512 * etc/redhat/nfslock.init: Check if lockd exits before killing
515 2000-04-25 H.J. Lu <hjl@lucon.org>
517 * README: Require util-linux-2.10f-mount-rpc.patch for mount.
519 2000-03-21 Michael Weiser <michael@weiser.saale-net.de>
521 * support/nfs/exports.c (parsesquash): Correctly set the
524 Tue Mar 21 11:38:48 EST 2000 NeilBrown <neilb@cse.unsw.edu.au>
526 * support/include/nfs/nfs.h: Removed knowledge of internals of
527 kernel filehandles (which can change) and defined nfs_fh_size
528 which has variable size
530 * support/nfs/getfh.c: defined getfh_size to use new syscall to
531 get variable sized file handles, and change getfh{,old} to
534 * utils/mountd/mountd.c: use nfd_fh_size and call getfh_size for
537 * tools/Makefile, tools/nlmtest/nlmtest.c
538 nlmtest.c depended on internel format of file handles, so now
542 2000-03-12 Chip Salzenberg <chip@valinux.com>
543 Neil Brown <neilb@cse.unsw.edu.au>
545 * support/nfs/rpcmisc.c (rpc_init): Share transports.
547 2000-03-13 H.J. Lu <hjl@lucon.org>
549 * etc/redhat/nfsd.init: Updated.
551 * etc/redhat/nfslock.init: Updated.
553 * nfs-utils.spec.in: Updated.
555 * configure.in (VERSION): Set to "0.1.7".
556 * configure: Regenerated.
557 * nfs-utils.spec: Updated.
561 Wed Mar 8 09:42:43 2000 Neil Brown <neilb@cse.unsw.edu.au>
563 * utils/exportfs/exportfs.c (dump): Included printing of
564 nohide, no_subtree_check, and insecure_locks
566 2000-02-26 Chip Salzenberg <chip@valinux.com>
568 * config.mk.in (INSTALLSUID): Strip ("-s").
569 (INSTALLSCRIPT): Define.
570 * utils/nhfsstone/Makefile: Use it.
572 2000-02-26 Chip Salzenberg <chip@valinux.com>
574 * utils/lockd/lockd.man: Create.
575 * utils/lockd/Makefile: Install it.
576 * utils/nhfsstone/nhfs{run,nums,graph}.man: Create.
577 * utils/nhfsstone/nhfsstone.man: Change suffix from ".1".
578 * utils/nhfsstone/Makefile: Install the helper scripts and
580 * utils/exportfs/exports.man: Fix typo.
582 2000-02-26 Chip Salzenberg <chip@valinux.com>
584 * support/nfs/xio.c (xungetc): Decrement line number when
585 character to unget is newline. Make first parameter int, so
586 it can distinguish EOF from \377.
587 * support/include/xio.h (xungetc): Adjust prototype.
589 Fri Feb 4 23:42:23 2000 Neil Brown <neilb@cse.unsw.edu.au>
591 * support/include/nfs/export.h: added NFSEXP_NOAUTHNLM
592 * support/nfs/exports.c: added handling for NFSEXP_NOAUTHNLM
593 * utils/exportfs/exports.man: added documentation for no_auth_nlm.
595 This is for supporting a new option introduced in 2.3.42
597 Thu Feb 3 14:55:48 2000 H.J. Lu <hjl@lucon.org>
599 * COPYING: Added. GPL.
601 Thu Feb 03 14:40:40 2000 Cristian Gafton <gafton@redhat.com>
603 * utils/rquotad/rquota_server.c (getquotainfo): Call statfs ()
604 to get the block size.
606 Tue Jan 25 11:04:17 2000 H.J. Lu <hjl@lucon.org>
608 * nfs-utils.spec.in: Update ftp site.
610 Mon Jan 17 11:48:18 2000 H.J. Lu <hjl@lucon.org>
612 * README: Update hostnames.
614 Tue Jan 11 10:06:22 2000 H.J. Lu <hjl@lucon.org>
616 * configure.in (VERSION): Set to "0.1.6".
617 * configure: Regenerated.
618 * nfs-utils.spec: Updated.
622 Mon Jan 10 14:26:33 2000 H.J. Lu <hjl@lucon.org>
624 * utils/mountd/auth.c (auth_authenticate_internal): Call
625 xstrdup for hostname before passing it to gethostbyname.
627 * utils/mountd/mountd.c (get_exportlist): Use xstrdup instead
630 Sun Dec 19 09:35:01 1999 H.J. Lu <hjl@lucon.org>
632 * README: Update the mailing list address.
634 Sun Dec 19 09:22:28 1999 H.J. Lu <hjl@lucon.org>
636 * configure.in (VERSION): Set to "0.1.5".
637 * configure: Regenerated.
638 * nfs-utils.spec: Updated.
642 Mon Dec 13 13:40:20 1999 H.J. Lu <hjl@lucon.org>
644 * utils/rquotad/hasquota.c (hasquota): Malloc one more char
647 Mon Dec 6 09:42:45 1999 H.J. Lu <hjl@lucon.org>
649 * configure.in (VERSION): Set to "0.1.4".
650 * configure: Regenerated.
651 * nfs-utils.spec: Updated.
655 Mon Dec 6 09:28:07 1999 H.J. Lu <hjl@lucon.org>
657 * nfs-utils.spec.in: New file.
659 * config.mk.in (VERSION): Changed to "nfs-utils @VERSION@".
661 * configure.in (nfs-utils.spec): Added to AC_OUTPUT.
663 1999-12-04 Chip Salzenberg <chip@valinux.com>
665 * config.mk.in: Use $(CC) as set by configure.
667 1999-12-04 Chip Salzenberg <chip@valinux.com>
669 * rules.mk: Call $(MAKE) with $(MFLAGS).
671 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
673 * tools/rpcgen/rpc_main.c (h_output): Generate IXDR_GET_INT32,
674 IXDR_PUT_INT32, IXDR_GET_U_INT32 and IXDR_PUT_U_INT32.
676 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
678 * nfs-utils.spec (Version): Set to 0.1.3.
680 * configure.in (VERSION): Set to "nfs-utils 0.1.3".
681 * configure: Regenerated.
685 Mon Nov 29 11:15:47 1999 H.J. Lu <hjl@lucon.org>
687 * utils/rquotad/rquota_server.c (nfsmount_to_devname): Removed.
688 (_PATH_DEV_DSK): Likewise.
689 (getquotainfo): Match the mounting point from /etc/mtab
690 instead of calling nfsmount_to_devname ().
692 1999-11-24 Chip Salzenberg <chip@valinux.com>
694 * utils/statd/monitor.c (sm_mon_1_svc): Accept lockd callbacks
695 to the new port 24 as well as the historical port 100021.
697 Tue Nov 23 10:21:34 1999 Neil Brown <neilb@cse.unsw.edu.au>
699 * etc/redhat/nfsd.init (stop): moved exportfs -ua after
700 stopping nfsd to stop spurious ESTALE on server shutdown.
702 Tue Nov 23 10:13:39 1999 Neil Brown <neilb@cse.unsw.edu.au>
704 * support/nfs/exports.c (parseopts): make copy of opt string
705 before 'nul'ing out commas so that
707 # exportfs -o option1,option2 hosta:/fs hostb:/fs
709 applies both options to both exports.
711 Thu Oct 28 12:55:42 1999 H.J. Lu <hjl@lucon.org>
713 * README: Fix a few typos.
715 * tools/rpcgen/rpc_cout.c (print_header): Use int32_t instead
717 * tools/rpcgen/rpc_hout.c (pdefine): Likewise.
718 * tools/rpcgen/rpc_main.c (c_initialize): Likewise.
719 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
720 (unsigned_dec): Likewise.
721 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
722 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
724 * tools/rpcgen/rpc_cout.c (emit_single_in_line): Use INT32
726 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
727 (unsigned_dec): Likewise.
728 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
729 * tools/rpcgen/rpc_scan.h (tok_kind): Likewise.
730 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
732 Thu Oct 28 11:27:51 1999 Neil Brown <neilb@cse.unsw.edu.au>
734 * support/include/nfs/export.h addedd NFSEXP_NOSUBTREECHECK
735 * support/nfs/exports.c: added {no_,}subtree_check and changed
737 * utils/exportfs/exports.man: added no_subtree_check and nohide
738 and removed irrelevant stuff from unfsd.
739 * support/export/rmtab.c: rmtab_read didn't quite do the right
740 thing if a pathname from rmtab was a subdirectory of an export-point
742 Tue Oct 26 17:22:40 1999 H.J. Lu <hjl@lucon.org>
744 * README: Updated ftp site.
746 Mon Oct 25 18:12:45 1999 H.J. Lu <hjl@lucon.org>
748 * nfs-utils.spec (Version): Set to 0.1.2.
750 * configure.in (VERSION): Set to "nfs-utils 0.1.2".
751 * configure: Regenerated.
755 Mon Oct 25 18:11:21 1999 H.J. Lu <hjl@lucon.org>
757 * utils/mountd/auth.c (auth_error): Add "no_forward_dns".
758 (auth_authenticate_internal): Check for NULL return on forward
760 (auth_authenticate): Handle "no_forward_dns".
762 Thu Oct 21 16:22:06 1999 H.J. Lu <hjl@lucon.org>
764 * Version 0.1.1 released.
766 * nfs-utils.spec (Version): Set to 0.1.1.
768 * configure.in (VERSION): Set to "nfs-utils 0.1.1".
769 * configure: Regenerated.
773 Mon Oct 18 17:43:29 1999 H.J. Lu <hjl@lucon.org>
775 * nfs-utils.spec (Obsoletes): Fixed a typo, change knfsd-client
777 (Provides): Likewise.
779 Mon Oct 18 14:56:22 1999 H.J. Lu <hjl@lucon.org>
781 * Initial version 0.1 released.
783 * configure.in (VERSION): Set to "nfs-utils 0.1".
784 * configure: Regenerated.
786 Mon Oct 18 14:54:57 1999 H.J. Lu <hjl@lucon.org>
788 * utils/mountd/mountd.c (get_exportlist): Cleanup.
790 * utils/exportfs/exportfs.c (unexport_all): Unexport from
791 kernel only if the entry is exported to kernel.
792 (unexportfs): Likewise.
794 Wed Sep 08 16:49:32 1999 Neil Brown <neilb@cse.unsw.edu.au>
796 1/ utils/mountd/rmtab.c::mountlist_list
798 This routine stats the rmtab file to see if it has changed. It
799 if has, it cleans up it's old copy of the data. But it still
800 always re-read the file, thus returning multiple copies of the
801 data on consecutive calls without intervening changes.
802 "Showmount -a" didn't show this as it appears to sort/unique the
803 data, but 'strace showmount -a' showed that the size of the
804 datagram that it received grew.
806 I moved the getrmtabent loop inside the mtime test.
808 2/ utils/exportfs/exportfs.c
810 Many routines used the m_path field of m_export instead of
812 According to the comment in nfslib.h, m_path should only
813 be used when processing a mount request (i.e. in mountd)
814 where the mountpoint may be a subdirectory of the export point.
816 I changed all occurances of m_path to e_path
819 3/ utils/exportfs/exportfs.c:main
821 extra arguments are not meaningful with -a or -r, but
822 exportfs accepted them and then ignored the -a/-r, expect that
823 -r would still unexport everything first.
825 I generate an error if there are extra args and f_all
827 4/ utils/exportfs/exportfs.c:main
828 extract dump out as a special case.
830 5/ utils/exportfs/exportfs.c
831 made f_reexport a local variable.
834 6/ utils/exportfs/exportfs.c:main,exportall
836 support/export/rmtab.c
837 only mayexport on newly created entries, don't set xtabent at all
839 7/ support/include/nfslib.h
841 add #define _PATH_PROC_EXPORTS to be /proc/fs/nds/exports
843 8/ support/export/xtab.c
845 xtab_mount_read loads data from _PATH_PROC_EXPORTS if it exists,
849 9/ support/export/xtab.c
851 xtab_mount_read now sets m_exported, and NOT
852 xtabent and mayexport
854 removed the append arguement from xtab_write as it was
857 added is_export flag to xtab_write similar to xtab_read
858 if is_export, only write entries with m_xtabent or m_addxtab
859 if !is_export, only write entries with m_exported
861 10/ support/export/export.c::export_allowed_internal
863 added test for exp->m_mayexport, as the export tree
864 may have entries that are no longer allowed to be exported,
865 and so shouldn't caused deduced exported by rmtab_read
867 11/ utils/exportfs/exportfs.c::main
868 error checking of flags.
870 12/ utils/exportfs/exportfs.c
872 total rewrite of export and unexport logic.
874 - build an exportslist of valid exports, based on
875 current etab file and arguments,
876 - read rmtab to instantiate relevant wild card entries
877 - read etab to find out what is currently exported
878 - synchronise intention with reality
879 - write out etab and xtab
882 discard the m_addxtab flag
883 add m_changed flag so we know what to report in exportfs
885 14/ utils/mountd/auth.c:auth_authenticate
887 the value returned by gethostbyaddr was trusted.
889 It now follows this with a call to gethostbyname
890 and checks that the address is in the list.
892 15/ support/export/nfsctl.c::cltsetup,expsetup
894 force client names to lowercase as kernel is
897 16/ quietened a few compiler warnings
899 17/ support/export/client:client_lookup
901 look for pre-existing client with same name before creating
904 18/ support/include/exportfs.h
906 The ordering of the MCL_* enum was:
907 ANONYMOUS, FQDN, SUBNETWORK, WILDCARD, NETGROUP
909 I moved ANONYMOUS to the end.
911 The ordering is significant when an export entry is being searched for to
912 match a given address. There are two problems with ANONYMOUS being first.
914 1/ if a directory is exported rw to a couple of hosts and ro to everyone else,
915 then the ro case will always be found first and the privileged hosts won't get
917 2/ When mountd gets a request to mount an ANONYMOUSly exported tree, it creates a FQDN
918 export entry for the specific host, and writes it to xtab.
919 When another request comes from the same host, the ANONYMOUS entry is found again,
920 before the new FQDN entry, so it creates another FQDN entry and writes it to xtab
921 again. If causes bloat in xtab.
923 Putting ANONYMOUS at the end reflects it's nature as a catch-all
925 19/ utils/exportfs/exportfs.man
926 many updates to the man page to reflect changes to the code
928 -----------------------
934 - allow exportfs to modify rmtab file
935 - make sure kernel never gets two clients with same IP address
936 - possible kernel should reject
937 - needs to be some way to lookup client in kernel by IP address
938 - maybe get kernel to do case-insensitive comparisons on client names
939 - remove unused clients from kernel
941 - change etab to xtab and xtab to xtab.active
943 - timestamp and/or statd-stamp in rmtab for removing old entries.
945 Mon Oct 18 11:48:07 1999 H.J. Lu <hjl@lucon.org>
947 * linux-nfs: New directory.
948 * linux-nfs/ChangeLog: Moved from ..
949 * linux-nfs/INSTALL: Likewise.
950 * linux-nfs/KNOWNBUGS: Likewise.
951 * linux-nfs/NEW: Likewise.
952 * linux-nfs/README: Likewise.
953 * linux-nfs/THANKS: Likewise.
954 * linux-nfs/TODO: Likewise.
956 * Starting from knfsd 1.4.7.