1 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
3 Arrange that "exportfs -au" never does DNS lookup:
5 * support/export/client.c (client_lookup) : add "canonical"
6 flag which says that the hostname is known to be canonical, so
9 * support/export/export.c (export_create) : add "canonical"
10 flag to be passed down to client_lookup
11 * support/export/export.c (export_lookup) : Likewise
13 * support/export/xtab.c (xtab_read) : pass appropriate
14 "canonical" flag to export_lookup and export_create:
15 set if reading list of filesystems currently exports
18 * support/export/export.c (export_read) : pass 0 as
19 "canonical" flag to export_lookup and export_create
20 * support/export/rmtab.s (rmtab_read) : Likewise
22 * support/include/exportfs.h : redeclare various routines
23 to have "canonical" flag
25 * utils/exportfs/exportfs.c (main) : redo logic for
26 "-au" to read in what is currently exported, but never even
27 look at what "should" be exported.
29 * utils/exportfs/exportfs.c (unexportall) : remove this
30 routine. Functionality is completely included in
33 * utils/exportfs/exportfs.c (exportfs) : set "canonical"
34 flag to zero in calls to export_lookup and export_create.
37 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
38 Anne Milicia <milicia@missioncriticallinux.com>
40 * support/export/client.c (client_lookup) call gethostbyadd
41 to make sure that we have a canonical hostname, even for
43 * utils/exportfs/exportfs.c (exportfs) Likewise
45 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
47 * support/nfs/exports.c (putexportent): \octal quote any spaces
49 * support/nfs/xio.c (xgettok): recognise double-quote and
50 \octal quoting in path names
51 * utils/exportfs/exports.man: document quoting conventions
54 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
56 * utils/mountd/auth.c (auth_authenticate_internal): Reverse
57 change from 2000-08-02: It causes problems if someone exports
58 to both a hostname and IP addresses. nfs-utils must be
59 consistant about the canonical name that it chooses.
61 2001-08-17 Ragnar Kjørstad <nfs@ragnark.vestdata.no>
62 H.J. Lu <hjl@lucon.org>
64 * etc/redhat/nfslock.init (STATDARG): New. Pass it to rpc.statd.
66 * utils/statd/statd.c (longopts): Add "name".
67 (usage): Add "-n/--name".
68 (main): Set MY_NAME with "-n/--name".
70 * utils/statd/state.c (change_state): Set MY_NAME only if it
73 * utils/statd/statd.man: Updated for "-n/--name".
75 2001-07-26 H.J. Lu <hjl@lucon.org>
77 * nfs-utils.spec (Release): Set to 8.
79 2001-07-25 H.J. Lu <hjl@lucon.org>
81 * etc/redhat/nfs.init: Check if rpc.rquotad exists before doing
84 2001-06-27 H.J. Lu <hjl@lucon.org>
86 * etc/redhat/nfs.init: Run rpc.rquotad only if it exists.
88 2001-06-27 H.J. Lu <hjl@lucon.org>
90 * utils/rquotad/rquota_server.c: Don't call statfs () for
91 the block size. Use BLOCK_SIZE instead.
93 2001-06-27 H.J. Lu <hjl@lucon.org>
95 * config.mk.in (CC_FOR_BUILD): Renamed from BUILD_CC.
96 (CFLAGS_FOR_BUILD): New. Don't use @CFLAGS@.
98 * configure.in (enable_nfsv3): Set to yes by default.
99 (--enable-rquotad): Added
100 (AC_PROG_CXX): Removed.
101 (AC_OUTPUT): Add utils/Makefile.
102 (CC_FOR_BUILD): Renamed from BUILD_CC.
103 * configure: Regenerated.
105 * utils/Makefile: Removed.
107 * utils/Makefile.in: New.
109 * nfs-utils.spec.in (rquotad): New. Set to 0 to disable
111 (CC_FOR_BUILD): Renamed from BUILD_CC.
112 * nfs-utils.spec: Regenerated.
114 2001-06-15 Chip Salzenberg <chip@debian.org>
116 * debian/changelog: Version 0.3.2-2.
117 * debian/*.init: Minor fixes.
119 2001-06-07 Lon H. Hohberger <hohberger@missioncriticallinux.com>
121 * etc/nodist/nfs-server: Fixed a bug where the script would
122 disable mounts from NFSv3 clients if NFSv3 is present.
124 2001-06-05 H.J. Lu <hjl@lucon.org>
126 * utils/mountd/mountd.c (longopts): Add "descriptors/o".
127 (main): Support --descriptors/-o to set the limit of the number
128 of open file descriptors.
131 * utils/mountd/mountd.man: Updated for --descriptors/-o.
133 2001-06-04 H.J. Lu <hjl@lucon.org>
135 * nfs-utils.spec (Release): Set to 6.
137 2001-05-28 H.J. Lu <hjl@lucon.org>
139 * utils/lockd/lockd.c (main): chdir to NFS_STATEDIR.
140 * utils/mountd/mountd.c (main): Likewise.
141 * utils/nfsd/nfsd.c (main): Likewise.
142 * utils/rquotad/rquota_svc.c (main): Likewise.
144 2001-05-06 Anne Milicia <milicia@missioncriticallinux.com>
146 * support/export/client.c (client_check): Check IP address
149 2001-05-06 Neil Brown <neilb@cse.unsw.edu.au>
151 * support/export/client.c (client_gettype): Treat `*' as
154 2001-04-22 H.J. Lu <hjl@lucon.org>
156 * nfs-utils.spec.in: Fix a typo.
157 * nfs-utils.spec: Regenerated.
159 2001-04-21 H.J. Lu <hjl@lucon.org>
161 * nfs-utils.spec.in: Fix cross build.
162 * nfs-utils.spec: Regenerated.
165 2001-04-18 H.J. Lu <hjl@lucon.org>
167 * nfs-utils.spec.in: Support cross build.
168 * nfs-utils.spec: Regenerated.
174 * config.mk.in (BUILD_CC): New.
175 (CC): Set to $(BUILD_CC) if BUILD is defined.
178 (RANLIB): Set to @RANLIB@.
180 * configure.in: Check BUILD_CC, RANLIB, AR and LD.
181 * configure: Regenerated.
183 * tools/rpcgen/Makefile (BUILD): Set to true.
185 2001-04-01 Chip Salzenberg <chip@valinux.com>
187 * tools/rpcgen/rpc_svcout.c (write_timeout_func): Remove
188 redundant, and sometimes broken, declaration of svc_fdset;
190 * support/nfs/rpcmisc.c (closedown): Likewise.
192 2001-03-21 H.J. Lu <hjl@lucon.org>
194 * nfs-utils.spec: Regenerated.
197 2001-03-21 Ion Badulescu <ionut@cs.columbia.edu>
199 * utils/statd/statd.c (main): make sure file descriptors 0-2
200 are open to /dev/null.
202 2001-03-21 H.J. Lu <hjl@lucon.org>
204 * support/nfs/rpcmisc.c: Restore the change made on 2001-03-10.
205 * support/nfs/rpcmisc.c: Likewise.
206 * utils/rquotad/rquota_svc.c: Likewise.
207 * utils/rquotad/rquotad.man: Likewise.
208 * utils/statd/Makefile: Likewise.
209 * utils/statd/rmtcall.c: Likewise.
210 * utils/statd/simulate.c: Likewise.
211 * utils/statd/statd.c: Likewise.
212 * utils/statd/statd.man: Likewise.
214 2001-03-11 H.J. Lu <hjl@lucon.org>
216 * configure.in (RELEASE): New. Default to 1, set by
217 --with-release=XXX. Substitute nfs-utils.spec.
218 * nfs-utils.spec.in (Release): Set to @RELEASE@.
219 * configure: Regenerated.
220 * nfs-utils.spec: Likewise.
222 2001-03-11 H.J. Lu <hjl@lucon.org>
224 * utils/rquotad/rquotad.man: Fix a typo.
226 2001-03-11 H.J. Lu <hjl@lucon.org>
228 * support/include/rpcmisc.h: Undo 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-10 H.J. Lu <hjl@lucon.org>
240 * configure.in (VERSION): Set to "0.3.2".
241 * configure: Regenerated.
242 * nfs-utils.spec: Likewise.
244 * README: Updated for 0.3.2.
246 2001-03-10 Tavis Barr <tavis@boole.isetr.columbia.edu>
248 * utils/rquotad/rquotad.man: Updated for -p.
249 * utils/statd/statd.man: Likewise.
251 2001-03-10 Ion Badulescu <ionut@cs.columbia.edu>
253 * support/nfs/rpcmisc.c: export makesock()
255 * support/include/rpcmisc.h (makesock): Declared.
257 * utils/rquotad/rquota_svc.c: added longopts, added support for
258 specifying the port to bind to on the command line.
260 * utils/statd/statd.c: ditto, also specify port used for
261 outgoing connections.
262 (do_regist): Removed.
264 * utils/statd/rmtcall.c (statd_get_socket): Renamed from
265 get_socket. Make it extern.
267 * utils/statd/simulate.c (daemon_simulator): Call rpc_init
268 instead of do_regist.
270 * utils/statd/Makefile (LIBS): link with our own libnfs
272 2001-03-09 H.J. Lu <hjl@lucon.org>
274 * etc/redhat/nfslock.init: Changed chkconfig line to 60 86.
275 * etc/nodist/nfs-client: Likewise.
277 2001-02-26 Chip Salzenberg <chip@valinux.com>
279 * debian/changelog: Version 0.3.1-1.
280 * Mention upstream source and license in copyright file.
281 * Add build-Depends for debhelper and libwrap0-dev.
283 2001-02-20 Lon Hohberger <hohberger@missioncriticallinux.com>
285 * etc/nodist/nfs-server: Changed chkconfig line to 60 20
286 * etc/nodist/nfs-client: Likewise.
288 2001-02-18 Lon Hohberger <hohberger@missioncriticallinux.com>
290 * utils/statd/statd.man: Changed /usr/sbin/rpc.statd to
293 2001-02-17 Patrick J. LoPresti <patl@curl.com>
295 * utils/statd/log.c (log_init): Use LOG_DAEMON instead of
298 2001-02-14 H.J. Lu <hjl@lucon.org>
300 * utils/statd/rmtcall.c: Include <time.h>.
301 * utils/statd/svc_run.c: Likewise.
303 2001-02-14 H.J. Lu <hjl@lucon.org>
305 * configure.in (VERSION): Set to "0.3.1".
306 * configure: Regenerated.
307 * nfs-utils.spec: Likewise.
309 * README: Updated for 0.3.1.
311 2001-02-14 H.J. Lu <hjl@lucon.org>
313 * support/nfs/rpcmisc.c: Include <time.h>.
315 2001-02-14 Chip Salzenberg <chip@valinux.com>
317 * debian/control: Change priority of nhfsstone package to 'extra'.
319 2001-02-12 Chip Salzenberg <chip@valinux.com>
321 * debian/changelog: Version 0.3-2.
323 2001-02-02 H.J. Lu <hjl@lucon.org>
325 * support/include/rpcmisc.h (rpc_init): Remove bufsize.
327 * support/nfs/rpcmisc.c (makesock): Remove socksz and comment
328 out SO_SNDBUF/SO_RCVBUF.
329 (rpc_init): Remove bufsize and remove socksz in calls to
332 * utils/mountd/mountd.c (main): Remove bufsize in calls to
335 2001-01-28 Chip Salzenberg <chip@valinux.com>
337 * debian/changelog: Version 0.3-1.
339 2001-01-25 H.J. Lu <hjl@lucon.org>
341 * configure.in (VERSION): Set to "0.3".
342 * configure: Regenerated.
343 * nfs-utils.spec: Likewise.
345 * README: Updated for 0.3.
347 2001-01-25 H.J. Lu <hjl@lucon.org>
349 * utils/lockd/lockd.c (main): Ignore errno == EINVAL.
351 2001-01-20 Chip Salzenberg <chip@valinux.com>
353 * support/include/xio.h (xgetc): Declare to return int.
354 * support/nfs/xio.c (xgetc): Return int.
355 (xgettok, xskip, xskipcomment): Use int for value of xgetc.
356 * utils/statd/statd.c (main): Use int for value of getopt.
357 * debian/changelog: Version 0.2.1-5.
359 2000-12-10 Chip Salzenberg <chip@valinux.com>
361 * utils/statd/monitor.c (sm_mon_1_svc): Fix buggy check for
362 program and procedure numbers of kernel lockd's callback. Also,
363 besides the old (and broken) procedure #24, allow #16 per Trond.
365 2000-12-03 Chip Salzenberg <chip@valinux.com>
367 * support/nfs/xio.c (xfopen): Initialize x_line to one, not zero.
368 * debian/control: Let nhfsstone replace files in nfs-kernel-server.
369 * debian/changelog: Version 0.2.1-4.
371 2000-11-27 Tobias Ringstrom <tori@tellus.mine.nu>
373 * utils/mountd/auth.c (auth_authenticate): Log the bad path
376 2000-11-24 Neil Brown <neilb@cse.unsw.edu.au>
378 * support/nfs/exports.c (getexportent): Check for host name
379 without option, or options without hostname, and print a warning,
380 as this is most likely a typo.
382 2000-11-19 Chip Salzenberg <chip@valinux.com>
384 * debian/control: Add dependency on portmap.
385 * debian/changelog: Version 0.2.1-3.
387 2000-11-10 H.J. Lu <hjl@lucon.org>
389 * nfs-utils.spec.in: Don't use libtool.
390 Add ChangeLog and COPYING to doc.
391 * nfs-utils.spec: Rebuild.
393 2000-11-09 H.J. Lu <hjl@lucon.org>
395 * etc/redhat/nfs.init (start): Back out the last change.
397 2000-11-09 H.J. Lu <hjl@lucon.org>
399 * etc/redhat/nfs.init (start): Pass --no-tcp to mountd if
400 TCP is not supported by kernel.
402 * support/nfs/rpcmisc.c (rpc_init): Don't set _rpcfdtype to 0.
404 * utils/mountd/mountd.c (longopts): Add "-n/--no-tcp".
405 (main): Set to _rpcfdtype to SOCK_DGRAM for "-n/--no-tcp".
407 * utils/mountd/mountd.man: Updated for "-n/--no-tcp".
409 2000-10-24 Lon Hohberger <hohberger@missioncriticallinux.com>
411 * utils/statd/callback.c: Fix bug preventing callbacks to local lockd.
412 * utils/statd/rmtcall.c: Add some IP address paranoia when doing
413 callbacks to local lockd.
415 2000-10-18 Scott McDermott <mcdermot@questra.com>
417 * utils/exportfs/exports.man: Updated for CIDR netmask.
419 2000-10-17 Scott McDermott <mcdermot@questra.com>
421 * support/export/client.c (client_init): Support CIDR netmask
424 2000-10-11 H.J. Lu <hjl@lucon.org>
426 * aclocal.m4 (AC_TCP_WRAPPER): Fix a typo.
427 * configure: Rebuilt.
429 2000-10-06 Lon Hohberger <hohberger@missioncriticallinux.com>
431 * utils/statd/statd.man: Change "/var/lib/nfs/sm/state" to
432 "/var/lib/nfs/state".
434 2000-10-05 Lon Hohberger <hohberger@missioncriticallinux.com>
436 * utils/statd/statd.h (run_mode): New global bitmask of runtime
437 behaviors: fg/bg, logging, etc.
438 * utils/statd/statd.c: New command line options: -V -h -? -d .
439 * utils/statd/statd.man: Update for changes to statd.
441 * utils/statd/log.h (log_init): Remove parameter of function; use
442 global variable "name_p" instead.
443 * utils/statd/log.c: Add support for logging to stderr.
445 * utils/statd/notlist.c: Partially rewrite notify list handling
446 functions. Eliminate run-off-end-of-list bug when calling
447 nlist_insert_timer. Add lots of comments.
449 2000-09-27 H.J. Lu <hjl@lucon.org>
451 * README: Updated for RedHat 7.0.
453 2000-09-27 H.J. Lu <hjl@lucon.org>
455 * nfs-utils.spec: Rebuild.
457 2000-09-27 H.J. Lu <hjl@lucon.org>
459 * README: Updated for 0.2.1.
461 2000-09-27 H.J. Lu <hjl@lucon.org>
463 * nfs-utils.spec.in: Updated to use rpm macros and support
466 2000-09-25 H.J. Lu <hjl@lucon.org>
468 * configure.in (VERSION): Set to "0.2.1".
469 * configure: Regenerated.
470 * nfs-utils.spec: Updated.
472 2000-09-25 H.J. Lu <hjl@lucon.org>
474 * utils/mountd/auth.c (auth_authenticate_internal): Make sure a
475 non-NULL hostent is always returned.
477 2000-09-11 Ion Badulescu <ionut@cs.columbia.edu>
479 * etc/redhat/nfslock.init: don't kill lockd processes that do not
480 have an executable (i.e. kernel threads)
482 2000-09-01 H.J. Lu <hjl@lucon.org>
484 * README: Updated for 0.2.
486 2000-09-01 Jay Weber <jweber@valinux.com>
488 * etc/redhat/nfs.init: Added ability for rpc.mountd to default to
489 supporting version 3 of nfs if available, else it will fall back to
490 version 2 support only.
492 2000-08-30 H.J. Lu <hjl@lucon.org>
494 * configure.in (VERSION): Set to "0.2".
495 * configure: Regenerated.
496 * nfs-utils.spec: Updated.
498 2000-08-25 H.J. Lu <hjl@lucon.org>
500 * support/misc/tcpwrapper.c (logit): Modify the log output.
502 2000-08-25 Ion Badulescu <ionut@cs.columbia.edu>
504 * utils/rquotad/rquotad.man, utils/statd/statd.man,
505 utils/mountd/mountd.man: updated
507 * utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL)
508 * utils/rquotad/Makefile: fix comment
510 * support/misc/tcpwrapper.c (logit): added comment about waiting
511 for the children after fork()
513 * utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving
514 zombies behind (from logit()'s fork)
515 * utils/rquotad/rquota_svc.c (main): ditto
516 * utils/statd/statd.c (main): ditto
518 * utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG
519 to check_default instead of 0, for prognum
521 * utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG
522 to check_default instead of 0, for prognum
524 * utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if
525 HAVE_TCP_WRAPPER is defined.
526 (mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is
527 defined. Reject an RPC call if check_default () fails.
529 2000-08-25 H.J. Lu <hjl@lucon.org>
531 * support/include/tcpwrapper.h: New for the tcp wrapper
533 * support/misc/Makefile: Likewise.
534 * support/misc/from_local.c: Likewise.
535 * support/misc/tcpwrapper.c: Likewise.
537 * aclocal.m4 (AC_TCP_WRAPPER): New.
538 * configure.in: Use it. Substitute LIBWRAP.
539 * configure: Rebuilt.
541 * config.mk.in (LIBNSL): New.
544 * support/Makefile (SUBDIRS): Add misc.
546 * support/lib/Makefile (LIBS): Add libmisc.a.
548 * utils/rquotad/Makefile (LIBS): Add
550 -lmisc $(LIBWRAP) $(LIBNSL)
552 * utils/statd/Makefile (LIBS): Likewise.
554 * utils/rquotad/rquota_svc.c: Include "tcpwrapper.h" if
555 HAVE_TCP_WRAPPER is defined.
556 (rquotaprog_1): Call check_default () if HAVE_TCP_WRAPPER is
557 defined. Reject an RPC call if check_default () fails.
559 * utils/statd/statd.c: Include "tcpwrapper.h" if
560 HAVE_TCP_WRAPPER is defined.
561 (sm_prog_1_wrapper): New. A wrapper for sm_prog_1. Call
562 check_default () before calling sm_prog_1 (). Define it as
563 sm_prog_1_wrapper if HAVE_TCP_WRAPPER is defined.
565 2000-08-25 Chip Salzenberg <chip@valinux.com>
567 * debian/*: Complete Debian build support.
568 * etc/debian/*: Remove.
570 2000-08-24 Neil Brown <neilb@cse.unsw.edu.au>
572 * support/export/client.c(client_check): removed the "dot+1" as a
573 ypdomain argument to innetgr as this is entirely bogus.
574 It should always be NULL.
576 2000-08-23 Neil Brown <neilb@cse.unsw.edu.au>
578 * support/export/xtab.c(xtab_read): introduce new mode for
579 reading xtab. i.e. a list of exports that might be known to the
580 kernel, or might not. These are flagged as m_exported == -1
581 * support/export/xtab.c(xtab_mount_read): call xtab_read with new
582 value "2" for xtab, meaning don't trust this too much.
583 * support/include/exportfs.h(struct mexport): changed m_exported
584 from one bit to an int so that it can hold new value
585 * utils/exportfs/exportfs.c(exportfs_ipdate): add an export to the
586 kernel if it is uncertain whether the kernel knows (m_exported == -1)
587 * utils/mountd/mountd.c(get_rootfh): similarly export to kernel if
590 * support/nfs/xio.c(xflock): added O_CREAT when getting
591 a write lock so that missing files aren't fatal.
593 * etc/debian/nfs-common: new file from "potato"
594 * etc/debian/nfs-kernel-server: new file from "potato" plus fixes.
596 2000-08-09 H.J. Lu <hjl@lucon.org>
598 * etc/redhat/nfs.init: Run /usr/sbin/exportfs first during
599 startup to ensure all existing clients work fine.
601 * support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0
602 to xtab_read () for reading _PATH_XTAB.
604 2000-08-02 H.J. Lu <hjl@lucon.org>
606 * utils/mountd/auth.c (auth_authenticate_internal): Try to
607 avoid the reverse name lookup.
609 2000-07-04 H.J. Lu <hjl@lucon.org>
611 * utils/statd/log.c: Include <stdlib.h> for exit ().
613 * utils/statd/misc.c (xunlink): Add `{' and `}' to quiet the
616 2000-07-04 H.J. Lu <hjl@lucon.org>
618 * configure.in (VERSION): Set to "0.1.9.1".
619 * configure: Regenerated.
620 * nfs-utils.spec: Updated.
624 2000-07-04 Neil Brown <neilb@cse.unsw.edu.au>
626 * support/export/hostname.c (hostent_dup): Handle the NULL
629 2000-07-03 H.J. Lu <hjl@lucon.org>
631 * README: Update the util-linux requirement.
633 2000-07-03 H.J. Lu <hjl@lucon.org>
635 * configure.in (VERSION): Set to "0.1.9".
636 * configure: Regenerated.
637 * nfs-utils.spec: Updated.
641 2000-07-03 H.J. Lu <hjl@lucon.org>
643 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
644 stop to ensure all clients can still access the server
645 before it is shutdown.
647 2000-06-30 Jeff Uphoff <juphoff@transmeta.com>
649 * tools/rpcgen/rpc_svcout.c (write_msg_out): Generate syslog()
650 calls with format string.
652 2000-06-28 Chip Salzenberg <chip@valinux.com>
654 * utils/statd/log.c (log): Call syslog with format string.
656 2000-06-27 H.J. Lu <hjl@lucon.org>
658 * utils/statd/statd.c (main): Use sysconf (_SC_OPEN_MAX)
661 2000-06-27 H.J. Lu <hjl@lucon.org>
665 2000-06-27 H.J. Lu <hjl@lucon.org>
667 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
668 startup to ensure all existing clients are exported.
670 * configure.in (VERSION): Set to "0.1.8.2".
671 * configure: Regenerated.
672 * nfs-utils.spec: Updated.
674 2000-06-06 H.J. Lu <hjl@lucon.org>
676 * configure.in (VERSION): Set to "0.1.8.1".
677 * configure: Regenerated.
678 * nfs-utils.spec: Updated.
680 2000-06-06 H.J. Lu <hjl@lucon.org>
682 * utils/mountd/mountd.c (mount_dump_1_svc): Cast svc_getcaller
683 to "struct sockaddr_in *" for glibc 2.2.
684 (mount_umnt_1_svc): Likewise.
685 (mount_umntall_1_svc): Likewise.
686 (mount_export_1_svc): Likewise.
687 (mount_exportall_1_svc): Likewise.
688 (mount_pathconf_2_svc): Likewise.
689 (get_rootfh): Likewise.
691 2000-06-04 H.J. Lu <hjl@lucon.org>
693 * etc/redhat/nfs.init: Fix a typo in comment.
695 2000-05-31 H.J. Lu <hjl@lucon.org>
697 * configure.in (VERSION): Set to "0.1.8".
698 * configure: Regenerated.
699 * nfs-utils.spec: Updated.
703 2000-05-31 H.J. Lu <hjl@lucon.org>
705 * configure.in (VERSION): Set to "0.1.7.5".
706 * configure: Regenerated.
707 * nfs-utils.spec: Updated.
709 * support/include/nfslib.h (exportent): Add a new field,
710 r_count, to count the number of mounts from a client.
711 (getrmtabent): Take a new argument for position in file.
712 (putrmtabent): Likewise.
713 (fgetrmtabent): Likewise.
714 (fputrmtabent): Likewise.
715 * support/nfs/rmtab.c (getrmtabent): Handle the new argument
716 for position in file.
717 (fgetrmtabent): Likewise.
718 (putrmtabent): Likewise.
719 (fputrmtabent): Likewise.
721 * support/nfs/rmtab.c (fgetrmtabent): Get value for the new
724 * support/export/rmtab.c (rmtab_read): Pass NULL as the new
725 argument to getrmtabent (), fgetrmtabent (), putrmtabent ()
727 * utils/mountd/rmtab.c (mountlist_add): Likewise.
728 (mountlist_del): Likewise.
729 (mountlist_del_all): Likewise.
730 (mountlist_list): Likewise.
732 * utils/mountd/rmtab.c (mountlist_add): Increment "r_count"
733 for the existing entry and initialize "r_count" to 1.
734 (mountlist_del): Decrement "r_count".
736 2000-05-18 H.J. Lu <hjl@lucon.org>
738 * configure.in (VERSION): Set to "0.1.7.4".
739 * configure: Regenerated.
740 * nfs-utils.spec: Updated.
742 2000-05-18 H.J. Lu <hjl@lucon.org>
744 * etc/redhat/nfs.init (restart): Just do stop and start.
746 2000-05-09 Jay Weber <jweber@valinux.com>
748 * utils/rquotad/hasquota.c: added support for ext3 recognition
750 * utils/rquotad/mntent.h: Likewise.
752 2000-05-01 H.J. Lu <hjl@lucon.org>
754 * configure.in (VERSION): Set to "0.1.7.3".
755 * configure: Regenerated.
756 * nfs-utils.spec: Updated.
758 2000-05-01 H.J. Lu <hjl@lucon.org>
760 * utils/rquotad/rquota_server.c (getquotainfo): Skip bad
761 mounting poins in /etc/fstab.
763 2000-05-01 H.J. Lu <hjl@lucon.org>
765 * configure.in (VERSION): Set to "0.1.7.2".
766 * configure: Regenerated.
767 * nfs-utils.spec: Updated.
769 2000-05-01 H.J. Lu <hjl@lucon.org>
771 * utils/rquotad/rquota_server.c (getquotainfo): Call stat ()
772 to check for the mounting point.
774 2000-04-29 Chip Salzenberg <chip@valinux.com>
775 Neil Brown <neilb@cse.unsw.edu.au>
777 * Really re-use RPC ports.
778 (Fixes earlier patch. Sorry, Neil.)
780 2000-04-26 H.J. Lu <hjl@lucon.org>
782 * configure.in (VERSION): Set to "0.1.7.1".
783 * configure: Regenerated.
784 * nfs-utils.spec: Updated.
786 2000-04-26 H.J. Lu <hjl@lucon.org>
788 * etc/redhat/nfslock.init: Check if lockd exits before killing
791 2000-04-25 H.J. Lu <hjl@lucon.org>
793 * README: Require util-linux-2.10f-mount-rpc.patch for mount.
795 2000-03-21 Michael Weiser <michael@weiser.saale-net.de>
797 * support/nfs/exports.c (parsesquash): Correctly set the
800 Tue Mar 21 11:38:48 EST 2000 NeilBrown <neilb@cse.unsw.edu.au>
802 * support/include/nfs/nfs.h: Removed knowledge of internals of
803 kernel filehandles (which can change) and defined nfs_fh_size
804 which has variable size
806 * support/nfs/getfh.c: defined getfh_size to use new syscall to
807 get variable sized file handles, and change getfh{,old} to
810 * utils/mountd/mountd.c: use nfd_fh_size and call getfh_size for
813 * tools/Makefile, tools/nlmtest/nlmtest.c
814 nlmtest.c depended on internel format of file handles, so now
818 2000-03-12 Chip Salzenberg <chip@valinux.com>
819 Neil Brown <neilb@cse.unsw.edu.au>
821 * support/nfs/rpcmisc.c (rpc_init): Share transports.
823 2000-03-13 H.J. Lu <hjl@lucon.org>
825 * etc/redhat/nfsd.init: Updated.
827 * etc/redhat/nfslock.init: Updated.
829 * nfs-utils.spec.in: Updated.
831 * configure.in (VERSION): Set to "0.1.7".
832 * configure: Regenerated.
833 * nfs-utils.spec: Updated.
837 Wed Mar 8 09:42:43 2000 Neil Brown <neilb@cse.unsw.edu.au>
839 * utils/exportfs/exportfs.c (dump): Included printing of
840 nohide, no_subtree_check, and insecure_locks
842 2000-02-26 Chip Salzenberg <chip@valinux.com>
844 * config.mk.in (INSTALLSUID): Strip ("-s").
845 (INSTALLSCRIPT): Define.
846 * utils/nhfsstone/Makefile: Use it.
848 2000-02-26 Chip Salzenberg <chip@valinux.com>
850 * utils/lockd/lockd.man: Create.
851 * utils/lockd/Makefile: Install it.
852 * utils/nhfsstone/nhfs{run,nums,graph}.man: Create.
853 * utils/nhfsstone/nhfsstone.man: Change suffix from ".1".
854 * utils/nhfsstone/Makefile: Install the helper scripts and
856 * utils/exportfs/exports.man: Fix typo.
858 2000-02-26 Chip Salzenberg <chip@valinux.com>
860 * support/nfs/xio.c (xungetc): Decrement line number when
861 character to unget is newline. Make first parameter int, so
862 it can distinguish EOF from \377.
863 * support/include/xio.h (xungetc): Adjust prototype.
865 Fri Feb 4 23:42:23 2000 Neil Brown <neilb@cse.unsw.edu.au>
867 * support/include/nfs/export.h: added NFSEXP_NOAUTHNLM
868 * support/nfs/exports.c: added handling for NFSEXP_NOAUTHNLM
869 * utils/exportfs/exports.man: added documentation for no_auth_nlm.
871 This is for supporting a new option introduced in 2.3.42
873 Thu Feb 3 14:55:48 2000 H.J. Lu <hjl@lucon.org>
875 * COPYING: Added. GPL.
877 Thu Feb 03 14:40:40 2000 Cristian Gafton <gafton@redhat.com>
879 * utils/rquotad/rquota_server.c (getquotainfo): Call statfs ()
880 to get the block size.
882 Tue Jan 25 11:04:17 2000 H.J. Lu <hjl@lucon.org>
884 * nfs-utils.spec.in: Update ftp site.
886 Mon Jan 17 11:48:18 2000 H.J. Lu <hjl@lucon.org>
888 * README: Update hostnames.
890 Tue Jan 11 10:06:22 2000 H.J. Lu <hjl@lucon.org>
892 * configure.in (VERSION): Set to "0.1.6".
893 * configure: Regenerated.
894 * nfs-utils.spec: Updated.
898 Mon Jan 10 14:26:33 2000 H.J. Lu <hjl@lucon.org>
900 * utils/mountd/auth.c (auth_authenticate_internal): Call
901 xstrdup for hostname before passing it to gethostbyname.
903 * utils/mountd/mountd.c (get_exportlist): Use xstrdup instead
906 Sun Dec 19 09:35:01 1999 H.J. Lu <hjl@lucon.org>
908 * README: Update the mailing list address.
910 Sun Dec 19 09:22:28 1999 H.J. Lu <hjl@lucon.org>
912 * configure.in (VERSION): Set to "0.1.5".
913 * configure: Regenerated.
914 * nfs-utils.spec: Updated.
918 Mon Dec 13 13:40:20 1999 H.J. Lu <hjl@lucon.org>
920 * utils/rquotad/hasquota.c (hasquota): Malloc one more char
923 Mon Dec 6 09:42:45 1999 H.J. Lu <hjl@lucon.org>
925 * configure.in (VERSION): Set to "0.1.4".
926 * configure: Regenerated.
927 * nfs-utils.spec: Updated.
931 Mon Dec 6 09:28:07 1999 H.J. Lu <hjl@lucon.org>
933 * nfs-utils.spec.in: New file.
935 * config.mk.in (VERSION): Changed to "nfs-utils @VERSION@".
937 * configure.in (nfs-utils.spec): Added to AC_OUTPUT.
939 1999-12-04 Chip Salzenberg <chip@valinux.com>
941 * config.mk.in: Use $(CC) as set by configure.
943 1999-12-04 Chip Salzenberg <chip@valinux.com>
945 * rules.mk: Call $(MAKE) with $(MFLAGS).
947 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
949 * tools/rpcgen/rpc_main.c (h_output): Generate IXDR_GET_INT32,
950 IXDR_PUT_INT32, IXDR_GET_U_INT32 and IXDR_PUT_U_INT32.
952 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
954 * nfs-utils.spec (Version): Set to 0.1.3.
956 * configure.in (VERSION): Set to "nfs-utils 0.1.3".
957 * configure: Regenerated.
961 Mon Nov 29 11:15:47 1999 H.J. Lu <hjl@lucon.org>
963 * utils/rquotad/rquota_server.c (nfsmount_to_devname): Removed.
964 (_PATH_DEV_DSK): Likewise.
965 (getquotainfo): Match the mounting point from /etc/mtab
966 instead of calling nfsmount_to_devname ().
968 1999-11-24 Chip Salzenberg <chip@valinux.com>
970 * utils/statd/monitor.c (sm_mon_1_svc): Accept lockd callbacks
971 to the new port 24 as well as the historical port 100021.
973 Tue Nov 23 10:21:34 1999 Neil Brown <neilb@cse.unsw.edu.au>
975 * etc/redhat/nfsd.init (stop): moved exportfs -ua after
976 stopping nfsd to stop spurious ESTALE on server shutdown.
978 Tue Nov 23 10:13:39 1999 Neil Brown <neilb@cse.unsw.edu.au>
980 * support/nfs/exports.c (parseopts): make copy of opt string
981 before 'nul'ing out commas so that
983 # exportfs -o option1,option2 hosta:/fs hostb:/fs
985 applies both options to both exports.
987 Thu Oct 28 12:55:42 1999 H.J. Lu <hjl@lucon.org>
989 * README: Fix a few typos.
991 * tools/rpcgen/rpc_cout.c (print_header): Use int32_t instead
993 * tools/rpcgen/rpc_hout.c (pdefine): Likewise.
994 * tools/rpcgen/rpc_main.c (c_initialize): Likewise.
995 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
996 (unsigned_dec): Likewise.
997 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
998 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1000 * tools/rpcgen/rpc_cout.c (emit_single_in_line): Use INT32
1002 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1003 (unsigned_dec): Likewise.
1004 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1005 * tools/rpcgen/rpc_scan.h (tok_kind): Likewise.
1006 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1008 Thu Oct 28 11:27:51 1999 Neil Brown <neilb@cse.unsw.edu.au>
1010 * support/include/nfs/export.h addedd NFSEXP_NOSUBTREECHECK
1011 * support/nfs/exports.c: added {no_,}subtree_check and changed
1013 * utils/exportfs/exports.man: added no_subtree_check and nohide
1014 and removed irrelevant stuff from unfsd.
1015 * support/export/rmtab.c: rmtab_read didn't quite do the right
1016 thing if a pathname from rmtab was a subdirectory of an export-point
1018 Tue Oct 26 17:22:40 1999 H.J. Lu <hjl@lucon.org>
1020 * README: Updated ftp site.
1022 Mon Oct 25 18:12:45 1999 H.J. Lu <hjl@lucon.org>
1024 * nfs-utils.spec (Version): Set to 0.1.2.
1026 * configure.in (VERSION): Set to "nfs-utils 0.1.2".
1027 * configure: Regenerated.
1031 Mon Oct 25 18:11:21 1999 H.J. Lu <hjl@lucon.org>
1033 * utils/mountd/auth.c (auth_error): Add "no_forward_dns".
1034 (auth_authenticate_internal): Check for NULL return on forward
1036 (auth_authenticate): Handle "no_forward_dns".
1038 Thu Oct 21 16:22:06 1999 H.J. Lu <hjl@lucon.org>
1040 * Version 0.1.1 released.
1042 * nfs-utils.spec (Version): Set to 0.1.1.
1044 * configure.in (VERSION): Set to "nfs-utils 0.1.1".
1045 * configure: Regenerated.
1049 Mon Oct 18 17:43:29 1999 H.J. Lu <hjl@lucon.org>
1051 * nfs-utils.spec (Obsoletes): Fixed a typo, change knfsd-client
1053 (Provides): Likewise.
1055 Mon Oct 18 14:56:22 1999 H.J. Lu <hjl@lucon.org>
1057 * Initial version 0.1 released.
1059 * configure.in (VERSION): Set to "nfs-utils 0.1".
1060 * configure: Regenerated.
1062 Mon Oct 18 14:54:57 1999 H.J. Lu <hjl@lucon.org>
1064 * utils/mountd/mountd.c (get_exportlist): Cleanup.
1066 * utils/exportfs/exportfs.c (unexport_all): Unexport from
1067 kernel only if the entry is exported to kernel.
1068 (unexportfs): Likewise.
1070 Wed Sep 08 16:49:32 1999 Neil Brown <neilb@cse.unsw.edu.au>
1072 1/ utils/mountd/rmtab.c::mountlist_list
1074 This routine stats the rmtab file to see if it has changed. It
1075 if has, it cleans up it's old copy of the data. But it still
1076 always re-read the file, thus returning multiple copies of the
1077 data on consecutive calls without intervening changes.
1078 "Showmount -a" didn't show this as it appears to sort/unique the
1079 data, but 'strace showmount -a' showed that the size of the
1080 datagram that it received grew.
1082 I moved the getrmtabent loop inside the mtime test.
1084 2/ utils/exportfs/exportfs.c
1086 Many routines used the m_path field of m_export instead of
1088 According to the comment in nfslib.h, m_path should only
1089 be used when processing a mount request (i.e. in mountd)
1090 where the mountpoint may be a subdirectory of the export point.
1092 I changed all occurances of m_path to e_path
1095 3/ utils/exportfs/exportfs.c:main
1097 extra arguments are not meaningful with -a or -r, but
1098 exportfs accepted them and then ignored the -a/-r, expect that
1099 -r would still unexport everything first.
1101 I generate an error if there are extra args and f_all
1103 4/ utils/exportfs/exportfs.c:main
1104 extract dump out as a special case.
1106 5/ utils/exportfs/exportfs.c
1107 made f_reexport a local variable.
1110 6/ utils/exportfs/exportfs.c:main,exportall
1112 support/export/rmtab.c
1113 only mayexport on newly created entries, don't set xtabent at all
1115 7/ support/include/nfslib.h
1117 add #define _PATH_PROC_EXPORTS to be /proc/fs/nds/exports
1119 8/ support/export/xtab.c
1121 xtab_mount_read loads data from _PATH_PROC_EXPORTS if it exists,
1125 9/ support/export/xtab.c
1127 xtab_mount_read now sets m_exported, and NOT
1128 xtabent and mayexport
1130 removed the append arguement from xtab_write as it was
1133 added is_export flag to xtab_write similar to xtab_read
1134 if is_export, only write entries with m_xtabent or m_addxtab
1135 if !is_export, only write entries with m_exported
1137 10/ support/export/export.c::export_allowed_internal
1139 added test for exp->m_mayexport, as the export tree
1140 may have entries that are no longer allowed to be exported,
1141 and so shouldn't caused deduced exported by rmtab_read
1143 11/ utils/exportfs/exportfs.c::main
1144 error checking of flags.
1146 12/ utils/exportfs/exportfs.c
1148 total rewrite of export and unexport logic.
1150 - build an exportslist of valid exports, based on
1151 current etab file and arguments,
1152 - read rmtab to instantiate relevant wild card entries
1153 - read etab to find out what is currently exported
1154 - synchronise intention with reality
1155 - write out etab and xtab
1158 discard the m_addxtab flag
1159 add m_changed flag so we know what to report in exportfs
1161 14/ utils/mountd/auth.c:auth_authenticate
1163 the value returned by gethostbyaddr was trusted.
1165 It now follows this with a call to gethostbyname
1166 and checks that the address is in the list.
1168 15/ support/export/nfsctl.c::cltsetup,expsetup
1170 force client names to lowercase as kernel is
1173 16/ quietened a few compiler warnings
1175 17/ support/export/client:client_lookup
1177 look for pre-existing client with same name before creating
1180 18/ support/include/exportfs.h
1182 The ordering of the MCL_* enum was:
1183 ANONYMOUS, FQDN, SUBNETWORK, WILDCARD, NETGROUP
1185 I moved ANONYMOUS to the end.
1187 The ordering is significant when an export entry is being searched for to
1188 match a given address. There are two problems with ANONYMOUS being first.
1190 1/ if a directory is exported rw to a couple of hosts and ro to everyone else,
1191 then the ro case will always be found first and the privileged hosts won't get
1193 2/ When mountd gets a request to mount an ANONYMOUSly exported tree, it creates a FQDN
1194 export entry for the specific host, and writes it to xtab.
1195 When another request comes from the same host, the ANONYMOUS entry is found again,
1196 before the new FQDN entry, so it creates another FQDN entry and writes it to xtab
1197 again. If causes bloat in xtab.
1199 Putting ANONYMOUS at the end reflects it's nature as a catch-all
1201 19/ utils/exportfs/exportfs.man
1202 many updates to the man page to reflect changes to the code
1204 -----------------------
1210 - allow exportfs to modify rmtab file
1211 - make sure kernel never gets two clients with same IP address
1212 - possible kernel should reject
1213 - needs to be some way to lookup client in kernel by IP address
1214 - maybe get kernel to do case-insensitive comparisons on client names
1215 - remove unused clients from kernel
1217 - change etab to xtab and xtab to xtab.active
1219 - timestamp and/or statd-stamp in rmtab for removing old entries.
1221 Mon Oct 18 11:48:07 1999 H.J. Lu <hjl@lucon.org>
1223 * linux-nfs: New directory.
1224 * linux-nfs/ChangeLog: Moved from ..
1225 * linux-nfs/INSTALL: Likewise.
1226 * linux-nfs/KNOWNBUGS: Likewise.
1227 * linux-nfs/NEW: Likewise.
1228 * linux-nfs/README: Likewise.
1229 * linux-nfs/THANKS: Likewise.
1230 * linux-nfs/TODO: Likewise.
1232 * Starting from knfsd 1.4.7.