1 2001-11-21 Chip Salzenberg <chip@pobox.com>
3 * support/nfs/clients.c (cfname): Added: current clients file name.
4 (setnfsclntent): Set it.
5 ({get,end}nfsclntent, syntaxerr): Use it.
6 * support/nfs/exports.c (efname): Added: current exports file name.
7 (setnfsexportent): Set it.
8 (endnfsexportent, parseopts, getexport, syntaxerr): Use it.
9 (parseopts): Accept old-style "crossmnt" option, for old xtabs.
11 2001-10-11 Chip Salzenberg <chip@pobox.com>
13 * utils/mountd/mountd.c (main): Close fds > 2 _before_ RPC init.
14 * debian/changelog: Version 0.3.3-2.
16 2001-10-08 Chip Salzenberg <chip@pobox.com>
18 * utils/mountd/mountd.c (main): When daemonizing, close all fds > 2.
19 * utils/Makefile.in: Remove old Makefile in target 'distclean'.
20 * utils/mountd/mountd.man: Update paths to /var/lib.
21 * debian/*: Version 0.3.3-1, with Debian-specific fixes.
23 2001-10-06 Preston Brown <pbrown@redhat.com>
25 * utils/nfsstat/nfsstat.man: Updated.
27 2001-09-24 H.J. Lu <hjl@lucon.org>
29 * configure.in (VERSION): Set to "0.3.3".
30 * configure: Regenerated.
31 * nfs-utils.spec: Likewise.
33 * README: Updated for 0.3.3.
35 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
37 Arrange that "exportfs -au" never does DNS lookup:
39 * support/export/client.c (client_lookup) : add "canonical"
40 flag which says that the hostname is known to be canonical, so
43 * support/export/export.c (export_create) : add "canonical"
44 flag to be passed down to client_lookup
45 * support/export/export.c (export_lookup) : Likewise
47 * support/export/xtab.c (xtab_read) : pass appropriate
48 "canonical" flag to export_lookup and export_create:
49 set if reading list of filesystems currently exports
52 * support/export/export.c (export_read) : pass 0 as
53 "canonical" flag to export_lookup and export_create
54 * support/export/rmtab.s (rmtab_read) : Likewise
56 * support/include/exportfs.h : redeclare various routines
57 to have "canonical" flag
59 * utils/exportfs/exportfs.c (main) : redo logic for
60 "-au" to read in what is currently exported, but never even
61 look at what "should" be exported.
63 * utils/exportfs/exportfs.c (unexportall) : remove this
64 routine. Functionality is completely included in
67 * utils/exportfs/exportfs.c (exportfs) : set "canonical"
68 flag to zero in calls to export_lookup and export_create.
71 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
72 Anne Milicia <milicia@missioncriticallinux.com>
74 * support/export/client.c (client_lookup) call gethostbyadd
75 to make sure that we have a canonical hostname, even for
77 * utils/exportfs/exportfs.c (exportfs) Likewise
79 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
81 * support/nfs/exports.c (putexportent): \octal quote any spaces
83 * support/nfs/xio.c (xgettok): recognise double-quote and
84 \octal quoting in path names
85 * utils/exportfs/exports.man: document quoting conventions
88 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
90 * utils/mountd/auth.c (auth_authenticate_internal): Reverse
91 change from 2000-08-02: It causes problems if someone exports
92 to both a hostname and IP addresses. nfs-utils must be
93 consistant about the canonical name that it chooses.
95 2001-08-17 Ragnar Kjørstad <nfs@ragnark.vestdata.no>
96 H.J. Lu <hjl@lucon.org>
98 * etc/redhat/nfslock.init (STATDARG): New. Pass it to rpc.statd.
100 * utils/statd/statd.c (longopts): Add "name".
101 (usage): Add "-n/--name".
102 (main): Set MY_NAME with "-n/--name".
104 * utils/statd/state.c (change_state): Set MY_NAME only if it
107 * utils/statd/statd.man: Updated for "-n/--name".
109 2001-07-26 H.J. Lu <hjl@lucon.org>
111 * nfs-utils.spec (Release): Set to 8.
113 2001-07-25 H.J. Lu <hjl@lucon.org>
115 * etc/redhat/nfs.init: Check if rpc.rquotad exists before doing
118 2001-06-27 H.J. Lu <hjl@lucon.org>
120 * etc/redhat/nfs.init: Run rpc.rquotad only if it exists.
122 2001-06-27 H.J. Lu <hjl@lucon.org>
124 * utils/rquotad/rquota_server.c: Don't call statfs () for
125 the block size. Use BLOCK_SIZE instead.
127 2001-06-27 H.J. Lu <hjl@lucon.org>
129 * config.mk.in (CC_FOR_BUILD): Renamed from BUILD_CC.
130 (CFLAGS_FOR_BUILD): New. Don't use @CFLAGS@.
132 * configure.in (enable_nfsv3): Set to yes by default.
133 (--enable-rquotad): Added
134 (AC_PROG_CXX): Removed.
135 (AC_OUTPUT): Add utils/Makefile.
136 (CC_FOR_BUILD): Renamed from BUILD_CC.
137 * configure: Regenerated.
139 * utils/Makefile: Removed.
141 * utils/Makefile.in: New.
143 * nfs-utils.spec.in (rquotad): New. Set to 0 to disable
145 (CC_FOR_BUILD): Renamed from BUILD_CC.
146 * nfs-utils.spec: Regenerated.
148 2001-06-15 Chip Salzenberg <chip@debian.org>
150 * debian/changelog: Version 0.3.2-2.
151 * debian/*.init: Minor fixes.
153 2001-06-07 Lon H. Hohberger <hohberger@missioncriticallinux.com>
155 * etc/nodist/nfs-server: Fixed a bug where the script would
156 disable mounts from NFSv3 clients if NFSv3 is present.
158 2001-06-05 H.J. Lu <hjl@lucon.org>
160 * utils/mountd/mountd.c (longopts): Add "descriptors/o".
161 (main): Support --descriptors/-o to set the limit of the number
162 of open file descriptors.
165 * utils/mountd/mountd.man: Updated for --descriptors/-o.
167 2001-06-04 H.J. Lu <hjl@lucon.org>
169 * nfs-utils.spec (Release): Set to 6.
171 2001-05-28 H.J. Lu <hjl@lucon.org>
173 * utils/lockd/lockd.c (main): chdir to NFS_STATEDIR.
174 * utils/mountd/mountd.c (main): Likewise.
175 * utils/nfsd/nfsd.c (main): Likewise.
176 * utils/rquotad/rquota_svc.c (main): Likewise.
178 2001-05-06 Anne Milicia <milicia@missioncriticallinux.com>
180 * support/export/client.c (client_check): Check IP address
183 2001-05-06 Neil Brown <neilb@cse.unsw.edu.au>
185 * support/export/client.c (client_gettype): Treat `*' as
188 2001-04-22 H.J. Lu <hjl@lucon.org>
190 * nfs-utils.spec.in: Fix a typo.
191 * nfs-utils.spec: Regenerated.
193 2001-04-21 H.J. Lu <hjl@lucon.org>
195 * nfs-utils.spec.in: Fix cross build.
196 * nfs-utils.spec: Regenerated.
199 2001-04-18 H.J. Lu <hjl@lucon.org>
201 * nfs-utils.spec.in: Support cross build.
202 * nfs-utils.spec: Regenerated.
208 * config.mk.in (BUILD_CC): New.
209 (CC): Set to $(BUILD_CC) if BUILD is defined.
212 (RANLIB): Set to @RANLIB@.
214 * configure.in: Check BUILD_CC, RANLIB, AR and LD.
215 * configure: Regenerated.
217 * tools/rpcgen/Makefile (BUILD): Set to true.
219 2001-04-01 Chip Salzenberg <chip@valinux.com>
221 * tools/rpcgen/rpc_svcout.c (write_timeout_func): Remove
222 redundant, and sometimes broken, declaration of svc_fdset;
224 * support/nfs/rpcmisc.c (closedown): Likewise.
226 2001-03-21 H.J. Lu <hjl@lucon.org>
228 * nfs-utils.spec: Regenerated.
231 2001-03-21 Ion Badulescu <ionut@cs.columbia.edu>
233 * utils/statd/statd.c (main): make sure file descriptors 0-2
234 are open to /dev/null.
236 2001-03-21 H.J. Lu <hjl@lucon.org>
238 * support/nfs/rpcmisc.c: Restore the change made on 2001-03-10.
239 * support/nfs/rpcmisc.c: Likewise.
240 * utils/rquotad/rquota_svc.c: Likewise.
241 * utils/rquotad/rquotad.man: Likewise.
242 * utils/statd/Makefile: Likewise.
243 * utils/statd/rmtcall.c: Likewise.
244 * utils/statd/simulate.c: Likewise.
245 * utils/statd/statd.c: Likewise.
246 * utils/statd/statd.man: Likewise.
248 2001-03-11 H.J. Lu <hjl@lucon.org>
250 * configure.in (RELEASE): New. Default to 1, set by
251 --with-release=XXX. Substitute nfs-utils.spec.
252 * nfs-utils.spec.in (Release): Set to @RELEASE@.
253 * configure: Regenerated.
254 * nfs-utils.spec: Likewise.
256 2001-03-11 H.J. Lu <hjl@lucon.org>
258 * utils/rquotad/rquotad.man: Fix a typo.
260 2001-03-11 H.J. Lu <hjl@lucon.org>
262 * support/include/rpcmisc.h: Undo the change made on 2001-03-10.
263 * support/nfs/rpcmisc.c: Likewise.
264 * utils/rquotad/rquota_svc.c: Likewise.
265 * utils/rquotad/rquotad.man: Likewise.
266 * utils/statd/Makefile: Likewise.
267 * utils/statd/rmtcall.c: Likewise.
268 * utils/statd/simulate.c: Likewise.
269 * utils/statd/statd.c: Likewise.
270 * utils/statd/statd.man: Likewise.
272 2001-03-10 H.J. Lu <hjl@lucon.org>
274 * configure.in (VERSION): Set to "0.3.2".
275 * configure: Regenerated.
276 * nfs-utils.spec: Likewise.
278 * README: Updated for 0.3.2.
280 2001-03-10 Tavis Barr <tavis@boole.isetr.columbia.edu>
282 * utils/rquotad/rquotad.man: Updated for -p.
283 * utils/statd/statd.man: Likewise.
285 2001-03-10 Ion Badulescu <ionut@cs.columbia.edu>
287 * support/nfs/rpcmisc.c: export makesock()
289 * support/include/rpcmisc.h (makesock): Declared.
291 * utils/rquotad/rquota_svc.c: added longopts, added support for
292 specifying the port to bind to on the command line.
294 * utils/statd/statd.c: ditto, also specify port used for
295 outgoing connections.
296 (do_regist): Removed.
298 * utils/statd/rmtcall.c (statd_get_socket): Renamed from
299 get_socket. Make it extern.
301 * utils/statd/simulate.c (daemon_simulator): Call rpc_init
302 instead of do_regist.
304 * utils/statd/Makefile (LIBS): link with our own libnfs
306 2001-03-09 H.J. Lu <hjl@lucon.org>
308 * etc/redhat/nfslock.init: Changed chkconfig line to 60 86.
309 * etc/nodist/nfs-client: Likewise.
311 2001-02-26 Chip Salzenberg <chip@valinux.com>
313 * debian/changelog: Version 0.3.1-1.
314 * Mention upstream source and license in copyright file.
315 * Add build-Depends for debhelper and libwrap0-dev.
317 2001-02-20 Lon Hohberger <hohberger@missioncriticallinux.com>
319 * etc/nodist/nfs-server: Changed chkconfig line to 60 20
320 * etc/nodist/nfs-client: Likewise.
322 2001-02-18 Lon Hohberger <hohberger@missioncriticallinux.com>
324 * utils/statd/statd.man: Changed /usr/sbin/rpc.statd to
327 2001-02-17 Patrick J. LoPresti <patl@curl.com>
329 * utils/statd/log.c (log_init): Use LOG_DAEMON instead of
332 2001-02-14 H.J. Lu <hjl@lucon.org>
334 * utils/statd/rmtcall.c: Include <time.h>.
335 * utils/statd/svc_run.c: Likewise.
337 2001-02-14 H.J. Lu <hjl@lucon.org>
339 * configure.in (VERSION): Set to "0.3.1".
340 * configure: Regenerated.
341 * nfs-utils.spec: Likewise.
343 * README: Updated for 0.3.1.
345 2001-02-14 H.J. Lu <hjl@lucon.org>
347 * support/nfs/rpcmisc.c: Include <time.h>.
349 2001-02-14 Chip Salzenberg <chip@valinux.com>
351 * debian/control: Change priority of nhfsstone package to 'extra'.
353 2001-02-12 Chip Salzenberg <chip@valinux.com>
355 * debian/changelog: Version 0.3-2.
357 2001-02-02 H.J. Lu <hjl@lucon.org>
359 * support/include/rpcmisc.h (rpc_init): Remove bufsize.
361 * support/nfs/rpcmisc.c (makesock): Remove socksz and comment
362 out SO_SNDBUF/SO_RCVBUF.
363 (rpc_init): Remove bufsize and remove socksz in calls to
366 * utils/mountd/mountd.c (main): Remove bufsize in calls to
369 2001-01-28 Chip Salzenberg <chip@valinux.com>
371 * debian/changelog: Version 0.3-1.
373 2001-01-25 H.J. Lu <hjl@lucon.org>
375 * configure.in (VERSION): Set to "0.3".
376 * configure: Regenerated.
377 * nfs-utils.spec: Likewise.
379 * README: Updated for 0.3.
381 2001-01-25 H.J. Lu <hjl@lucon.org>
383 * utils/lockd/lockd.c (main): Ignore errno == EINVAL.
385 2001-01-20 Chip Salzenberg <chip@valinux.com>
387 * support/include/xio.h (xgetc): Declare to return int.
388 * support/nfs/xio.c (xgetc): Return int.
389 (xgettok, xskip, xskipcomment): Use int for value of xgetc.
390 * utils/statd/statd.c (main): Use int for value of getopt.
391 * debian/changelog: Version 0.2.1-5.
393 2000-12-10 Chip Salzenberg <chip@valinux.com>
395 * utils/statd/monitor.c (sm_mon_1_svc): Fix buggy check for
396 program and procedure numbers of kernel lockd's callback. Also,
397 besides the old (and broken) procedure #24, allow #16 per Trond.
399 2000-12-03 Chip Salzenberg <chip@valinux.com>
401 * support/nfs/xio.c (xfopen): Initialize x_line to one, not zero.
402 * debian/control: Let nhfsstone replace files in nfs-kernel-server.
403 * debian/changelog: Version 0.2.1-4.
405 2000-11-27 Tobias Ringstrom <tori@tellus.mine.nu>
407 * utils/mountd/auth.c (auth_authenticate): Log the bad path
410 2000-11-24 Neil Brown <neilb@cse.unsw.edu.au>
412 * support/nfs/exports.c (getexportent): Check for host name
413 without option, or options without hostname, and print a warning,
414 as this is most likely a typo.
416 2000-11-19 Chip Salzenberg <chip@valinux.com>
418 * debian/control: Add dependency on portmap.
419 * debian/changelog: Version 0.2.1-3.
421 2000-11-10 H.J. Lu <hjl@lucon.org>
423 * nfs-utils.spec.in: Don't use libtool.
424 Add ChangeLog and COPYING to doc.
425 * nfs-utils.spec: Rebuild.
427 2000-11-09 H.J. Lu <hjl@lucon.org>
429 * etc/redhat/nfs.init (start): Back out the last change.
431 2000-11-09 H.J. Lu <hjl@lucon.org>
433 * etc/redhat/nfs.init (start): Pass --no-tcp to mountd if
434 TCP is not supported by kernel.
436 * support/nfs/rpcmisc.c (rpc_init): Don't set _rpcfdtype to 0.
438 * utils/mountd/mountd.c (longopts): Add "-n/--no-tcp".
439 (main): Set to _rpcfdtype to SOCK_DGRAM for "-n/--no-tcp".
441 * utils/mountd/mountd.man: Updated for "-n/--no-tcp".
443 2000-10-24 Lon Hohberger <hohberger@missioncriticallinux.com>
445 * utils/statd/callback.c: Fix bug preventing callbacks to local lockd.
446 * utils/statd/rmtcall.c: Add some IP address paranoia when doing
447 callbacks to local lockd.
449 2000-10-18 Scott McDermott <mcdermot@questra.com>
451 * utils/exportfs/exports.man: Updated for CIDR netmask.
453 2000-10-17 Scott McDermott <mcdermot@questra.com>
455 * support/export/client.c (client_init): Support CIDR netmask
458 2000-10-11 H.J. Lu <hjl@lucon.org>
460 * aclocal.m4 (AC_TCP_WRAPPER): Fix a typo.
461 * configure: Rebuilt.
463 2000-10-06 Lon Hohberger <hohberger@missioncriticallinux.com>
465 * utils/statd/statd.man: Change "/var/lib/nfs/sm/state" to
466 "/var/lib/nfs/state".
468 2000-10-05 Lon Hohberger <hohberger@missioncriticallinux.com>
470 * utils/statd/statd.h (run_mode): New global bitmask of runtime
471 behaviors: fg/bg, logging, etc.
472 * utils/statd/statd.c: New command line options: -V -h -? -d .
473 * utils/statd/statd.man: Update for changes to statd.
475 * utils/statd/log.h (log_init): Remove parameter of function; use
476 global variable "name_p" instead.
477 * utils/statd/log.c: Add support for logging to stderr.
479 * utils/statd/notlist.c: Partially rewrite notify list handling
480 functions. Eliminate run-off-end-of-list bug when calling
481 nlist_insert_timer. Add lots of comments.
483 2000-09-27 H.J. Lu <hjl@lucon.org>
485 * README: Updated for RedHat 7.0.
487 2000-09-27 H.J. Lu <hjl@lucon.org>
489 * nfs-utils.spec: Rebuild.
491 2000-09-27 H.J. Lu <hjl@lucon.org>
493 * README: Updated for 0.2.1.
495 2000-09-27 H.J. Lu <hjl@lucon.org>
497 * nfs-utils.spec.in: Updated to use rpm macros and support
500 2000-09-25 H.J. Lu <hjl@lucon.org>
502 * configure.in (VERSION): Set to "0.2.1".
503 * configure: Regenerated.
504 * nfs-utils.spec: Updated.
506 2000-09-25 H.J. Lu <hjl@lucon.org>
508 * utils/mountd/auth.c (auth_authenticate_internal): Make sure a
509 non-NULL hostent is always returned.
511 2000-09-11 Ion Badulescu <ionut@cs.columbia.edu>
513 * etc/redhat/nfslock.init: don't kill lockd processes that do not
514 have an executable (i.e. kernel threads)
516 2000-09-01 H.J. Lu <hjl@lucon.org>
518 * README: Updated for 0.2.
520 2000-09-01 Jay Weber <jweber@valinux.com>
522 * etc/redhat/nfs.init: Added ability for rpc.mountd to default to
523 supporting version 3 of nfs if available, else it will fall back to
524 version 2 support only.
526 2000-08-30 H.J. Lu <hjl@lucon.org>
528 * configure.in (VERSION): Set to "0.2".
529 * configure: Regenerated.
530 * nfs-utils.spec: Updated.
532 2000-08-25 H.J. Lu <hjl@lucon.org>
534 * support/misc/tcpwrapper.c (logit): Modify the log output.
536 2000-08-25 Ion Badulescu <ionut@cs.columbia.edu>
538 * utils/rquotad/rquotad.man, utils/statd/statd.man,
539 utils/mountd/mountd.man: updated
541 * utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL)
542 * utils/rquotad/Makefile: fix comment
544 * support/misc/tcpwrapper.c (logit): added comment about waiting
545 for the children after fork()
547 * utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving
548 zombies behind (from logit()'s fork)
549 * utils/rquotad/rquota_svc.c (main): ditto
550 * utils/statd/statd.c (main): ditto
552 * utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG
553 to check_default instead of 0, for prognum
555 * utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG
556 to check_default instead of 0, for prognum
558 * utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if
559 HAVE_TCP_WRAPPER is defined.
560 (mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is
561 defined. Reject an RPC call if check_default () fails.
563 2000-08-25 H.J. Lu <hjl@lucon.org>
565 * support/include/tcpwrapper.h: New for the tcp wrapper
567 * support/misc/Makefile: Likewise.
568 * support/misc/from_local.c: Likewise.
569 * support/misc/tcpwrapper.c: Likewise.
571 * aclocal.m4 (AC_TCP_WRAPPER): New.
572 * configure.in: Use it. Substitute LIBWRAP.
573 * configure: Rebuilt.
575 * config.mk.in (LIBNSL): New.
578 * support/Makefile (SUBDIRS): Add misc.
580 * support/lib/Makefile (LIBS): Add libmisc.a.
582 * utils/rquotad/Makefile (LIBS): Add
584 -lmisc $(LIBWRAP) $(LIBNSL)
586 * utils/statd/Makefile (LIBS): Likewise.
588 * utils/rquotad/rquota_svc.c: Include "tcpwrapper.h" if
589 HAVE_TCP_WRAPPER is defined.
590 (rquotaprog_1): Call check_default () if HAVE_TCP_WRAPPER is
591 defined. Reject an RPC call if check_default () fails.
593 * utils/statd/statd.c: Include "tcpwrapper.h" if
594 HAVE_TCP_WRAPPER is defined.
595 (sm_prog_1_wrapper): New. A wrapper for sm_prog_1. Call
596 check_default () before calling sm_prog_1 (). Define it as
597 sm_prog_1_wrapper if HAVE_TCP_WRAPPER is defined.
599 2000-08-25 Chip Salzenberg <chip@valinux.com>
601 * debian/*: Complete Debian build support.
602 * etc/debian/*: Remove.
604 2000-08-24 Neil Brown <neilb@cse.unsw.edu.au>
606 * support/export/client.c(client_check): removed the "dot+1" as a
607 ypdomain argument to innetgr as this is entirely bogus.
608 It should always be NULL.
610 2000-08-23 Neil Brown <neilb@cse.unsw.edu.au>
612 * support/export/xtab.c(xtab_read): introduce new mode for
613 reading xtab. i.e. a list of exports that might be known to the
614 kernel, or might not. These are flagged as m_exported == -1
615 * support/export/xtab.c(xtab_mount_read): call xtab_read with new
616 value "2" for xtab, meaning don't trust this too much.
617 * support/include/exportfs.h(struct mexport): changed m_exported
618 from one bit to an int so that it can hold new value
619 * utils/exportfs/exportfs.c(exportfs_ipdate): add an export to the
620 kernel if it is uncertain whether the kernel knows (m_exported == -1)
621 * utils/mountd/mountd.c(get_rootfh): similarly export to kernel if
624 * support/nfs/xio.c(xflock): added O_CREAT when getting
625 a write lock so that missing files aren't fatal.
627 * etc/debian/nfs-common: new file from "potato"
628 * etc/debian/nfs-kernel-server: new file from "potato" plus fixes.
630 2000-08-09 H.J. Lu <hjl@lucon.org>
632 * etc/redhat/nfs.init: Run /usr/sbin/exportfs first during
633 startup to ensure all existing clients work fine.
635 * support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0
636 to xtab_read () for reading _PATH_XTAB.
638 2000-08-02 H.J. Lu <hjl@lucon.org>
640 * utils/mountd/auth.c (auth_authenticate_internal): Try to
641 avoid the reverse name lookup.
643 2000-07-04 H.J. Lu <hjl@lucon.org>
645 * utils/statd/log.c: Include <stdlib.h> for exit ().
647 * utils/statd/misc.c (xunlink): Add `{' and `}' to quiet the
650 2000-07-04 H.J. Lu <hjl@lucon.org>
652 * configure.in (VERSION): Set to "0.1.9.1".
653 * configure: Regenerated.
654 * nfs-utils.spec: Updated.
658 2000-07-04 Neil Brown <neilb@cse.unsw.edu.au>
660 * support/export/hostname.c (hostent_dup): Handle the NULL
663 2000-07-03 H.J. Lu <hjl@lucon.org>
665 * README: Update the util-linux requirement.
667 2000-07-03 H.J. Lu <hjl@lucon.org>
669 * configure.in (VERSION): Set to "0.1.9".
670 * configure: Regenerated.
671 * nfs-utils.spec: Updated.
675 2000-07-03 H.J. Lu <hjl@lucon.org>
677 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
678 stop to ensure all clients can still access the server
679 before it is shutdown.
681 2000-06-30 Jeff Uphoff <juphoff@transmeta.com>
683 * tools/rpcgen/rpc_svcout.c (write_msg_out): Generate syslog()
684 calls with format string.
686 2000-06-28 Chip Salzenberg <chip@valinux.com>
688 * utils/statd/log.c (log): Call syslog with format string.
690 2000-06-27 H.J. Lu <hjl@lucon.org>
692 * utils/statd/statd.c (main): Use sysconf (_SC_OPEN_MAX)
695 2000-06-27 H.J. Lu <hjl@lucon.org>
699 2000-06-27 H.J. Lu <hjl@lucon.org>
701 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
702 startup to ensure all existing clients are exported.
704 * configure.in (VERSION): Set to "0.1.8.2".
705 * configure: Regenerated.
706 * nfs-utils.spec: Updated.
708 2000-06-06 H.J. Lu <hjl@lucon.org>
710 * configure.in (VERSION): Set to "0.1.8.1".
711 * configure: Regenerated.
712 * nfs-utils.spec: Updated.
714 2000-06-06 H.J. Lu <hjl@lucon.org>
716 * utils/mountd/mountd.c (mount_dump_1_svc): Cast svc_getcaller
717 to "struct sockaddr_in *" for glibc 2.2.
718 (mount_umnt_1_svc): Likewise.
719 (mount_umntall_1_svc): Likewise.
720 (mount_export_1_svc): Likewise.
721 (mount_exportall_1_svc): Likewise.
722 (mount_pathconf_2_svc): Likewise.
723 (get_rootfh): Likewise.
725 2000-06-04 H.J. Lu <hjl@lucon.org>
727 * etc/redhat/nfs.init: Fix a typo in comment.
729 2000-05-31 H.J. Lu <hjl@lucon.org>
731 * configure.in (VERSION): Set to "0.1.8".
732 * configure: Regenerated.
733 * nfs-utils.spec: Updated.
737 2000-05-31 H.J. Lu <hjl@lucon.org>
739 * configure.in (VERSION): Set to "0.1.7.5".
740 * configure: Regenerated.
741 * nfs-utils.spec: Updated.
743 * support/include/nfslib.h (exportent): Add a new field,
744 r_count, to count the number of mounts from a client.
745 (getrmtabent): Take a new argument for position in file.
746 (putrmtabent): Likewise.
747 (fgetrmtabent): Likewise.
748 (fputrmtabent): Likewise.
749 * support/nfs/rmtab.c (getrmtabent): Handle the new argument
750 for position in file.
751 (fgetrmtabent): Likewise.
752 (putrmtabent): Likewise.
753 (fputrmtabent): Likewise.
755 * support/nfs/rmtab.c (fgetrmtabent): Get value for the new
758 * support/export/rmtab.c (rmtab_read): Pass NULL as the new
759 argument to getrmtabent (), fgetrmtabent (), putrmtabent ()
761 * utils/mountd/rmtab.c (mountlist_add): Likewise.
762 (mountlist_del): Likewise.
763 (mountlist_del_all): Likewise.
764 (mountlist_list): Likewise.
766 * utils/mountd/rmtab.c (mountlist_add): Increment "r_count"
767 for the existing entry and initialize "r_count" to 1.
768 (mountlist_del): Decrement "r_count".
770 2000-05-18 H.J. Lu <hjl@lucon.org>
772 * configure.in (VERSION): Set to "0.1.7.4".
773 * configure: Regenerated.
774 * nfs-utils.spec: Updated.
776 2000-05-18 H.J. Lu <hjl@lucon.org>
778 * etc/redhat/nfs.init (restart): Just do stop and start.
780 2000-05-09 Jay Weber <jweber@valinux.com>
782 * utils/rquotad/hasquota.c: added support for ext3 recognition
784 * utils/rquotad/mntent.h: Likewise.
786 2000-05-01 H.J. Lu <hjl@lucon.org>
788 * configure.in (VERSION): Set to "0.1.7.3".
789 * configure: Regenerated.
790 * nfs-utils.spec: Updated.
792 2000-05-01 H.J. Lu <hjl@lucon.org>
794 * utils/rquotad/rquota_server.c (getquotainfo): Skip bad
795 mounting poins in /etc/fstab.
797 2000-05-01 H.J. Lu <hjl@lucon.org>
799 * configure.in (VERSION): Set to "0.1.7.2".
800 * configure: Regenerated.
801 * nfs-utils.spec: Updated.
803 2000-05-01 H.J. Lu <hjl@lucon.org>
805 * utils/rquotad/rquota_server.c (getquotainfo): Call stat ()
806 to check for the mounting point.
808 2000-04-29 Chip Salzenberg <chip@valinux.com>
809 Neil Brown <neilb@cse.unsw.edu.au>
811 * Really re-use RPC ports.
812 (Fixes earlier patch. Sorry, Neil.)
814 2000-04-26 H.J. Lu <hjl@lucon.org>
816 * configure.in (VERSION): Set to "0.1.7.1".
817 * configure: Regenerated.
818 * nfs-utils.spec: Updated.
820 2000-04-26 H.J. Lu <hjl@lucon.org>
822 * etc/redhat/nfslock.init: Check if lockd exits before killing
825 2000-04-25 H.J. Lu <hjl@lucon.org>
827 * README: Require util-linux-2.10f-mount-rpc.patch for mount.
829 2000-03-21 Michael Weiser <michael@weiser.saale-net.de>
831 * support/nfs/exports.c (parsesquash): Correctly set the
834 Tue Mar 21 11:38:48 EST 2000 NeilBrown <neilb@cse.unsw.edu.au>
836 * support/include/nfs/nfs.h: Removed knowledge of internals of
837 kernel filehandles (which can change) and defined nfs_fh_size
838 which has variable size
840 * support/nfs/getfh.c: defined getfh_size to use new syscall to
841 get variable sized file handles, and change getfh{,old} to
844 * utils/mountd/mountd.c: use nfd_fh_size and call getfh_size for
847 * tools/Makefile, tools/nlmtest/nlmtest.c
848 nlmtest.c depended on internel format of file handles, so now
852 2000-03-12 Chip Salzenberg <chip@valinux.com>
853 Neil Brown <neilb@cse.unsw.edu.au>
855 * support/nfs/rpcmisc.c (rpc_init): Share transports.
857 2000-03-13 H.J. Lu <hjl@lucon.org>
859 * etc/redhat/nfsd.init: Updated.
861 * etc/redhat/nfslock.init: Updated.
863 * nfs-utils.spec.in: Updated.
865 * configure.in (VERSION): Set to "0.1.7".
866 * configure: Regenerated.
867 * nfs-utils.spec: Updated.
871 Wed Mar 8 09:42:43 2000 Neil Brown <neilb@cse.unsw.edu.au>
873 * utils/exportfs/exportfs.c (dump): Included printing of
874 nohide, no_subtree_check, and insecure_locks
876 2000-02-26 Chip Salzenberg <chip@valinux.com>
878 * config.mk.in (INSTALLSUID): Strip ("-s").
879 (INSTALLSCRIPT): Define.
880 * utils/nhfsstone/Makefile: Use it.
882 2000-02-26 Chip Salzenberg <chip@valinux.com>
884 * utils/lockd/lockd.man: Create.
885 * utils/lockd/Makefile: Install it.
886 * utils/nhfsstone/nhfs{run,nums,graph}.man: Create.
887 * utils/nhfsstone/nhfsstone.man: Change suffix from ".1".
888 * utils/nhfsstone/Makefile: Install the helper scripts and
890 * utils/exportfs/exports.man: Fix typo.
892 2000-02-26 Chip Salzenberg <chip@valinux.com>
894 * support/nfs/xio.c (xungetc): Decrement line number when
895 character to unget is newline. Make first parameter int, so
896 it can distinguish EOF from \377.
897 * support/include/xio.h (xungetc): Adjust prototype.
899 Fri Feb 4 23:42:23 2000 Neil Brown <neilb@cse.unsw.edu.au>
901 * support/include/nfs/export.h: added NFSEXP_NOAUTHNLM
902 * support/nfs/exports.c: added handling for NFSEXP_NOAUTHNLM
903 * utils/exportfs/exports.man: added documentation for no_auth_nlm.
905 This is for supporting a new option introduced in 2.3.42
907 Thu Feb 3 14:55:48 2000 H.J. Lu <hjl@lucon.org>
909 * COPYING: Added. GPL.
911 Thu Feb 03 14:40:40 2000 Cristian Gafton <gafton@redhat.com>
913 * utils/rquotad/rquota_server.c (getquotainfo): Call statfs ()
914 to get the block size.
916 Tue Jan 25 11:04:17 2000 H.J. Lu <hjl@lucon.org>
918 * nfs-utils.spec.in: Update ftp site.
920 Mon Jan 17 11:48:18 2000 H.J. Lu <hjl@lucon.org>
922 * README: Update hostnames.
924 Tue Jan 11 10:06:22 2000 H.J. Lu <hjl@lucon.org>
926 * configure.in (VERSION): Set to "0.1.6".
927 * configure: Regenerated.
928 * nfs-utils.spec: Updated.
932 Mon Jan 10 14:26:33 2000 H.J. Lu <hjl@lucon.org>
934 * utils/mountd/auth.c (auth_authenticate_internal): Call
935 xstrdup for hostname before passing it to gethostbyname.
937 * utils/mountd/mountd.c (get_exportlist): Use xstrdup instead
940 Sun Dec 19 09:35:01 1999 H.J. Lu <hjl@lucon.org>
942 * README: Update the mailing list address.
944 Sun Dec 19 09:22:28 1999 H.J. Lu <hjl@lucon.org>
946 * configure.in (VERSION): Set to "0.1.5".
947 * configure: Regenerated.
948 * nfs-utils.spec: Updated.
952 Mon Dec 13 13:40:20 1999 H.J. Lu <hjl@lucon.org>
954 * utils/rquotad/hasquota.c (hasquota): Malloc one more char
957 Mon Dec 6 09:42:45 1999 H.J. Lu <hjl@lucon.org>
959 * configure.in (VERSION): Set to "0.1.4".
960 * configure: Regenerated.
961 * nfs-utils.spec: Updated.
965 Mon Dec 6 09:28:07 1999 H.J. Lu <hjl@lucon.org>
967 * nfs-utils.spec.in: New file.
969 * config.mk.in (VERSION): Changed to "nfs-utils @VERSION@".
971 * configure.in (nfs-utils.spec): Added to AC_OUTPUT.
973 1999-12-04 Chip Salzenberg <chip@valinux.com>
975 * config.mk.in: Use $(CC) as set by configure.
977 1999-12-04 Chip Salzenberg <chip@valinux.com>
979 * rules.mk: Call $(MAKE) with $(MFLAGS).
981 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
983 * tools/rpcgen/rpc_main.c (h_output): Generate IXDR_GET_INT32,
984 IXDR_PUT_INT32, IXDR_GET_U_INT32 and IXDR_PUT_U_INT32.
986 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
988 * nfs-utils.spec (Version): Set to 0.1.3.
990 * configure.in (VERSION): Set to "nfs-utils 0.1.3".
991 * configure: Regenerated.
995 Mon Nov 29 11:15:47 1999 H.J. Lu <hjl@lucon.org>
997 * utils/rquotad/rquota_server.c (nfsmount_to_devname): Removed.
998 (_PATH_DEV_DSK): Likewise.
999 (getquotainfo): Match the mounting point from /etc/mtab
1000 instead of calling nfsmount_to_devname ().
1002 1999-11-24 Chip Salzenberg <chip@valinux.com>
1004 * utils/statd/monitor.c (sm_mon_1_svc): Accept lockd callbacks
1005 to the new port 24 as well as the historical port 100021.
1007 Tue Nov 23 10:21:34 1999 Neil Brown <neilb@cse.unsw.edu.au>
1009 * etc/redhat/nfsd.init (stop): moved exportfs -ua after
1010 stopping nfsd to stop spurious ESTALE on server shutdown.
1012 Tue Nov 23 10:13:39 1999 Neil Brown <neilb@cse.unsw.edu.au>
1014 * support/nfs/exports.c (parseopts): make copy of opt string
1015 before 'nul'ing out commas so that
1017 # exportfs -o option1,option2 hosta:/fs hostb:/fs
1019 applies both options to both exports.
1021 Thu Oct 28 12:55:42 1999 H.J. Lu <hjl@lucon.org>
1023 * README: Fix a few typos.
1025 * tools/rpcgen/rpc_cout.c (print_header): Use int32_t instead
1027 * tools/rpcgen/rpc_hout.c (pdefine): Likewise.
1028 * tools/rpcgen/rpc_main.c (c_initialize): Likewise.
1029 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1030 (unsigned_dec): Likewise.
1031 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1032 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1034 * tools/rpcgen/rpc_cout.c (emit_single_in_line): Use INT32
1036 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1037 (unsigned_dec): Likewise.
1038 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1039 * tools/rpcgen/rpc_scan.h (tok_kind): Likewise.
1040 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1042 Thu Oct 28 11:27:51 1999 Neil Brown <neilb@cse.unsw.edu.au>
1044 * support/include/nfs/export.h addedd NFSEXP_NOSUBTREECHECK
1045 * support/nfs/exports.c: added {no_,}subtree_check and changed
1047 * utils/exportfs/exports.man: added no_subtree_check and nohide
1048 and removed irrelevant stuff from unfsd.
1049 * support/export/rmtab.c: rmtab_read didn't quite do the right
1050 thing if a pathname from rmtab was a subdirectory of an export-point
1052 Tue Oct 26 17:22:40 1999 H.J. Lu <hjl@lucon.org>
1054 * README: Updated ftp site.
1056 Mon Oct 25 18:12:45 1999 H.J. Lu <hjl@lucon.org>
1058 * nfs-utils.spec (Version): Set to 0.1.2.
1060 * configure.in (VERSION): Set to "nfs-utils 0.1.2".
1061 * configure: Regenerated.
1065 Mon Oct 25 18:11:21 1999 H.J. Lu <hjl@lucon.org>
1067 * utils/mountd/auth.c (auth_error): Add "no_forward_dns".
1068 (auth_authenticate_internal): Check for NULL return on forward
1070 (auth_authenticate): Handle "no_forward_dns".
1072 Thu Oct 21 16:22:06 1999 H.J. Lu <hjl@lucon.org>
1074 * Version 0.1.1 released.
1076 * nfs-utils.spec (Version): Set to 0.1.1.
1078 * configure.in (VERSION): Set to "nfs-utils 0.1.1".
1079 * configure: Regenerated.
1083 Mon Oct 18 17:43:29 1999 H.J. Lu <hjl@lucon.org>
1085 * nfs-utils.spec (Obsoletes): Fixed a typo, change knfsd-client
1087 (Provides): Likewise.
1089 Mon Oct 18 14:56:22 1999 H.J. Lu <hjl@lucon.org>
1091 * Initial version 0.1 released.
1093 * configure.in (VERSION): Set to "nfs-utils 0.1".
1094 * configure: Regenerated.
1096 Mon Oct 18 14:54:57 1999 H.J. Lu <hjl@lucon.org>
1098 * utils/mountd/mountd.c (get_exportlist): Cleanup.
1100 * utils/exportfs/exportfs.c (unexport_all): Unexport from
1101 kernel only if the entry is exported to kernel.
1102 (unexportfs): Likewise.
1104 Wed Sep 08 16:49:32 1999 Neil Brown <neilb@cse.unsw.edu.au>
1106 1/ utils/mountd/rmtab.c::mountlist_list
1108 This routine stats the rmtab file to see if it has changed. It
1109 if has, it cleans up it's old copy of the data. But it still
1110 always re-read the file, thus returning multiple copies of the
1111 data on consecutive calls without intervening changes.
1112 "Showmount -a" didn't show this as it appears to sort/unique the
1113 data, but 'strace showmount -a' showed that the size of the
1114 datagram that it received grew.
1116 I moved the getrmtabent loop inside the mtime test.
1118 2/ utils/exportfs/exportfs.c
1120 Many routines used the m_path field of m_export instead of
1122 According to the comment in nfslib.h, m_path should only
1123 be used when processing a mount request (i.e. in mountd)
1124 where the mountpoint may be a subdirectory of the export point.
1126 I changed all occurances of m_path to e_path
1129 3/ utils/exportfs/exportfs.c:main
1131 extra arguments are not meaningful with -a or -r, but
1132 exportfs accepted them and then ignored the -a/-r, expect that
1133 -r would still unexport everything first.
1135 I generate an error if there are extra args and f_all
1137 4/ utils/exportfs/exportfs.c:main
1138 extract dump out as a special case.
1140 5/ utils/exportfs/exportfs.c
1141 made f_reexport a local variable.
1144 6/ utils/exportfs/exportfs.c:main,exportall
1146 support/export/rmtab.c
1147 only mayexport on newly created entries, don't set xtabent at all
1149 7/ support/include/nfslib.h
1151 add #define _PATH_PROC_EXPORTS to be /proc/fs/nds/exports
1153 8/ support/export/xtab.c
1155 xtab_mount_read loads data from _PATH_PROC_EXPORTS if it exists,
1159 9/ support/export/xtab.c
1161 xtab_mount_read now sets m_exported, and NOT
1162 xtabent and mayexport
1164 removed the append arguement from xtab_write as it was
1167 added is_export flag to xtab_write similar to xtab_read
1168 if is_export, only write entries with m_xtabent or m_addxtab
1169 if !is_export, only write entries with m_exported
1171 10/ support/export/export.c::export_allowed_internal
1173 added test for exp->m_mayexport, as the export tree
1174 may have entries that are no longer allowed to be exported,
1175 and so shouldn't caused deduced exported by rmtab_read
1177 11/ utils/exportfs/exportfs.c::main
1178 error checking of flags.
1180 12/ utils/exportfs/exportfs.c
1182 total rewrite of export and unexport logic.
1184 - build an exportslist of valid exports, based on
1185 current etab file and arguments,
1186 - read rmtab to instantiate relevant wild card entries
1187 - read etab to find out what is currently exported
1188 - synchronise intention with reality
1189 - write out etab and xtab
1192 discard the m_addxtab flag
1193 add m_changed flag so we know what to report in exportfs
1195 14/ utils/mountd/auth.c:auth_authenticate
1197 the value returned by gethostbyaddr was trusted.
1199 It now follows this with a call to gethostbyname
1200 and checks that the address is in the list.
1202 15/ support/export/nfsctl.c::cltsetup,expsetup
1204 force client names to lowercase as kernel is
1207 16/ quietened a few compiler warnings
1209 17/ support/export/client:client_lookup
1211 look for pre-existing client with same name before creating
1214 18/ support/include/exportfs.h
1216 The ordering of the MCL_* enum was:
1217 ANONYMOUS, FQDN, SUBNETWORK, WILDCARD, NETGROUP
1219 I moved ANONYMOUS to the end.
1221 The ordering is significant when an export entry is being searched for to
1222 match a given address. There are two problems with ANONYMOUS being first.
1224 1/ if a directory is exported rw to a couple of hosts and ro to everyone else,
1225 then the ro case will always be found first and the privileged hosts won't get
1227 2/ When mountd gets a request to mount an ANONYMOUSly exported tree, it creates a FQDN
1228 export entry for the specific host, and writes it to xtab.
1229 When another request comes from the same host, the ANONYMOUS entry is found again,
1230 before the new FQDN entry, so it creates another FQDN entry and writes it to xtab
1231 again. If causes bloat in xtab.
1233 Putting ANONYMOUS at the end reflects it's nature as a catch-all
1235 19/ utils/exportfs/exportfs.man
1236 many updates to the man page to reflect changes to the code
1238 -----------------------
1244 - allow exportfs to modify rmtab file
1245 - make sure kernel never gets two clients with same IP address
1246 - possible kernel should reject
1247 - needs to be some way to lookup client in kernel by IP address
1248 - maybe get kernel to do case-insensitive comparisons on client names
1249 - remove unused clients from kernel
1251 - change etab to xtab and xtab to xtab.active
1253 - timestamp and/or statd-stamp in rmtab for removing old entries.
1255 Mon Oct 18 11:48:07 1999 H.J. Lu <hjl@lucon.org>
1257 * linux-nfs: New directory.
1258 * linux-nfs/ChangeLog: Moved from ..
1259 * linux-nfs/INSTALL: Likewise.
1260 * linux-nfs/KNOWNBUGS: Likewise.
1261 * linux-nfs/NEW: Likewise.
1262 * linux-nfs/README: Likewise.
1263 * linux-nfs/THANKS: Likewise.
1264 * linux-nfs/TODO: Likewise.
1266 * Starting from knfsd 1.4.7.