1 2001-09-24 H.J. Lu <hjl@lucon.org>
3 * configure.in (VERSION): Set to "0.3.3".
4 * configure: Regenerated.
5 * nfs-utils.spec: Likewise.
7 * README: Updated for 0.3.3.
9 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
11 Arrange that "exportfs -au" never does DNS lookup:
13 * support/export/client.c (client_lookup) : add "canonical"
14 flag which says that the hostname is known to be canonical, so
17 * support/export/export.c (export_create) : add "canonical"
18 flag to be passed down to client_lookup
19 * support/export/export.c (export_lookup) : Likewise
21 * support/export/xtab.c (xtab_read) : pass appropriate
22 "canonical" flag to export_lookup and export_create:
23 set if reading list of filesystems currently exports
26 * support/export/export.c (export_read) : pass 0 as
27 "canonical" flag to export_lookup and export_create
28 * support/export/rmtab.s (rmtab_read) : Likewise
30 * support/include/exportfs.h : redeclare various routines
31 to have "canonical" flag
33 * utils/exportfs/exportfs.c (main) : redo logic for
34 "-au" to read in what is currently exported, but never even
35 look at what "should" be exported.
37 * utils/exportfs/exportfs.c (unexportall) : remove this
38 routine. Functionality is completely included in
41 * utils/exportfs/exportfs.c (exportfs) : set "canonical"
42 flag to zero in calls to export_lookup and export_create.
45 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
46 Anne Milicia <milicia@missioncriticallinux.com>
48 * support/export/client.c (client_lookup) call gethostbyadd
49 to make sure that we have a canonical hostname, even for
51 * utils/exportfs/exportfs.c (exportfs) Likewise
53 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
55 * support/nfs/exports.c (putexportent): \octal quote any spaces
57 * support/nfs/xio.c (xgettok): recognise double-quote and
58 \octal quoting in path names
59 * utils/exportfs/exports.man: document quoting conventions
62 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
64 * utils/mountd/auth.c (auth_authenticate_internal): Reverse
65 change from 2000-08-02: It causes problems if someone exports
66 to both a hostname and IP addresses. nfs-utils must be
67 consistant about the canonical name that it chooses.
69 2001-08-17 Ragnar Kjørstad <nfs@ragnark.vestdata.no>
70 H.J. Lu <hjl@lucon.org>
72 * etc/redhat/nfslock.init (STATDARG): New. Pass it to rpc.statd.
74 * utils/statd/statd.c (longopts): Add "name".
75 (usage): Add "-n/--name".
76 (main): Set MY_NAME with "-n/--name".
78 * utils/statd/state.c (change_state): Set MY_NAME only if it
81 * utils/statd/statd.man: Updated for "-n/--name".
83 2001-07-26 H.J. Lu <hjl@lucon.org>
85 * nfs-utils.spec (Release): Set to 8.
87 2001-07-25 H.J. Lu <hjl@lucon.org>
89 * etc/redhat/nfs.init: Check if rpc.rquotad exists before doing
92 2001-06-27 H.J. Lu <hjl@lucon.org>
94 * etc/redhat/nfs.init: Run rpc.rquotad only if it exists.
96 2001-06-27 H.J. Lu <hjl@lucon.org>
98 * utils/rquotad/rquota_server.c: Don't call statfs () for
99 the block size. Use BLOCK_SIZE instead.
101 2001-06-27 H.J. Lu <hjl@lucon.org>
103 * config.mk.in (CC_FOR_BUILD): Renamed from BUILD_CC.
104 (CFLAGS_FOR_BUILD): New. Don't use @CFLAGS@.
106 * configure.in (enable_nfsv3): Set to yes by default.
107 (--enable-rquotad): Added
108 (AC_PROG_CXX): Removed.
109 (AC_OUTPUT): Add utils/Makefile.
110 (CC_FOR_BUILD): Renamed from BUILD_CC.
111 * configure: Regenerated.
113 * utils/Makefile: Removed.
115 * utils/Makefile.in: New.
117 * nfs-utils.spec.in (rquotad): New. Set to 0 to disable
119 (CC_FOR_BUILD): Renamed from BUILD_CC.
120 * nfs-utils.spec: Regenerated.
122 2001-06-15 Chip Salzenberg <chip@debian.org>
124 * debian/changelog: Version 0.3.2-2.
125 * debian/*.init: Minor fixes.
127 2001-06-07 Lon H. Hohberger <hohberger@missioncriticallinux.com>
129 * etc/nodist/nfs-server: Fixed a bug where the script would
130 disable mounts from NFSv3 clients if NFSv3 is present.
132 2001-06-05 H.J. Lu <hjl@lucon.org>
134 * utils/mountd/mountd.c (longopts): Add "descriptors/o".
135 (main): Support --descriptors/-o to set the limit of the number
136 of open file descriptors.
139 * utils/mountd/mountd.man: Updated for --descriptors/-o.
141 2001-06-04 H.J. Lu <hjl@lucon.org>
143 * nfs-utils.spec (Release): Set to 6.
145 2001-05-28 H.J. Lu <hjl@lucon.org>
147 * utils/lockd/lockd.c (main): chdir to NFS_STATEDIR.
148 * utils/mountd/mountd.c (main): Likewise.
149 * utils/nfsd/nfsd.c (main): Likewise.
150 * utils/rquotad/rquota_svc.c (main): Likewise.
152 2001-05-06 Anne Milicia <milicia@missioncriticallinux.com>
154 * support/export/client.c (client_check): Check IP address
157 2001-05-06 Neil Brown <neilb@cse.unsw.edu.au>
159 * support/export/client.c (client_gettype): Treat `*' as
162 2001-04-22 H.J. Lu <hjl@lucon.org>
164 * nfs-utils.spec.in: Fix a typo.
165 * nfs-utils.spec: Regenerated.
167 2001-04-21 H.J. Lu <hjl@lucon.org>
169 * nfs-utils.spec.in: Fix cross build.
170 * nfs-utils.spec: Regenerated.
173 2001-04-18 H.J. Lu <hjl@lucon.org>
175 * nfs-utils.spec.in: Support cross build.
176 * nfs-utils.spec: Regenerated.
182 * config.mk.in (BUILD_CC): New.
183 (CC): Set to $(BUILD_CC) if BUILD is defined.
186 (RANLIB): Set to @RANLIB@.
188 * configure.in: Check BUILD_CC, RANLIB, AR and LD.
189 * configure: Regenerated.
191 * tools/rpcgen/Makefile (BUILD): Set to true.
193 2001-04-01 Chip Salzenberg <chip@valinux.com>
195 * tools/rpcgen/rpc_svcout.c (write_timeout_func): Remove
196 redundant, and sometimes broken, declaration of svc_fdset;
198 * support/nfs/rpcmisc.c (closedown): Likewise.
200 2001-03-21 H.J. Lu <hjl@lucon.org>
202 * nfs-utils.spec: Regenerated.
205 2001-03-21 Ion Badulescu <ionut@cs.columbia.edu>
207 * utils/statd/statd.c (main): make sure file descriptors 0-2
208 are open to /dev/null.
210 2001-03-21 H.J. Lu <hjl@lucon.org>
212 * support/nfs/rpcmisc.c: Restore the change made on 2001-03-10.
213 * support/nfs/rpcmisc.c: Likewise.
214 * utils/rquotad/rquota_svc.c: Likewise.
215 * utils/rquotad/rquotad.man: Likewise.
216 * utils/statd/Makefile: Likewise.
217 * utils/statd/rmtcall.c: Likewise.
218 * utils/statd/simulate.c: Likewise.
219 * utils/statd/statd.c: Likewise.
220 * utils/statd/statd.man: Likewise.
222 2001-03-11 H.J. Lu <hjl@lucon.org>
224 * configure.in (RELEASE): New. Default to 1, set by
225 --with-release=XXX. Substitute nfs-utils.spec.
226 * nfs-utils.spec.in (Release): Set to @RELEASE@.
227 * configure: Regenerated.
228 * nfs-utils.spec: Likewise.
230 2001-03-11 H.J. Lu <hjl@lucon.org>
232 * utils/rquotad/rquotad.man: Fix a typo.
234 2001-03-11 H.J. Lu <hjl@lucon.org>
236 * support/include/rpcmisc.h: Undo the change made on 2001-03-10.
237 * support/nfs/rpcmisc.c: Likewise.
238 * utils/rquotad/rquota_svc.c: Likewise.
239 * utils/rquotad/rquotad.man: Likewise.
240 * utils/statd/Makefile: Likewise.
241 * utils/statd/rmtcall.c: Likewise.
242 * utils/statd/simulate.c: Likewise.
243 * utils/statd/statd.c: Likewise.
244 * utils/statd/statd.man: Likewise.
246 2001-03-10 H.J. Lu <hjl@lucon.org>
248 * configure.in (VERSION): Set to "0.3.2".
249 * configure: Regenerated.
250 * nfs-utils.spec: Likewise.
252 * README: Updated for 0.3.2.
254 2001-03-10 Tavis Barr <tavis@boole.isetr.columbia.edu>
256 * utils/rquotad/rquotad.man: Updated for -p.
257 * utils/statd/statd.man: Likewise.
259 2001-03-10 Ion Badulescu <ionut@cs.columbia.edu>
261 * support/nfs/rpcmisc.c: export makesock()
263 * support/include/rpcmisc.h (makesock): Declared.
265 * utils/rquotad/rquota_svc.c: added longopts, added support for
266 specifying the port to bind to on the command line.
268 * utils/statd/statd.c: ditto, also specify port used for
269 outgoing connections.
270 (do_regist): Removed.
272 * utils/statd/rmtcall.c (statd_get_socket): Renamed from
273 get_socket. Make it extern.
275 * utils/statd/simulate.c (daemon_simulator): Call rpc_init
276 instead of do_regist.
278 * utils/statd/Makefile (LIBS): link with our own libnfs
280 2001-03-09 H.J. Lu <hjl@lucon.org>
282 * etc/redhat/nfslock.init: Changed chkconfig line to 60 86.
283 * etc/nodist/nfs-client: Likewise.
285 2001-02-26 Chip Salzenberg <chip@valinux.com>
287 * debian/changelog: Version 0.3.1-1.
288 * Mention upstream source and license in copyright file.
289 * Add build-Depends for debhelper and libwrap0-dev.
291 2001-02-20 Lon Hohberger <hohberger@missioncriticallinux.com>
293 * etc/nodist/nfs-server: Changed chkconfig line to 60 20
294 * etc/nodist/nfs-client: Likewise.
296 2001-02-18 Lon Hohberger <hohberger@missioncriticallinux.com>
298 * utils/statd/statd.man: Changed /usr/sbin/rpc.statd to
301 2001-02-17 Patrick J. LoPresti <patl@curl.com>
303 * utils/statd/log.c (log_init): Use LOG_DAEMON instead of
306 2001-02-14 H.J. Lu <hjl@lucon.org>
308 * utils/statd/rmtcall.c: Include <time.h>.
309 * utils/statd/svc_run.c: Likewise.
311 2001-02-14 H.J. Lu <hjl@lucon.org>
313 * configure.in (VERSION): Set to "0.3.1".
314 * configure: Regenerated.
315 * nfs-utils.spec: Likewise.
317 * README: Updated for 0.3.1.
319 2001-02-14 H.J. Lu <hjl@lucon.org>
321 * support/nfs/rpcmisc.c: Include <time.h>.
323 2001-02-14 Chip Salzenberg <chip@valinux.com>
325 * debian/control: Change priority of nhfsstone package to 'extra'.
327 2001-02-12 Chip Salzenberg <chip@valinux.com>
329 * debian/changelog: Version 0.3-2.
331 2001-02-02 H.J. Lu <hjl@lucon.org>
333 * support/include/rpcmisc.h (rpc_init): Remove bufsize.
335 * support/nfs/rpcmisc.c (makesock): Remove socksz and comment
336 out SO_SNDBUF/SO_RCVBUF.
337 (rpc_init): Remove bufsize and remove socksz in calls to
340 * utils/mountd/mountd.c (main): Remove bufsize in calls to
343 2001-01-28 Chip Salzenberg <chip@valinux.com>
345 * debian/changelog: Version 0.3-1.
347 2001-01-25 H.J. Lu <hjl@lucon.org>
349 * configure.in (VERSION): Set to "0.3".
350 * configure: Regenerated.
351 * nfs-utils.spec: Likewise.
353 * README: Updated for 0.3.
355 2001-01-25 H.J. Lu <hjl@lucon.org>
357 * utils/lockd/lockd.c (main): Ignore errno == EINVAL.
359 2001-01-20 Chip Salzenberg <chip@valinux.com>
361 * support/include/xio.h (xgetc): Declare to return int.
362 * support/nfs/xio.c (xgetc): Return int.
363 (xgettok, xskip, xskipcomment): Use int for value of xgetc.
364 * utils/statd/statd.c (main): Use int for value of getopt.
365 * debian/changelog: Version 0.2.1-5.
367 2000-12-10 Chip Salzenberg <chip@valinux.com>
369 * utils/statd/monitor.c (sm_mon_1_svc): Fix buggy check for
370 program and procedure numbers of kernel lockd's callback. Also,
371 besides the old (and broken) procedure #24, allow #16 per Trond.
373 2000-12-03 Chip Salzenberg <chip@valinux.com>
375 * support/nfs/xio.c (xfopen): Initialize x_line to one, not zero.
376 * debian/control: Let nhfsstone replace files in nfs-kernel-server.
377 * debian/changelog: Version 0.2.1-4.
379 2000-11-27 Tobias Ringstrom <tori@tellus.mine.nu>
381 * utils/mountd/auth.c (auth_authenticate): Log the bad path
384 2000-11-24 Neil Brown <neilb@cse.unsw.edu.au>
386 * support/nfs/exports.c (getexportent): Check for host name
387 without option, or options without hostname, and print a warning,
388 as this is most likely a typo.
390 2000-11-19 Chip Salzenberg <chip@valinux.com>
392 * debian/control: Add dependency on portmap.
393 * debian/changelog: Version 0.2.1-3.
395 2000-11-10 H.J. Lu <hjl@lucon.org>
397 * nfs-utils.spec.in: Don't use libtool.
398 Add ChangeLog and COPYING to doc.
399 * nfs-utils.spec: Rebuild.
401 2000-11-09 H.J. Lu <hjl@lucon.org>
403 * etc/redhat/nfs.init (start): Back out the last change.
405 2000-11-09 H.J. Lu <hjl@lucon.org>
407 * etc/redhat/nfs.init (start): Pass --no-tcp to mountd if
408 TCP is not supported by kernel.
410 * support/nfs/rpcmisc.c (rpc_init): Don't set _rpcfdtype to 0.
412 * utils/mountd/mountd.c (longopts): Add "-n/--no-tcp".
413 (main): Set to _rpcfdtype to SOCK_DGRAM for "-n/--no-tcp".
415 * utils/mountd/mountd.man: Updated for "-n/--no-tcp".
417 2000-10-24 Lon Hohberger <hohberger@missioncriticallinux.com>
419 * utils/statd/callback.c: Fix bug preventing callbacks to local lockd.
420 * utils/statd/rmtcall.c: Add some IP address paranoia when doing
421 callbacks to local lockd.
423 2000-10-18 Scott McDermott <mcdermot@questra.com>
425 * utils/exportfs/exports.man: Updated for CIDR netmask.
427 2000-10-17 Scott McDermott <mcdermot@questra.com>
429 * support/export/client.c (client_init): Support CIDR netmask
432 2000-10-11 H.J. Lu <hjl@lucon.org>
434 * aclocal.m4 (AC_TCP_WRAPPER): Fix a typo.
435 * configure: Rebuilt.
437 2000-10-06 Lon Hohberger <hohberger@missioncriticallinux.com>
439 * utils/statd/statd.man: Change "/var/lib/nfs/sm/state" to
440 "/var/lib/nfs/state".
442 2000-10-05 Lon Hohberger <hohberger@missioncriticallinux.com>
444 * utils/statd/statd.h (run_mode): New global bitmask of runtime
445 behaviors: fg/bg, logging, etc.
446 * utils/statd/statd.c: New command line options: -V -h -? -d .
447 * utils/statd/statd.man: Update for changes to statd.
449 * utils/statd/log.h (log_init): Remove parameter of function; use
450 global variable "name_p" instead.
451 * utils/statd/log.c: Add support for logging to stderr.
453 * utils/statd/notlist.c: Partially rewrite notify list handling
454 functions. Eliminate run-off-end-of-list bug when calling
455 nlist_insert_timer. Add lots of comments.
457 2000-09-27 H.J. Lu <hjl@lucon.org>
459 * README: Updated for RedHat 7.0.
461 2000-09-27 H.J. Lu <hjl@lucon.org>
463 * nfs-utils.spec: Rebuild.
465 2000-09-27 H.J. Lu <hjl@lucon.org>
467 * README: Updated for 0.2.1.
469 2000-09-27 H.J. Lu <hjl@lucon.org>
471 * nfs-utils.spec.in: Updated to use rpm macros and support
474 2000-09-25 H.J. Lu <hjl@lucon.org>
476 * configure.in (VERSION): Set to "0.2.1".
477 * configure: Regenerated.
478 * nfs-utils.spec: Updated.
480 2000-09-25 H.J. Lu <hjl@lucon.org>
482 * utils/mountd/auth.c (auth_authenticate_internal): Make sure a
483 non-NULL hostent is always returned.
485 2000-09-11 Ion Badulescu <ionut@cs.columbia.edu>
487 * etc/redhat/nfslock.init: don't kill lockd processes that do not
488 have an executable (i.e. kernel threads)
490 2000-09-01 H.J. Lu <hjl@lucon.org>
492 * README: Updated for 0.2.
494 2000-09-01 Jay Weber <jweber@valinux.com>
496 * etc/redhat/nfs.init: Added ability for rpc.mountd to default to
497 supporting version 3 of nfs if available, else it will fall back to
498 version 2 support only.
500 2000-08-30 H.J. Lu <hjl@lucon.org>
502 * configure.in (VERSION): Set to "0.2".
503 * configure: Regenerated.
504 * nfs-utils.spec: Updated.
506 2000-08-25 H.J. Lu <hjl@lucon.org>
508 * support/misc/tcpwrapper.c (logit): Modify the log output.
510 2000-08-25 Ion Badulescu <ionut@cs.columbia.edu>
512 * utils/rquotad/rquotad.man, utils/statd/statd.man,
513 utils/mountd/mountd.man: updated
515 * utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL)
516 * utils/rquotad/Makefile: fix comment
518 * support/misc/tcpwrapper.c (logit): added comment about waiting
519 for the children after fork()
521 * utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving
522 zombies behind (from logit()'s fork)
523 * utils/rquotad/rquota_svc.c (main): ditto
524 * utils/statd/statd.c (main): ditto
526 * utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG
527 to check_default instead of 0, for prognum
529 * utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG
530 to check_default instead of 0, for prognum
532 * utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if
533 HAVE_TCP_WRAPPER is defined.
534 (mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is
535 defined. Reject an RPC call if check_default () fails.
537 2000-08-25 H.J. Lu <hjl@lucon.org>
539 * support/include/tcpwrapper.h: New for the tcp wrapper
541 * support/misc/Makefile: Likewise.
542 * support/misc/from_local.c: Likewise.
543 * support/misc/tcpwrapper.c: Likewise.
545 * aclocal.m4 (AC_TCP_WRAPPER): New.
546 * configure.in: Use it. Substitute LIBWRAP.
547 * configure: Rebuilt.
549 * config.mk.in (LIBNSL): New.
552 * support/Makefile (SUBDIRS): Add misc.
554 * support/lib/Makefile (LIBS): Add libmisc.a.
556 * utils/rquotad/Makefile (LIBS): Add
558 -lmisc $(LIBWRAP) $(LIBNSL)
560 * utils/statd/Makefile (LIBS): Likewise.
562 * utils/rquotad/rquota_svc.c: Include "tcpwrapper.h" if
563 HAVE_TCP_WRAPPER is defined.
564 (rquotaprog_1): Call check_default () if HAVE_TCP_WRAPPER is
565 defined. Reject an RPC call if check_default () fails.
567 * utils/statd/statd.c: Include "tcpwrapper.h" if
568 HAVE_TCP_WRAPPER is defined.
569 (sm_prog_1_wrapper): New. A wrapper for sm_prog_1. Call
570 check_default () before calling sm_prog_1 (). Define it as
571 sm_prog_1_wrapper if HAVE_TCP_WRAPPER is defined.
573 2000-08-25 Chip Salzenberg <chip@valinux.com>
575 * debian/*: Complete Debian build support.
576 * etc/debian/*: Remove.
578 2000-08-24 Neil Brown <neilb@cse.unsw.edu.au>
580 * support/export/client.c(client_check): removed the "dot+1" as a
581 ypdomain argument to innetgr as this is entirely bogus.
582 It should always be NULL.
584 2000-08-23 Neil Brown <neilb@cse.unsw.edu.au>
586 * support/export/xtab.c(xtab_read): introduce new mode for
587 reading xtab. i.e. a list of exports that might be known to the
588 kernel, or might not. These are flagged as m_exported == -1
589 * support/export/xtab.c(xtab_mount_read): call xtab_read with new
590 value "2" for xtab, meaning don't trust this too much.
591 * support/include/exportfs.h(struct mexport): changed m_exported
592 from one bit to an int so that it can hold new value
593 * utils/exportfs/exportfs.c(exportfs_ipdate): add an export to the
594 kernel if it is uncertain whether the kernel knows (m_exported == -1)
595 * utils/mountd/mountd.c(get_rootfh): similarly export to kernel if
598 * support/nfs/xio.c(xflock): added O_CREAT when getting
599 a write lock so that missing files aren't fatal.
601 * etc/debian/nfs-common: new file from "potato"
602 * etc/debian/nfs-kernel-server: new file from "potato" plus fixes.
604 2000-08-09 H.J. Lu <hjl@lucon.org>
606 * etc/redhat/nfs.init: Run /usr/sbin/exportfs first during
607 startup to ensure all existing clients work fine.
609 * support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0
610 to xtab_read () for reading _PATH_XTAB.
612 2000-08-02 H.J. Lu <hjl@lucon.org>
614 * utils/mountd/auth.c (auth_authenticate_internal): Try to
615 avoid the reverse name lookup.
617 2000-07-04 H.J. Lu <hjl@lucon.org>
619 * utils/statd/log.c: Include <stdlib.h> for exit ().
621 * utils/statd/misc.c (xunlink): Add `{' and `}' to quiet the
624 2000-07-04 H.J. Lu <hjl@lucon.org>
626 * configure.in (VERSION): Set to "0.1.9.1".
627 * configure: Regenerated.
628 * nfs-utils.spec: Updated.
632 2000-07-04 Neil Brown <neilb@cse.unsw.edu.au>
634 * support/export/hostname.c (hostent_dup): Handle the NULL
637 2000-07-03 H.J. Lu <hjl@lucon.org>
639 * README: Update the util-linux requirement.
641 2000-07-03 H.J. Lu <hjl@lucon.org>
643 * configure.in (VERSION): Set to "0.1.9".
644 * configure: Regenerated.
645 * nfs-utils.spec: Updated.
649 2000-07-03 H.J. Lu <hjl@lucon.org>
651 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
652 stop to ensure all clients can still access the server
653 before it is shutdown.
655 2000-06-30 Jeff Uphoff <juphoff@transmeta.com>
657 * tools/rpcgen/rpc_svcout.c (write_msg_out): Generate syslog()
658 calls with format string.
660 2000-06-28 Chip Salzenberg <chip@valinux.com>
662 * utils/statd/log.c (log): Call syslog with format string.
664 2000-06-27 H.J. Lu <hjl@lucon.org>
666 * utils/statd/statd.c (main): Use sysconf (_SC_OPEN_MAX)
669 2000-06-27 H.J. Lu <hjl@lucon.org>
673 2000-06-27 H.J. Lu <hjl@lucon.org>
675 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
676 startup to ensure all existing clients are exported.
678 * configure.in (VERSION): Set to "0.1.8.2".
679 * configure: Regenerated.
680 * nfs-utils.spec: Updated.
682 2000-06-06 H.J. Lu <hjl@lucon.org>
684 * configure.in (VERSION): Set to "0.1.8.1".
685 * configure: Regenerated.
686 * nfs-utils.spec: Updated.
688 2000-06-06 H.J. Lu <hjl@lucon.org>
690 * utils/mountd/mountd.c (mount_dump_1_svc): Cast svc_getcaller
691 to "struct sockaddr_in *" for glibc 2.2.
692 (mount_umnt_1_svc): Likewise.
693 (mount_umntall_1_svc): Likewise.
694 (mount_export_1_svc): Likewise.
695 (mount_exportall_1_svc): Likewise.
696 (mount_pathconf_2_svc): Likewise.
697 (get_rootfh): Likewise.
699 2000-06-04 H.J. Lu <hjl@lucon.org>
701 * etc/redhat/nfs.init: Fix a typo in comment.
703 2000-05-31 H.J. Lu <hjl@lucon.org>
705 * configure.in (VERSION): Set to "0.1.8".
706 * configure: Regenerated.
707 * nfs-utils.spec: Updated.
711 2000-05-31 H.J. Lu <hjl@lucon.org>
713 * configure.in (VERSION): Set to "0.1.7.5".
714 * configure: Regenerated.
715 * nfs-utils.spec: Updated.
717 * support/include/nfslib.h (exportent): Add a new field,
718 r_count, to count the number of mounts from a client.
719 (getrmtabent): Take a new argument for position in file.
720 (putrmtabent): Likewise.
721 (fgetrmtabent): Likewise.
722 (fputrmtabent): Likewise.
723 * support/nfs/rmtab.c (getrmtabent): Handle the new argument
724 for position in file.
725 (fgetrmtabent): Likewise.
726 (putrmtabent): Likewise.
727 (fputrmtabent): Likewise.
729 * support/nfs/rmtab.c (fgetrmtabent): Get value for the new
732 * support/export/rmtab.c (rmtab_read): Pass NULL as the new
733 argument to getrmtabent (), fgetrmtabent (), putrmtabent ()
735 * utils/mountd/rmtab.c (mountlist_add): Likewise.
736 (mountlist_del): Likewise.
737 (mountlist_del_all): Likewise.
738 (mountlist_list): Likewise.
740 * utils/mountd/rmtab.c (mountlist_add): Increment "r_count"
741 for the existing entry and initialize "r_count" to 1.
742 (mountlist_del): Decrement "r_count".
744 2000-05-18 H.J. Lu <hjl@lucon.org>
746 * configure.in (VERSION): Set to "0.1.7.4".
747 * configure: Regenerated.
748 * nfs-utils.spec: Updated.
750 2000-05-18 H.J. Lu <hjl@lucon.org>
752 * etc/redhat/nfs.init (restart): Just do stop and start.
754 2000-05-09 Jay Weber <jweber@valinux.com>
756 * utils/rquotad/hasquota.c: added support for ext3 recognition
758 * utils/rquotad/mntent.h: Likewise.
760 2000-05-01 H.J. Lu <hjl@lucon.org>
762 * configure.in (VERSION): Set to "0.1.7.3".
763 * configure: Regenerated.
764 * nfs-utils.spec: Updated.
766 2000-05-01 H.J. Lu <hjl@lucon.org>
768 * utils/rquotad/rquota_server.c (getquotainfo): Skip bad
769 mounting poins in /etc/fstab.
771 2000-05-01 H.J. Lu <hjl@lucon.org>
773 * configure.in (VERSION): Set to "0.1.7.2".
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): Call stat ()
780 to check for the mounting point.
782 2000-04-29 Chip Salzenberg <chip@valinux.com>
783 Neil Brown <neilb@cse.unsw.edu.au>
785 * Really re-use RPC ports.
786 (Fixes earlier patch. Sorry, Neil.)
788 2000-04-26 H.J. Lu <hjl@lucon.org>
790 * configure.in (VERSION): Set to "0.1.7.1".
791 * configure: Regenerated.
792 * nfs-utils.spec: Updated.
794 2000-04-26 H.J. Lu <hjl@lucon.org>
796 * etc/redhat/nfslock.init: Check if lockd exits before killing
799 2000-04-25 H.J. Lu <hjl@lucon.org>
801 * README: Require util-linux-2.10f-mount-rpc.patch for mount.
803 2000-03-21 Michael Weiser <michael@weiser.saale-net.de>
805 * support/nfs/exports.c (parsesquash): Correctly set the
808 Tue Mar 21 11:38:48 EST 2000 NeilBrown <neilb@cse.unsw.edu.au>
810 * support/include/nfs/nfs.h: Removed knowledge of internals of
811 kernel filehandles (which can change) and defined nfs_fh_size
812 which has variable size
814 * support/nfs/getfh.c: defined getfh_size to use new syscall to
815 get variable sized file handles, and change getfh{,old} to
818 * utils/mountd/mountd.c: use nfd_fh_size and call getfh_size for
821 * tools/Makefile, tools/nlmtest/nlmtest.c
822 nlmtest.c depended on internel format of file handles, so now
826 2000-03-12 Chip Salzenberg <chip@valinux.com>
827 Neil Brown <neilb@cse.unsw.edu.au>
829 * support/nfs/rpcmisc.c (rpc_init): Share transports.
831 2000-03-13 H.J. Lu <hjl@lucon.org>
833 * etc/redhat/nfsd.init: Updated.
835 * etc/redhat/nfslock.init: Updated.
837 * nfs-utils.spec.in: Updated.
839 * configure.in (VERSION): Set to "0.1.7".
840 * configure: Regenerated.
841 * nfs-utils.spec: Updated.
845 Wed Mar 8 09:42:43 2000 Neil Brown <neilb@cse.unsw.edu.au>
847 * utils/exportfs/exportfs.c (dump): Included printing of
848 nohide, no_subtree_check, and insecure_locks
850 2000-02-26 Chip Salzenberg <chip@valinux.com>
852 * config.mk.in (INSTALLSUID): Strip ("-s").
853 (INSTALLSCRIPT): Define.
854 * utils/nhfsstone/Makefile: Use it.
856 2000-02-26 Chip Salzenberg <chip@valinux.com>
858 * utils/lockd/lockd.man: Create.
859 * utils/lockd/Makefile: Install it.
860 * utils/nhfsstone/nhfs{run,nums,graph}.man: Create.
861 * utils/nhfsstone/nhfsstone.man: Change suffix from ".1".
862 * utils/nhfsstone/Makefile: Install the helper scripts and
864 * utils/exportfs/exports.man: Fix typo.
866 2000-02-26 Chip Salzenberg <chip@valinux.com>
868 * support/nfs/xio.c (xungetc): Decrement line number when
869 character to unget is newline. Make first parameter int, so
870 it can distinguish EOF from \377.
871 * support/include/xio.h (xungetc): Adjust prototype.
873 Fri Feb 4 23:42:23 2000 Neil Brown <neilb@cse.unsw.edu.au>
875 * support/include/nfs/export.h: added NFSEXP_NOAUTHNLM
876 * support/nfs/exports.c: added handling for NFSEXP_NOAUTHNLM
877 * utils/exportfs/exports.man: added documentation for no_auth_nlm.
879 This is for supporting a new option introduced in 2.3.42
881 Thu Feb 3 14:55:48 2000 H.J. Lu <hjl@lucon.org>
883 * COPYING: Added. GPL.
885 Thu Feb 03 14:40:40 2000 Cristian Gafton <gafton@redhat.com>
887 * utils/rquotad/rquota_server.c (getquotainfo): Call statfs ()
888 to get the block size.
890 Tue Jan 25 11:04:17 2000 H.J. Lu <hjl@lucon.org>
892 * nfs-utils.spec.in: Update ftp site.
894 Mon Jan 17 11:48:18 2000 H.J. Lu <hjl@lucon.org>
896 * README: Update hostnames.
898 Tue Jan 11 10:06:22 2000 H.J. Lu <hjl@lucon.org>
900 * configure.in (VERSION): Set to "0.1.6".
901 * configure: Regenerated.
902 * nfs-utils.spec: Updated.
906 Mon Jan 10 14:26:33 2000 H.J. Lu <hjl@lucon.org>
908 * utils/mountd/auth.c (auth_authenticate_internal): Call
909 xstrdup for hostname before passing it to gethostbyname.
911 * utils/mountd/mountd.c (get_exportlist): Use xstrdup instead
914 Sun Dec 19 09:35:01 1999 H.J. Lu <hjl@lucon.org>
916 * README: Update the mailing list address.
918 Sun Dec 19 09:22:28 1999 H.J. Lu <hjl@lucon.org>
920 * configure.in (VERSION): Set to "0.1.5".
921 * configure: Regenerated.
922 * nfs-utils.spec: Updated.
926 Mon Dec 13 13:40:20 1999 H.J. Lu <hjl@lucon.org>
928 * utils/rquotad/hasquota.c (hasquota): Malloc one more char
931 Mon Dec 6 09:42:45 1999 H.J. Lu <hjl@lucon.org>
933 * configure.in (VERSION): Set to "0.1.4".
934 * configure: Regenerated.
935 * nfs-utils.spec: Updated.
939 Mon Dec 6 09:28:07 1999 H.J. Lu <hjl@lucon.org>
941 * nfs-utils.spec.in: New file.
943 * config.mk.in (VERSION): Changed to "nfs-utils @VERSION@".
945 * configure.in (nfs-utils.spec): Added to AC_OUTPUT.
947 1999-12-04 Chip Salzenberg <chip@valinux.com>
949 * config.mk.in: Use $(CC) as set by configure.
951 1999-12-04 Chip Salzenberg <chip@valinux.com>
953 * rules.mk: Call $(MAKE) with $(MFLAGS).
955 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
957 * tools/rpcgen/rpc_main.c (h_output): Generate IXDR_GET_INT32,
958 IXDR_PUT_INT32, IXDR_GET_U_INT32 and IXDR_PUT_U_INT32.
960 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
962 * nfs-utils.spec (Version): Set to 0.1.3.
964 * configure.in (VERSION): Set to "nfs-utils 0.1.3".
965 * configure: Regenerated.
969 Mon Nov 29 11:15:47 1999 H.J. Lu <hjl@lucon.org>
971 * utils/rquotad/rquota_server.c (nfsmount_to_devname): Removed.
972 (_PATH_DEV_DSK): Likewise.
973 (getquotainfo): Match the mounting point from /etc/mtab
974 instead of calling nfsmount_to_devname ().
976 1999-11-24 Chip Salzenberg <chip@valinux.com>
978 * utils/statd/monitor.c (sm_mon_1_svc): Accept lockd callbacks
979 to the new port 24 as well as the historical port 100021.
981 Tue Nov 23 10:21:34 1999 Neil Brown <neilb@cse.unsw.edu.au>
983 * etc/redhat/nfsd.init (stop): moved exportfs -ua after
984 stopping nfsd to stop spurious ESTALE on server shutdown.
986 Tue Nov 23 10:13:39 1999 Neil Brown <neilb@cse.unsw.edu.au>
988 * support/nfs/exports.c (parseopts): make copy of opt string
989 before 'nul'ing out commas so that
991 # exportfs -o option1,option2 hosta:/fs hostb:/fs
993 applies both options to both exports.
995 Thu Oct 28 12:55:42 1999 H.J. Lu <hjl@lucon.org>
997 * README: Fix a few typos.
999 * tools/rpcgen/rpc_cout.c (print_header): Use int32_t instead
1001 * tools/rpcgen/rpc_hout.c (pdefine): Likewise.
1002 * tools/rpcgen/rpc_main.c (c_initialize): Likewise.
1003 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1004 (unsigned_dec): Likewise.
1005 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1006 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1008 * tools/rpcgen/rpc_cout.c (emit_single_in_line): Use INT32
1010 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1011 (unsigned_dec): Likewise.
1012 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1013 * tools/rpcgen/rpc_scan.h (tok_kind): Likewise.
1014 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1016 Thu Oct 28 11:27:51 1999 Neil Brown <neilb@cse.unsw.edu.au>
1018 * support/include/nfs/export.h addedd NFSEXP_NOSUBTREECHECK
1019 * support/nfs/exports.c: added {no_,}subtree_check and changed
1021 * utils/exportfs/exports.man: added no_subtree_check and nohide
1022 and removed irrelevant stuff from unfsd.
1023 * support/export/rmtab.c: rmtab_read didn't quite do the right
1024 thing if a pathname from rmtab was a subdirectory of an export-point
1026 Tue Oct 26 17:22:40 1999 H.J. Lu <hjl@lucon.org>
1028 * README: Updated ftp site.
1030 Mon Oct 25 18:12:45 1999 H.J. Lu <hjl@lucon.org>
1032 * nfs-utils.spec (Version): Set to 0.1.2.
1034 * configure.in (VERSION): Set to "nfs-utils 0.1.2".
1035 * configure: Regenerated.
1039 Mon Oct 25 18:11:21 1999 H.J. Lu <hjl@lucon.org>
1041 * utils/mountd/auth.c (auth_error): Add "no_forward_dns".
1042 (auth_authenticate_internal): Check for NULL return on forward
1044 (auth_authenticate): Handle "no_forward_dns".
1046 Thu Oct 21 16:22:06 1999 H.J. Lu <hjl@lucon.org>
1048 * Version 0.1.1 released.
1050 * nfs-utils.spec (Version): Set to 0.1.1.
1052 * configure.in (VERSION): Set to "nfs-utils 0.1.1".
1053 * configure: Regenerated.
1057 Mon Oct 18 17:43:29 1999 H.J. Lu <hjl@lucon.org>
1059 * nfs-utils.spec (Obsoletes): Fixed a typo, change knfsd-client
1061 (Provides): Likewise.
1063 Mon Oct 18 14:56:22 1999 H.J. Lu <hjl@lucon.org>
1065 * Initial version 0.1 released.
1067 * configure.in (VERSION): Set to "nfs-utils 0.1".
1068 * configure: Regenerated.
1070 Mon Oct 18 14:54:57 1999 H.J. Lu <hjl@lucon.org>
1072 * utils/mountd/mountd.c (get_exportlist): Cleanup.
1074 * utils/exportfs/exportfs.c (unexport_all): Unexport from
1075 kernel only if the entry is exported to kernel.
1076 (unexportfs): Likewise.
1078 Wed Sep 08 16:49:32 1999 Neil Brown <neilb@cse.unsw.edu.au>
1080 1/ utils/mountd/rmtab.c::mountlist_list
1082 This routine stats the rmtab file to see if it has changed. It
1083 if has, it cleans up it's old copy of the data. But it still
1084 always re-read the file, thus returning multiple copies of the
1085 data on consecutive calls without intervening changes.
1086 "Showmount -a" didn't show this as it appears to sort/unique the
1087 data, but 'strace showmount -a' showed that the size of the
1088 datagram that it received grew.
1090 I moved the getrmtabent loop inside the mtime test.
1092 2/ utils/exportfs/exportfs.c
1094 Many routines used the m_path field of m_export instead of
1096 According to the comment in nfslib.h, m_path should only
1097 be used when processing a mount request (i.e. in mountd)
1098 where the mountpoint may be a subdirectory of the export point.
1100 I changed all occurances of m_path to e_path
1103 3/ utils/exportfs/exportfs.c:main
1105 extra arguments are not meaningful with -a or -r, but
1106 exportfs accepted them and then ignored the -a/-r, expect that
1107 -r would still unexport everything first.
1109 I generate an error if there are extra args and f_all
1111 4/ utils/exportfs/exportfs.c:main
1112 extract dump out as a special case.
1114 5/ utils/exportfs/exportfs.c
1115 made f_reexport a local variable.
1118 6/ utils/exportfs/exportfs.c:main,exportall
1120 support/export/rmtab.c
1121 only mayexport on newly created entries, don't set xtabent at all
1123 7/ support/include/nfslib.h
1125 add #define _PATH_PROC_EXPORTS to be /proc/fs/nds/exports
1127 8/ support/export/xtab.c
1129 xtab_mount_read loads data from _PATH_PROC_EXPORTS if it exists,
1133 9/ support/export/xtab.c
1135 xtab_mount_read now sets m_exported, and NOT
1136 xtabent and mayexport
1138 removed the append arguement from xtab_write as it was
1141 added is_export flag to xtab_write similar to xtab_read
1142 if is_export, only write entries with m_xtabent or m_addxtab
1143 if !is_export, only write entries with m_exported
1145 10/ support/export/export.c::export_allowed_internal
1147 added test for exp->m_mayexport, as the export tree
1148 may have entries that are no longer allowed to be exported,
1149 and so shouldn't caused deduced exported by rmtab_read
1151 11/ utils/exportfs/exportfs.c::main
1152 error checking of flags.
1154 12/ utils/exportfs/exportfs.c
1156 total rewrite of export and unexport logic.
1158 - build an exportslist of valid exports, based on
1159 current etab file and arguments,
1160 - read rmtab to instantiate relevant wild card entries
1161 - read etab to find out what is currently exported
1162 - synchronise intention with reality
1163 - write out etab and xtab
1166 discard the m_addxtab flag
1167 add m_changed flag so we know what to report in exportfs
1169 14/ utils/mountd/auth.c:auth_authenticate
1171 the value returned by gethostbyaddr was trusted.
1173 It now follows this with a call to gethostbyname
1174 and checks that the address is in the list.
1176 15/ support/export/nfsctl.c::cltsetup,expsetup
1178 force client names to lowercase as kernel is
1181 16/ quietened a few compiler warnings
1183 17/ support/export/client:client_lookup
1185 look for pre-existing client with same name before creating
1188 18/ support/include/exportfs.h
1190 The ordering of the MCL_* enum was:
1191 ANONYMOUS, FQDN, SUBNETWORK, WILDCARD, NETGROUP
1193 I moved ANONYMOUS to the end.
1195 The ordering is significant when an export entry is being searched for to
1196 match a given address. There are two problems with ANONYMOUS being first.
1198 1/ if a directory is exported rw to a couple of hosts and ro to everyone else,
1199 then the ro case will always be found first and the privileged hosts won't get
1201 2/ When mountd gets a request to mount an ANONYMOUSly exported tree, it creates a FQDN
1202 export entry for the specific host, and writes it to xtab.
1203 When another request comes from the same host, the ANONYMOUS entry is found again,
1204 before the new FQDN entry, so it creates another FQDN entry and writes it to xtab
1205 again. If causes bloat in xtab.
1207 Putting ANONYMOUS at the end reflects it's nature as a catch-all
1209 19/ utils/exportfs/exportfs.man
1210 many updates to the man page to reflect changes to the code
1212 -----------------------
1218 - allow exportfs to modify rmtab file
1219 - make sure kernel never gets two clients with same IP address
1220 - possible kernel should reject
1221 - needs to be some way to lookup client in kernel by IP address
1222 - maybe get kernel to do case-insensitive comparisons on client names
1223 - remove unused clients from kernel
1225 - change etab to xtab and xtab to xtab.active
1227 - timestamp and/or statd-stamp in rmtab for removing old entries.
1229 Mon Oct 18 11:48:07 1999 H.J. Lu <hjl@lucon.org>
1231 * linux-nfs: New directory.
1232 * linux-nfs/ChangeLog: Moved from ..
1233 * linux-nfs/INSTALL: Likewise.
1234 * linux-nfs/KNOWNBUGS: Likewise.
1235 * linux-nfs/NEW: Likewise.
1236 * linux-nfs/README: Likewise.
1237 * linux-nfs/THANKS: Likewise.
1238 * linux-nfs/TODO: Likewise.
1240 * Starting from knfsd 1.4.7.