1 2001-10-08 Chip Salzenberg <chip@pobox.com>
3 * utils/mountd/mountd.man: Updated paths to /var/lib.
5 2001-10-06 Preston Brown <pbrown@redhat.com>
7 * utils/nfsstat/nfsstat.man: Updated.
9 2001-09-24 H.J. Lu <hjl@lucon.org>
11 * configure.in (VERSION): Set to "0.3.3".
12 * configure: Regenerated.
13 * nfs-utils.spec: Likewise.
15 * README: Updated for 0.3.3.
17 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
19 Arrange that "exportfs -au" never does DNS lookup:
21 * support/export/client.c (client_lookup) : add "canonical"
22 flag which says that the hostname is known to be canonical, so
25 * support/export/export.c (export_create) : add "canonical"
26 flag to be passed down to client_lookup
27 * support/export/export.c (export_lookup) : Likewise
29 * support/export/xtab.c (xtab_read) : pass appropriate
30 "canonical" flag to export_lookup and export_create:
31 set if reading list of filesystems currently exports
34 * support/export/export.c (export_read) : pass 0 as
35 "canonical" flag to export_lookup and export_create
36 * support/export/rmtab.s (rmtab_read) : Likewise
38 * support/include/exportfs.h : redeclare various routines
39 to have "canonical" flag
41 * utils/exportfs/exportfs.c (main) : redo logic for
42 "-au" to read in what is currently exported, but never even
43 look at what "should" be exported.
45 * utils/exportfs/exportfs.c (unexportall) : remove this
46 routine. Functionality is completely included in
49 * utils/exportfs/exportfs.c (exportfs) : set "canonical"
50 flag to zero in calls to export_lookup and export_create.
53 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
54 Anne Milicia <milicia@missioncriticallinux.com>
56 * support/export/client.c (client_lookup) call gethostbyadd
57 to make sure that we have a canonical hostname, even for
59 * utils/exportfs/exportfs.c (exportfs) Likewise
61 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
63 * support/nfs/exports.c (putexportent): \octal quote any spaces
65 * support/nfs/xio.c (xgettok): recognise double-quote and
66 \octal quoting in path names
67 * utils/exportfs/exports.man: document quoting conventions
70 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
72 * utils/mountd/auth.c (auth_authenticate_internal): Reverse
73 change from 2000-08-02: It causes problems if someone exports
74 to both a hostname and IP addresses. nfs-utils must be
75 consistant about the canonical name that it chooses.
77 2001-08-17 Ragnar Kjørstad <nfs@ragnark.vestdata.no>
78 H.J. Lu <hjl@lucon.org>
80 * etc/redhat/nfslock.init (STATDARG): New. Pass it to rpc.statd.
82 * utils/statd/statd.c (longopts): Add "name".
83 (usage): Add "-n/--name".
84 (main): Set MY_NAME with "-n/--name".
86 * utils/statd/state.c (change_state): Set MY_NAME only if it
89 * utils/statd/statd.man: Updated for "-n/--name".
91 2001-07-26 H.J. Lu <hjl@lucon.org>
93 * nfs-utils.spec (Release): Set to 8.
95 2001-07-25 H.J. Lu <hjl@lucon.org>
97 * etc/redhat/nfs.init: Check if rpc.rquotad exists before doing
100 2001-06-27 H.J. Lu <hjl@lucon.org>
102 * etc/redhat/nfs.init: Run rpc.rquotad only if it exists.
104 2001-06-27 H.J. Lu <hjl@lucon.org>
106 * utils/rquotad/rquota_server.c: Don't call statfs () for
107 the block size. Use BLOCK_SIZE instead.
109 2001-06-27 H.J. Lu <hjl@lucon.org>
111 * config.mk.in (CC_FOR_BUILD): Renamed from BUILD_CC.
112 (CFLAGS_FOR_BUILD): New. Don't use @CFLAGS@.
114 * configure.in (enable_nfsv3): Set to yes by default.
115 (--enable-rquotad): Added
116 (AC_PROG_CXX): Removed.
117 (AC_OUTPUT): Add utils/Makefile.
118 (CC_FOR_BUILD): Renamed from BUILD_CC.
119 * configure: Regenerated.
121 * utils/Makefile: Removed.
123 * utils/Makefile.in: New.
125 * nfs-utils.spec.in (rquotad): New. Set to 0 to disable
127 (CC_FOR_BUILD): Renamed from BUILD_CC.
128 * nfs-utils.spec: Regenerated.
130 2001-06-15 Chip Salzenberg <chip@debian.org>
132 * debian/changelog: Version 0.3.2-2.
133 * debian/*.init: Minor fixes.
135 2001-06-07 Lon H. Hohberger <hohberger@missioncriticallinux.com>
137 * etc/nodist/nfs-server: Fixed a bug where the script would
138 disable mounts from NFSv3 clients if NFSv3 is present.
140 2001-06-05 H.J. Lu <hjl@lucon.org>
142 * utils/mountd/mountd.c (longopts): Add "descriptors/o".
143 (main): Support --descriptors/-o to set the limit of the number
144 of open file descriptors.
147 * utils/mountd/mountd.man: Updated for --descriptors/-o.
149 2001-06-04 H.J. Lu <hjl@lucon.org>
151 * nfs-utils.spec (Release): Set to 6.
153 2001-05-28 H.J. Lu <hjl@lucon.org>
155 * utils/lockd/lockd.c (main): chdir to NFS_STATEDIR.
156 * utils/mountd/mountd.c (main): Likewise.
157 * utils/nfsd/nfsd.c (main): Likewise.
158 * utils/rquotad/rquota_svc.c (main): Likewise.
160 2001-05-06 Anne Milicia <milicia@missioncriticallinux.com>
162 * support/export/client.c (client_check): Check IP address
165 2001-05-06 Neil Brown <neilb@cse.unsw.edu.au>
167 * support/export/client.c (client_gettype): Treat `*' as
170 2001-04-22 H.J. Lu <hjl@lucon.org>
172 * nfs-utils.spec.in: Fix a typo.
173 * nfs-utils.spec: Regenerated.
175 2001-04-21 H.J. Lu <hjl@lucon.org>
177 * nfs-utils.spec.in: Fix cross build.
178 * nfs-utils.spec: Regenerated.
181 2001-04-18 H.J. Lu <hjl@lucon.org>
183 * nfs-utils.spec.in: Support cross build.
184 * nfs-utils.spec: Regenerated.
190 * config.mk.in (BUILD_CC): New.
191 (CC): Set to $(BUILD_CC) if BUILD is defined.
194 (RANLIB): Set to @RANLIB@.
196 * configure.in: Check BUILD_CC, RANLIB, AR and LD.
197 * configure: Regenerated.
199 * tools/rpcgen/Makefile (BUILD): Set to true.
201 2001-04-01 Chip Salzenberg <chip@valinux.com>
203 * tools/rpcgen/rpc_svcout.c (write_timeout_func): Remove
204 redundant, and sometimes broken, declaration of svc_fdset;
206 * support/nfs/rpcmisc.c (closedown): Likewise.
208 2001-03-21 H.J. Lu <hjl@lucon.org>
210 * nfs-utils.spec: Regenerated.
213 2001-03-21 Ion Badulescu <ionut@cs.columbia.edu>
215 * utils/statd/statd.c (main): make sure file descriptors 0-2
216 are open to /dev/null.
218 2001-03-21 H.J. Lu <hjl@lucon.org>
220 * support/nfs/rpcmisc.c: Restore the change made on 2001-03-10.
221 * support/nfs/rpcmisc.c: Likewise.
222 * utils/rquotad/rquota_svc.c: Likewise.
223 * utils/rquotad/rquotad.man: Likewise.
224 * utils/statd/Makefile: Likewise.
225 * utils/statd/rmtcall.c: Likewise.
226 * utils/statd/simulate.c: Likewise.
227 * utils/statd/statd.c: Likewise.
228 * utils/statd/statd.man: Likewise.
230 2001-03-11 H.J. Lu <hjl@lucon.org>
232 * configure.in (RELEASE): New. Default to 1, set by
233 --with-release=XXX. Substitute nfs-utils.spec.
234 * nfs-utils.spec.in (Release): Set to @RELEASE@.
235 * configure: Regenerated.
236 * nfs-utils.spec: Likewise.
238 2001-03-11 H.J. Lu <hjl@lucon.org>
240 * utils/rquotad/rquotad.man: Fix a typo.
242 2001-03-11 H.J. Lu <hjl@lucon.org>
244 * support/include/rpcmisc.h: Undo the change made on 2001-03-10.
245 * support/nfs/rpcmisc.c: Likewise.
246 * utils/rquotad/rquota_svc.c: Likewise.
247 * utils/rquotad/rquotad.man: Likewise.
248 * utils/statd/Makefile: Likewise.
249 * utils/statd/rmtcall.c: Likewise.
250 * utils/statd/simulate.c: Likewise.
251 * utils/statd/statd.c: Likewise.
252 * utils/statd/statd.man: Likewise.
254 2001-03-10 H.J. Lu <hjl@lucon.org>
256 * configure.in (VERSION): Set to "0.3.2".
257 * configure: Regenerated.
258 * nfs-utils.spec: Likewise.
260 * README: Updated for 0.3.2.
262 2001-03-10 Tavis Barr <tavis@boole.isetr.columbia.edu>
264 * utils/rquotad/rquotad.man: Updated for -p.
265 * utils/statd/statd.man: Likewise.
267 2001-03-10 Ion Badulescu <ionut@cs.columbia.edu>
269 * support/nfs/rpcmisc.c: export makesock()
271 * support/include/rpcmisc.h (makesock): Declared.
273 * utils/rquotad/rquota_svc.c: added longopts, added support for
274 specifying the port to bind to on the command line.
276 * utils/statd/statd.c: ditto, also specify port used for
277 outgoing connections.
278 (do_regist): Removed.
280 * utils/statd/rmtcall.c (statd_get_socket): Renamed from
281 get_socket. Make it extern.
283 * utils/statd/simulate.c (daemon_simulator): Call rpc_init
284 instead of do_regist.
286 * utils/statd/Makefile (LIBS): link with our own libnfs
288 2001-03-09 H.J. Lu <hjl@lucon.org>
290 * etc/redhat/nfslock.init: Changed chkconfig line to 60 86.
291 * etc/nodist/nfs-client: Likewise.
293 2001-02-26 Chip Salzenberg <chip@valinux.com>
295 * debian/changelog: Version 0.3.1-1.
296 * Mention upstream source and license in copyright file.
297 * Add build-Depends for debhelper and libwrap0-dev.
299 2001-02-20 Lon Hohberger <hohberger@missioncriticallinux.com>
301 * etc/nodist/nfs-server: Changed chkconfig line to 60 20
302 * etc/nodist/nfs-client: Likewise.
304 2001-02-18 Lon Hohberger <hohberger@missioncriticallinux.com>
306 * utils/statd/statd.man: Changed /usr/sbin/rpc.statd to
309 2001-02-17 Patrick J. LoPresti <patl@curl.com>
311 * utils/statd/log.c (log_init): Use LOG_DAEMON instead of
314 2001-02-14 H.J. Lu <hjl@lucon.org>
316 * utils/statd/rmtcall.c: Include <time.h>.
317 * utils/statd/svc_run.c: Likewise.
319 2001-02-14 H.J. Lu <hjl@lucon.org>
321 * configure.in (VERSION): Set to "0.3.1".
322 * configure: Regenerated.
323 * nfs-utils.spec: Likewise.
325 * README: Updated for 0.3.1.
327 2001-02-14 H.J. Lu <hjl@lucon.org>
329 * support/nfs/rpcmisc.c: Include <time.h>.
331 2001-02-14 Chip Salzenberg <chip@valinux.com>
333 * debian/control: Change priority of nhfsstone package to 'extra'.
335 2001-02-12 Chip Salzenberg <chip@valinux.com>
337 * debian/changelog: Version 0.3-2.
339 2001-02-02 H.J. Lu <hjl@lucon.org>
341 * support/include/rpcmisc.h (rpc_init): Remove bufsize.
343 * support/nfs/rpcmisc.c (makesock): Remove socksz and comment
344 out SO_SNDBUF/SO_RCVBUF.
345 (rpc_init): Remove bufsize and remove socksz in calls to
348 * utils/mountd/mountd.c (main): Remove bufsize in calls to
351 2001-01-28 Chip Salzenberg <chip@valinux.com>
353 * debian/changelog: Version 0.3-1.
355 2001-01-25 H.J. Lu <hjl@lucon.org>
357 * configure.in (VERSION): Set to "0.3".
358 * configure: Regenerated.
359 * nfs-utils.spec: Likewise.
361 * README: Updated for 0.3.
363 2001-01-25 H.J. Lu <hjl@lucon.org>
365 * utils/lockd/lockd.c (main): Ignore errno == EINVAL.
367 2001-01-20 Chip Salzenberg <chip@valinux.com>
369 * support/include/xio.h (xgetc): Declare to return int.
370 * support/nfs/xio.c (xgetc): Return int.
371 (xgettok, xskip, xskipcomment): Use int for value of xgetc.
372 * utils/statd/statd.c (main): Use int for value of getopt.
373 * debian/changelog: Version 0.2.1-5.
375 2000-12-10 Chip Salzenberg <chip@valinux.com>
377 * utils/statd/monitor.c (sm_mon_1_svc): Fix buggy check for
378 program and procedure numbers of kernel lockd's callback. Also,
379 besides the old (and broken) procedure #24, allow #16 per Trond.
381 2000-12-03 Chip Salzenberg <chip@valinux.com>
383 * support/nfs/xio.c (xfopen): Initialize x_line to one, not zero.
384 * debian/control: Let nhfsstone replace files in nfs-kernel-server.
385 * debian/changelog: Version 0.2.1-4.
387 2000-11-27 Tobias Ringstrom <tori@tellus.mine.nu>
389 * utils/mountd/auth.c (auth_authenticate): Log the bad path
392 2000-11-24 Neil Brown <neilb@cse.unsw.edu.au>
394 * support/nfs/exports.c (getexportent): Check for host name
395 without option, or options without hostname, and print a warning,
396 as this is most likely a typo.
398 2000-11-19 Chip Salzenberg <chip@valinux.com>
400 * debian/control: Add dependency on portmap.
401 * debian/changelog: Version 0.2.1-3.
403 2000-11-10 H.J. Lu <hjl@lucon.org>
405 * nfs-utils.spec.in: Don't use libtool.
406 Add ChangeLog and COPYING to doc.
407 * nfs-utils.spec: Rebuild.
409 2000-11-09 H.J. Lu <hjl@lucon.org>
411 * etc/redhat/nfs.init (start): Back out the last change.
413 2000-11-09 H.J. Lu <hjl@lucon.org>
415 * etc/redhat/nfs.init (start): Pass --no-tcp to mountd if
416 TCP is not supported by kernel.
418 * support/nfs/rpcmisc.c (rpc_init): Don't set _rpcfdtype to 0.
420 * utils/mountd/mountd.c (longopts): Add "-n/--no-tcp".
421 (main): Set to _rpcfdtype to SOCK_DGRAM for "-n/--no-tcp".
423 * utils/mountd/mountd.man: Updated for "-n/--no-tcp".
425 2000-10-24 Lon Hohberger <hohberger@missioncriticallinux.com>
427 * utils/statd/callback.c: Fix bug preventing callbacks to local lockd.
428 * utils/statd/rmtcall.c: Add some IP address paranoia when doing
429 callbacks to local lockd.
431 2000-10-18 Scott McDermott <mcdermot@questra.com>
433 * utils/exportfs/exports.man: Updated for CIDR netmask.
435 2000-10-17 Scott McDermott <mcdermot@questra.com>
437 * support/export/client.c (client_init): Support CIDR netmask
440 2000-10-11 H.J. Lu <hjl@lucon.org>
442 * aclocal.m4 (AC_TCP_WRAPPER): Fix a typo.
443 * configure: Rebuilt.
445 2000-10-06 Lon Hohberger <hohberger@missioncriticallinux.com>
447 * utils/statd/statd.man: Change "/var/lib/nfs/sm/state" to
448 "/var/lib/nfs/state".
450 2000-10-05 Lon Hohberger <hohberger@missioncriticallinux.com>
452 * utils/statd/statd.h (run_mode): New global bitmask of runtime
453 behaviors: fg/bg, logging, etc.
454 * utils/statd/statd.c: New command line options: -V -h -? -d .
455 * utils/statd/statd.man: Update for changes to statd.
457 * utils/statd/log.h (log_init): Remove parameter of function; use
458 global variable "name_p" instead.
459 * utils/statd/log.c: Add support for logging to stderr.
461 * utils/statd/notlist.c: Partially rewrite notify list handling
462 functions. Eliminate run-off-end-of-list bug when calling
463 nlist_insert_timer. Add lots of comments.
465 2000-09-27 H.J. Lu <hjl@lucon.org>
467 * README: Updated for RedHat 7.0.
469 2000-09-27 H.J. Lu <hjl@lucon.org>
471 * nfs-utils.spec: Rebuild.
473 2000-09-27 H.J. Lu <hjl@lucon.org>
475 * README: Updated for 0.2.1.
477 2000-09-27 H.J. Lu <hjl@lucon.org>
479 * nfs-utils.spec.in: Updated to use rpm macros and support
482 2000-09-25 H.J. Lu <hjl@lucon.org>
484 * configure.in (VERSION): Set to "0.2.1".
485 * configure: Regenerated.
486 * nfs-utils.spec: Updated.
488 2000-09-25 H.J. Lu <hjl@lucon.org>
490 * utils/mountd/auth.c (auth_authenticate_internal): Make sure a
491 non-NULL hostent is always returned.
493 2000-09-11 Ion Badulescu <ionut@cs.columbia.edu>
495 * etc/redhat/nfslock.init: don't kill lockd processes that do not
496 have an executable (i.e. kernel threads)
498 2000-09-01 H.J. Lu <hjl@lucon.org>
500 * README: Updated for 0.2.
502 2000-09-01 Jay Weber <jweber@valinux.com>
504 * etc/redhat/nfs.init: Added ability for rpc.mountd to default to
505 supporting version 3 of nfs if available, else it will fall back to
506 version 2 support only.
508 2000-08-30 H.J. Lu <hjl@lucon.org>
510 * configure.in (VERSION): Set to "0.2".
511 * configure: Regenerated.
512 * nfs-utils.spec: Updated.
514 2000-08-25 H.J. Lu <hjl@lucon.org>
516 * support/misc/tcpwrapper.c (logit): Modify the log output.
518 2000-08-25 Ion Badulescu <ionut@cs.columbia.edu>
520 * utils/rquotad/rquotad.man, utils/statd/statd.man,
521 utils/mountd/mountd.man: updated
523 * utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL)
524 * utils/rquotad/Makefile: fix comment
526 * support/misc/tcpwrapper.c (logit): added comment about waiting
527 for the children after fork()
529 * utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving
530 zombies behind (from logit()'s fork)
531 * utils/rquotad/rquota_svc.c (main): ditto
532 * utils/statd/statd.c (main): ditto
534 * utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG
535 to check_default instead of 0, for prognum
537 * utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG
538 to check_default instead of 0, for prognum
540 * utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if
541 HAVE_TCP_WRAPPER is defined.
542 (mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is
543 defined. Reject an RPC call if check_default () fails.
545 2000-08-25 H.J. Lu <hjl@lucon.org>
547 * support/include/tcpwrapper.h: New for the tcp wrapper
549 * support/misc/Makefile: Likewise.
550 * support/misc/from_local.c: Likewise.
551 * support/misc/tcpwrapper.c: Likewise.
553 * aclocal.m4 (AC_TCP_WRAPPER): New.
554 * configure.in: Use it. Substitute LIBWRAP.
555 * configure: Rebuilt.
557 * config.mk.in (LIBNSL): New.
560 * support/Makefile (SUBDIRS): Add misc.
562 * support/lib/Makefile (LIBS): Add libmisc.a.
564 * utils/rquotad/Makefile (LIBS): Add
566 -lmisc $(LIBWRAP) $(LIBNSL)
568 * utils/statd/Makefile (LIBS): Likewise.
570 * utils/rquotad/rquota_svc.c: Include "tcpwrapper.h" if
571 HAVE_TCP_WRAPPER is defined.
572 (rquotaprog_1): Call check_default () if HAVE_TCP_WRAPPER is
573 defined. Reject an RPC call if check_default () fails.
575 * utils/statd/statd.c: Include "tcpwrapper.h" if
576 HAVE_TCP_WRAPPER is defined.
577 (sm_prog_1_wrapper): New. A wrapper for sm_prog_1. Call
578 check_default () before calling sm_prog_1 (). Define it as
579 sm_prog_1_wrapper if HAVE_TCP_WRAPPER is defined.
581 2000-08-25 Chip Salzenberg <chip@valinux.com>
583 * debian/*: Complete Debian build support.
584 * etc/debian/*: Remove.
586 2000-08-24 Neil Brown <neilb@cse.unsw.edu.au>
588 * support/export/client.c(client_check): removed the "dot+1" as a
589 ypdomain argument to innetgr as this is entirely bogus.
590 It should always be NULL.
592 2000-08-23 Neil Brown <neilb@cse.unsw.edu.au>
594 * support/export/xtab.c(xtab_read): introduce new mode for
595 reading xtab. i.e. a list of exports that might be known to the
596 kernel, or might not. These are flagged as m_exported == -1
597 * support/export/xtab.c(xtab_mount_read): call xtab_read with new
598 value "2" for xtab, meaning don't trust this too much.
599 * support/include/exportfs.h(struct mexport): changed m_exported
600 from one bit to an int so that it can hold new value
601 * utils/exportfs/exportfs.c(exportfs_ipdate): add an export to the
602 kernel if it is uncertain whether the kernel knows (m_exported == -1)
603 * utils/mountd/mountd.c(get_rootfh): similarly export to kernel if
606 * support/nfs/xio.c(xflock): added O_CREAT when getting
607 a write lock so that missing files aren't fatal.
609 * etc/debian/nfs-common: new file from "potato"
610 * etc/debian/nfs-kernel-server: new file from "potato" plus fixes.
612 2000-08-09 H.J. Lu <hjl@lucon.org>
614 * etc/redhat/nfs.init: Run /usr/sbin/exportfs first during
615 startup to ensure all existing clients work fine.
617 * support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0
618 to xtab_read () for reading _PATH_XTAB.
620 2000-08-02 H.J. Lu <hjl@lucon.org>
622 * utils/mountd/auth.c (auth_authenticate_internal): Try to
623 avoid the reverse name lookup.
625 2000-07-04 H.J. Lu <hjl@lucon.org>
627 * utils/statd/log.c: Include <stdlib.h> for exit ().
629 * utils/statd/misc.c (xunlink): Add `{' and `}' to quiet the
632 2000-07-04 H.J. Lu <hjl@lucon.org>
634 * configure.in (VERSION): Set to "0.1.9.1".
635 * configure: Regenerated.
636 * nfs-utils.spec: Updated.
640 2000-07-04 Neil Brown <neilb@cse.unsw.edu.au>
642 * support/export/hostname.c (hostent_dup): Handle the NULL
645 2000-07-03 H.J. Lu <hjl@lucon.org>
647 * README: Update the util-linux requirement.
649 2000-07-03 H.J. Lu <hjl@lucon.org>
651 * configure.in (VERSION): Set to "0.1.9".
652 * configure: Regenerated.
653 * nfs-utils.spec: Updated.
657 2000-07-03 H.J. Lu <hjl@lucon.org>
659 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
660 stop to ensure all clients can still access the server
661 before it is shutdown.
663 2000-06-30 Jeff Uphoff <juphoff@transmeta.com>
665 * tools/rpcgen/rpc_svcout.c (write_msg_out): Generate syslog()
666 calls with format string.
668 2000-06-28 Chip Salzenberg <chip@valinux.com>
670 * utils/statd/log.c (log): Call syslog with format string.
672 2000-06-27 H.J. Lu <hjl@lucon.org>
674 * utils/statd/statd.c (main): Use sysconf (_SC_OPEN_MAX)
677 2000-06-27 H.J. Lu <hjl@lucon.org>
681 2000-06-27 H.J. Lu <hjl@lucon.org>
683 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
684 startup to ensure all existing clients are exported.
686 * configure.in (VERSION): Set to "0.1.8.2".
687 * configure: Regenerated.
688 * nfs-utils.spec: Updated.
690 2000-06-06 H.J. Lu <hjl@lucon.org>
692 * configure.in (VERSION): Set to "0.1.8.1".
693 * configure: Regenerated.
694 * nfs-utils.spec: Updated.
696 2000-06-06 H.J. Lu <hjl@lucon.org>
698 * utils/mountd/mountd.c (mount_dump_1_svc): Cast svc_getcaller
699 to "struct sockaddr_in *" for glibc 2.2.
700 (mount_umnt_1_svc): Likewise.
701 (mount_umntall_1_svc): Likewise.
702 (mount_export_1_svc): Likewise.
703 (mount_exportall_1_svc): Likewise.
704 (mount_pathconf_2_svc): Likewise.
705 (get_rootfh): Likewise.
707 2000-06-04 H.J. Lu <hjl@lucon.org>
709 * etc/redhat/nfs.init: Fix a typo in comment.
711 2000-05-31 H.J. Lu <hjl@lucon.org>
713 * configure.in (VERSION): Set to "0.1.8".
714 * configure: Regenerated.
715 * nfs-utils.spec: Updated.
719 2000-05-31 H.J. Lu <hjl@lucon.org>
721 * configure.in (VERSION): Set to "0.1.7.5".
722 * configure: Regenerated.
723 * nfs-utils.spec: Updated.
725 * support/include/nfslib.h (exportent): Add a new field,
726 r_count, to count the number of mounts from a client.
727 (getrmtabent): Take a new argument for position in file.
728 (putrmtabent): Likewise.
729 (fgetrmtabent): Likewise.
730 (fputrmtabent): Likewise.
731 * support/nfs/rmtab.c (getrmtabent): Handle the new argument
732 for position in file.
733 (fgetrmtabent): Likewise.
734 (putrmtabent): Likewise.
735 (fputrmtabent): Likewise.
737 * support/nfs/rmtab.c (fgetrmtabent): Get value for the new
740 * support/export/rmtab.c (rmtab_read): Pass NULL as the new
741 argument to getrmtabent (), fgetrmtabent (), putrmtabent ()
743 * utils/mountd/rmtab.c (mountlist_add): Likewise.
744 (mountlist_del): Likewise.
745 (mountlist_del_all): Likewise.
746 (mountlist_list): Likewise.
748 * utils/mountd/rmtab.c (mountlist_add): Increment "r_count"
749 for the existing entry and initialize "r_count" to 1.
750 (mountlist_del): Decrement "r_count".
752 2000-05-18 H.J. Lu <hjl@lucon.org>
754 * configure.in (VERSION): Set to "0.1.7.4".
755 * configure: Regenerated.
756 * nfs-utils.spec: Updated.
758 2000-05-18 H.J. Lu <hjl@lucon.org>
760 * etc/redhat/nfs.init (restart): Just do stop and start.
762 2000-05-09 Jay Weber <jweber@valinux.com>
764 * utils/rquotad/hasquota.c: added support for ext3 recognition
766 * utils/rquotad/mntent.h: Likewise.
768 2000-05-01 H.J. Lu <hjl@lucon.org>
770 * configure.in (VERSION): Set to "0.1.7.3".
771 * configure: Regenerated.
772 * nfs-utils.spec: Updated.
774 2000-05-01 H.J. Lu <hjl@lucon.org>
776 * utils/rquotad/rquota_server.c (getquotainfo): Skip bad
777 mounting poins in /etc/fstab.
779 2000-05-01 H.J. Lu <hjl@lucon.org>
781 * configure.in (VERSION): Set to "0.1.7.2".
782 * configure: Regenerated.
783 * nfs-utils.spec: Updated.
785 2000-05-01 H.J. Lu <hjl@lucon.org>
787 * utils/rquotad/rquota_server.c (getquotainfo): Call stat ()
788 to check for the mounting point.
790 2000-04-29 Chip Salzenberg <chip@valinux.com>
791 Neil Brown <neilb@cse.unsw.edu.au>
793 * Really re-use RPC ports.
794 (Fixes earlier patch. Sorry, Neil.)
796 2000-04-26 H.J. Lu <hjl@lucon.org>
798 * configure.in (VERSION): Set to "0.1.7.1".
799 * configure: Regenerated.
800 * nfs-utils.spec: Updated.
802 2000-04-26 H.J. Lu <hjl@lucon.org>
804 * etc/redhat/nfslock.init: Check if lockd exits before killing
807 2000-04-25 H.J. Lu <hjl@lucon.org>
809 * README: Require util-linux-2.10f-mount-rpc.patch for mount.
811 2000-03-21 Michael Weiser <michael@weiser.saale-net.de>
813 * support/nfs/exports.c (parsesquash): Correctly set the
816 Tue Mar 21 11:38:48 EST 2000 NeilBrown <neilb@cse.unsw.edu.au>
818 * support/include/nfs/nfs.h: Removed knowledge of internals of
819 kernel filehandles (which can change) and defined nfs_fh_size
820 which has variable size
822 * support/nfs/getfh.c: defined getfh_size to use new syscall to
823 get variable sized file handles, and change getfh{,old} to
826 * utils/mountd/mountd.c: use nfd_fh_size and call getfh_size for
829 * tools/Makefile, tools/nlmtest/nlmtest.c
830 nlmtest.c depended on internel format of file handles, so now
834 2000-03-12 Chip Salzenberg <chip@valinux.com>
835 Neil Brown <neilb@cse.unsw.edu.au>
837 * support/nfs/rpcmisc.c (rpc_init): Share transports.
839 2000-03-13 H.J. Lu <hjl@lucon.org>
841 * etc/redhat/nfsd.init: Updated.
843 * etc/redhat/nfslock.init: Updated.
845 * nfs-utils.spec.in: Updated.
847 * configure.in (VERSION): Set to "0.1.7".
848 * configure: Regenerated.
849 * nfs-utils.spec: Updated.
853 Wed Mar 8 09:42:43 2000 Neil Brown <neilb@cse.unsw.edu.au>
855 * utils/exportfs/exportfs.c (dump): Included printing of
856 nohide, no_subtree_check, and insecure_locks
858 2000-02-26 Chip Salzenberg <chip@valinux.com>
860 * config.mk.in (INSTALLSUID): Strip ("-s").
861 (INSTALLSCRIPT): Define.
862 * utils/nhfsstone/Makefile: Use it.
864 2000-02-26 Chip Salzenberg <chip@valinux.com>
866 * utils/lockd/lockd.man: Create.
867 * utils/lockd/Makefile: Install it.
868 * utils/nhfsstone/nhfs{run,nums,graph}.man: Create.
869 * utils/nhfsstone/nhfsstone.man: Change suffix from ".1".
870 * utils/nhfsstone/Makefile: Install the helper scripts and
872 * utils/exportfs/exports.man: Fix typo.
874 2000-02-26 Chip Salzenberg <chip@valinux.com>
876 * support/nfs/xio.c (xungetc): Decrement line number when
877 character to unget is newline. Make first parameter int, so
878 it can distinguish EOF from \377.
879 * support/include/xio.h (xungetc): Adjust prototype.
881 Fri Feb 4 23:42:23 2000 Neil Brown <neilb@cse.unsw.edu.au>
883 * support/include/nfs/export.h: added NFSEXP_NOAUTHNLM
884 * support/nfs/exports.c: added handling for NFSEXP_NOAUTHNLM
885 * utils/exportfs/exports.man: added documentation for no_auth_nlm.
887 This is for supporting a new option introduced in 2.3.42
889 Thu Feb 3 14:55:48 2000 H.J. Lu <hjl@lucon.org>
891 * COPYING: Added. GPL.
893 Thu Feb 03 14:40:40 2000 Cristian Gafton <gafton@redhat.com>
895 * utils/rquotad/rquota_server.c (getquotainfo): Call statfs ()
896 to get the block size.
898 Tue Jan 25 11:04:17 2000 H.J. Lu <hjl@lucon.org>
900 * nfs-utils.spec.in: Update ftp site.
902 Mon Jan 17 11:48:18 2000 H.J. Lu <hjl@lucon.org>
904 * README: Update hostnames.
906 Tue Jan 11 10:06:22 2000 H.J. Lu <hjl@lucon.org>
908 * configure.in (VERSION): Set to "0.1.6".
909 * configure: Regenerated.
910 * nfs-utils.spec: Updated.
914 Mon Jan 10 14:26:33 2000 H.J. Lu <hjl@lucon.org>
916 * utils/mountd/auth.c (auth_authenticate_internal): Call
917 xstrdup for hostname before passing it to gethostbyname.
919 * utils/mountd/mountd.c (get_exportlist): Use xstrdup instead
922 Sun Dec 19 09:35:01 1999 H.J. Lu <hjl@lucon.org>
924 * README: Update the mailing list address.
926 Sun Dec 19 09:22:28 1999 H.J. Lu <hjl@lucon.org>
928 * configure.in (VERSION): Set to "0.1.5".
929 * configure: Regenerated.
930 * nfs-utils.spec: Updated.
934 Mon Dec 13 13:40:20 1999 H.J. Lu <hjl@lucon.org>
936 * utils/rquotad/hasquota.c (hasquota): Malloc one more char
939 Mon Dec 6 09:42:45 1999 H.J. Lu <hjl@lucon.org>
941 * configure.in (VERSION): Set to "0.1.4".
942 * configure: Regenerated.
943 * nfs-utils.spec: Updated.
947 Mon Dec 6 09:28:07 1999 H.J. Lu <hjl@lucon.org>
949 * nfs-utils.spec.in: New file.
951 * config.mk.in (VERSION): Changed to "nfs-utils @VERSION@".
953 * configure.in (nfs-utils.spec): Added to AC_OUTPUT.
955 1999-12-04 Chip Salzenberg <chip@valinux.com>
957 * config.mk.in: Use $(CC) as set by configure.
959 1999-12-04 Chip Salzenberg <chip@valinux.com>
961 * rules.mk: Call $(MAKE) with $(MFLAGS).
963 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
965 * tools/rpcgen/rpc_main.c (h_output): Generate IXDR_GET_INT32,
966 IXDR_PUT_INT32, IXDR_GET_U_INT32 and IXDR_PUT_U_INT32.
968 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
970 * nfs-utils.spec (Version): Set to 0.1.3.
972 * configure.in (VERSION): Set to "nfs-utils 0.1.3".
973 * configure: Regenerated.
977 Mon Nov 29 11:15:47 1999 H.J. Lu <hjl@lucon.org>
979 * utils/rquotad/rquota_server.c (nfsmount_to_devname): Removed.
980 (_PATH_DEV_DSK): Likewise.
981 (getquotainfo): Match the mounting point from /etc/mtab
982 instead of calling nfsmount_to_devname ().
984 1999-11-24 Chip Salzenberg <chip@valinux.com>
986 * utils/statd/monitor.c (sm_mon_1_svc): Accept lockd callbacks
987 to the new port 24 as well as the historical port 100021.
989 Tue Nov 23 10:21:34 1999 Neil Brown <neilb@cse.unsw.edu.au>
991 * etc/redhat/nfsd.init (stop): moved exportfs -ua after
992 stopping nfsd to stop spurious ESTALE on server shutdown.
994 Tue Nov 23 10:13:39 1999 Neil Brown <neilb@cse.unsw.edu.au>
996 * support/nfs/exports.c (parseopts): make copy of opt string
997 before 'nul'ing out commas so that
999 # exportfs -o option1,option2 hosta:/fs hostb:/fs
1001 applies both options to both exports.
1003 Thu Oct 28 12:55:42 1999 H.J. Lu <hjl@lucon.org>
1005 * README: Fix a few typos.
1007 * tools/rpcgen/rpc_cout.c (print_header): Use int32_t instead
1009 * tools/rpcgen/rpc_hout.c (pdefine): Likewise.
1010 * tools/rpcgen/rpc_main.c (c_initialize): Likewise.
1011 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1012 (unsigned_dec): Likewise.
1013 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1014 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1016 * tools/rpcgen/rpc_cout.c (emit_single_in_line): Use INT32
1018 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1019 (unsigned_dec): Likewise.
1020 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1021 * tools/rpcgen/rpc_scan.h (tok_kind): Likewise.
1022 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1024 Thu Oct 28 11:27:51 1999 Neil Brown <neilb@cse.unsw.edu.au>
1026 * support/include/nfs/export.h addedd NFSEXP_NOSUBTREECHECK
1027 * support/nfs/exports.c: added {no_,}subtree_check and changed
1029 * utils/exportfs/exports.man: added no_subtree_check and nohide
1030 and removed irrelevant stuff from unfsd.
1031 * support/export/rmtab.c: rmtab_read didn't quite do the right
1032 thing if a pathname from rmtab was a subdirectory of an export-point
1034 Tue Oct 26 17:22:40 1999 H.J. Lu <hjl@lucon.org>
1036 * README: Updated ftp site.
1038 Mon Oct 25 18:12:45 1999 H.J. Lu <hjl@lucon.org>
1040 * nfs-utils.spec (Version): Set to 0.1.2.
1042 * configure.in (VERSION): Set to "nfs-utils 0.1.2".
1043 * configure: Regenerated.
1047 Mon Oct 25 18:11:21 1999 H.J. Lu <hjl@lucon.org>
1049 * utils/mountd/auth.c (auth_error): Add "no_forward_dns".
1050 (auth_authenticate_internal): Check for NULL return on forward
1052 (auth_authenticate): Handle "no_forward_dns".
1054 Thu Oct 21 16:22:06 1999 H.J. Lu <hjl@lucon.org>
1056 * Version 0.1.1 released.
1058 * nfs-utils.spec (Version): Set to 0.1.1.
1060 * configure.in (VERSION): Set to "nfs-utils 0.1.1".
1061 * configure: Regenerated.
1065 Mon Oct 18 17:43:29 1999 H.J. Lu <hjl@lucon.org>
1067 * nfs-utils.spec (Obsoletes): Fixed a typo, change knfsd-client
1069 (Provides): Likewise.
1071 Mon Oct 18 14:56:22 1999 H.J. Lu <hjl@lucon.org>
1073 * Initial version 0.1 released.
1075 * configure.in (VERSION): Set to "nfs-utils 0.1".
1076 * configure: Regenerated.
1078 Mon Oct 18 14:54:57 1999 H.J. Lu <hjl@lucon.org>
1080 * utils/mountd/mountd.c (get_exportlist): Cleanup.
1082 * utils/exportfs/exportfs.c (unexport_all): Unexport from
1083 kernel only if the entry is exported to kernel.
1084 (unexportfs): Likewise.
1086 Wed Sep 08 16:49:32 1999 Neil Brown <neilb@cse.unsw.edu.au>
1088 1/ utils/mountd/rmtab.c::mountlist_list
1090 This routine stats the rmtab file to see if it has changed. It
1091 if has, it cleans up it's old copy of the data. But it still
1092 always re-read the file, thus returning multiple copies of the
1093 data on consecutive calls without intervening changes.
1094 "Showmount -a" didn't show this as it appears to sort/unique the
1095 data, but 'strace showmount -a' showed that the size of the
1096 datagram that it received grew.
1098 I moved the getrmtabent loop inside the mtime test.
1100 2/ utils/exportfs/exportfs.c
1102 Many routines used the m_path field of m_export instead of
1104 According to the comment in nfslib.h, m_path should only
1105 be used when processing a mount request (i.e. in mountd)
1106 where the mountpoint may be a subdirectory of the export point.
1108 I changed all occurances of m_path to e_path
1111 3/ utils/exportfs/exportfs.c:main
1113 extra arguments are not meaningful with -a or -r, but
1114 exportfs accepted them and then ignored the -a/-r, expect that
1115 -r would still unexport everything first.
1117 I generate an error if there are extra args and f_all
1119 4/ utils/exportfs/exportfs.c:main
1120 extract dump out as a special case.
1122 5/ utils/exportfs/exportfs.c
1123 made f_reexport a local variable.
1126 6/ utils/exportfs/exportfs.c:main,exportall
1128 support/export/rmtab.c
1129 only mayexport on newly created entries, don't set xtabent at all
1131 7/ support/include/nfslib.h
1133 add #define _PATH_PROC_EXPORTS to be /proc/fs/nds/exports
1135 8/ support/export/xtab.c
1137 xtab_mount_read loads data from _PATH_PROC_EXPORTS if it exists,
1141 9/ support/export/xtab.c
1143 xtab_mount_read now sets m_exported, and NOT
1144 xtabent and mayexport
1146 removed the append arguement from xtab_write as it was
1149 added is_export flag to xtab_write similar to xtab_read
1150 if is_export, only write entries with m_xtabent or m_addxtab
1151 if !is_export, only write entries with m_exported
1153 10/ support/export/export.c::export_allowed_internal
1155 added test for exp->m_mayexport, as the export tree
1156 may have entries that are no longer allowed to be exported,
1157 and so shouldn't caused deduced exported by rmtab_read
1159 11/ utils/exportfs/exportfs.c::main
1160 error checking of flags.
1162 12/ utils/exportfs/exportfs.c
1164 total rewrite of export and unexport logic.
1166 - build an exportslist of valid exports, based on
1167 current etab file and arguments,
1168 - read rmtab to instantiate relevant wild card entries
1169 - read etab to find out what is currently exported
1170 - synchronise intention with reality
1171 - write out etab and xtab
1174 discard the m_addxtab flag
1175 add m_changed flag so we know what to report in exportfs
1177 14/ utils/mountd/auth.c:auth_authenticate
1179 the value returned by gethostbyaddr was trusted.
1181 It now follows this with a call to gethostbyname
1182 and checks that the address is in the list.
1184 15/ support/export/nfsctl.c::cltsetup,expsetup
1186 force client names to lowercase as kernel is
1189 16/ quietened a few compiler warnings
1191 17/ support/export/client:client_lookup
1193 look for pre-existing client with same name before creating
1196 18/ support/include/exportfs.h
1198 The ordering of the MCL_* enum was:
1199 ANONYMOUS, FQDN, SUBNETWORK, WILDCARD, NETGROUP
1201 I moved ANONYMOUS to the end.
1203 The ordering is significant when an export entry is being searched for to
1204 match a given address. There are two problems with ANONYMOUS being first.
1206 1/ if a directory is exported rw to a couple of hosts and ro to everyone else,
1207 then the ro case will always be found first and the privileged hosts won't get
1209 2/ When mountd gets a request to mount an ANONYMOUSly exported tree, it creates a FQDN
1210 export entry for the specific host, and writes it to xtab.
1211 When another request comes from the same host, the ANONYMOUS entry is found again,
1212 before the new FQDN entry, so it creates another FQDN entry and writes it to xtab
1213 again. If causes bloat in xtab.
1215 Putting ANONYMOUS at the end reflects it's nature as a catch-all
1217 19/ utils/exportfs/exportfs.man
1218 many updates to the man page to reflect changes to the code
1220 -----------------------
1226 - allow exportfs to modify rmtab file
1227 - make sure kernel never gets two clients with same IP address
1228 - possible kernel should reject
1229 - needs to be some way to lookup client in kernel by IP address
1230 - maybe get kernel to do case-insensitive comparisons on client names
1231 - remove unused clients from kernel
1233 - change etab to xtab and xtab to xtab.active
1235 - timestamp and/or statd-stamp in rmtab for removing old entries.
1237 Mon Oct 18 11:48:07 1999 H.J. Lu <hjl@lucon.org>
1239 * linux-nfs: New directory.
1240 * linux-nfs/ChangeLog: Moved from ..
1241 * linux-nfs/INSTALL: Likewise.
1242 * linux-nfs/KNOWNBUGS: Likewise.
1243 * linux-nfs/NEW: Likewise.
1244 * linux-nfs/README: Likewise.
1245 * linux-nfs/THANKS: Likewise.
1246 * linux-nfs/TODO: Likewise.
1248 * Starting from knfsd 1.4.7.