1 2001-05-06 Anne Milicia <milicia@missioncriticallinux.com>
3 * support/export/client.c (client_check): Check IP address
6 2001-05-06 Neil Brown <neilb@cse.unsw.edu.au>
8 * support/export/client.c (client_gettype): Treat `*' as
11 2001-04-22 H.J. Lu <hjl@lucon.org>
13 * nfs-utils.spec.in: Fix a typo.
14 * nfs-utils.spec: Regenerated.
16 2001-04-21 H.J. Lu <hjl@lucon.org>
18 * nfs-utils.spec.in: Fix cross build.
19 * nfs-utils.spec: Regenerated.
22 2001-04-18 H.J. Lu <hjl@lucon.org>
24 * nfs-utils.spec.in: Support cross build.
25 * nfs-utils.spec: Regenerated.
31 * config.mk.in (BUILD_CC): New.
32 (CC): Set to $(BUILD_CC) if BUILD is defined.
35 (RANLIB): Set to @RANLIB@.
37 * configure.in: Check BUILD_CC, RANLIB, AR and LD.
38 * configure: Regenerated.
40 * tools/rpcgen/Makefile (BUILD): Set to true.
42 2001-04-01 Chip Salzenberg <chip@valinux.com>
44 * tools/rpcgen/rpc_svcout.c (write_timeout_func): Remove
45 redundant, and sometimes broken, declaration of svc_fdset;
47 * support/nfs/rpcmisc.c (closedown): Likewise.
49 2001-03-21 H.J. Lu <hjl@lucon.org>
51 * nfs-utils.spec: Regenerated.
54 2001-03-21 Ion Badulescu <ionut@cs.columbia.edu>
56 * utils/statd/statd.c (main): make sure file descriptors 0-2
57 are open to /dev/null.
59 2001-03-21 H.J. Lu <hjl@lucon.org>
61 * support/nfs/rpcmisc.c: Restore the change made on 2001-03-10.
62 * support/nfs/rpcmisc.c: Likewise.
63 * utils/rquotad/rquota_svc.c: Likewise.
64 * utils/rquotad/rquotad.man: Likewise.
65 * utils/statd/Makefile: Likewise.
66 * utils/statd/rmtcall.c: Likewise.
67 * utils/statd/simulate.c: Likewise.
68 * utils/statd/statd.c: Likewise.
69 * utils/statd/statd.man: Likewise.
71 2001-03-11 H.J. Lu <hjl@lucon.org>
73 * configure.in (RELEASE): New. Default to 1, set by
74 --with-release=XXX. Substitute nfs-utils.spec.
75 * nfs-utils.spec.in (Release): Set to @RELEASE@.
76 * configure: Regenerated.
77 * nfs-utils.spec: Likewise.
79 2001-03-11 H.J. Lu <hjl@lucon.org>
81 * utils/rquotad/rquotad.man: Fix a typo.
83 2001-03-11 H.J. Lu <hjl@lucon.org>
85 * support/include/rpcmisc.h: Undo the change made on 2001-03-10.
86 * support/nfs/rpcmisc.c: Likewise.
87 * utils/rquotad/rquota_svc.c: Likewise.
88 * utils/rquotad/rquotad.man: Likewise.
89 * utils/statd/Makefile: Likewise.
90 * utils/statd/rmtcall.c: Likewise.
91 * utils/statd/simulate.c: Likewise.
92 * utils/statd/statd.c: Likewise.
93 * utils/statd/statd.man: Likewise.
95 2001-03-10 H.J. Lu <hjl@lucon.org>
97 * configure.in (VERSION): Set to "0.3.2".
98 * configure: Regenerated.
99 * nfs-utils.spec: Likewise.
101 * README: Updated for 0.3.2.
103 2001-03-10 Tavis Barr <tavis@boole.isetr.columbia.edu>
105 * utils/rquotad/rquotad.man: Updated for -p.
106 * utils/statd/statd.man: Likewise.
108 2001-03-10 Ion Badulescu <ionut@cs.columbia.edu>
110 * support/nfs/rpcmisc.c: export makesock()
112 * support/include/rpcmisc.h (makesock): Declared.
114 * utils/rquotad/rquota_svc.c: added longopts, added support for
115 specifying the port to bind to on the command line.
117 * utils/statd/statd.c: ditto, also specify port used for
118 outgoing connections.
119 (do_regist): Removed.
121 * utils/statd/rmtcall.c (statd_get_socket): Renamed from
122 get_socket. Make it extern.
124 * utils/statd/simulate.c (daemon_simulator): Call rpc_init
125 instead of do_regist.
127 * utils/statd/Makefile (LIBS): link with our own libnfs
129 2001-03-09 H.J. Lu <hjl@lucon.org>
131 * etc/redhat/nfslock.init: Changed chkconfig line to 60 86.
132 * etc/nodist/nfs-client: Likewise.
134 2001-02-26 Chip Salzenberg <chip@valinux.com>
136 * debian/changelog: Version 0.3.1-1.
137 * Mention upstream source and license in copyright file.
138 * Add build-Depends for debhelper and libwrap0-dev.
140 2001-02-20 Lon Hohberger <hohberger@missioncriticallinux.com>
142 * etc/nodist/nfs-server: Changed chkconfig line to 60 20
143 * etc/nodist/nfs-client: Likewise.
145 2001-02-18 Lon Hohberger <hohberger@missioncriticallinux.com>
147 * utils/statd/statd.man: Changed /usr/sbin/rpc.statd to
150 2001-02-17 Patrick J. LoPresti <patl@curl.com>
152 * utils/statd/log.c (log_init): Use LOG_DAEMON instead of
155 2001-02-14 H.J. Lu <hjl@lucon.org>
157 * utils/statd/rmtcall.c: Include <time.h>.
158 * utils/statd/svc_run.c: Likewise.
160 2001-02-14 H.J. Lu <hjl@lucon.org>
162 * configure.in (VERSION): Set to "0.3.1".
163 * configure: Regenerated.
164 * nfs-utils.spec: Likewise.
166 * README: Updated for 0.3.1.
168 2001-02-14 H.J. Lu <hjl@lucon.org>
170 * support/nfs/rpcmisc.c: Include <time.h>.
172 2001-02-14 Chip Salzenberg <chip@valinux.com>
174 * debian/control: Change priority of nhfsstone package to 'extra'.
176 2001-02-12 Chip Salzenberg <chip@valinux.com>
178 * debian/changelog: Version 0.3-2.
180 2001-02-02 H.J. Lu <hjl@lucon.org>
182 * support/include/rpcmisc.h (rpc_init): Remove bufsize.
184 * support/nfs/rpcmisc.c (makesock): Remove socksz and comment
185 out SO_SNDBUF/SO_RCVBUF.
186 (rpc_init): Remove bufsize and remove socksz in calls to
189 * utils/mountd/mountd.c (main): Remove bufsize in calls to
192 2001-01-28 Chip Salzenberg <chip@valinux.com>
194 * debian/changelog: Version 0.3-1.
196 2001-01-25 H.J. Lu <hjl@lucon.org>
198 * configure.in (VERSION): Set to "0.3".
199 * configure: Regenerated.
200 * nfs-utils.spec: Likewise.
202 * README: Updated for 0.3.
204 2001-01-25 H.J. Lu <hjl@lucon.org>
206 * utils/lockd/lockd.c (main): Ignore errno == EINVAL.
208 2001-01-20 Chip Salzenberg <chip@valinux.com>
210 * support/include/xio.h (xgetc): Declare to return int.
211 * support/nfs/xio.c (xgetc): Return int.
212 (xgettok, xskip, xskipcomment): Use int for value of xgetc.
213 * utils/statd/statd.c (main): Use int for value of getopt.
214 * debian/changelog: Version 0.2.1-5.
216 2000-12-10 Chip Salzenberg <chip@valinux.com>
218 * utils/statd/monitor.c (sm_mon_1_svc): Fix buggy check for
219 program and procedure numbers of kernel lockd's callback. Also,
220 besides the old (and broken) procedure #24, allow #16 per Trond.
222 2000-12-03 Chip Salzenberg <chip@valinux.com>
224 * support/nfs/xio.c (xfopen): Initialize x_line to one, not zero.
225 * debian/control: Let nhfsstone replace files in nfs-kernel-server.
226 * debian/changelog: Version 0.2.1-4.
228 2000-11-27 Tobias Ringstrom <tori@tellus.mine.nu>
230 * utils/mountd/auth.c (auth_authenticate): Log the bad path
233 2000-11-24 Neil Brown <neilb@cse.unsw.edu.au>
235 * support/nfs/exports.c (getexportent): Check for host name
236 without option, or options without hostname, and print a warning,
237 as this is most likely a typo.
239 2000-11-19 Chip Salzenberg <chip@valinux.com>
241 * debian/control: Add dependency on portmap.
242 * debian/changelog: Version 0.2.1-3.
244 2000-11-10 H.J. Lu <hjl@lucon.org>
246 * nfs-utils.spec.in: Don't use libtool.
247 Add ChangeLog and COPYING to doc.
248 * nfs-utils.spec: Rebuild.
250 2000-11-09 H.J. Lu <hjl@lucon.org>
252 * etc/redhat/nfs.init (start): Back out the last change.
254 2000-11-09 H.J. Lu <hjl@lucon.org>
256 * etc/redhat/nfs.init (start): Pass --no-tcp to mountd if
257 TCP is not supported by kernel.
259 * support/nfs/rpcmisc.c (rpc_init): Don't set _rpcfdtype to 0.
261 * utils/mountd/mountd.c (longopts): Add "-n/--no-tcp".
262 (main): Set to _rpcfdtype to SOCK_DGRAM for "-n/--no-tcp".
264 * utils/mountd/mountd.man: Updated for "-n/--no-tcp".
266 2000-10-24 Lon Hohberger <hohberger@missioncriticallinux.com>
268 * utils/statd/callback.c: Fix bug preventing callbacks to local lockd.
269 * utils/statd/rmtcall.c: Add some IP address paranoia when doing
270 callbacks to local lockd.
272 2000-10-18 Scott McDermott <mcdermot@questra.com>
274 * utils/exportfs/exports.man: Updated for CIDR netmask.
276 2000-10-17 Scott McDermott <mcdermot@questra.com>
278 * support/export/client.c (client_init): Support CIDR netmask
281 2000-10-11 H.J. Lu <hjl@lucon.org>
283 * aclocal.m4 (AC_TCP_WRAPPER): Fix a typo.
284 * configure: Rebuilt.
286 2000-10-06 Lon Hohberger <hohberger@missioncriticallinux.com>
288 * utils/statd/statd.man: Change "/var/lib/nfs/sm/state" to
289 "/var/lib/nfs/state".
291 2000-10-05 Lon Hohberger <hohberger@missioncriticallinux.com>
293 * utils/statd/statd.h (run_mode): New global bitmask of runtime
294 behaviors: fg/bg, logging, etc.
295 * utils/statd/statd.c: New command line options: -V -h -? -d .
296 * utils/statd/statd.man: Update for changes to statd.
298 * utils/statd/log.h (log_init): Remove parameter of function; use
299 global variable "name_p" instead.
300 * utils/statd/log.c: Add support for logging to stderr.
302 * utils/statd/notlist.c: Partially rewrite notify list handling
303 functions. Eliminate run-off-end-of-list bug when calling
304 nlist_insert_timer. Add lots of comments.
306 2000-09-27 H.J. Lu <hjl@lucon.org>
308 * README: Updated for RedHat 7.0.
310 2000-09-27 H.J. Lu <hjl@lucon.org>
312 * nfs-utils.spec: Rebuild.
314 2000-09-27 H.J. Lu <hjl@lucon.org>
316 * README: Updated for 0.2.1.
318 2000-09-27 H.J. Lu <hjl@lucon.org>
320 * nfs-utils.spec.in: Updated to use rpm macros and support
323 2000-09-25 H.J. Lu <hjl@lucon.org>
325 * configure.in (VERSION): Set to "0.2.1".
326 * configure: Regenerated.
327 * nfs-utils.spec: Updated.
329 2000-09-25 H.J. Lu <hjl@lucon.org>
331 * utils/mountd/auth.c (auth_authenticate_internal): Make sure a
332 non-NULL hostent is always returned.
334 2000-09-11 Ion Badulescu <ionut@cs.columbia.edu>
336 * etc/redhat/nfslock.init: don't kill lockd processes that do not
337 have an executable (i.e. kernel threads)
339 2000-09-01 H.J. Lu <hjl@lucon.org>
341 * README: Updated for 0.2.
343 2000-09-01 Jay Weber <jweber@valinux.com>
345 * etc/redhat/nfs.init: Added ability for rpc.mountd to default to
346 supporting version 3 of nfs if available, else it will fall back to
347 version 2 support only.
349 2000-08-30 H.J. Lu <hjl@lucon.org>
351 * configure.in (VERSION): Set to "0.2".
352 * configure: Regenerated.
353 * nfs-utils.spec: Updated.
355 2000-08-25 H.J. Lu <hjl@lucon.org>
357 * support/misc/tcpwrapper.c (logit): Modify the log output.
359 2000-08-25 Ion Badulescu <ionut@cs.columbia.edu>
361 * utils/rquotad/rquotad.man, utils/statd/statd.man,
362 utils/mountd/mountd.man: updated
364 * utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL)
365 * utils/rquotad/Makefile: fix comment
367 * support/misc/tcpwrapper.c (logit): added comment about waiting
368 for the children after fork()
370 * utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving
371 zombies behind (from logit()'s fork)
372 * utils/rquotad/rquota_svc.c (main): ditto
373 * utils/statd/statd.c (main): ditto
375 * utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG
376 to check_default instead of 0, for prognum
378 * utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG
379 to check_default instead of 0, for prognum
381 * utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if
382 HAVE_TCP_WRAPPER is defined.
383 (mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is
384 defined. Reject an RPC call if check_default () fails.
386 2000-08-25 H.J. Lu <hjl@lucon.org>
388 * support/include/tcpwrapper.h: New for the tcp wrapper
390 * support/misc/Makefile: Likewise.
391 * support/misc/from_local.c: Likewise.
392 * support/misc/tcpwrapper.c: Likewise.
394 * aclocal.m4 (AC_TCP_WRAPPER): New.
395 * configure.in: Use it. Substitute LIBWRAP.
396 * configure: Rebuilt.
398 * config.mk.in (LIBNSL): New.
401 * support/Makefile (SUBDIRS): Add misc.
403 * support/lib/Makefile (LIBS): Add libmisc.a.
405 * utils/rquotad/Makefile (LIBS): Add
407 -lmisc $(LIBWRAP) $(LIBNSL)
409 * utils/statd/Makefile (LIBS): Likewise.
411 * utils/rquotad/rquota_svc.c: Include "tcpwrapper.h" if
412 HAVE_TCP_WRAPPER is defined.
413 (rquotaprog_1): Call check_default () if HAVE_TCP_WRAPPER is
414 defined. Reject an RPC call if check_default () fails.
416 * utils/statd/statd.c: Include "tcpwrapper.h" if
417 HAVE_TCP_WRAPPER is defined.
418 (sm_prog_1_wrapper): New. A wrapper for sm_prog_1. Call
419 check_default () before calling sm_prog_1 (). Define it as
420 sm_prog_1_wrapper if HAVE_TCP_WRAPPER is defined.
422 2000-08-25 Chip Salzenberg <chip@valinux.com>
424 * debian/*: Complete Debian build support.
425 * etc/debian/*: Remove.
427 2000-08-24 Neil Brown <neilb@cse.unsw.edu.au>
429 * support/export/client.c(client_check): removed the "dot+1" as a
430 ypdomain argument to innetgr as this is entirely bogus.
431 It should always be NULL.
433 2000-08-23 Neil Brown <neilb@cse.unsw.edu.au>
435 * support/export/xtab.c(xtab_read): introduce new mode for
436 reading xtab. i.e. a list of exports that might be known to the
437 kernel, or might not. These are flagged as m_exported == -1
438 * support/export/xtab.c(xtab_mount_read): call xtab_read with new
439 value "2" for xtab, meaning don't trust this too much.
440 * support/include/exportfs.h(struct mexport): changed m_exported
441 from one bit to an int so that it can hold new value
442 * utils/exportfs/exportfs.c(exportfs_ipdate): add an export to the
443 kernel if it is uncertain whether the kernel knows (m_exported == -1)
444 * utils/mountd/mountd.c(get_rootfh): similarly export to kernel if
447 * support/nfs/xio.c(xflock): added O_CREAT when getting
448 a write lock so that missing files aren't fatal.
450 * etc/debian/nfs-common: new file from "potato"
451 * etc/debian/nfs-kernel-server: new file from "potato" plus fixes.
453 2000-08-09 H.J. Lu <hjl@lucon.org>
455 * etc/redhat/nfs.init: Run /usr/sbin/exportfs first during
456 startup to ensure all existing clients work fine.
458 * support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0
459 to xtab_read () for reading _PATH_XTAB.
461 2000-08-02 H.J. Lu <hjl@lucon.org>
463 * utils/mountd/auth.c (auth_authenticate_internal): Try to
464 avoid the reverse name lookup.
466 2000-07-04 H.J. Lu <hjl@lucon.org>
468 * utils/statd/log.c: Include <stdlib.h> for exit ().
470 * utils/statd/misc.c (xunlink): Add `{' and `}' to quiet the
473 2000-07-04 H.J. Lu <hjl@lucon.org>
475 * configure.in (VERSION): Set to "0.1.9.1".
476 * configure: Regenerated.
477 * nfs-utils.spec: Updated.
481 2000-07-04 Neil Brown <neilb@cse.unsw.edu.au>
483 * support/export/hostname.c (hostent_dup): Handle the NULL
486 2000-07-03 H.J. Lu <hjl@lucon.org>
488 * README: Update the util-linux requirement.
490 2000-07-03 H.J. Lu <hjl@lucon.org>
492 * configure.in (VERSION): Set to "0.1.9".
493 * configure: Regenerated.
494 * nfs-utils.spec: Updated.
498 2000-07-03 H.J. Lu <hjl@lucon.org>
500 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
501 stop to ensure all clients can still access the server
502 before it is shutdown.
504 2000-06-30 Jeff Uphoff <juphoff@transmeta.com>
506 * tools/rpcgen/rpc_svcout.c (write_msg_out): Generate syslog()
507 calls with format string.
509 2000-06-28 Chip Salzenberg <chip@valinux.com>
511 * utils/statd/log.c (log): Call syslog with format string.
513 2000-06-27 H.J. Lu <hjl@lucon.org>
515 * utils/statd/statd.c (main): Use sysconf (_SC_OPEN_MAX)
518 2000-06-27 H.J. Lu <hjl@lucon.org>
522 2000-06-27 H.J. Lu <hjl@lucon.org>
524 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
525 startup to ensure all existing clients are exported.
527 * configure.in (VERSION): Set to "0.1.8.2".
528 * configure: Regenerated.
529 * nfs-utils.spec: Updated.
531 2000-06-06 H.J. Lu <hjl@lucon.org>
533 * configure.in (VERSION): Set to "0.1.8.1".
534 * configure: Regenerated.
535 * nfs-utils.spec: Updated.
537 2000-06-06 H.J. Lu <hjl@lucon.org>
539 * utils/mountd/mountd.c (mount_dump_1_svc): Cast svc_getcaller
540 to "struct sockaddr_in *" for glibc 2.2.
541 (mount_umnt_1_svc): Likewise.
542 (mount_umntall_1_svc): Likewise.
543 (mount_export_1_svc): Likewise.
544 (mount_exportall_1_svc): Likewise.
545 (mount_pathconf_2_svc): Likewise.
546 (get_rootfh): Likewise.
548 2000-06-04 H.J. Lu <hjl@lucon.org>
550 * etc/redhat/nfs.init: Fix a typo in comment.
552 2000-05-31 H.J. Lu <hjl@lucon.org>
554 * configure.in (VERSION): Set to "0.1.8".
555 * configure: Regenerated.
556 * nfs-utils.spec: Updated.
560 2000-05-31 H.J. Lu <hjl@lucon.org>
562 * configure.in (VERSION): Set to "0.1.7.5".
563 * configure: Regenerated.
564 * nfs-utils.spec: Updated.
566 * support/include/nfslib.h (exportent): Add a new field,
567 r_count, to count the number of mounts from a client.
568 (getrmtabent): Take a new argument for position in file.
569 (putrmtabent): Likewise.
570 (fgetrmtabent): Likewise.
571 (fputrmtabent): Likewise.
572 * support/nfs/rmtab.c (getrmtabent): Handle the new argument
573 for position in file.
574 (fgetrmtabent): Likewise.
575 (putrmtabent): Likewise.
576 (fputrmtabent): Likewise.
578 * support/nfs/rmtab.c (fgetrmtabent): Get value for the new
581 * support/export/rmtab.c (rmtab_read): Pass NULL as the new
582 argument to getrmtabent (), fgetrmtabent (), putrmtabent ()
584 * utils/mountd/rmtab.c (mountlist_add): Likewise.
585 (mountlist_del): Likewise.
586 (mountlist_del_all): Likewise.
587 (mountlist_list): Likewise.
589 * utils/mountd/rmtab.c (mountlist_add): Increment "r_count"
590 for the existing entry and initialize "r_count" to 1.
591 (mountlist_del): Decrement "r_count".
593 2000-05-18 H.J. Lu <hjl@lucon.org>
595 * configure.in (VERSION): Set to "0.1.7.4".
596 * configure: Regenerated.
597 * nfs-utils.spec: Updated.
599 2000-05-18 H.J. Lu <hjl@lucon.org>
601 * etc/redhat/nfs.init (restart): Just do stop and start.
603 2000-05-09 Jay Weber <jweber@valinux.com>
605 * utils/rquotad/hasquota.c: added support for ext3 recognition
607 * utils/rquotad/mntent.h: Likewise.
609 2000-05-01 H.J. Lu <hjl@lucon.org>
611 * configure.in (VERSION): Set to "0.1.7.3".
612 * configure: Regenerated.
613 * nfs-utils.spec: Updated.
615 2000-05-01 H.J. Lu <hjl@lucon.org>
617 * utils/rquotad/rquota_server.c (getquotainfo): Skip bad
618 mounting poins in /etc/fstab.
620 2000-05-01 H.J. Lu <hjl@lucon.org>
622 * configure.in (VERSION): Set to "0.1.7.2".
623 * configure: Regenerated.
624 * nfs-utils.spec: Updated.
626 2000-05-01 H.J. Lu <hjl@lucon.org>
628 * utils/rquotad/rquota_server.c (getquotainfo): Call stat ()
629 to check for the mounting point.
631 2000-04-29 Chip Salzenberg <chip@valinux.com>
632 Neil Brown <neilb@cse.unsw.edu.au>
634 * Really re-use RPC ports.
635 (Fixes earlier patch. Sorry, Neil.)
637 2000-04-26 H.J. Lu <hjl@lucon.org>
639 * configure.in (VERSION): Set to "0.1.7.1".
640 * configure: Regenerated.
641 * nfs-utils.spec: Updated.
643 2000-04-26 H.J. Lu <hjl@lucon.org>
645 * etc/redhat/nfslock.init: Check if lockd exits before killing
648 2000-04-25 H.J. Lu <hjl@lucon.org>
650 * README: Require util-linux-2.10f-mount-rpc.patch for mount.
652 2000-03-21 Michael Weiser <michael@weiser.saale-net.de>
654 * support/nfs/exports.c (parsesquash): Correctly set the
657 Tue Mar 21 11:38:48 EST 2000 NeilBrown <neilb@cse.unsw.edu.au>
659 * support/include/nfs/nfs.h: Removed knowledge of internals of
660 kernel filehandles (which can change) and defined nfs_fh_size
661 which has variable size
663 * support/nfs/getfh.c: defined getfh_size to use new syscall to
664 get variable sized file handles, and change getfh{,old} to
667 * utils/mountd/mountd.c: use nfd_fh_size and call getfh_size for
670 * tools/Makefile, tools/nlmtest/nlmtest.c
671 nlmtest.c depended on internel format of file handles, so now
675 2000-03-12 Chip Salzenberg <chip@valinux.com>
676 Neil Brown <neilb@cse.unsw.edu.au>
678 * support/nfs/rpcmisc.c (rpc_init): Share transports.
680 2000-03-13 H.J. Lu <hjl@lucon.org>
682 * etc/redhat/nfsd.init: Updated.
684 * etc/redhat/nfslock.init: Updated.
686 * nfs-utils.spec.in: Updated.
688 * configure.in (VERSION): Set to "0.1.7".
689 * configure: Regenerated.
690 * nfs-utils.spec: Updated.
694 Wed Mar 8 09:42:43 2000 Neil Brown <neilb@cse.unsw.edu.au>
696 * utils/exportfs/exportfs.c (dump): Included printing of
697 nohide, no_subtree_check, and insecure_locks
699 2000-02-26 Chip Salzenberg <chip@valinux.com>
701 * config.mk.in (INSTALLSUID): Strip ("-s").
702 (INSTALLSCRIPT): Define.
703 * utils/nhfsstone/Makefile: Use it.
705 2000-02-26 Chip Salzenberg <chip@valinux.com>
707 * utils/lockd/lockd.man: Create.
708 * utils/lockd/Makefile: Install it.
709 * utils/nhfsstone/nhfs{run,nums,graph}.man: Create.
710 * utils/nhfsstone/nhfsstone.man: Change suffix from ".1".
711 * utils/nhfsstone/Makefile: Install the helper scripts and
713 * utils/exportfs/exports.man: Fix typo.
715 2000-02-26 Chip Salzenberg <chip@valinux.com>
717 * support/nfs/xio.c (xungetc): Decrement line number when
718 character to unget is newline. Make first parameter int, so
719 it can distinguish EOF from \377.
720 * support/include/xio.h (xungetc): Adjust prototype.
722 Fri Feb 4 23:42:23 2000 Neil Brown <neilb@cse.unsw.edu.au>
724 * support/include/nfs/export.h: added NFSEXP_NOAUTHNLM
725 * support/nfs/exports.c: added handling for NFSEXP_NOAUTHNLM
726 * utils/exportfs/exports.man: added documentation for no_auth_nlm.
728 This is for supporting a new option introduced in 2.3.42
730 Thu Feb 3 14:55:48 2000 H.J. Lu <hjl@lucon.org>
732 * COPYING: Added. GPL.
734 Thu Feb 03 14:40:40 2000 Cristian Gafton <gafton@redhat.com>
736 * utils/rquotad/rquota_server.c (getquotainfo): Call statfs ()
737 to get the block size.
739 Tue Jan 25 11:04:17 2000 H.J. Lu <hjl@lucon.org>
741 * nfs-utils.spec.in: Update ftp site.
743 Mon Jan 17 11:48:18 2000 H.J. Lu <hjl@lucon.org>
745 * README: Update hostnames.
747 Tue Jan 11 10:06:22 2000 H.J. Lu <hjl@lucon.org>
749 * configure.in (VERSION): Set to "0.1.6".
750 * configure: Regenerated.
751 * nfs-utils.spec: Updated.
755 Mon Jan 10 14:26:33 2000 H.J. Lu <hjl@lucon.org>
757 * utils/mountd/auth.c (auth_authenticate_internal): Call
758 xstrdup for hostname before passing it to gethostbyname.
760 * utils/mountd/mountd.c (get_exportlist): Use xstrdup instead
763 Sun Dec 19 09:35:01 1999 H.J. Lu <hjl@lucon.org>
765 * README: Update the mailing list address.
767 Sun Dec 19 09:22:28 1999 H.J. Lu <hjl@lucon.org>
769 * configure.in (VERSION): Set to "0.1.5".
770 * configure: Regenerated.
771 * nfs-utils.spec: Updated.
775 Mon Dec 13 13:40:20 1999 H.J. Lu <hjl@lucon.org>
777 * utils/rquotad/hasquota.c (hasquota): Malloc one more char
780 Mon Dec 6 09:42:45 1999 H.J. Lu <hjl@lucon.org>
782 * configure.in (VERSION): Set to "0.1.4".
783 * configure: Regenerated.
784 * nfs-utils.spec: Updated.
788 Mon Dec 6 09:28:07 1999 H.J. Lu <hjl@lucon.org>
790 * nfs-utils.spec.in: New file.
792 * config.mk.in (VERSION): Changed to "nfs-utils @VERSION@".
794 * configure.in (nfs-utils.spec): Added to AC_OUTPUT.
796 1999-12-04 Chip Salzenberg <chip@valinux.com>
798 * config.mk.in: Use $(CC) as set by configure.
800 1999-12-04 Chip Salzenberg <chip@valinux.com>
802 * rules.mk: Call $(MAKE) with $(MFLAGS).
804 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
806 * tools/rpcgen/rpc_main.c (h_output): Generate IXDR_GET_INT32,
807 IXDR_PUT_INT32, IXDR_GET_U_INT32 and IXDR_PUT_U_INT32.
809 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
811 * nfs-utils.spec (Version): Set to 0.1.3.
813 * configure.in (VERSION): Set to "nfs-utils 0.1.3".
814 * configure: Regenerated.
818 Mon Nov 29 11:15:47 1999 H.J. Lu <hjl@lucon.org>
820 * utils/rquotad/rquota_server.c (nfsmount_to_devname): Removed.
821 (_PATH_DEV_DSK): Likewise.
822 (getquotainfo): Match the mounting point from /etc/mtab
823 instead of calling nfsmount_to_devname ().
825 1999-11-24 Chip Salzenberg <chip@valinux.com>
827 * utils/statd/monitor.c (sm_mon_1_svc): Accept lockd callbacks
828 to the new port 24 as well as the historical port 100021.
830 Tue Nov 23 10:21:34 1999 Neil Brown <neilb@cse.unsw.edu.au>
832 * etc/redhat/nfsd.init (stop): moved exportfs -ua after
833 stopping nfsd to stop spurious ESTALE on server shutdown.
835 Tue Nov 23 10:13:39 1999 Neil Brown <neilb@cse.unsw.edu.au>
837 * support/nfs/exports.c (parseopts): make copy of opt string
838 before 'nul'ing out commas so that
840 # exportfs -o option1,option2 hosta:/fs hostb:/fs
842 applies both options to both exports.
844 Thu Oct 28 12:55:42 1999 H.J. Lu <hjl@lucon.org>
846 * README: Fix a few typos.
848 * tools/rpcgen/rpc_cout.c (print_header): Use int32_t instead
850 * tools/rpcgen/rpc_hout.c (pdefine): Likewise.
851 * tools/rpcgen/rpc_main.c (c_initialize): Likewise.
852 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
853 (unsigned_dec): Likewise.
854 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
855 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
857 * tools/rpcgen/rpc_cout.c (emit_single_in_line): Use INT32
859 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
860 (unsigned_dec): Likewise.
861 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
862 * tools/rpcgen/rpc_scan.h (tok_kind): Likewise.
863 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
865 Thu Oct 28 11:27:51 1999 Neil Brown <neilb@cse.unsw.edu.au>
867 * support/include/nfs/export.h addedd NFSEXP_NOSUBTREECHECK
868 * support/nfs/exports.c: added {no_,}subtree_check and changed
870 * utils/exportfs/exports.man: added no_subtree_check and nohide
871 and removed irrelevant stuff from unfsd.
872 * support/export/rmtab.c: rmtab_read didn't quite do the right
873 thing if a pathname from rmtab was a subdirectory of an export-point
875 Tue Oct 26 17:22:40 1999 H.J. Lu <hjl@lucon.org>
877 * README: Updated ftp site.
879 Mon Oct 25 18:12:45 1999 H.J. Lu <hjl@lucon.org>
881 * nfs-utils.spec (Version): Set to 0.1.2.
883 * configure.in (VERSION): Set to "nfs-utils 0.1.2".
884 * configure: Regenerated.
888 Mon Oct 25 18:11:21 1999 H.J. Lu <hjl@lucon.org>
890 * utils/mountd/auth.c (auth_error): Add "no_forward_dns".
891 (auth_authenticate_internal): Check for NULL return on forward
893 (auth_authenticate): Handle "no_forward_dns".
895 Thu Oct 21 16:22:06 1999 H.J. Lu <hjl@lucon.org>
897 * Version 0.1.1 released.
899 * nfs-utils.spec (Version): Set to 0.1.1.
901 * configure.in (VERSION): Set to "nfs-utils 0.1.1".
902 * configure: Regenerated.
906 Mon Oct 18 17:43:29 1999 H.J. Lu <hjl@lucon.org>
908 * nfs-utils.spec (Obsoletes): Fixed a typo, change knfsd-client
910 (Provides): Likewise.
912 Mon Oct 18 14:56:22 1999 H.J. Lu <hjl@lucon.org>
914 * Initial version 0.1 released.
916 * configure.in (VERSION): Set to "nfs-utils 0.1".
917 * configure: Regenerated.
919 Mon Oct 18 14:54:57 1999 H.J. Lu <hjl@lucon.org>
921 * utils/mountd/mountd.c (get_exportlist): Cleanup.
923 * utils/exportfs/exportfs.c (unexport_all): Unexport from
924 kernel only if the entry is exported to kernel.
925 (unexportfs): Likewise.
927 Wed Sep 08 16:49:32 1999 Neil Brown <neilb@cse.unsw.edu.au>
929 1/ utils/mountd/rmtab.c::mountlist_list
931 This routine stats the rmtab file to see if it has changed. It
932 if has, it cleans up it's old copy of the data. But it still
933 always re-read the file, thus returning multiple copies of the
934 data on consecutive calls without intervening changes.
935 "Showmount -a" didn't show this as it appears to sort/unique the
936 data, but 'strace showmount -a' showed that the size of the
937 datagram that it received grew.
939 I moved the getrmtabent loop inside the mtime test.
941 2/ utils/exportfs/exportfs.c
943 Many routines used the m_path field of m_export instead of
945 According to the comment in nfslib.h, m_path should only
946 be used when processing a mount request (i.e. in mountd)
947 where the mountpoint may be a subdirectory of the export point.
949 I changed all occurances of m_path to e_path
952 3/ utils/exportfs/exportfs.c:main
954 extra arguments are not meaningful with -a or -r, but
955 exportfs accepted them and then ignored the -a/-r, expect that
956 -r would still unexport everything first.
958 I generate an error if there are extra args and f_all
960 4/ utils/exportfs/exportfs.c:main
961 extract dump out as a special case.
963 5/ utils/exportfs/exportfs.c
964 made f_reexport a local variable.
967 6/ utils/exportfs/exportfs.c:main,exportall
969 support/export/rmtab.c
970 only mayexport on newly created entries, don't set xtabent at all
972 7/ support/include/nfslib.h
974 add #define _PATH_PROC_EXPORTS to be /proc/fs/nds/exports
976 8/ support/export/xtab.c
978 xtab_mount_read loads data from _PATH_PROC_EXPORTS if it exists,
982 9/ support/export/xtab.c
984 xtab_mount_read now sets m_exported, and NOT
985 xtabent and mayexport
987 removed the append arguement from xtab_write as it was
990 added is_export flag to xtab_write similar to xtab_read
991 if is_export, only write entries with m_xtabent or m_addxtab
992 if !is_export, only write entries with m_exported
994 10/ support/export/export.c::export_allowed_internal
996 added test for exp->m_mayexport, as the export tree
997 may have entries that are no longer allowed to be exported,
998 and so shouldn't caused deduced exported by rmtab_read
1000 11/ utils/exportfs/exportfs.c::main
1001 error checking of flags.
1003 12/ utils/exportfs/exportfs.c
1005 total rewrite of export and unexport logic.
1007 - build an exportslist of valid exports, based on
1008 current etab file and arguments,
1009 - read rmtab to instantiate relevant wild card entries
1010 - read etab to find out what is currently exported
1011 - synchronise intention with reality
1012 - write out etab and xtab
1015 discard the m_addxtab flag
1016 add m_changed flag so we know what to report in exportfs
1018 14/ utils/mountd/auth.c:auth_authenticate
1020 the value returned by gethostbyaddr was trusted.
1022 It now follows this with a call to gethostbyname
1023 and checks that the address is in the list.
1025 15/ support/export/nfsctl.c::cltsetup,expsetup
1027 force client names to lowercase as kernel is
1030 16/ quietened a few compiler warnings
1032 17/ support/export/client:client_lookup
1034 look for pre-existing client with same name before creating
1037 18/ support/include/exportfs.h
1039 The ordering of the MCL_* enum was:
1040 ANONYMOUS, FQDN, SUBNETWORK, WILDCARD, NETGROUP
1042 I moved ANONYMOUS to the end.
1044 The ordering is significant when an export entry is being searched for to
1045 match a given address. There are two problems with ANONYMOUS being first.
1047 1/ if a directory is exported rw to a couple of hosts and ro to everyone else,
1048 then the ro case will always be found first and the privileged hosts won't get
1050 2/ When mountd gets a request to mount an ANONYMOUSly exported tree, it creates a FQDN
1051 export entry for the specific host, and writes it to xtab.
1052 When another request comes from the same host, the ANONYMOUS entry is found again,
1053 before the new FQDN entry, so it creates another FQDN entry and writes it to xtab
1054 again. If causes bloat in xtab.
1056 Putting ANONYMOUS at the end reflects it's nature as a catch-all
1058 19/ utils/exportfs/exportfs.man
1059 many updates to the man page to reflect changes to the code
1061 -----------------------
1067 - allow exportfs to modify rmtab file
1068 - make sure kernel never gets two clients with same IP address
1069 - possible kernel should reject
1070 - needs to be some way to lookup client in kernel by IP address
1071 - maybe get kernel to do case-insensitive comparisons on client names
1072 - remove unused clients from kernel
1074 - change etab to xtab and xtab to xtab.active
1076 - timestamp and/or statd-stamp in rmtab for removing old entries.
1078 Mon Oct 18 11:48:07 1999 H.J. Lu <hjl@lucon.org>
1080 * linux-nfs: New directory.
1081 * linux-nfs/ChangeLog: Moved from ..
1082 * linux-nfs/INSTALL: Likewise.
1083 * linux-nfs/KNOWNBUGS: Likewise.
1084 * linux-nfs/NEW: Likewise.
1085 * linux-nfs/README: Likewise.
1086 * linux-nfs/THANKS: Likewise.
1087 * linux-nfs/TODO: Likewise.
1089 * Starting from knfsd 1.4.7.