1 2001-10-08 Chip Salzenberg <chip@pobox.com>
3 * utils/mountd/mountd.c (main): When daemonizing, close all fds > 2.
4 * utils/Makefile.in: Remove old Makefile in target 'distclean'.
5 * utils/mountd/mountd.man: Update paths to /var/lib.
6 * debian/*: Version 0.3.3-1, with Debian-specific fixes.
8 2001-10-06 Preston Brown <pbrown@redhat.com>
10 * utils/nfsstat/nfsstat.man: Updated.
12 2001-09-24 H.J. Lu <hjl@lucon.org>
14 * configure.in (VERSION): Set to "0.3.3".
15 * configure: Regenerated.
16 * nfs-utils.spec: Likewise.
18 * README: Updated for 0.3.3.
20 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
22 Arrange that "exportfs -au" never does DNS lookup:
24 * support/export/client.c (client_lookup) : add "canonical"
25 flag which says that the hostname is known to be canonical, so
28 * support/export/export.c (export_create) : add "canonical"
29 flag to be passed down to client_lookup
30 * support/export/export.c (export_lookup) : Likewise
32 * support/export/xtab.c (xtab_read) : pass appropriate
33 "canonical" flag to export_lookup and export_create:
34 set if reading list of filesystems currently exports
37 * support/export/export.c (export_read) : pass 0 as
38 "canonical" flag to export_lookup and export_create
39 * support/export/rmtab.s (rmtab_read) : Likewise
41 * support/include/exportfs.h : redeclare various routines
42 to have "canonical" flag
44 * utils/exportfs/exportfs.c (main) : redo logic for
45 "-au" to read in what is currently exported, but never even
46 look at what "should" be exported.
48 * utils/exportfs/exportfs.c (unexportall) : remove this
49 routine. Functionality is completely included in
52 * utils/exportfs/exportfs.c (exportfs) : set "canonical"
53 flag to zero in calls to export_lookup and export_create.
56 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
57 Anne Milicia <milicia@missioncriticallinux.com>
59 * support/export/client.c (client_lookup) call gethostbyadd
60 to make sure that we have a canonical hostname, even for
62 * utils/exportfs/exportfs.c (exportfs) Likewise
64 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
66 * support/nfs/exports.c (putexportent): \octal quote any spaces
68 * support/nfs/xio.c (xgettok): recognise double-quote and
69 \octal quoting in path names
70 * utils/exportfs/exports.man: document quoting conventions
73 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
75 * utils/mountd/auth.c (auth_authenticate_internal): Reverse
76 change from 2000-08-02: It causes problems if someone exports
77 to both a hostname and IP addresses. nfs-utils must be
78 consistant about the canonical name that it chooses.
80 2001-08-17 Ragnar Kjørstad <nfs@ragnark.vestdata.no>
81 H.J. Lu <hjl@lucon.org>
83 * etc/redhat/nfslock.init (STATDARG): New. Pass it to rpc.statd.
85 * utils/statd/statd.c (longopts): Add "name".
86 (usage): Add "-n/--name".
87 (main): Set MY_NAME with "-n/--name".
89 * utils/statd/state.c (change_state): Set MY_NAME only if it
92 * utils/statd/statd.man: Updated for "-n/--name".
94 2001-07-26 H.J. Lu <hjl@lucon.org>
96 * nfs-utils.spec (Release): Set to 8.
98 2001-07-25 H.J. Lu <hjl@lucon.org>
100 * etc/redhat/nfs.init: Check if rpc.rquotad exists before doing
103 2001-06-27 H.J. Lu <hjl@lucon.org>
105 * etc/redhat/nfs.init: Run rpc.rquotad only if it exists.
107 2001-06-27 H.J. Lu <hjl@lucon.org>
109 * utils/rquotad/rquota_server.c: Don't call statfs () for
110 the block size. Use BLOCK_SIZE instead.
112 2001-06-27 H.J. Lu <hjl@lucon.org>
114 * config.mk.in (CC_FOR_BUILD): Renamed from BUILD_CC.
115 (CFLAGS_FOR_BUILD): New. Don't use @CFLAGS@.
117 * configure.in (enable_nfsv3): Set to yes by default.
118 (--enable-rquotad): Added
119 (AC_PROG_CXX): Removed.
120 (AC_OUTPUT): Add utils/Makefile.
121 (CC_FOR_BUILD): Renamed from BUILD_CC.
122 * configure: Regenerated.
124 * utils/Makefile: Removed.
126 * utils/Makefile.in: New.
128 * nfs-utils.spec.in (rquotad): New. Set to 0 to disable
130 (CC_FOR_BUILD): Renamed from BUILD_CC.
131 * nfs-utils.spec: Regenerated.
133 2001-06-15 Chip Salzenberg <chip@debian.org>
135 * debian/changelog: Version 0.3.2-2.
136 * debian/*.init: Minor fixes.
138 2001-06-07 Lon H. Hohberger <hohberger@missioncriticallinux.com>
140 * etc/nodist/nfs-server: Fixed a bug where the script would
141 disable mounts from NFSv3 clients if NFSv3 is present.
143 2001-06-05 H.J. Lu <hjl@lucon.org>
145 * utils/mountd/mountd.c (longopts): Add "descriptors/o".
146 (main): Support --descriptors/-o to set the limit of the number
147 of open file descriptors.
150 * utils/mountd/mountd.man: Updated for --descriptors/-o.
152 2001-06-04 H.J. Lu <hjl@lucon.org>
154 * nfs-utils.spec (Release): Set to 6.
156 2001-05-28 H.J. Lu <hjl@lucon.org>
158 * utils/lockd/lockd.c (main): chdir to NFS_STATEDIR.
159 * utils/mountd/mountd.c (main): Likewise.
160 * utils/nfsd/nfsd.c (main): Likewise.
161 * utils/rquotad/rquota_svc.c (main): Likewise.
163 2001-05-06 Anne Milicia <milicia@missioncriticallinux.com>
165 * support/export/client.c (client_check): Check IP address
168 2001-05-06 Neil Brown <neilb@cse.unsw.edu.au>
170 * support/export/client.c (client_gettype): Treat `*' as
173 2001-04-22 H.J. Lu <hjl@lucon.org>
175 * nfs-utils.spec.in: Fix a typo.
176 * nfs-utils.spec: Regenerated.
178 2001-04-21 H.J. Lu <hjl@lucon.org>
180 * nfs-utils.spec.in: Fix cross build.
181 * nfs-utils.spec: Regenerated.
184 2001-04-18 H.J. Lu <hjl@lucon.org>
186 * nfs-utils.spec.in: Support cross build.
187 * nfs-utils.spec: Regenerated.
193 * config.mk.in (BUILD_CC): New.
194 (CC): Set to $(BUILD_CC) if BUILD is defined.
197 (RANLIB): Set to @RANLIB@.
199 * configure.in: Check BUILD_CC, RANLIB, AR and LD.
200 * configure: Regenerated.
202 * tools/rpcgen/Makefile (BUILD): Set to true.
204 2001-04-01 Chip Salzenberg <chip@valinux.com>
206 * tools/rpcgen/rpc_svcout.c (write_timeout_func): Remove
207 redundant, and sometimes broken, declaration of svc_fdset;
209 * support/nfs/rpcmisc.c (closedown): Likewise.
211 2001-03-21 H.J. Lu <hjl@lucon.org>
213 * nfs-utils.spec: Regenerated.
216 2001-03-21 Ion Badulescu <ionut@cs.columbia.edu>
218 * utils/statd/statd.c (main): make sure file descriptors 0-2
219 are open to /dev/null.
221 2001-03-21 H.J. Lu <hjl@lucon.org>
223 * support/nfs/rpcmisc.c: Restore the change made on 2001-03-10.
224 * support/nfs/rpcmisc.c: Likewise.
225 * utils/rquotad/rquota_svc.c: Likewise.
226 * utils/rquotad/rquotad.man: Likewise.
227 * utils/statd/Makefile: Likewise.
228 * utils/statd/rmtcall.c: Likewise.
229 * utils/statd/simulate.c: Likewise.
230 * utils/statd/statd.c: Likewise.
231 * utils/statd/statd.man: Likewise.
233 2001-03-11 H.J. Lu <hjl@lucon.org>
235 * configure.in (RELEASE): New. Default to 1, set by
236 --with-release=XXX. Substitute nfs-utils.spec.
237 * nfs-utils.spec.in (Release): Set to @RELEASE@.
238 * configure: Regenerated.
239 * nfs-utils.spec: Likewise.
241 2001-03-11 H.J. Lu <hjl@lucon.org>
243 * utils/rquotad/rquotad.man: Fix a typo.
245 2001-03-11 H.J. Lu <hjl@lucon.org>
247 * support/include/rpcmisc.h: Undo the change made on 2001-03-10.
248 * support/nfs/rpcmisc.c: Likewise.
249 * utils/rquotad/rquota_svc.c: Likewise.
250 * utils/rquotad/rquotad.man: Likewise.
251 * utils/statd/Makefile: Likewise.
252 * utils/statd/rmtcall.c: Likewise.
253 * utils/statd/simulate.c: Likewise.
254 * utils/statd/statd.c: Likewise.
255 * utils/statd/statd.man: Likewise.
257 2001-03-10 H.J. Lu <hjl@lucon.org>
259 * configure.in (VERSION): Set to "0.3.2".
260 * configure: Regenerated.
261 * nfs-utils.spec: Likewise.
263 * README: Updated for 0.3.2.
265 2001-03-10 Tavis Barr <tavis@boole.isetr.columbia.edu>
267 * utils/rquotad/rquotad.man: Updated for -p.
268 * utils/statd/statd.man: Likewise.
270 2001-03-10 Ion Badulescu <ionut@cs.columbia.edu>
272 * support/nfs/rpcmisc.c: export makesock()
274 * support/include/rpcmisc.h (makesock): Declared.
276 * utils/rquotad/rquota_svc.c: added longopts, added support for
277 specifying the port to bind to on the command line.
279 * utils/statd/statd.c: ditto, also specify port used for
280 outgoing connections.
281 (do_regist): Removed.
283 * utils/statd/rmtcall.c (statd_get_socket): Renamed from
284 get_socket. Make it extern.
286 * utils/statd/simulate.c (daemon_simulator): Call rpc_init
287 instead of do_regist.
289 * utils/statd/Makefile (LIBS): link with our own libnfs
291 2001-03-09 H.J. Lu <hjl@lucon.org>
293 * etc/redhat/nfslock.init: Changed chkconfig line to 60 86.
294 * etc/nodist/nfs-client: Likewise.
296 2001-02-26 Chip Salzenberg <chip@valinux.com>
298 * debian/changelog: Version 0.3.1-1.
299 * Mention upstream source and license in copyright file.
300 * Add build-Depends for debhelper and libwrap0-dev.
302 2001-02-20 Lon Hohberger <hohberger@missioncriticallinux.com>
304 * etc/nodist/nfs-server: Changed chkconfig line to 60 20
305 * etc/nodist/nfs-client: Likewise.
307 2001-02-18 Lon Hohberger <hohberger@missioncriticallinux.com>
309 * utils/statd/statd.man: Changed /usr/sbin/rpc.statd to
312 2001-02-17 Patrick J. LoPresti <patl@curl.com>
314 * utils/statd/log.c (log_init): Use LOG_DAEMON instead of
317 2001-02-14 H.J. Lu <hjl@lucon.org>
319 * utils/statd/rmtcall.c: Include <time.h>.
320 * utils/statd/svc_run.c: Likewise.
322 2001-02-14 H.J. Lu <hjl@lucon.org>
324 * configure.in (VERSION): Set to "0.3.1".
325 * configure: Regenerated.
326 * nfs-utils.spec: Likewise.
328 * README: Updated for 0.3.1.
330 2001-02-14 H.J. Lu <hjl@lucon.org>
332 * support/nfs/rpcmisc.c: Include <time.h>.
334 2001-02-14 Chip Salzenberg <chip@valinux.com>
336 * debian/control: Change priority of nhfsstone package to 'extra'.
338 2001-02-12 Chip Salzenberg <chip@valinux.com>
340 * debian/changelog: Version 0.3-2.
342 2001-02-02 H.J. Lu <hjl@lucon.org>
344 * support/include/rpcmisc.h (rpc_init): Remove bufsize.
346 * support/nfs/rpcmisc.c (makesock): Remove socksz and comment
347 out SO_SNDBUF/SO_RCVBUF.
348 (rpc_init): Remove bufsize and remove socksz in calls to
351 * utils/mountd/mountd.c (main): Remove bufsize in calls to
354 2001-01-28 Chip Salzenberg <chip@valinux.com>
356 * debian/changelog: Version 0.3-1.
358 2001-01-25 H.J. Lu <hjl@lucon.org>
360 * configure.in (VERSION): Set to "0.3".
361 * configure: Regenerated.
362 * nfs-utils.spec: Likewise.
364 * README: Updated for 0.3.
366 2001-01-25 H.J. Lu <hjl@lucon.org>
368 * utils/lockd/lockd.c (main): Ignore errno == EINVAL.
370 2001-01-20 Chip Salzenberg <chip@valinux.com>
372 * support/include/xio.h (xgetc): Declare to return int.
373 * support/nfs/xio.c (xgetc): Return int.
374 (xgettok, xskip, xskipcomment): Use int for value of xgetc.
375 * utils/statd/statd.c (main): Use int for value of getopt.
376 * debian/changelog: Version 0.2.1-5.
378 2000-12-10 Chip Salzenberg <chip@valinux.com>
380 * utils/statd/monitor.c (sm_mon_1_svc): Fix buggy check for
381 program and procedure numbers of kernel lockd's callback. Also,
382 besides the old (and broken) procedure #24, allow #16 per Trond.
384 2000-12-03 Chip Salzenberg <chip@valinux.com>
386 * support/nfs/xio.c (xfopen): Initialize x_line to one, not zero.
387 * debian/control: Let nhfsstone replace files in nfs-kernel-server.
388 * debian/changelog: Version 0.2.1-4.
390 2000-11-27 Tobias Ringstrom <tori@tellus.mine.nu>
392 * utils/mountd/auth.c (auth_authenticate): Log the bad path
395 2000-11-24 Neil Brown <neilb@cse.unsw.edu.au>
397 * support/nfs/exports.c (getexportent): Check for host name
398 without option, or options without hostname, and print a warning,
399 as this is most likely a typo.
401 2000-11-19 Chip Salzenberg <chip@valinux.com>
403 * debian/control: Add dependency on portmap.
404 * debian/changelog: Version 0.2.1-3.
406 2000-11-10 H.J. Lu <hjl@lucon.org>
408 * nfs-utils.spec.in: Don't use libtool.
409 Add ChangeLog and COPYING to doc.
410 * nfs-utils.spec: Rebuild.
412 2000-11-09 H.J. Lu <hjl@lucon.org>
414 * etc/redhat/nfs.init (start): Back out the last change.
416 2000-11-09 H.J. Lu <hjl@lucon.org>
418 * etc/redhat/nfs.init (start): Pass --no-tcp to mountd if
419 TCP is not supported by kernel.
421 * support/nfs/rpcmisc.c (rpc_init): Don't set _rpcfdtype to 0.
423 * utils/mountd/mountd.c (longopts): Add "-n/--no-tcp".
424 (main): Set to _rpcfdtype to SOCK_DGRAM for "-n/--no-tcp".
426 * utils/mountd/mountd.man: Updated for "-n/--no-tcp".
428 2000-10-24 Lon Hohberger <hohberger@missioncriticallinux.com>
430 * utils/statd/callback.c: Fix bug preventing callbacks to local lockd.
431 * utils/statd/rmtcall.c: Add some IP address paranoia when doing
432 callbacks to local lockd.
434 2000-10-18 Scott McDermott <mcdermot@questra.com>
436 * utils/exportfs/exports.man: Updated for CIDR netmask.
438 2000-10-17 Scott McDermott <mcdermot@questra.com>
440 * support/export/client.c (client_init): Support CIDR netmask
443 2000-10-11 H.J. Lu <hjl@lucon.org>
445 * aclocal.m4 (AC_TCP_WRAPPER): Fix a typo.
446 * configure: Rebuilt.
448 2000-10-06 Lon Hohberger <hohberger@missioncriticallinux.com>
450 * utils/statd/statd.man: Change "/var/lib/nfs/sm/state" to
451 "/var/lib/nfs/state".
453 2000-10-05 Lon Hohberger <hohberger@missioncriticallinux.com>
455 * utils/statd/statd.h (run_mode): New global bitmask of runtime
456 behaviors: fg/bg, logging, etc.
457 * utils/statd/statd.c: New command line options: -V -h -? -d .
458 * utils/statd/statd.man: Update for changes to statd.
460 * utils/statd/log.h (log_init): Remove parameter of function; use
461 global variable "name_p" instead.
462 * utils/statd/log.c: Add support for logging to stderr.
464 * utils/statd/notlist.c: Partially rewrite notify list handling
465 functions. Eliminate run-off-end-of-list bug when calling
466 nlist_insert_timer. Add lots of comments.
468 2000-09-27 H.J. Lu <hjl@lucon.org>
470 * README: Updated for RedHat 7.0.
472 2000-09-27 H.J. Lu <hjl@lucon.org>
474 * nfs-utils.spec: Rebuild.
476 2000-09-27 H.J. Lu <hjl@lucon.org>
478 * README: Updated for 0.2.1.
480 2000-09-27 H.J. Lu <hjl@lucon.org>
482 * nfs-utils.spec.in: Updated to use rpm macros and support
485 2000-09-25 H.J. Lu <hjl@lucon.org>
487 * configure.in (VERSION): Set to "0.2.1".
488 * configure: Regenerated.
489 * nfs-utils.spec: Updated.
491 2000-09-25 H.J. Lu <hjl@lucon.org>
493 * utils/mountd/auth.c (auth_authenticate_internal): Make sure a
494 non-NULL hostent is always returned.
496 2000-09-11 Ion Badulescu <ionut@cs.columbia.edu>
498 * etc/redhat/nfslock.init: don't kill lockd processes that do not
499 have an executable (i.e. kernel threads)
501 2000-09-01 H.J. Lu <hjl@lucon.org>
503 * README: Updated for 0.2.
505 2000-09-01 Jay Weber <jweber@valinux.com>
507 * etc/redhat/nfs.init: Added ability for rpc.mountd to default to
508 supporting version 3 of nfs if available, else it will fall back to
509 version 2 support only.
511 2000-08-30 H.J. Lu <hjl@lucon.org>
513 * configure.in (VERSION): Set to "0.2".
514 * configure: Regenerated.
515 * nfs-utils.spec: Updated.
517 2000-08-25 H.J. Lu <hjl@lucon.org>
519 * support/misc/tcpwrapper.c (logit): Modify the log output.
521 2000-08-25 Ion Badulescu <ionut@cs.columbia.edu>
523 * utils/rquotad/rquotad.man, utils/statd/statd.man,
524 utils/mountd/mountd.man: updated
526 * utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL)
527 * utils/rquotad/Makefile: fix comment
529 * support/misc/tcpwrapper.c (logit): added comment about waiting
530 for the children after fork()
532 * utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving
533 zombies behind (from logit()'s fork)
534 * utils/rquotad/rquota_svc.c (main): ditto
535 * utils/statd/statd.c (main): ditto
537 * utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG
538 to check_default instead of 0, for prognum
540 * utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG
541 to check_default instead of 0, for prognum
543 * utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if
544 HAVE_TCP_WRAPPER is defined.
545 (mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is
546 defined. Reject an RPC call if check_default () fails.
548 2000-08-25 H.J. Lu <hjl@lucon.org>
550 * support/include/tcpwrapper.h: New for the tcp wrapper
552 * support/misc/Makefile: Likewise.
553 * support/misc/from_local.c: Likewise.
554 * support/misc/tcpwrapper.c: Likewise.
556 * aclocal.m4 (AC_TCP_WRAPPER): New.
557 * configure.in: Use it. Substitute LIBWRAP.
558 * configure: Rebuilt.
560 * config.mk.in (LIBNSL): New.
563 * support/Makefile (SUBDIRS): Add misc.
565 * support/lib/Makefile (LIBS): Add libmisc.a.
567 * utils/rquotad/Makefile (LIBS): Add
569 -lmisc $(LIBWRAP) $(LIBNSL)
571 * utils/statd/Makefile (LIBS): Likewise.
573 * utils/rquotad/rquota_svc.c: Include "tcpwrapper.h" if
574 HAVE_TCP_WRAPPER is defined.
575 (rquotaprog_1): Call check_default () if HAVE_TCP_WRAPPER is
576 defined. Reject an RPC call if check_default () fails.
578 * utils/statd/statd.c: Include "tcpwrapper.h" if
579 HAVE_TCP_WRAPPER is defined.
580 (sm_prog_1_wrapper): New. A wrapper for sm_prog_1. Call
581 check_default () before calling sm_prog_1 (). Define it as
582 sm_prog_1_wrapper if HAVE_TCP_WRAPPER is defined.
584 2000-08-25 Chip Salzenberg <chip@valinux.com>
586 * debian/*: Complete Debian build support.
587 * etc/debian/*: Remove.
589 2000-08-24 Neil Brown <neilb@cse.unsw.edu.au>
591 * support/export/client.c(client_check): removed the "dot+1" as a
592 ypdomain argument to innetgr as this is entirely bogus.
593 It should always be NULL.
595 2000-08-23 Neil Brown <neilb@cse.unsw.edu.au>
597 * support/export/xtab.c(xtab_read): introduce new mode for
598 reading xtab. i.e. a list of exports that might be known to the
599 kernel, or might not. These are flagged as m_exported == -1
600 * support/export/xtab.c(xtab_mount_read): call xtab_read with new
601 value "2" for xtab, meaning don't trust this too much.
602 * support/include/exportfs.h(struct mexport): changed m_exported
603 from one bit to an int so that it can hold new value
604 * utils/exportfs/exportfs.c(exportfs_ipdate): add an export to the
605 kernel if it is uncertain whether the kernel knows (m_exported == -1)
606 * utils/mountd/mountd.c(get_rootfh): similarly export to kernel if
609 * support/nfs/xio.c(xflock): added O_CREAT when getting
610 a write lock so that missing files aren't fatal.
612 * etc/debian/nfs-common: new file from "potato"
613 * etc/debian/nfs-kernel-server: new file from "potato" plus fixes.
615 2000-08-09 H.J. Lu <hjl@lucon.org>
617 * etc/redhat/nfs.init: Run /usr/sbin/exportfs first during
618 startup to ensure all existing clients work fine.
620 * support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0
621 to xtab_read () for reading _PATH_XTAB.
623 2000-08-02 H.J. Lu <hjl@lucon.org>
625 * utils/mountd/auth.c (auth_authenticate_internal): Try to
626 avoid the reverse name lookup.
628 2000-07-04 H.J. Lu <hjl@lucon.org>
630 * utils/statd/log.c: Include <stdlib.h> for exit ().
632 * utils/statd/misc.c (xunlink): Add `{' and `}' to quiet the
635 2000-07-04 H.J. Lu <hjl@lucon.org>
637 * configure.in (VERSION): Set to "0.1.9.1".
638 * configure: Regenerated.
639 * nfs-utils.spec: Updated.
643 2000-07-04 Neil Brown <neilb@cse.unsw.edu.au>
645 * support/export/hostname.c (hostent_dup): Handle the NULL
648 2000-07-03 H.J. Lu <hjl@lucon.org>
650 * README: Update the util-linux requirement.
652 2000-07-03 H.J. Lu <hjl@lucon.org>
654 * configure.in (VERSION): Set to "0.1.9".
655 * configure: Regenerated.
656 * nfs-utils.spec: Updated.
660 2000-07-03 H.J. Lu <hjl@lucon.org>
662 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
663 stop to ensure all clients can still access the server
664 before it is shutdown.
666 2000-06-30 Jeff Uphoff <juphoff@transmeta.com>
668 * tools/rpcgen/rpc_svcout.c (write_msg_out): Generate syslog()
669 calls with format string.
671 2000-06-28 Chip Salzenberg <chip@valinux.com>
673 * utils/statd/log.c (log): Call syslog with format string.
675 2000-06-27 H.J. Lu <hjl@lucon.org>
677 * utils/statd/statd.c (main): Use sysconf (_SC_OPEN_MAX)
680 2000-06-27 H.J. Lu <hjl@lucon.org>
684 2000-06-27 H.J. Lu <hjl@lucon.org>
686 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
687 startup to ensure all existing clients are exported.
689 * configure.in (VERSION): Set to "0.1.8.2".
690 * configure: Regenerated.
691 * nfs-utils.spec: Updated.
693 2000-06-06 H.J. Lu <hjl@lucon.org>
695 * configure.in (VERSION): Set to "0.1.8.1".
696 * configure: Regenerated.
697 * nfs-utils.spec: Updated.
699 2000-06-06 H.J. Lu <hjl@lucon.org>
701 * utils/mountd/mountd.c (mount_dump_1_svc): Cast svc_getcaller
702 to "struct sockaddr_in *" for glibc 2.2.
703 (mount_umnt_1_svc): Likewise.
704 (mount_umntall_1_svc): Likewise.
705 (mount_export_1_svc): Likewise.
706 (mount_exportall_1_svc): Likewise.
707 (mount_pathconf_2_svc): Likewise.
708 (get_rootfh): Likewise.
710 2000-06-04 H.J. Lu <hjl@lucon.org>
712 * etc/redhat/nfs.init: Fix a typo in comment.
714 2000-05-31 H.J. Lu <hjl@lucon.org>
716 * configure.in (VERSION): Set to "0.1.8".
717 * configure: Regenerated.
718 * nfs-utils.spec: Updated.
722 2000-05-31 H.J. Lu <hjl@lucon.org>
724 * configure.in (VERSION): Set to "0.1.7.5".
725 * configure: Regenerated.
726 * nfs-utils.spec: Updated.
728 * support/include/nfslib.h (exportent): Add a new field,
729 r_count, to count the number of mounts from a client.
730 (getrmtabent): Take a new argument for position in file.
731 (putrmtabent): Likewise.
732 (fgetrmtabent): Likewise.
733 (fputrmtabent): Likewise.
734 * support/nfs/rmtab.c (getrmtabent): Handle the new argument
735 for position in file.
736 (fgetrmtabent): Likewise.
737 (putrmtabent): Likewise.
738 (fputrmtabent): Likewise.
740 * support/nfs/rmtab.c (fgetrmtabent): Get value for the new
743 * support/export/rmtab.c (rmtab_read): Pass NULL as the new
744 argument to getrmtabent (), fgetrmtabent (), putrmtabent ()
746 * utils/mountd/rmtab.c (mountlist_add): Likewise.
747 (mountlist_del): Likewise.
748 (mountlist_del_all): Likewise.
749 (mountlist_list): Likewise.
751 * utils/mountd/rmtab.c (mountlist_add): Increment "r_count"
752 for the existing entry and initialize "r_count" to 1.
753 (mountlist_del): Decrement "r_count".
755 2000-05-18 H.J. Lu <hjl@lucon.org>
757 * configure.in (VERSION): Set to "0.1.7.4".
758 * configure: Regenerated.
759 * nfs-utils.spec: Updated.
761 2000-05-18 H.J. Lu <hjl@lucon.org>
763 * etc/redhat/nfs.init (restart): Just do stop and start.
765 2000-05-09 Jay Weber <jweber@valinux.com>
767 * utils/rquotad/hasquota.c: added support for ext3 recognition
769 * utils/rquotad/mntent.h: Likewise.
771 2000-05-01 H.J. Lu <hjl@lucon.org>
773 * configure.in (VERSION): Set to "0.1.7.3".
774 * configure: Regenerated.
775 * nfs-utils.spec: Updated.
777 2000-05-01 H.J. Lu <hjl@lucon.org>
779 * utils/rquotad/rquota_server.c (getquotainfo): Skip bad
780 mounting poins in /etc/fstab.
782 2000-05-01 H.J. Lu <hjl@lucon.org>
784 * configure.in (VERSION): Set to "0.1.7.2".
785 * configure: Regenerated.
786 * nfs-utils.spec: Updated.
788 2000-05-01 H.J. Lu <hjl@lucon.org>
790 * utils/rquotad/rquota_server.c (getquotainfo): Call stat ()
791 to check for the mounting point.
793 2000-04-29 Chip Salzenberg <chip@valinux.com>
794 Neil Brown <neilb@cse.unsw.edu.au>
796 * Really re-use RPC ports.
797 (Fixes earlier patch. Sorry, Neil.)
799 2000-04-26 H.J. Lu <hjl@lucon.org>
801 * configure.in (VERSION): Set to "0.1.7.1".
802 * configure: Regenerated.
803 * nfs-utils.spec: Updated.
805 2000-04-26 H.J. Lu <hjl@lucon.org>
807 * etc/redhat/nfslock.init: Check if lockd exits before killing
810 2000-04-25 H.J. Lu <hjl@lucon.org>
812 * README: Require util-linux-2.10f-mount-rpc.patch for mount.
814 2000-03-21 Michael Weiser <michael@weiser.saale-net.de>
816 * support/nfs/exports.c (parsesquash): Correctly set the
819 Tue Mar 21 11:38:48 EST 2000 NeilBrown <neilb@cse.unsw.edu.au>
821 * support/include/nfs/nfs.h: Removed knowledge of internals of
822 kernel filehandles (which can change) and defined nfs_fh_size
823 which has variable size
825 * support/nfs/getfh.c: defined getfh_size to use new syscall to
826 get variable sized file handles, and change getfh{,old} to
829 * utils/mountd/mountd.c: use nfd_fh_size and call getfh_size for
832 * tools/Makefile, tools/nlmtest/nlmtest.c
833 nlmtest.c depended on internel format of file handles, so now
837 2000-03-12 Chip Salzenberg <chip@valinux.com>
838 Neil Brown <neilb@cse.unsw.edu.au>
840 * support/nfs/rpcmisc.c (rpc_init): Share transports.
842 2000-03-13 H.J. Lu <hjl@lucon.org>
844 * etc/redhat/nfsd.init: Updated.
846 * etc/redhat/nfslock.init: Updated.
848 * nfs-utils.spec.in: Updated.
850 * configure.in (VERSION): Set to "0.1.7".
851 * configure: Regenerated.
852 * nfs-utils.spec: Updated.
856 Wed Mar 8 09:42:43 2000 Neil Brown <neilb@cse.unsw.edu.au>
858 * utils/exportfs/exportfs.c (dump): Included printing of
859 nohide, no_subtree_check, and insecure_locks
861 2000-02-26 Chip Salzenberg <chip@valinux.com>
863 * config.mk.in (INSTALLSUID): Strip ("-s").
864 (INSTALLSCRIPT): Define.
865 * utils/nhfsstone/Makefile: Use it.
867 2000-02-26 Chip Salzenberg <chip@valinux.com>
869 * utils/lockd/lockd.man: Create.
870 * utils/lockd/Makefile: Install it.
871 * utils/nhfsstone/nhfs{run,nums,graph}.man: Create.
872 * utils/nhfsstone/nhfsstone.man: Change suffix from ".1".
873 * utils/nhfsstone/Makefile: Install the helper scripts and
875 * utils/exportfs/exports.man: Fix typo.
877 2000-02-26 Chip Salzenberg <chip@valinux.com>
879 * support/nfs/xio.c (xungetc): Decrement line number when
880 character to unget is newline. Make first parameter int, so
881 it can distinguish EOF from \377.
882 * support/include/xio.h (xungetc): Adjust prototype.
884 Fri Feb 4 23:42:23 2000 Neil Brown <neilb@cse.unsw.edu.au>
886 * support/include/nfs/export.h: added NFSEXP_NOAUTHNLM
887 * support/nfs/exports.c: added handling for NFSEXP_NOAUTHNLM
888 * utils/exportfs/exports.man: added documentation for no_auth_nlm.
890 This is for supporting a new option introduced in 2.3.42
892 Thu Feb 3 14:55:48 2000 H.J. Lu <hjl@lucon.org>
894 * COPYING: Added. GPL.
896 Thu Feb 03 14:40:40 2000 Cristian Gafton <gafton@redhat.com>
898 * utils/rquotad/rquota_server.c (getquotainfo): Call statfs ()
899 to get the block size.
901 Tue Jan 25 11:04:17 2000 H.J. Lu <hjl@lucon.org>
903 * nfs-utils.spec.in: Update ftp site.
905 Mon Jan 17 11:48:18 2000 H.J. Lu <hjl@lucon.org>
907 * README: Update hostnames.
909 Tue Jan 11 10:06:22 2000 H.J. Lu <hjl@lucon.org>
911 * configure.in (VERSION): Set to "0.1.6".
912 * configure: Regenerated.
913 * nfs-utils.spec: Updated.
917 Mon Jan 10 14:26:33 2000 H.J. Lu <hjl@lucon.org>
919 * utils/mountd/auth.c (auth_authenticate_internal): Call
920 xstrdup for hostname before passing it to gethostbyname.
922 * utils/mountd/mountd.c (get_exportlist): Use xstrdup instead
925 Sun Dec 19 09:35:01 1999 H.J. Lu <hjl@lucon.org>
927 * README: Update the mailing list address.
929 Sun Dec 19 09:22:28 1999 H.J. Lu <hjl@lucon.org>
931 * configure.in (VERSION): Set to "0.1.5".
932 * configure: Regenerated.
933 * nfs-utils.spec: Updated.
937 Mon Dec 13 13:40:20 1999 H.J. Lu <hjl@lucon.org>
939 * utils/rquotad/hasquota.c (hasquota): Malloc one more char
942 Mon Dec 6 09:42:45 1999 H.J. Lu <hjl@lucon.org>
944 * configure.in (VERSION): Set to "0.1.4".
945 * configure: Regenerated.
946 * nfs-utils.spec: Updated.
950 Mon Dec 6 09:28:07 1999 H.J. Lu <hjl@lucon.org>
952 * nfs-utils.spec.in: New file.
954 * config.mk.in (VERSION): Changed to "nfs-utils @VERSION@".
956 * configure.in (nfs-utils.spec): Added to AC_OUTPUT.
958 1999-12-04 Chip Salzenberg <chip@valinux.com>
960 * config.mk.in: Use $(CC) as set by configure.
962 1999-12-04 Chip Salzenberg <chip@valinux.com>
964 * rules.mk: Call $(MAKE) with $(MFLAGS).
966 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
968 * tools/rpcgen/rpc_main.c (h_output): Generate IXDR_GET_INT32,
969 IXDR_PUT_INT32, IXDR_GET_U_INT32 and IXDR_PUT_U_INT32.
971 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
973 * nfs-utils.spec (Version): Set to 0.1.3.
975 * configure.in (VERSION): Set to "nfs-utils 0.1.3".
976 * configure: Regenerated.
980 Mon Nov 29 11:15:47 1999 H.J. Lu <hjl@lucon.org>
982 * utils/rquotad/rquota_server.c (nfsmount_to_devname): Removed.
983 (_PATH_DEV_DSK): Likewise.
984 (getquotainfo): Match the mounting point from /etc/mtab
985 instead of calling nfsmount_to_devname ().
987 1999-11-24 Chip Salzenberg <chip@valinux.com>
989 * utils/statd/monitor.c (sm_mon_1_svc): Accept lockd callbacks
990 to the new port 24 as well as the historical port 100021.
992 Tue Nov 23 10:21:34 1999 Neil Brown <neilb@cse.unsw.edu.au>
994 * etc/redhat/nfsd.init (stop): moved exportfs -ua after
995 stopping nfsd to stop spurious ESTALE on server shutdown.
997 Tue Nov 23 10:13:39 1999 Neil Brown <neilb@cse.unsw.edu.au>
999 * support/nfs/exports.c (parseopts): make copy of opt string
1000 before 'nul'ing out commas so that
1002 # exportfs -o option1,option2 hosta:/fs hostb:/fs
1004 applies both options to both exports.
1006 Thu Oct 28 12:55:42 1999 H.J. Lu <hjl@lucon.org>
1008 * README: Fix a few typos.
1010 * tools/rpcgen/rpc_cout.c (print_header): Use int32_t instead
1012 * tools/rpcgen/rpc_hout.c (pdefine): Likewise.
1013 * tools/rpcgen/rpc_main.c (c_initialize): Likewise.
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_util.c (tokstrings): Likewise.
1019 * tools/rpcgen/rpc_cout.c (emit_single_in_line): Use INT32
1021 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1022 (unsigned_dec): Likewise.
1023 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1024 * tools/rpcgen/rpc_scan.h (tok_kind): Likewise.
1025 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1027 Thu Oct 28 11:27:51 1999 Neil Brown <neilb@cse.unsw.edu.au>
1029 * support/include/nfs/export.h addedd NFSEXP_NOSUBTREECHECK
1030 * support/nfs/exports.c: added {no_,}subtree_check and changed
1032 * utils/exportfs/exports.man: added no_subtree_check and nohide
1033 and removed irrelevant stuff from unfsd.
1034 * support/export/rmtab.c: rmtab_read didn't quite do the right
1035 thing if a pathname from rmtab was a subdirectory of an export-point
1037 Tue Oct 26 17:22:40 1999 H.J. Lu <hjl@lucon.org>
1039 * README: Updated ftp site.
1041 Mon Oct 25 18:12:45 1999 H.J. Lu <hjl@lucon.org>
1043 * nfs-utils.spec (Version): Set to 0.1.2.
1045 * configure.in (VERSION): Set to "nfs-utils 0.1.2".
1046 * configure: Regenerated.
1050 Mon Oct 25 18:11:21 1999 H.J. Lu <hjl@lucon.org>
1052 * utils/mountd/auth.c (auth_error): Add "no_forward_dns".
1053 (auth_authenticate_internal): Check for NULL return on forward
1055 (auth_authenticate): Handle "no_forward_dns".
1057 Thu Oct 21 16:22:06 1999 H.J. Lu <hjl@lucon.org>
1059 * Version 0.1.1 released.
1061 * nfs-utils.spec (Version): Set to 0.1.1.
1063 * configure.in (VERSION): Set to "nfs-utils 0.1.1".
1064 * configure: Regenerated.
1068 Mon Oct 18 17:43:29 1999 H.J. Lu <hjl@lucon.org>
1070 * nfs-utils.spec (Obsoletes): Fixed a typo, change knfsd-client
1072 (Provides): Likewise.
1074 Mon Oct 18 14:56:22 1999 H.J. Lu <hjl@lucon.org>
1076 * Initial version 0.1 released.
1078 * configure.in (VERSION): Set to "nfs-utils 0.1".
1079 * configure: Regenerated.
1081 Mon Oct 18 14:54:57 1999 H.J. Lu <hjl@lucon.org>
1083 * utils/mountd/mountd.c (get_exportlist): Cleanup.
1085 * utils/exportfs/exportfs.c (unexport_all): Unexport from
1086 kernel only if the entry is exported to kernel.
1087 (unexportfs): Likewise.
1089 Wed Sep 08 16:49:32 1999 Neil Brown <neilb@cse.unsw.edu.au>
1091 1/ utils/mountd/rmtab.c::mountlist_list
1093 This routine stats the rmtab file to see if it has changed. It
1094 if has, it cleans up it's old copy of the data. But it still
1095 always re-read the file, thus returning multiple copies of the
1096 data on consecutive calls without intervening changes.
1097 "Showmount -a" didn't show this as it appears to sort/unique the
1098 data, but 'strace showmount -a' showed that the size of the
1099 datagram that it received grew.
1101 I moved the getrmtabent loop inside the mtime test.
1103 2/ utils/exportfs/exportfs.c
1105 Many routines used the m_path field of m_export instead of
1107 According to the comment in nfslib.h, m_path should only
1108 be used when processing a mount request (i.e. in mountd)
1109 where the mountpoint may be a subdirectory of the export point.
1111 I changed all occurances of m_path to e_path
1114 3/ utils/exportfs/exportfs.c:main
1116 extra arguments are not meaningful with -a or -r, but
1117 exportfs accepted them and then ignored the -a/-r, expect that
1118 -r would still unexport everything first.
1120 I generate an error if there are extra args and f_all
1122 4/ utils/exportfs/exportfs.c:main
1123 extract dump out as a special case.
1125 5/ utils/exportfs/exportfs.c
1126 made f_reexport a local variable.
1129 6/ utils/exportfs/exportfs.c:main,exportall
1131 support/export/rmtab.c
1132 only mayexport on newly created entries, don't set xtabent at all
1134 7/ support/include/nfslib.h
1136 add #define _PATH_PROC_EXPORTS to be /proc/fs/nds/exports
1138 8/ support/export/xtab.c
1140 xtab_mount_read loads data from _PATH_PROC_EXPORTS if it exists,
1144 9/ support/export/xtab.c
1146 xtab_mount_read now sets m_exported, and NOT
1147 xtabent and mayexport
1149 removed the append arguement from xtab_write as it was
1152 added is_export flag to xtab_write similar to xtab_read
1153 if is_export, only write entries with m_xtabent or m_addxtab
1154 if !is_export, only write entries with m_exported
1156 10/ support/export/export.c::export_allowed_internal
1158 added test for exp->m_mayexport, as the export tree
1159 may have entries that are no longer allowed to be exported,
1160 and so shouldn't caused deduced exported by rmtab_read
1162 11/ utils/exportfs/exportfs.c::main
1163 error checking of flags.
1165 12/ utils/exportfs/exportfs.c
1167 total rewrite of export and unexport logic.
1169 - build an exportslist of valid exports, based on
1170 current etab file and arguments,
1171 - read rmtab to instantiate relevant wild card entries
1172 - read etab to find out what is currently exported
1173 - synchronise intention with reality
1174 - write out etab and xtab
1177 discard the m_addxtab flag
1178 add m_changed flag so we know what to report in exportfs
1180 14/ utils/mountd/auth.c:auth_authenticate
1182 the value returned by gethostbyaddr was trusted.
1184 It now follows this with a call to gethostbyname
1185 and checks that the address is in the list.
1187 15/ support/export/nfsctl.c::cltsetup,expsetup
1189 force client names to lowercase as kernel is
1192 16/ quietened a few compiler warnings
1194 17/ support/export/client:client_lookup
1196 look for pre-existing client with same name before creating
1199 18/ support/include/exportfs.h
1201 The ordering of the MCL_* enum was:
1202 ANONYMOUS, FQDN, SUBNETWORK, WILDCARD, NETGROUP
1204 I moved ANONYMOUS to the end.
1206 The ordering is significant when an export entry is being searched for to
1207 match a given address. There are two problems with ANONYMOUS being first.
1209 1/ if a directory is exported rw to a couple of hosts and ro to everyone else,
1210 then the ro case will always be found first and the privileged hosts won't get
1212 2/ When mountd gets a request to mount an ANONYMOUSly exported tree, it creates a FQDN
1213 export entry for the specific host, and writes it to xtab.
1214 When another request comes from the same host, the ANONYMOUS entry is found again,
1215 before the new FQDN entry, so it creates another FQDN entry and writes it to xtab
1216 again. If causes bloat in xtab.
1218 Putting ANONYMOUS at the end reflects it's nature as a catch-all
1220 19/ utils/exportfs/exportfs.man
1221 many updates to the man page to reflect changes to the code
1223 -----------------------
1229 - allow exportfs to modify rmtab file
1230 - make sure kernel never gets two clients with same IP address
1231 - possible kernel should reject
1232 - needs to be some way to lookup client in kernel by IP address
1233 - maybe get kernel to do case-insensitive comparisons on client names
1234 - remove unused clients from kernel
1236 - change etab to xtab and xtab to xtab.active
1238 - timestamp and/or statd-stamp in rmtab for removing old entries.
1240 Mon Oct 18 11:48:07 1999 H.J. Lu <hjl@lucon.org>
1242 * linux-nfs: New directory.
1243 * linux-nfs/ChangeLog: Moved from ..
1244 * linux-nfs/INSTALL: Likewise.
1245 * linux-nfs/KNOWNBUGS: Likewise.
1246 * linux-nfs/NEW: Likewise.
1247 * linux-nfs/README: Likewise.
1248 * linux-nfs/THANKS: Likewise.
1249 * linux-nfs/TODO: Likewise.
1251 * Starting from knfsd 1.4.7.