1 2001-10-06 Preston Brown <pbrown@redhat.com>
3 * utils/nfsstat/nfsstat.man: Updated.
5 2001-09-24 H.J. Lu <hjl@lucon.org>
7 * configure.in (VERSION): Set to "0.3.3".
8 * configure: Regenerated.
9 * nfs-utils.spec: Likewise.
11 * README: Updated for 0.3.3.
13 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
15 Arrange that "exportfs -au" never does DNS lookup:
17 * support/export/client.c (client_lookup) : add "canonical"
18 flag which says that the hostname is known to be canonical, so
21 * support/export/export.c (export_create) : add "canonical"
22 flag to be passed down to client_lookup
23 * support/export/export.c (export_lookup) : Likewise
25 * support/export/xtab.c (xtab_read) : pass appropriate
26 "canonical" flag to export_lookup and export_create:
27 set if reading list of filesystems currently exports
30 * support/export/export.c (export_read) : pass 0 as
31 "canonical" flag to export_lookup and export_create
32 * support/export/rmtab.s (rmtab_read) : Likewise
34 * support/include/exportfs.h : redeclare various routines
35 to have "canonical" flag
37 * utils/exportfs/exportfs.c (main) : redo logic for
38 "-au" to read in what is currently exported, but never even
39 look at what "should" be exported.
41 * utils/exportfs/exportfs.c (unexportall) : remove this
42 routine. Functionality is completely included in
45 * utils/exportfs/exportfs.c (exportfs) : set "canonical"
46 flag to zero in calls to export_lookup and export_create.
49 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
50 Anne Milicia <milicia@missioncriticallinux.com>
52 * support/export/client.c (client_lookup) call gethostbyadd
53 to make sure that we have a canonical hostname, even for
55 * utils/exportfs/exportfs.c (exportfs) Likewise
57 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
59 * support/nfs/exports.c (putexportent): \octal quote any spaces
61 * support/nfs/xio.c (xgettok): recognise double-quote and
62 \octal quoting in path names
63 * utils/exportfs/exports.man: document quoting conventions
66 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
68 * utils/mountd/auth.c (auth_authenticate_internal): Reverse
69 change from 2000-08-02: It causes problems if someone exports
70 to both a hostname and IP addresses. nfs-utils must be
71 consistant about the canonical name that it chooses.
73 2001-08-17 Ragnar Kjørstad <nfs@ragnark.vestdata.no>
74 H.J. Lu <hjl@lucon.org>
76 * etc/redhat/nfslock.init (STATDARG): New. Pass it to rpc.statd.
78 * utils/statd/statd.c (longopts): Add "name".
79 (usage): Add "-n/--name".
80 (main): Set MY_NAME with "-n/--name".
82 * utils/statd/state.c (change_state): Set MY_NAME only if it
85 * utils/statd/statd.man: Updated for "-n/--name".
87 2001-07-26 H.J. Lu <hjl@lucon.org>
89 * nfs-utils.spec (Release): Set to 8.
91 2001-07-25 H.J. Lu <hjl@lucon.org>
93 * etc/redhat/nfs.init: Check if rpc.rquotad exists before doing
96 2001-06-27 H.J. Lu <hjl@lucon.org>
98 * etc/redhat/nfs.init: Run rpc.rquotad only if it exists.
100 2001-06-27 H.J. Lu <hjl@lucon.org>
102 * utils/rquotad/rquota_server.c: Don't call statfs () for
103 the block size. Use BLOCK_SIZE instead.
105 2001-06-27 H.J. Lu <hjl@lucon.org>
107 * config.mk.in (CC_FOR_BUILD): Renamed from BUILD_CC.
108 (CFLAGS_FOR_BUILD): New. Don't use @CFLAGS@.
110 * configure.in (enable_nfsv3): Set to yes by default.
111 (--enable-rquotad): Added
112 (AC_PROG_CXX): Removed.
113 (AC_OUTPUT): Add utils/Makefile.
114 (CC_FOR_BUILD): Renamed from BUILD_CC.
115 * configure: Regenerated.
117 * utils/Makefile: Removed.
119 * utils/Makefile.in: New.
121 * nfs-utils.spec.in (rquotad): New. Set to 0 to disable
123 (CC_FOR_BUILD): Renamed from BUILD_CC.
124 * nfs-utils.spec: Regenerated.
126 2001-06-15 Chip Salzenberg <chip@debian.org>
128 * debian/changelog: Version 0.3.2-2.
129 * debian/*.init: Minor fixes.
131 2001-06-07 Lon H. Hohberger <hohberger@missioncriticallinux.com>
133 * etc/nodist/nfs-server: Fixed a bug where the script would
134 disable mounts from NFSv3 clients if NFSv3 is present.
136 2001-06-05 H.J. Lu <hjl@lucon.org>
138 * utils/mountd/mountd.c (longopts): Add "descriptors/o".
139 (main): Support --descriptors/-o to set the limit of the number
140 of open file descriptors.
143 * utils/mountd/mountd.man: Updated for --descriptors/-o.
145 2001-06-04 H.J. Lu <hjl@lucon.org>
147 * nfs-utils.spec (Release): Set to 6.
149 2001-05-28 H.J. Lu <hjl@lucon.org>
151 * utils/lockd/lockd.c (main): chdir to NFS_STATEDIR.
152 * utils/mountd/mountd.c (main): Likewise.
153 * utils/nfsd/nfsd.c (main): Likewise.
154 * utils/rquotad/rquota_svc.c (main): Likewise.
156 2001-05-06 Anne Milicia <milicia@missioncriticallinux.com>
158 * support/export/client.c (client_check): Check IP address
161 2001-05-06 Neil Brown <neilb@cse.unsw.edu.au>
163 * support/export/client.c (client_gettype): Treat `*' as
166 2001-04-22 H.J. Lu <hjl@lucon.org>
168 * nfs-utils.spec.in: Fix a typo.
169 * nfs-utils.spec: Regenerated.
171 2001-04-21 H.J. Lu <hjl@lucon.org>
173 * nfs-utils.spec.in: Fix cross build.
174 * nfs-utils.spec: Regenerated.
177 2001-04-18 H.J. Lu <hjl@lucon.org>
179 * nfs-utils.spec.in: Support cross build.
180 * nfs-utils.spec: Regenerated.
186 * config.mk.in (BUILD_CC): New.
187 (CC): Set to $(BUILD_CC) if BUILD is defined.
190 (RANLIB): Set to @RANLIB@.
192 * configure.in: Check BUILD_CC, RANLIB, AR and LD.
193 * configure: Regenerated.
195 * tools/rpcgen/Makefile (BUILD): Set to true.
197 2001-04-01 Chip Salzenberg <chip@valinux.com>
199 * tools/rpcgen/rpc_svcout.c (write_timeout_func): Remove
200 redundant, and sometimes broken, declaration of svc_fdset;
202 * support/nfs/rpcmisc.c (closedown): Likewise.
204 2001-03-21 H.J. Lu <hjl@lucon.org>
206 * nfs-utils.spec: Regenerated.
209 2001-03-21 Ion Badulescu <ionut@cs.columbia.edu>
211 * utils/statd/statd.c (main): make sure file descriptors 0-2
212 are open to /dev/null.
214 2001-03-21 H.J. Lu <hjl@lucon.org>
216 * support/nfs/rpcmisc.c: Restore the change made on 2001-03-10.
217 * support/nfs/rpcmisc.c: Likewise.
218 * utils/rquotad/rquota_svc.c: Likewise.
219 * utils/rquotad/rquotad.man: Likewise.
220 * utils/statd/Makefile: Likewise.
221 * utils/statd/rmtcall.c: Likewise.
222 * utils/statd/simulate.c: Likewise.
223 * utils/statd/statd.c: Likewise.
224 * utils/statd/statd.man: Likewise.
226 2001-03-11 H.J. Lu <hjl@lucon.org>
228 * configure.in (RELEASE): New. Default to 1, set by
229 --with-release=XXX. Substitute nfs-utils.spec.
230 * nfs-utils.spec.in (Release): Set to @RELEASE@.
231 * configure: Regenerated.
232 * nfs-utils.spec: Likewise.
234 2001-03-11 H.J. Lu <hjl@lucon.org>
236 * utils/rquotad/rquotad.man: Fix a typo.
238 2001-03-11 H.J. Lu <hjl@lucon.org>
240 * support/include/rpcmisc.h: Undo the change made on 2001-03-10.
241 * support/nfs/rpcmisc.c: Likewise.
242 * utils/rquotad/rquota_svc.c: Likewise.
243 * utils/rquotad/rquotad.man: Likewise.
244 * utils/statd/Makefile: Likewise.
245 * utils/statd/rmtcall.c: Likewise.
246 * utils/statd/simulate.c: Likewise.
247 * utils/statd/statd.c: Likewise.
248 * utils/statd/statd.man: Likewise.
250 2001-03-10 H.J. Lu <hjl@lucon.org>
252 * configure.in (VERSION): Set to "0.3.2".
253 * configure: Regenerated.
254 * nfs-utils.spec: Likewise.
256 * README: Updated for 0.3.2.
258 2001-03-10 Tavis Barr <tavis@boole.isetr.columbia.edu>
260 * utils/rquotad/rquotad.man: Updated for -p.
261 * utils/statd/statd.man: Likewise.
263 2001-03-10 Ion Badulescu <ionut@cs.columbia.edu>
265 * support/nfs/rpcmisc.c: export makesock()
267 * support/include/rpcmisc.h (makesock): Declared.
269 * utils/rquotad/rquota_svc.c: added longopts, added support for
270 specifying the port to bind to on the command line.
272 * utils/statd/statd.c: ditto, also specify port used for
273 outgoing connections.
274 (do_regist): Removed.
276 * utils/statd/rmtcall.c (statd_get_socket): Renamed from
277 get_socket. Make it extern.
279 * utils/statd/simulate.c (daemon_simulator): Call rpc_init
280 instead of do_regist.
282 * utils/statd/Makefile (LIBS): link with our own libnfs
284 2001-03-09 H.J. Lu <hjl@lucon.org>
286 * etc/redhat/nfslock.init: Changed chkconfig line to 60 86.
287 * etc/nodist/nfs-client: Likewise.
289 2001-02-26 Chip Salzenberg <chip@valinux.com>
291 * debian/changelog: Version 0.3.1-1.
292 * Mention upstream source and license in copyright file.
293 * Add build-Depends for debhelper and libwrap0-dev.
295 2001-02-20 Lon Hohberger <hohberger@missioncriticallinux.com>
297 * etc/nodist/nfs-server: Changed chkconfig line to 60 20
298 * etc/nodist/nfs-client: Likewise.
300 2001-02-18 Lon Hohberger <hohberger@missioncriticallinux.com>
302 * utils/statd/statd.man: Changed /usr/sbin/rpc.statd to
305 2001-02-17 Patrick J. LoPresti <patl@curl.com>
307 * utils/statd/log.c (log_init): Use LOG_DAEMON instead of
310 2001-02-14 H.J. Lu <hjl@lucon.org>
312 * utils/statd/rmtcall.c: Include <time.h>.
313 * utils/statd/svc_run.c: Likewise.
315 2001-02-14 H.J. Lu <hjl@lucon.org>
317 * configure.in (VERSION): Set to "0.3.1".
318 * configure: Regenerated.
319 * nfs-utils.spec: Likewise.
321 * README: Updated for 0.3.1.
323 2001-02-14 H.J. Lu <hjl@lucon.org>
325 * support/nfs/rpcmisc.c: Include <time.h>.
327 2001-02-14 Chip Salzenberg <chip@valinux.com>
329 * debian/control: Change priority of nhfsstone package to 'extra'.
331 2001-02-12 Chip Salzenberg <chip@valinux.com>
333 * debian/changelog: Version 0.3-2.
335 2001-02-02 H.J. Lu <hjl@lucon.org>
337 * support/include/rpcmisc.h (rpc_init): Remove bufsize.
339 * support/nfs/rpcmisc.c (makesock): Remove socksz and comment
340 out SO_SNDBUF/SO_RCVBUF.
341 (rpc_init): Remove bufsize and remove socksz in calls to
344 * utils/mountd/mountd.c (main): Remove bufsize in calls to
347 2001-01-28 Chip Salzenberg <chip@valinux.com>
349 * debian/changelog: Version 0.3-1.
351 2001-01-25 H.J. Lu <hjl@lucon.org>
353 * configure.in (VERSION): Set to "0.3".
354 * configure: Regenerated.
355 * nfs-utils.spec: Likewise.
357 * README: Updated for 0.3.
359 2001-01-25 H.J. Lu <hjl@lucon.org>
361 * utils/lockd/lockd.c (main): Ignore errno == EINVAL.
363 2001-01-20 Chip Salzenberg <chip@valinux.com>
365 * support/include/xio.h (xgetc): Declare to return int.
366 * support/nfs/xio.c (xgetc): Return int.
367 (xgettok, xskip, xskipcomment): Use int for value of xgetc.
368 * utils/statd/statd.c (main): Use int for value of getopt.
369 * debian/changelog: Version 0.2.1-5.
371 2000-12-10 Chip Salzenberg <chip@valinux.com>
373 * utils/statd/monitor.c (sm_mon_1_svc): Fix buggy check for
374 program and procedure numbers of kernel lockd's callback. Also,
375 besides the old (and broken) procedure #24, allow #16 per Trond.
377 2000-12-03 Chip Salzenberg <chip@valinux.com>
379 * support/nfs/xio.c (xfopen): Initialize x_line to one, not zero.
380 * debian/control: Let nhfsstone replace files in nfs-kernel-server.
381 * debian/changelog: Version 0.2.1-4.
383 2000-11-27 Tobias Ringstrom <tori@tellus.mine.nu>
385 * utils/mountd/auth.c (auth_authenticate): Log the bad path
388 2000-11-24 Neil Brown <neilb@cse.unsw.edu.au>
390 * support/nfs/exports.c (getexportent): Check for host name
391 without option, or options without hostname, and print a warning,
392 as this is most likely a typo.
394 2000-11-19 Chip Salzenberg <chip@valinux.com>
396 * debian/control: Add dependency on portmap.
397 * debian/changelog: Version 0.2.1-3.
399 2000-11-10 H.J. Lu <hjl@lucon.org>
401 * nfs-utils.spec.in: Don't use libtool.
402 Add ChangeLog and COPYING to doc.
403 * nfs-utils.spec: Rebuild.
405 2000-11-09 H.J. Lu <hjl@lucon.org>
407 * etc/redhat/nfs.init (start): Back out the last change.
409 2000-11-09 H.J. Lu <hjl@lucon.org>
411 * etc/redhat/nfs.init (start): Pass --no-tcp to mountd if
412 TCP is not supported by kernel.
414 * support/nfs/rpcmisc.c (rpc_init): Don't set _rpcfdtype to 0.
416 * utils/mountd/mountd.c (longopts): Add "-n/--no-tcp".
417 (main): Set to _rpcfdtype to SOCK_DGRAM for "-n/--no-tcp".
419 * utils/mountd/mountd.man: Updated for "-n/--no-tcp".
421 2000-10-24 Lon Hohberger <hohberger@missioncriticallinux.com>
423 * utils/statd/callback.c: Fix bug preventing callbacks to local lockd.
424 * utils/statd/rmtcall.c: Add some IP address paranoia when doing
425 callbacks to local lockd.
427 2000-10-18 Scott McDermott <mcdermot@questra.com>
429 * utils/exportfs/exports.man: Updated for CIDR netmask.
431 2000-10-17 Scott McDermott <mcdermot@questra.com>
433 * support/export/client.c (client_init): Support CIDR netmask
436 2000-10-11 H.J. Lu <hjl@lucon.org>
438 * aclocal.m4 (AC_TCP_WRAPPER): Fix a typo.
439 * configure: Rebuilt.
441 2000-10-06 Lon Hohberger <hohberger@missioncriticallinux.com>
443 * utils/statd/statd.man: Change "/var/lib/nfs/sm/state" to
444 "/var/lib/nfs/state".
446 2000-10-05 Lon Hohberger <hohberger@missioncriticallinux.com>
448 * utils/statd/statd.h (run_mode): New global bitmask of runtime
449 behaviors: fg/bg, logging, etc.
450 * utils/statd/statd.c: New command line options: -V -h -? -d .
451 * utils/statd/statd.man: Update for changes to statd.
453 * utils/statd/log.h (log_init): Remove parameter of function; use
454 global variable "name_p" instead.
455 * utils/statd/log.c: Add support for logging to stderr.
457 * utils/statd/notlist.c: Partially rewrite notify list handling
458 functions. Eliminate run-off-end-of-list bug when calling
459 nlist_insert_timer. Add lots of comments.
461 2000-09-27 H.J. Lu <hjl@lucon.org>
463 * README: Updated for RedHat 7.0.
465 2000-09-27 H.J. Lu <hjl@lucon.org>
467 * nfs-utils.spec: Rebuild.
469 2000-09-27 H.J. Lu <hjl@lucon.org>
471 * README: Updated for 0.2.1.
473 2000-09-27 H.J. Lu <hjl@lucon.org>
475 * nfs-utils.spec.in: Updated to use rpm macros and support
478 2000-09-25 H.J. Lu <hjl@lucon.org>
480 * configure.in (VERSION): Set to "0.2.1".
481 * configure: Regenerated.
482 * nfs-utils.spec: Updated.
484 2000-09-25 H.J. Lu <hjl@lucon.org>
486 * utils/mountd/auth.c (auth_authenticate_internal): Make sure a
487 non-NULL hostent is always returned.
489 2000-09-11 Ion Badulescu <ionut@cs.columbia.edu>
491 * etc/redhat/nfslock.init: don't kill lockd processes that do not
492 have an executable (i.e. kernel threads)
494 2000-09-01 H.J. Lu <hjl@lucon.org>
496 * README: Updated for 0.2.
498 2000-09-01 Jay Weber <jweber@valinux.com>
500 * etc/redhat/nfs.init: Added ability for rpc.mountd to default to
501 supporting version 3 of nfs if available, else it will fall back to
502 version 2 support only.
504 2000-08-30 H.J. Lu <hjl@lucon.org>
506 * configure.in (VERSION): Set to "0.2".
507 * configure: Regenerated.
508 * nfs-utils.spec: Updated.
510 2000-08-25 H.J. Lu <hjl@lucon.org>
512 * support/misc/tcpwrapper.c (logit): Modify the log output.
514 2000-08-25 Ion Badulescu <ionut@cs.columbia.edu>
516 * utils/rquotad/rquotad.man, utils/statd/statd.man,
517 utils/mountd/mountd.man: updated
519 * utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL)
520 * utils/rquotad/Makefile: fix comment
522 * support/misc/tcpwrapper.c (logit): added comment about waiting
523 for the children after fork()
525 * utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving
526 zombies behind (from logit()'s fork)
527 * utils/rquotad/rquota_svc.c (main): ditto
528 * utils/statd/statd.c (main): ditto
530 * utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG
531 to check_default instead of 0, for prognum
533 * utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG
534 to check_default instead of 0, for prognum
536 * utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if
537 HAVE_TCP_WRAPPER is defined.
538 (mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is
539 defined. Reject an RPC call if check_default () fails.
541 2000-08-25 H.J. Lu <hjl@lucon.org>
543 * support/include/tcpwrapper.h: New for the tcp wrapper
545 * support/misc/Makefile: Likewise.
546 * support/misc/from_local.c: Likewise.
547 * support/misc/tcpwrapper.c: Likewise.
549 * aclocal.m4 (AC_TCP_WRAPPER): New.
550 * configure.in: Use it. Substitute LIBWRAP.
551 * configure: Rebuilt.
553 * config.mk.in (LIBNSL): New.
556 * support/Makefile (SUBDIRS): Add misc.
558 * support/lib/Makefile (LIBS): Add libmisc.a.
560 * utils/rquotad/Makefile (LIBS): Add
562 -lmisc $(LIBWRAP) $(LIBNSL)
564 * utils/statd/Makefile (LIBS): Likewise.
566 * utils/rquotad/rquota_svc.c: Include "tcpwrapper.h" if
567 HAVE_TCP_WRAPPER is defined.
568 (rquotaprog_1): Call check_default () if HAVE_TCP_WRAPPER is
569 defined. Reject an RPC call if check_default () fails.
571 * utils/statd/statd.c: Include "tcpwrapper.h" if
572 HAVE_TCP_WRAPPER is defined.
573 (sm_prog_1_wrapper): New. A wrapper for sm_prog_1. Call
574 check_default () before calling sm_prog_1 (). Define it as
575 sm_prog_1_wrapper if HAVE_TCP_WRAPPER is defined.
577 2000-08-25 Chip Salzenberg <chip@valinux.com>
579 * debian/*: Complete Debian build support.
580 * etc/debian/*: Remove.
582 2000-08-24 Neil Brown <neilb@cse.unsw.edu.au>
584 * support/export/client.c(client_check): removed the "dot+1" as a
585 ypdomain argument to innetgr as this is entirely bogus.
586 It should always be NULL.
588 2000-08-23 Neil Brown <neilb@cse.unsw.edu.au>
590 * support/export/xtab.c(xtab_read): introduce new mode for
591 reading xtab. i.e. a list of exports that might be known to the
592 kernel, or might not. These are flagged as m_exported == -1
593 * support/export/xtab.c(xtab_mount_read): call xtab_read with new
594 value "2" for xtab, meaning don't trust this too much.
595 * support/include/exportfs.h(struct mexport): changed m_exported
596 from one bit to an int so that it can hold new value
597 * utils/exportfs/exportfs.c(exportfs_ipdate): add an export to the
598 kernel if it is uncertain whether the kernel knows (m_exported == -1)
599 * utils/mountd/mountd.c(get_rootfh): similarly export to kernel if
602 * support/nfs/xio.c(xflock): added O_CREAT when getting
603 a write lock so that missing files aren't fatal.
605 * etc/debian/nfs-common: new file from "potato"
606 * etc/debian/nfs-kernel-server: new file from "potato" plus fixes.
608 2000-08-09 H.J. Lu <hjl@lucon.org>
610 * etc/redhat/nfs.init: Run /usr/sbin/exportfs first during
611 startup to ensure all existing clients work fine.
613 * support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0
614 to xtab_read () for reading _PATH_XTAB.
616 2000-08-02 H.J. Lu <hjl@lucon.org>
618 * utils/mountd/auth.c (auth_authenticate_internal): Try to
619 avoid the reverse name lookup.
621 2000-07-04 H.J. Lu <hjl@lucon.org>
623 * utils/statd/log.c: Include <stdlib.h> for exit ().
625 * utils/statd/misc.c (xunlink): Add `{' and `}' to quiet the
628 2000-07-04 H.J. Lu <hjl@lucon.org>
630 * configure.in (VERSION): Set to "0.1.9.1".
631 * configure: Regenerated.
632 * nfs-utils.spec: Updated.
636 2000-07-04 Neil Brown <neilb@cse.unsw.edu.au>
638 * support/export/hostname.c (hostent_dup): Handle the NULL
641 2000-07-03 H.J. Lu <hjl@lucon.org>
643 * README: Update the util-linux requirement.
645 2000-07-03 H.J. Lu <hjl@lucon.org>
647 * configure.in (VERSION): Set to "0.1.9".
648 * configure: Regenerated.
649 * nfs-utils.spec: Updated.
653 2000-07-03 H.J. Lu <hjl@lucon.org>
655 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
656 stop to ensure all clients can still access the server
657 before it is shutdown.
659 2000-06-30 Jeff Uphoff <juphoff@transmeta.com>
661 * tools/rpcgen/rpc_svcout.c (write_msg_out): Generate syslog()
662 calls with format string.
664 2000-06-28 Chip Salzenberg <chip@valinux.com>
666 * utils/statd/log.c (log): Call syslog with format string.
668 2000-06-27 H.J. Lu <hjl@lucon.org>
670 * utils/statd/statd.c (main): Use sysconf (_SC_OPEN_MAX)
673 2000-06-27 H.J. Lu <hjl@lucon.org>
677 2000-06-27 H.J. Lu <hjl@lucon.org>
679 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
680 startup to ensure all existing clients are exported.
682 * configure.in (VERSION): Set to "0.1.8.2".
683 * configure: Regenerated.
684 * nfs-utils.spec: Updated.
686 2000-06-06 H.J. Lu <hjl@lucon.org>
688 * configure.in (VERSION): Set to "0.1.8.1".
689 * configure: Regenerated.
690 * nfs-utils.spec: Updated.
692 2000-06-06 H.J. Lu <hjl@lucon.org>
694 * utils/mountd/mountd.c (mount_dump_1_svc): Cast svc_getcaller
695 to "struct sockaddr_in *" for glibc 2.2.
696 (mount_umnt_1_svc): Likewise.
697 (mount_umntall_1_svc): Likewise.
698 (mount_export_1_svc): Likewise.
699 (mount_exportall_1_svc): Likewise.
700 (mount_pathconf_2_svc): Likewise.
701 (get_rootfh): Likewise.
703 2000-06-04 H.J. Lu <hjl@lucon.org>
705 * etc/redhat/nfs.init: Fix a typo in comment.
707 2000-05-31 H.J. Lu <hjl@lucon.org>
709 * configure.in (VERSION): Set to "0.1.8".
710 * configure: Regenerated.
711 * nfs-utils.spec: Updated.
715 2000-05-31 H.J. Lu <hjl@lucon.org>
717 * configure.in (VERSION): Set to "0.1.7.5".
718 * configure: Regenerated.
719 * nfs-utils.spec: Updated.
721 * support/include/nfslib.h (exportent): Add a new field,
722 r_count, to count the number of mounts from a client.
723 (getrmtabent): Take a new argument for position in file.
724 (putrmtabent): Likewise.
725 (fgetrmtabent): Likewise.
726 (fputrmtabent): Likewise.
727 * support/nfs/rmtab.c (getrmtabent): Handle the new argument
728 for position in file.
729 (fgetrmtabent): Likewise.
730 (putrmtabent): Likewise.
731 (fputrmtabent): Likewise.
733 * support/nfs/rmtab.c (fgetrmtabent): Get value for the new
736 * support/export/rmtab.c (rmtab_read): Pass NULL as the new
737 argument to getrmtabent (), fgetrmtabent (), putrmtabent ()
739 * utils/mountd/rmtab.c (mountlist_add): Likewise.
740 (mountlist_del): Likewise.
741 (mountlist_del_all): Likewise.
742 (mountlist_list): Likewise.
744 * utils/mountd/rmtab.c (mountlist_add): Increment "r_count"
745 for the existing entry and initialize "r_count" to 1.
746 (mountlist_del): Decrement "r_count".
748 2000-05-18 H.J. Lu <hjl@lucon.org>
750 * configure.in (VERSION): Set to "0.1.7.4".
751 * configure: Regenerated.
752 * nfs-utils.spec: Updated.
754 2000-05-18 H.J. Lu <hjl@lucon.org>
756 * etc/redhat/nfs.init (restart): Just do stop and start.
758 2000-05-09 Jay Weber <jweber@valinux.com>
760 * utils/rquotad/hasquota.c: added support for ext3 recognition
762 * utils/rquotad/mntent.h: Likewise.
764 2000-05-01 H.J. Lu <hjl@lucon.org>
766 * configure.in (VERSION): Set to "0.1.7.3".
767 * configure: Regenerated.
768 * nfs-utils.spec: Updated.
770 2000-05-01 H.J. Lu <hjl@lucon.org>
772 * utils/rquotad/rquota_server.c (getquotainfo): Skip bad
773 mounting poins in /etc/fstab.
775 2000-05-01 H.J. Lu <hjl@lucon.org>
777 * configure.in (VERSION): Set to "0.1.7.2".
778 * configure: Regenerated.
779 * nfs-utils.spec: Updated.
781 2000-05-01 H.J. Lu <hjl@lucon.org>
783 * utils/rquotad/rquota_server.c (getquotainfo): Call stat ()
784 to check for the mounting point.
786 2000-04-29 Chip Salzenberg <chip@valinux.com>
787 Neil Brown <neilb@cse.unsw.edu.au>
789 * Really re-use RPC ports.
790 (Fixes earlier patch. Sorry, Neil.)
792 2000-04-26 H.J. Lu <hjl@lucon.org>
794 * configure.in (VERSION): Set to "0.1.7.1".
795 * configure: Regenerated.
796 * nfs-utils.spec: Updated.
798 2000-04-26 H.J. Lu <hjl@lucon.org>
800 * etc/redhat/nfslock.init: Check if lockd exits before killing
803 2000-04-25 H.J. Lu <hjl@lucon.org>
805 * README: Require util-linux-2.10f-mount-rpc.patch for mount.
807 2000-03-21 Michael Weiser <michael@weiser.saale-net.de>
809 * support/nfs/exports.c (parsesquash): Correctly set the
812 Tue Mar 21 11:38:48 EST 2000 NeilBrown <neilb@cse.unsw.edu.au>
814 * support/include/nfs/nfs.h: Removed knowledge of internals of
815 kernel filehandles (which can change) and defined nfs_fh_size
816 which has variable size
818 * support/nfs/getfh.c: defined getfh_size to use new syscall to
819 get variable sized file handles, and change getfh{,old} to
822 * utils/mountd/mountd.c: use nfd_fh_size and call getfh_size for
825 * tools/Makefile, tools/nlmtest/nlmtest.c
826 nlmtest.c depended on internel format of file handles, so now
830 2000-03-12 Chip Salzenberg <chip@valinux.com>
831 Neil Brown <neilb@cse.unsw.edu.au>
833 * support/nfs/rpcmisc.c (rpc_init): Share transports.
835 2000-03-13 H.J. Lu <hjl@lucon.org>
837 * etc/redhat/nfsd.init: Updated.
839 * etc/redhat/nfslock.init: Updated.
841 * nfs-utils.spec.in: Updated.
843 * configure.in (VERSION): Set to "0.1.7".
844 * configure: Regenerated.
845 * nfs-utils.spec: Updated.
849 Wed Mar 8 09:42:43 2000 Neil Brown <neilb@cse.unsw.edu.au>
851 * utils/exportfs/exportfs.c (dump): Included printing of
852 nohide, no_subtree_check, and insecure_locks
854 2000-02-26 Chip Salzenberg <chip@valinux.com>
856 * config.mk.in (INSTALLSUID): Strip ("-s").
857 (INSTALLSCRIPT): Define.
858 * utils/nhfsstone/Makefile: Use it.
860 2000-02-26 Chip Salzenberg <chip@valinux.com>
862 * utils/lockd/lockd.man: Create.
863 * utils/lockd/Makefile: Install it.
864 * utils/nhfsstone/nhfs{run,nums,graph}.man: Create.
865 * utils/nhfsstone/nhfsstone.man: Change suffix from ".1".
866 * utils/nhfsstone/Makefile: Install the helper scripts and
868 * utils/exportfs/exports.man: Fix typo.
870 2000-02-26 Chip Salzenberg <chip@valinux.com>
872 * support/nfs/xio.c (xungetc): Decrement line number when
873 character to unget is newline. Make first parameter int, so
874 it can distinguish EOF from \377.
875 * support/include/xio.h (xungetc): Adjust prototype.
877 Fri Feb 4 23:42:23 2000 Neil Brown <neilb@cse.unsw.edu.au>
879 * support/include/nfs/export.h: added NFSEXP_NOAUTHNLM
880 * support/nfs/exports.c: added handling for NFSEXP_NOAUTHNLM
881 * utils/exportfs/exports.man: added documentation for no_auth_nlm.
883 This is for supporting a new option introduced in 2.3.42
885 Thu Feb 3 14:55:48 2000 H.J. Lu <hjl@lucon.org>
887 * COPYING: Added. GPL.
889 Thu Feb 03 14:40:40 2000 Cristian Gafton <gafton@redhat.com>
891 * utils/rquotad/rquota_server.c (getquotainfo): Call statfs ()
892 to get the block size.
894 Tue Jan 25 11:04:17 2000 H.J. Lu <hjl@lucon.org>
896 * nfs-utils.spec.in: Update ftp site.
898 Mon Jan 17 11:48:18 2000 H.J. Lu <hjl@lucon.org>
900 * README: Update hostnames.
902 Tue Jan 11 10:06:22 2000 H.J. Lu <hjl@lucon.org>
904 * configure.in (VERSION): Set to "0.1.6".
905 * configure: Regenerated.
906 * nfs-utils.spec: Updated.
910 Mon Jan 10 14:26:33 2000 H.J. Lu <hjl@lucon.org>
912 * utils/mountd/auth.c (auth_authenticate_internal): Call
913 xstrdup for hostname before passing it to gethostbyname.
915 * utils/mountd/mountd.c (get_exportlist): Use xstrdup instead
918 Sun Dec 19 09:35:01 1999 H.J. Lu <hjl@lucon.org>
920 * README: Update the mailing list address.
922 Sun Dec 19 09:22:28 1999 H.J. Lu <hjl@lucon.org>
924 * configure.in (VERSION): Set to "0.1.5".
925 * configure: Regenerated.
926 * nfs-utils.spec: Updated.
930 Mon Dec 13 13:40:20 1999 H.J. Lu <hjl@lucon.org>
932 * utils/rquotad/hasquota.c (hasquota): Malloc one more char
935 Mon Dec 6 09:42:45 1999 H.J. Lu <hjl@lucon.org>
937 * configure.in (VERSION): Set to "0.1.4".
938 * configure: Regenerated.
939 * nfs-utils.spec: Updated.
943 Mon Dec 6 09:28:07 1999 H.J. Lu <hjl@lucon.org>
945 * nfs-utils.spec.in: New file.
947 * config.mk.in (VERSION): Changed to "nfs-utils @VERSION@".
949 * configure.in (nfs-utils.spec): Added to AC_OUTPUT.
951 1999-12-04 Chip Salzenberg <chip@valinux.com>
953 * config.mk.in: Use $(CC) as set by configure.
955 1999-12-04 Chip Salzenberg <chip@valinux.com>
957 * rules.mk: Call $(MAKE) with $(MFLAGS).
959 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
961 * tools/rpcgen/rpc_main.c (h_output): Generate IXDR_GET_INT32,
962 IXDR_PUT_INT32, IXDR_GET_U_INT32 and IXDR_PUT_U_INT32.
964 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
966 * nfs-utils.spec (Version): Set to 0.1.3.
968 * configure.in (VERSION): Set to "nfs-utils 0.1.3".
969 * configure: Regenerated.
973 Mon Nov 29 11:15:47 1999 H.J. Lu <hjl@lucon.org>
975 * utils/rquotad/rquota_server.c (nfsmount_to_devname): Removed.
976 (_PATH_DEV_DSK): Likewise.
977 (getquotainfo): Match the mounting point from /etc/mtab
978 instead of calling nfsmount_to_devname ().
980 1999-11-24 Chip Salzenberg <chip@valinux.com>
982 * utils/statd/monitor.c (sm_mon_1_svc): Accept lockd callbacks
983 to the new port 24 as well as the historical port 100021.
985 Tue Nov 23 10:21:34 1999 Neil Brown <neilb@cse.unsw.edu.au>
987 * etc/redhat/nfsd.init (stop): moved exportfs -ua after
988 stopping nfsd to stop spurious ESTALE on server shutdown.
990 Tue Nov 23 10:13:39 1999 Neil Brown <neilb@cse.unsw.edu.au>
992 * support/nfs/exports.c (parseopts): make copy of opt string
993 before 'nul'ing out commas so that
995 # exportfs -o option1,option2 hosta:/fs hostb:/fs
997 applies both options to both exports.
999 Thu Oct 28 12:55:42 1999 H.J. Lu <hjl@lucon.org>
1001 * README: Fix a few typos.
1003 * tools/rpcgen/rpc_cout.c (print_header): Use int32_t instead
1005 * tools/rpcgen/rpc_hout.c (pdefine): Likewise.
1006 * tools/rpcgen/rpc_main.c (c_initialize): Likewise.
1007 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1008 (unsigned_dec): Likewise.
1009 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1010 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1012 * tools/rpcgen/rpc_cout.c (emit_single_in_line): Use INT32
1014 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1015 (unsigned_dec): Likewise.
1016 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1017 * tools/rpcgen/rpc_scan.h (tok_kind): Likewise.
1018 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1020 Thu Oct 28 11:27:51 1999 Neil Brown <neilb@cse.unsw.edu.au>
1022 * support/include/nfs/export.h addedd NFSEXP_NOSUBTREECHECK
1023 * support/nfs/exports.c: added {no_,}subtree_check and changed
1025 * utils/exportfs/exports.man: added no_subtree_check and nohide
1026 and removed irrelevant stuff from unfsd.
1027 * support/export/rmtab.c: rmtab_read didn't quite do the right
1028 thing if a pathname from rmtab was a subdirectory of an export-point
1030 Tue Oct 26 17:22:40 1999 H.J. Lu <hjl@lucon.org>
1032 * README: Updated ftp site.
1034 Mon Oct 25 18:12:45 1999 H.J. Lu <hjl@lucon.org>
1036 * nfs-utils.spec (Version): Set to 0.1.2.
1038 * configure.in (VERSION): Set to "nfs-utils 0.1.2".
1039 * configure: Regenerated.
1043 Mon Oct 25 18:11:21 1999 H.J. Lu <hjl@lucon.org>
1045 * utils/mountd/auth.c (auth_error): Add "no_forward_dns".
1046 (auth_authenticate_internal): Check for NULL return on forward
1048 (auth_authenticate): Handle "no_forward_dns".
1050 Thu Oct 21 16:22:06 1999 H.J. Lu <hjl@lucon.org>
1052 * Version 0.1.1 released.
1054 * nfs-utils.spec (Version): Set to 0.1.1.
1056 * configure.in (VERSION): Set to "nfs-utils 0.1.1".
1057 * configure: Regenerated.
1061 Mon Oct 18 17:43:29 1999 H.J. Lu <hjl@lucon.org>
1063 * nfs-utils.spec (Obsoletes): Fixed a typo, change knfsd-client
1065 (Provides): Likewise.
1067 Mon Oct 18 14:56:22 1999 H.J. Lu <hjl@lucon.org>
1069 * Initial version 0.1 released.
1071 * configure.in (VERSION): Set to "nfs-utils 0.1".
1072 * configure: Regenerated.
1074 Mon Oct 18 14:54:57 1999 H.J. Lu <hjl@lucon.org>
1076 * utils/mountd/mountd.c (get_exportlist): Cleanup.
1078 * utils/exportfs/exportfs.c (unexport_all): Unexport from
1079 kernel only if the entry is exported to kernel.
1080 (unexportfs): Likewise.
1082 Wed Sep 08 16:49:32 1999 Neil Brown <neilb@cse.unsw.edu.au>
1084 1/ utils/mountd/rmtab.c::mountlist_list
1086 This routine stats the rmtab file to see if it has changed. It
1087 if has, it cleans up it's old copy of the data. But it still
1088 always re-read the file, thus returning multiple copies of the
1089 data on consecutive calls without intervening changes.
1090 "Showmount -a" didn't show this as it appears to sort/unique the
1091 data, but 'strace showmount -a' showed that the size of the
1092 datagram that it received grew.
1094 I moved the getrmtabent loop inside the mtime test.
1096 2/ utils/exportfs/exportfs.c
1098 Many routines used the m_path field of m_export instead of
1100 According to the comment in nfslib.h, m_path should only
1101 be used when processing a mount request (i.e. in mountd)
1102 where the mountpoint may be a subdirectory of the export point.
1104 I changed all occurances of m_path to e_path
1107 3/ utils/exportfs/exportfs.c:main
1109 extra arguments are not meaningful with -a or -r, but
1110 exportfs accepted them and then ignored the -a/-r, expect that
1111 -r would still unexport everything first.
1113 I generate an error if there are extra args and f_all
1115 4/ utils/exportfs/exportfs.c:main
1116 extract dump out as a special case.
1118 5/ utils/exportfs/exportfs.c
1119 made f_reexport a local variable.
1122 6/ utils/exportfs/exportfs.c:main,exportall
1124 support/export/rmtab.c
1125 only mayexport on newly created entries, don't set xtabent at all
1127 7/ support/include/nfslib.h
1129 add #define _PATH_PROC_EXPORTS to be /proc/fs/nds/exports
1131 8/ support/export/xtab.c
1133 xtab_mount_read loads data from _PATH_PROC_EXPORTS if it exists,
1137 9/ support/export/xtab.c
1139 xtab_mount_read now sets m_exported, and NOT
1140 xtabent and mayexport
1142 removed the append arguement from xtab_write as it was
1145 added is_export flag to xtab_write similar to xtab_read
1146 if is_export, only write entries with m_xtabent or m_addxtab
1147 if !is_export, only write entries with m_exported
1149 10/ support/export/export.c::export_allowed_internal
1151 added test for exp->m_mayexport, as the export tree
1152 may have entries that are no longer allowed to be exported,
1153 and so shouldn't caused deduced exported by rmtab_read
1155 11/ utils/exportfs/exportfs.c::main
1156 error checking of flags.
1158 12/ utils/exportfs/exportfs.c
1160 total rewrite of export and unexport logic.
1162 - build an exportslist of valid exports, based on
1163 current etab file and arguments,
1164 - read rmtab to instantiate relevant wild card entries
1165 - read etab to find out what is currently exported
1166 - synchronise intention with reality
1167 - write out etab and xtab
1170 discard the m_addxtab flag
1171 add m_changed flag so we know what to report in exportfs
1173 14/ utils/mountd/auth.c:auth_authenticate
1175 the value returned by gethostbyaddr was trusted.
1177 It now follows this with a call to gethostbyname
1178 and checks that the address is in the list.
1180 15/ support/export/nfsctl.c::cltsetup,expsetup
1182 force client names to lowercase as kernel is
1185 16/ quietened a few compiler warnings
1187 17/ support/export/client:client_lookup
1189 look for pre-existing client with same name before creating
1192 18/ support/include/exportfs.h
1194 The ordering of the MCL_* enum was:
1195 ANONYMOUS, FQDN, SUBNETWORK, WILDCARD, NETGROUP
1197 I moved ANONYMOUS to the end.
1199 The ordering is significant when an export entry is being searched for to
1200 match a given address. There are two problems with ANONYMOUS being first.
1202 1/ if a directory is exported rw to a couple of hosts and ro to everyone else,
1203 then the ro case will always be found first and the privileged hosts won't get
1205 2/ When mountd gets a request to mount an ANONYMOUSly exported tree, it creates a FQDN
1206 export entry for the specific host, and writes it to xtab.
1207 When another request comes from the same host, the ANONYMOUS entry is found again,
1208 before the new FQDN entry, so it creates another FQDN entry and writes it to xtab
1209 again. If causes bloat in xtab.
1211 Putting ANONYMOUS at the end reflects it's nature as a catch-all
1213 19/ utils/exportfs/exportfs.man
1214 many updates to the man page to reflect changes to the code
1216 -----------------------
1222 - allow exportfs to modify rmtab file
1223 - make sure kernel never gets two clients with same IP address
1224 - possible kernel should reject
1225 - needs to be some way to lookup client in kernel by IP address
1226 - maybe get kernel to do case-insensitive comparisons on client names
1227 - remove unused clients from kernel
1229 - change etab to xtab and xtab to xtab.active
1231 - timestamp and/or statd-stamp in rmtab for removing old entries.
1233 Mon Oct 18 11:48:07 1999 H.J. Lu <hjl@lucon.org>
1235 * linux-nfs: New directory.
1236 * linux-nfs/ChangeLog: Moved from ..
1237 * linux-nfs/INSTALL: Likewise.
1238 * linux-nfs/KNOWNBUGS: Likewise.
1239 * linux-nfs/NEW: Likewise.
1240 * linux-nfs/README: Likewise.
1241 * linux-nfs/THANKS: Likewise.
1242 * linux-nfs/TODO: Likewise.
1244 * Starting from knfsd 1.4.7.