1 2001-08-17 Ragnar Kjørstad <nfs@ragnark.vestdata.no>
2 H.J. Lu <hjl@lucon.org>
4 * etc/redhat/nfslock.init (STATDARG): New. Pass it to rpc.statd.
6 * utils/statd/statd.c (longopts): Add "name".
7 (usage): Add "-n/--name".
8 (main): Set MY_NAME with "-n/--name".
10 * utils/statd/state.c (change_state): Set MY_NAME only if it
13 * utils/statd/statd.man: Updated for "-n/--name".
15 2001-07-26 H.J. Lu <hjl@lucon.org>
17 * nfs-utils.spec (Release): Set to 8.
19 2001-07-25 H.J. Lu <hjl@lucon.org>
21 * etc/redhat/nfs.init: Check if rpc.rquotad exists before doing
24 2001-06-27 H.J. Lu <hjl@lucon.org>
26 * etc/redhat/nfs.init: Run rpc.rquotad only if it exists.
28 2001-06-27 H.J. Lu <hjl@lucon.org>
30 * utils/rquotad/rquota_server.c: Don't call statfs () for
31 the block size. Use BLOCK_SIZE instead.
33 2001-06-27 H.J. Lu <hjl@lucon.org>
35 * config.mk.in (CC_FOR_BUILD): Renamed from BUILD_CC.
36 (CFLAGS_FOR_BUILD): New. Don't use @CFLAGS@.
38 * configure.in (enable_nfsv3): Set to yes by default.
39 (--enable-rquotad): Added
40 (AC_PROG_CXX): Removed.
41 (AC_OUTPUT): Add utils/Makefile.
42 (CC_FOR_BUILD): Renamed from BUILD_CC.
43 * configure: Regenerated.
45 * utils/Makefile: Removed.
47 * utils/Makefile.in: New.
49 * nfs-utils.spec.in (rquotad): New. Set to 0 to disable
51 (CC_FOR_BUILD): Renamed from BUILD_CC.
52 * nfs-utils.spec: Regenerated.
54 2001-06-15 Chip Salzenberg <chip@debian.org>
56 * debian/changelog: Version 0.3.2-2.
57 * debian/*.init: Minor fixes.
59 2001-06-07 Lon H. Hohberger <hohberger@missioncriticallinux.com>
61 * etc/nodist/nfs-server: Fixed a bug where the script would
62 disable mounts from NFSv3 clients if NFSv3 is present.
64 2001-06-05 H.J. Lu <hjl@lucon.org>
66 * utils/mountd/mountd.c (longopts): Add "descriptors/o".
67 (main): Support --descriptors/-o to set the limit of the number
68 of open file descriptors.
71 * utils/mountd/mountd.man: Updated for --descriptors/-o.
73 2001-06-04 H.J. Lu <hjl@lucon.org>
75 * nfs-utils.spec (Release): Set to 6.
77 2001-05-28 H.J. Lu <hjl@lucon.org>
79 * utils/lockd/lockd.c (main): chdir to NFS_STATEDIR.
80 * utils/mountd/mountd.c (main): Likewise.
81 * utils/nfsd/nfsd.c (main): Likewise.
82 * utils/rquotad/rquota_svc.c (main): Likewise.
84 2001-05-06 Anne Milicia <milicia@missioncriticallinux.com>
86 * support/export/client.c (client_check): Check IP address
89 2001-05-06 Neil Brown <neilb@cse.unsw.edu.au>
91 * support/export/client.c (client_gettype): Treat `*' as
94 2001-04-22 H.J. Lu <hjl@lucon.org>
96 * nfs-utils.spec.in: Fix a typo.
97 * nfs-utils.spec: Regenerated.
99 2001-04-21 H.J. Lu <hjl@lucon.org>
101 * nfs-utils.spec.in: Fix cross build.
102 * nfs-utils.spec: Regenerated.
105 2001-04-18 H.J. Lu <hjl@lucon.org>
107 * nfs-utils.spec.in: Support cross build.
108 * nfs-utils.spec: Regenerated.
114 * config.mk.in (BUILD_CC): New.
115 (CC): Set to $(BUILD_CC) if BUILD is defined.
118 (RANLIB): Set to @RANLIB@.
120 * configure.in: Check BUILD_CC, RANLIB, AR and LD.
121 * configure: Regenerated.
123 * tools/rpcgen/Makefile (BUILD): Set to true.
125 2001-04-01 Chip Salzenberg <chip@valinux.com>
127 * tools/rpcgen/rpc_svcout.c (write_timeout_func): Remove
128 redundant, and sometimes broken, declaration of svc_fdset;
130 * support/nfs/rpcmisc.c (closedown): Likewise.
132 2001-03-21 H.J. Lu <hjl@lucon.org>
134 * nfs-utils.spec: Regenerated.
137 2001-03-21 Ion Badulescu <ionut@cs.columbia.edu>
139 * utils/statd/statd.c (main): make sure file descriptors 0-2
140 are open to /dev/null.
142 2001-03-21 H.J. Lu <hjl@lucon.org>
144 * support/nfs/rpcmisc.c: Restore the change made on 2001-03-10.
145 * support/nfs/rpcmisc.c: Likewise.
146 * utils/rquotad/rquota_svc.c: Likewise.
147 * utils/rquotad/rquotad.man: Likewise.
148 * utils/statd/Makefile: Likewise.
149 * utils/statd/rmtcall.c: Likewise.
150 * utils/statd/simulate.c: Likewise.
151 * utils/statd/statd.c: Likewise.
152 * utils/statd/statd.man: Likewise.
154 2001-03-11 H.J. Lu <hjl@lucon.org>
156 * configure.in (RELEASE): New. Default to 1, set by
157 --with-release=XXX. Substitute nfs-utils.spec.
158 * nfs-utils.spec.in (Release): Set to @RELEASE@.
159 * configure: Regenerated.
160 * nfs-utils.spec: Likewise.
162 2001-03-11 H.J. Lu <hjl@lucon.org>
164 * utils/rquotad/rquotad.man: Fix a typo.
166 2001-03-11 H.J. Lu <hjl@lucon.org>
168 * support/include/rpcmisc.h: Undo the change made on 2001-03-10.
169 * support/nfs/rpcmisc.c: Likewise.
170 * utils/rquotad/rquota_svc.c: Likewise.
171 * utils/rquotad/rquotad.man: Likewise.
172 * utils/statd/Makefile: Likewise.
173 * utils/statd/rmtcall.c: Likewise.
174 * utils/statd/simulate.c: Likewise.
175 * utils/statd/statd.c: Likewise.
176 * utils/statd/statd.man: Likewise.
178 2001-03-10 H.J. Lu <hjl@lucon.org>
180 * configure.in (VERSION): Set to "0.3.2".
181 * configure: Regenerated.
182 * nfs-utils.spec: Likewise.
184 * README: Updated for 0.3.2.
186 2001-03-10 Tavis Barr <tavis@boole.isetr.columbia.edu>
188 * utils/rquotad/rquotad.man: Updated for -p.
189 * utils/statd/statd.man: Likewise.
191 2001-03-10 Ion Badulescu <ionut@cs.columbia.edu>
193 * support/nfs/rpcmisc.c: export makesock()
195 * support/include/rpcmisc.h (makesock): Declared.
197 * utils/rquotad/rquota_svc.c: added longopts, added support for
198 specifying the port to bind to on the command line.
200 * utils/statd/statd.c: ditto, also specify port used for
201 outgoing connections.
202 (do_regist): Removed.
204 * utils/statd/rmtcall.c (statd_get_socket): Renamed from
205 get_socket. Make it extern.
207 * utils/statd/simulate.c (daemon_simulator): Call rpc_init
208 instead of do_regist.
210 * utils/statd/Makefile (LIBS): link with our own libnfs
212 2001-03-09 H.J. Lu <hjl@lucon.org>
214 * etc/redhat/nfslock.init: Changed chkconfig line to 60 86.
215 * etc/nodist/nfs-client: Likewise.
217 2001-02-26 Chip Salzenberg <chip@valinux.com>
219 * debian/changelog: Version 0.3.1-1.
220 * Mention upstream source and license in copyright file.
221 * Add build-Depends for debhelper and libwrap0-dev.
223 2001-02-20 Lon Hohberger <hohberger@missioncriticallinux.com>
225 * etc/nodist/nfs-server: Changed chkconfig line to 60 20
226 * etc/nodist/nfs-client: Likewise.
228 2001-02-18 Lon Hohberger <hohberger@missioncriticallinux.com>
230 * utils/statd/statd.man: Changed /usr/sbin/rpc.statd to
233 2001-02-17 Patrick J. LoPresti <patl@curl.com>
235 * utils/statd/log.c (log_init): Use LOG_DAEMON instead of
238 2001-02-14 H.J. Lu <hjl@lucon.org>
240 * utils/statd/rmtcall.c: Include <time.h>.
241 * utils/statd/svc_run.c: Likewise.
243 2001-02-14 H.J. Lu <hjl@lucon.org>
245 * configure.in (VERSION): Set to "0.3.1".
246 * configure: Regenerated.
247 * nfs-utils.spec: Likewise.
249 * README: Updated for 0.3.1.
251 2001-02-14 H.J. Lu <hjl@lucon.org>
253 * support/nfs/rpcmisc.c: Include <time.h>.
255 2001-02-14 Chip Salzenberg <chip@valinux.com>
257 * debian/control: Change priority of nhfsstone package to 'extra'.
259 2001-02-12 Chip Salzenberg <chip@valinux.com>
261 * debian/changelog: Version 0.3-2.
263 2001-02-02 H.J. Lu <hjl@lucon.org>
265 * support/include/rpcmisc.h (rpc_init): Remove bufsize.
267 * support/nfs/rpcmisc.c (makesock): Remove socksz and comment
268 out SO_SNDBUF/SO_RCVBUF.
269 (rpc_init): Remove bufsize and remove socksz in calls to
272 * utils/mountd/mountd.c (main): Remove bufsize in calls to
275 2001-01-28 Chip Salzenberg <chip@valinux.com>
277 * debian/changelog: Version 0.3-1.
279 2001-01-25 H.J. Lu <hjl@lucon.org>
281 * configure.in (VERSION): Set to "0.3".
282 * configure: Regenerated.
283 * nfs-utils.spec: Likewise.
285 * README: Updated for 0.3.
287 2001-01-25 H.J. Lu <hjl@lucon.org>
289 * utils/lockd/lockd.c (main): Ignore errno == EINVAL.
291 2001-01-20 Chip Salzenberg <chip@valinux.com>
293 * support/include/xio.h (xgetc): Declare to return int.
294 * support/nfs/xio.c (xgetc): Return int.
295 (xgettok, xskip, xskipcomment): Use int for value of xgetc.
296 * utils/statd/statd.c (main): Use int for value of getopt.
297 * debian/changelog: Version 0.2.1-5.
299 2000-12-10 Chip Salzenberg <chip@valinux.com>
301 * utils/statd/monitor.c (sm_mon_1_svc): Fix buggy check for
302 program and procedure numbers of kernel lockd's callback. Also,
303 besides the old (and broken) procedure #24, allow #16 per Trond.
305 2000-12-03 Chip Salzenberg <chip@valinux.com>
307 * support/nfs/xio.c (xfopen): Initialize x_line to one, not zero.
308 * debian/control: Let nhfsstone replace files in nfs-kernel-server.
309 * debian/changelog: Version 0.2.1-4.
311 2000-11-27 Tobias Ringstrom <tori@tellus.mine.nu>
313 * utils/mountd/auth.c (auth_authenticate): Log the bad path
316 2000-11-24 Neil Brown <neilb@cse.unsw.edu.au>
318 * support/nfs/exports.c (getexportent): Check for host name
319 without option, or options without hostname, and print a warning,
320 as this is most likely a typo.
322 2000-11-19 Chip Salzenberg <chip@valinux.com>
324 * debian/control: Add dependency on portmap.
325 * debian/changelog: Version 0.2.1-3.
327 2000-11-10 H.J. Lu <hjl@lucon.org>
329 * nfs-utils.spec.in: Don't use libtool.
330 Add ChangeLog and COPYING to doc.
331 * nfs-utils.spec: Rebuild.
333 2000-11-09 H.J. Lu <hjl@lucon.org>
335 * etc/redhat/nfs.init (start): Back out the last change.
337 2000-11-09 H.J. Lu <hjl@lucon.org>
339 * etc/redhat/nfs.init (start): Pass --no-tcp to mountd if
340 TCP is not supported by kernel.
342 * support/nfs/rpcmisc.c (rpc_init): Don't set _rpcfdtype to 0.
344 * utils/mountd/mountd.c (longopts): Add "-n/--no-tcp".
345 (main): Set to _rpcfdtype to SOCK_DGRAM for "-n/--no-tcp".
347 * utils/mountd/mountd.man: Updated for "-n/--no-tcp".
349 2000-10-24 Lon Hohberger <hohberger@missioncriticallinux.com>
351 * utils/statd/callback.c: Fix bug preventing callbacks to local lockd.
352 * utils/statd/rmtcall.c: Add some IP address paranoia when doing
353 callbacks to local lockd.
355 2000-10-18 Scott McDermott <mcdermot@questra.com>
357 * utils/exportfs/exports.man: Updated for CIDR netmask.
359 2000-10-17 Scott McDermott <mcdermot@questra.com>
361 * support/export/client.c (client_init): Support CIDR netmask
364 2000-10-11 H.J. Lu <hjl@lucon.org>
366 * aclocal.m4 (AC_TCP_WRAPPER): Fix a typo.
367 * configure: Rebuilt.
369 2000-10-06 Lon Hohberger <hohberger@missioncriticallinux.com>
371 * utils/statd/statd.man: Change "/var/lib/nfs/sm/state" to
372 "/var/lib/nfs/state".
374 2000-10-05 Lon Hohberger <hohberger@missioncriticallinux.com>
376 * utils/statd/statd.h (run_mode): New global bitmask of runtime
377 behaviors: fg/bg, logging, etc.
378 * utils/statd/statd.c: New command line options: -V -h -? -d .
379 * utils/statd/statd.man: Update for changes to statd.
381 * utils/statd/log.h (log_init): Remove parameter of function; use
382 global variable "name_p" instead.
383 * utils/statd/log.c: Add support for logging to stderr.
385 * utils/statd/notlist.c: Partially rewrite notify list handling
386 functions. Eliminate run-off-end-of-list bug when calling
387 nlist_insert_timer. Add lots of comments.
389 2000-09-27 H.J. Lu <hjl@lucon.org>
391 * README: Updated for RedHat 7.0.
393 2000-09-27 H.J. Lu <hjl@lucon.org>
395 * nfs-utils.spec: Rebuild.
397 2000-09-27 H.J. Lu <hjl@lucon.org>
399 * README: Updated for 0.2.1.
401 2000-09-27 H.J. Lu <hjl@lucon.org>
403 * nfs-utils.spec.in: Updated to use rpm macros and support
406 2000-09-25 H.J. Lu <hjl@lucon.org>
408 * configure.in (VERSION): Set to "0.2.1".
409 * configure: Regenerated.
410 * nfs-utils.spec: Updated.
412 2000-09-25 H.J. Lu <hjl@lucon.org>
414 * utils/mountd/auth.c (auth_authenticate_internal): Make sure a
415 non-NULL hostent is always returned.
417 2000-09-11 Ion Badulescu <ionut@cs.columbia.edu>
419 * etc/redhat/nfslock.init: don't kill lockd processes that do not
420 have an executable (i.e. kernel threads)
422 2000-09-01 H.J. Lu <hjl@lucon.org>
424 * README: Updated for 0.2.
426 2000-09-01 Jay Weber <jweber@valinux.com>
428 * etc/redhat/nfs.init: Added ability for rpc.mountd to default to
429 supporting version 3 of nfs if available, else it will fall back to
430 version 2 support only.
432 2000-08-30 H.J. Lu <hjl@lucon.org>
434 * configure.in (VERSION): Set to "0.2".
435 * configure: Regenerated.
436 * nfs-utils.spec: Updated.
438 2000-08-25 H.J. Lu <hjl@lucon.org>
440 * support/misc/tcpwrapper.c (logit): Modify the log output.
442 2000-08-25 Ion Badulescu <ionut@cs.columbia.edu>
444 * utils/rquotad/rquotad.man, utils/statd/statd.man,
445 utils/mountd/mountd.man: updated
447 * utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL)
448 * utils/rquotad/Makefile: fix comment
450 * support/misc/tcpwrapper.c (logit): added comment about waiting
451 for the children after fork()
453 * utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving
454 zombies behind (from logit()'s fork)
455 * utils/rquotad/rquota_svc.c (main): ditto
456 * utils/statd/statd.c (main): ditto
458 * utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG
459 to check_default instead of 0, for prognum
461 * utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG
462 to check_default instead of 0, for prognum
464 * utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if
465 HAVE_TCP_WRAPPER is defined.
466 (mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is
467 defined. Reject an RPC call if check_default () fails.
469 2000-08-25 H.J. Lu <hjl@lucon.org>
471 * support/include/tcpwrapper.h: New for the tcp wrapper
473 * support/misc/Makefile: Likewise.
474 * support/misc/from_local.c: Likewise.
475 * support/misc/tcpwrapper.c: Likewise.
477 * aclocal.m4 (AC_TCP_WRAPPER): New.
478 * configure.in: Use it. Substitute LIBWRAP.
479 * configure: Rebuilt.
481 * config.mk.in (LIBNSL): New.
484 * support/Makefile (SUBDIRS): Add misc.
486 * support/lib/Makefile (LIBS): Add libmisc.a.
488 * utils/rquotad/Makefile (LIBS): Add
490 -lmisc $(LIBWRAP) $(LIBNSL)
492 * utils/statd/Makefile (LIBS): Likewise.
494 * utils/rquotad/rquota_svc.c: Include "tcpwrapper.h" if
495 HAVE_TCP_WRAPPER is defined.
496 (rquotaprog_1): Call check_default () if HAVE_TCP_WRAPPER is
497 defined. Reject an RPC call if check_default () fails.
499 * utils/statd/statd.c: Include "tcpwrapper.h" if
500 HAVE_TCP_WRAPPER is defined.
501 (sm_prog_1_wrapper): New. A wrapper for sm_prog_1. Call
502 check_default () before calling sm_prog_1 (). Define it as
503 sm_prog_1_wrapper if HAVE_TCP_WRAPPER is defined.
505 2000-08-25 Chip Salzenberg <chip@valinux.com>
507 * debian/*: Complete Debian build support.
508 * etc/debian/*: Remove.
510 2000-08-24 Neil Brown <neilb@cse.unsw.edu.au>
512 * support/export/client.c(client_check): removed the "dot+1" as a
513 ypdomain argument to innetgr as this is entirely bogus.
514 It should always be NULL.
516 2000-08-23 Neil Brown <neilb@cse.unsw.edu.au>
518 * support/export/xtab.c(xtab_read): introduce new mode for
519 reading xtab. i.e. a list of exports that might be known to the
520 kernel, or might not. These are flagged as m_exported == -1
521 * support/export/xtab.c(xtab_mount_read): call xtab_read with new
522 value "2" for xtab, meaning don't trust this too much.
523 * support/include/exportfs.h(struct mexport): changed m_exported
524 from one bit to an int so that it can hold new value
525 * utils/exportfs/exportfs.c(exportfs_ipdate): add an export to the
526 kernel if it is uncertain whether the kernel knows (m_exported == -1)
527 * utils/mountd/mountd.c(get_rootfh): similarly export to kernel if
530 * support/nfs/xio.c(xflock): added O_CREAT when getting
531 a write lock so that missing files aren't fatal.
533 * etc/debian/nfs-common: new file from "potato"
534 * etc/debian/nfs-kernel-server: new file from "potato" plus fixes.
536 2000-08-09 H.J. Lu <hjl@lucon.org>
538 * etc/redhat/nfs.init: Run /usr/sbin/exportfs first during
539 startup to ensure all existing clients work fine.
541 * support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0
542 to xtab_read () for reading _PATH_XTAB.
544 2000-08-02 H.J. Lu <hjl@lucon.org>
546 * utils/mountd/auth.c (auth_authenticate_internal): Try to
547 avoid the reverse name lookup.
549 2000-07-04 H.J. Lu <hjl@lucon.org>
551 * utils/statd/log.c: Include <stdlib.h> for exit ().
553 * utils/statd/misc.c (xunlink): Add `{' and `}' to quiet the
556 2000-07-04 H.J. Lu <hjl@lucon.org>
558 * configure.in (VERSION): Set to "0.1.9.1".
559 * configure: Regenerated.
560 * nfs-utils.spec: Updated.
564 2000-07-04 Neil Brown <neilb@cse.unsw.edu.au>
566 * support/export/hostname.c (hostent_dup): Handle the NULL
569 2000-07-03 H.J. Lu <hjl@lucon.org>
571 * README: Update the util-linux requirement.
573 2000-07-03 H.J. Lu <hjl@lucon.org>
575 * configure.in (VERSION): Set to "0.1.9".
576 * configure: Regenerated.
577 * nfs-utils.spec: Updated.
581 2000-07-03 H.J. Lu <hjl@lucon.org>
583 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
584 stop to ensure all clients can still access the server
585 before it is shutdown.
587 2000-06-30 Jeff Uphoff <juphoff@transmeta.com>
589 * tools/rpcgen/rpc_svcout.c (write_msg_out): Generate syslog()
590 calls with format string.
592 2000-06-28 Chip Salzenberg <chip@valinux.com>
594 * utils/statd/log.c (log): Call syslog with format string.
596 2000-06-27 H.J. Lu <hjl@lucon.org>
598 * utils/statd/statd.c (main): Use sysconf (_SC_OPEN_MAX)
601 2000-06-27 H.J. Lu <hjl@lucon.org>
605 2000-06-27 H.J. Lu <hjl@lucon.org>
607 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
608 startup to ensure all existing clients are exported.
610 * configure.in (VERSION): Set to "0.1.8.2".
611 * configure: Regenerated.
612 * nfs-utils.spec: Updated.
614 2000-06-06 H.J. Lu <hjl@lucon.org>
616 * configure.in (VERSION): Set to "0.1.8.1".
617 * configure: Regenerated.
618 * nfs-utils.spec: Updated.
620 2000-06-06 H.J. Lu <hjl@lucon.org>
622 * utils/mountd/mountd.c (mount_dump_1_svc): Cast svc_getcaller
623 to "struct sockaddr_in *" for glibc 2.2.
624 (mount_umnt_1_svc): Likewise.
625 (mount_umntall_1_svc): Likewise.
626 (mount_export_1_svc): Likewise.
627 (mount_exportall_1_svc): Likewise.
628 (mount_pathconf_2_svc): Likewise.
629 (get_rootfh): Likewise.
631 2000-06-04 H.J. Lu <hjl@lucon.org>
633 * etc/redhat/nfs.init: Fix a typo in comment.
635 2000-05-31 H.J. Lu <hjl@lucon.org>
637 * configure.in (VERSION): Set to "0.1.8".
638 * configure: Regenerated.
639 * nfs-utils.spec: Updated.
643 2000-05-31 H.J. Lu <hjl@lucon.org>
645 * configure.in (VERSION): Set to "0.1.7.5".
646 * configure: Regenerated.
647 * nfs-utils.spec: Updated.
649 * support/include/nfslib.h (exportent): Add a new field,
650 r_count, to count the number of mounts from a client.
651 (getrmtabent): Take a new argument for position in file.
652 (putrmtabent): Likewise.
653 (fgetrmtabent): Likewise.
654 (fputrmtabent): Likewise.
655 * support/nfs/rmtab.c (getrmtabent): Handle the new argument
656 for position in file.
657 (fgetrmtabent): Likewise.
658 (putrmtabent): Likewise.
659 (fputrmtabent): Likewise.
661 * support/nfs/rmtab.c (fgetrmtabent): Get value for the new
664 * support/export/rmtab.c (rmtab_read): Pass NULL as the new
665 argument to getrmtabent (), fgetrmtabent (), putrmtabent ()
667 * utils/mountd/rmtab.c (mountlist_add): Likewise.
668 (mountlist_del): Likewise.
669 (mountlist_del_all): Likewise.
670 (mountlist_list): Likewise.
672 * utils/mountd/rmtab.c (mountlist_add): Increment "r_count"
673 for the existing entry and initialize "r_count" to 1.
674 (mountlist_del): Decrement "r_count".
676 2000-05-18 H.J. Lu <hjl@lucon.org>
678 * configure.in (VERSION): Set to "0.1.7.4".
679 * configure: Regenerated.
680 * nfs-utils.spec: Updated.
682 2000-05-18 H.J. Lu <hjl@lucon.org>
684 * etc/redhat/nfs.init (restart): Just do stop and start.
686 2000-05-09 Jay Weber <jweber@valinux.com>
688 * utils/rquotad/hasquota.c: added support for ext3 recognition
690 * utils/rquotad/mntent.h: Likewise.
692 2000-05-01 H.J. Lu <hjl@lucon.org>
694 * configure.in (VERSION): Set to "0.1.7.3".
695 * configure: Regenerated.
696 * nfs-utils.spec: Updated.
698 2000-05-01 H.J. Lu <hjl@lucon.org>
700 * utils/rquotad/rquota_server.c (getquotainfo): Skip bad
701 mounting poins in /etc/fstab.
703 2000-05-01 H.J. Lu <hjl@lucon.org>
705 * configure.in (VERSION): Set to "0.1.7.2".
706 * configure: Regenerated.
707 * nfs-utils.spec: Updated.
709 2000-05-01 H.J. Lu <hjl@lucon.org>
711 * utils/rquotad/rquota_server.c (getquotainfo): Call stat ()
712 to check for the mounting point.
714 2000-04-29 Chip Salzenberg <chip@valinux.com>
715 Neil Brown <neilb@cse.unsw.edu.au>
717 * Really re-use RPC ports.
718 (Fixes earlier patch. Sorry, Neil.)
720 2000-04-26 H.J. Lu <hjl@lucon.org>
722 * configure.in (VERSION): Set to "0.1.7.1".
723 * configure: Regenerated.
724 * nfs-utils.spec: Updated.
726 2000-04-26 H.J. Lu <hjl@lucon.org>
728 * etc/redhat/nfslock.init: Check if lockd exits before killing
731 2000-04-25 H.J. Lu <hjl@lucon.org>
733 * README: Require util-linux-2.10f-mount-rpc.patch for mount.
735 2000-03-21 Michael Weiser <michael@weiser.saale-net.de>
737 * support/nfs/exports.c (parsesquash): Correctly set the
740 Tue Mar 21 11:38:48 EST 2000 NeilBrown <neilb@cse.unsw.edu.au>
742 * support/include/nfs/nfs.h: Removed knowledge of internals of
743 kernel filehandles (which can change) and defined nfs_fh_size
744 which has variable size
746 * support/nfs/getfh.c: defined getfh_size to use new syscall to
747 get variable sized file handles, and change getfh{,old} to
750 * utils/mountd/mountd.c: use nfd_fh_size and call getfh_size for
753 * tools/Makefile, tools/nlmtest/nlmtest.c
754 nlmtest.c depended on internel format of file handles, so now
758 2000-03-12 Chip Salzenberg <chip@valinux.com>
759 Neil Brown <neilb@cse.unsw.edu.au>
761 * support/nfs/rpcmisc.c (rpc_init): Share transports.
763 2000-03-13 H.J. Lu <hjl@lucon.org>
765 * etc/redhat/nfsd.init: Updated.
767 * etc/redhat/nfslock.init: Updated.
769 * nfs-utils.spec.in: Updated.
771 * configure.in (VERSION): Set to "0.1.7".
772 * configure: Regenerated.
773 * nfs-utils.spec: Updated.
777 Wed Mar 8 09:42:43 2000 Neil Brown <neilb@cse.unsw.edu.au>
779 * utils/exportfs/exportfs.c (dump): Included printing of
780 nohide, no_subtree_check, and insecure_locks
782 2000-02-26 Chip Salzenberg <chip@valinux.com>
784 * config.mk.in (INSTALLSUID): Strip ("-s").
785 (INSTALLSCRIPT): Define.
786 * utils/nhfsstone/Makefile: Use it.
788 2000-02-26 Chip Salzenberg <chip@valinux.com>
790 * utils/lockd/lockd.man: Create.
791 * utils/lockd/Makefile: Install it.
792 * utils/nhfsstone/nhfs{run,nums,graph}.man: Create.
793 * utils/nhfsstone/nhfsstone.man: Change suffix from ".1".
794 * utils/nhfsstone/Makefile: Install the helper scripts and
796 * utils/exportfs/exports.man: Fix typo.
798 2000-02-26 Chip Salzenberg <chip@valinux.com>
800 * support/nfs/xio.c (xungetc): Decrement line number when
801 character to unget is newline. Make first parameter int, so
802 it can distinguish EOF from \377.
803 * support/include/xio.h (xungetc): Adjust prototype.
805 Fri Feb 4 23:42:23 2000 Neil Brown <neilb@cse.unsw.edu.au>
807 * support/include/nfs/export.h: added NFSEXP_NOAUTHNLM
808 * support/nfs/exports.c: added handling for NFSEXP_NOAUTHNLM
809 * utils/exportfs/exports.man: added documentation for no_auth_nlm.
811 This is for supporting a new option introduced in 2.3.42
813 Thu Feb 3 14:55:48 2000 H.J. Lu <hjl@lucon.org>
815 * COPYING: Added. GPL.
817 Thu Feb 03 14:40:40 2000 Cristian Gafton <gafton@redhat.com>
819 * utils/rquotad/rquota_server.c (getquotainfo): Call statfs ()
820 to get the block size.
822 Tue Jan 25 11:04:17 2000 H.J. Lu <hjl@lucon.org>
824 * nfs-utils.spec.in: Update ftp site.
826 Mon Jan 17 11:48:18 2000 H.J. Lu <hjl@lucon.org>
828 * README: Update hostnames.
830 Tue Jan 11 10:06:22 2000 H.J. Lu <hjl@lucon.org>
832 * configure.in (VERSION): Set to "0.1.6".
833 * configure: Regenerated.
834 * nfs-utils.spec: Updated.
838 Mon Jan 10 14:26:33 2000 H.J. Lu <hjl@lucon.org>
840 * utils/mountd/auth.c (auth_authenticate_internal): Call
841 xstrdup for hostname before passing it to gethostbyname.
843 * utils/mountd/mountd.c (get_exportlist): Use xstrdup instead
846 Sun Dec 19 09:35:01 1999 H.J. Lu <hjl@lucon.org>
848 * README: Update the mailing list address.
850 Sun Dec 19 09:22:28 1999 H.J. Lu <hjl@lucon.org>
852 * configure.in (VERSION): Set to "0.1.5".
853 * configure: Regenerated.
854 * nfs-utils.spec: Updated.
858 Mon Dec 13 13:40:20 1999 H.J. Lu <hjl@lucon.org>
860 * utils/rquotad/hasquota.c (hasquota): Malloc one more char
863 Mon Dec 6 09:42:45 1999 H.J. Lu <hjl@lucon.org>
865 * configure.in (VERSION): Set to "0.1.4".
866 * configure: Regenerated.
867 * nfs-utils.spec: Updated.
871 Mon Dec 6 09:28:07 1999 H.J. Lu <hjl@lucon.org>
873 * nfs-utils.spec.in: New file.
875 * config.mk.in (VERSION): Changed to "nfs-utils @VERSION@".
877 * configure.in (nfs-utils.spec): Added to AC_OUTPUT.
879 1999-12-04 Chip Salzenberg <chip@valinux.com>
881 * config.mk.in: Use $(CC) as set by configure.
883 1999-12-04 Chip Salzenberg <chip@valinux.com>
885 * rules.mk: Call $(MAKE) with $(MFLAGS).
887 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
889 * tools/rpcgen/rpc_main.c (h_output): Generate IXDR_GET_INT32,
890 IXDR_PUT_INT32, IXDR_GET_U_INT32 and IXDR_PUT_U_INT32.
892 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
894 * nfs-utils.spec (Version): Set to 0.1.3.
896 * configure.in (VERSION): Set to "nfs-utils 0.1.3".
897 * configure: Regenerated.
901 Mon Nov 29 11:15:47 1999 H.J. Lu <hjl@lucon.org>
903 * utils/rquotad/rquota_server.c (nfsmount_to_devname): Removed.
904 (_PATH_DEV_DSK): Likewise.
905 (getquotainfo): Match the mounting point from /etc/mtab
906 instead of calling nfsmount_to_devname ().
908 1999-11-24 Chip Salzenberg <chip@valinux.com>
910 * utils/statd/monitor.c (sm_mon_1_svc): Accept lockd callbacks
911 to the new port 24 as well as the historical port 100021.
913 Tue Nov 23 10:21:34 1999 Neil Brown <neilb@cse.unsw.edu.au>
915 * etc/redhat/nfsd.init (stop): moved exportfs -ua after
916 stopping nfsd to stop spurious ESTALE on server shutdown.
918 Tue Nov 23 10:13:39 1999 Neil Brown <neilb@cse.unsw.edu.au>
920 * support/nfs/exports.c (parseopts): make copy of opt string
921 before 'nul'ing out commas so that
923 # exportfs -o option1,option2 hosta:/fs hostb:/fs
925 applies both options to both exports.
927 Thu Oct 28 12:55:42 1999 H.J. Lu <hjl@lucon.org>
929 * README: Fix a few typos.
931 * tools/rpcgen/rpc_cout.c (print_header): Use int32_t instead
933 * tools/rpcgen/rpc_hout.c (pdefine): Likewise.
934 * tools/rpcgen/rpc_main.c (c_initialize): Likewise.
935 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
936 (unsigned_dec): Likewise.
937 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
938 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
940 * tools/rpcgen/rpc_cout.c (emit_single_in_line): Use INT32
942 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
943 (unsigned_dec): Likewise.
944 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
945 * tools/rpcgen/rpc_scan.h (tok_kind): Likewise.
946 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
948 Thu Oct 28 11:27:51 1999 Neil Brown <neilb@cse.unsw.edu.au>
950 * support/include/nfs/export.h addedd NFSEXP_NOSUBTREECHECK
951 * support/nfs/exports.c: added {no_,}subtree_check and changed
953 * utils/exportfs/exports.man: added no_subtree_check and nohide
954 and removed irrelevant stuff from unfsd.
955 * support/export/rmtab.c: rmtab_read didn't quite do the right
956 thing if a pathname from rmtab was a subdirectory of an export-point
958 Tue Oct 26 17:22:40 1999 H.J. Lu <hjl@lucon.org>
960 * README: Updated ftp site.
962 Mon Oct 25 18:12:45 1999 H.J. Lu <hjl@lucon.org>
964 * nfs-utils.spec (Version): Set to 0.1.2.
966 * configure.in (VERSION): Set to "nfs-utils 0.1.2".
967 * configure: Regenerated.
971 Mon Oct 25 18:11:21 1999 H.J. Lu <hjl@lucon.org>
973 * utils/mountd/auth.c (auth_error): Add "no_forward_dns".
974 (auth_authenticate_internal): Check for NULL return on forward
976 (auth_authenticate): Handle "no_forward_dns".
978 Thu Oct 21 16:22:06 1999 H.J. Lu <hjl@lucon.org>
980 * Version 0.1.1 released.
982 * nfs-utils.spec (Version): Set to 0.1.1.
984 * configure.in (VERSION): Set to "nfs-utils 0.1.1".
985 * configure: Regenerated.
989 Mon Oct 18 17:43:29 1999 H.J. Lu <hjl@lucon.org>
991 * nfs-utils.spec (Obsoletes): Fixed a typo, change knfsd-client
993 (Provides): Likewise.
995 Mon Oct 18 14:56:22 1999 H.J. Lu <hjl@lucon.org>
997 * Initial version 0.1 released.
999 * configure.in (VERSION): Set to "nfs-utils 0.1".
1000 * configure: Regenerated.
1002 Mon Oct 18 14:54:57 1999 H.J. Lu <hjl@lucon.org>
1004 * utils/mountd/mountd.c (get_exportlist): Cleanup.
1006 * utils/exportfs/exportfs.c (unexport_all): Unexport from
1007 kernel only if the entry is exported to kernel.
1008 (unexportfs): Likewise.
1010 Wed Sep 08 16:49:32 1999 Neil Brown <neilb@cse.unsw.edu.au>
1012 1/ utils/mountd/rmtab.c::mountlist_list
1014 This routine stats the rmtab file to see if it has changed. It
1015 if has, it cleans up it's old copy of the data. But it still
1016 always re-read the file, thus returning multiple copies of the
1017 data on consecutive calls without intervening changes.
1018 "Showmount -a" didn't show this as it appears to sort/unique the
1019 data, but 'strace showmount -a' showed that the size of the
1020 datagram that it received grew.
1022 I moved the getrmtabent loop inside the mtime test.
1024 2/ utils/exportfs/exportfs.c
1026 Many routines used the m_path field of m_export instead of
1028 According to the comment in nfslib.h, m_path should only
1029 be used when processing a mount request (i.e. in mountd)
1030 where the mountpoint may be a subdirectory of the export point.
1032 I changed all occurances of m_path to e_path
1035 3/ utils/exportfs/exportfs.c:main
1037 extra arguments are not meaningful with -a or -r, but
1038 exportfs accepted them and then ignored the -a/-r, expect that
1039 -r would still unexport everything first.
1041 I generate an error if there are extra args and f_all
1043 4/ utils/exportfs/exportfs.c:main
1044 extract dump out as a special case.
1046 5/ utils/exportfs/exportfs.c
1047 made f_reexport a local variable.
1050 6/ utils/exportfs/exportfs.c:main,exportall
1052 support/export/rmtab.c
1053 only mayexport on newly created entries, don't set xtabent at all
1055 7/ support/include/nfslib.h
1057 add #define _PATH_PROC_EXPORTS to be /proc/fs/nds/exports
1059 8/ support/export/xtab.c
1061 xtab_mount_read loads data from _PATH_PROC_EXPORTS if it exists,
1065 9/ support/export/xtab.c
1067 xtab_mount_read now sets m_exported, and NOT
1068 xtabent and mayexport
1070 removed the append arguement from xtab_write as it was
1073 added is_export flag to xtab_write similar to xtab_read
1074 if is_export, only write entries with m_xtabent or m_addxtab
1075 if !is_export, only write entries with m_exported
1077 10/ support/export/export.c::export_allowed_internal
1079 added test for exp->m_mayexport, as the export tree
1080 may have entries that are no longer allowed to be exported,
1081 and so shouldn't caused deduced exported by rmtab_read
1083 11/ utils/exportfs/exportfs.c::main
1084 error checking of flags.
1086 12/ utils/exportfs/exportfs.c
1088 total rewrite of export and unexport logic.
1090 - build an exportslist of valid exports, based on
1091 current etab file and arguments,
1092 - read rmtab to instantiate relevant wild card entries
1093 - read etab to find out what is currently exported
1094 - synchronise intention with reality
1095 - write out etab and xtab
1098 discard the m_addxtab flag
1099 add m_changed flag so we know what to report in exportfs
1101 14/ utils/mountd/auth.c:auth_authenticate
1103 the value returned by gethostbyaddr was trusted.
1105 It now follows this with a call to gethostbyname
1106 and checks that the address is in the list.
1108 15/ support/export/nfsctl.c::cltsetup,expsetup
1110 force client names to lowercase as kernel is
1113 16/ quietened a few compiler warnings
1115 17/ support/export/client:client_lookup
1117 look for pre-existing client with same name before creating
1120 18/ support/include/exportfs.h
1122 The ordering of the MCL_* enum was:
1123 ANONYMOUS, FQDN, SUBNETWORK, WILDCARD, NETGROUP
1125 I moved ANONYMOUS to the end.
1127 The ordering is significant when an export entry is being searched for to
1128 match a given address. There are two problems with ANONYMOUS being first.
1130 1/ if a directory is exported rw to a couple of hosts and ro to everyone else,
1131 then the ro case will always be found first and the privileged hosts won't get
1133 2/ When mountd gets a request to mount an ANONYMOUSly exported tree, it creates a FQDN
1134 export entry for the specific host, and writes it to xtab.
1135 When another request comes from the same host, the ANONYMOUS entry is found again,
1136 before the new FQDN entry, so it creates another FQDN entry and writes it to xtab
1137 again. If causes bloat in xtab.
1139 Putting ANONYMOUS at the end reflects it's nature as a catch-all
1141 19/ utils/exportfs/exportfs.man
1142 many updates to the man page to reflect changes to the code
1144 -----------------------
1150 - allow exportfs to modify rmtab file
1151 - make sure kernel never gets two clients with same IP address
1152 - possible kernel should reject
1153 - needs to be some way to lookup client in kernel by IP address
1154 - maybe get kernel to do case-insensitive comparisons on client names
1155 - remove unused clients from kernel
1157 - change etab to xtab and xtab to xtab.active
1159 - timestamp and/or statd-stamp in rmtab for removing old entries.
1161 Mon Oct 18 11:48:07 1999 H.J. Lu <hjl@lucon.org>
1163 * linux-nfs: New directory.
1164 * linux-nfs/ChangeLog: Moved from ..
1165 * linux-nfs/INSTALL: Likewise.
1166 * linux-nfs/KNOWNBUGS: Likewise.
1167 * linux-nfs/NEW: Likewise.
1168 * linux-nfs/README: Likewise.
1169 * linux-nfs/THANKS: Likewise.
1170 * linux-nfs/TODO: Likewise.
1172 * Starting from knfsd 1.4.7.