1 2001-12-26 Chip Salzenberg <chip@pobox.com>
3 * nfs-utils.spec (Version): Set to "1.0".
4 * configure.in (VERSION): Likewise.
5 * configure: Regenerated.
7 * debian/changelog: Version 1.0-1.
9 * utils/exportfs/exports.man: Emphasize the need for options to
10 immediately follow client names. Explain that wildcards don't
11 usually work on addresses, but may work when reverse DNS fails.
12 Comment out a leftover TP that was TPing our indentation.
13 * utils/mountd/mountd.man, utils/rquotad/rquotad.man,
14 utils/statd/statd.man: Remove refs to non-existent "hosts_allow(5)".
15 * debian/changelog: Version 0.3.3-6.
17 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
19 * support/export/client.c(client_lookup): If a host has multiple
20 IP addresses, then we must always use the result of a
21 gethostbyname, not that of gethostbyaddr for exporting
23 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
25 * support/export/client.c (client_lookup): use strcasecmp when
27 * support/nfs/export.c (getexportent): add fromkernel arg and use
28 different defaults as kernels prior to 2.4.11 assume different
29 defaults in /proc/fs/nfs/exports
30 * support/include/nfslib.h, support/export/export.c,
31 support/export/xtab.c: support extra "fromkernel" arg for
34 2001-12-13 Chip Salzenberg <chip@pobox.com>
36 * debian/changelog: Version 0.3.3-5.
38 2001-11-26 TAKAI Kousuke <takai@vlsi.kuee.kyoto-u.ac.jp>
40 * support/nfs/xio.c (xskip): Call `xungetc' instead of
41 `ungetc' to keep x_line more properly.
43 2001-11-26 Chip Salzenberg <chip@pobox.com>
45 * utils/showmount/showmount.c (main): Don't assume that strings
46 starting with digits are IP addresses.
47 * utils/nfsd/nfsd.c (main): Close all fds and reopen 0,1,2 on
48 /dev/null before nfssvc(). Use syslog to report nfssvc errors.
49 * support/misc/tcpwrapper.c, utils/mountd/mountd.man,
50 utils/rquotad/rquotad.man, utils/statd/statd.man: Fix comments and
51 man pages: We check host names *and* addresses with tcpwrappers.
52 * debian/changelog: Version 0.3.3-4.
54 2001-11-21 Chip Salzenberg <chip@pobox.com>
56 * support/nfs/clients.c (cfname): Added: current clients file name.
57 (setnfsclntent): Set it.
58 ({get,end}nfsclntent, syntaxerr): Use it.
59 * support/nfs/exports.c (efname): Added: current exports file name.
60 (setnfsexportent): Set it.
61 (endnfsexportent, parseopts, getexport, syntaxerr): Use it.
62 (parseopts): Accept old-style "crossmnt" option, for old xtabs.
63 * debian/changelog: Version 0.3.3-3.
65 2001-10-11 Chip Salzenberg <chip@pobox.com>
67 * utils/mountd/mountd.c (main): Close fds > 2 _before_ RPC init.
68 * debian/changelog: Version 0.3.3-2.
70 2001-10-08 Chip Salzenberg <chip@pobox.com>
72 * utils/mountd/mountd.c (main): When daemonizing, close all fds > 2.
73 * utils/Makefile.in: Remove old Makefile in target 'distclean'.
74 * utils/mountd/mountd.man: Update paths to /var/lib.
75 * debian/*: Version 0.3.3-1, with Debian-specific fixes.
77 2001-10-06 Preston Brown <pbrown@redhat.com>
79 * utils/nfsstat/nfsstat.man: Updated.
81 2001-09-24 H.J. Lu <hjl@lucon.org>
83 * configure.in (VERSION): Set to "0.3.3".
84 * configure: Regenerated.
85 * nfs-utils.spec: Likewise.
87 * README: Updated for 0.3.3.
89 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
91 Arrange that "exportfs -au" never does DNS lookup:
93 * support/export/client.c (client_lookup) : add "canonical"
94 flag which says that the hostname is known to be canonical, so
97 * support/export/export.c (export_create) : add "canonical"
98 flag to be passed down to client_lookup
99 * support/export/export.c (export_lookup) : Likewise
101 * support/export/xtab.c (xtab_read) : pass appropriate
102 "canonical" flag to export_lookup and export_create:
103 set if reading list of filesystems currently exports
106 * support/export/export.c (export_read) : pass 0 as
107 "canonical" flag to export_lookup and export_create
108 * support/export/rmtab.s (rmtab_read) : Likewise
110 * support/include/exportfs.h : redeclare various routines
111 to have "canonical" flag
113 * utils/exportfs/exportfs.c (main) : redo logic for
114 "-au" to read in what is currently exported, but never even
115 look at what "should" be exported.
117 * utils/exportfs/exportfs.c (unexportall) : remove this
118 routine. Functionality is completely included in
121 * utils/exportfs/exportfs.c (exportfs) : set "canonical"
122 flag to zero in calls to export_lookup and export_create.
125 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
126 Anne Milicia <milicia@missioncriticallinux.com>
128 * support/export/client.c (client_lookup) call gethostbyadd
129 to make sure that we have a canonical hostname, even for
131 * utils/exportfs/exportfs.c (exportfs) Likewise
133 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
135 * support/nfs/exports.c (putexportent): \octal quote any spaces
137 * support/nfs/xio.c (xgettok): recognise double-quote and
138 \octal quoting in path names
139 * utils/exportfs/exports.man: document quoting conventions
142 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
144 * utils/mountd/auth.c (auth_authenticate_internal): Reverse
145 change from 2000-08-02: It causes problems if someone exports
146 to both a hostname and IP addresses. nfs-utils must be
147 consistant about the canonical name that it chooses.
149 2001-08-17 Ragnar Kjørstad <nfs@ragnark.vestdata.no>
150 H.J. Lu <hjl@lucon.org>
152 * etc/redhat/nfslock.init (STATDARG): New. Pass it to rpc.statd.
154 * utils/statd/statd.c (longopts): Add "name".
155 (usage): Add "-n/--name".
156 (main): Set MY_NAME with "-n/--name".
158 * utils/statd/state.c (change_state): Set MY_NAME only if it
161 * utils/statd/statd.man: Updated for "-n/--name".
163 2001-07-26 H.J. Lu <hjl@lucon.org>
165 * nfs-utils.spec (Release): Set to 8.
167 2001-07-25 H.J. Lu <hjl@lucon.org>
169 * etc/redhat/nfs.init: Check if rpc.rquotad exists before doing
172 2001-06-27 H.J. Lu <hjl@lucon.org>
174 * etc/redhat/nfs.init: Run rpc.rquotad only if it exists.
176 2001-06-27 H.J. Lu <hjl@lucon.org>
178 * utils/rquotad/rquota_server.c: Don't call statfs () for
179 the block size. Use BLOCK_SIZE instead.
181 2001-06-27 H.J. Lu <hjl@lucon.org>
183 * config.mk.in (CC_FOR_BUILD): Renamed from BUILD_CC.
184 (CFLAGS_FOR_BUILD): New. Don't use @CFLAGS@.
186 * configure.in (enable_nfsv3): Set to yes by default.
187 (--enable-rquotad): Added
188 (AC_PROG_CXX): Removed.
189 (AC_OUTPUT): Add utils/Makefile.
190 (CC_FOR_BUILD): Renamed from BUILD_CC.
191 * configure: Regenerated.
193 * utils/Makefile: Removed.
195 * utils/Makefile.in: New.
197 * nfs-utils.spec.in (rquotad): New. Set to 0 to disable
199 (CC_FOR_BUILD): Renamed from BUILD_CC.
200 * nfs-utils.spec: Regenerated.
202 2001-06-15 Chip Salzenberg <chip@debian.org>
204 * debian/changelog: Version 0.3.2-2.
205 * debian/*.init: Minor fixes.
207 2001-06-07 Lon H. Hohberger <hohberger@missioncriticallinux.com>
209 * etc/nodist/nfs-server: Fixed a bug where the script would
210 disable mounts from NFSv3 clients if NFSv3 is present.
212 2001-06-05 H.J. Lu <hjl@lucon.org>
214 * utils/mountd/mountd.c (longopts): Add "descriptors/o".
215 (main): Support --descriptors/-o to set the limit of the number
216 of open file descriptors.
219 * utils/mountd/mountd.man: Updated for --descriptors/-o.
221 2001-06-04 H.J. Lu <hjl@lucon.org>
223 * nfs-utils.spec (Release): Set to 6.
225 2001-05-28 H.J. Lu <hjl@lucon.org>
227 * utils/lockd/lockd.c (main): chdir to NFS_STATEDIR.
228 * utils/mountd/mountd.c (main): Likewise.
229 * utils/nfsd/nfsd.c (main): Likewise.
230 * utils/rquotad/rquota_svc.c (main): Likewise.
232 2001-05-06 Anne Milicia <milicia@missioncriticallinux.com>
234 * support/export/client.c (client_check): Check IP address
237 2001-05-06 Neil Brown <neilb@cse.unsw.edu.au>
239 * support/export/client.c (client_gettype): Treat `*' as
242 2001-04-22 H.J. Lu <hjl@lucon.org>
244 * nfs-utils.spec.in: Fix a typo.
245 * nfs-utils.spec: Regenerated.
247 2001-04-21 H.J. Lu <hjl@lucon.org>
249 * nfs-utils.spec.in: Fix cross build.
250 * nfs-utils.spec: Regenerated.
253 2001-04-18 H.J. Lu <hjl@lucon.org>
255 * nfs-utils.spec.in: Support cross build.
256 * nfs-utils.spec: Regenerated.
262 * config.mk.in (BUILD_CC): New.
263 (CC): Set to $(BUILD_CC) if BUILD is defined.
266 (RANLIB): Set to @RANLIB@.
268 * configure.in: Check BUILD_CC, RANLIB, AR and LD.
269 * configure: Regenerated.
271 * tools/rpcgen/Makefile (BUILD): Set to true.
273 2001-04-01 Chip Salzenberg <chip@valinux.com>
275 * tools/rpcgen/rpc_svcout.c (write_timeout_func): Remove
276 redundant, and sometimes broken, declaration of svc_fdset;
278 * support/nfs/rpcmisc.c (closedown): Likewise.
280 2001-03-21 H.J. Lu <hjl@lucon.org>
282 * nfs-utils.spec: Regenerated.
285 2001-03-21 Ion Badulescu <ionut@cs.columbia.edu>
287 * utils/statd/statd.c (main): make sure file descriptors 0-2
288 are open to /dev/null.
290 2001-03-21 H.J. Lu <hjl@lucon.org>
292 * support/nfs/rpcmisc.c: Restore the change made on 2001-03-10.
293 * support/nfs/rpcmisc.c: Likewise.
294 * utils/rquotad/rquota_svc.c: Likewise.
295 * utils/rquotad/rquotad.man: Likewise.
296 * utils/statd/Makefile: Likewise.
297 * utils/statd/rmtcall.c: Likewise.
298 * utils/statd/simulate.c: Likewise.
299 * utils/statd/statd.c: Likewise.
300 * utils/statd/statd.man: Likewise.
302 2001-03-11 H.J. Lu <hjl@lucon.org>
304 * configure.in (RELEASE): New. Default to 1, set by
305 --with-release=XXX. Substitute nfs-utils.spec.
306 * nfs-utils.spec.in (Release): Set to @RELEASE@.
307 * configure: Regenerated.
308 * nfs-utils.spec: Likewise.
310 2001-03-11 H.J. Lu <hjl@lucon.org>
312 * utils/rquotad/rquotad.man: Fix a typo.
314 2001-03-11 H.J. Lu <hjl@lucon.org>
316 * support/include/rpcmisc.h: Undo the change made on 2001-03-10.
317 * support/nfs/rpcmisc.c: Likewise.
318 * utils/rquotad/rquota_svc.c: Likewise.
319 * utils/rquotad/rquotad.man: Likewise.
320 * utils/statd/Makefile: Likewise.
321 * utils/statd/rmtcall.c: Likewise.
322 * utils/statd/simulate.c: Likewise.
323 * utils/statd/statd.c: Likewise.
324 * utils/statd/statd.man: Likewise.
326 2001-03-10 H.J. Lu <hjl@lucon.org>
328 * configure.in (VERSION): Set to "0.3.2".
329 * configure: Regenerated.
330 * nfs-utils.spec: Likewise.
332 * README: Updated for 0.3.2.
334 2001-03-10 Tavis Barr <tavis@boole.isetr.columbia.edu>
336 * utils/rquotad/rquotad.man: Updated for -p.
337 * utils/statd/statd.man: Likewise.
339 2001-03-10 Ion Badulescu <ionut@cs.columbia.edu>
341 * support/nfs/rpcmisc.c: export makesock()
343 * support/include/rpcmisc.h (makesock): Declared.
345 * utils/rquotad/rquota_svc.c: added longopts, added support for
346 specifying the port to bind to on the command line.
348 * utils/statd/statd.c: ditto, also specify port used for
349 outgoing connections.
350 (do_regist): Removed.
352 * utils/statd/rmtcall.c (statd_get_socket): Renamed from
353 get_socket. Make it extern.
355 * utils/statd/simulate.c (daemon_simulator): Call rpc_init
356 instead of do_regist.
358 * utils/statd/Makefile (LIBS): link with our own libnfs
360 2001-03-09 H.J. Lu <hjl@lucon.org>
362 * etc/redhat/nfslock.init: Changed chkconfig line to 60 86.
363 * etc/nodist/nfs-client: Likewise.
365 2001-02-26 Chip Salzenberg <chip@valinux.com>
367 * debian/changelog: Version 0.3.1-1.
368 * Mention upstream source and license in copyright file.
369 * Add build-Depends for debhelper and libwrap0-dev.
371 2001-02-20 Lon Hohberger <hohberger@missioncriticallinux.com>
373 * etc/nodist/nfs-server: Changed chkconfig line to 60 20
374 * etc/nodist/nfs-client: Likewise.
376 2001-02-18 Lon Hohberger <hohberger@missioncriticallinux.com>
378 * utils/statd/statd.man: Changed /usr/sbin/rpc.statd to
381 2001-02-17 Patrick J. LoPresti <patl@curl.com>
383 * utils/statd/log.c (log_init): Use LOG_DAEMON instead of
386 2001-02-14 H.J. Lu <hjl@lucon.org>
388 * utils/statd/rmtcall.c: Include <time.h>.
389 * utils/statd/svc_run.c: Likewise.
391 2001-02-14 H.J. Lu <hjl@lucon.org>
393 * configure.in (VERSION): Set to "0.3.1".
394 * configure: Regenerated.
395 * nfs-utils.spec: Likewise.
397 * README: Updated for 0.3.1.
399 2001-02-14 H.J. Lu <hjl@lucon.org>
401 * support/nfs/rpcmisc.c: Include <time.h>.
403 2001-02-14 Chip Salzenberg <chip@valinux.com>
405 * debian/control: Change priority of nhfsstone package to 'extra'.
407 2001-02-12 Chip Salzenberg <chip@valinux.com>
409 * debian/changelog: Version 0.3-2.
411 2001-02-02 H.J. Lu <hjl@lucon.org>
413 * support/include/rpcmisc.h (rpc_init): Remove bufsize.
415 * support/nfs/rpcmisc.c (makesock): Remove socksz and comment
416 out SO_SNDBUF/SO_RCVBUF.
417 (rpc_init): Remove bufsize and remove socksz in calls to
420 * utils/mountd/mountd.c (main): Remove bufsize in calls to
423 2001-01-28 Chip Salzenberg <chip@valinux.com>
425 * debian/changelog: Version 0.3-1.
427 2001-01-25 H.J. Lu <hjl@lucon.org>
429 * configure.in (VERSION): Set to "0.3".
430 * configure: Regenerated.
431 * nfs-utils.spec: Likewise.
433 * README: Updated for 0.3.
435 2001-01-25 H.J. Lu <hjl@lucon.org>
437 * utils/lockd/lockd.c (main): Ignore errno == EINVAL.
439 2001-01-20 Chip Salzenberg <chip@valinux.com>
441 * support/include/xio.h (xgetc): Declare to return int.
442 * support/nfs/xio.c (xgetc): Return int.
443 (xgettok, xskip, xskipcomment): Use int for value of xgetc.
444 * utils/statd/statd.c (main): Use int for value of getopt.
445 * debian/changelog: Version 0.2.1-5.
447 2000-12-10 Chip Salzenberg <chip@valinux.com>
449 * utils/statd/monitor.c (sm_mon_1_svc): Fix buggy check for
450 program and procedure numbers of kernel lockd's callback. Also,
451 besides the old (and broken) procedure #24, allow #16 per Trond.
453 2000-12-03 Chip Salzenberg <chip@valinux.com>
455 * support/nfs/xio.c (xfopen): Initialize x_line to one, not zero.
456 * debian/control: Let nhfsstone replace files in nfs-kernel-server.
457 * debian/changelog: Version 0.2.1-4.
459 2000-11-27 Tobias Ringstrom <tori@tellus.mine.nu>
461 * utils/mountd/auth.c (auth_authenticate): Log the bad path
464 2000-11-24 Neil Brown <neilb@cse.unsw.edu.au>
466 * support/nfs/exports.c (getexportent): Check for host name
467 without option, or options without hostname, and print a warning,
468 as this is most likely a typo.
470 2000-11-19 Chip Salzenberg <chip@valinux.com>
472 * debian/control: Add dependency on portmap.
473 * debian/changelog: Version 0.2.1-3.
475 2000-11-10 H.J. Lu <hjl@lucon.org>
477 * nfs-utils.spec.in: Don't use libtool.
478 Add ChangeLog and COPYING to doc.
479 * nfs-utils.spec: Rebuild.
481 2000-11-09 H.J. Lu <hjl@lucon.org>
483 * etc/redhat/nfs.init (start): Back out the last change.
485 2000-11-09 H.J. Lu <hjl@lucon.org>
487 * etc/redhat/nfs.init (start): Pass --no-tcp to mountd if
488 TCP is not supported by kernel.
490 * support/nfs/rpcmisc.c (rpc_init): Don't set _rpcfdtype to 0.
492 * utils/mountd/mountd.c (longopts): Add "-n/--no-tcp".
493 (main): Set to _rpcfdtype to SOCK_DGRAM for "-n/--no-tcp".
495 * utils/mountd/mountd.man: Updated for "-n/--no-tcp".
497 2000-10-24 Lon Hohberger <hohberger@missioncriticallinux.com>
499 * utils/statd/callback.c: Fix bug preventing callbacks to local lockd.
500 * utils/statd/rmtcall.c: Add some IP address paranoia when doing
501 callbacks to local lockd.
503 2000-10-18 Scott McDermott <mcdermot@questra.com>
505 * utils/exportfs/exports.man: Updated for CIDR netmask.
507 2000-10-17 Scott McDermott <mcdermot@questra.com>
509 * support/export/client.c (client_init): Support CIDR netmask
512 2000-10-11 H.J. Lu <hjl@lucon.org>
514 * aclocal.m4 (AC_TCP_WRAPPER): Fix a typo.
515 * configure: Rebuilt.
517 2000-10-06 Lon Hohberger <hohberger@missioncriticallinux.com>
519 * utils/statd/statd.man: Change "/var/lib/nfs/sm/state" to
520 "/var/lib/nfs/state".
522 2000-10-05 Lon Hohberger <hohberger@missioncriticallinux.com>
524 * utils/statd/statd.h (run_mode): New global bitmask of runtime
525 behaviors: fg/bg, logging, etc.
526 * utils/statd/statd.c: New command line options: -V -h -? -d .
527 * utils/statd/statd.man: Update for changes to statd.
529 * utils/statd/log.h (log_init): Remove parameter of function; use
530 global variable "name_p" instead.
531 * utils/statd/log.c: Add support for logging to stderr.
533 * utils/statd/notlist.c: Partially rewrite notify list handling
534 functions. Eliminate run-off-end-of-list bug when calling
535 nlist_insert_timer. Add lots of comments.
537 2000-09-27 H.J. Lu <hjl@lucon.org>
539 * README: Updated for RedHat 7.0.
541 2000-09-27 H.J. Lu <hjl@lucon.org>
543 * nfs-utils.spec: Rebuild.
545 2000-09-27 H.J. Lu <hjl@lucon.org>
547 * README: Updated for 0.2.1.
549 2000-09-27 H.J. Lu <hjl@lucon.org>
551 * nfs-utils.spec.in: Updated to use rpm macros and support
554 2000-09-25 H.J. Lu <hjl@lucon.org>
556 * configure.in (VERSION): Set to "0.2.1".
557 * configure: Regenerated.
558 * nfs-utils.spec: Updated.
560 2000-09-25 H.J. Lu <hjl@lucon.org>
562 * utils/mountd/auth.c (auth_authenticate_internal): Make sure a
563 non-NULL hostent is always returned.
565 2000-09-11 Ion Badulescu <ionut@cs.columbia.edu>
567 * etc/redhat/nfslock.init: don't kill lockd processes that do not
568 have an executable (i.e. kernel threads)
570 2000-09-01 H.J. Lu <hjl@lucon.org>
572 * README: Updated for 0.2.
574 2000-09-01 Jay Weber <jweber@valinux.com>
576 * etc/redhat/nfs.init: Added ability for rpc.mountd to default to
577 supporting version 3 of nfs if available, else it will fall back to
578 version 2 support only.
580 2000-08-30 H.J. Lu <hjl@lucon.org>
582 * configure.in (VERSION): Set to "0.2".
583 * configure: Regenerated.
584 * nfs-utils.spec: Updated.
586 2000-08-25 H.J. Lu <hjl@lucon.org>
588 * support/misc/tcpwrapper.c (logit): Modify the log output.
590 2000-08-25 Ion Badulescu <ionut@cs.columbia.edu>
592 * utils/rquotad/rquotad.man, utils/statd/statd.man,
593 utils/mountd/mountd.man: updated
595 * utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL)
596 * utils/rquotad/Makefile: fix comment
598 * support/misc/tcpwrapper.c (logit): added comment about waiting
599 for the children after fork()
601 * utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving
602 zombies behind (from logit()'s fork)
603 * utils/rquotad/rquota_svc.c (main): ditto
604 * utils/statd/statd.c (main): ditto
606 * utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG
607 to check_default instead of 0, for prognum
609 * utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG
610 to check_default instead of 0, for prognum
612 * utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if
613 HAVE_TCP_WRAPPER is defined.
614 (mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is
615 defined. Reject an RPC call if check_default () fails.
617 2000-08-25 H.J. Lu <hjl@lucon.org>
619 * support/include/tcpwrapper.h: New for the tcp wrapper
621 * support/misc/Makefile: Likewise.
622 * support/misc/from_local.c: Likewise.
623 * support/misc/tcpwrapper.c: Likewise.
625 * aclocal.m4 (AC_TCP_WRAPPER): New.
626 * configure.in: Use it. Substitute LIBWRAP.
627 * configure: Rebuilt.
629 * config.mk.in (LIBNSL): New.
632 * support/Makefile (SUBDIRS): Add misc.
634 * support/lib/Makefile (LIBS): Add libmisc.a.
636 * utils/rquotad/Makefile (LIBS): Add
638 -lmisc $(LIBWRAP) $(LIBNSL)
640 * utils/statd/Makefile (LIBS): Likewise.
642 * utils/rquotad/rquota_svc.c: Include "tcpwrapper.h" if
643 HAVE_TCP_WRAPPER is defined.
644 (rquotaprog_1): Call check_default () if HAVE_TCP_WRAPPER is
645 defined. Reject an RPC call if check_default () fails.
647 * utils/statd/statd.c: Include "tcpwrapper.h" if
648 HAVE_TCP_WRAPPER is defined.
649 (sm_prog_1_wrapper): New. A wrapper for sm_prog_1. Call
650 check_default () before calling sm_prog_1 (). Define it as
651 sm_prog_1_wrapper if HAVE_TCP_WRAPPER is defined.
653 2000-08-25 Chip Salzenberg <chip@valinux.com>
655 * debian/*: Complete Debian build support.
656 * etc/debian/*: Remove.
658 2000-08-24 Neil Brown <neilb@cse.unsw.edu.au>
660 * support/export/client.c(client_check): removed the "dot+1" as a
661 ypdomain argument to innetgr as this is entirely bogus.
662 It should always be NULL.
664 2000-08-23 Neil Brown <neilb@cse.unsw.edu.au>
666 * support/export/xtab.c(xtab_read): introduce new mode for
667 reading xtab. i.e. a list of exports that might be known to the
668 kernel, or might not. These are flagged as m_exported == -1
669 * support/export/xtab.c(xtab_mount_read): call xtab_read with new
670 value "2" for xtab, meaning don't trust this too much.
671 * support/include/exportfs.h(struct mexport): changed m_exported
672 from one bit to an int so that it can hold new value
673 * utils/exportfs/exportfs.c(exportfs_ipdate): add an export to the
674 kernel if it is uncertain whether the kernel knows (m_exported == -1)
675 * utils/mountd/mountd.c(get_rootfh): similarly export to kernel if
678 * support/nfs/xio.c(xflock): added O_CREAT when getting
679 a write lock so that missing files aren't fatal.
681 * etc/debian/nfs-common: new file from "potato"
682 * etc/debian/nfs-kernel-server: new file from "potato" plus fixes.
684 2000-08-09 H.J. Lu <hjl@lucon.org>
686 * etc/redhat/nfs.init: Run /usr/sbin/exportfs first during
687 startup to ensure all existing clients work fine.
689 * support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0
690 to xtab_read () for reading _PATH_XTAB.
692 2000-08-02 H.J. Lu <hjl@lucon.org>
694 * utils/mountd/auth.c (auth_authenticate_internal): Try to
695 avoid the reverse name lookup.
697 2000-07-04 H.J. Lu <hjl@lucon.org>
699 * utils/statd/log.c: Include <stdlib.h> for exit ().
701 * utils/statd/misc.c (xunlink): Add `{' and `}' to quiet the
704 2000-07-04 H.J. Lu <hjl@lucon.org>
706 * configure.in (VERSION): Set to "0.1.9.1".
707 * configure: Regenerated.
708 * nfs-utils.spec: Updated.
712 2000-07-04 Neil Brown <neilb@cse.unsw.edu.au>
714 * support/export/hostname.c (hostent_dup): Handle the NULL
717 2000-07-03 H.J. Lu <hjl@lucon.org>
719 * README: Update the util-linux requirement.
721 2000-07-03 H.J. Lu <hjl@lucon.org>
723 * configure.in (VERSION): Set to "0.1.9".
724 * configure: Regenerated.
725 * nfs-utils.spec: Updated.
729 2000-07-03 H.J. Lu <hjl@lucon.org>
731 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
732 stop to ensure all clients can still access the server
733 before it is shutdown.
735 2000-06-30 Jeff Uphoff <juphoff@transmeta.com>
737 * tools/rpcgen/rpc_svcout.c (write_msg_out): Generate syslog()
738 calls with format string.
740 2000-06-28 Chip Salzenberg <chip@valinux.com>
742 * utils/statd/log.c (log): Call syslog with format string.
744 2000-06-27 H.J. Lu <hjl@lucon.org>
746 * utils/statd/statd.c (main): Use sysconf (_SC_OPEN_MAX)
749 2000-06-27 H.J. Lu <hjl@lucon.org>
753 2000-06-27 H.J. Lu <hjl@lucon.org>
755 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
756 startup to ensure all existing clients are exported.
758 * configure.in (VERSION): Set to "0.1.8.2".
759 * configure: Regenerated.
760 * nfs-utils.spec: Updated.
762 2000-06-06 H.J. Lu <hjl@lucon.org>
764 * configure.in (VERSION): Set to "0.1.8.1".
765 * configure: Regenerated.
766 * nfs-utils.spec: Updated.
768 2000-06-06 H.J. Lu <hjl@lucon.org>
770 * utils/mountd/mountd.c (mount_dump_1_svc): Cast svc_getcaller
771 to "struct sockaddr_in *" for glibc 2.2.
772 (mount_umnt_1_svc): Likewise.
773 (mount_umntall_1_svc): Likewise.
774 (mount_export_1_svc): Likewise.
775 (mount_exportall_1_svc): Likewise.
776 (mount_pathconf_2_svc): Likewise.
777 (get_rootfh): Likewise.
779 2000-06-04 H.J. Lu <hjl@lucon.org>
781 * etc/redhat/nfs.init: Fix a typo in comment.
783 2000-05-31 H.J. Lu <hjl@lucon.org>
785 * configure.in (VERSION): Set to "0.1.8".
786 * configure: Regenerated.
787 * nfs-utils.spec: Updated.
791 2000-05-31 H.J. Lu <hjl@lucon.org>
793 * configure.in (VERSION): Set to "0.1.7.5".
794 * configure: Regenerated.
795 * nfs-utils.spec: Updated.
797 * support/include/nfslib.h (exportent): Add a new field,
798 r_count, to count the number of mounts from a client.
799 (getrmtabent): Take a new argument for position in file.
800 (putrmtabent): Likewise.
801 (fgetrmtabent): Likewise.
802 (fputrmtabent): Likewise.
803 * support/nfs/rmtab.c (getrmtabent): Handle the new argument
804 for position in file.
805 (fgetrmtabent): Likewise.
806 (putrmtabent): Likewise.
807 (fputrmtabent): Likewise.
809 * support/nfs/rmtab.c (fgetrmtabent): Get value for the new
812 * support/export/rmtab.c (rmtab_read): Pass NULL as the new
813 argument to getrmtabent (), fgetrmtabent (), putrmtabent ()
815 * utils/mountd/rmtab.c (mountlist_add): Likewise.
816 (mountlist_del): Likewise.
817 (mountlist_del_all): Likewise.
818 (mountlist_list): Likewise.
820 * utils/mountd/rmtab.c (mountlist_add): Increment "r_count"
821 for the existing entry and initialize "r_count" to 1.
822 (mountlist_del): Decrement "r_count".
824 2000-05-18 H.J. Lu <hjl@lucon.org>
826 * configure.in (VERSION): Set to "0.1.7.4".
827 * configure: Regenerated.
828 * nfs-utils.spec: Updated.
830 2000-05-18 H.J. Lu <hjl@lucon.org>
832 * etc/redhat/nfs.init (restart): Just do stop and start.
834 2000-05-09 Jay Weber <jweber@valinux.com>
836 * utils/rquotad/hasquota.c: added support for ext3 recognition
838 * utils/rquotad/mntent.h: Likewise.
840 2000-05-01 H.J. Lu <hjl@lucon.org>
842 * configure.in (VERSION): Set to "0.1.7.3".
843 * configure: Regenerated.
844 * nfs-utils.spec: Updated.
846 2000-05-01 H.J. Lu <hjl@lucon.org>
848 * utils/rquotad/rquota_server.c (getquotainfo): Skip bad
849 mounting poins in /etc/fstab.
851 2000-05-01 H.J. Lu <hjl@lucon.org>
853 * configure.in (VERSION): Set to "0.1.7.2".
854 * configure: Regenerated.
855 * nfs-utils.spec: Updated.
857 2000-05-01 H.J. Lu <hjl@lucon.org>
859 * utils/rquotad/rquota_server.c (getquotainfo): Call stat ()
860 to check for the mounting point.
862 2000-04-29 Chip Salzenberg <chip@valinux.com>
863 Neil Brown <neilb@cse.unsw.edu.au>
865 * Really re-use RPC ports.
866 (Fixes earlier patch. Sorry, Neil.)
868 2000-04-26 H.J. Lu <hjl@lucon.org>
870 * configure.in (VERSION): Set to "0.1.7.1".
871 * configure: Regenerated.
872 * nfs-utils.spec: Updated.
874 2000-04-26 H.J. Lu <hjl@lucon.org>
876 * etc/redhat/nfslock.init: Check if lockd exits before killing
879 2000-04-25 H.J. Lu <hjl@lucon.org>
881 * README: Require util-linux-2.10f-mount-rpc.patch for mount.
883 2000-03-21 Michael Weiser <michael@weiser.saale-net.de>
885 * support/nfs/exports.c (parsesquash): Correctly set the
888 Tue Mar 21 11:38:48 EST 2000 NeilBrown <neilb@cse.unsw.edu.au>
890 * support/include/nfs/nfs.h: Removed knowledge of internals of
891 kernel filehandles (which can change) and defined nfs_fh_size
892 which has variable size
894 * support/nfs/getfh.c: defined getfh_size to use new syscall to
895 get variable sized file handles, and change getfh{,old} to
898 * utils/mountd/mountd.c: use nfd_fh_size and call getfh_size for
901 * tools/Makefile, tools/nlmtest/nlmtest.c
902 nlmtest.c depended on internel format of file handles, so now
906 2000-03-12 Chip Salzenberg <chip@valinux.com>
907 Neil Brown <neilb@cse.unsw.edu.au>
909 * support/nfs/rpcmisc.c (rpc_init): Share transports.
911 2000-03-13 H.J. Lu <hjl@lucon.org>
913 * etc/redhat/nfsd.init: Updated.
915 * etc/redhat/nfslock.init: Updated.
917 * nfs-utils.spec.in: Updated.
919 * configure.in (VERSION): Set to "0.1.7".
920 * configure: Regenerated.
921 * nfs-utils.spec: Updated.
925 Wed Mar 8 09:42:43 2000 Neil Brown <neilb@cse.unsw.edu.au>
927 * utils/exportfs/exportfs.c (dump): Included printing of
928 nohide, no_subtree_check, and insecure_locks
930 2000-02-26 Chip Salzenberg <chip@valinux.com>
932 * config.mk.in (INSTALLSUID): Strip ("-s").
933 (INSTALLSCRIPT): Define.
934 * utils/nhfsstone/Makefile: Use it.
936 2000-02-26 Chip Salzenberg <chip@valinux.com>
938 * utils/lockd/lockd.man: Create.
939 * utils/lockd/Makefile: Install it.
940 * utils/nhfsstone/nhfs{run,nums,graph}.man: Create.
941 * utils/nhfsstone/nhfsstone.man: Change suffix from ".1".
942 * utils/nhfsstone/Makefile: Install the helper scripts and
944 * utils/exportfs/exports.man: Fix typo.
946 2000-02-26 Chip Salzenberg <chip@valinux.com>
948 * support/nfs/xio.c (xungetc): Decrement line number when
949 character to unget is newline. Make first parameter int, so
950 it can distinguish EOF from \377.
951 * support/include/xio.h (xungetc): Adjust prototype.
953 Fri Feb 4 23:42:23 2000 Neil Brown <neilb@cse.unsw.edu.au>
955 * support/include/nfs/export.h: added NFSEXP_NOAUTHNLM
956 * support/nfs/exports.c: added handling for NFSEXP_NOAUTHNLM
957 * utils/exportfs/exports.man: added documentation for no_auth_nlm.
959 This is for supporting a new option introduced in 2.3.42
961 Thu Feb 3 14:55:48 2000 H.J. Lu <hjl@lucon.org>
963 * COPYING: Added. GPL.
965 Thu Feb 03 14:40:40 2000 Cristian Gafton <gafton@redhat.com>
967 * utils/rquotad/rquota_server.c (getquotainfo): Call statfs ()
968 to get the block size.
970 Tue Jan 25 11:04:17 2000 H.J. Lu <hjl@lucon.org>
972 * nfs-utils.spec.in: Update ftp site.
974 Mon Jan 17 11:48:18 2000 H.J. Lu <hjl@lucon.org>
976 * README: Update hostnames.
978 Tue Jan 11 10:06:22 2000 H.J. Lu <hjl@lucon.org>
980 * configure.in (VERSION): Set to "0.1.6".
981 * configure: Regenerated.
982 * nfs-utils.spec: Updated.
986 Mon Jan 10 14:26:33 2000 H.J. Lu <hjl@lucon.org>
988 * utils/mountd/auth.c (auth_authenticate_internal): Call
989 xstrdup for hostname before passing it to gethostbyname.
991 * utils/mountd/mountd.c (get_exportlist): Use xstrdup instead
994 Sun Dec 19 09:35:01 1999 H.J. Lu <hjl@lucon.org>
996 * README: Update the mailing list address.
998 Sun Dec 19 09:22:28 1999 H.J. Lu <hjl@lucon.org>
1000 * configure.in (VERSION): Set to "0.1.5".
1001 * configure: Regenerated.
1002 * nfs-utils.spec: Updated.
1006 Mon Dec 13 13:40:20 1999 H.J. Lu <hjl@lucon.org>
1008 * utils/rquotad/hasquota.c (hasquota): Malloc one more char
1011 Mon Dec 6 09:42:45 1999 H.J. Lu <hjl@lucon.org>
1013 * configure.in (VERSION): Set to "0.1.4".
1014 * configure: Regenerated.
1015 * nfs-utils.spec: Updated.
1019 Mon Dec 6 09:28:07 1999 H.J. Lu <hjl@lucon.org>
1021 * nfs-utils.spec.in: New file.
1023 * config.mk.in (VERSION): Changed to "nfs-utils @VERSION@".
1025 * configure.in (nfs-utils.spec): Added to AC_OUTPUT.
1027 1999-12-04 Chip Salzenberg <chip@valinux.com>
1029 * config.mk.in: Use $(CC) as set by configure.
1031 1999-12-04 Chip Salzenberg <chip@valinux.com>
1033 * rules.mk: Call $(MAKE) with $(MFLAGS).
1035 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1037 * tools/rpcgen/rpc_main.c (h_output): Generate IXDR_GET_INT32,
1038 IXDR_PUT_INT32, IXDR_GET_U_INT32 and IXDR_PUT_U_INT32.
1040 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1042 * nfs-utils.spec (Version): Set to 0.1.3.
1044 * configure.in (VERSION): Set to "nfs-utils 0.1.3".
1045 * configure: Regenerated.
1049 Mon Nov 29 11:15:47 1999 H.J. Lu <hjl@lucon.org>
1051 * utils/rquotad/rquota_server.c (nfsmount_to_devname): Removed.
1052 (_PATH_DEV_DSK): Likewise.
1053 (getquotainfo): Match the mounting point from /etc/mtab
1054 instead of calling nfsmount_to_devname ().
1056 1999-11-24 Chip Salzenberg <chip@valinux.com>
1058 * utils/statd/monitor.c (sm_mon_1_svc): Accept lockd callbacks
1059 to the new port 24 as well as the historical port 100021.
1061 Tue Nov 23 10:21:34 1999 Neil Brown <neilb@cse.unsw.edu.au>
1063 * etc/redhat/nfsd.init (stop): moved exportfs -ua after
1064 stopping nfsd to stop spurious ESTALE on server shutdown.
1066 Tue Nov 23 10:13:39 1999 Neil Brown <neilb@cse.unsw.edu.au>
1068 * support/nfs/exports.c (parseopts): make copy of opt string
1069 before 'nul'ing out commas so that
1071 # exportfs -o option1,option2 hosta:/fs hostb:/fs
1073 applies both options to both exports.
1075 Thu Oct 28 12:55:42 1999 H.J. Lu <hjl@lucon.org>
1077 * README: Fix a few typos.
1079 * tools/rpcgen/rpc_cout.c (print_header): Use int32_t instead
1081 * tools/rpcgen/rpc_hout.c (pdefine): Likewise.
1082 * tools/rpcgen/rpc_main.c (c_initialize): Likewise.
1083 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1084 (unsigned_dec): Likewise.
1085 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1086 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1088 * tools/rpcgen/rpc_cout.c (emit_single_in_line): Use INT32
1090 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1091 (unsigned_dec): Likewise.
1092 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1093 * tools/rpcgen/rpc_scan.h (tok_kind): Likewise.
1094 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1096 Thu Oct 28 11:27:51 1999 Neil Brown <neilb@cse.unsw.edu.au>
1098 * support/include/nfs/export.h addedd NFSEXP_NOSUBTREECHECK
1099 * support/nfs/exports.c: added {no_,}subtree_check and changed
1101 * utils/exportfs/exports.man: added no_subtree_check and nohide
1102 and removed irrelevant stuff from unfsd.
1103 * support/export/rmtab.c: rmtab_read didn't quite do the right
1104 thing if a pathname from rmtab was a subdirectory of an export-point
1106 Tue Oct 26 17:22:40 1999 H.J. Lu <hjl@lucon.org>
1108 * README: Updated ftp site.
1110 Mon Oct 25 18:12:45 1999 H.J. Lu <hjl@lucon.org>
1112 * nfs-utils.spec (Version): Set to 0.1.2.
1114 * configure.in (VERSION): Set to "nfs-utils 0.1.2".
1115 * configure: Regenerated.
1119 Mon Oct 25 18:11:21 1999 H.J. Lu <hjl@lucon.org>
1121 * utils/mountd/auth.c (auth_error): Add "no_forward_dns".
1122 (auth_authenticate_internal): Check for NULL return on forward
1124 (auth_authenticate): Handle "no_forward_dns".
1126 Thu Oct 21 16:22:06 1999 H.J. Lu <hjl@lucon.org>
1128 * Version 0.1.1 released.
1130 * nfs-utils.spec (Version): Set to 0.1.1.
1132 * configure.in (VERSION): Set to "nfs-utils 0.1.1".
1133 * configure: Regenerated.
1137 Mon Oct 18 17:43:29 1999 H.J. Lu <hjl@lucon.org>
1139 * nfs-utils.spec (Obsoletes): Fixed a typo, change knfsd-client
1141 (Provides): Likewise.
1143 Mon Oct 18 14:56:22 1999 H.J. Lu <hjl@lucon.org>
1145 * Initial version 0.1 released.
1147 * configure.in (VERSION): Set to "nfs-utils 0.1".
1148 * configure: Regenerated.
1150 Mon Oct 18 14:54:57 1999 H.J. Lu <hjl@lucon.org>
1152 * utils/mountd/mountd.c (get_exportlist): Cleanup.
1154 * utils/exportfs/exportfs.c (unexport_all): Unexport from
1155 kernel only if the entry is exported to kernel.
1156 (unexportfs): Likewise.
1158 Wed Sep 08 16:49:32 1999 Neil Brown <neilb@cse.unsw.edu.au>
1160 1/ utils/mountd/rmtab.c::mountlist_list
1162 This routine stats the rmtab file to see if it has changed. It
1163 if has, it cleans up it's old copy of the data. But it still
1164 always re-read the file, thus returning multiple copies of the
1165 data on consecutive calls without intervening changes.
1166 "Showmount -a" didn't show this as it appears to sort/unique the
1167 data, but 'strace showmount -a' showed that the size of the
1168 datagram that it received grew.
1170 I moved the getrmtabent loop inside the mtime test.
1172 2/ utils/exportfs/exportfs.c
1174 Many routines used the m_path field of m_export instead of
1176 According to the comment in nfslib.h, m_path should only
1177 be used when processing a mount request (i.e. in mountd)
1178 where the mountpoint may be a subdirectory of the export point.
1180 I changed all occurances of m_path to e_path
1183 3/ utils/exportfs/exportfs.c:main
1185 extra arguments are not meaningful with -a or -r, but
1186 exportfs accepted them and then ignored the -a/-r, expect that
1187 -r would still unexport everything first.
1189 I generate an error if there are extra args and f_all
1191 4/ utils/exportfs/exportfs.c:main
1192 extract dump out as a special case.
1194 5/ utils/exportfs/exportfs.c
1195 made f_reexport a local variable.
1198 6/ utils/exportfs/exportfs.c:main,exportall
1200 support/export/rmtab.c
1201 only mayexport on newly created entries, don't set xtabent at all
1203 7/ support/include/nfslib.h
1205 add #define _PATH_PROC_EXPORTS to be /proc/fs/nds/exports
1207 8/ support/export/xtab.c
1209 xtab_mount_read loads data from _PATH_PROC_EXPORTS if it exists,
1213 9/ support/export/xtab.c
1215 xtab_mount_read now sets m_exported, and NOT
1216 xtabent and mayexport
1218 removed the append arguement from xtab_write as it was
1221 added is_export flag to xtab_write similar to xtab_read
1222 if is_export, only write entries with m_xtabent or m_addxtab
1223 if !is_export, only write entries with m_exported
1225 10/ support/export/export.c::export_allowed_internal
1227 added test for exp->m_mayexport, as the export tree
1228 may have entries that are no longer allowed to be exported,
1229 and so shouldn't caused deduced exported by rmtab_read
1231 11/ utils/exportfs/exportfs.c::main
1232 error checking of flags.
1234 12/ utils/exportfs/exportfs.c
1236 total rewrite of export and unexport logic.
1238 - build an exportslist of valid exports, based on
1239 current etab file and arguments,
1240 - read rmtab to instantiate relevant wild card entries
1241 - read etab to find out what is currently exported
1242 - synchronise intention with reality
1243 - write out etab and xtab
1246 discard the m_addxtab flag
1247 add m_changed flag so we know what to report in exportfs
1249 14/ utils/mountd/auth.c:auth_authenticate
1251 the value returned by gethostbyaddr was trusted.
1253 It now follows this with a call to gethostbyname
1254 and checks that the address is in the list.
1256 15/ support/export/nfsctl.c::cltsetup,expsetup
1258 force client names to lowercase as kernel is
1261 16/ quietened a few compiler warnings
1263 17/ support/export/client:client_lookup
1265 look for pre-existing client with same name before creating
1268 18/ support/include/exportfs.h
1270 The ordering of the MCL_* enum was:
1271 ANONYMOUS, FQDN, SUBNETWORK, WILDCARD, NETGROUP
1273 I moved ANONYMOUS to the end.
1275 The ordering is significant when an export entry is being searched for to
1276 match a given address. There are two problems with ANONYMOUS being first.
1278 1/ if a directory is exported rw to a couple of hosts and ro to everyone else,
1279 then the ro case will always be found first and the privileged hosts won't get
1281 2/ When mountd gets a request to mount an ANONYMOUSly exported tree, it creates a FQDN
1282 export entry for the specific host, and writes it to xtab.
1283 When another request comes from the same host, the ANONYMOUS entry is found again,
1284 before the new FQDN entry, so it creates another FQDN entry and writes it to xtab
1285 again. If causes bloat in xtab.
1287 Putting ANONYMOUS at the end reflects it's nature as a catch-all
1289 19/ utils/exportfs/exportfs.man
1290 many updates to the man page to reflect changes to the code
1292 -----------------------
1298 - allow exportfs to modify rmtab file
1299 - make sure kernel never gets two clients with same IP address
1300 - possible kernel should reject
1301 - needs to be some way to lookup client in kernel by IP address
1302 - maybe get kernel to do case-insensitive comparisons on client names
1303 - remove unused clients from kernel
1305 - change etab to xtab and xtab to xtab.active
1307 - timestamp and/or statd-stamp in rmtab for removing old entries.
1309 Mon Oct 18 11:48:07 1999 H.J. Lu <hjl@lucon.org>
1311 * linux-nfs: New directory.
1312 * linux-nfs/ChangeLog: Moved from ..
1313 * linux-nfs/INSTALL: Likewise.
1314 * linux-nfs/KNOWNBUGS: Likewise.
1315 * linux-nfs/NEW: Likewise.
1316 * linux-nfs/README: Likewise.
1317 * linux-nfs/THANKS: Likewise.
1318 * linux-nfs/TODO: Likewise.
1320 * Starting from knfsd 1.4.7.