1 2002-10-11 H.J. Lu <hjl@lucon.org>
3 * support/include/exportfs.h (export_errno): New.
5 * support/nfs/exports.c: Include <errno.h>.
7 (getexportent): Set export_errno to EINVAL for bad option.
9 Report the location of the default sync/async option.
11 * utils/exportfs/exportfs.c (main): Initialize export_errno to
12 0. Return export_errno.
14 2002-10-11 Juan Gomez <gomez@cs.sjsu.edu>
15 NeilBrown <neilb@cse.unsw.edu.au>
17 utils/statd/statd.c(killer): don't pmap_unset if in notify_only mode
18 utils/statd/statd.c(main): don't pmap_unset if in notify_only mode
20 2002-09-16 Chip Salzenberg <chip@pobox.com>
22 * utils/rquotad/rquota_svc.c (main): Use int for value of getopt.
24 2002-09-15 Chip Salzenberg <chip@pobox.com>
26 * support/nfs/rpcmisc.c (rpc_init): Allow stdin to be a non-INET
27 socket, as occurs when run from sshd.
28 * debian/changelog: Version 1.0.2-1.
30 2002-09-12 H.J. Lu <hjl@lucon.org>
32 * support/nfs/svc_socket.c: Remove HAVE_SVCTCP_SOCKET and
35 2002-09-12 H.J. Lu <hjl@lucon.org>
37 * configure.in: Remove checking svctcp_socket and svcudp_socket.
38 * configure: Regenerated.
40 * support/include/config.h.in (HAVE_SVCTCP_SOCKET): Removed.
41 (HAVE_SVCUDP_SOCKET): Removed.
43 * support/include/nfslib.h: Undo the last change.
45 2002-09-12 H.J. Lu <hjl@lucon.org>
47 * support/include/nfslib.h (svctcp_socket): Protect it with
49 (svcudp_socket): Protect it with HAVE_SVCUDP_SOCKET.
51 2002-09-12 H.J. Lu <hjl@lucon.org>
53 * configure.in (VERSION): Set to "1.0.2".
54 * configure: Regenerated.
55 * nfs-utils.spec: Likewise.
57 2002-09-12 H.J. Lu <hjl@lucon.org>
59 * configure.in: Check svctcp_socket and svcudp_socket.
60 * configure: Regenerated.
62 * support/include/config.h.in (HAVE_SVCTCP_SOCKET): New.
63 (HAVE_SVCUDP_SOCKET): New.
65 * support/include/nfslib.h (svctcp_socket): New.
68 * support/nfs/Makefile (OBJS): Add svc_socket.o.
70 * support/nfs/svc_socket.c: New.
72 * support/nfs/rpcmisc.c (rpc_init): Call svctcp_socket and
73 svcudp_socket if port is unspecified.
75 * utils/nfsd/nfsd.c (main): Call getservbyname for port.
77 * utils/rquotad/rquota_svc.c: Include <nfslib.h>.
78 (killer): New. Signal handler to unregister.
79 (main): Use killer. Call svcudp_socket to get the default
82 2002-09-02 Juan Gomez <juang@us.ibm.com>
83 NeilBrown <neilb@cse.unsw.edu.au>
85 Add -N option to statd to run in notify-only mode.
87 * utils/statd/statd.h: uncomment MODE_NOTIFY_ONLY
88 * utils/statd/statd.man: document -N
89 * utils/statd/statd.c: enabled -N, largely exists but needed to be
90 uncommented and completed
92 2002-09-02 Juan Gomez <juang@us.ibm.com>
93 NeilBrown <neilb@cse.unsw.edu.au>
95 statd to have " -P directory" arg to use that directory instead
96 of /var/lib/nfs. This is useful for fail-over clusters.
98 * utils/statd/statd.h: define SM_DIR etc as var, not const.
99 * utils/statd/statd.c: define "-P" option to set SM_*
101 * utils/statd/monitor.c: sprintf to cope with SM_DIR not being
103 * utils/statd/notify.c: ditto.
104 * utils/statd/statd.man: document -P option.
106 2002-08-26 Chip Salzenberg <chip@pobox.com>
108 * utils/nfsd/nfsd.man: Fix typo.
109 * debian/changelog: Version 1.0.1-1.
111 2002-05-29 NeilBrown <neilb@cse.unsw.edu.au>
113 * let parseopts know if /etc/exports was being read or not,
114 and have it only print "no sync or async" warning in that case.
116 2002-05-06 Tom McNeal <trmcneal@attbi.com>
117 NeilBrown <neilb@cse.unsw.edu.au>
119 * utils/nfsstat/nfsstat.c: Handle differing format for
120 /proc/net/rpc/nfsd between pre and post 2.4.0
122 2002-04-09 NeilBrown <neilb@cse.unsw.edu.au>
123 James Pearson <james-p@moving-picture.com>
125 * support/nfs/rmtab.c(fendrmtabent): sync changes to
126 storage before returning, as this is critical state
128 2002-04-08 Sean O'Connell <sean@ee.duke.edu>
129 H.J. Lu <hjl@lucon.org>
131 * etc/redhat/nfs: New.
133 2002-04-08 H.J. Lu <hjl@lucon.org>
135 * etc/redhat/nfs.init: Updated.
137 * nfs-utils.spec.in: Updated.
138 * nfs-utils.spec: Regenerated.
140 * utils/mountd/mountd.c (longopts): Fix a typo.
142 * utils/mountd/mountd.man: Updated.
144 2002-04-07 H.J. Lu <hjl@lucon.org>
146 * etc/redhat/nfslock.init (restart): Just do stop and start.
148 * etc/redhat/nfs.init: Fix a typo.
150 2002-04-07 H.J. Lu <hjl@lucon.org>
152 * configure.in (VERSION): Set to "1.0.1".
153 * configure: Regenerated.
154 * nfs-utils.spec: Likewise.
156 * README: Updated for 1.0.1.
158 2002-04-07 Sean O'Connell <sean@ee.duke.edu>
159 H.J. Lu <hjl@lucon.org>
161 * etc/redhat/nfs.init: Read /etc/sysconfig/nfsd for NFS tuning.
163 2002-02-28 Steven Whitehouse <steve@gw.chygwyn.com>
164 NeilBrown <neilb@cse.unsw.edu.au>
166 Add support for fsid=nn export option so that device
167 numbers don't go in filehandles.
168 * support/export/nfsctl.c(expsetup): if exporting and NFSEXP_FSID
169 is set, pass the fsid in-place of the device number
170 * support/nfs/exports.c: parse and print fsid= option.
171 Also check if efname has been set, and use "command line"
172 instead in error messages.
173 Also, use strtol instead of atoi for anon[ug]id= so that
174 bad numbers cause errors.
176 2002-01-17 Adrian Drzewiecki <drze@MissionCriticalLinux.com>
177 NeilBrown <neilb@cse.unsw.edu.au>
179 * support/nfs/exports.c: remove NFSEXP_ASYNC as a default
180 flag so that "sync" becomes the default.
181 Check that either "sync" or "async" is given as an option
182 and warn if neither are present
183 * utils/exportfs/exports.man: change documentation for "sync"
184 to be documentation for "async".
185 * utils/exportfs/exportfs.man: note that "sync" is the default
189 2002-01-02 Chip Salzenberg <chip@pobox.com>
191 * support/export/nfsctl.c (expsetup): Don't export entries that
192 specify id mappings not supported by the kernel. No extant kernel
193 supports any significant mapping, only 'identity' (i.e. none).
194 When other mappings are supported, this code will need changing.
195 * debian/changelog: Version 1.0-2.
197 2001-12-26 Chip Salzenberg <chip@pobox.com>
199 * nfs-utils.spec (Version): Set to "1.0".
200 * configure.in (VERSION): Likewise.
201 * configure: Regenerated.
203 * debian/changelog: Version 1.0-1.
205 * utils/exportfs/exports.man: Emphasize the need for options to
206 immediately follow client names. Explain that wildcards don't
207 usually work on addresses, but may work when reverse DNS fails.
208 Comment out a leftover TP that was TPing our indentation.
209 * utils/mountd/mountd.man, utils/rquotad/rquotad.man,
210 utils/statd/statd.man: Remove refs to non-existent "hosts_allow(5)".
211 * debian/changelog: Version 0.3.3-6.
213 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
215 * support/export/client.c(client_lookup): If a host has multiple
216 IP addresses, then we must always use the result of a
217 gethostbyname, not that of gethostbyaddr for exporting
219 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
221 * support/export/client.c (client_lookup): use strcasecmp when
223 * support/nfs/export.c (getexportent): add fromkernel arg and use
224 different defaults as kernels prior to 2.4.11 assume different
225 defaults in /proc/fs/nfs/exports
226 * support/include/nfslib.h, support/export/export.c,
227 support/export/xtab.c: support extra "fromkernel" arg for
230 2001-12-13 Chip Salzenberg <chip@pobox.com>
232 * debian/changelog: Version 0.3.3-5.
234 2001-11-26 TAKAI Kousuke <takai@vlsi.kuee.kyoto-u.ac.jp>
236 * support/nfs/xio.c (xskip): Call `xungetc' instead of
237 `ungetc' to keep x_line more properly.
239 2001-11-26 Chip Salzenberg <chip@pobox.com>
241 * utils/showmount/showmount.c (main): Don't assume that strings
242 starting with digits are IP addresses.
243 * utils/nfsd/nfsd.c (main): Close all fds and reopen 0,1,2 on
244 /dev/null before nfssvc(). Use syslog to report nfssvc errors.
245 * support/misc/tcpwrapper.c, utils/mountd/mountd.man,
246 utils/rquotad/rquotad.man, utils/statd/statd.man: Fix comments and
247 man pages: We check host names *and* addresses with tcpwrappers.
248 * debian/changelog: Version 0.3.3-4.
250 2001-11-21 Chip Salzenberg <chip@pobox.com>
252 * support/nfs/clients.c (cfname): Added: current clients file name.
253 (setnfsclntent): Set it.
254 ({get,end}nfsclntent, syntaxerr): Use it.
255 * support/nfs/exports.c (efname): Added: current exports file name.
256 (setnfsexportent): Set it.
257 (endnfsexportent, parseopts, getexport, syntaxerr): Use it.
258 (parseopts): Accept old-style "crossmnt" option, for old xtabs.
259 * debian/changelog: Version 0.3.3-3.
261 2001-10-11 Chip Salzenberg <chip@pobox.com>
263 * utils/mountd/mountd.c (main): Close fds > 2 _before_ RPC init.
264 * debian/changelog: Version 0.3.3-2.
266 2001-10-08 Chip Salzenberg <chip@pobox.com>
268 * utils/mountd/mountd.c (main): When daemonizing, close all fds > 2.
269 * utils/Makefile.in: Remove old Makefile in target 'distclean'.
270 * utils/mountd/mountd.man: Update paths to /var/lib.
271 * debian/*: Version 0.3.3-1, with Debian-specific fixes.
273 2001-10-06 Preston Brown <pbrown@redhat.com>
275 * utils/nfsstat/nfsstat.man: Updated.
277 2001-09-24 H.J. Lu <hjl@lucon.org>
279 * configure.in (VERSION): Set to "0.3.3".
280 * configure: Regenerated.
281 * nfs-utils.spec: Likewise.
283 * README: Updated for 0.3.3.
285 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
287 Arrange that "exportfs -au" never does DNS lookup:
289 * support/export/client.c (client_lookup) : add "canonical"
290 flag which says that the hostname is known to be canonical, so
293 * support/export/export.c (export_create) : add "canonical"
294 flag to be passed down to client_lookup
295 * support/export/export.c (export_lookup) : Likewise
297 * support/export/xtab.c (xtab_read) : pass appropriate
298 "canonical" flag to export_lookup and export_create:
299 set if reading list of filesystems currently exports
302 * support/export/export.c (export_read) : pass 0 as
303 "canonical" flag to export_lookup and export_create
304 * support/export/rmtab.s (rmtab_read) : Likewise
306 * support/include/exportfs.h : redeclare various routines
307 to have "canonical" flag
309 * utils/exportfs/exportfs.c (main) : redo logic for
310 "-au" to read in what is currently exported, but never even
311 look at what "should" be exported.
313 * utils/exportfs/exportfs.c (unexportall) : remove this
314 routine. Functionality is completely included in
317 * utils/exportfs/exportfs.c (exportfs) : set "canonical"
318 flag to zero in calls to export_lookup and export_create.
321 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
322 Anne Milicia <milicia@missioncriticallinux.com>
324 * support/export/client.c (client_lookup) call gethostbyadd
325 to make sure that we have a canonical hostname, even for
327 * utils/exportfs/exportfs.c (exportfs) Likewise
329 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
331 * support/nfs/exports.c (putexportent): \octal quote any spaces
333 * support/nfs/xio.c (xgettok): recognise double-quote and
334 \octal quoting in path names
335 * utils/exportfs/exports.man: document quoting conventions
338 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
340 * utils/mountd/auth.c (auth_authenticate_internal): Reverse
341 change from 2000-08-02: It causes problems if someone exports
342 to both a hostname and IP addresses. nfs-utils must be
343 consistant about the canonical name that it chooses.
345 2001-08-17 Ragnar Kjørstad <nfs@ragnark.vestdata.no>
346 H.J. Lu <hjl@lucon.org>
348 * etc/redhat/nfslock.init (STATDARG): New. Pass it to rpc.statd.
350 * utils/statd/statd.c (longopts): Add "name".
351 (usage): Add "-n/--name".
352 (main): Set MY_NAME with "-n/--name".
354 * utils/statd/state.c (change_state): Set MY_NAME only if it
357 * utils/statd/statd.man: Updated for "-n/--name".
359 2001-07-26 H.J. Lu <hjl@lucon.org>
361 * nfs-utils.spec (Release): Set to 8.
363 2001-07-25 H.J. Lu <hjl@lucon.org>
365 * etc/redhat/nfs.init: Check if rpc.rquotad exists before doing
368 2001-06-27 H.J. Lu <hjl@lucon.org>
370 * etc/redhat/nfs.init: Run rpc.rquotad only if it exists.
372 2001-06-27 H.J. Lu <hjl@lucon.org>
374 * utils/rquotad/rquota_server.c: Don't call statfs () for
375 the block size. Use BLOCK_SIZE instead.
377 2001-06-27 H.J. Lu <hjl@lucon.org>
379 * config.mk.in (CC_FOR_BUILD): Renamed from BUILD_CC.
380 (CFLAGS_FOR_BUILD): New. Don't use @CFLAGS@.
382 * configure.in (enable_nfsv3): Set to yes by default.
383 (--enable-rquotad): Added
384 (AC_PROG_CXX): Removed.
385 (AC_OUTPUT): Add utils/Makefile.
386 (CC_FOR_BUILD): Renamed from BUILD_CC.
387 * configure: Regenerated.
389 * utils/Makefile: Removed.
391 * utils/Makefile.in: New.
393 * nfs-utils.spec.in (rquotad): New. Set to 0 to disable
395 (CC_FOR_BUILD): Renamed from BUILD_CC.
396 * nfs-utils.spec: Regenerated.
398 2001-06-15 Chip Salzenberg <chip@debian.org>
400 * debian/changelog: Version 0.3.2-2.
401 * debian/*.init: Minor fixes.
403 2001-06-07 Lon H. Hohberger <hohberger@missioncriticallinux.com>
405 * etc/nodist/nfs-server: Fixed a bug where the script would
406 disable mounts from NFSv3 clients if NFSv3 is present.
408 2001-06-05 H.J. Lu <hjl@lucon.org>
410 * utils/mountd/mountd.c (longopts): Add "descriptors/o".
411 (main): Support --descriptors/-o to set the limit of the number
412 of open file descriptors.
415 * utils/mountd/mountd.man: Updated for --descriptors/-o.
417 2001-06-04 H.J. Lu <hjl@lucon.org>
419 * nfs-utils.spec (Release): Set to 6.
421 2001-05-28 H.J. Lu <hjl@lucon.org>
423 * utils/lockd/lockd.c (main): chdir to NFS_STATEDIR.
424 * utils/mountd/mountd.c (main): Likewise.
425 * utils/nfsd/nfsd.c (main): Likewise.
426 * utils/rquotad/rquota_svc.c (main): Likewise.
428 2001-05-06 Anne Milicia <milicia@missioncriticallinux.com>
430 * support/export/client.c (client_check): Check IP address
433 2001-05-06 Neil Brown <neilb@cse.unsw.edu.au>
435 * support/export/client.c (client_gettype): Treat `*' as
438 2001-04-22 H.J. Lu <hjl@lucon.org>
440 * nfs-utils.spec.in: Fix a typo.
441 * nfs-utils.spec: Regenerated.
443 2001-04-21 H.J. Lu <hjl@lucon.org>
445 * nfs-utils.spec.in: Fix cross build.
446 * nfs-utils.spec: Regenerated.
449 2001-04-18 H.J. Lu <hjl@lucon.org>
451 * nfs-utils.spec.in: Support cross build.
452 * nfs-utils.spec: Regenerated.
458 * config.mk.in (BUILD_CC): New.
459 (CC): Set to $(BUILD_CC) if BUILD is defined.
462 (RANLIB): Set to @RANLIB@.
464 * configure.in: Check BUILD_CC, RANLIB, AR and LD.
465 * configure: Regenerated.
467 * tools/rpcgen/Makefile (BUILD): Set to true.
469 2001-04-01 Chip Salzenberg <chip@valinux.com>
471 * tools/rpcgen/rpc_svcout.c (write_timeout_func): Remove
472 redundant, and sometimes broken, declaration of svc_fdset;
474 * support/nfs/rpcmisc.c (closedown): Likewise.
476 2001-03-21 H.J. Lu <hjl@lucon.org>
478 * nfs-utils.spec: Regenerated.
481 2001-03-21 Ion Badulescu <ionut@cs.columbia.edu>
483 * utils/statd/statd.c (main): make sure file descriptors 0-2
484 are open to /dev/null.
486 2001-03-21 H.J. Lu <hjl@lucon.org>
488 * support/nfs/rpcmisc.c: Restore the change made on 2001-03-10.
489 * support/nfs/rpcmisc.c: Likewise.
490 * utils/rquotad/rquota_svc.c: Likewise.
491 * utils/rquotad/rquotad.man: Likewise.
492 * utils/statd/Makefile: Likewise.
493 * utils/statd/rmtcall.c: Likewise.
494 * utils/statd/simulate.c: Likewise.
495 * utils/statd/statd.c: Likewise.
496 * utils/statd/statd.man: Likewise.
498 2001-03-11 H.J. Lu <hjl@lucon.org>
500 * configure.in (RELEASE): New. Default to 1, set by
501 --with-release=XXX. Substitute nfs-utils.spec.
502 * nfs-utils.spec.in (Release): Set to @RELEASE@.
503 * configure: Regenerated.
504 * nfs-utils.spec: Likewise.
506 2001-03-11 H.J. Lu <hjl@lucon.org>
508 * utils/rquotad/rquotad.man: Fix a typo.
510 2001-03-11 H.J. Lu <hjl@lucon.org>
512 * support/include/rpcmisc.h: Undo the change made on 2001-03-10.
513 * support/nfs/rpcmisc.c: Likewise.
514 * utils/rquotad/rquota_svc.c: Likewise.
515 * utils/rquotad/rquotad.man: Likewise.
516 * utils/statd/Makefile: Likewise.
517 * utils/statd/rmtcall.c: Likewise.
518 * utils/statd/simulate.c: Likewise.
519 * utils/statd/statd.c: Likewise.
520 * utils/statd/statd.man: Likewise.
522 2001-03-10 H.J. Lu <hjl@lucon.org>
524 * configure.in (VERSION): Set to "0.3.2".
525 * configure: Regenerated.
526 * nfs-utils.spec: Likewise.
528 * README: Updated for 0.3.2.
530 2001-03-10 Tavis Barr <tavis@boole.isetr.columbia.edu>
532 * utils/rquotad/rquotad.man: Updated for -p.
533 * utils/statd/statd.man: Likewise.
535 2001-03-10 Ion Badulescu <ionut@cs.columbia.edu>
537 * support/nfs/rpcmisc.c: export makesock()
539 * support/include/rpcmisc.h (makesock): Declared.
541 * utils/rquotad/rquota_svc.c: added longopts, added support for
542 specifying the port to bind to on the command line.
544 * utils/statd/statd.c: ditto, also specify port used for
545 outgoing connections.
546 (do_regist): Removed.
548 * utils/statd/rmtcall.c (statd_get_socket): Renamed from
549 get_socket. Make it extern.
551 * utils/statd/simulate.c (daemon_simulator): Call rpc_init
552 instead of do_regist.
554 * utils/statd/Makefile (LIBS): link with our own libnfs
556 2001-03-09 H.J. Lu <hjl@lucon.org>
558 * etc/redhat/nfslock.init: Changed chkconfig line to 60 86.
559 * etc/nodist/nfs-client: Likewise.
561 2001-02-26 Chip Salzenberg <chip@valinux.com>
563 * debian/changelog: Version 0.3.1-1.
564 * Mention upstream source and license in copyright file.
565 * Add build-Depends for debhelper and libwrap0-dev.
567 2001-02-20 Lon Hohberger <hohberger@missioncriticallinux.com>
569 * etc/nodist/nfs-server: Changed chkconfig line to 60 20
570 * etc/nodist/nfs-client: Likewise.
572 2001-02-18 Lon Hohberger <hohberger@missioncriticallinux.com>
574 * utils/statd/statd.man: Changed /usr/sbin/rpc.statd to
577 2001-02-17 Patrick J. LoPresti <patl@curl.com>
579 * utils/statd/log.c (log_init): Use LOG_DAEMON instead of
582 2001-02-14 H.J. Lu <hjl@lucon.org>
584 * utils/statd/rmtcall.c: Include <time.h>.
585 * utils/statd/svc_run.c: Likewise.
587 2001-02-14 H.J. Lu <hjl@lucon.org>
589 * configure.in (VERSION): Set to "0.3.1".
590 * configure: Regenerated.
591 * nfs-utils.spec: Likewise.
593 * README: Updated for 0.3.1.
595 2001-02-14 H.J. Lu <hjl@lucon.org>
597 * support/nfs/rpcmisc.c: Include <time.h>.
599 2001-02-14 Chip Salzenberg <chip@valinux.com>
601 * debian/control: Change priority of nhfsstone package to 'extra'.
603 2001-02-12 Chip Salzenberg <chip@valinux.com>
605 * debian/changelog: Version 0.3-2.
607 2001-02-02 H.J. Lu <hjl@lucon.org>
609 * support/include/rpcmisc.h (rpc_init): Remove bufsize.
611 * support/nfs/rpcmisc.c (makesock): Remove socksz and comment
612 out SO_SNDBUF/SO_RCVBUF.
613 (rpc_init): Remove bufsize and remove socksz in calls to
616 * utils/mountd/mountd.c (main): Remove bufsize in calls to
619 2001-01-28 Chip Salzenberg <chip@valinux.com>
621 * debian/changelog: Version 0.3-1.
623 2001-01-25 H.J. Lu <hjl@lucon.org>
625 * configure.in (VERSION): Set to "0.3".
626 * configure: Regenerated.
627 * nfs-utils.spec: Likewise.
629 * README: Updated for 0.3.
631 2001-01-25 H.J. Lu <hjl@lucon.org>
633 * utils/lockd/lockd.c (main): Ignore errno == EINVAL.
635 2001-01-20 Chip Salzenberg <chip@valinux.com>
637 * support/include/xio.h (xgetc): Declare to return int.
638 * support/nfs/xio.c (xgetc): Return int.
639 (xgettok, xskip, xskipcomment): Use int for value of xgetc.
640 * utils/statd/statd.c (main): Use int for value of getopt.
641 * debian/changelog: Version 0.2.1-5.
643 2000-12-10 Chip Salzenberg <chip@valinux.com>
645 * utils/statd/monitor.c (sm_mon_1_svc): Fix buggy check for
646 program and procedure numbers of kernel lockd's callback. Also,
647 besides the old (and broken) procedure #24, allow #16 per Trond.
649 2000-12-03 Chip Salzenberg <chip@valinux.com>
651 * support/nfs/xio.c (xfopen): Initialize x_line to one, not zero.
652 * debian/control: Let nhfsstone replace files in nfs-kernel-server.
653 * debian/changelog: Version 0.2.1-4.
655 2000-11-27 Tobias Ringstrom <tori@tellus.mine.nu>
657 * utils/mountd/auth.c (auth_authenticate): Log the bad path
660 2000-11-24 Neil Brown <neilb@cse.unsw.edu.au>
662 * support/nfs/exports.c (getexportent): Check for host name
663 without option, or options without hostname, and print a warning,
664 as this is most likely a typo.
666 2000-11-19 Chip Salzenberg <chip@valinux.com>
668 * debian/control: Add dependency on portmap.
669 * debian/changelog: Version 0.2.1-3.
671 2000-11-10 H.J. Lu <hjl@lucon.org>
673 * nfs-utils.spec.in: Don't use libtool.
674 Add ChangeLog and COPYING to doc.
675 * nfs-utils.spec: Rebuild.
677 2000-11-09 H.J. Lu <hjl@lucon.org>
679 * etc/redhat/nfs.init (start): Back out the last change.
681 2000-11-09 H.J. Lu <hjl@lucon.org>
683 * etc/redhat/nfs.init (start): Pass --no-tcp to mountd if
684 TCP is not supported by kernel.
686 * support/nfs/rpcmisc.c (rpc_init): Don't set _rpcfdtype to 0.
688 * utils/mountd/mountd.c (longopts): Add "-n/--no-tcp".
689 (main): Set to _rpcfdtype to SOCK_DGRAM for "-n/--no-tcp".
691 * utils/mountd/mountd.man: Updated for "-n/--no-tcp".
693 2000-10-24 Lon Hohberger <hohberger@missioncriticallinux.com>
695 * utils/statd/callback.c: Fix bug preventing callbacks to local lockd.
696 * utils/statd/rmtcall.c: Add some IP address paranoia when doing
697 callbacks to local lockd.
699 2000-10-18 Scott McDermott <mcdermot@questra.com>
701 * utils/exportfs/exports.man: Updated for CIDR netmask.
703 2000-10-17 Scott McDermott <mcdermot@questra.com>
705 * support/export/client.c (client_init): Support CIDR netmask
708 2000-10-11 H.J. Lu <hjl@lucon.org>
710 * aclocal.m4 (AC_TCP_WRAPPER): Fix a typo.
711 * configure: Rebuilt.
713 2000-10-06 Lon Hohberger <hohberger@missioncriticallinux.com>
715 * utils/statd/statd.man: Change "/var/lib/nfs/sm/state" to
716 "/var/lib/nfs/state".
718 2000-10-05 Lon Hohberger <hohberger@missioncriticallinux.com>
720 * utils/statd/statd.h (run_mode): New global bitmask of runtime
721 behaviors: fg/bg, logging, etc.
722 * utils/statd/statd.c: New command line options: -V -h -? -d .
723 * utils/statd/statd.man: Update for changes to statd.
725 * utils/statd/log.h (log_init): Remove parameter of function; use
726 global variable "name_p" instead.
727 * utils/statd/log.c: Add support for logging to stderr.
729 * utils/statd/notlist.c: Partially rewrite notify list handling
730 functions. Eliminate run-off-end-of-list bug when calling
731 nlist_insert_timer. Add lots of comments.
733 2000-09-27 H.J. Lu <hjl@lucon.org>
735 * README: Updated for RedHat 7.0.
737 2000-09-27 H.J. Lu <hjl@lucon.org>
739 * nfs-utils.spec: Rebuild.
741 2000-09-27 H.J. Lu <hjl@lucon.org>
743 * README: Updated for 0.2.1.
745 2000-09-27 H.J. Lu <hjl@lucon.org>
747 * nfs-utils.spec.in: Updated to use rpm macros and support
750 2000-09-25 H.J. Lu <hjl@lucon.org>
752 * configure.in (VERSION): Set to "0.2.1".
753 * configure: Regenerated.
754 * nfs-utils.spec: Updated.
756 2000-09-25 H.J. Lu <hjl@lucon.org>
758 * utils/mountd/auth.c (auth_authenticate_internal): Make sure a
759 non-NULL hostent is always returned.
761 2000-09-11 Ion Badulescu <ionut@cs.columbia.edu>
763 * etc/redhat/nfslock.init: don't kill lockd processes that do not
764 have an executable (i.e. kernel threads)
766 2000-09-01 H.J. Lu <hjl@lucon.org>
768 * README: Updated for 0.2.
770 2000-09-01 Jay Weber <jweber@valinux.com>
772 * etc/redhat/nfs.init: Added ability for rpc.mountd to default to
773 supporting version 3 of nfs if available, else it will fall back to
774 version 2 support only.
776 2000-08-30 H.J. Lu <hjl@lucon.org>
778 * configure.in (VERSION): Set to "0.2".
779 * configure: Regenerated.
780 * nfs-utils.spec: Updated.
782 2000-08-25 H.J. Lu <hjl@lucon.org>
784 * support/misc/tcpwrapper.c (logit): Modify the log output.
786 2000-08-25 Ion Badulescu <ionut@cs.columbia.edu>
788 * utils/rquotad/rquotad.man, utils/statd/statd.man,
789 utils/mountd/mountd.man: updated
791 * utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL)
792 * utils/rquotad/Makefile: fix comment
794 * support/misc/tcpwrapper.c (logit): added comment about waiting
795 for the children after fork()
797 * utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving
798 zombies behind (from logit()'s fork)
799 * utils/rquotad/rquota_svc.c (main): ditto
800 * utils/statd/statd.c (main): ditto
802 * utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG
803 to check_default instead of 0, for prognum
805 * utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG
806 to check_default instead of 0, for prognum
808 * utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if
809 HAVE_TCP_WRAPPER is defined.
810 (mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is
811 defined. Reject an RPC call if check_default () fails.
813 2000-08-25 H.J. Lu <hjl@lucon.org>
815 * support/include/tcpwrapper.h: New for the tcp wrapper
817 * support/misc/Makefile: Likewise.
818 * support/misc/from_local.c: Likewise.
819 * support/misc/tcpwrapper.c: Likewise.
821 * aclocal.m4 (AC_TCP_WRAPPER): New.
822 * configure.in: Use it. Substitute LIBWRAP.
823 * configure: Rebuilt.
825 * config.mk.in (LIBNSL): New.
828 * support/Makefile (SUBDIRS): Add misc.
830 * support/lib/Makefile (LIBS): Add libmisc.a.
832 * utils/rquotad/Makefile (LIBS): Add
834 -lmisc $(LIBWRAP) $(LIBNSL)
836 * utils/statd/Makefile (LIBS): Likewise.
838 * utils/rquotad/rquota_svc.c: Include "tcpwrapper.h" if
839 HAVE_TCP_WRAPPER is defined.
840 (rquotaprog_1): Call check_default () if HAVE_TCP_WRAPPER is
841 defined. Reject an RPC call if check_default () fails.
843 * utils/statd/statd.c: Include "tcpwrapper.h" if
844 HAVE_TCP_WRAPPER is defined.
845 (sm_prog_1_wrapper): New. A wrapper for sm_prog_1. Call
846 check_default () before calling sm_prog_1 (). Define it as
847 sm_prog_1_wrapper if HAVE_TCP_WRAPPER is defined.
849 2000-08-25 Chip Salzenberg <chip@valinux.com>
851 * debian/*: Complete Debian build support.
852 * etc/debian/*: Remove.
854 2000-08-24 Neil Brown <neilb@cse.unsw.edu.au>
856 * support/export/client.c(client_check): removed the "dot+1" as a
857 ypdomain argument to innetgr as this is entirely bogus.
858 It should always be NULL.
860 2000-08-23 Neil Brown <neilb@cse.unsw.edu.au>
862 * support/export/xtab.c(xtab_read): introduce new mode for
863 reading xtab. i.e. a list of exports that might be known to the
864 kernel, or might not. These are flagged as m_exported == -1
865 * support/export/xtab.c(xtab_mount_read): call xtab_read with new
866 value "2" for xtab, meaning don't trust this too much.
867 * support/include/exportfs.h(struct mexport): changed m_exported
868 from one bit to an int so that it can hold new value
869 * utils/exportfs/exportfs.c(exportfs_ipdate): add an export to the
870 kernel if it is uncertain whether the kernel knows (m_exported == -1)
871 * utils/mountd/mountd.c(get_rootfh): similarly export to kernel if
874 * support/nfs/xio.c(xflock): added O_CREAT when getting
875 a write lock so that missing files aren't fatal.
877 * etc/debian/nfs-common: new file from "potato"
878 * etc/debian/nfs-kernel-server: new file from "potato" plus fixes.
880 2000-08-09 H.J. Lu <hjl@lucon.org>
882 * etc/redhat/nfs.init: Run /usr/sbin/exportfs first during
883 startup to ensure all existing clients work fine.
885 * support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0
886 to xtab_read () for reading _PATH_XTAB.
888 2000-08-02 H.J. Lu <hjl@lucon.org>
890 * utils/mountd/auth.c (auth_authenticate_internal): Try to
891 avoid the reverse name lookup.
893 2000-07-04 H.J. Lu <hjl@lucon.org>
895 * utils/statd/log.c: Include <stdlib.h> for exit ().
897 * utils/statd/misc.c (xunlink): Add `{' and `}' to quiet the
900 2000-07-04 H.J. Lu <hjl@lucon.org>
902 * configure.in (VERSION): Set to "0.1.9.1".
903 * configure: Regenerated.
904 * nfs-utils.spec: Updated.
908 2000-07-04 Neil Brown <neilb@cse.unsw.edu.au>
910 * support/export/hostname.c (hostent_dup): Handle the NULL
913 2000-07-03 H.J. Lu <hjl@lucon.org>
915 * README: Update the util-linux requirement.
917 2000-07-03 H.J. Lu <hjl@lucon.org>
919 * configure.in (VERSION): Set to "0.1.9".
920 * configure: Regenerated.
921 * nfs-utils.spec: Updated.
925 2000-07-03 H.J. Lu <hjl@lucon.org>
927 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
928 stop to ensure all clients can still access the server
929 before it is shutdown.
931 2000-06-30 Jeff Uphoff <juphoff@transmeta.com>
933 * tools/rpcgen/rpc_svcout.c (write_msg_out): Generate syslog()
934 calls with format string.
936 2000-06-28 Chip Salzenberg <chip@valinux.com>
938 * utils/statd/log.c (log): Call syslog with format string.
940 2000-06-27 H.J. Lu <hjl@lucon.org>
942 * utils/statd/statd.c (main): Use sysconf (_SC_OPEN_MAX)
945 2000-06-27 H.J. Lu <hjl@lucon.org>
949 2000-06-27 H.J. Lu <hjl@lucon.org>
951 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
952 startup to ensure all existing clients are exported.
954 * configure.in (VERSION): Set to "0.1.8.2".
955 * configure: Regenerated.
956 * nfs-utils.spec: Updated.
958 2000-06-06 H.J. Lu <hjl@lucon.org>
960 * configure.in (VERSION): Set to "0.1.8.1".
961 * configure: Regenerated.
962 * nfs-utils.spec: Updated.
964 2000-06-06 H.J. Lu <hjl@lucon.org>
966 * utils/mountd/mountd.c (mount_dump_1_svc): Cast svc_getcaller
967 to "struct sockaddr_in *" for glibc 2.2.
968 (mount_umnt_1_svc): Likewise.
969 (mount_umntall_1_svc): Likewise.
970 (mount_export_1_svc): Likewise.
971 (mount_exportall_1_svc): Likewise.
972 (mount_pathconf_2_svc): Likewise.
973 (get_rootfh): Likewise.
975 2000-06-04 H.J. Lu <hjl@lucon.org>
977 * etc/redhat/nfs.init: Fix a typo in comment.
979 2000-05-31 H.J. Lu <hjl@lucon.org>
981 * configure.in (VERSION): Set to "0.1.8".
982 * configure: Regenerated.
983 * nfs-utils.spec: Updated.
987 2000-05-31 H.J. Lu <hjl@lucon.org>
989 * configure.in (VERSION): Set to "0.1.7.5".
990 * configure: Regenerated.
991 * nfs-utils.spec: Updated.
993 * support/include/nfslib.h (exportent): Add a new field,
994 r_count, to count the number of mounts from a client.
995 (getrmtabent): Take a new argument for position in file.
996 (putrmtabent): Likewise.
997 (fgetrmtabent): Likewise.
998 (fputrmtabent): Likewise.
999 * support/nfs/rmtab.c (getrmtabent): Handle the new argument
1000 for position in file.
1001 (fgetrmtabent): Likewise.
1002 (putrmtabent): Likewise.
1003 (fputrmtabent): Likewise.
1005 * support/nfs/rmtab.c (fgetrmtabent): Get value for the new
1008 * support/export/rmtab.c (rmtab_read): Pass NULL as the new
1009 argument to getrmtabent (), fgetrmtabent (), putrmtabent ()
1010 and fputrmtabent ().
1011 * utils/mountd/rmtab.c (mountlist_add): Likewise.
1012 (mountlist_del): Likewise.
1013 (mountlist_del_all): Likewise.
1014 (mountlist_list): Likewise.
1016 * utils/mountd/rmtab.c (mountlist_add): Increment "r_count"
1017 for the existing entry and initialize "r_count" to 1.
1018 (mountlist_del): Decrement "r_count".
1020 2000-05-18 H.J. Lu <hjl@lucon.org>
1022 * configure.in (VERSION): Set to "0.1.7.4".
1023 * configure: Regenerated.
1024 * nfs-utils.spec: Updated.
1026 2000-05-18 H.J. Lu <hjl@lucon.org>
1028 * etc/redhat/nfs.init (restart): Just do stop and start.
1030 2000-05-09 Jay Weber <jweber@valinux.com>
1032 * utils/rquotad/hasquota.c: added support for ext3 recognition
1034 * utils/rquotad/mntent.h: Likewise.
1036 2000-05-01 H.J. Lu <hjl@lucon.org>
1038 * configure.in (VERSION): Set to "0.1.7.3".
1039 * configure: Regenerated.
1040 * nfs-utils.spec: Updated.
1042 2000-05-01 H.J. Lu <hjl@lucon.org>
1044 * utils/rquotad/rquota_server.c (getquotainfo): Skip bad
1045 mounting poins in /etc/fstab.
1047 2000-05-01 H.J. Lu <hjl@lucon.org>
1049 * configure.in (VERSION): Set to "0.1.7.2".
1050 * configure: Regenerated.
1051 * nfs-utils.spec: Updated.
1053 2000-05-01 H.J. Lu <hjl@lucon.org>
1055 * utils/rquotad/rquota_server.c (getquotainfo): Call stat ()
1056 to check for the mounting point.
1058 2000-04-29 Chip Salzenberg <chip@valinux.com>
1059 Neil Brown <neilb@cse.unsw.edu.au>
1061 * Really re-use RPC ports.
1062 (Fixes earlier patch. Sorry, Neil.)
1064 2000-04-26 H.J. Lu <hjl@lucon.org>
1066 * configure.in (VERSION): Set to "0.1.7.1".
1067 * configure: Regenerated.
1068 * nfs-utils.spec: Updated.
1070 2000-04-26 H.J. Lu <hjl@lucon.org>
1072 * etc/redhat/nfslock.init: Check if lockd exits before killing
1075 2000-04-25 H.J. Lu <hjl@lucon.org>
1077 * README: Require util-linux-2.10f-mount-rpc.patch for mount.
1079 2000-03-21 Michael Weiser <michael@weiser.saale-net.de>
1081 * support/nfs/exports.c (parsesquash): Correctly set the
1084 Tue Mar 21 11:38:48 EST 2000 NeilBrown <neilb@cse.unsw.edu.au>
1086 * support/include/nfs/nfs.h: Removed knowledge of internals of
1087 kernel filehandles (which can change) and defined nfs_fh_size
1088 which has variable size
1090 * support/nfs/getfh.c: defined getfh_size to use new syscall to
1091 get variable sized file handles, and change getfh{,old} to
1094 * utils/mountd/mountd.c: use nfd_fh_size and call getfh_size for
1097 * tools/Makefile, tools/nlmtest/nlmtest.c
1098 nlmtest.c depended on internel format of file handles, so now
1102 2000-03-12 Chip Salzenberg <chip@valinux.com>
1103 Neil Brown <neilb@cse.unsw.edu.au>
1105 * support/nfs/rpcmisc.c (rpc_init): Share transports.
1107 2000-03-13 H.J. Lu <hjl@lucon.org>
1109 * etc/redhat/nfsd.init: Updated.
1111 * etc/redhat/nfslock.init: Updated.
1113 * nfs-utils.spec.in: Updated.
1115 * configure.in (VERSION): Set to "0.1.7".
1116 * configure: Regenerated.
1117 * nfs-utils.spec: Updated.
1121 Wed Mar 8 09:42:43 2000 Neil Brown <neilb@cse.unsw.edu.au>
1123 * utils/exportfs/exportfs.c (dump): Included printing of
1124 nohide, no_subtree_check, and insecure_locks
1126 2000-02-26 Chip Salzenberg <chip@valinux.com>
1128 * config.mk.in (INSTALLSUID): Strip ("-s").
1129 (INSTALLSCRIPT): Define.
1130 * utils/nhfsstone/Makefile: Use it.
1132 2000-02-26 Chip Salzenberg <chip@valinux.com>
1134 * utils/lockd/lockd.man: Create.
1135 * utils/lockd/Makefile: Install it.
1136 * utils/nhfsstone/nhfs{run,nums,graph}.man: Create.
1137 * utils/nhfsstone/nhfsstone.man: Change suffix from ".1".
1138 * utils/nhfsstone/Makefile: Install the helper scripts and
1140 * utils/exportfs/exports.man: Fix typo.
1142 2000-02-26 Chip Salzenberg <chip@valinux.com>
1144 * support/nfs/xio.c (xungetc): Decrement line number when
1145 character to unget is newline. Make first parameter int, so
1146 it can distinguish EOF from \377.
1147 * support/include/xio.h (xungetc): Adjust prototype.
1149 Fri Feb 4 23:42:23 2000 Neil Brown <neilb@cse.unsw.edu.au>
1151 * support/include/nfs/export.h: added NFSEXP_NOAUTHNLM
1152 * support/nfs/exports.c: added handling for NFSEXP_NOAUTHNLM
1153 * utils/exportfs/exports.man: added documentation for no_auth_nlm.
1155 This is for supporting a new option introduced in 2.3.42
1157 Thu Feb 3 14:55:48 2000 H.J. Lu <hjl@lucon.org>
1159 * COPYING: Added. GPL.
1161 Thu Feb 03 14:40:40 2000 Cristian Gafton <gafton@redhat.com>
1163 * utils/rquotad/rquota_server.c (getquotainfo): Call statfs ()
1164 to get the block size.
1166 Tue Jan 25 11:04:17 2000 H.J. Lu <hjl@lucon.org>
1168 * nfs-utils.spec.in: Update ftp site.
1170 Mon Jan 17 11:48:18 2000 H.J. Lu <hjl@lucon.org>
1172 * README: Update hostnames.
1174 Tue Jan 11 10:06:22 2000 H.J. Lu <hjl@lucon.org>
1176 * configure.in (VERSION): Set to "0.1.6".
1177 * configure: Regenerated.
1178 * nfs-utils.spec: Updated.
1182 Mon Jan 10 14:26:33 2000 H.J. Lu <hjl@lucon.org>
1184 * utils/mountd/auth.c (auth_authenticate_internal): Call
1185 xstrdup for hostname before passing it to gethostbyname.
1187 * utils/mountd/mountd.c (get_exportlist): Use xstrdup instead
1190 Sun Dec 19 09:35:01 1999 H.J. Lu <hjl@lucon.org>
1192 * README: Update the mailing list address.
1194 Sun Dec 19 09:22:28 1999 H.J. Lu <hjl@lucon.org>
1196 * configure.in (VERSION): Set to "0.1.5".
1197 * configure: Regenerated.
1198 * nfs-utils.spec: Updated.
1202 Mon Dec 13 13:40:20 1999 H.J. Lu <hjl@lucon.org>
1204 * utils/rquotad/hasquota.c (hasquota): Malloc one more char
1207 Mon Dec 6 09:42:45 1999 H.J. Lu <hjl@lucon.org>
1209 * configure.in (VERSION): Set to "0.1.4".
1210 * configure: Regenerated.
1211 * nfs-utils.spec: Updated.
1215 Mon Dec 6 09:28:07 1999 H.J. Lu <hjl@lucon.org>
1217 * nfs-utils.spec.in: New file.
1219 * config.mk.in (VERSION): Changed to "nfs-utils @VERSION@".
1221 * configure.in (nfs-utils.spec): Added to AC_OUTPUT.
1223 1999-12-04 Chip Salzenberg <chip@valinux.com>
1225 * config.mk.in: Use $(CC) as set by configure.
1227 1999-12-04 Chip Salzenberg <chip@valinux.com>
1229 * rules.mk: Call $(MAKE) with $(MFLAGS).
1231 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1233 * tools/rpcgen/rpc_main.c (h_output): Generate IXDR_GET_INT32,
1234 IXDR_PUT_INT32, IXDR_GET_U_INT32 and IXDR_PUT_U_INT32.
1236 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1238 * nfs-utils.spec (Version): Set to 0.1.3.
1240 * configure.in (VERSION): Set to "nfs-utils 0.1.3".
1241 * configure: Regenerated.
1245 Mon Nov 29 11:15:47 1999 H.J. Lu <hjl@lucon.org>
1247 * utils/rquotad/rquota_server.c (nfsmount_to_devname): Removed.
1248 (_PATH_DEV_DSK): Likewise.
1249 (getquotainfo): Match the mounting point from /etc/mtab
1250 instead of calling nfsmount_to_devname ().
1252 1999-11-24 Chip Salzenberg <chip@valinux.com>
1254 * utils/statd/monitor.c (sm_mon_1_svc): Accept lockd callbacks
1255 to the new port 24 as well as the historical port 100021.
1257 Tue Nov 23 10:21:34 1999 Neil Brown <neilb@cse.unsw.edu.au>
1259 * etc/redhat/nfsd.init (stop): moved exportfs -ua after
1260 stopping nfsd to stop spurious ESTALE on server shutdown.
1262 Tue Nov 23 10:13:39 1999 Neil Brown <neilb@cse.unsw.edu.au>
1264 * support/nfs/exports.c (parseopts): make copy of opt string
1265 before 'nul'ing out commas so that
1267 # exportfs -o option1,option2 hosta:/fs hostb:/fs
1269 applies both options to both exports.
1271 Thu Oct 28 12:55:42 1999 H.J. Lu <hjl@lucon.org>
1273 * README: Fix a few typos.
1275 * tools/rpcgen/rpc_cout.c (print_header): Use int32_t instead
1277 * tools/rpcgen/rpc_hout.c (pdefine): Likewise.
1278 * tools/rpcgen/rpc_main.c (c_initialize): Likewise.
1279 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1280 (unsigned_dec): Likewise.
1281 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1282 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1284 * tools/rpcgen/rpc_cout.c (emit_single_in_line): Use INT32
1286 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1287 (unsigned_dec): Likewise.
1288 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1289 * tools/rpcgen/rpc_scan.h (tok_kind): Likewise.
1290 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1292 Thu Oct 28 11:27:51 1999 Neil Brown <neilb@cse.unsw.edu.au>
1294 * support/include/nfs/export.h addedd NFSEXP_NOSUBTREECHECK
1295 * support/nfs/exports.c: added {no_,}subtree_check and changed
1297 * utils/exportfs/exports.man: added no_subtree_check and nohide
1298 and removed irrelevant stuff from unfsd.
1299 * support/export/rmtab.c: rmtab_read didn't quite do the right
1300 thing if a pathname from rmtab was a subdirectory of an export-point
1302 Tue Oct 26 17:22:40 1999 H.J. Lu <hjl@lucon.org>
1304 * README: Updated ftp site.
1306 Mon Oct 25 18:12:45 1999 H.J. Lu <hjl@lucon.org>
1308 * nfs-utils.spec (Version): Set to 0.1.2.
1310 * configure.in (VERSION): Set to "nfs-utils 0.1.2".
1311 * configure: Regenerated.
1315 Mon Oct 25 18:11:21 1999 H.J. Lu <hjl@lucon.org>
1317 * utils/mountd/auth.c (auth_error): Add "no_forward_dns".
1318 (auth_authenticate_internal): Check for NULL return on forward
1320 (auth_authenticate): Handle "no_forward_dns".
1322 Thu Oct 21 16:22:06 1999 H.J. Lu <hjl@lucon.org>
1324 * Version 0.1.1 released.
1326 * nfs-utils.spec (Version): Set to 0.1.1.
1328 * configure.in (VERSION): Set to "nfs-utils 0.1.1".
1329 * configure: Regenerated.
1333 Mon Oct 18 17:43:29 1999 H.J. Lu <hjl@lucon.org>
1335 * nfs-utils.spec (Obsoletes): Fixed a typo, change knfsd-client
1337 (Provides): Likewise.
1339 Mon Oct 18 14:56:22 1999 H.J. Lu <hjl@lucon.org>
1341 * Initial version 0.1 released.
1343 * configure.in (VERSION): Set to "nfs-utils 0.1".
1344 * configure: Regenerated.
1346 Mon Oct 18 14:54:57 1999 H.J. Lu <hjl@lucon.org>
1348 * utils/mountd/mountd.c (get_exportlist): Cleanup.
1350 * utils/exportfs/exportfs.c (unexport_all): Unexport from
1351 kernel only if the entry is exported to kernel.
1352 (unexportfs): Likewise.
1354 Wed Sep 08 16:49:32 1999 Neil Brown <neilb@cse.unsw.edu.au>
1356 1/ utils/mountd/rmtab.c::mountlist_list
1358 This routine stats the rmtab file to see if it has changed. It
1359 if has, it cleans up it's old copy of the data. But it still
1360 always re-read the file, thus returning multiple copies of the
1361 data on consecutive calls without intervening changes.
1362 "Showmount -a" didn't show this as it appears to sort/unique the
1363 data, but 'strace showmount -a' showed that the size of the
1364 datagram that it received grew.
1366 I moved the getrmtabent loop inside the mtime test.
1368 2/ utils/exportfs/exportfs.c
1370 Many routines used the m_path field of m_export instead of
1372 According to the comment in nfslib.h, m_path should only
1373 be used when processing a mount request (i.e. in mountd)
1374 where the mountpoint may be a subdirectory of the export point.
1376 I changed all occurances of m_path to e_path
1379 3/ utils/exportfs/exportfs.c:main
1381 extra arguments are not meaningful with -a or -r, but
1382 exportfs accepted them and then ignored the -a/-r, expect that
1383 -r would still unexport everything first.
1385 I generate an error if there are extra args and f_all
1387 4/ utils/exportfs/exportfs.c:main
1388 extract dump out as a special case.
1390 5/ utils/exportfs/exportfs.c
1391 made f_reexport a local variable.
1394 6/ utils/exportfs/exportfs.c:main,exportall
1396 support/export/rmtab.c
1397 only mayexport on newly created entries, don't set xtabent at all
1399 7/ support/include/nfslib.h
1401 add #define _PATH_PROC_EXPORTS to be /proc/fs/nds/exports
1403 8/ support/export/xtab.c
1405 xtab_mount_read loads data from _PATH_PROC_EXPORTS if it exists,
1409 9/ support/export/xtab.c
1411 xtab_mount_read now sets m_exported, and NOT
1412 xtabent and mayexport
1414 removed the append arguement from xtab_write as it was
1417 added is_export flag to xtab_write similar to xtab_read
1418 if is_export, only write entries with m_xtabent or m_addxtab
1419 if !is_export, only write entries with m_exported
1421 10/ support/export/export.c::export_allowed_internal
1423 added test for exp->m_mayexport, as the export tree
1424 may have entries that are no longer allowed to be exported,
1425 and so shouldn't caused deduced exported by rmtab_read
1427 11/ utils/exportfs/exportfs.c::main
1428 error checking of flags.
1430 12/ utils/exportfs/exportfs.c
1432 total rewrite of export and unexport logic.
1434 - build an exportslist of valid exports, based on
1435 current etab file and arguments,
1436 - read rmtab to instantiate relevant wild card entries
1437 - read etab to find out what is currently exported
1438 - synchronise intention with reality
1439 - write out etab and xtab
1442 discard the m_addxtab flag
1443 add m_changed flag so we know what to report in exportfs
1445 14/ utils/mountd/auth.c:auth_authenticate
1447 the value returned by gethostbyaddr was trusted.
1449 It now follows this with a call to gethostbyname
1450 and checks that the address is in the list.
1452 15/ support/export/nfsctl.c::cltsetup,expsetup
1454 force client names to lowercase as kernel is
1457 16/ quietened a few compiler warnings
1459 17/ support/export/client:client_lookup
1461 look for pre-existing client with same name before creating
1464 18/ support/include/exportfs.h
1466 The ordering of the MCL_* enum was:
1467 ANONYMOUS, FQDN, SUBNETWORK, WILDCARD, NETGROUP
1469 I moved ANONYMOUS to the end.
1471 The ordering is significant when an export entry is being searched for to
1472 match a given address. There are two problems with ANONYMOUS being first.
1474 1/ if a directory is exported rw to a couple of hosts and ro to everyone else,
1475 then the ro case will always be found first and the privileged hosts won't get
1477 2/ When mountd gets a request to mount an ANONYMOUSly exported tree, it creates a FQDN
1478 export entry for the specific host, and writes it to xtab.
1479 When another request comes from the same host, the ANONYMOUS entry is found again,
1480 before the new FQDN entry, so it creates another FQDN entry and writes it to xtab
1481 again. If causes bloat in xtab.
1483 Putting ANONYMOUS at the end reflects it's nature as a catch-all
1485 19/ utils/exportfs/exportfs.man
1486 many updates to the man page to reflect changes to the code
1488 -----------------------
1494 - allow exportfs to modify rmtab file
1495 - make sure kernel never gets two clients with same IP address
1496 - possible kernel should reject
1497 - needs to be some way to lookup client in kernel by IP address
1498 - maybe get kernel to do case-insensitive comparisons on client names
1499 - remove unused clients from kernel
1501 - change etab to xtab and xtab to xtab.active
1503 - timestamp and/or statd-stamp in rmtab for removing old entries.
1505 Mon Oct 18 11:48:07 1999 H.J. Lu <hjl@lucon.org>
1507 * linux-nfs: New directory.
1508 * linux-nfs/ChangeLog: Moved from ..
1509 * linux-nfs/INSTALL: Likewise.
1510 * linux-nfs/KNOWNBUGS: Likewise.
1511 * linux-nfs/NEW: Likewise.
1512 * linux-nfs/README: Likewise.
1513 * linux-nfs/THANKS: Likewise.
1514 * linux-nfs/TODO: Likewise.
1516 * Starting from knfsd 1.4.7.