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