1 2002-09-16 Chip Salzenberg <chip@pobox.com>
3 * utils/rquotad/rquota_svc.c (main): Use int for value of getopt.
5 2002-09-15 Chip Salzenberg <chip@pobox.com>
7 * support/nfs/rpcmisc.c (rpc_init): Allow stdin to be a non-INET
8 socket, as occurs when run from sshd.
9 * debian/changelog: Version 1.0.2-1.
11 2002-09-12 H.J. Lu <hjl@lucon.org>
13 * support/nfs/svc_socket.c: Remove HAVE_SVCTCP_SOCKET and
16 2002-09-12 H.J. Lu <hjl@lucon.org>
18 * configure.in: Remove checking svctcp_socket and svcudp_socket.
19 * configure: Regenerated.
21 * support/include/config.h.in (HAVE_SVCTCP_SOCKET): Removed.
22 (HAVE_SVCUDP_SOCKET): Removed.
24 * support/include/nfslib.h: Undo the last change.
26 2002-09-12 H.J. Lu <hjl@lucon.org>
28 * support/include/nfslib.h (svctcp_socket): Protect it with
30 (svcudp_socket): Protect it with HAVE_SVCUDP_SOCKET.
32 2002-09-12 H.J. Lu <hjl@lucon.org>
34 * configure.in (VERSION): Set to "1.0.2".
35 * configure: Regenerated.
36 * nfs-utils.spec: Likewise.
38 2002-09-12 H.J. Lu <hjl@lucon.org>
40 * configure.in: Check svctcp_socket and svcudp_socket.
41 * configure: Regenerated.
43 * support/include/config.h.in (HAVE_SVCTCP_SOCKET): New.
44 (HAVE_SVCUDP_SOCKET): New.
46 * support/include/nfslib.h (svctcp_socket): New.
49 * support/nfs/Makefile (OBJS): Add svc_socket.o.
51 * support/nfs/svc_socket.c: New.
53 * support/nfs/rpcmisc.c (rpc_init): Call svctcp_socket and
54 svcudp_socket if port is unspecified.
56 * utils/nfsd/nfsd.c (main): Call getservbyname for port.
58 * utils/rquotad/rquota_svc.c: Include <nfslib.h>.
59 (killer): New. Signal handler to unregister.
60 (main): Use killer. Call svcudp_socket to get the default
63 2002-09-02 Juan Gomez <juang@us.ibm.com>
64 NeilBrown <neilb@cse.unsw.edu.au>
66 Add -N option to statd to run in notify-only mode.
68 * utils/statd/statd.h: uncomment MODE_NOTIFY_ONLY
69 * utils/statd/statd.man: document -N
70 * utils/statd/statd.c: enabled -N, largely exists but needed to be
71 uncommented and completed
73 2002-09-02 Juan Gomez <juang@us.ibm.com>
74 NeilBrown <neilb@cse.unsw.edu.au>
76 statd to have " -P directory" arg to use that directory instead
77 of /var/lib/nfs. This is useful for fail-over clusters.
79 * utils/statd/statd.h: define SM_DIR etc as var, not const.
80 * utils/statd/statd.c: define "-P" option to set SM_*
82 * utils/statd/monitor.c: sprintf to cope with SM_DIR not being
84 * utils/statd/notify.c: ditto.
85 * utils/statd/statd.man: document -P option.
87 2002-08-26 Chip Salzenberg <chip@pobox.com>
89 * utils/nfsd/nfsd.man: Fix typo.
90 * debian/changelog: Version 1.0.1-1.
92 2002-05-29 NeilBrown <neilb@cse.unsw.edu.au>
94 * let parseopts know if /etc/exports was being read or not,
95 and have it only print "no sync or async" warning in that case.
97 2002-05-06 Tom McNeal <trmcneal@attbi.com>
98 NeilBrown <neilb@cse.unsw.edu.au>
100 * utils/nfsstat/nfsstat.c: Handle differing format for
101 /proc/net/rpc/nfsd between pre and post 2.4.0
103 2002-04-09 NeilBrown <neilb@cse.unsw.edu.au>
104 James Pearson <james-p@moving-picture.com>
106 * support/nfs/rmtab.c(fendrmtabent): sync changes to
107 storage before returning, as this is critical state
109 2002-04-08 Sean O'Connell <sean@ee.duke.edu>
110 H.J. Lu <hjl@lucon.org>
112 * etc/redhat/nfs: New.
114 2002-04-08 H.J. Lu <hjl@lucon.org>
116 * etc/redhat/nfs.init: Updated.
118 * nfs-utils.spec.in: Updated.
119 * nfs-utils.spec: Regenerated.
121 * utils/mountd/mountd.c (longopts): Fix a typo.
123 * utils/mountd/mountd.man: Updated.
125 2002-04-07 H.J. Lu <hjl@lucon.org>
127 * etc/redhat/nfslock.init (restart): Just do stop and start.
129 * etc/redhat/nfs.init: Fix a typo.
131 2002-04-07 H.J. Lu <hjl@lucon.org>
133 * configure.in (VERSION): Set to "1.0.1".
134 * configure: Regenerated.
135 * nfs-utils.spec: Likewise.
137 * README: Updated for 1.0.1.
139 2002-04-07 Sean O'Connell <sean@ee.duke.edu>
140 H.J. Lu <hjl@lucon.org>
142 * etc/redhat/nfs.init: Read /etc/sysconfig/nfsd for NFS tuning.
144 2002-02-28 Steven Whitehouse <steve@gw.chygwyn.com>
145 NeilBrown <neilb@cse.unsw.edu.au>
147 Add support for fsid=nn export option so that device
148 numbers don't go in filehandles.
149 * support/export/nfsctl.c(expsetup): if exporting and NFSEXP_FSID
150 is set, pass the fsid in-place of the device number
151 * support/nfs/exports.c: parse and print fsid= option.
152 Also check if efname has been set, and use "command line"
153 instead in error messages.
154 Also, use strtol instead of atoi for anon[ug]id= so that
155 bad numbers cause errors.
157 2002-01-17 Adrian Drzewiecki <drze@MissionCriticalLinux.com>
158 NeilBrown <neilb@cse.unsw.edu.au>
160 * support/nfs/exports.c: remove NFSEXP_ASYNC as a default
161 flag so that "sync" becomes the default.
162 Check that either "sync" or "async" is given as an option
163 and warn if neither are present
164 * utils/exportfs/exports.man: change documentation for "sync"
165 to be documentation for "async".
166 * utils/exportfs/exportfs.man: note that "sync" is the default
170 2002-01-02 Chip Salzenberg <chip@pobox.com>
172 * support/export/nfsctl.c (expsetup): Don't export entries that
173 specify id mappings not supported by the kernel. No extant kernel
174 supports any significant mapping, only 'identity' (i.e. none).
175 When other mappings are supported, this code will need changing.
176 * debian/changelog: Version 1.0-2.
178 2001-12-26 Chip Salzenberg <chip@pobox.com>
180 * nfs-utils.spec (Version): Set to "1.0".
181 * configure.in (VERSION): Likewise.
182 * configure: Regenerated.
184 * debian/changelog: Version 1.0-1.
186 * utils/exportfs/exports.man: Emphasize the need for options to
187 immediately follow client names. Explain that wildcards don't
188 usually work on addresses, but may work when reverse DNS fails.
189 Comment out a leftover TP that was TPing our indentation.
190 * utils/mountd/mountd.man, utils/rquotad/rquotad.man,
191 utils/statd/statd.man: Remove refs to non-existent "hosts_allow(5)".
192 * debian/changelog: Version 0.3.3-6.
194 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
196 * support/export/client.c(client_lookup): If a host has multiple
197 IP addresses, then we must always use the result of a
198 gethostbyname, not that of gethostbyaddr for exporting
200 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
202 * support/export/client.c (client_lookup): use strcasecmp when
204 * support/nfs/export.c (getexportent): add fromkernel arg and use
205 different defaults as kernels prior to 2.4.11 assume different
206 defaults in /proc/fs/nfs/exports
207 * support/include/nfslib.h, support/export/export.c,
208 support/export/xtab.c: support extra "fromkernel" arg for
211 2001-12-13 Chip Salzenberg <chip@pobox.com>
213 * debian/changelog: Version 0.3.3-5.
215 2001-11-26 TAKAI Kousuke <takai@vlsi.kuee.kyoto-u.ac.jp>
217 * support/nfs/xio.c (xskip): Call `xungetc' instead of
218 `ungetc' to keep x_line more properly.
220 2001-11-26 Chip Salzenberg <chip@pobox.com>
222 * utils/showmount/showmount.c (main): Don't assume that strings
223 starting with digits are IP addresses.
224 * utils/nfsd/nfsd.c (main): Close all fds and reopen 0,1,2 on
225 /dev/null before nfssvc(). Use syslog to report nfssvc errors.
226 * support/misc/tcpwrapper.c, utils/mountd/mountd.man,
227 utils/rquotad/rquotad.man, utils/statd/statd.man: Fix comments and
228 man pages: We check host names *and* addresses with tcpwrappers.
229 * debian/changelog: Version 0.3.3-4.
231 2001-11-21 Chip Salzenberg <chip@pobox.com>
233 * support/nfs/clients.c (cfname): Added: current clients file name.
234 (setnfsclntent): Set it.
235 ({get,end}nfsclntent, syntaxerr): Use it.
236 * support/nfs/exports.c (efname): Added: current exports file name.
237 (setnfsexportent): Set it.
238 (endnfsexportent, parseopts, getexport, syntaxerr): Use it.
239 (parseopts): Accept old-style "crossmnt" option, for old xtabs.
240 * debian/changelog: Version 0.3.3-3.
242 2001-10-11 Chip Salzenberg <chip@pobox.com>
244 * utils/mountd/mountd.c (main): Close fds > 2 _before_ RPC init.
245 * debian/changelog: Version 0.3.3-2.
247 2001-10-08 Chip Salzenberg <chip@pobox.com>
249 * utils/mountd/mountd.c (main): When daemonizing, close all fds > 2.
250 * utils/Makefile.in: Remove old Makefile in target 'distclean'.
251 * utils/mountd/mountd.man: Update paths to /var/lib.
252 * debian/*: Version 0.3.3-1, with Debian-specific fixes.
254 2001-10-06 Preston Brown <pbrown@redhat.com>
256 * utils/nfsstat/nfsstat.man: Updated.
258 2001-09-24 H.J. Lu <hjl@lucon.org>
260 * configure.in (VERSION): Set to "0.3.3".
261 * configure: Regenerated.
262 * nfs-utils.spec: Likewise.
264 * README: Updated for 0.3.3.
266 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
268 Arrange that "exportfs -au" never does DNS lookup:
270 * support/export/client.c (client_lookup) : add "canonical"
271 flag which says that the hostname is known to be canonical, so
274 * support/export/export.c (export_create) : add "canonical"
275 flag to be passed down to client_lookup
276 * support/export/export.c (export_lookup) : Likewise
278 * support/export/xtab.c (xtab_read) : pass appropriate
279 "canonical" flag to export_lookup and export_create:
280 set if reading list of filesystems currently exports
283 * support/export/export.c (export_read) : pass 0 as
284 "canonical" flag to export_lookup and export_create
285 * support/export/rmtab.s (rmtab_read) : Likewise
287 * support/include/exportfs.h : redeclare various routines
288 to have "canonical" flag
290 * utils/exportfs/exportfs.c (main) : redo logic for
291 "-au" to read in what is currently exported, but never even
292 look at what "should" be exported.
294 * utils/exportfs/exportfs.c (unexportall) : remove this
295 routine. Functionality is completely included in
298 * utils/exportfs/exportfs.c (exportfs) : set "canonical"
299 flag to zero in calls to export_lookup and export_create.
302 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
303 Anne Milicia <milicia@missioncriticallinux.com>
305 * support/export/client.c (client_lookup) call gethostbyadd
306 to make sure that we have a canonical hostname, even for
308 * utils/exportfs/exportfs.c (exportfs) Likewise
310 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
312 * support/nfs/exports.c (putexportent): \octal quote any spaces
314 * support/nfs/xio.c (xgettok): recognise double-quote and
315 \octal quoting in path names
316 * utils/exportfs/exports.man: document quoting conventions
319 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
321 * utils/mountd/auth.c (auth_authenticate_internal): Reverse
322 change from 2000-08-02: It causes problems if someone exports
323 to both a hostname and IP addresses. nfs-utils must be
324 consistant about the canonical name that it chooses.
326 2001-08-17 Ragnar Kjørstad <nfs@ragnark.vestdata.no>
327 H.J. Lu <hjl@lucon.org>
329 * etc/redhat/nfslock.init (STATDARG): New. Pass it to rpc.statd.
331 * utils/statd/statd.c (longopts): Add "name".
332 (usage): Add "-n/--name".
333 (main): Set MY_NAME with "-n/--name".
335 * utils/statd/state.c (change_state): Set MY_NAME only if it
338 * utils/statd/statd.man: Updated for "-n/--name".
340 2001-07-26 H.J. Lu <hjl@lucon.org>
342 * nfs-utils.spec (Release): Set to 8.
344 2001-07-25 H.J. Lu <hjl@lucon.org>
346 * etc/redhat/nfs.init: Check if rpc.rquotad exists before doing
349 2001-06-27 H.J. Lu <hjl@lucon.org>
351 * etc/redhat/nfs.init: Run rpc.rquotad only if it exists.
353 2001-06-27 H.J. Lu <hjl@lucon.org>
355 * utils/rquotad/rquota_server.c: Don't call statfs () for
356 the block size. Use BLOCK_SIZE instead.
358 2001-06-27 H.J. Lu <hjl@lucon.org>
360 * config.mk.in (CC_FOR_BUILD): Renamed from BUILD_CC.
361 (CFLAGS_FOR_BUILD): New. Don't use @CFLAGS@.
363 * configure.in (enable_nfsv3): Set to yes by default.
364 (--enable-rquotad): Added
365 (AC_PROG_CXX): Removed.
366 (AC_OUTPUT): Add utils/Makefile.
367 (CC_FOR_BUILD): Renamed from BUILD_CC.
368 * configure: Regenerated.
370 * utils/Makefile: Removed.
372 * utils/Makefile.in: New.
374 * nfs-utils.spec.in (rquotad): New. Set to 0 to disable
376 (CC_FOR_BUILD): Renamed from BUILD_CC.
377 * nfs-utils.spec: Regenerated.
379 2001-06-15 Chip Salzenberg <chip@debian.org>
381 * debian/changelog: Version 0.3.2-2.
382 * debian/*.init: Minor fixes.
384 2001-06-07 Lon H. Hohberger <hohberger@missioncriticallinux.com>
386 * etc/nodist/nfs-server: Fixed a bug where the script would
387 disable mounts from NFSv3 clients if NFSv3 is present.
389 2001-06-05 H.J. Lu <hjl@lucon.org>
391 * utils/mountd/mountd.c (longopts): Add "descriptors/o".
392 (main): Support --descriptors/-o to set the limit of the number
393 of open file descriptors.
396 * utils/mountd/mountd.man: Updated for --descriptors/-o.
398 2001-06-04 H.J. Lu <hjl@lucon.org>
400 * nfs-utils.spec (Release): Set to 6.
402 2001-05-28 H.J. Lu <hjl@lucon.org>
404 * utils/lockd/lockd.c (main): chdir to NFS_STATEDIR.
405 * utils/mountd/mountd.c (main): Likewise.
406 * utils/nfsd/nfsd.c (main): Likewise.
407 * utils/rquotad/rquota_svc.c (main): Likewise.
409 2001-05-06 Anne Milicia <milicia@missioncriticallinux.com>
411 * support/export/client.c (client_check): Check IP address
414 2001-05-06 Neil Brown <neilb@cse.unsw.edu.au>
416 * support/export/client.c (client_gettype): Treat `*' as
419 2001-04-22 H.J. Lu <hjl@lucon.org>
421 * nfs-utils.spec.in: Fix a typo.
422 * nfs-utils.spec: Regenerated.
424 2001-04-21 H.J. Lu <hjl@lucon.org>
426 * nfs-utils.spec.in: Fix cross build.
427 * nfs-utils.spec: Regenerated.
430 2001-04-18 H.J. Lu <hjl@lucon.org>
432 * nfs-utils.spec.in: Support cross build.
433 * nfs-utils.spec: Regenerated.
439 * config.mk.in (BUILD_CC): New.
440 (CC): Set to $(BUILD_CC) if BUILD is defined.
443 (RANLIB): Set to @RANLIB@.
445 * configure.in: Check BUILD_CC, RANLIB, AR and LD.
446 * configure: Regenerated.
448 * tools/rpcgen/Makefile (BUILD): Set to true.
450 2001-04-01 Chip Salzenberg <chip@valinux.com>
452 * tools/rpcgen/rpc_svcout.c (write_timeout_func): Remove
453 redundant, and sometimes broken, declaration of svc_fdset;
455 * support/nfs/rpcmisc.c (closedown): Likewise.
457 2001-03-21 H.J. Lu <hjl@lucon.org>
459 * nfs-utils.spec: Regenerated.
462 2001-03-21 Ion Badulescu <ionut@cs.columbia.edu>
464 * utils/statd/statd.c (main): make sure file descriptors 0-2
465 are open to /dev/null.
467 2001-03-21 H.J. Lu <hjl@lucon.org>
469 * support/nfs/rpcmisc.c: Restore the change made on 2001-03-10.
470 * support/nfs/rpcmisc.c: Likewise.
471 * utils/rquotad/rquota_svc.c: Likewise.
472 * utils/rquotad/rquotad.man: Likewise.
473 * utils/statd/Makefile: Likewise.
474 * utils/statd/rmtcall.c: Likewise.
475 * utils/statd/simulate.c: Likewise.
476 * utils/statd/statd.c: Likewise.
477 * utils/statd/statd.man: Likewise.
479 2001-03-11 H.J. Lu <hjl@lucon.org>
481 * configure.in (RELEASE): New. Default to 1, set by
482 --with-release=XXX. Substitute nfs-utils.spec.
483 * nfs-utils.spec.in (Release): Set to @RELEASE@.
484 * configure: Regenerated.
485 * nfs-utils.spec: Likewise.
487 2001-03-11 H.J. Lu <hjl@lucon.org>
489 * utils/rquotad/rquotad.man: Fix a typo.
491 2001-03-11 H.J. Lu <hjl@lucon.org>
493 * support/include/rpcmisc.h: Undo the change made on 2001-03-10.
494 * support/nfs/rpcmisc.c: Likewise.
495 * utils/rquotad/rquota_svc.c: Likewise.
496 * utils/rquotad/rquotad.man: Likewise.
497 * utils/statd/Makefile: Likewise.
498 * utils/statd/rmtcall.c: Likewise.
499 * utils/statd/simulate.c: Likewise.
500 * utils/statd/statd.c: Likewise.
501 * utils/statd/statd.man: Likewise.
503 2001-03-10 H.J. Lu <hjl@lucon.org>
505 * configure.in (VERSION): Set to "0.3.2".
506 * configure: Regenerated.
507 * nfs-utils.spec: Likewise.
509 * README: Updated for 0.3.2.
511 2001-03-10 Tavis Barr <tavis@boole.isetr.columbia.edu>
513 * utils/rquotad/rquotad.man: Updated for -p.
514 * utils/statd/statd.man: Likewise.
516 2001-03-10 Ion Badulescu <ionut@cs.columbia.edu>
518 * support/nfs/rpcmisc.c: export makesock()
520 * support/include/rpcmisc.h (makesock): Declared.
522 * utils/rquotad/rquota_svc.c: added longopts, added support for
523 specifying the port to bind to on the command line.
525 * utils/statd/statd.c: ditto, also specify port used for
526 outgoing connections.
527 (do_regist): Removed.
529 * utils/statd/rmtcall.c (statd_get_socket): Renamed from
530 get_socket. Make it extern.
532 * utils/statd/simulate.c (daemon_simulator): Call rpc_init
533 instead of do_regist.
535 * utils/statd/Makefile (LIBS): link with our own libnfs
537 2001-03-09 H.J. Lu <hjl@lucon.org>
539 * etc/redhat/nfslock.init: Changed chkconfig line to 60 86.
540 * etc/nodist/nfs-client: Likewise.
542 2001-02-26 Chip Salzenberg <chip@valinux.com>
544 * debian/changelog: Version 0.3.1-1.
545 * Mention upstream source and license in copyright file.
546 * Add build-Depends for debhelper and libwrap0-dev.
548 2001-02-20 Lon Hohberger <hohberger@missioncriticallinux.com>
550 * etc/nodist/nfs-server: Changed chkconfig line to 60 20
551 * etc/nodist/nfs-client: Likewise.
553 2001-02-18 Lon Hohberger <hohberger@missioncriticallinux.com>
555 * utils/statd/statd.man: Changed /usr/sbin/rpc.statd to
558 2001-02-17 Patrick J. LoPresti <patl@curl.com>
560 * utils/statd/log.c (log_init): Use LOG_DAEMON instead of
563 2001-02-14 H.J. Lu <hjl@lucon.org>
565 * utils/statd/rmtcall.c: Include <time.h>.
566 * utils/statd/svc_run.c: Likewise.
568 2001-02-14 H.J. Lu <hjl@lucon.org>
570 * configure.in (VERSION): Set to "0.3.1".
571 * configure: Regenerated.
572 * nfs-utils.spec: Likewise.
574 * README: Updated for 0.3.1.
576 2001-02-14 H.J. Lu <hjl@lucon.org>
578 * support/nfs/rpcmisc.c: Include <time.h>.
580 2001-02-14 Chip Salzenberg <chip@valinux.com>
582 * debian/control: Change priority of nhfsstone package to 'extra'.
584 2001-02-12 Chip Salzenberg <chip@valinux.com>
586 * debian/changelog: Version 0.3-2.
588 2001-02-02 H.J. Lu <hjl@lucon.org>
590 * support/include/rpcmisc.h (rpc_init): Remove bufsize.
592 * support/nfs/rpcmisc.c (makesock): Remove socksz and comment
593 out SO_SNDBUF/SO_RCVBUF.
594 (rpc_init): Remove bufsize and remove socksz in calls to
597 * utils/mountd/mountd.c (main): Remove bufsize in calls to
600 2001-01-28 Chip Salzenberg <chip@valinux.com>
602 * debian/changelog: Version 0.3-1.
604 2001-01-25 H.J. Lu <hjl@lucon.org>
606 * configure.in (VERSION): Set to "0.3".
607 * configure: Regenerated.
608 * nfs-utils.spec: Likewise.
610 * README: Updated for 0.3.
612 2001-01-25 H.J. Lu <hjl@lucon.org>
614 * utils/lockd/lockd.c (main): Ignore errno == EINVAL.
616 2001-01-20 Chip Salzenberg <chip@valinux.com>
618 * support/include/xio.h (xgetc): Declare to return int.
619 * support/nfs/xio.c (xgetc): Return int.
620 (xgettok, xskip, xskipcomment): Use int for value of xgetc.
621 * utils/statd/statd.c (main): Use int for value of getopt.
622 * debian/changelog: Version 0.2.1-5.
624 2000-12-10 Chip Salzenberg <chip@valinux.com>
626 * utils/statd/monitor.c (sm_mon_1_svc): Fix buggy check for
627 program and procedure numbers of kernel lockd's callback. Also,
628 besides the old (and broken) procedure #24, allow #16 per Trond.
630 2000-12-03 Chip Salzenberg <chip@valinux.com>
632 * support/nfs/xio.c (xfopen): Initialize x_line to one, not zero.
633 * debian/control: Let nhfsstone replace files in nfs-kernel-server.
634 * debian/changelog: Version 0.2.1-4.
636 2000-11-27 Tobias Ringstrom <tori@tellus.mine.nu>
638 * utils/mountd/auth.c (auth_authenticate): Log the bad path
641 2000-11-24 Neil Brown <neilb@cse.unsw.edu.au>
643 * support/nfs/exports.c (getexportent): Check for host name
644 without option, or options without hostname, and print a warning,
645 as this is most likely a typo.
647 2000-11-19 Chip Salzenberg <chip@valinux.com>
649 * debian/control: Add dependency on portmap.
650 * debian/changelog: Version 0.2.1-3.
652 2000-11-10 H.J. Lu <hjl@lucon.org>
654 * nfs-utils.spec.in: Don't use libtool.
655 Add ChangeLog and COPYING to doc.
656 * nfs-utils.spec: Rebuild.
658 2000-11-09 H.J. Lu <hjl@lucon.org>
660 * etc/redhat/nfs.init (start): Back out the last change.
662 2000-11-09 H.J. Lu <hjl@lucon.org>
664 * etc/redhat/nfs.init (start): Pass --no-tcp to mountd if
665 TCP is not supported by kernel.
667 * support/nfs/rpcmisc.c (rpc_init): Don't set _rpcfdtype to 0.
669 * utils/mountd/mountd.c (longopts): Add "-n/--no-tcp".
670 (main): Set to _rpcfdtype to SOCK_DGRAM for "-n/--no-tcp".
672 * utils/mountd/mountd.man: Updated for "-n/--no-tcp".
674 2000-10-24 Lon Hohberger <hohberger@missioncriticallinux.com>
676 * utils/statd/callback.c: Fix bug preventing callbacks to local lockd.
677 * utils/statd/rmtcall.c: Add some IP address paranoia when doing
678 callbacks to local lockd.
680 2000-10-18 Scott McDermott <mcdermot@questra.com>
682 * utils/exportfs/exports.man: Updated for CIDR netmask.
684 2000-10-17 Scott McDermott <mcdermot@questra.com>
686 * support/export/client.c (client_init): Support CIDR netmask
689 2000-10-11 H.J. Lu <hjl@lucon.org>
691 * aclocal.m4 (AC_TCP_WRAPPER): Fix a typo.
692 * configure: Rebuilt.
694 2000-10-06 Lon Hohberger <hohberger@missioncriticallinux.com>
696 * utils/statd/statd.man: Change "/var/lib/nfs/sm/state" to
697 "/var/lib/nfs/state".
699 2000-10-05 Lon Hohberger <hohberger@missioncriticallinux.com>
701 * utils/statd/statd.h (run_mode): New global bitmask of runtime
702 behaviors: fg/bg, logging, etc.
703 * utils/statd/statd.c: New command line options: -V -h -? -d .
704 * utils/statd/statd.man: Update for changes to statd.
706 * utils/statd/log.h (log_init): Remove parameter of function; use
707 global variable "name_p" instead.
708 * utils/statd/log.c: Add support for logging to stderr.
710 * utils/statd/notlist.c: Partially rewrite notify list handling
711 functions. Eliminate run-off-end-of-list bug when calling
712 nlist_insert_timer. Add lots of comments.
714 2000-09-27 H.J. Lu <hjl@lucon.org>
716 * README: Updated for RedHat 7.0.
718 2000-09-27 H.J. Lu <hjl@lucon.org>
720 * nfs-utils.spec: Rebuild.
722 2000-09-27 H.J. Lu <hjl@lucon.org>
724 * README: Updated for 0.2.1.
726 2000-09-27 H.J. Lu <hjl@lucon.org>
728 * nfs-utils.spec.in: Updated to use rpm macros and support
731 2000-09-25 H.J. Lu <hjl@lucon.org>
733 * configure.in (VERSION): Set to "0.2.1".
734 * configure: Regenerated.
735 * nfs-utils.spec: Updated.
737 2000-09-25 H.J. Lu <hjl@lucon.org>
739 * utils/mountd/auth.c (auth_authenticate_internal): Make sure a
740 non-NULL hostent is always returned.
742 2000-09-11 Ion Badulescu <ionut@cs.columbia.edu>
744 * etc/redhat/nfslock.init: don't kill lockd processes that do not
745 have an executable (i.e. kernel threads)
747 2000-09-01 H.J. Lu <hjl@lucon.org>
749 * README: Updated for 0.2.
751 2000-09-01 Jay Weber <jweber@valinux.com>
753 * etc/redhat/nfs.init: Added ability for rpc.mountd to default to
754 supporting version 3 of nfs if available, else it will fall back to
755 version 2 support only.
757 2000-08-30 H.J. Lu <hjl@lucon.org>
759 * configure.in (VERSION): Set to "0.2".
760 * configure: Regenerated.
761 * nfs-utils.spec: Updated.
763 2000-08-25 H.J. Lu <hjl@lucon.org>
765 * support/misc/tcpwrapper.c (logit): Modify the log output.
767 2000-08-25 Ion Badulescu <ionut@cs.columbia.edu>
769 * utils/rquotad/rquotad.man, utils/statd/statd.man,
770 utils/mountd/mountd.man: updated
772 * utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL)
773 * utils/rquotad/Makefile: fix comment
775 * support/misc/tcpwrapper.c (logit): added comment about waiting
776 for the children after fork()
778 * utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving
779 zombies behind (from logit()'s fork)
780 * utils/rquotad/rquota_svc.c (main): ditto
781 * utils/statd/statd.c (main): ditto
783 * utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG
784 to check_default instead of 0, for prognum
786 * utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG
787 to check_default instead of 0, for prognum
789 * utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if
790 HAVE_TCP_WRAPPER is defined.
791 (mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is
792 defined. Reject an RPC call if check_default () fails.
794 2000-08-25 H.J. Lu <hjl@lucon.org>
796 * support/include/tcpwrapper.h: New for the tcp wrapper
798 * support/misc/Makefile: Likewise.
799 * support/misc/from_local.c: Likewise.
800 * support/misc/tcpwrapper.c: Likewise.
802 * aclocal.m4 (AC_TCP_WRAPPER): New.
803 * configure.in: Use it. Substitute LIBWRAP.
804 * configure: Rebuilt.
806 * config.mk.in (LIBNSL): New.
809 * support/Makefile (SUBDIRS): Add misc.
811 * support/lib/Makefile (LIBS): Add libmisc.a.
813 * utils/rquotad/Makefile (LIBS): Add
815 -lmisc $(LIBWRAP) $(LIBNSL)
817 * utils/statd/Makefile (LIBS): Likewise.
819 * utils/rquotad/rquota_svc.c: Include "tcpwrapper.h" if
820 HAVE_TCP_WRAPPER is defined.
821 (rquotaprog_1): Call check_default () if HAVE_TCP_WRAPPER is
822 defined. Reject an RPC call if check_default () fails.
824 * utils/statd/statd.c: Include "tcpwrapper.h" if
825 HAVE_TCP_WRAPPER is defined.
826 (sm_prog_1_wrapper): New. A wrapper for sm_prog_1. Call
827 check_default () before calling sm_prog_1 (). Define it as
828 sm_prog_1_wrapper if HAVE_TCP_WRAPPER is defined.
830 2000-08-25 Chip Salzenberg <chip@valinux.com>
832 * debian/*: Complete Debian build support.
833 * etc/debian/*: Remove.
835 2000-08-24 Neil Brown <neilb@cse.unsw.edu.au>
837 * support/export/client.c(client_check): removed the "dot+1" as a
838 ypdomain argument to innetgr as this is entirely bogus.
839 It should always be NULL.
841 2000-08-23 Neil Brown <neilb@cse.unsw.edu.au>
843 * support/export/xtab.c(xtab_read): introduce new mode for
844 reading xtab. i.e. a list of exports that might be known to the
845 kernel, or might not. These are flagged as m_exported == -1
846 * support/export/xtab.c(xtab_mount_read): call xtab_read with new
847 value "2" for xtab, meaning don't trust this too much.
848 * support/include/exportfs.h(struct mexport): changed m_exported
849 from one bit to an int so that it can hold new value
850 * utils/exportfs/exportfs.c(exportfs_ipdate): add an export to the
851 kernel if it is uncertain whether the kernel knows (m_exported == -1)
852 * utils/mountd/mountd.c(get_rootfh): similarly export to kernel if
855 * support/nfs/xio.c(xflock): added O_CREAT when getting
856 a write lock so that missing files aren't fatal.
858 * etc/debian/nfs-common: new file from "potato"
859 * etc/debian/nfs-kernel-server: new file from "potato" plus fixes.
861 2000-08-09 H.J. Lu <hjl@lucon.org>
863 * etc/redhat/nfs.init: Run /usr/sbin/exportfs first during
864 startup to ensure all existing clients work fine.
866 * support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0
867 to xtab_read () for reading _PATH_XTAB.
869 2000-08-02 H.J. Lu <hjl@lucon.org>
871 * utils/mountd/auth.c (auth_authenticate_internal): Try to
872 avoid the reverse name lookup.
874 2000-07-04 H.J. Lu <hjl@lucon.org>
876 * utils/statd/log.c: Include <stdlib.h> for exit ().
878 * utils/statd/misc.c (xunlink): Add `{' and `}' to quiet the
881 2000-07-04 H.J. Lu <hjl@lucon.org>
883 * configure.in (VERSION): Set to "0.1.9.1".
884 * configure: Regenerated.
885 * nfs-utils.spec: Updated.
889 2000-07-04 Neil Brown <neilb@cse.unsw.edu.au>
891 * support/export/hostname.c (hostent_dup): Handle the NULL
894 2000-07-03 H.J. Lu <hjl@lucon.org>
896 * README: Update the util-linux requirement.
898 2000-07-03 H.J. Lu <hjl@lucon.org>
900 * configure.in (VERSION): Set to "0.1.9".
901 * configure: Regenerated.
902 * nfs-utils.spec: Updated.
906 2000-07-03 H.J. Lu <hjl@lucon.org>
908 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
909 stop to ensure all clients can still access the server
910 before it is shutdown.
912 2000-06-30 Jeff Uphoff <juphoff@transmeta.com>
914 * tools/rpcgen/rpc_svcout.c (write_msg_out): Generate syslog()
915 calls with format string.
917 2000-06-28 Chip Salzenberg <chip@valinux.com>
919 * utils/statd/log.c (log): Call syslog with format string.
921 2000-06-27 H.J. Lu <hjl@lucon.org>
923 * utils/statd/statd.c (main): Use sysconf (_SC_OPEN_MAX)
926 2000-06-27 H.J. Lu <hjl@lucon.org>
930 2000-06-27 H.J. Lu <hjl@lucon.org>
932 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
933 startup to ensure all existing clients are exported.
935 * configure.in (VERSION): Set to "0.1.8.2".
936 * configure: Regenerated.
937 * nfs-utils.spec: Updated.
939 2000-06-06 H.J. Lu <hjl@lucon.org>
941 * configure.in (VERSION): Set to "0.1.8.1".
942 * configure: Regenerated.
943 * nfs-utils.spec: Updated.
945 2000-06-06 H.J. Lu <hjl@lucon.org>
947 * utils/mountd/mountd.c (mount_dump_1_svc): Cast svc_getcaller
948 to "struct sockaddr_in *" for glibc 2.2.
949 (mount_umnt_1_svc): Likewise.
950 (mount_umntall_1_svc): Likewise.
951 (mount_export_1_svc): Likewise.
952 (mount_exportall_1_svc): Likewise.
953 (mount_pathconf_2_svc): Likewise.
954 (get_rootfh): Likewise.
956 2000-06-04 H.J. Lu <hjl@lucon.org>
958 * etc/redhat/nfs.init: Fix a typo in comment.
960 2000-05-31 H.J. Lu <hjl@lucon.org>
962 * configure.in (VERSION): Set to "0.1.8".
963 * configure: Regenerated.
964 * nfs-utils.spec: Updated.
968 2000-05-31 H.J. Lu <hjl@lucon.org>
970 * configure.in (VERSION): Set to "0.1.7.5".
971 * configure: Regenerated.
972 * nfs-utils.spec: Updated.
974 * support/include/nfslib.h (exportent): Add a new field,
975 r_count, to count the number of mounts from a client.
976 (getrmtabent): Take a new argument for position in file.
977 (putrmtabent): Likewise.
978 (fgetrmtabent): Likewise.
979 (fputrmtabent): Likewise.
980 * support/nfs/rmtab.c (getrmtabent): Handle the new argument
981 for position in file.
982 (fgetrmtabent): Likewise.
983 (putrmtabent): Likewise.
984 (fputrmtabent): Likewise.
986 * support/nfs/rmtab.c (fgetrmtabent): Get value for the new
989 * support/export/rmtab.c (rmtab_read): Pass NULL as the new
990 argument to getrmtabent (), fgetrmtabent (), putrmtabent ()
992 * utils/mountd/rmtab.c (mountlist_add): Likewise.
993 (mountlist_del): Likewise.
994 (mountlist_del_all): Likewise.
995 (mountlist_list): Likewise.
997 * utils/mountd/rmtab.c (mountlist_add): Increment "r_count"
998 for the existing entry and initialize "r_count" to 1.
999 (mountlist_del): Decrement "r_count".
1001 2000-05-18 H.J. Lu <hjl@lucon.org>
1003 * configure.in (VERSION): Set to "0.1.7.4".
1004 * configure: Regenerated.
1005 * nfs-utils.spec: Updated.
1007 2000-05-18 H.J. Lu <hjl@lucon.org>
1009 * etc/redhat/nfs.init (restart): Just do stop and start.
1011 2000-05-09 Jay Weber <jweber@valinux.com>
1013 * utils/rquotad/hasquota.c: added support for ext3 recognition
1015 * utils/rquotad/mntent.h: Likewise.
1017 2000-05-01 H.J. Lu <hjl@lucon.org>
1019 * configure.in (VERSION): Set to "0.1.7.3".
1020 * configure: Regenerated.
1021 * nfs-utils.spec: Updated.
1023 2000-05-01 H.J. Lu <hjl@lucon.org>
1025 * utils/rquotad/rquota_server.c (getquotainfo): Skip bad
1026 mounting poins in /etc/fstab.
1028 2000-05-01 H.J. Lu <hjl@lucon.org>
1030 * configure.in (VERSION): Set to "0.1.7.2".
1031 * configure: Regenerated.
1032 * nfs-utils.spec: Updated.
1034 2000-05-01 H.J. Lu <hjl@lucon.org>
1036 * utils/rquotad/rquota_server.c (getquotainfo): Call stat ()
1037 to check for the mounting point.
1039 2000-04-29 Chip Salzenberg <chip@valinux.com>
1040 Neil Brown <neilb@cse.unsw.edu.au>
1042 * Really re-use RPC ports.
1043 (Fixes earlier patch. Sorry, Neil.)
1045 2000-04-26 H.J. Lu <hjl@lucon.org>
1047 * configure.in (VERSION): Set to "0.1.7.1".
1048 * configure: Regenerated.
1049 * nfs-utils.spec: Updated.
1051 2000-04-26 H.J. Lu <hjl@lucon.org>
1053 * etc/redhat/nfslock.init: Check if lockd exits before killing
1056 2000-04-25 H.J. Lu <hjl@lucon.org>
1058 * README: Require util-linux-2.10f-mount-rpc.patch for mount.
1060 2000-03-21 Michael Weiser <michael@weiser.saale-net.de>
1062 * support/nfs/exports.c (parsesquash): Correctly set the
1065 Tue Mar 21 11:38:48 EST 2000 NeilBrown <neilb@cse.unsw.edu.au>
1067 * support/include/nfs/nfs.h: Removed knowledge of internals of
1068 kernel filehandles (which can change) and defined nfs_fh_size
1069 which has variable size
1071 * support/nfs/getfh.c: defined getfh_size to use new syscall to
1072 get variable sized file handles, and change getfh{,old} to
1075 * utils/mountd/mountd.c: use nfd_fh_size and call getfh_size for
1078 * tools/Makefile, tools/nlmtest/nlmtest.c
1079 nlmtest.c depended on internel format of file handles, so now
1083 2000-03-12 Chip Salzenberg <chip@valinux.com>
1084 Neil Brown <neilb@cse.unsw.edu.au>
1086 * support/nfs/rpcmisc.c (rpc_init): Share transports.
1088 2000-03-13 H.J. Lu <hjl@lucon.org>
1090 * etc/redhat/nfsd.init: Updated.
1092 * etc/redhat/nfslock.init: Updated.
1094 * nfs-utils.spec.in: Updated.
1096 * configure.in (VERSION): Set to "0.1.7".
1097 * configure: Regenerated.
1098 * nfs-utils.spec: Updated.
1102 Wed Mar 8 09:42:43 2000 Neil Brown <neilb@cse.unsw.edu.au>
1104 * utils/exportfs/exportfs.c (dump): Included printing of
1105 nohide, no_subtree_check, and insecure_locks
1107 2000-02-26 Chip Salzenberg <chip@valinux.com>
1109 * config.mk.in (INSTALLSUID): Strip ("-s").
1110 (INSTALLSCRIPT): Define.
1111 * utils/nhfsstone/Makefile: Use it.
1113 2000-02-26 Chip Salzenberg <chip@valinux.com>
1115 * utils/lockd/lockd.man: Create.
1116 * utils/lockd/Makefile: Install it.
1117 * utils/nhfsstone/nhfs{run,nums,graph}.man: Create.
1118 * utils/nhfsstone/nhfsstone.man: Change suffix from ".1".
1119 * utils/nhfsstone/Makefile: Install the helper scripts and
1121 * utils/exportfs/exports.man: Fix typo.
1123 2000-02-26 Chip Salzenberg <chip@valinux.com>
1125 * support/nfs/xio.c (xungetc): Decrement line number when
1126 character to unget is newline. Make first parameter int, so
1127 it can distinguish EOF from \377.
1128 * support/include/xio.h (xungetc): Adjust prototype.
1130 Fri Feb 4 23:42:23 2000 Neil Brown <neilb@cse.unsw.edu.au>
1132 * support/include/nfs/export.h: added NFSEXP_NOAUTHNLM
1133 * support/nfs/exports.c: added handling for NFSEXP_NOAUTHNLM
1134 * utils/exportfs/exports.man: added documentation for no_auth_nlm.
1136 This is for supporting a new option introduced in 2.3.42
1138 Thu Feb 3 14:55:48 2000 H.J. Lu <hjl@lucon.org>
1140 * COPYING: Added. GPL.
1142 Thu Feb 03 14:40:40 2000 Cristian Gafton <gafton@redhat.com>
1144 * utils/rquotad/rquota_server.c (getquotainfo): Call statfs ()
1145 to get the block size.
1147 Tue Jan 25 11:04:17 2000 H.J. Lu <hjl@lucon.org>
1149 * nfs-utils.spec.in: Update ftp site.
1151 Mon Jan 17 11:48:18 2000 H.J. Lu <hjl@lucon.org>
1153 * README: Update hostnames.
1155 Tue Jan 11 10:06:22 2000 H.J. Lu <hjl@lucon.org>
1157 * configure.in (VERSION): Set to "0.1.6".
1158 * configure: Regenerated.
1159 * nfs-utils.spec: Updated.
1163 Mon Jan 10 14:26:33 2000 H.J. Lu <hjl@lucon.org>
1165 * utils/mountd/auth.c (auth_authenticate_internal): Call
1166 xstrdup for hostname before passing it to gethostbyname.
1168 * utils/mountd/mountd.c (get_exportlist): Use xstrdup instead
1171 Sun Dec 19 09:35:01 1999 H.J. Lu <hjl@lucon.org>
1173 * README: Update the mailing list address.
1175 Sun Dec 19 09:22:28 1999 H.J. Lu <hjl@lucon.org>
1177 * configure.in (VERSION): Set to "0.1.5".
1178 * configure: Regenerated.
1179 * nfs-utils.spec: Updated.
1183 Mon Dec 13 13:40:20 1999 H.J. Lu <hjl@lucon.org>
1185 * utils/rquotad/hasquota.c (hasquota): Malloc one more char
1188 Mon Dec 6 09:42:45 1999 H.J. Lu <hjl@lucon.org>
1190 * configure.in (VERSION): Set to "0.1.4".
1191 * configure: Regenerated.
1192 * nfs-utils.spec: Updated.
1196 Mon Dec 6 09:28:07 1999 H.J. Lu <hjl@lucon.org>
1198 * nfs-utils.spec.in: New file.
1200 * config.mk.in (VERSION): Changed to "nfs-utils @VERSION@".
1202 * configure.in (nfs-utils.spec): Added to AC_OUTPUT.
1204 1999-12-04 Chip Salzenberg <chip@valinux.com>
1206 * config.mk.in: Use $(CC) as set by configure.
1208 1999-12-04 Chip Salzenberg <chip@valinux.com>
1210 * rules.mk: Call $(MAKE) with $(MFLAGS).
1212 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1214 * tools/rpcgen/rpc_main.c (h_output): Generate IXDR_GET_INT32,
1215 IXDR_PUT_INT32, IXDR_GET_U_INT32 and IXDR_PUT_U_INT32.
1217 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1219 * nfs-utils.spec (Version): Set to 0.1.3.
1221 * configure.in (VERSION): Set to "nfs-utils 0.1.3".
1222 * configure: Regenerated.
1226 Mon Nov 29 11:15:47 1999 H.J. Lu <hjl@lucon.org>
1228 * utils/rquotad/rquota_server.c (nfsmount_to_devname): Removed.
1229 (_PATH_DEV_DSK): Likewise.
1230 (getquotainfo): Match the mounting point from /etc/mtab
1231 instead of calling nfsmount_to_devname ().
1233 1999-11-24 Chip Salzenberg <chip@valinux.com>
1235 * utils/statd/monitor.c (sm_mon_1_svc): Accept lockd callbacks
1236 to the new port 24 as well as the historical port 100021.
1238 Tue Nov 23 10:21:34 1999 Neil Brown <neilb@cse.unsw.edu.au>
1240 * etc/redhat/nfsd.init (stop): moved exportfs -ua after
1241 stopping nfsd to stop spurious ESTALE on server shutdown.
1243 Tue Nov 23 10:13:39 1999 Neil Brown <neilb@cse.unsw.edu.au>
1245 * support/nfs/exports.c (parseopts): make copy of opt string
1246 before 'nul'ing out commas so that
1248 # exportfs -o option1,option2 hosta:/fs hostb:/fs
1250 applies both options to both exports.
1252 Thu Oct 28 12:55:42 1999 H.J. Lu <hjl@lucon.org>
1254 * README: Fix a few typos.
1256 * tools/rpcgen/rpc_cout.c (print_header): Use int32_t instead
1258 * tools/rpcgen/rpc_hout.c (pdefine): Likewise.
1259 * tools/rpcgen/rpc_main.c (c_initialize): Likewise.
1260 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1261 (unsigned_dec): Likewise.
1262 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1263 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1265 * tools/rpcgen/rpc_cout.c (emit_single_in_line): Use INT32
1267 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1268 (unsigned_dec): Likewise.
1269 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1270 * tools/rpcgen/rpc_scan.h (tok_kind): Likewise.
1271 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1273 Thu Oct 28 11:27:51 1999 Neil Brown <neilb@cse.unsw.edu.au>
1275 * support/include/nfs/export.h addedd NFSEXP_NOSUBTREECHECK
1276 * support/nfs/exports.c: added {no_,}subtree_check and changed
1278 * utils/exportfs/exports.man: added no_subtree_check and nohide
1279 and removed irrelevant stuff from unfsd.
1280 * support/export/rmtab.c: rmtab_read didn't quite do the right
1281 thing if a pathname from rmtab was a subdirectory of an export-point
1283 Tue Oct 26 17:22:40 1999 H.J. Lu <hjl@lucon.org>
1285 * README: Updated ftp site.
1287 Mon Oct 25 18:12:45 1999 H.J. Lu <hjl@lucon.org>
1289 * nfs-utils.spec (Version): Set to 0.1.2.
1291 * configure.in (VERSION): Set to "nfs-utils 0.1.2".
1292 * configure: Regenerated.
1296 Mon Oct 25 18:11:21 1999 H.J. Lu <hjl@lucon.org>
1298 * utils/mountd/auth.c (auth_error): Add "no_forward_dns".
1299 (auth_authenticate_internal): Check for NULL return on forward
1301 (auth_authenticate): Handle "no_forward_dns".
1303 Thu Oct 21 16:22:06 1999 H.J. Lu <hjl@lucon.org>
1305 * Version 0.1.1 released.
1307 * nfs-utils.spec (Version): Set to 0.1.1.
1309 * configure.in (VERSION): Set to "nfs-utils 0.1.1".
1310 * configure: Regenerated.
1314 Mon Oct 18 17:43:29 1999 H.J. Lu <hjl@lucon.org>
1316 * nfs-utils.spec (Obsoletes): Fixed a typo, change knfsd-client
1318 (Provides): Likewise.
1320 Mon Oct 18 14:56:22 1999 H.J. Lu <hjl@lucon.org>
1322 * Initial version 0.1 released.
1324 * configure.in (VERSION): Set to "nfs-utils 0.1".
1325 * configure: Regenerated.
1327 Mon Oct 18 14:54:57 1999 H.J. Lu <hjl@lucon.org>
1329 * utils/mountd/mountd.c (get_exportlist): Cleanup.
1331 * utils/exportfs/exportfs.c (unexport_all): Unexport from
1332 kernel only if the entry is exported to kernel.
1333 (unexportfs): Likewise.
1335 Wed Sep 08 16:49:32 1999 Neil Brown <neilb@cse.unsw.edu.au>
1337 1/ utils/mountd/rmtab.c::mountlist_list
1339 This routine stats the rmtab file to see if it has changed. It
1340 if has, it cleans up it's old copy of the data. But it still
1341 always re-read the file, thus returning multiple copies of the
1342 data on consecutive calls without intervening changes.
1343 "Showmount -a" didn't show this as it appears to sort/unique the
1344 data, but 'strace showmount -a' showed that the size of the
1345 datagram that it received grew.
1347 I moved the getrmtabent loop inside the mtime test.
1349 2/ utils/exportfs/exportfs.c
1351 Many routines used the m_path field of m_export instead of
1353 According to the comment in nfslib.h, m_path should only
1354 be used when processing a mount request (i.e. in mountd)
1355 where the mountpoint may be a subdirectory of the export point.
1357 I changed all occurances of m_path to e_path
1360 3/ utils/exportfs/exportfs.c:main
1362 extra arguments are not meaningful with -a or -r, but
1363 exportfs accepted them and then ignored the -a/-r, expect that
1364 -r would still unexport everything first.
1366 I generate an error if there are extra args and f_all
1368 4/ utils/exportfs/exportfs.c:main
1369 extract dump out as a special case.
1371 5/ utils/exportfs/exportfs.c
1372 made f_reexport a local variable.
1375 6/ utils/exportfs/exportfs.c:main,exportall
1377 support/export/rmtab.c
1378 only mayexport on newly created entries, don't set xtabent at all
1380 7/ support/include/nfslib.h
1382 add #define _PATH_PROC_EXPORTS to be /proc/fs/nds/exports
1384 8/ support/export/xtab.c
1386 xtab_mount_read loads data from _PATH_PROC_EXPORTS if it exists,
1390 9/ support/export/xtab.c
1392 xtab_mount_read now sets m_exported, and NOT
1393 xtabent and mayexport
1395 removed the append arguement from xtab_write as it was
1398 added is_export flag to xtab_write similar to xtab_read
1399 if is_export, only write entries with m_xtabent or m_addxtab
1400 if !is_export, only write entries with m_exported
1402 10/ support/export/export.c::export_allowed_internal
1404 added test for exp->m_mayexport, as the export tree
1405 may have entries that are no longer allowed to be exported,
1406 and so shouldn't caused deduced exported by rmtab_read
1408 11/ utils/exportfs/exportfs.c::main
1409 error checking of flags.
1411 12/ utils/exportfs/exportfs.c
1413 total rewrite of export and unexport logic.
1415 - build an exportslist of valid exports, based on
1416 current etab file and arguments,
1417 - read rmtab to instantiate relevant wild card entries
1418 - read etab to find out what is currently exported
1419 - synchronise intention with reality
1420 - write out etab and xtab
1423 discard the m_addxtab flag
1424 add m_changed flag so we know what to report in exportfs
1426 14/ utils/mountd/auth.c:auth_authenticate
1428 the value returned by gethostbyaddr was trusted.
1430 It now follows this with a call to gethostbyname
1431 and checks that the address is in the list.
1433 15/ support/export/nfsctl.c::cltsetup,expsetup
1435 force client names to lowercase as kernel is
1438 16/ quietened a few compiler warnings
1440 17/ support/export/client:client_lookup
1442 look for pre-existing client with same name before creating
1445 18/ support/include/exportfs.h
1447 The ordering of the MCL_* enum was:
1448 ANONYMOUS, FQDN, SUBNETWORK, WILDCARD, NETGROUP
1450 I moved ANONYMOUS to the end.
1452 The ordering is significant when an export entry is being searched for to
1453 match a given address. There are two problems with ANONYMOUS being first.
1455 1/ if a directory is exported rw to a couple of hosts and ro to everyone else,
1456 then the ro case will always be found first and the privileged hosts won't get
1458 2/ When mountd gets a request to mount an ANONYMOUSly exported tree, it creates a FQDN
1459 export entry for the specific host, and writes it to xtab.
1460 When another request comes from the same host, the ANONYMOUS entry is found again,
1461 before the new FQDN entry, so it creates another FQDN entry and writes it to xtab
1462 again. If causes bloat in xtab.
1464 Putting ANONYMOUS at the end reflects it's nature as a catch-all
1466 19/ utils/exportfs/exportfs.man
1467 many updates to the man page to reflect changes to the code
1469 -----------------------
1475 - allow exportfs to modify rmtab file
1476 - make sure kernel never gets two clients with same IP address
1477 - possible kernel should reject
1478 - needs to be some way to lookup client in kernel by IP address
1479 - maybe get kernel to do case-insensitive comparisons on client names
1480 - remove unused clients from kernel
1482 - change etab to xtab and xtab to xtab.active
1484 - timestamp and/or statd-stamp in rmtab for removing old entries.
1486 Mon Oct 18 11:48:07 1999 H.J. Lu <hjl@lucon.org>
1488 * linux-nfs: New directory.
1489 * linux-nfs/ChangeLog: Moved from ..
1490 * linux-nfs/INSTALL: Likewise.
1491 * linux-nfs/KNOWNBUGS: Likewise.
1492 * linux-nfs/NEW: Likewise.
1493 * linux-nfs/README: Likewise.
1494 * linux-nfs/THANKS: Likewise.
1495 * linux-nfs/TODO: Likewise.
1497 * Starting from knfsd 1.4.7.