1 2002-09-15 Chip Salzenberg <chip@pobox.com>
3 * support/nfs/rpcmisc.c (rpc_init): Allow stdin to be a non-INET
4 socket, as occurs when run from sshd.
5 * debian/changelog: Version 1.0.2-1.
7 2002-09-12 H.J. Lu <hjl@lucon.org>
9 * support/nfs/svc_socket.c: Remove HAVE_SVCTCP_SOCKET and
12 2002-09-12 H.J. Lu <hjl@lucon.org>
14 * configure.in: Remove checking svctcp_socket and svcudp_socket.
15 * configure: Regenerated.
17 * support/include/config.h.in (HAVE_SVCTCP_SOCKET): Removed.
18 (HAVE_SVCUDP_SOCKET): Removed.
20 * support/include/nfslib.h: Undo the last change.
22 2002-09-12 H.J. Lu <hjl@lucon.org>
24 * support/include/nfslib.h (svctcp_socket): Protect it with
26 (svcudp_socket): Protect it with HAVE_SVCUDP_SOCKET.
28 2002-09-12 H.J. Lu <hjl@lucon.org>
30 * configure.in (VERSION): Set to "1.0.2".
31 * configure: Regenerated.
32 * nfs-utils.spec: Likewise.
34 2002-09-12 H.J. Lu <hjl@lucon.org>
36 * configure.in: Check svctcp_socket and svcudp_socket.
37 * configure: Regenerated.
39 * support/include/config.h.in (HAVE_SVCTCP_SOCKET): New.
40 (HAVE_SVCUDP_SOCKET): New.
42 * support/include/nfslib.h (svctcp_socket): New.
45 * support/nfs/Makefile (OBJS): Add svc_socket.o.
47 * support/nfs/svc_socket.c: New.
49 * support/nfs/rpcmisc.c (rpc_init): Call svctcp_socket and
50 svcudp_socket if port is unspecified.
52 * utils/nfsd/nfsd.c (main): Call getservbyname for port.
54 * utils/rquotad/rquota_svc.c: Include <nfslib.h>.
55 (killer): New. Signal handler to unregister.
56 (main): Use killer. Call svcudp_socket to get the default
59 2002-09-02 Juan Gomez <juang@us.ibm.com>
60 NeilBrown <neilb@cse.unsw.edu.au>
62 Add -N option to statd to run in notify-only mode.
64 * utils/statd/statd.h: uncomment MODE_NOTIFY_ONLY
65 * utils/statd/statd.man: document -N
66 * utils/statd/statd.c: enabled -N, largely exists but needed to be
67 uncommented and completed
69 2002-09-02 Juan Gomez <juang@us.ibm.com>
70 NeilBrown <neilb@cse.unsw.edu.au>
72 statd to have " -P directory" arg to use that directory instead
73 of /var/lib/nfs. This is useful for fail-over clusters.
75 * utils/statd/statd.h: define SM_DIR etc as var, not const.
76 * utils/statd/statd.c: define "-P" option to set SM_*
78 * utils/statd/monitor.c: sprintf to cope with SM_DIR not being
80 * utils/statd/notify.c: ditto.
81 * utils/statd/statd.man: document -P option.
83 2002-08-26 Chip Salzenberg <chip@pobox.com>
85 * utils/nfsd/nfsd.man: Fix typo.
86 * debian/changelog: Version 1.0.1-1.
88 2002-05-29 NeilBrown <neilb@cse.unsw.edu.au>
90 * let parseopts know if /etc/exports was being read or not,
91 and have it only print "no sync or async" warning in that case.
93 2002-05-06 Tom McNeal <trmcneal@attbi.com>
94 NeilBrown <neilb@cse.unsw.edu.au>
96 * utils/nfsstat/nfsstat.c: Handle differing format for
97 /proc/net/rpc/nfsd between pre and post 2.4.0
99 2002-04-09 NeilBrown <neilb@cse.unsw.edu.au>
100 James Pearson <james-p@moving-picture.com>
102 * support/nfs/rmtab.c(fendrmtabent): sync changes to
103 storage before returning, as this is critical state
105 2002-04-08 Sean O'Connell <sean@ee.duke.edu>
106 H.J. Lu <hjl@lucon.org>
108 * etc/redhat/nfs: New.
110 2002-04-08 H.J. Lu <hjl@lucon.org>
112 * etc/redhat/nfs.init: Updated.
114 * nfs-utils.spec.in: Updated.
115 * nfs-utils.spec: Regenerated.
117 * utils/mountd/mountd.c (longopts): Fix a typo.
119 * utils/mountd/mountd.man: Updated.
121 2002-04-07 H.J. Lu <hjl@lucon.org>
123 * etc/redhat/nfslock.init (restart): Just do stop and start.
125 * etc/redhat/nfs.init: Fix a typo.
127 2002-04-07 H.J. Lu <hjl@lucon.org>
129 * configure.in (VERSION): Set to "1.0.1".
130 * configure: Regenerated.
131 * nfs-utils.spec: Likewise.
133 * README: Updated for 1.0.1.
135 2002-04-07 Sean O'Connell <sean@ee.duke.edu>
136 H.J. Lu <hjl@lucon.org>
138 * etc/redhat/nfs.init: Read /etc/sysconfig/nfsd for NFS tuning.
140 2002-02-28 Steven Whitehouse <steve@gw.chygwyn.com>
141 NeilBrown <neilb@cse.unsw.edu.au>
143 Add support for fsid=nn export option so that device
144 numbers don't go in filehandles.
145 * support/export/nfsctl.c(expsetup): if exporting and NFSEXP_FSID
146 is set, pass the fsid in-place of the device number
147 * support/nfs/exports.c: parse and print fsid= option.
148 Also check if efname has been set, and use "command line"
149 instead in error messages.
150 Also, use strtol instead of atoi for anon[ug]id= so that
151 bad numbers cause errors.
153 2002-01-17 Adrian Drzewiecki <drze@MissionCriticalLinux.com>
154 NeilBrown <neilb@cse.unsw.edu.au>
156 * support/nfs/exports.c: remove NFSEXP_ASYNC as a default
157 flag so that "sync" becomes the default.
158 Check that either "sync" or "async" is given as an option
159 and warn if neither are present
160 * utils/exportfs/exports.man: change documentation for "sync"
161 to be documentation for "async".
162 * utils/exportfs/exportfs.man: note that "sync" is the default
166 2002-01-02 Chip Salzenberg <chip@pobox.com>
168 * support/export/nfsctl.c (expsetup): Don't export entries that
169 specify id mappings not supported by the kernel. No extant kernel
170 supports any significant mapping, only 'identity' (i.e. none).
171 When other mappings are supported, this code will need changing.
172 * debian/changelog: Version 1.0-2.
174 2001-12-26 Chip Salzenberg <chip@pobox.com>
176 * nfs-utils.spec (Version): Set to "1.0".
177 * configure.in (VERSION): Likewise.
178 * configure: Regenerated.
180 * debian/changelog: Version 1.0-1.
182 * utils/exportfs/exports.man: Emphasize the need for options to
183 immediately follow client names. Explain that wildcards don't
184 usually work on addresses, but may work when reverse DNS fails.
185 Comment out a leftover TP that was TPing our indentation.
186 * utils/mountd/mountd.man, utils/rquotad/rquotad.man,
187 utils/statd/statd.man: Remove refs to non-existent "hosts_allow(5)".
188 * debian/changelog: Version 0.3.3-6.
190 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
192 * support/export/client.c(client_lookup): If a host has multiple
193 IP addresses, then we must always use the result of a
194 gethostbyname, not that of gethostbyaddr for exporting
196 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
198 * support/export/client.c (client_lookup): use strcasecmp when
200 * support/nfs/export.c (getexportent): add fromkernel arg and use
201 different defaults as kernels prior to 2.4.11 assume different
202 defaults in /proc/fs/nfs/exports
203 * support/include/nfslib.h, support/export/export.c,
204 support/export/xtab.c: support extra "fromkernel" arg for
207 2001-12-13 Chip Salzenberg <chip@pobox.com>
209 * debian/changelog: Version 0.3.3-5.
211 2001-11-26 TAKAI Kousuke <takai@vlsi.kuee.kyoto-u.ac.jp>
213 * support/nfs/xio.c (xskip): Call `xungetc' instead of
214 `ungetc' to keep x_line more properly.
216 2001-11-26 Chip Salzenberg <chip@pobox.com>
218 * utils/showmount/showmount.c (main): Don't assume that strings
219 starting with digits are IP addresses.
220 * utils/nfsd/nfsd.c (main): Close all fds and reopen 0,1,2 on
221 /dev/null before nfssvc(). Use syslog to report nfssvc errors.
222 * support/misc/tcpwrapper.c, utils/mountd/mountd.man,
223 utils/rquotad/rquotad.man, utils/statd/statd.man: Fix comments and
224 man pages: We check host names *and* addresses with tcpwrappers.
225 * debian/changelog: Version 0.3.3-4.
227 2001-11-21 Chip Salzenberg <chip@pobox.com>
229 * support/nfs/clients.c (cfname): Added: current clients file name.
230 (setnfsclntent): Set it.
231 ({get,end}nfsclntent, syntaxerr): Use it.
232 * support/nfs/exports.c (efname): Added: current exports file name.
233 (setnfsexportent): Set it.
234 (endnfsexportent, parseopts, getexport, syntaxerr): Use it.
235 (parseopts): Accept old-style "crossmnt" option, for old xtabs.
236 * debian/changelog: Version 0.3.3-3.
238 2001-10-11 Chip Salzenberg <chip@pobox.com>
240 * utils/mountd/mountd.c (main): Close fds > 2 _before_ RPC init.
241 * debian/changelog: Version 0.3.3-2.
243 2001-10-08 Chip Salzenberg <chip@pobox.com>
245 * utils/mountd/mountd.c (main): When daemonizing, close all fds > 2.
246 * utils/Makefile.in: Remove old Makefile in target 'distclean'.
247 * utils/mountd/mountd.man: Update paths to /var/lib.
248 * debian/*: Version 0.3.3-1, with Debian-specific fixes.
250 2001-10-06 Preston Brown <pbrown@redhat.com>
252 * utils/nfsstat/nfsstat.man: Updated.
254 2001-09-24 H.J. Lu <hjl@lucon.org>
256 * configure.in (VERSION): Set to "0.3.3".
257 * configure: Regenerated.
258 * nfs-utils.spec: Likewise.
260 * README: Updated for 0.3.3.
262 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
264 Arrange that "exportfs -au" never does DNS lookup:
266 * support/export/client.c (client_lookup) : add "canonical"
267 flag which says that the hostname is known to be canonical, so
270 * support/export/export.c (export_create) : add "canonical"
271 flag to be passed down to client_lookup
272 * support/export/export.c (export_lookup) : Likewise
274 * support/export/xtab.c (xtab_read) : pass appropriate
275 "canonical" flag to export_lookup and export_create:
276 set if reading list of filesystems currently exports
279 * support/export/export.c (export_read) : pass 0 as
280 "canonical" flag to export_lookup and export_create
281 * support/export/rmtab.s (rmtab_read) : Likewise
283 * support/include/exportfs.h : redeclare various routines
284 to have "canonical" flag
286 * utils/exportfs/exportfs.c (main) : redo logic for
287 "-au" to read in what is currently exported, but never even
288 look at what "should" be exported.
290 * utils/exportfs/exportfs.c (unexportall) : remove this
291 routine. Functionality is completely included in
294 * utils/exportfs/exportfs.c (exportfs) : set "canonical"
295 flag to zero in calls to export_lookup and export_create.
298 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
299 Anne Milicia <milicia@missioncriticallinux.com>
301 * support/export/client.c (client_lookup) call gethostbyadd
302 to make sure that we have a canonical hostname, even for
304 * utils/exportfs/exportfs.c (exportfs) Likewise
306 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
308 * support/nfs/exports.c (putexportent): \octal quote any spaces
310 * support/nfs/xio.c (xgettok): recognise double-quote and
311 \octal quoting in path names
312 * utils/exportfs/exports.man: document quoting conventions
315 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
317 * utils/mountd/auth.c (auth_authenticate_internal): Reverse
318 change from 2000-08-02: It causes problems if someone exports
319 to both a hostname and IP addresses. nfs-utils must be
320 consistant about the canonical name that it chooses.
322 2001-08-17 Ragnar Kjørstad <nfs@ragnark.vestdata.no>
323 H.J. Lu <hjl@lucon.org>
325 * etc/redhat/nfslock.init (STATDARG): New. Pass it to rpc.statd.
327 * utils/statd/statd.c (longopts): Add "name".
328 (usage): Add "-n/--name".
329 (main): Set MY_NAME with "-n/--name".
331 * utils/statd/state.c (change_state): Set MY_NAME only if it
334 * utils/statd/statd.man: Updated for "-n/--name".
336 2001-07-26 H.J. Lu <hjl@lucon.org>
338 * nfs-utils.spec (Release): Set to 8.
340 2001-07-25 H.J. Lu <hjl@lucon.org>
342 * etc/redhat/nfs.init: Check if rpc.rquotad exists before doing
345 2001-06-27 H.J. Lu <hjl@lucon.org>
347 * etc/redhat/nfs.init: Run rpc.rquotad only if it exists.
349 2001-06-27 H.J. Lu <hjl@lucon.org>
351 * utils/rquotad/rquota_server.c: Don't call statfs () for
352 the block size. Use BLOCK_SIZE instead.
354 2001-06-27 H.J. Lu <hjl@lucon.org>
356 * config.mk.in (CC_FOR_BUILD): Renamed from BUILD_CC.
357 (CFLAGS_FOR_BUILD): New. Don't use @CFLAGS@.
359 * configure.in (enable_nfsv3): Set to yes by default.
360 (--enable-rquotad): Added
361 (AC_PROG_CXX): Removed.
362 (AC_OUTPUT): Add utils/Makefile.
363 (CC_FOR_BUILD): Renamed from BUILD_CC.
364 * configure: Regenerated.
366 * utils/Makefile: Removed.
368 * utils/Makefile.in: New.
370 * nfs-utils.spec.in (rquotad): New. Set to 0 to disable
372 (CC_FOR_BUILD): Renamed from BUILD_CC.
373 * nfs-utils.spec: Regenerated.
375 2001-06-15 Chip Salzenberg <chip@debian.org>
377 * debian/changelog: Version 0.3.2-2.
378 * debian/*.init: Minor fixes.
380 2001-06-07 Lon H. Hohberger <hohberger@missioncriticallinux.com>
382 * etc/nodist/nfs-server: Fixed a bug where the script would
383 disable mounts from NFSv3 clients if NFSv3 is present.
385 2001-06-05 H.J. Lu <hjl@lucon.org>
387 * utils/mountd/mountd.c (longopts): Add "descriptors/o".
388 (main): Support --descriptors/-o to set the limit of the number
389 of open file descriptors.
392 * utils/mountd/mountd.man: Updated for --descriptors/-o.
394 2001-06-04 H.J. Lu <hjl@lucon.org>
396 * nfs-utils.spec (Release): Set to 6.
398 2001-05-28 H.J. Lu <hjl@lucon.org>
400 * utils/lockd/lockd.c (main): chdir to NFS_STATEDIR.
401 * utils/mountd/mountd.c (main): Likewise.
402 * utils/nfsd/nfsd.c (main): Likewise.
403 * utils/rquotad/rquota_svc.c (main): Likewise.
405 2001-05-06 Anne Milicia <milicia@missioncriticallinux.com>
407 * support/export/client.c (client_check): Check IP address
410 2001-05-06 Neil Brown <neilb@cse.unsw.edu.au>
412 * support/export/client.c (client_gettype): Treat `*' as
415 2001-04-22 H.J. Lu <hjl@lucon.org>
417 * nfs-utils.spec.in: Fix a typo.
418 * nfs-utils.spec: Regenerated.
420 2001-04-21 H.J. Lu <hjl@lucon.org>
422 * nfs-utils.spec.in: Fix cross build.
423 * nfs-utils.spec: Regenerated.
426 2001-04-18 H.J. Lu <hjl@lucon.org>
428 * nfs-utils.spec.in: Support cross build.
429 * nfs-utils.spec: Regenerated.
435 * config.mk.in (BUILD_CC): New.
436 (CC): Set to $(BUILD_CC) if BUILD is defined.
439 (RANLIB): Set to @RANLIB@.
441 * configure.in: Check BUILD_CC, RANLIB, AR and LD.
442 * configure: Regenerated.
444 * tools/rpcgen/Makefile (BUILD): Set to true.
446 2001-04-01 Chip Salzenberg <chip@valinux.com>
448 * tools/rpcgen/rpc_svcout.c (write_timeout_func): Remove
449 redundant, and sometimes broken, declaration of svc_fdset;
451 * support/nfs/rpcmisc.c (closedown): Likewise.
453 2001-03-21 H.J. Lu <hjl@lucon.org>
455 * nfs-utils.spec: Regenerated.
458 2001-03-21 Ion Badulescu <ionut@cs.columbia.edu>
460 * utils/statd/statd.c (main): make sure file descriptors 0-2
461 are open to /dev/null.
463 2001-03-21 H.J. Lu <hjl@lucon.org>
465 * support/nfs/rpcmisc.c: Restore the change made on 2001-03-10.
466 * support/nfs/rpcmisc.c: Likewise.
467 * utils/rquotad/rquota_svc.c: Likewise.
468 * utils/rquotad/rquotad.man: Likewise.
469 * utils/statd/Makefile: Likewise.
470 * utils/statd/rmtcall.c: Likewise.
471 * utils/statd/simulate.c: Likewise.
472 * utils/statd/statd.c: Likewise.
473 * utils/statd/statd.man: Likewise.
475 2001-03-11 H.J. Lu <hjl@lucon.org>
477 * configure.in (RELEASE): New. Default to 1, set by
478 --with-release=XXX. Substitute nfs-utils.spec.
479 * nfs-utils.spec.in (Release): Set to @RELEASE@.
480 * configure: Regenerated.
481 * nfs-utils.spec: Likewise.
483 2001-03-11 H.J. Lu <hjl@lucon.org>
485 * utils/rquotad/rquotad.man: Fix a typo.
487 2001-03-11 H.J. Lu <hjl@lucon.org>
489 * support/include/rpcmisc.h: Undo the change made on 2001-03-10.
490 * support/nfs/rpcmisc.c: Likewise.
491 * utils/rquotad/rquota_svc.c: Likewise.
492 * utils/rquotad/rquotad.man: Likewise.
493 * utils/statd/Makefile: Likewise.
494 * utils/statd/rmtcall.c: Likewise.
495 * utils/statd/simulate.c: Likewise.
496 * utils/statd/statd.c: Likewise.
497 * utils/statd/statd.man: Likewise.
499 2001-03-10 H.J. Lu <hjl@lucon.org>
501 * configure.in (VERSION): Set to "0.3.2".
502 * configure: Regenerated.
503 * nfs-utils.spec: Likewise.
505 * README: Updated for 0.3.2.
507 2001-03-10 Tavis Barr <tavis@boole.isetr.columbia.edu>
509 * utils/rquotad/rquotad.man: Updated for -p.
510 * utils/statd/statd.man: Likewise.
512 2001-03-10 Ion Badulescu <ionut@cs.columbia.edu>
514 * support/nfs/rpcmisc.c: export makesock()
516 * support/include/rpcmisc.h (makesock): Declared.
518 * utils/rquotad/rquota_svc.c: added longopts, added support for
519 specifying the port to bind to on the command line.
521 * utils/statd/statd.c: ditto, also specify port used for
522 outgoing connections.
523 (do_regist): Removed.
525 * utils/statd/rmtcall.c (statd_get_socket): Renamed from
526 get_socket. Make it extern.
528 * utils/statd/simulate.c (daemon_simulator): Call rpc_init
529 instead of do_regist.
531 * utils/statd/Makefile (LIBS): link with our own libnfs
533 2001-03-09 H.J. Lu <hjl@lucon.org>
535 * etc/redhat/nfslock.init: Changed chkconfig line to 60 86.
536 * etc/nodist/nfs-client: Likewise.
538 2001-02-26 Chip Salzenberg <chip@valinux.com>
540 * debian/changelog: Version 0.3.1-1.
541 * Mention upstream source and license in copyright file.
542 * Add build-Depends for debhelper and libwrap0-dev.
544 2001-02-20 Lon Hohberger <hohberger@missioncriticallinux.com>
546 * etc/nodist/nfs-server: Changed chkconfig line to 60 20
547 * etc/nodist/nfs-client: Likewise.
549 2001-02-18 Lon Hohberger <hohberger@missioncriticallinux.com>
551 * utils/statd/statd.man: Changed /usr/sbin/rpc.statd to
554 2001-02-17 Patrick J. LoPresti <patl@curl.com>
556 * utils/statd/log.c (log_init): Use LOG_DAEMON instead of
559 2001-02-14 H.J. Lu <hjl@lucon.org>
561 * utils/statd/rmtcall.c: Include <time.h>.
562 * utils/statd/svc_run.c: Likewise.
564 2001-02-14 H.J. Lu <hjl@lucon.org>
566 * configure.in (VERSION): Set to "0.3.1".
567 * configure: Regenerated.
568 * nfs-utils.spec: Likewise.
570 * README: Updated for 0.3.1.
572 2001-02-14 H.J. Lu <hjl@lucon.org>
574 * support/nfs/rpcmisc.c: Include <time.h>.
576 2001-02-14 Chip Salzenberg <chip@valinux.com>
578 * debian/control: Change priority of nhfsstone package to 'extra'.
580 2001-02-12 Chip Salzenberg <chip@valinux.com>
582 * debian/changelog: Version 0.3-2.
584 2001-02-02 H.J. Lu <hjl@lucon.org>
586 * support/include/rpcmisc.h (rpc_init): Remove bufsize.
588 * support/nfs/rpcmisc.c (makesock): Remove socksz and comment
589 out SO_SNDBUF/SO_RCVBUF.
590 (rpc_init): Remove bufsize and remove socksz in calls to
593 * utils/mountd/mountd.c (main): Remove bufsize in calls to
596 2001-01-28 Chip Salzenberg <chip@valinux.com>
598 * debian/changelog: Version 0.3-1.
600 2001-01-25 H.J. Lu <hjl@lucon.org>
602 * configure.in (VERSION): Set to "0.3".
603 * configure: Regenerated.
604 * nfs-utils.spec: Likewise.
606 * README: Updated for 0.3.
608 2001-01-25 H.J. Lu <hjl@lucon.org>
610 * utils/lockd/lockd.c (main): Ignore errno == EINVAL.
612 2001-01-20 Chip Salzenberg <chip@valinux.com>
614 * support/include/xio.h (xgetc): Declare to return int.
615 * support/nfs/xio.c (xgetc): Return int.
616 (xgettok, xskip, xskipcomment): Use int for value of xgetc.
617 * utils/statd/statd.c (main): Use int for value of getopt.
618 * debian/changelog: Version 0.2.1-5.
620 2000-12-10 Chip Salzenberg <chip@valinux.com>
622 * utils/statd/monitor.c (sm_mon_1_svc): Fix buggy check for
623 program and procedure numbers of kernel lockd's callback. Also,
624 besides the old (and broken) procedure #24, allow #16 per Trond.
626 2000-12-03 Chip Salzenberg <chip@valinux.com>
628 * support/nfs/xio.c (xfopen): Initialize x_line to one, not zero.
629 * debian/control: Let nhfsstone replace files in nfs-kernel-server.
630 * debian/changelog: Version 0.2.1-4.
632 2000-11-27 Tobias Ringstrom <tori@tellus.mine.nu>
634 * utils/mountd/auth.c (auth_authenticate): Log the bad path
637 2000-11-24 Neil Brown <neilb@cse.unsw.edu.au>
639 * support/nfs/exports.c (getexportent): Check for host name
640 without option, or options without hostname, and print a warning,
641 as this is most likely a typo.
643 2000-11-19 Chip Salzenberg <chip@valinux.com>
645 * debian/control: Add dependency on portmap.
646 * debian/changelog: Version 0.2.1-3.
648 2000-11-10 H.J. Lu <hjl@lucon.org>
650 * nfs-utils.spec.in: Don't use libtool.
651 Add ChangeLog and COPYING to doc.
652 * nfs-utils.spec: Rebuild.
654 2000-11-09 H.J. Lu <hjl@lucon.org>
656 * etc/redhat/nfs.init (start): Back out the last change.
658 2000-11-09 H.J. Lu <hjl@lucon.org>
660 * etc/redhat/nfs.init (start): Pass --no-tcp to mountd if
661 TCP is not supported by kernel.
663 * support/nfs/rpcmisc.c (rpc_init): Don't set _rpcfdtype to 0.
665 * utils/mountd/mountd.c (longopts): Add "-n/--no-tcp".
666 (main): Set to _rpcfdtype to SOCK_DGRAM for "-n/--no-tcp".
668 * utils/mountd/mountd.man: Updated for "-n/--no-tcp".
670 2000-10-24 Lon Hohberger <hohberger@missioncriticallinux.com>
672 * utils/statd/callback.c: Fix bug preventing callbacks to local lockd.
673 * utils/statd/rmtcall.c: Add some IP address paranoia when doing
674 callbacks to local lockd.
676 2000-10-18 Scott McDermott <mcdermot@questra.com>
678 * utils/exportfs/exports.man: Updated for CIDR netmask.
680 2000-10-17 Scott McDermott <mcdermot@questra.com>
682 * support/export/client.c (client_init): Support CIDR netmask
685 2000-10-11 H.J. Lu <hjl@lucon.org>
687 * aclocal.m4 (AC_TCP_WRAPPER): Fix a typo.
688 * configure: Rebuilt.
690 2000-10-06 Lon Hohberger <hohberger@missioncriticallinux.com>
692 * utils/statd/statd.man: Change "/var/lib/nfs/sm/state" to
693 "/var/lib/nfs/state".
695 2000-10-05 Lon Hohberger <hohberger@missioncriticallinux.com>
697 * utils/statd/statd.h (run_mode): New global bitmask of runtime
698 behaviors: fg/bg, logging, etc.
699 * utils/statd/statd.c: New command line options: -V -h -? -d .
700 * utils/statd/statd.man: Update for changes to statd.
702 * utils/statd/log.h (log_init): Remove parameter of function; use
703 global variable "name_p" instead.
704 * utils/statd/log.c: Add support for logging to stderr.
706 * utils/statd/notlist.c: Partially rewrite notify list handling
707 functions. Eliminate run-off-end-of-list bug when calling
708 nlist_insert_timer. Add lots of comments.
710 2000-09-27 H.J. Lu <hjl@lucon.org>
712 * README: Updated for RedHat 7.0.
714 2000-09-27 H.J. Lu <hjl@lucon.org>
716 * nfs-utils.spec: Rebuild.
718 2000-09-27 H.J. Lu <hjl@lucon.org>
720 * README: Updated for 0.2.1.
722 2000-09-27 H.J. Lu <hjl@lucon.org>
724 * nfs-utils.spec.in: Updated to use rpm macros and support
727 2000-09-25 H.J. Lu <hjl@lucon.org>
729 * configure.in (VERSION): Set to "0.2.1".
730 * configure: Regenerated.
731 * nfs-utils.spec: Updated.
733 2000-09-25 H.J. Lu <hjl@lucon.org>
735 * utils/mountd/auth.c (auth_authenticate_internal): Make sure a
736 non-NULL hostent is always returned.
738 2000-09-11 Ion Badulescu <ionut@cs.columbia.edu>
740 * etc/redhat/nfslock.init: don't kill lockd processes that do not
741 have an executable (i.e. kernel threads)
743 2000-09-01 H.J. Lu <hjl@lucon.org>
745 * README: Updated for 0.2.
747 2000-09-01 Jay Weber <jweber@valinux.com>
749 * etc/redhat/nfs.init: Added ability for rpc.mountd to default to
750 supporting version 3 of nfs if available, else it will fall back to
751 version 2 support only.
753 2000-08-30 H.J. Lu <hjl@lucon.org>
755 * configure.in (VERSION): Set to "0.2".
756 * configure: Regenerated.
757 * nfs-utils.spec: Updated.
759 2000-08-25 H.J. Lu <hjl@lucon.org>
761 * support/misc/tcpwrapper.c (logit): Modify the log output.
763 2000-08-25 Ion Badulescu <ionut@cs.columbia.edu>
765 * utils/rquotad/rquotad.man, utils/statd/statd.man,
766 utils/mountd/mountd.man: updated
768 * utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL)
769 * utils/rquotad/Makefile: fix comment
771 * support/misc/tcpwrapper.c (logit): added comment about waiting
772 for the children after fork()
774 * utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving
775 zombies behind (from logit()'s fork)
776 * utils/rquotad/rquota_svc.c (main): ditto
777 * utils/statd/statd.c (main): ditto
779 * utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG
780 to check_default instead of 0, for prognum
782 * utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG
783 to check_default instead of 0, for prognum
785 * utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if
786 HAVE_TCP_WRAPPER is defined.
787 (mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is
788 defined. Reject an RPC call if check_default () fails.
790 2000-08-25 H.J. Lu <hjl@lucon.org>
792 * support/include/tcpwrapper.h: New for the tcp wrapper
794 * support/misc/Makefile: Likewise.
795 * support/misc/from_local.c: Likewise.
796 * support/misc/tcpwrapper.c: Likewise.
798 * aclocal.m4 (AC_TCP_WRAPPER): New.
799 * configure.in: Use it. Substitute LIBWRAP.
800 * configure: Rebuilt.
802 * config.mk.in (LIBNSL): New.
805 * support/Makefile (SUBDIRS): Add misc.
807 * support/lib/Makefile (LIBS): Add libmisc.a.
809 * utils/rquotad/Makefile (LIBS): Add
811 -lmisc $(LIBWRAP) $(LIBNSL)
813 * utils/statd/Makefile (LIBS): Likewise.
815 * utils/rquotad/rquota_svc.c: Include "tcpwrapper.h" if
816 HAVE_TCP_WRAPPER is defined.
817 (rquotaprog_1): Call check_default () if HAVE_TCP_WRAPPER is
818 defined. Reject an RPC call if check_default () fails.
820 * utils/statd/statd.c: Include "tcpwrapper.h" if
821 HAVE_TCP_WRAPPER is defined.
822 (sm_prog_1_wrapper): New. A wrapper for sm_prog_1. Call
823 check_default () before calling sm_prog_1 (). Define it as
824 sm_prog_1_wrapper if HAVE_TCP_WRAPPER is defined.
826 2000-08-25 Chip Salzenberg <chip@valinux.com>
828 * debian/*: Complete Debian build support.
829 * etc/debian/*: Remove.
831 2000-08-24 Neil Brown <neilb@cse.unsw.edu.au>
833 * support/export/client.c(client_check): removed the "dot+1" as a
834 ypdomain argument to innetgr as this is entirely bogus.
835 It should always be NULL.
837 2000-08-23 Neil Brown <neilb@cse.unsw.edu.au>
839 * support/export/xtab.c(xtab_read): introduce new mode for
840 reading xtab. i.e. a list of exports that might be known to the
841 kernel, or might not. These are flagged as m_exported == -1
842 * support/export/xtab.c(xtab_mount_read): call xtab_read with new
843 value "2" for xtab, meaning don't trust this too much.
844 * support/include/exportfs.h(struct mexport): changed m_exported
845 from one bit to an int so that it can hold new value
846 * utils/exportfs/exportfs.c(exportfs_ipdate): add an export to the
847 kernel if it is uncertain whether the kernel knows (m_exported == -1)
848 * utils/mountd/mountd.c(get_rootfh): similarly export to kernel if
851 * support/nfs/xio.c(xflock): added O_CREAT when getting
852 a write lock so that missing files aren't fatal.
854 * etc/debian/nfs-common: new file from "potato"
855 * etc/debian/nfs-kernel-server: new file from "potato" plus fixes.
857 2000-08-09 H.J. Lu <hjl@lucon.org>
859 * etc/redhat/nfs.init: Run /usr/sbin/exportfs first during
860 startup to ensure all existing clients work fine.
862 * support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0
863 to xtab_read () for reading _PATH_XTAB.
865 2000-08-02 H.J. Lu <hjl@lucon.org>
867 * utils/mountd/auth.c (auth_authenticate_internal): Try to
868 avoid the reverse name lookup.
870 2000-07-04 H.J. Lu <hjl@lucon.org>
872 * utils/statd/log.c: Include <stdlib.h> for exit ().
874 * utils/statd/misc.c (xunlink): Add `{' and `}' to quiet the
877 2000-07-04 H.J. Lu <hjl@lucon.org>
879 * configure.in (VERSION): Set to "0.1.9.1".
880 * configure: Regenerated.
881 * nfs-utils.spec: Updated.
885 2000-07-04 Neil Brown <neilb@cse.unsw.edu.au>
887 * support/export/hostname.c (hostent_dup): Handle the NULL
890 2000-07-03 H.J. Lu <hjl@lucon.org>
892 * README: Update the util-linux requirement.
894 2000-07-03 H.J. Lu <hjl@lucon.org>
896 * configure.in (VERSION): Set to "0.1.9".
897 * configure: Regenerated.
898 * nfs-utils.spec: Updated.
902 2000-07-03 H.J. Lu <hjl@lucon.org>
904 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
905 stop to ensure all clients can still access the server
906 before it is shutdown.
908 2000-06-30 Jeff Uphoff <juphoff@transmeta.com>
910 * tools/rpcgen/rpc_svcout.c (write_msg_out): Generate syslog()
911 calls with format string.
913 2000-06-28 Chip Salzenberg <chip@valinux.com>
915 * utils/statd/log.c (log): Call syslog with format string.
917 2000-06-27 H.J. Lu <hjl@lucon.org>
919 * utils/statd/statd.c (main): Use sysconf (_SC_OPEN_MAX)
922 2000-06-27 H.J. Lu <hjl@lucon.org>
926 2000-06-27 H.J. Lu <hjl@lucon.org>
928 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
929 startup to ensure all existing clients are exported.
931 * configure.in (VERSION): Set to "0.1.8.2".
932 * configure: Regenerated.
933 * nfs-utils.spec: Updated.
935 2000-06-06 H.J. Lu <hjl@lucon.org>
937 * configure.in (VERSION): Set to "0.1.8.1".
938 * configure: Regenerated.
939 * nfs-utils.spec: Updated.
941 2000-06-06 H.J. Lu <hjl@lucon.org>
943 * utils/mountd/mountd.c (mount_dump_1_svc): Cast svc_getcaller
944 to "struct sockaddr_in *" for glibc 2.2.
945 (mount_umnt_1_svc): Likewise.
946 (mount_umntall_1_svc): Likewise.
947 (mount_export_1_svc): Likewise.
948 (mount_exportall_1_svc): Likewise.
949 (mount_pathconf_2_svc): Likewise.
950 (get_rootfh): Likewise.
952 2000-06-04 H.J. Lu <hjl@lucon.org>
954 * etc/redhat/nfs.init: Fix a typo in comment.
956 2000-05-31 H.J. Lu <hjl@lucon.org>
958 * configure.in (VERSION): Set to "0.1.8".
959 * configure: Regenerated.
960 * nfs-utils.spec: Updated.
964 2000-05-31 H.J. Lu <hjl@lucon.org>
966 * configure.in (VERSION): Set to "0.1.7.5".
967 * configure: Regenerated.
968 * nfs-utils.spec: Updated.
970 * support/include/nfslib.h (exportent): Add a new field,
971 r_count, to count the number of mounts from a client.
972 (getrmtabent): Take a new argument for position in file.
973 (putrmtabent): Likewise.
974 (fgetrmtabent): Likewise.
975 (fputrmtabent): Likewise.
976 * support/nfs/rmtab.c (getrmtabent): Handle the new argument
977 for position in file.
978 (fgetrmtabent): Likewise.
979 (putrmtabent): Likewise.
980 (fputrmtabent): Likewise.
982 * support/nfs/rmtab.c (fgetrmtabent): Get value for the new
985 * support/export/rmtab.c (rmtab_read): Pass NULL as the new
986 argument to getrmtabent (), fgetrmtabent (), putrmtabent ()
988 * utils/mountd/rmtab.c (mountlist_add): Likewise.
989 (mountlist_del): Likewise.
990 (mountlist_del_all): Likewise.
991 (mountlist_list): Likewise.
993 * utils/mountd/rmtab.c (mountlist_add): Increment "r_count"
994 for the existing entry and initialize "r_count" to 1.
995 (mountlist_del): Decrement "r_count".
997 2000-05-18 H.J. Lu <hjl@lucon.org>
999 * configure.in (VERSION): Set to "0.1.7.4".
1000 * configure: Regenerated.
1001 * nfs-utils.spec: Updated.
1003 2000-05-18 H.J. Lu <hjl@lucon.org>
1005 * etc/redhat/nfs.init (restart): Just do stop and start.
1007 2000-05-09 Jay Weber <jweber@valinux.com>
1009 * utils/rquotad/hasquota.c: added support for ext3 recognition
1011 * utils/rquotad/mntent.h: Likewise.
1013 2000-05-01 H.J. Lu <hjl@lucon.org>
1015 * configure.in (VERSION): Set to "0.1.7.3".
1016 * configure: Regenerated.
1017 * nfs-utils.spec: Updated.
1019 2000-05-01 H.J. Lu <hjl@lucon.org>
1021 * utils/rquotad/rquota_server.c (getquotainfo): Skip bad
1022 mounting poins in /etc/fstab.
1024 2000-05-01 H.J. Lu <hjl@lucon.org>
1026 * configure.in (VERSION): Set to "0.1.7.2".
1027 * configure: Regenerated.
1028 * nfs-utils.spec: Updated.
1030 2000-05-01 H.J. Lu <hjl@lucon.org>
1032 * utils/rquotad/rquota_server.c (getquotainfo): Call stat ()
1033 to check for the mounting point.
1035 2000-04-29 Chip Salzenberg <chip@valinux.com>
1036 Neil Brown <neilb@cse.unsw.edu.au>
1038 * Really re-use RPC ports.
1039 (Fixes earlier patch. Sorry, Neil.)
1041 2000-04-26 H.J. Lu <hjl@lucon.org>
1043 * configure.in (VERSION): Set to "0.1.7.1".
1044 * configure: Regenerated.
1045 * nfs-utils.spec: Updated.
1047 2000-04-26 H.J. Lu <hjl@lucon.org>
1049 * etc/redhat/nfslock.init: Check if lockd exits before killing
1052 2000-04-25 H.J. Lu <hjl@lucon.org>
1054 * README: Require util-linux-2.10f-mount-rpc.patch for mount.
1056 2000-03-21 Michael Weiser <michael@weiser.saale-net.de>
1058 * support/nfs/exports.c (parsesquash): Correctly set the
1061 Tue Mar 21 11:38:48 EST 2000 NeilBrown <neilb@cse.unsw.edu.au>
1063 * support/include/nfs/nfs.h: Removed knowledge of internals of
1064 kernel filehandles (which can change) and defined nfs_fh_size
1065 which has variable size
1067 * support/nfs/getfh.c: defined getfh_size to use new syscall to
1068 get variable sized file handles, and change getfh{,old} to
1071 * utils/mountd/mountd.c: use nfd_fh_size and call getfh_size for
1074 * tools/Makefile, tools/nlmtest/nlmtest.c
1075 nlmtest.c depended on internel format of file handles, so now
1079 2000-03-12 Chip Salzenberg <chip@valinux.com>
1080 Neil Brown <neilb@cse.unsw.edu.au>
1082 * support/nfs/rpcmisc.c (rpc_init): Share transports.
1084 2000-03-13 H.J. Lu <hjl@lucon.org>
1086 * etc/redhat/nfsd.init: Updated.
1088 * etc/redhat/nfslock.init: Updated.
1090 * nfs-utils.spec.in: Updated.
1092 * configure.in (VERSION): Set to "0.1.7".
1093 * configure: Regenerated.
1094 * nfs-utils.spec: Updated.
1098 Wed Mar 8 09:42:43 2000 Neil Brown <neilb@cse.unsw.edu.au>
1100 * utils/exportfs/exportfs.c (dump): Included printing of
1101 nohide, no_subtree_check, and insecure_locks
1103 2000-02-26 Chip Salzenberg <chip@valinux.com>
1105 * config.mk.in (INSTALLSUID): Strip ("-s").
1106 (INSTALLSCRIPT): Define.
1107 * utils/nhfsstone/Makefile: Use it.
1109 2000-02-26 Chip Salzenberg <chip@valinux.com>
1111 * utils/lockd/lockd.man: Create.
1112 * utils/lockd/Makefile: Install it.
1113 * utils/nhfsstone/nhfs{run,nums,graph}.man: Create.
1114 * utils/nhfsstone/nhfsstone.man: Change suffix from ".1".
1115 * utils/nhfsstone/Makefile: Install the helper scripts and
1117 * utils/exportfs/exports.man: Fix typo.
1119 2000-02-26 Chip Salzenberg <chip@valinux.com>
1121 * support/nfs/xio.c (xungetc): Decrement line number when
1122 character to unget is newline. Make first parameter int, so
1123 it can distinguish EOF from \377.
1124 * support/include/xio.h (xungetc): Adjust prototype.
1126 Fri Feb 4 23:42:23 2000 Neil Brown <neilb@cse.unsw.edu.au>
1128 * support/include/nfs/export.h: added NFSEXP_NOAUTHNLM
1129 * support/nfs/exports.c: added handling for NFSEXP_NOAUTHNLM
1130 * utils/exportfs/exports.man: added documentation for no_auth_nlm.
1132 This is for supporting a new option introduced in 2.3.42
1134 Thu Feb 3 14:55:48 2000 H.J. Lu <hjl@lucon.org>
1136 * COPYING: Added. GPL.
1138 Thu Feb 03 14:40:40 2000 Cristian Gafton <gafton@redhat.com>
1140 * utils/rquotad/rquota_server.c (getquotainfo): Call statfs ()
1141 to get the block size.
1143 Tue Jan 25 11:04:17 2000 H.J. Lu <hjl@lucon.org>
1145 * nfs-utils.spec.in: Update ftp site.
1147 Mon Jan 17 11:48:18 2000 H.J. Lu <hjl@lucon.org>
1149 * README: Update hostnames.
1151 Tue Jan 11 10:06:22 2000 H.J. Lu <hjl@lucon.org>
1153 * configure.in (VERSION): Set to "0.1.6".
1154 * configure: Regenerated.
1155 * nfs-utils.spec: Updated.
1159 Mon Jan 10 14:26:33 2000 H.J. Lu <hjl@lucon.org>
1161 * utils/mountd/auth.c (auth_authenticate_internal): Call
1162 xstrdup for hostname before passing it to gethostbyname.
1164 * utils/mountd/mountd.c (get_exportlist): Use xstrdup instead
1167 Sun Dec 19 09:35:01 1999 H.J. Lu <hjl@lucon.org>
1169 * README: Update the mailing list address.
1171 Sun Dec 19 09:22:28 1999 H.J. Lu <hjl@lucon.org>
1173 * configure.in (VERSION): Set to "0.1.5".
1174 * configure: Regenerated.
1175 * nfs-utils.spec: Updated.
1179 Mon Dec 13 13:40:20 1999 H.J. Lu <hjl@lucon.org>
1181 * utils/rquotad/hasquota.c (hasquota): Malloc one more char
1184 Mon Dec 6 09:42:45 1999 H.J. Lu <hjl@lucon.org>
1186 * configure.in (VERSION): Set to "0.1.4".
1187 * configure: Regenerated.
1188 * nfs-utils.spec: Updated.
1192 Mon Dec 6 09:28:07 1999 H.J. Lu <hjl@lucon.org>
1194 * nfs-utils.spec.in: New file.
1196 * config.mk.in (VERSION): Changed to "nfs-utils @VERSION@".
1198 * configure.in (nfs-utils.spec): Added to AC_OUTPUT.
1200 1999-12-04 Chip Salzenberg <chip@valinux.com>
1202 * config.mk.in: Use $(CC) as set by configure.
1204 1999-12-04 Chip Salzenberg <chip@valinux.com>
1206 * rules.mk: Call $(MAKE) with $(MFLAGS).
1208 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1210 * tools/rpcgen/rpc_main.c (h_output): Generate IXDR_GET_INT32,
1211 IXDR_PUT_INT32, IXDR_GET_U_INT32 and IXDR_PUT_U_INT32.
1213 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1215 * nfs-utils.spec (Version): Set to 0.1.3.
1217 * configure.in (VERSION): Set to "nfs-utils 0.1.3".
1218 * configure: Regenerated.
1222 Mon Nov 29 11:15:47 1999 H.J. Lu <hjl@lucon.org>
1224 * utils/rquotad/rquota_server.c (nfsmount_to_devname): Removed.
1225 (_PATH_DEV_DSK): Likewise.
1226 (getquotainfo): Match the mounting point from /etc/mtab
1227 instead of calling nfsmount_to_devname ().
1229 1999-11-24 Chip Salzenberg <chip@valinux.com>
1231 * utils/statd/monitor.c (sm_mon_1_svc): Accept lockd callbacks
1232 to the new port 24 as well as the historical port 100021.
1234 Tue Nov 23 10:21:34 1999 Neil Brown <neilb@cse.unsw.edu.au>
1236 * etc/redhat/nfsd.init (stop): moved exportfs -ua after
1237 stopping nfsd to stop spurious ESTALE on server shutdown.
1239 Tue Nov 23 10:13:39 1999 Neil Brown <neilb@cse.unsw.edu.au>
1241 * support/nfs/exports.c (parseopts): make copy of opt string
1242 before 'nul'ing out commas so that
1244 # exportfs -o option1,option2 hosta:/fs hostb:/fs
1246 applies both options to both exports.
1248 Thu Oct 28 12:55:42 1999 H.J. Lu <hjl@lucon.org>
1250 * README: Fix a few typos.
1252 * tools/rpcgen/rpc_cout.c (print_header): Use int32_t instead
1254 * tools/rpcgen/rpc_hout.c (pdefine): Likewise.
1255 * tools/rpcgen/rpc_main.c (c_initialize): Likewise.
1256 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1257 (unsigned_dec): Likewise.
1258 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1259 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1261 * tools/rpcgen/rpc_cout.c (emit_single_in_line): Use INT32
1263 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1264 (unsigned_dec): Likewise.
1265 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1266 * tools/rpcgen/rpc_scan.h (tok_kind): Likewise.
1267 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1269 Thu Oct 28 11:27:51 1999 Neil Brown <neilb@cse.unsw.edu.au>
1271 * support/include/nfs/export.h addedd NFSEXP_NOSUBTREECHECK
1272 * support/nfs/exports.c: added {no_,}subtree_check and changed
1274 * utils/exportfs/exports.man: added no_subtree_check and nohide
1275 and removed irrelevant stuff from unfsd.
1276 * support/export/rmtab.c: rmtab_read didn't quite do the right
1277 thing if a pathname from rmtab was a subdirectory of an export-point
1279 Tue Oct 26 17:22:40 1999 H.J. Lu <hjl@lucon.org>
1281 * README: Updated ftp site.
1283 Mon Oct 25 18:12:45 1999 H.J. Lu <hjl@lucon.org>
1285 * nfs-utils.spec (Version): Set to 0.1.2.
1287 * configure.in (VERSION): Set to "nfs-utils 0.1.2".
1288 * configure: Regenerated.
1292 Mon Oct 25 18:11:21 1999 H.J. Lu <hjl@lucon.org>
1294 * utils/mountd/auth.c (auth_error): Add "no_forward_dns".
1295 (auth_authenticate_internal): Check for NULL return on forward
1297 (auth_authenticate): Handle "no_forward_dns".
1299 Thu Oct 21 16:22:06 1999 H.J. Lu <hjl@lucon.org>
1301 * Version 0.1.1 released.
1303 * nfs-utils.spec (Version): Set to 0.1.1.
1305 * configure.in (VERSION): Set to "nfs-utils 0.1.1".
1306 * configure: Regenerated.
1310 Mon Oct 18 17:43:29 1999 H.J. Lu <hjl@lucon.org>
1312 * nfs-utils.spec (Obsoletes): Fixed a typo, change knfsd-client
1314 (Provides): Likewise.
1316 Mon Oct 18 14:56:22 1999 H.J. Lu <hjl@lucon.org>
1318 * Initial version 0.1 released.
1320 * configure.in (VERSION): Set to "nfs-utils 0.1".
1321 * configure: Regenerated.
1323 Mon Oct 18 14:54:57 1999 H.J. Lu <hjl@lucon.org>
1325 * utils/mountd/mountd.c (get_exportlist): Cleanup.
1327 * utils/exportfs/exportfs.c (unexport_all): Unexport from
1328 kernel only if the entry is exported to kernel.
1329 (unexportfs): Likewise.
1331 Wed Sep 08 16:49:32 1999 Neil Brown <neilb@cse.unsw.edu.au>
1333 1/ utils/mountd/rmtab.c::mountlist_list
1335 This routine stats the rmtab file to see if it has changed. It
1336 if has, it cleans up it's old copy of the data. But it still
1337 always re-read the file, thus returning multiple copies of the
1338 data on consecutive calls without intervening changes.
1339 "Showmount -a" didn't show this as it appears to sort/unique the
1340 data, but 'strace showmount -a' showed that the size of the
1341 datagram that it received grew.
1343 I moved the getrmtabent loop inside the mtime test.
1345 2/ utils/exportfs/exportfs.c
1347 Many routines used the m_path field of m_export instead of
1349 According to the comment in nfslib.h, m_path should only
1350 be used when processing a mount request (i.e. in mountd)
1351 where the mountpoint may be a subdirectory of the export point.
1353 I changed all occurances of m_path to e_path
1356 3/ utils/exportfs/exportfs.c:main
1358 extra arguments are not meaningful with -a or -r, but
1359 exportfs accepted them and then ignored the -a/-r, expect that
1360 -r would still unexport everything first.
1362 I generate an error if there are extra args and f_all
1364 4/ utils/exportfs/exportfs.c:main
1365 extract dump out as a special case.
1367 5/ utils/exportfs/exportfs.c
1368 made f_reexport a local variable.
1371 6/ utils/exportfs/exportfs.c:main,exportall
1373 support/export/rmtab.c
1374 only mayexport on newly created entries, don't set xtabent at all
1376 7/ support/include/nfslib.h
1378 add #define _PATH_PROC_EXPORTS to be /proc/fs/nds/exports
1380 8/ support/export/xtab.c
1382 xtab_mount_read loads data from _PATH_PROC_EXPORTS if it exists,
1386 9/ support/export/xtab.c
1388 xtab_mount_read now sets m_exported, and NOT
1389 xtabent and mayexport
1391 removed the append arguement from xtab_write as it was
1394 added is_export flag to xtab_write similar to xtab_read
1395 if is_export, only write entries with m_xtabent or m_addxtab
1396 if !is_export, only write entries with m_exported
1398 10/ support/export/export.c::export_allowed_internal
1400 added test for exp->m_mayexport, as the export tree
1401 may have entries that are no longer allowed to be exported,
1402 and so shouldn't caused deduced exported by rmtab_read
1404 11/ utils/exportfs/exportfs.c::main
1405 error checking of flags.
1407 12/ utils/exportfs/exportfs.c
1409 total rewrite of export and unexport logic.
1411 - build an exportslist of valid exports, based on
1412 current etab file and arguments,
1413 - read rmtab to instantiate relevant wild card entries
1414 - read etab to find out what is currently exported
1415 - synchronise intention with reality
1416 - write out etab and xtab
1419 discard the m_addxtab flag
1420 add m_changed flag so we know what to report in exportfs
1422 14/ utils/mountd/auth.c:auth_authenticate
1424 the value returned by gethostbyaddr was trusted.
1426 It now follows this with a call to gethostbyname
1427 and checks that the address is in the list.
1429 15/ support/export/nfsctl.c::cltsetup,expsetup
1431 force client names to lowercase as kernel is
1434 16/ quietened a few compiler warnings
1436 17/ support/export/client:client_lookup
1438 look for pre-existing client with same name before creating
1441 18/ support/include/exportfs.h
1443 The ordering of the MCL_* enum was:
1444 ANONYMOUS, FQDN, SUBNETWORK, WILDCARD, NETGROUP
1446 I moved ANONYMOUS to the end.
1448 The ordering is significant when an export entry is being searched for to
1449 match a given address. There are two problems with ANONYMOUS being first.
1451 1/ if a directory is exported rw to a couple of hosts and ro to everyone else,
1452 then the ro case will always be found first and the privileged hosts won't get
1454 2/ When mountd gets a request to mount an ANONYMOUSly exported tree, it creates a FQDN
1455 export entry for the specific host, and writes it to xtab.
1456 When another request comes from the same host, the ANONYMOUS entry is found again,
1457 before the new FQDN entry, so it creates another FQDN entry and writes it to xtab
1458 again. If causes bloat in xtab.
1460 Putting ANONYMOUS at the end reflects it's nature as a catch-all
1462 19/ utils/exportfs/exportfs.man
1463 many updates to the man page to reflect changes to the code
1465 -----------------------
1471 - allow exportfs to modify rmtab file
1472 - make sure kernel never gets two clients with same IP address
1473 - possible kernel should reject
1474 - needs to be some way to lookup client in kernel by IP address
1475 - maybe get kernel to do case-insensitive comparisons on client names
1476 - remove unused clients from kernel
1478 - change etab to xtab and xtab to xtab.active
1480 - timestamp and/or statd-stamp in rmtab for removing old entries.
1482 Mon Oct 18 11:48:07 1999 H.J. Lu <hjl@lucon.org>
1484 * linux-nfs: New directory.
1485 * linux-nfs/ChangeLog: Moved from ..
1486 * linux-nfs/INSTALL: Likewise.
1487 * linux-nfs/KNOWNBUGS: Likewise.
1488 * linux-nfs/NEW: Likewise.
1489 * linux-nfs/README: Likewise.
1490 * linux-nfs/THANKS: Likewise.
1491 * linux-nfs/TODO: Likewise.
1493 * Starting from knfsd 1.4.7.