1 2001-03-09 H.J. Lu <hjl@lucon.org>
3 * etc/redhat/nfslock.init: Changed chkconfig line to 60 86.
4 * etc/nodist/nfs-client: Likewise.
6 2001-02-26 Chip Salzenberg <chip@valinux.com>
8 * debian/changelog: Version 0.3.1-1.
9 * Mention upstream source and license in copyright file.
10 * Add build-Depends for debhelper and libwrap0-dev.
12 2001-02-20 Lon Hohberger <hohberger@missioncriticallinux.com>
14 * etc/nodist/nfs-server: Changed chkconfig line to 60 20
15 * etc/nodist/nfs-client: Likewise.
17 2001-02-18 Lon Hohberger <hohberger@missioncriticallinux.com>
19 * utils/statd/statd.man: Changed /usr/sbin/rpc.statd to
22 2001-02-17 Patrick J. LoPresti <patl@curl.com>
24 * utils/statd/log.c (log_init): Use LOG_DAEMON instead of
27 2001-02-14 H.J. Lu <hjl@lucon.org>
29 * utils/statd/rmtcall.c: Include <time.h>.
30 * utils/statd/svc_run.c: Likewise.
32 2001-02-14 H.J. Lu <hjl@lucon.org>
34 * configure.in (VERSION): Set to "0.3.1".
35 * configure: Regenerated.
36 o * nfs-utils.spec: Likewise.
38 * README: Updated for 0.3.1.
40 2001-02-14 H.J. Lu <hjl@lucon.org>
42 * support/nfs/rpcmisc.c: Include <time.h>.
44 2001-02-14 Chip Salzenberg <chip@valinux.com>
46 * debian/control: Change priority of nhfsstone package to 'extra'.
48 2001-02-12 Chip Salzenberg <chip@valinux.com>
50 * debian/changelog: Version 0.3-2.
52 2001-02-02 H.J. Lu <hjl@lucon.org>
54 * support/include/rpcmisc.h (rpc_init): Remove bufsize.
56 * support/nfs/rpcmisc.c (makesock): Remove socksz and comment
57 out SO_SNDBUF/SO_RCVBUF.
58 (rpc_init): Remove bufsize and remove socksz in calls to
61 * utils/mountd/mountd.c (main): Remove bufsize in calls to
64 2001-01-28 Chip Salzenberg <chip@valinux.com>
66 * debian/changelog: Version 0.3-1.
68 2001-01-25 H.J. Lu <hjl@lucon.org>
70 * configure.in (VERSION): Set to "0.3".
71 * configure: Regenerated.
72 * nfs-utils.spec: Likewise.
74 * README: Updated for 0.3.
76 2001-01-25 H.J. Lu <hjl@lucon.org>
78 * utils/lockd/lockd.c (main): Ignore errno == EINVAL.
80 2001-01-20 Chip Salzenberg <chip@valinux.com>
82 * support/include/xio.h (xgetc): Declare to return int.
83 * support/nfs/xio.c (xgetc): Return int.
84 (xgettok, xskip, xskipcomment): Use int for value of xgetc.
85 * utils/statd/statd.c (main): Use int for value of getopt.
86 * debian/changelog: Version 0.2.1-5.
88 2000-12-10 Chip Salzenberg <chip@valinux.com>
90 * utils/statd/monitor.c (sm_mon_1_svc): Fix buggy check for
91 program and procedure numbers of kernel lockd's callback. Also,
92 besides the old (and broken) procedure #24, allow #16 per Trond.
94 2000-12-03 Chip Salzenberg <chip@valinux.com>
96 * support/nfs/xio.c (xfopen): Initialize x_line to one, not zero.
97 * debian/control: Let nhfsstone replace files in nfs-kernel-server.
98 * debian/changelog: Version 0.2.1-4.
100 2000-11-27 Tobias Ringstrom <tori@tellus.mine.nu>
102 * utils/mountd/auth.c (auth_authenticate): Log the bad path
105 2000-11-24 Neil Brown <neilb@cse.unsw.edu.au>
107 * support/nfs/exports.c (getexportent): Check for host name
108 without option, or options without hostname, and print a warning,
109 as this is most likely a typo.
111 2000-11-19 Chip Salzenberg <chip@valinux.com>
113 * debian/control: Add dependency on portmap.
114 * debian/changelog: Version 0.2.1-3.
116 2000-11-10 H.J. Lu <hjl@lucon.org>
118 * nfs-utils.spec.in: Don't use libtool.
119 Add ChangeLog and COPYING to doc.
120 * nfs-utils.spec: Rebuild.
122 2000-11-09 H.J. Lu <hjl@lucon.org>
124 * etc/redhat/nfs.init (start): Back out the last change.
126 2000-11-09 H.J. Lu <hjl@lucon.org>
128 * etc/redhat/nfs.init (start): Pass --no-tcp to mountd if
129 TCP is not supported by kernel.
131 * support/nfs/rpcmisc.c (rpc_init): Don't set _rpcfdtype to 0.
133 * utils/mountd/mountd.c (longopts): Add "-n/--no-tcp".
134 (main): Set to _rpcfdtype to SOCK_DGRAM for "-n/--no-tcp".
136 * utils/mountd/mountd.man: Updated for "-n/--no-tcp".
138 2000-10-24 Lon Hohberger <hohberger@missioncriticallinux.com>
140 * utils/statd/callback.c: Fix bug preventing callbacks to local lockd.
141 * utils/statd/rmtcall.c: Add some IP address paranoia when doing
142 callbacks to local lockd.
144 2000-10-18 Scott McDermott <mcdermot@questra.com>
146 * utils/exportfs/exports.man: Updated for CIDR netmask.
148 2000-10-17 Scott McDermott <mcdermot@questra.com>
150 * support/export/client.c (client_init): Support CIDR netmask
153 2000-10-11 H.J. Lu <hjl@lucon.org>
155 * aclocal.m4 (AC_TCP_WRAPPER): Fix a typo.
156 * configure: Rebuilt.
158 2000-10-06 Lon Hohberger <hohberger@missioncriticallinux.com>
160 * utils/statd/statd.man: Change "/var/lib/nfs/sm/state" to
161 "/var/lib/nfs/state".
163 2000-10-05 Lon Hohberger <hohberger@missioncriticallinux.com>
165 * utils/statd/statd.h (run_mode): New global bitmask of runtime
166 behaviors: fg/bg, logging, etc.
167 * utils/statd/statd.c: New command line options: -V -h -? -d .
168 * utils/statd/statd.man: Update for changes to statd.
170 * utils/statd/log.h (log_init): Remove parameter of function; use
171 global variable "name_p" instead.
172 * utils/statd/log.c: Add support for logging to stderr.
174 * utils/statd/notlist.c: Partially rewrite notify list handling
175 functions. Eliminate run-off-end-of-list bug when calling
176 nlist_insert_timer. Add lots of comments.
178 2000-09-27 H.J. Lu <hjl@lucon.org>
180 * README: Updated for RedHat 7.0.
182 2000-09-27 H.J. Lu <hjl@lucon.org>
184 * nfs-utils.spec: Rebuild.
186 2000-09-27 H.J. Lu <hjl@lucon.org>
188 * README: Updated for 0.2.1.
190 2000-09-27 H.J. Lu <hjl@lucon.org>
192 * nfs-utils.spec.in: Updated to use rpm macros and support
195 2000-09-25 H.J. Lu <hjl@lucon.org>
197 * configure.in (VERSION): Set to "0.2.1".
198 * configure: Regenerated.
199 * nfs-utils.spec: Updated.
201 2000-09-25 H.J. Lu <hjl@lucon.org>
203 * utils/mountd/auth.c (auth_authenticate_internal): Make sure a
204 non-NULL hostent is always returned.
206 2000-09-11 Ion Badulescu <ionut@moisil.dev.hydraweb.com>
208 * etc/redhat/nfslock.init: don't kill lockd processes that do not
209 have an executable (i.e. kernel threads)
211 2000-09-01 H.J. Lu <hjl@lucon.org>
213 * README: Updated for 0.2.
215 2000-09-01 Jay Weber <jweber@valinux.com>
217 * etc/redhat/nfs.init: Added ability for rpc.mountd to default to
218 supporting version 3 of nfs if available, else it will fall back to
219 version 2 support only.
221 2000-08-30 H.J. Lu <hjl@lucon.org>
223 * configure.in (VERSION): Set to "0.2".
224 * configure: Regenerated.
225 * nfs-utils.spec: Updated.
227 2000-08-25 H.J. Lu <hjl@lucon.org>
229 * support/misc/tcpwrapper.c (logit): Modify the log output.
231 2000-08-25 Ion Badulescu <ionut@cs.columbia.edu>
233 * utils/rquotad/rquotad.man, utils/statd/statd.man,
234 utils/mountd/mountd.man: updated
236 * utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL)
237 * utils/rquotad/Makefile: fix comment
239 * support/misc/tcpwrapper.c (logit): added comment about waiting
240 for the children after fork()
242 * utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving
243 zombies behind (from logit()'s fork)
244 * utils/rquotad/rquota_svc.c (main): ditto
245 * utils/statd/statd.c (main): ditto
247 * utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG
248 to check_default instead of 0, for prognum
250 * utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG
251 to check_default instead of 0, for prognum
253 * utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if
254 HAVE_TCP_WRAPPER is defined.
255 (mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is
256 defined. Reject an RPC call if check_default () fails.
258 2000-08-25 H.J. Lu <hjl@lucon.org>
260 * support/include/tcpwrapper.h: New for the tcp wrapper
262 * support/misc/Makefile: Likewise.
263 * support/misc/from_local.c: Likewise.
264 * support/misc/tcpwrapper.c: Likewise.
266 * aclocal.m4 (AC_TCP_WRAPPER): New.
267 * configure.in: Use it. Substitute LIBWRAP.
268 * configure: Rebuilt.
270 * config.mk.in (LIBNSL): New.
273 * support/Makefile (SUBDIRS): Add misc.
275 * support/lib/Makefile (LIBS): Add libmisc.a.
277 * utils/rquotad/Makefile (LIBS): Add
279 -lmisc $(LIBWRAP) $(LIBNSL)
281 * utils/statd/Makefile (LIBS): Likewise.
283 * utils/rquotad/rquota_svc.c: Include "tcpwrapper.h" if
284 HAVE_TCP_WRAPPER is defined.
285 (rquotaprog_1): Call check_default () if HAVE_TCP_WRAPPER is
286 defined. Reject an RPC call if check_default () fails.
288 * utils/statd/statd.c: Include "tcpwrapper.h" if
289 HAVE_TCP_WRAPPER is defined.
290 (sm_prog_1_wrapper): New. A wrapper for sm_prog_1. Call
291 check_default () before calling sm_prog_1 (). Define it as
292 sm_prog_1_wrapper if HAVE_TCP_WRAPPER is defined.
294 2000-08-25 Chip Salzenberg <chip@valinux.com>
296 * debian/*: Complete Debian build support.
297 * etc/debian/*: Remove.
299 2000-08-24 Neil Brown <neilb@cse.unsw.edu.au>
301 * support/export/client.c(client_check): removed the "dot+1" as a
302 ypdomain argument to innetgr as this is entirely bogus.
303 It should always be NULL.
305 2000-08-23 Neil Brown <neilb@cse.unsw.edu.au>
307 * support/export/xtab.c(xtab_read): introduce new mode for
308 reading xtab. i.e. a list of exports that might be known to the
309 kernel, or might not. These are flagged as m_exported == -1
310 * support/export/xtab.c(xtab_mount_read): call xtab_read with new
311 value "2" for xtab, meaning don't trust this too much.
312 * support/include/exportfs.h(struct mexport): changed m_exported
313 from one bit to an int so that it can hold new value
314 * utils/exportfs/exportfs.c(exportfs_ipdate): add an export to the
315 kernel if it is uncertain whether the kernel knows (m_exported == -1)
316 * utils/mountd/mountd.c(get_rootfh): similarly export to kernel if
319 * support/nfs/xio.c(xflock): added O_CREAT when getting
320 a write lock so that missing files aren't fatal.
322 * etc/debian/nfs-common: new file from "potato"
323 * etc/debian/nfs-kernel-server: new file from "potato" plus fixes.
325 2000-08-09 H.J. Lu <hjl@lucon.org>
327 * etc/redhat/nfs.init: Run /usr/sbin/exportfs first during
328 startup to ensure all existing clients work fine.
330 * support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0
331 to xtab_read () for reading _PATH_XTAB.
333 2000-08-02 H.J. Lu <hjl@lucon.org>
335 * utils/mountd/auth.c (auth_authenticate_internal): Try to
336 avoid the reverse name lookup.
338 2000-07-04 H.J. Lu <hjl@lucon.org>
340 * utils/statd/log.c: Include <stdlib.h> for exit ().
342 * utils/statd/misc.c (xunlink): Add `{' and `}' to quiet the
345 2000-07-04 H.J. Lu <hjl@lucon.org>
347 * configure.in (VERSION): Set to "0.1.9.1".
348 * configure: Regenerated.
349 * nfs-utils.spec: Updated.
353 2000-07-04 Neil Brown <neilb@cse.unsw.edu.au>
355 * support/export/hostname.c (hostent_dup): Handle the NULL
358 2000-07-03 H.J. Lu <hjl@lucon.org>
360 * README: Update the util-linux requirement.
362 2000-07-03 H.J. Lu <hjl@lucon.org>
364 * configure.in (VERSION): Set to "0.1.9".
365 * configure: Regenerated.
366 * nfs-utils.spec: Updated.
370 2000-07-03 H.J. Lu <hjl@lucon.org>
372 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
373 stop to ensure all clients can still access the server
374 before it is shutdown.
376 2000-06-30 Jeff Uphoff <juphoff@transmeta.com>
378 * tools/rpcgen/rpc_svcout.c (write_msg_out): Generate syslog()
379 calls with format string.
381 2000-06-28 Chip Salzenberg <chip@valinux.com>
383 * utils/statd/log.c (log): Call syslog with format string.
385 2000-06-27 H.J. Lu <hjl@lucon.org>
387 * utils/statd/statd.c (main): Use sysconf (_SC_OPEN_MAX)
390 2000-06-27 H.J. Lu <hjl@lucon.org>
394 2000-06-27 H.J. Lu <hjl@lucon.org>
396 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
397 startup to ensure all existing clients are exported.
399 * configure.in (VERSION): Set to "0.1.8.2".
400 * configure: Regenerated.
401 * nfs-utils.spec: Updated.
403 2000-06-06 H.J. Lu <hjl@lucon.org>
405 * configure.in (VERSION): Set to "0.1.8.1".
406 * configure: Regenerated.
407 * nfs-utils.spec: Updated.
409 2000-06-06 H.J. Lu <hjl@lucon.org>
411 * utils/mountd/mountd.c (mount_dump_1_svc): Cast svc_getcaller
412 to "struct sockaddr_in *" for glibc 2.2.
413 (mount_umnt_1_svc): Likewise.
414 (mount_umntall_1_svc): Likewise.
415 (mount_export_1_svc): Likewise.
416 (mount_exportall_1_svc): Likewise.
417 (mount_pathconf_2_svc): Likewise.
418 (get_rootfh): Likewise.
420 2000-06-04 H.J. Lu <hjl@lucon.org>
422 * etc/redhat/nfs.init: Fix a typo in comment.
424 2000-05-31 H.J. Lu <hjl@lucon.org>
426 * configure.in (VERSION): Set to "0.1.8".
427 * configure: Regenerated.
428 * nfs-utils.spec: Updated.
432 2000-05-31 H.J. Lu <hjl@lucon.org>
434 * configure.in (VERSION): Set to "0.1.7.5".
435 * configure: Regenerated.
436 * nfs-utils.spec: Updated.
438 * support/include/nfslib.h (exportent): Add a new field,
439 r_count, to count the number of mounts from a client.
440 (getrmtabent): Take a new argument for position in file.
441 (putrmtabent): Likewise.
442 (fgetrmtabent): Likewise.
443 (fputrmtabent): Likewise.
444 * support/nfs/rmtab.c (getrmtabent): Handle the new argument
445 for position in file.
446 (fgetrmtabent): Likewise.
447 (putrmtabent): Likewise.
448 (fputrmtabent): Likewise.
450 * support/nfs/rmtab.c (fgetrmtabent): Get value for the new
453 * support/export/rmtab.c (rmtab_read): Pass NULL as the new
454 argument to getrmtabent (), fgetrmtabent (), putrmtabent ()
456 * utils/mountd/rmtab.c (mountlist_add): Likewise.
457 (mountlist_del): Likewise.
458 (mountlist_del_all): Likewise.
459 (mountlist_list): Likewise.
461 * utils/mountd/rmtab.c (mountlist_add): Increment "r_count"
462 for the existing entry and initialize "r_count" to 1.
463 (mountlist_del): Decrement "r_count".
465 2000-05-18 H.J. Lu <hjl@lucon.org>
467 * configure.in (VERSION): Set to "0.1.7.4".
468 * configure: Regenerated.
469 * nfs-utils.spec: Updated.
471 2000-05-18 H.J. Lu <hjl@lucon.org>
473 * etc/redhat/nfs.init (restart): Just do stop and start.
475 2000-05-09 Jay Weber <jweber@valinux.com>
477 * utils/rquotad/hasquota.c: added support for ext3 recognition
479 * utils/rquotad/mntent.h: Likewise.
481 2000-05-01 H.J. Lu <hjl@lucon.org>
483 * configure.in (VERSION): Set to "0.1.7.3".
484 * configure: Regenerated.
485 * nfs-utils.spec: Updated.
487 2000-05-01 H.J. Lu <hjl@lucon.org>
489 * utils/rquotad/rquota_server.c (getquotainfo): Skip bad
490 mounting poins in /etc/fstab.
492 2000-05-01 H.J. Lu <hjl@lucon.org>
494 * configure.in (VERSION): Set to "0.1.7.2".
495 * configure: Regenerated.
496 * nfs-utils.spec: Updated.
498 2000-05-01 H.J. Lu <hjl@lucon.org>
500 * utils/rquotad/rquota_server.c (getquotainfo): Call stat ()
501 to check for the mounting point.
503 2000-04-29 Chip Salzenberg <chip@valinux.com>
504 Neil Brown <neilb@cse.unsw.edu.au>
506 * Really re-use RPC ports.
507 (Fixes earlier patch. Sorry, Neil.)
509 2000-04-26 H.J. Lu <hjl@lucon.org>
511 * configure.in (VERSION): Set to "0.1.7.1".
512 * configure: Regenerated.
513 * nfs-utils.spec: Updated.
515 2000-04-26 H.J. Lu <hjl@lucon.org>
517 * etc/redhat/nfslock.init: Check if lockd exits before killing
520 2000-04-25 H.J. Lu <hjl@lucon.org>
522 * README: Require util-linux-2.10f-mount-rpc.patch for mount.
524 2000-03-21 Michael Weiser <michael@weiser.saale-net.de>
526 * support/nfs/exports.c (parsesquash): Correctly set the
529 Tue Mar 21 11:38:48 EST 2000 NeilBrown <neilb@cse.unsw.edu.au>
531 * support/include/nfs/nfs.h: Removed knowledge of internals of
532 kernel filehandles (which can change) and defined nfs_fh_size
533 which has variable size
535 * support/nfs/getfh.c: defined getfh_size to use new syscall to
536 get variable sized file handles, and change getfh{,old} to
539 * utils/mountd/mountd.c: use nfd_fh_size and call getfh_size for
542 * tools/Makefile, tools/nlmtest/nlmtest.c
543 nlmtest.c depended on internel format of file handles, so now
547 2000-03-12 Chip Salzenberg <chip@valinux.com>
548 Neil Brown <neilb@cse.unsw.edu.au>
550 * support/nfs/rpcmisc.c (rpc_init): Share transports.
552 2000-03-13 H.J. Lu <hjl@lucon.org>
554 * etc/redhat/nfsd.init: Updated.
556 * etc/redhat/nfslock.init: Updated.
558 * nfs-utils.spec.in: Updated.
560 * configure.in (VERSION): Set to "0.1.7".
561 * configure: Regenerated.
562 * nfs-utils.spec: Updated.
566 Wed Mar 8 09:42:43 2000 Neil Brown <neilb@cse.unsw.edu.au>
568 * utils/exportfs/exportfs.c (dump): Included printing of
569 nohide, no_subtree_check, and insecure_locks
571 2000-02-26 Chip Salzenberg <chip@valinux.com>
573 * config.mk.in (INSTALLSUID): Strip ("-s").
574 (INSTALLSCRIPT): Define.
575 * utils/nhfsstone/Makefile: Use it.
577 2000-02-26 Chip Salzenberg <chip@valinux.com>
579 * utils/lockd/lockd.man: Create.
580 * utils/lockd/Makefile: Install it.
581 * utils/nhfsstone/nhfs{run,nums,graph}.man: Create.
582 * utils/nhfsstone/nhfsstone.man: Change suffix from ".1".
583 * utils/nhfsstone/Makefile: Install the helper scripts and
585 * utils/exportfs/exports.man: Fix typo.
587 2000-02-26 Chip Salzenberg <chip@valinux.com>
589 * support/nfs/xio.c (xungetc): Decrement line number when
590 character to unget is newline. Make first parameter int, so
591 it can distinguish EOF from \377.
592 * support/include/xio.h (xungetc): Adjust prototype.
594 Fri Feb 4 23:42:23 2000 Neil Brown <neilb@cse.unsw.edu.au>
596 * support/include/nfs/export.h: added NFSEXP_NOAUTHNLM
597 * support/nfs/exports.c: added handling for NFSEXP_NOAUTHNLM
598 * utils/exportfs/exports.man: added documentation for no_auth_nlm.
600 This is for supporting a new option introduced in 2.3.42
602 Thu Feb 3 14:55:48 2000 H.J. Lu <hjl@lucon.org>
604 * COPYING: Added. GPL.
606 Thu Feb 03 14:40:40 2000 Cristian Gafton <gafton@redhat.com>
608 * utils/rquotad/rquota_server.c (getquotainfo): Call statfs ()
609 to get the block size.
611 Tue Jan 25 11:04:17 2000 H.J. Lu <hjl@lucon.org>
613 * nfs-utils.spec.in: Update ftp site.
615 Mon Jan 17 11:48:18 2000 H.J. Lu <hjl@lucon.org>
617 * README: Update hostnames.
619 Tue Jan 11 10:06:22 2000 H.J. Lu <hjl@lucon.org>
621 * configure.in (VERSION): Set to "0.1.6".
622 * configure: Regenerated.
623 * nfs-utils.spec: Updated.
627 Mon Jan 10 14:26:33 2000 H.J. Lu <hjl@lucon.org>
629 * utils/mountd/auth.c (auth_authenticate_internal): Call
630 xstrdup for hostname before passing it to gethostbyname.
632 * utils/mountd/mountd.c (get_exportlist): Use xstrdup instead
635 Sun Dec 19 09:35:01 1999 H.J. Lu <hjl@lucon.org>
637 * README: Update the mailing list address.
639 Sun Dec 19 09:22:28 1999 H.J. Lu <hjl@lucon.org>
641 * configure.in (VERSION): Set to "0.1.5".
642 * configure: Regenerated.
643 * nfs-utils.spec: Updated.
647 Mon Dec 13 13:40:20 1999 H.J. Lu <hjl@lucon.org>
649 * utils/rquotad/hasquota.c (hasquota): Malloc one more char
652 Mon Dec 6 09:42:45 1999 H.J. Lu <hjl@lucon.org>
654 * configure.in (VERSION): Set to "0.1.4".
655 * configure: Regenerated.
656 * nfs-utils.spec: Updated.
660 Mon Dec 6 09:28:07 1999 H.J. Lu <hjl@lucon.org>
662 * nfs-utils.spec.in: New file.
664 * config.mk.in (VERSION): Changed to "nfs-utils @VERSION@".
666 * configure.in (nfs-utils.spec): Added to AC_OUTPUT.
668 1999-12-04 Chip Salzenberg <chip@valinux.com>
670 * config.mk.in: Use $(CC) as set by configure.
672 1999-12-04 Chip Salzenberg <chip@valinux.com>
674 * rules.mk: Call $(MAKE) with $(MFLAGS).
676 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
678 * tools/rpcgen/rpc_main.c (h_output): Generate IXDR_GET_INT32,
679 IXDR_PUT_INT32, IXDR_GET_U_INT32 and IXDR_PUT_U_INT32.
681 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
683 * nfs-utils.spec (Version): Set to 0.1.3.
685 * configure.in (VERSION): Set to "nfs-utils 0.1.3".
686 * configure: Regenerated.
690 Mon Nov 29 11:15:47 1999 H.J. Lu <hjl@lucon.org>
692 * utils/rquotad/rquota_server.c (nfsmount_to_devname): Removed.
693 (_PATH_DEV_DSK): Likewise.
694 (getquotainfo): Match the mounting point from /etc/mtab
695 instead of calling nfsmount_to_devname ().
697 1999-11-24 Chip Salzenberg <chip@valinux.com>
699 * utils/statd/monitor.c (sm_mon_1_svc): Accept lockd callbacks
700 to the new port 24 as well as the historical port 100021.
702 Tue Nov 23 10:21:34 1999 Neil Brown <neilb@cse.unsw.edu.au>
704 * etc/redhat/nfsd.init (stop): moved exportfs -ua after
705 stopping nfsd to stop spurious ESTALE on server shutdown.
707 Tue Nov 23 10:13:39 1999 Neil Brown <neilb@cse.unsw.edu.au>
709 * support/nfs/exports.c (parseopts): make copy of opt string
710 before 'nul'ing out commas so that
712 # exportfs -o option1,option2 hosta:/fs hostb:/fs
714 applies both options to both exports.
716 Thu Oct 28 12:55:42 1999 H.J. Lu <hjl@lucon.org>
718 * README: Fix a few typos.
720 * tools/rpcgen/rpc_cout.c (print_header): Use int32_t instead
722 * tools/rpcgen/rpc_hout.c (pdefine): Likewise.
723 * tools/rpcgen/rpc_main.c (c_initialize): Likewise.
724 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
725 (unsigned_dec): Likewise.
726 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
727 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
729 * tools/rpcgen/rpc_cout.c (emit_single_in_line): Use INT32
731 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
732 (unsigned_dec): Likewise.
733 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
734 * tools/rpcgen/rpc_scan.h (tok_kind): Likewise.
735 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
737 Thu Oct 28 11:27:51 1999 Neil Brown <neilb@cse.unsw.edu.au>
739 * support/include/nfs/export.h addedd NFSEXP_NOSUBTREECHECK
740 * support/nfs/exports.c: added {no_,}subtree_check and changed
742 * utils/exportfs/exports.man: added no_subtree_check and nohide
743 and removed irrelevant stuff from unfsd.
744 * support/export/rmtab.c: rmtab_read didn't quite do the right
745 thing if a pathname from rmtab was a subdirectory of an export-point
747 Tue Oct 26 17:22:40 1999 H.J. Lu <hjl@lucon.org>
749 * README: Updated ftp site.
751 Mon Oct 25 18:12:45 1999 H.J. Lu <hjl@lucon.org>
753 * nfs-utils.spec (Version): Set to 0.1.2.
755 * configure.in (VERSION): Set to "nfs-utils 0.1.2".
756 * configure: Regenerated.
760 Mon Oct 25 18:11:21 1999 H.J. Lu <hjl@lucon.org>
762 * utils/mountd/auth.c (auth_error): Add "no_forward_dns".
763 (auth_authenticate_internal): Check for NULL return on forward
765 (auth_authenticate): Handle "no_forward_dns".
767 Thu Oct 21 16:22:06 1999 H.J. Lu <hjl@lucon.org>
769 * Version 0.1.1 released.
771 * nfs-utils.spec (Version): Set to 0.1.1.
773 * configure.in (VERSION): Set to "nfs-utils 0.1.1".
774 * configure: Regenerated.
778 Mon Oct 18 17:43:29 1999 H.J. Lu <hjl@lucon.org>
780 * nfs-utils.spec (Obsoletes): Fixed a typo, change knfsd-client
782 (Provides): Likewise.
784 Mon Oct 18 14:56:22 1999 H.J. Lu <hjl@lucon.org>
786 * Initial version 0.1 released.
788 * configure.in (VERSION): Set to "nfs-utils 0.1".
789 * configure: Regenerated.
791 Mon Oct 18 14:54:57 1999 H.J. Lu <hjl@lucon.org>
793 * utils/mountd/mountd.c (get_exportlist): Cleanup.
795 * utils/exportfs/exportfs.c (unexport_all): Unexport from
796 kernel only if the entry is exported to kernel.
797 (unexportfs): Likewise.
799 Wed Sep 08 16:49:32 1999 Neil Brown <neilb@cse.unsw.edu.au>
801 1/ utils/mountd/rmtab.c::mountlist_list
803 This routine stats the rmtab file to see if it has changed. It
804 if has, it cleans up it's old copy of the data. But it still
805 always re-read the file, thus returning multiple copies of the
806 data on consecutive calls without intervening changes.
807 "Showmount -a" didn't show this as it appears to sort/unique the
808 data, but 'strace showmount -a' showed that the size of the
809 datagram that it received grew.
811 I moved the getrmtabent loop inside the mtime test.
813 2/ utils/exportfs/exportfs.c
815 Many routines used the m_path field of m_export instead of
817 According to the comment in nfslib.h, m_path should only
818 be used when processing a mount request (i.e. in mountd)
819 where the mountpoint may be a subdirectory of the export point.
821 I changed all occurances of m_path to e_path
824 3/ utils/exportfs/exportfs.c:main
826 extra arguments are not meaningful with -a or -r, but
827 exportfs accepted them and then ignored the -a/-r, expect that
828 -r would still unexport everything first.
830 I generate an error if there are extra args and f_all
832 4/ utils/exportfs/exportfs.c:main
833 extract dump out as a special case.
835 5/ utils/exportfs/exportfs.c
836 made f_reexport a local variable.
839 6/ utils/exportfs/exportfs.c:main,exportall
841 support/export/rmtab.c
842 only mayexport on newly created entries, don't set xtabent at all
844 7/ support/include/nfslib.h
846 add #define _PATH_PROC_EXPORTS to be /proc/fs/nds/exports
848 8/ support/export/xtab.c
850 xtab_mount_read loads data from _PATH_PROC_EXPORTS if it exists,
854 9/ support/export/xtab.c
856 xtab_mount_read now sets m_exported, and NOT
857 xtabent and mayexport
859 removed the append arguement from xtab_write as it was
862 added is_export flag to xtab_write similar to xtab_read
863 if is_export, only write entries with m_xtabent or m_addxtab
864 if !is_export, only write entries with m_exported
866 10/ support/export/export.c::export_allowed_internal
868 added test for exp->m_mayexport, as the export tree
869 may have entries that are no longer allowed to be exported,
870 and so shouldn't caused deduced exported by rmtab_read
872 11/ utils/exportfs/exportfs.c::main
873 error checking of flags.
875 12/ utils/exportfs/exportfs.c
877 total rewrite of export and unexport logic.
879 - build an exportslist of valid exports, based on
880 current etab file and arguments,
881 - read rmtab to instantiate relevant wild card entries
882 - read etab to find out what is currently exported
883 - synchronise intention with reality
884 - write out etab and xtab
887 discard the m_addxtab flag
888 add m_changed flag so we know what to report in exportfs
890 14/ utils/mountd/auth.c:auth_authenticate
892 the value returned by gethostbyaddr was trusted.
894 It now follows this with a call to gethostbyname
895 and checks that the address is in the list.
897 15/ support/export/nfsctl.c::cltsetup,expsetup
899 force client names to lowercase as kernel is
902 16/ quietened a few compiler warnings
904 17/ support/export/client:client_lookup
906 look for pre-existing client with same name before creating
909 18/ support/include/exportfs.h
911 The ordering of the MCL_* enum was:
912 ANONYMOUS, FQDN, SUBNETWORK, WILDCARD, NETGROUP
914 I moved ANONYMOUS to the end.
916 The ordering is significant when an export entry is being searched for to
917 match a given address. There are two problems with ANONYMOUS being first.
919 1/ if a directory is exported rw to a couple of hosts and ro to everyone else,
920 then the ro case will always be found first and the privileged hosts won't get
922 2/ When mountd gets a request to mount an ANONYMOUSly exported tree, it creates a FQDN
923 export entry for the specific host, and writes it to xtab.
924 When another request comes from the same host, the ANONYMOUS entry is found again,
925 before the new FQDN entry, so it creates another FQDN entry and writes it to xtab
926 again. If causes bloat in xtab.
928 Putting ANONYMOUS at the end reflects it's nature as a catch-all
930 19/ utils/exportfs/exportfs.man
931 many updates to the man page to reflect changes to the code
933 -----------------------
939 - allow exportfs to modify rmtab file
940 - make sure kernel never gets two clients with same IP address
941 - possible kernel should reject
942 - needs to be some way to lookup client in kernel by IP address
943 - maybe get kernel to do case-insensitive comparisons on client names
944 - remove unused clients from kernel
946 - change etab to xtab and xtab to xtab.active
948 - timestamp and/or statd-stamp in rmtab for removing old entries.
950 Mon Oct 18 11:48:07 1999 H.J. Lu <hjl@lucon.org>
952 * linux-nfs: New directory.
953 * linux-nfs/ChangeLog: Moved from ..
954 * linux-nfs/INSTALL: Likewise.
955 * linux-nfs/KNOWNBUGS: Likewise.
956 * linux-nfs/NEW: Likewise.
957 * linux-nfs/README: Likewise.
958 * linux-nfs/THANKS: Likewise.
959 * linux-nfs/TODO: Likewise.
961 * Starting from knfsd 1.4.7.