1 2001-10-11 Chip Salzenberg <chip@pobox.com>
3 * utils/mountd/mountd.c (main): Close fds > 2 _before_ RPC init.
4 * debian/changelog: Version 0.3.3-2.
6 2001-10-08 Chip Salzenberg <chip@pobox.com>
8 * utils/mountd/mountd.c (main): When daemonizing, close all fds > 2.
9 * utils/Makefile.in: Remove old Makefile in target 'distclean'.
10 * utils/mountd/mountd.man: Update paths to /var/lib.
11 * debian/*: Version 0.3.3-1, with Debian-specific fixes.
13 2001-10-06 Preston Brown <pbrown@redhat.com>
15 * utils/nfsstat/nfsstat.man: Updated.
17 2001-09-24 H.J. Lu <hjl@lucon.org>
19 * configure.in (VERSION): Set to "0.3.3".
20 * configure: Regenerated.
21 * nfs-utils.spec: Likewise.
23 * README: Updated for 0.3.3.
25 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
27 Arrange that "exportfs -au" never does DNS lookup:
29 * support/export/client.c (client_lookup) : add "canonical"
30 flag which says that the hostname is known to be canonical, so
33 * support/export/export.c (export_create) : add "canonical"
34 flag to be passed down to client_lookup
35 * support/export/export.c (export_lookup) : Likewise
37 * support/export/xtab.c (xtab_read) : pass appropriate
38 "canonical" flag to export_lookup and export_create:
39 set if reading list of filesystems currently exports
42 * support/export/export.c (export_read) : pass 0 as
43 "canonical" flag to export_lookup and export_create
44 * support/export/rmtab.s (rmtab_read) : Likewise
46 * support/include/exportfs.h : redeclare various routines
47 to have "canonical" flag
49 * utils/exportfs/exportfs.c (main) : redo logic for
50 "-au" to read in what is currently exported, but never even
51 look at what "should" be exported.
53 * utils/exportfs/exportfs.c (unexportall) : remove this
54 routine. Functionality is completely included in
57 * utils/exportfs/exportfs.c (exportfs) : set "canonical"
58 flag to zero in calls to export_lookup and export_create.
61 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
62 Anne Milicia <milicia@missioncriticallinux.com>
64 * support/export/client.c (client_lookup) call gethostbyadd
65 to make sure that we have a canonical hostname, even for
67 * utils/exportfs/exportfs.c (exportfs) Likewise
69 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
71 * support/nfs/exports.c (putexportent): \octal quote any spaces
73 * support/nfs/xio.c (xgettok): recognise double-quote and
74 \octal quoting in path names
75 * utils/exportfs/exports.man: document quoting conventions
78 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
80 * utils/mountd/auth.c (auth_authenticate_internal): Reverse
81 change from 2000-08-02: It causes problems if someone exports
82 to both a hostname and IP addresses. nfs-utils must be
83 consistant about the canonical name that it chooses.
85 2001-08-17 Ragnar Kjørstad <nfs@ragnark.vestdata.no>
86 H.J. Lu <hjl@lucon.org>
88 * etc/redhat/nfslock.init (STATDARG): New. Pass it to rpc.statd.
90 * utils/statd/statd.c (longopts): Add "name".
91 (usage): Add "-n/--name".
92 (main): Set MY_NAME with "-n/--name".
94 * utils/statd/state.c (change_state): Set MY_NAME only if it
97 * utils/statd/statd.man: Updated for "-n/--name".
99 2001-07-26 H.J. Lu <hjl@lucon.org>
101 * nfs-utils.spec (Release): Set to 8.
103 2001-07-25 H.J. Lu <hjl@lucon.org>
105 * etc/redhat/nfs.init: Check if rpc.rquotad exists before doing
108 2001-06-27 H.J. Lu <hjl@lucon.org>
110 * etc/redhat/nfs.init: Run rpc.rquotad only if it exists.
112 2001-06-27 H.J. Lu <hjl@lucon.org>
114 * utils/rquotad/rquota_server.c: Don't call statfs () for
115 the block size. Use BLOCK_SIZE instead.
117 2001-06-27 H.J. Lu <hjl@lucon.org>
119 * config.mk.in (CC_FOR_BUILD): Renamed from BUILD_CC.
120 (CFLAGS_FOR_BUILD): New. Don't use @CFLAGS@.
122 * configure.in (enable_nfsv3): Set to yes by default.
123 (--enable-rquotad): Added
124 (AC_PROG_CXX): Removed.
125 (AC_OUTPUT): Add utils/Makefile.
126 (CC_FOR_BUILD): Renamed from BUILD_CC.
127 * configure: Regenerated.
129 * utils/Makefile: Removed.
131 * utils/Makefile.in: New.
133 * nfs-utils.spec.in (rquotad): New. Set to 0 to disable
135 (CC_FOR_BUILD): Renamed from BUILD_CC.
136 * nfs-utils.spec: Regenerated.
138 2001-06-15 Chip Salzenberg <chip@debian.org>
140 * debian/changelog: Version 0.3.2-2.
141 * debian/*.init: Minor fixes.
143 2001-06-07 Lon H. Hohberger <hohberger@missioncriticallinux.com>
145 * etc/nodist/nfs-server: Fixed a bug where the script would
146 disable mounts from NFSv3 clients if NFSv3 is present.
148 2001-06-05 H.J. Lu <hjl@lucon.org>
150 * utils/mountd/mountd.c (longopts): Add "descriptors/o".
151 (main): Support --descriptors/-o to set the limit of the number
152 of open file descriptors.
155 * utils/mountd/mountd.man: Updated for --descriptors/-o.
157 2001-06-04 H.J. Lu <hjl@lucon.org>
159 * nfs-utils.spec (Release): Set to 6.
161 2001-05-28 H.J. Lu <hjl@lucon.org>
163 * utils/lockd/lockd.c (main): chdir to NFS_STATEDIR.
164 * utils/mountd/mountd.c (main): Likewise.
165 * utils/nfsd/nfsd.c (main): Likewise.
166 * utils/rquotad/rquota_svc.c (main): Likewise.
168 2001-05-06 Anne Milicia <milicia@missioncriticallinux.com>
170 * support/export/client.c (client_check): Check IP address
173 2001-05-06 Neil Brown <neilb@cse.unsw.edu.au>
175 * support/export/client.c (client_gettype): Treat `*' as
178 2001-04-22 H.J. Lu <hjl@lucon.org>
180 * nfs-utils.spec.in: Fix a typo.
181 * nfs-utils.spec: Regenerated.
183 2001-04-21 H.J. Lu <hjl@lucon.org>
185 * nfs-utils.spec.in: Fix cross build.
186 * nfs-utils.spec: Regenerated.
189 2001-04-18 H.J. Lu <hjl@lucon.org>
191 * nfs-utils.spec.in: Support cross build.
192 * nfs-utils.spec: Regenerated.
198 * config.mk.in (BUILD_CC): New.
199 (CC): Set to $(BUILD_CC) if BUILD is defined.
202 (RANLIB): Set to @RANLIB@.
204 * configure.in: Check BUILD_CC, RANLIB, AR and LD.
205 * configure: Regenerated.
207 * tools/rpcgen/Makefile (BUILD): Set to true.
209 2001-04-01 Chip Salzenberg <chip@valinux.com>
211 * tools/rpcgen/rpc_svcout.c (write_timeout_func): Remove
212 redundant, and sometimes broken, declaration of svc_fdset;
214 * support/nfs/rpcmisc.c (closedown): Likewise.
216 2001-03-21 H.J. Lu <hjl@lucon.org>
218 * nfs-utils.spec: Regenerated.
221 2001-03-21 Ion Badulescu <ionut@cs.columbia.edu>
223 * utils/statd/statd.c (main): make sure file descriptors 0-2
224 are open to /dev/null.
226 2001-03-21 H.J. Lu <hjl@lucon.org>
228 * support/nfs/rpcmisc.c: Restore the change made on 2001-03-10.
229 * support/nfs/rpcmisc.c: Likewise.
230 * utils/rquotad/rquota_svc.c: Likewise.
231 * utils/rquotad/rquotad.man: Likewise.
232 * utils/statd/Makefile: Likewise.
233 * utils/statd/rmtcall.c: Likewise.
234 * utils/statd/simulate.c: Likewise.
235 * utils/statd/statd.c: Likewise.
236 * utils/statd/statd.man: Likewise.
238 2001-03-11 H.J. Lu <hjl@lucon.org>
240 * configure.in (RELEASE): New. Default to 1, set by
241 --with-release=XXX. Substitute nfs-utils.spec.
242 * nfs-utils.spec.in (Release): Set to @RELEASE@.
243 * configure: Regenerated.
244 * nfs-utils.spec: Likewise.
246 2001-03-11 H.J. Lu <hjl@lucon.org>
248 * utils/rquotad/rquotad.man: Fix a typo.
250 2001-03-11 H.J. Lu <hjl@lucon.org>
252 * support/include/rpcmisc.h: Undo the change made on 2001-03-10.
253 * support/nfs/rpcmisc.c: Likewise.
254 * utils/rquotad/rquota_svc.c: Likewise.
255 * utils/rquotad/rquotad.man: Likewise.
256 * utils/statd/Makefile: Likewise.
257 * utils/statd/rmtcall.c: Likewise.
258 * utils/statd/simulate.c: Likewise.
259 * utils/statd/statd.c: Likewise.
260 * utils/statd/statd.man: Likewise.
262 2001-03-10 H.J. Lu <hjl@lucon.org>
264 * configure.in (VERSION): Set to "0.3.2".
265 * configure: Regenerated.
266 * nfs-utils.spec: Likewise.
268 * README: Updated for 0.3.2.
270 2001-03-10 Tavis Barr <tavis@boole.isetr.columbia.edu>
272 * utils/rquotad/rquotad.man: Updated for -p.
273 * utils/statd/statd.man: Likewise.
275 2001-03-10 Ion Badulescu <ionut@cs.columbia.edu>
277 * support/nfs/rpcmisc.c: export makesock()
279 * support/include/rpcmisc.h (makesock): Declared.
281 * utils/rquotad/rquota_svc.c: added longopts, added support for
282 specifying the port to bind to on the command line.
284 * utils/statd/statd.c: ditto, also specify port used for
285 outgoing connections.
286 (do_regist): Removed.
288 * utils/statd/rmtcall.c (statd_get_socket): Renamed from
289 get_socket. Make it extern.
291 * utils/statd/simulate.c (daemon_simulator): Call rpc_init
292 instead of do_regist.
294 * utils/statd/Makefile (LIBS): link with our own libnfs
296 2001-03-09 H.J. Lu <hjl@lucon.org>
298 * etc/redhat/nfslock.init: Changed chkconfig line to 60 86.
299 * etc/nodist/nfs-client: Likewise.
301 2001-02-26 Chip Salzenberg <chip@valinux.com>
303 * debian/changelog: Version 0.3.1-1.
304 * Mention upstream source and license in copyright file.
305 * Add build-Depends for debhelper and libwrap0-dev.
307 2001-02-20 Lon Hohberger <hohberger@missioncriticallinux.com>
309 * etc/nodist/nfs-server: Changed chkconfig line to 60 20
310 * etc/nodist/nfs-client: Likewise.
312 2001-02-18 Lon Hohberger <hohberger@missioncriticallinux.com>
314 * utils/statd/statd.man: Changed /usr/sbin/rpc.statd to
317 2001-02-17 Patrick J. LoPresti <patl@curl.com>
319 * utils/statd/log.c (log_init): Use LOG_DAEMON instead of
322 2001-02-14 H.J. Lu <hjl@lucon.org>
324 * utils/statd/rmtcall.c: Include <time.h>.
325 * utils/statd/svc_run.c: Likewise.
327 2001-02-14 H.J. Lu <hjl@lucon.org>
329 * configure.in (VERSION): Set to "0.3.1".
330 * configure: Regenerated.
331 * nfs-utils.spec: Likewise.
333 * README: Updated for 0.3.1.
335 2001-02-14 H.J. Lu <hjl@lucon.org>
337 * support/nfs/rpcmisc.c: Include <time.h>.
339 2001-02-14 Chip Salzenberg <chip@valinux.com>
341 * debian/control: Change priority of nhfsstone package to 'extra'.
343 2001-02-12 Chip Salzenberg <chip@valinux.com>
345 * debian/changelog: Version 0.3-2.
347 2001-02-02 H.J. Lu <hjl@lucon.org>
349 * support/include/rpcmisc.h (rpc_init): Remove bufsize.
351 * support/nfs/rpcmisc.c (makesock): Remove socksz and comment
352 out SO_SNDBUF/SO_RCVBUF.
353 (rpc_init): Remove bufsize and remove socksz in calls to
356 * utils/mountd/mountd.c (main): Remove bufsize in calls to
359 2001-01-28 Chip Salzenberg <chip@valinux.com>
361 * debian/changelog: Version 0.3-1.
363 2001-01-25 H.J. Lu <hjl@lucon.org>
365 * configure.in (VERSION): Set to "0.3".
366 * configure: Regenerated.
367 * nfs-utils.spec: Likewise.
369 * README: Updated for 0.3.
371 2001-01-25 H.J. Lu <hjl@lucon.org>
373 * utils/lockd/lockd.c (main): Ignore errno == EINVAL.
375 2001-01-20 Chip Salzenberg <chip@valinux.com>
377 * support/include/xio.h (xgetc): Declare to return int.
378 * support/nfs/xio.c (xgetc): Return int.
379 (xgettok, xskip, xskipcomment): Use int for value of xgetc.
380 * utils/statd/statd.c (main): Use int for value of getopt.
381 * debian/changelog: Version 0.2.1-5.
383 2000-12-10 Chip Salzenberg <chip@valinux.com>
385 * utils/statd/monitor.c (sm_mon_1_svc): Fix buggy check for
386 program and procedure numbers of kernel lockd's callback. Also,
387 besides the old (and broken) procedure #24, allow #16 per Trond.
389 2000-12-03 Chip Salzenberg <chip@valinux.com>
391 * support/nfs/xio.c (xfopen): Initialize x_line to one, not zero.
392 * debian/control: Let nhfsstone replace files in nfs-kernel-server.
393 * debian/changelog: Version 0.2.1-4.
395 2000-11-27 Tobias Ringstrom <tori@tellus.mine.nu>
397 * utils/mountd/auth.c (auth_authenticate): Log the bad path
400 2000-11-24 Neil Brown <neilb@cse.unsw.edu.au>
402 * support/nfs/exports.c (getexportent): Check for host name
403 without option, or options without hostname, and print a warning,
404 as this is most likely a typo.
406 2000-11-19 Chip Salzenberg <chip@valinux.com>
408 * debian/control: Add dependency on portmap.
409 * debian/changelog: Version 0.2.1-3.
411 2000-11-10 H.J. Lu <hjl@lucon.org>
413 * nfs-utils.spec.in: Don't use libtool.
414 Add ChangeLog and COPYING to doc.
415 * nfs-utils.spec: Rebuild.
417 2000-11-09 H.J. Lu <hjl@lucon.org>
419 * etc/redhat/nfs.init (start): Back out the last change.
421 2000-11-09 H.J. Lu <hjl@lucon.org>
423 * etc/redhat/nfs.init (start): Pass --no-tcp to mountd if
424 TCP is not supported by kernel.
426 * support/nfs/rpcmisc.c (rpc_init): Don't set _rpcfdtype to 0.
428 * utils/mountd/mountd.c (longopts): Add "-n/--no-tcp".
429 (main): Set to _rpcfdtype to SOCK_DGRAM for "-n/--no-tcp".
431 * utils/mountd/mountd.man: Updated for "-n/--no-tcp".
433 2000-10-24 Lon Hohberger <hohberger@missioncriticallinux.com>
435 * utils/statd/callback.c: Fix bug preventing callbacks to local lockd.
436 * utils/statd/rmtcall.c: Add some IP address paranoia when doing
437 callbacks to local lockd.
439 2000-10-18 Scott McDermott <mcdermot@questra.com>
441 * utils/exportfs/exports.man: Updated for CIDR netmask.
443 2000-10-17 Scott McDermott <mcdermot@questra.com>
445 * support/export/client.c (client_init): Support CIDR netmask
448 2000-10-11 H.J. Lu <hjl@lucon.org>
450 * aclocal.m4 (AC_TCP_WRAPPER): Fix a typo.
451 * configure: Rebuilt.
453 2000-10-06 Lon Hohberger <hohberger@missioncriticallinux.com>
455 * utils/statd/statd.man: Change "/var/lib/nfs/sm/state" to
456 "/var/lib/nfs/state".
458 2000-10-05 Lon Hohberger <hohberger@missioncriticallinux.com>
460 * utils/statd/statd.h (run_mode): New global bitmask of runtime
461 behaviors: fg/bg, logging, etc.
462 * utils/statd/statd.c: New command line options: -V -h -? -d .
463 * utils/statd/statd.man: Update for changes to statd.
465 * utils/statd/log.h (log_init): Remove parameter of function; use
466 global variable "name_p" instead.
467 * utils/statd/log.c: Add support for logging to stderr.
469 * utils/statd/notlist.c: Partially rewrite notify list handling
470 functions. Eliminate run-off-end-of-list bug when calling
471 nlist_insert_timer. Add lots of comments.
473 2000-09-27 H.J. Lu <hjl@lucon.org>
475 * README: Updated for RedHat 7.0.
477 2000-09-27 H.J. Lu <hjl@lucon.org>
479 * nfs-utils.spec: Rebuild.
481 2000-09-27 H.J. Lu <hjl@lucon.org>
483 * README: Updated for 0.2.1.
485 2000-09-27 H.J. Lu <hjl@lucon.org>
487 * nfs-utils.spec.in: Updated to use rpm macros and support
490 2000-09-25 H.J. Lu <hjl@lucon.org>
492 * configure.in (VERSION): Set to "0.2.1".
493 * configure: Regenerated.
494 * nfs-utils.spec: Updated.
496 2000-09-25 H.J. Lu <hjl@lucon.org>
498 * utils/mountd/auth.c (auth_authenticate_internal): Make sure a
499 non-NULL hostent is always returned.
501 2000-09-11 Ion Badulescu <ionut@cs.columbia.edu>
503 * etc/redhat/nfslock.init: don't kill lockd processes that do not
504 have an executable (i.e. kernel threads)
506 2000-09-01 H.J. Lu <hjl@lucon.org>
508 * README: Updated for 0.2.
510 2000-09-01 Jay Weber <jweber@valinux.com>
512 * etc/redhat/nfs.init: Added ability for rpc.mountd to default to
513 supporting version 3 of nfs if available, else it will fall back to
514 version 2 support only.
516 2000-08-30 H.J. Lu <hjl@lucon.org>
518 * configure.in (VERSION): Set to "0.2".
519 * configure: Regenerated.
520 * nfs-utils.spec: Updated.
522 2000-08-25 H.J. Lu <hjl@lucon.org>
524 * support/misc/tcpwrapper.c (logit): Modify the log output.
526 2000-08-25 Ion Badulescu <ionut@cs.columbia.edu>
528 * utils/rquotad/rquotad.man, utils/statd/statd.man,
529 utils/mountd/mountd.man: updated
531 * utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL)
532 * utils/rquotad/Makefile: fix comment
534 * support/misc/tcpwrapper.c (logit): added comment about waiting
535 for the children after fork()
537 * utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving
538 zombies behind (from logit()'s fork)
539 * utils/rquotad/rquota_svc.c (main): ditto
540 * utils/statd/statd.c (main): ditto
542 * utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG
543 to check_default instead of 0, for prognum
545 * utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG
546 to check_default instead of 0, for prognum
548 * utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if
549 HAVE_TCP_WRAPPER is defined.
550 (mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is
551 defined. Reject an RPC call if check_default () fails.
553 2000-08-25 H.J. Lu <hjl@lucon.org>
555 * support/include/tcpwrapper.h: New for the tcp wrapper
557 * support/misc/Makefile: Likewise.
558 * support/misc/from_local.c: Likewise.
559 * support/misc/tcpwrapper.c: Likewise.
561 * aclocal.m4 (AC_TCP_WRAPPER): New.
562 * configure.in: Use it. Substitute LIBWRAP.
563 * configure: Rebuilt.
565 * config.mk.in (LIBNSL): New.
568 * support/Makefile (SUBDIRS): Add misc.
570 * support/lib/Makefile (LIBS): Add libmisc.a.
572 * utils/rquotad/Makefile (LIBS): Add
574 -lmisc $(LIBWRAP) $(LIBNSL)
576 * utils/statd/Makefile (LIBS): Likewise.
578 * utils/rquotad/rquota_svc.c: Include "tcpwrapper.h" if
579 HAVE_TCP_WRAPPER is defined.
580 (rquotaprog_1): Call check_default () if HAVE_TCP_WRAPPER is
581 defined. Reject an RPC call if check_default () fails.
583 * utils/statd/statd.c: Include "tcpwrapper.h" if
584 HAVE_TCP_WRAPPER is defined.
585 (sm_prog_1_wrapper): New. A wrapper for sm_prog_1. Call
586 check_default () before calling sm_prog_1 (). Define it as
587 sm_prog_1_wrapper if HAVE_TCP_WRAPPER is defined.
589 2000-08-25 Chip Salzenberg <chip@valinux.com>
591 * debian/*: Complete Debian build support.
592 * etc/debian/*: Remove.
594 2000-08-24 Neil Brown <neilb@cse.unsw.edu.au>
596 * support/export/client.c(client_check): removed the "dot+1" as a
597 ypdomain argument to innetgr as this is entirely bogus.
598 It should always be NULL.
600 2000-08-23 Neil Brown <neilb@cse.unsw.edu.au>
602 * support/export/xtab.c(xtab_read): introduce new mode for
603 reading xtab. i.e. a list of exports that might be known to the
604 kernel, or might not. These are flagged as m_exported == -1
605 * support/export/xtab.c(xtab_mount_read): call xtab_read with new
606 value "2" for xtab, meaning don't trust this too much.
607 * support/include/exportfs.h(struct mexport): changed m_exported
608 from one bit to an int so that it can hold new value
609 * utils/exportfs/exportfs.c(exportfs_ipdate): add an export to the
610 kernel if it is uncertain whether the kernel knows (m_exported == -1)
611 * utils/mountd/mountd.c(get_rootfh): similarly export to kernel if
614 * support/nfs/xio.c(xflock): added O_CREAT when getting
615 a write lock so that missing files aren't fatal.
617 * etc/debian/nfs-common: new file from "potato"
618 * etc/debian/nfs-kernel-server: new file from "potato" plus fixes.
620 2000-08-09 H.J. Lu <hjl@lucon.org>
622 * etc/redhat/nfs.init: Run /usr/sbin/exportfs first during
623 startup to ensure all existing clients work fine.
625 * support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0
626 to xtab_read () for reading _PATH_XTAB.
628 2000-08-02 H.J. Lu <hjl@lucon.org>
630 * utils/mountd/auth.c (auth_authenticate_internal): Try to
631 avoid the reverse name lookup.
633 2000-07-04 H.J. Lu <hjl@lucon.org>
635 * utils/statd/log.c: Include <stdlib.h> for exit ().
637 * utils/statd/misc.c (xunlink): Add `{' and `}' to quiet the
640 2000-07-04 H.J. Lu <hjl@lucon.org>
642 * configure.in (VERSION): Set to "0.1.9.1".
643 * configure: Regenerated.
644 * nfs-utils.spec: Updated.
648 2000-07-04 Neil Brown <neilb@cse.unsw.edu.au>
650 * support/export/hostname.c (hostent_dup): Handle the NULL
653 2000-07-03 H.J. Lu <hjl@lucon.org>
655 * README: Update the util-linux requirement.
657 2000-07-03 H.J. Lu <hjl@lucon.org>
659 * configure.in (VERSION): Set to "0.1.9".
660 * configure: Regenerated.
661 * nfs-utils.spec: Updated.
665 2000-07-03 H.J. Lu <hjl@lucon.org>
667 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
668 stop to ensure all clients can still access the server
669 before it is shutdown.
671 2000-06-30 Jeff Uphoff <juphoff@transmeta.com>
673 * tools/rpcgen/rpc_svcout.c (write_msg_out): Generate syslog()
674 calls with format string.
676 2000-06-28 Chip Salzenberg <chip@valinux.com>
678 * utils/statd/log.c (log): Call syslog with format string.
680 2000-06-27 H.J. Lu <hjl@lucon.org>
682 * utils/statd/statd.c (main): Use sysconf (_SC_OPEN_MAX)
685 2000-06-27 H.J. Lu <hjl@lucon.org>
689 2000-06-27 H.J. Lu <hjl@lucon.org>
691 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
692 startup to ensure all existing clients are exported.
694 * configure.in (VERSION): Set to "0.1.8.2".
695 * configure: Regenerated.
696 * nfs-utils.spec: Updated.
698 2000-06-06 H.J. Lu <hjl@lucon.org>
700 * configure.in (VERSION): Set to "0.1.8.1".
701 * configure: Regenerated.
702 * nfs-utils.spec: Updated.
704 2000-06-06 H.J. Lu <hjl@lucon.org>
706 * utils/mountd/mountd.c (mount_dump_1_svc): Cast svc_getcaller
707 to "struct sockaddr_in *" for glibc 2.2.
708 (mount_umnt_1_svc): Likewise.
709 (mount_umntall_1_svc): Likewise.
710 (mount_export_1_svc): Likewise.
711 (mount_exportall_1_svc): Likewise.
712 (mount_pathconf_2_svc): Likewise.
713 (get_rootfh): Likewise.
715 2000-06-04 H.J. Lu <hjl@lucon.org>
717 * etc/redhat/nfs.init: Fix a typo in comment.
719 2000-05-31 H.J. Lu <hjl@lucon.org>
721 * configure.in (VERSION): Set to "0.1.8".
722 * configure: Regenerated.
723 * nfs-utils.spec: Updated.
727 2000-05-31 H.J. Lu <hjl@lucon.org>
729 * configure.in (VERSION): Set to "0.1.7.5".
730 * configure: Regenerated.
731 * nfs-utils.spec: Updated.
733 * support/include/nfslib.h (exportent): Add a new field,
734 r_count, to count the number of mounts from a client.
735 (getrmtabent): Take a new argument for position in file.
736 (putrmtabent): Likewise.
737 (fgetrmtabent): Likewise.
738 (fputrmtabent): Likewise.
739 * support/nfs/rmtab.c (getrmtabent): Handle the new argument
740 for position in file.
741 (fgetrmtabent): Likewise.
742 (putrmtabent): Likewise.
743 (fputrmtabent): Likewise.
745 * support/nfs/rmtab.c (fgetrmtabent): Get value for the new
748 * support/export/rmtab.c (rmtab_read): Pass NULL as the new
749 argument to getrmtabent (), fgetrmtabent (), putrmtabent ()
751 * utils/mountd/rmtab.c (mountlist_add): Likewise.
752 (mountlist_del): Likewise.
753 (mountlist_del_all): Likewise.
754 (mountlist_list): Likewise.
756 * utils/mountd/rmtab.c (mountlist_add): Increment "r_count"
757 for the existing entry and initialize "r_count" to 1.
758 (mountlist_del): Decrement "r_count".
760 2000-05-18 H.J. Lu <hjl@lucon.org>
762 * configure.in (VERSION): Set to "0.1.7.4".
763 * configure: Regenerated.
764 * nfs-utils.spec: Updated.
766 2000-05-18 H.J. Lu <hjl@lucon.org>
768 * etc/redhat/nfs.init (restart): Just do stop and start.
770 2000-05-09 Jay Weber <jweber@valinux.com>
772 * utils/rquotad/hasquota.c: added support for ext3 recognition
774 * utils/rquotad/mntent.h: Likewise.
776 2000-05-01 H.J. Lu <hjl@lucon.org>
778 * configure.in (VERSION): Set to "0.1.7.3".
779 * configure: Regenerated.
780 * nfs-utils.spec: Updated.
782 2000-05-01 H.J. Lu <hjl@lucon.org>
784 * utils/rquotad/rquota_server.c (getquotainfo): Skip bad
785 mounting poins in /etc/fstab.
787 2000-05-01 H.J. Lu <hjl@lucon.org>
789 * configure.in (VERSION): Set to "0.1.7.2".
790 * configure: Regenerated.
791 * nfs-utils.spec: Updated.
793 2000-05-01 H.J. Lu <hjl@lucon.org>
795 * utils/rquotad/rquota_server.c (getquotainfo): Call stat ()
796 to check for the mounting point.
798 2000-04-29 Chip Salzenberg <chip@valinux.com>
799 Neil Brown <neilb@cse.unsw.edu.au>
801 * Really re-use RPC ports.
802 (Fixes earlier patch. Sorry, Neil.)
804 2000-04-26 H.J. Lu <hjl@lucon.org>
806 * configure.in (VERSION): Set to "0.1.7.1".
807 * configure: Regenerated.
808 * nfs-utils.spec: Updated.
810 2000-04-26 H.J. Lu <hjl@lucon.org>
812 * etc/redhat/nfslock.init: Check if lockd exits before killing
815 2000-04-25 H.J. Lu <hjl@lucon.org>
817 * README: Require util-linux-2.10f-mount-rpc.patch for mount.
819 2000-03-21 Michael Weiser <michael@weiser.saale-net.de>
821 * support/nfs/exports.c (parsesquash): Correctly set the
824 Tue Mar 21 11:38:48 EST 2000 NeilBrown <neilb@cse.unsw.edu.au>
826 * support/include/nfs/nfs.h: Removed knowledge of internals of
827 kernel filehandles (which can change) and defined nfs_fh_size
828 which has variable size
830 * support/nfs/getfh.c: defined getfh_size to use new syscall to
831 get variable sized file handles, and change getfh{,old} to
834 * utils/mountd/mountd.c: use nfd_fh_size and call getfh_size for
837 * tools/Makefile, tools/nlmtest/nlmtest.c
838 nlmtest.c depended on internel format of file handles, so now
842 2000-03-12 Chip Salzenberg <chip@valinux.com>
843 Neil Brown <neilb@cse.unsw.edu.au>
845 * support/nfs/rpcmisc.c (rpc_init): Share transports.
847 2000-03-13 H.J. Lu <hjl@lucon.org>
849 * etc/redhat/nfsd.init: Updated.
851 * etc/redhat/nfslock.init: Updated.
853 * nfs-utils.spec.in: Updated.
855 * configure.in (VERSION): Set to "0.1.7".
856 * configure: Regenerated.
857 * nfs-utils.spec: Updated.
861 Wed Mar 8 09:42:43 2000 Neil Brown <neilb@cse.unsw.edu.au>
863 * utils/exportfs/exportfs.c (dump): Included printing of
864 nohide, no_subtree_check, and insecure_locks
866 2000-02-26 Chip Salzenberg <chip@valinux.com>
868 * config.mk.in (INSTALLSUID): Strip ("-s").
869 (INSTALLSCRIPT): Define.
870 * utils/nhfsstone/Makefile: Use it.
872 2000-02-26 Chip Salzenberg <chip@valinux.com>
874 * utils/lockd/lockd.man: Create.
875 * utils/lockd/Makefile: Install it.
876 * utils/nhfsstone/nhfs{run,nums,graph}.man: Create.
877 * utils/nhfsstone/nhfsstone.man: Change suffix from ".1".
878 * utils/nhfsstone/Makefile: Install the helper scripts and
880 * utils/exportfs/exports.man: Fix typo.
882 2000-02-26 Chip Salzenberg <chip@valinux.com>
884 * support/nfs/xio.c (xungetc): Decrement line number when
885 character to unget is newline. Make first parameter int, so
886 it can distinguish EOF from \377.
887 * support/include/xio.h (xungetc): Adjust prototype.
889 Fri Feb 4 23:42:23 2000 Neil Brown <neilb@cse.unsw.edu.au>
891 * support/include/nfs/export.h: added NFSEXP_NOAUTHNLM
892 * support/nfs/exports.c: added handling for NFSEXP_NOAUTHNLM
893 * utils/exportfs/exports.man: added documentation for no_auth_nlm.
895 This is for supporting a new option introduced in 2.3.42
897 Thu Feb 3 14:55:48 2000 H.J. Lu <hjl@lucon.org>
899 * COPYING: Added. GPL.
901 Thu Feb 03 14:40:40 2000 Cristian Gafton <gafton@redhat.com>
903 * utils/rquotad/rquota_server.c (getquotainfo): Call statfs ()
904 to get the block size.
906 Tue Jan 25 11:04:17 2000 H.J. Lu <hjl@lucon.org>
908 * nfs-utils.spec.in: Update ftp site.
910 Mon Jan 17 11:48:18 2000 H.J. Lu <hjl@lucon.org>
912 * README: Update hostnames.
914 Tue Jan 11 10:06:22 2000 H.J. Lu <hjl@lucon.org>
916 * configure.in (VERSION): Set to "0.1.6".
917 * configure: Regenerated.
918 * nfs-utils.spec: Updated.
922 Mon Jan 10 14:26:33 2000 H.J. Lu <hjl@lucon.org>
924 * utils/mountd/auth.c (auth_authenticate_internal): Call
925 xstrdup for hostname before passing it to gethostbyname.
927 * utils/mountd/mountd.c (get_exportlist): Use xstrdup instead
930 Sun Dec 19 09:35:01 1999 H.J. Lu <hjl@lucon.org>
932 * README: Update the mailing list address.
934 Sun Dec 19 09:22:28 1999 H.J. Lu <hjl@lucon.org>
936 * configure.in (VERSION): Set to "0.1.5".
937 * configure: Regenerated.
938 * nfs-utils.spec: Updated.
942 Mon Dec 13 13:40:20 1999 H.J. Lu <hjl@lucon.org>
944 * utils/rquotad/hasquota.c (hasquota): Malloc one more char
947 Mon Dec 6 09:42:45 1999 H.J. Lu <hjl@lucon.org>
949 * configure.in (VERSION): Set to "0.1.4".
950 * configure: Regenerated.
951 * nfs-utils.spec: Updated.
955 Mon Dec 6 09:28:07 1999 H.J. Lu <hjl@lucon.org>
957 * nfs-utils.spec.in: New file.
959 * config.mk.in (VERSION): Changed to "nfs-utils @VERSION@".
961 * configure.in (nfs-utils.spec): Added to AC_OUTPUT.
963 1999-12-04 Chip Salzenberg <chip@valinux.com>
965 * config.mk.in: Use $(CC) as set by configure.
967 1999-12-04 Chip Salzenberg <chip@valinux.com>
969 * rules.mk: Call $(MAKE) with $(MFLAGS).
971 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
973 * tools/rpcgen/rpc_main.c (h_output): Generate IXDR_GET_INT32,
974 IXDR_PUT_INT32, IXDR_GET_U_INT32 and IXDR_PUT_U_INT32.
976 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
978 * nfs-utils.spec (Version): Set to 0.1.3.
980 * configure.in (VERSION): Set to "nfs-utils 0.1.3".
981 * configure: Regenerated.
985 Mon Nov 29 11:15:47 1999 H.J. Lu <hjl@lucon.org>
987 * utils/rquotad/rquota_server.c (nfsmount_to_devname): Removed.
988 (_PATH_DEV_DSK): Likewise.
989 (getquotainfo): Match the mounting point from /etc/mtab
990 instead of calling nfsmount_to_devname ().
992 1999-11-24 Chip Salzenberg <chip@valinux.com>
994 * utils/statd/monitor.c (sm_mon_1_svc): Accept lockd callbacks
995 to the new port 24 as well as the historical port 100021.
997 Tue Nov 23 10:21:34 1999 Neil Brown <neilb@cse.unsw.edu.au>
999 * etc/redhat/nfsd.init (stop): moved exportfs -ua after
1000 stopping nfsd to stop spurious ESTALE on server shutdown.
1002 Tue Nov 23 10:13:39 1999 Neil Brown <neilb@cse.unsw.edu.au>
1004 * support/nfs/exports.c (parseopts): make copy of opt string
1005 before 'nul'ing out commas so that
1007 # exportfs -o option1,option2 hosta:/fs hostb:/fs
1009 applies both options to both exports.
1011 Thu Oct 28 12:55:42 1999 H.J. Lu <hjl@lucon.org>
1013 * README: Fix a few typos.
1015 * tools/rpcgen/rpc_cout.c (print_header): Use int32_t instead
1017 * tools/rpcgen/rpc_hout.c (pdefine): Likewise.
1018 * tools/rpcgen/rpc_main.c (c_initialize): Likewise.
1019 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1020 (unsigned_dec): Likewise.
1021 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1022 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1024 * tools/rpcgen/rpc_cout.c (emit_single_in_line): Use INT32
1026 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1027 (unsigned_dec): Likewise.
1028 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1029 * tools/rpcgen/rpc_scan.h (tok_kind): Likewise.
1030 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1032 Thu Oct 28 11:27:51 1999 Neil Brown <neilb@cse.unsw.edu.au>
1034 * support/include/nfs/export.h addedd NFSEXP_NOSUBTREECHECK
1035 * support/nfs/exports.c: added {no_,}subtree_check and changed
1037 * utils/exportfs/exports.man: added no_subtree_check and nohide
1038 and removed irrelevant stuff from unfsd.
1039 * support/export/rmtab.c: rmtab_read didn't quite do the right
1040 thing if a pathname from rmtab was a subdirectory of an export-point
1042 Tue Oct 26 17:22:40 1999 H.J. Lu <hjl@lucon.org>
1044 * README: Updated ftp site.
1046 Mon Oct 25 18:12:45 1999 H.J. Lu <hjl@lucon.org>
1048 * nfs-utils.spec (Version): Set to 0.1.2.
1050 * configure.in (VERSION): Set to "nfs-utils 0.1.2".
1051 * configure: Regenerated.
1055 Mon Oct 25 18:11:21 1999 H.J. Lu <hjl@lucon.org>
1057 * utils/mountd/auth.c (auth_error): Add "no_forward_dns".
1058 (auth_authenticate_internal): Check for NULL return on forward
1060 (auth_authenticate): Handle "no_forward_dns".
1062 Thu Oct 21 16:22:06 1999 H.J. Lu <hjl@lucon.org>
1064 * Version 0.1.1 released.
1066 * nfs-utils.spec (Version): Set to 0.1.1.
1068 * configure.in (VERSION): Set to "nfs-utils 0.1.1".
1069 * configure: Regenerated.
1073 Mon Oct 18 17:43:29 1999 H.J. Lu <hjl@lucon.org>
1075 * nfs-utils.spec (Obsoletes): Fixed a typo, change knfsd-client
1077 (Provides): Likewise.
1079 Mon Oct 18 14:56:22 1999 H.J. Lu <hjl@lucon.org>
1081 * Initial version 0.1 released.
1083 * configure.in (VERSION): Set to "nfs-utils 0.1".
1084 * configure: Regenerated.
1086 Mon Oct 18 14:54:57 1999 H.J. Lu <hjl@lucon.org>
1088 * utils/mountd/mountd.c (get_exportlist): Cleanup.
1090 * utils/exportfs/exportfs.c (unexport_all): Unexport from
1091 kernel only if the entry is exported to kernel.
1092 (unexportfs): Likewise.
1094 Wed Sep 08 16:49:32 1999 Neil Brown <neilb@cse.unsw.edu.au>
1096 1/ utils/mountd/rmtab.c::mountlist_list
1098 This routine stats the rmtab file to see if it has changed. It
1099 if has, it cleans up it's old copy of the data. But it still
1100 always re-read the file, thus returning multiple copies of the
1101 data on consecutive calls without intervening changes.
1102 "Showmount -a" didn't show this as it appears to sort/unique the
1103 data, but 'strace showmount -a' showed that the size of the
1104 datagram that it received grew.
1106 I moved the getrmtabent loop inside the mtime test.
1108 2/ utils/exportfs/exportfs.c
1110 Many routines used the m_path field of m_export instead of
1112 According to the comment in nfslib.h, m_path should only
1113 be used when processing a mount request (i.e. in mountd)
1114 where the mountpoint may be a subdirectory of the export point.
1116 I changed all occurances of m_path to e_path
1119 3/ utils/exportfs/exportfs.c:main
1121 extra arguments are not meaningful with -a or -r, but
1122 exportfs accepted them and then ignored the -a/-r, expect that
1123 -r would still unexport everything first.
1125 I generate an error if there are extra args and f_all
1127 4/ utils/exportfs/exportfs.c:main
1128 extract dump out as a special case.
1130 5/ utils/exportfs/exportfs.c
1131 made f_reexport a local variable.
1134 6/ utils/exportfs/exportfs.c:main,exportall
1136 support/export/rmtab.c
1137 only mayexport on newly created entries, don't set xtabent at all
1139 7/ support/include/nfslib.h
1141 add #define _PATH_PROC_EXPORTS to be /proc/fs/nds/exports
1143 8/ support/export/xtab.c
1145 xtab_mount_read loads data from _PATH_PROC_EXPORTS if it exists,
1149 9/ support/export/xtab.c
1151 xtab_mount_read now sets m_exported, and NOT
1152 xtabent and mayexport
1154 removed the append arguement from xtab_write as it was
1157 added is_export flag to xtab_write similar to xtab_read
1158 if is_export, only write entries with m_xtabent or m_addxtab
1159 if !is_export, only write entries with m_exported
1161 10/ support/export/export.c::export_allowed_internal
1163 added test for exp->m_mayexport, as the export tree
1164 may have entries that are no longer allowed to be exported,
1165 and so shouldn't caused deduced exported by rmtab_read
1167 11/ utils/exportfs/exportfs.c::main
1168 error checking of flags.
1170 12/ utils/exportfs/exportfs.c
1172 total rewrite of export and unexport logic.
1174 - build an exportslist of valid exports, based on
1175 current etab file and arguments,
1176 - read rmtab to instantiate relevant wild card entries
1177 - read etab to find out what is currently exported
1178 - synchronise intention with reality
1179 - write out etab and xtab
1182 discard the m_addxtab flag
1183 add m_changed flag so we know what to report in exportfs
1185 14/ utils/mountd/auth.c:auth_authenticate
1187 the value returned by gethostbyaddr was trusted.
1189 It now follows this with a call to gethostbyname
1190 and checks that the address is in the list.
1192 15/ support/export/nfsctl.c::cltsetup,expsetup
1194 force client names to lowercase as kernel is
1197 16/ quietened a few compiler warnings
1199 17/ support/export/client:client_lookup
1201 look for pre-existing client with same name before creating
1204 18/ support/include/exportfs.h
1206 The ordering of the MCL_* enum was:
1207 ANONYMOUS, FQDN, SUBNETWORK, WILDCARD, NETGROUP
1209 I moved ANONYMOUS to the end.
1211 The ordering is significant when an export entry is being searched for to
1212 match a given address. There are two problems with ANONYMOUS being first.
1214 1/ if a directory is exported rw to a couple of hosts and ro to everyone else,
1215 then the ro case will always be found first and the privileged hosts won't get
1217 2/ When mountd gets a request to mount an ANONYMOUSly exported tree, it creates a FQDN
1218 export entry for the specific host, and writes it to xtab.
1219 When another request comes from the same host, the ANONYMOUS entry is found again,
1220 before the new FQDN entry, so it creates another FQDN entry and writes it to xtab
1221 again. If causes bloat in xtab.
1223 Putting ANONYMOUS at the end reflects it's nature as a catch-all
1225 19/ utils/exportfs/exportfs.man
1226 many updates to the man page to reflect changes to the code
1228 -----------------------
1234 - allow exportfs to modify rmtab file
1235 - make sure kernel never gets two clients with same IP address
1236 - possible kernel should reject
1237 - needs to be some way to lookup client in kernel by IP address
1238 - maybe get kernel to do case-insensitive comparisons on client names
1239 - remove unused clients from kernel
1241 - change etab to xtab and xtab to xtab.active
1243 - timestamp and/or statd-stamp in rmtab for removing old entries.
1245 Mon Oct 18 11:48:07 1999 H.J. Lu <hjl@lucon.org>
1247 * linux-nfs: New directory.
1248 * linux-nfs/ChangeLog: Moved from ..
1249 * linux-nfs/INSTALL: Likewise.
1250 * linux-nfs/KNOWNBUGS: Likewise.
1251 * linux-nfs/NEW: Likewise.
1252 * linux-nfs/README: Likewise.
1253 * linux-nfs/THANKS: Likewise.
1254 * linux-nfs/TODO: Likewise.
1256 * Starting from knfsd 1.4.7.