1 2002-10-11 Juan Gomez <gomez@cs.sjsu.edu>
2 NeilBrown <neilb@cse.unsw.edu.au>
4 utils/statd/statd.c(killer): don't pmap_unset if in notify_only mode
5 utils/statd/statd.c(main): don't pmap_unset if in notify_only mode
7 2002-09-16 Chip Salzenberg <chip@pobox.com>
9 * utils/rquotad/rquota_svc.c (main): Use int for value of getopt.
11 2002-09-15 Chip Salzenberg <chip@pobox.com>
13 * support/nfs/rpcmisc.c (rpc_init): Allow stdin to be a non-INET
14 socket, as occurs when run from sshd.
15 * debian/changelog: Version 1.0.2-1.
17 2002-09-12 H.J. Lu <hjl@lucon.org>
19 * support/nfs/svc_socket.c: Remove HAVE_SVCTCP_SOCKET and
22 2002-09-12 H.J. Lu <hjl@lucon.org>
24 * configure.in: Remove checking svctcp_socket and svcudp_socket.
25 * configure: Regenerated.
27 * support/include/config.h.in (HAVE_SVCTCP_SOCKET): Removed.
28 (HAVE_SVCUDP_SOCKET): Removed.
30 * support/include/nfslib.h: Undo the last change.
32 2002-09-12 H.J. Lu <hjl@lucon.org>
34 * support/include/nfslib.h (svctcp_socket): Protect it with
36 (svcudp_socket): Protect it with HAVE_SVCUDP_SOCKET.
38 2002-09-12 H.J. Lu <hjl@lucon.org>
40 * configure.in (VERSION): Set to "1.0.2".
41 * configure: Regenerated.
42 * nfs-utils.spec: Likewise.
44 2002-09-12 H.J. Lu <hjl@lucon.org>
46 * configure.in: Check svctcp_socket and svcudp_socket.
47 * configure: Regenerated.
49 * support/include/config.h.in (HAVE_SVCTCP_SOCKET): New.
50 (HAVE_SVCUDP_SOCKET): New.
52 * support/include/nfslib.h (svctcp_socket): New.
55 * support/nfs/Makefile (OBJS): Add svc_socket.o.
57 * support/nfs/svc_socket.c: New.
59 * support/nfs/rpcmisc.c (rpc_init): Call svctcp_socket and
60 svcudp_socket if port is unspecified.
62 * utils/nfsd/nfsd.c (main): Call getservbyname for port.
64 * utils/rquotad/rquota_svc.c: Include <nfslib.h>.
65 (killer): New. Signal handler to unregister.
66 (main): Use killer. Call svcudp_socket to get the default
69 2002-09-02 Juan Gomez <juang@us.ibm.com>
70 NeilBrown <neilb@cse.unsw.edu.au>
72 Add -N option to statd to run in notify-only mode.
74 * utils/statd/statd.h: uncomment MODE_NOTIFY_ONLY
75 * utils/statd/statd.man: document -N
76 * utils/statd/statd.c: enabled -N, largely exists but needed to be
77 uncommented and completed
79 2002-09-02 Juan Gomez <juang@us.ibm.com>
80 NeilBrown <neilb@cse.unsw.edu.au>
82 statd to have " -P directory" arg to use that directory instead
83 of /var/lib/nfs. This is useful for fail-over clusters.
85 * utils/statd/statd.h: define SM_DIR etc as var, not const.
86 * utils/statd/statd.c: define "-P" option to set SM_*
88 * utils/statd/monitor.c: sprintf to cope with SM_DIR not being
90 * utils/statd/notify.c: ditto.
91 * utils/statd/statd.man: document -P option.
93 2002-08-26 Chip Salzenberg <chip@pobox.com>
95 * utils/nfsd/nfsd.man: Fix typo.
96 * debian/changelog: Version 1.0.1-1.
98 2002-05-29 NeilBrown <neilb@cse.unsw.edu.au>
100 * let parseopts know if /etc/exports was being read or not,
101 and have it only print "no sync or async" warning in that case.
103 2002-05-06 Tom McNeal <trmcneal@attbi.com>
104 NeilBrown <neilb@cse.unsw.edu.au>
106 * utils/nfsstat/nfsstat.c: Handle differing format for
107 /proc/net/rpc/nfsd between pre and post 2.4.0
109 2002-04-09 NeilBrown <neilb@cse.unsw.edu.au>
110 James Pearson <james-p@moving-picture.com>
112 * support/nfs/rmtab.c(fendrmtabent): sync changes to
113 storage before returning, as this is critical state
115 2002-04-08 Sean O'Connell <sean@ee.duke.edu>
116 H.J. Lu <hjl@lucon.org>
118 * etc/redhat/nfs: New.
120 2002-04-08 H.J. Lu <hjl@lucon.org>
122 * etc/redhat/nfs.init: Updated.
124 * nfs-utils.spec.in: Updated.
125 * nfs-utils.spec: Regenerated.
127 * utils/mountd/mountd.c (longopts): Fix a typo.
129 * utils/mountd/mountd.man: Updated.
131 2002-04-07 H.J. Lu <hjl@lucon.org>
133 * etc/redhat/nfslock.init (restart): Just do stop and start.
135 * etc/redhat/nfs.init: Fix a typo.
137 2002-04-07 H.J. Lu <hjl@lucon.org>
139 * configure.in (VERSION): Set to "1.0.1".
140 * configure: Regenerated.
141 * nfs-utils.spec: Likewise.
143 * README: Updated for 1.0.1.
145 2002-04-07 Sean O'Connell <sean@ee.duke.edu>
146 H.J. Lu <hjl@lucon.org>
148 * etc/redhat/nfs.init: Read /etc/sysconfig/nfsd for NFS tuning.
150 2002-02-28 Steven Whitehouse <steve@gw.chygwyn.com>
151 NeilBrown <neilb@cse.unsw.edu.au>
153 Add support for fsid=nn export option so that device
154 numbers don't go in filehandles.
155 * support/export/nfsctl.c(expsetup): if exporting and NFSEXP_FSID
156 is set, pass the fsid in-place of the device number
157 * support/nfs/exports.c: parse and print fsid= option.
158 Also check if efname has been set, and use "command line"
159 instead in error messages.
160 Also, use strtol instead of atoi for anon[ug]id= so that
161 bad numbers cause errors.
163 2002-01-17 Adrian Drzewiecki <drze@MissionCriticalLinux.com>
164 NeilBrown <neilb@cse.unsw.edu.au>
166 * support/nfs/exports.c: remove NFSEXP_ASYNC as a default
167 flag so that "sync" becomes the default.
168 Check that either "sync" or "async" is given as an option
169 and warn if neither are present
170 * utils/exportfs/exports.man: change documentation for "sync"
171 to be documentation for "async".
172 * utils/exportfs/exportfs.man: note that "sync" is the default
176 2002-01-02 Chip Salzenberg <chip@pobox.com>
178 * support/export/nfsctl.c (expsetup): Don't export entries that
179 specify id mappings not supported by the kernel. No extant kernel
180 supports any significant mapping, only 'identity' (i.e. none).
181 When other mappings are supported, this code will need changing.
182 * debian/changelog: Version 1.0-2.
184 2001-12-26 Chip Salzenberg <chip@pobox.com>
186 * nfs-utils.spec (Version): Set to "1.0".
187 * configure.in (VERSION): Likewise.
188 * configure: Regenerated.
190 * debian/changelog: Version 1.0-1.
192 * utils/exportfs/exports.man: Emphasize the need for options to
193 immediately follow client names. Explain that wildcards don't
194 usually work on addresses, but may work when reverse DNS fails.
195 Comment out a leftover TP that was TPing our indentation.
196 * utils/mountd/mountd.man, utils/rquotad/rquotad.man,
197 utils/statd/statd.man: Remove refs to non-existent "hosts_allow(5)".
198 * debian/changelog: Version 0.3.3-6.
200 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
202 * support/export/client.c(client_lookup): If a host has multiple
203 IP addresses, then we must always use the result of a
204 gethostbyname, not that of gethostbyaddr for exporting
206 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
208 * support/export/client.c (client_lookup): use strcasecmp when
210 * support/nfs/export.c (getexportent): add fromkernel arg and use
211 different defaults as kernels prior to 2.4.11 assume different
212 defaults in /proc/fs/nfs/exports
213 * support/include/nfslib.h, support/export/export.c,
214 support/export/xtab.c: support extra "fromkernel" arg for
217 2001-12-13 Chip Salzenberg <chip@pobox.com>
219 * debian/changelog: Version 0.3.3-5.
221 2001-11-26 TAKAI Kousuke <takai@vlsi.kuee.kyoto-u.ac.jp>
223 * support/nfs/xio.c (xskip): Call `xungetc' instead of
224 `ungetc' to keep x_line more properly.
226 2001-11-26 Chip Salzenberg <chip@pobox.com>
228 * utils/showmount/showmount.c (main): Don't assume that strings
229 starting with digits are IP addresses.
230 * utils/nfsd/nfsd.c (main): Close all fds and reopen 0,1,2 on
231 /dev/null before nfssvc(). Use syslog to report nfssvc errors.
232 * support/misc/tcpwrapper.c, utils/mountd/mountd.man,
233 utils/rquotad/rquotad.man, utils/statd/statd.man: Fix comments and
234 man pages: We check host names *and* addresses with tcpwrappers.
235 * debian/changelog: Version 0.3.3-4.
237 2001-11-21 Chip Salzenberg <chip@pobox.com>
239 * support/nfs/clients.c (cfname): Added: current clients file name.
240 (setnfsclntent): Set it.
241 ({get,end}nfsclntent, syntaxerr): Use it.
242 * support/nfs/exports.c (efname): Added: current exports file name.
243 (setnfsexportent): Set it.
244 (endnfsexportent, parseopts, getexport, syntaxerr): Use it.
245 (parseopts): Accept old-style "crossmnt" option, for old xtabs.
246 * debian/changelog: Version 0.3.3-3.
248 2001-10-11 Chip Salzenberg <chip@pobox.com>
250 * utils/mountd/mountd.c (main): Close fds > 2 _before_ RPC init.
251 * debian/changelog: Version 0.3.3-2.
253 2001-10-08 Chip Salzenberg <chip@pobox.com>
255 * utils/mountd/mountd.c (main): When daemonizing, close all fds > 2.
256 * utils/Makefile.in: Remove old Makefile in target 'distclean'.
257 * utils/mountd/mountd.man: Update paths to /var/lib.
258 * debian/*: Version 0.3.3-1, with Debian-specific fixes.
260 2001-10-06 Preston Brown <pbrown@redhat.com>
262 * utils/nfsstat/nfsstat.man: Updated.
264 2001-09-24 H.J. Lu <hjl@lucon.org>
266 * configure.in (VERSION): Set to "0.3.3".
267 * configure: Regenerated.
268 * nfs-utils.spec: Likewise.
270 * README: Updated for 0.3.3.
272 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
274 Arrange that "exportfs -au" never does DNS lookup:
276 * support/export/client.c (client_lookup) : add "canonical"
277 flag which says that the hostname is known to be canonical, so
280 * support/export/export.c (export_create) : add "canonical"
281 flag to be passed down to client_lookup
282 * support/export/export.c (export_lookup) : Likewise
284 * support/export/xtab.c (xtab_read) : pass appropriate
285 "canonical" flag to export_lookup and export_create:
286 set if reading list of filesystems currently exports
289 * support/export/export.c (export_read) : pass 0 as
290 "canonical" flag to export_lookup and export_create
291 * support/export/rmtab.s (rmtab_read) : Likewise
293 * support/include/exportfs.h : redeclare various routines
294 to have "canonical" flag
296 * utils/exportfs/exportfs.c (main) : redo logic for
297 "-au" to read in what is currently exported, but never even
298 look at what "should" be exported.
300 * utils/exportfs/exportfs.c (unexportall) : remove this
301 routine. Functionality is completely included in
304 * utils/exportfs/exportfs.c (exportfs) : set "canonical"
305 flag to zero in calls to export_lookup and export_create.
308 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
309 Anne Milicia <milicia@missioncriticallinux.com>
311 * support/export/client.c (client_lookup) call gethostbyadd
312 to make sure that we have a canonical hostname, even for
314 * utils/exportfs/exportfs.c (exportfs) Likewise
316 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
318 * support/nfs/exports.c (putexportent): \octal quote any spaces
320 * support/nfs/xio.c (xgettok): recognise double-quote and
321 \octal quoting in path names
322 * utils/exportfs/exports.man: document quoting conventions
325 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
327 * utils/mountd/auth.c (auth_authenticate_internal): Reverse
328 change from 2000-08-02: It causes problems if someone exports
329 to both a hostname and IP addresses. nfs-utils must be
330 consistant about the canonical name that it chooses.
332 2001-08-17 Ragnar Kjørstad <nfs@ragnark.vestdata.no>
333 H.J. Lu <hjl@lucon.org>
335 * etc/redhat/nfslock.init (STATDARG): New. Pass it to rpc.statd.
337 * utils/statd/statd.c (longopts): Add "name".
338 (usage): Add "-n/--name".
339 (main): Set MY_NAME with "-n/--name".
341 * utils/statd/state.c (change_state): Set MY_NAME only if it
344 * utils/statd/statd.man: Updated for "-n/--name".
346 2001-07-26 H.J. Lu <hjl@lucon.org>
348 * nfs-utils.spec (Release): Set to 8.
350 2001-07-25 H.J. Lu <hjl@lucon.org>
352 * etc/redhat/nfs.init: Check if rpc.rquotad exists before doing
355 2001-06-27 H.J. Lu <hjl@lucon.org>
357 * etc/redhat/nfs.init: Run rpc.rquotad only if it exists.
359 2001-06-27 H.J. Lu <hjl@lucon.org>
361 * utils/rquotad/rquota_server.c: Don't call statfs () for
362 the block size. Use BLOCK_SIZE instead.
364 2001-06-27 H.J. Lu <hjl@lucon.org>
366 * config.mk.in (CC_FOR_BUILD): Renamed from BUILD_CC.
367 (CFLAGS_FOR_BUILD): New. Don't use @CFLAGS@.
369 * configure.in (enable_nfsv3): Set to yes by default.
370 (--enable-rquotad): Added
371 (AC_PROG_CXX): Removed.
372 (AC_OUTPUT): Add utils/Makefile.
373 (CC_FOR_BUILD): Renamed from BUILD_CC.
374 * configure: Regenerated.
376 * utils/Makefile: Removed.
378 * utils/Makefile.in: New.
380 * nfs-utils.spec.in (rquotad): New. Set to 0 to disable
382 (CC_FOR_BUILD): Renamed from BUILD_CC.
383 * nfs-utils.spec: Regenerated.
385 2001-06-15 Chip Salzenberg <chip@debian.org>
387 * debian/changelog: Version 0.3.2-2.
388 * debian/*.init: Minor fixes.
390 2001-06-07 Lon H. Hohberger <hohberger@missioncriticallinux.com>
392 * etc/nodist/nfs-server: Fixed a bug where the script would
393 disable mounts from NFSv3 clients if NFSv3 is present.
395 2001-06-05 H.J. Lu <hjl@lucon.org>
397 * utils/mountd/mountd.c (longopts): Add "descriptors/o".
398 (main): Support --descriptors/-o to set the limit of the number
399 of open file descriptors.
402 * utils/mountd/mountd.man: Updated for --descriptors/-o.
404 2001-06-04 H.J. Lu <hjl@lucon.org>
406 * nfs-utils.spec (Release): Set to 6.
408 2001-05-28 H.J. Lu <hjl@lucon.org>
410 * utils/lockd/lockd.c (main): chdir to NFS_STATEDIR.
411 * utils/mountd/mountd.c (main): Likewise.
412 * utils/nfsd/nfsd.c (main): Likewise.
413 * utils/rquotad/rquota_svc.c (main): Likewise.
415 2001-05-06 Anne Milicia <milicia@missioncriticallinux.com>
417 * support/export/client.c (client_check): Check IP address
420 2001-05-06 Neil Brown <neilb@cse.unsw.edu.au>
422 * support/export/client.c (client_gettype): Treat `*' as
425 2001-04-22 H.J. Lu <hjl@lucon.org>
427 * nfs-utils.spec.in: Fix a typo.
428 * nfs-utils.spec: Regenerated.
430 2001-04-21 H.J. Lu <hjl@lucon.org>
432 * nfs-utils.spec.in: Fix cross build.
433 * nfs-utils.spec: Regenerated.
436 2001-04-18 H.J. Lu <hjl@lucon.org>
438 * nfs-utils.spec.in: Support cross build.
439 * nfs-utils.spec: Regenerated.
445 * config.mk.in (BUILD_CC): New.
446 (CC): Set to $(BUILD_CC) if BUILD is defined.
449 (RANLIB): Set to @RANLIB@.
451 * configure.in: Check BUILD_CC, RANLIB, AR and LD.
452 * configure: Regenerated.
454 * tools/rpcgen/Makefile (BUILD): Set to true.
456 2001-04-01 Chip Salzenberg <chip@valinux.com>
458 * tools/rpcgen/rpc_svcout.c (write_timeout_func): Remove
459 redundant, and sometimes broken, declaration of svc_fdset;
461 * support/nfs/rpcmisc.c (closedown): Likewise.
463 2001-03-21 H.J. Lu <hjl@lucon.org>
465 * nfs-utils.spec: Regenerated.
468 2001-03-21 Ion Badulescu <ionut@cs.columbia.edu>
470 * utils/statd/statd.c (main): make sure file descriptors 0-2
471 are open to /dev/null.
473 2001-03-21 H.J. Lu <hjl@lucon.org>
475 * support/nfs/rpcmisc.c: Restore the change made on 2001-03-10.
476 * support/nfs/rpcmisc.c: Likewise.
477 * utils/rquotad/rquota_svc.c: Likewise.
478 * utils/rquotad/rquotad.man: Likewise.
479 * utils/statd/Makefile: Likewise.
480 * utils/statd/rmtcall.c: Likewise.
481 * utils/statd/simulate.c: Likewise.
482 * utils/statd/statd.c: Likewise.
483 * utils/statd/statd.man: Likewise.
485 2001-03-11 H.J. Lu <hjl@lucon.org>
487 * configure.in (RELEASE): New. Default to 1, set by
488 --with-release=XXX. Substitute nfs-utils.spec.
489 * nfs-utils.spec.in (Release): Set to @RELEASE@.
490 * configure: Regenerated.
491 * nfs-utils.spec: Likewise.
493 2001-03-11 H.J. Lu <hjl@lucon.org>
495 * utils/rquotad/rquotad.man: Fix a typo.
497 2001-03-11 H.J. Lu <hjl@lucon.org>
499 * support/include/rpcmisc.h: Undo the change made on 2001-03-10.
500 * support/nfs/rpcmisc.c: Likewise.
501 * utils/rquotad/rquota_svc.c: Likewise.
502 * utils/rquotad/rquotad.man: Likewise.
503 * utils/statd/Makefile: Likewise.
504 * utils/statd/rmtcall.c: Likewise.
505 * utils/statd/simulate.c: Likewise.
506 * utils/statd/statd.c: Likewise.
507 * utils/statd/statd.man: Likewise.
509 2001-03-10 H.J. Lu <hjl@lucon.org>
511 * configure.in (VERSION): Set to "0.3.2".
512 * configure: Regenerated.
513 * nfs-utils.spec: Likewise.
515 * README: Updated for 0.3.2.
517 2001-03-10 Tavis Barr <tavis@boole.isetr.columbia.edu>
519 * utils/rquotad/rquotad.man: Updated for -p.
520 * utils/statd/statd.man: Likewise.
522 2001-03-10 Ion Badulescu <ionut@cs.columbia.edu>
524 * support/nfs/rpcmisc.c: export makesock()
526 * support/include/rpcmisc.h (makesock): Declared.
528 * utils/rquotad/rquota_svc.c: added longopts, added support for
529 specifying the port to bind to on the command line.
531 * utils/statd/statd.c: ditto, also specify port used for
532 outgoing connections.
533 (do_regist): Removed.
535 * utils/statd/rmtcall.c (statd_get_socket): Renamed from
536 get_socket. Make it extern.
538 * utils/statd/simulate.c (daemon_simulator): Call rpc_init
539 instead of do_regist.
541 * utils/statd/Makefile (LIBS): link with our own libnfs
543 2001-03-09 H.J. Lu <hjl@lucon.org>
545 * etc/redhat/nfslock.init: Changed chkconfig line to 60 86.
546 * etc/nodist/nfs-client: Likewise.
548 2001-02-26 Chip Salzenberg <chip@valinux.com>
550 * debian/changelog: Version 0.3.1-1.
551 * Mention upstream source and license in copyright file.
552 * Add build-Depends for debhelper and libwrap0-dev.
554 2001-02-20 Lon Hohberger <hohberger@missioncriticallinux.com>
556 * etc/nodist/nfs-server: Changed chkconfig line to 60 20
557 * etc/nodist/nfs-client: Likewise.
559 2001-02-18 Lon Hohberger <hohberger@missioncriticallinux.com>
561 * utils/statd/statd.man: Changed /usr/sbin/rpc.statd to
564 2001-02-17 Patrick J. LoPresti <patl@curl.com>
566 * utils/statd/log.c (log_init): Use LOG_DAEMON instead of
569 2001-02-14 H.J. Lu <hjl@lucon.org>
571 * utils/statd/rmtcall.c: Include <time.h>.
572 * utils/statd/svc_run.c: Likewise.
574 2001-02-14 H.J. Lu <hjl@lucon.org>
576 * configure.in (VERSION): Set to "0.3.1".
577 * configure: Regenerated.
578 * nfs-utils.spec: Likewise.
580 * README: Updated for 0.3.1.
582 2001-02-14 H.J. Lu <hjl@lucon.org>
584 * support/nfs/rpcmisc.c: Include <time.h>.
586 2001-02-14 Chip Salzenberg <chip@valinux.com>
588 * debian/control: Change priority of nhfsstone package to 'extra'.
590 2001-02-12 Chip Salzenberg <chip@valinux.com>
592 * debian/changelog: Version 0.3-2.
594 2001-02-02 H.J. Lu <hjl@lucon.org>
596 * support/include/rpcmisc.h (rpc_init): Remove bufsize.
598 * support/nfs/rpcmisc.c (makesock): Remove socksz and comment
599 out SO_SNDBUF/SO_RCVBUF.
600 (rpc_init): Remove bufsize and remove socksz in calls to
603 * utils/mountd/mountd.c (main): Remove bufsize in calls to
606 2001-01-28 Chip Salzenberg <chip@valinux.com>
608 * debian/changelog: Version 0.3-1.
610 2001-01-25 H.J. Lu <hjl@lucon.org>
612 * configure.in (VERSION): Set to "0.3".
613 * configure: Regenerated.
614 * nfs-utils.spec: Likewise.
616 * README: Updated for 0.3.
618 2001-01-25 H.J. Lu <hjl@lucon.org>
620 * utils/lockd/lockd.c (main): Ignore errno == EINVAL.
622 2001-01-20 Chip Salzenberg <chip@valinux.com>
624 * support/include/xio.h (xgetc): Declare to return int.
625 * support/nfs/xio.c (xgetc): Return int.
626 (xgettok, xskip, xskipcomment): Use int for value of xgetc.
627 * utils/statd/statd.c (main): Use int for value of getopt.
628 * debian/changelog: Version 0.2.1-5.
630 2000-12-10 Chip Salzenberg <chip@valinux.com>
632 * utils/statd/monitor.c (sm_mon_1_svc): Fix buggy check for
633 program and procedure numbers of kernel lockd's callback. Also,
634 besides the old (and broken) procedure #24, allow #16 per Trond.
636 2000-12-03 Chip Salzenberg <chip@valinux.com>
638 * support/nfs/xio.c (xfopen): Initialize x_line to one, not zero.
639 * debian/control: Let nhfsstone replace files in nfs-kernel-server.
640 * debian/changelog: Version 0.2.1-4.
642 2000-11-27 Tobias Ringstrom <tori@tellus.mine.nu>
644 * utils/mountd/auth.c (auth_authenticate): Log the bad path
647 2000-11-24 Neil Brown <neilb@cse.unsw.edu.au>
649 * support/nfs/exports.c (getexportent): Check for host name
650 without option, or options without hostname, and print a warning,
651 as this is most likely a typo.
653 2000-11-19 Chip Salzenberg <chip@valinux.com>
655 * debian/control: Add dependency on portmap.
656 * debian/changelog: Version 0.2.1-3.
658 2000-11-10 H.J. Lu <hjl@lucon.org>
660 * nfs-utils.spec.in: Don't use libtool.
661 Add ChangeLog and COPYING to doc.
662 * nfs-utils.spec: Rebuild.
664 2000-11-09 H.J. Lu <hjl@lucon.org>
666 * etc/redhat/nfs.init (start): Back out the last change.
668 2000-11-09 H.J. Lu <hjl@lucon.org>
670 * etc/redhat/nfs.init (start): Pass --no-tcp to mountd if
671 TCP is not supported by kernel.
673 * support/nfs/rpcmisc.c (rpc_init): Don't set _rpcfdtype to 0.
675 * utils/mountd/mountd.c (longopts): Add "-n/--no-tcp".
676 (main): Set to _rpcfdtype to SOCK_DGRAM for "-n/--no-tcp".
678 * utils/mountd/mountd.man: Updated for "-n/--no-tcp".
680 2000-10-24 Lon Hohberger <hohberger@missioncriticallinux.com>
682 * utils/statd/callback.c: Fix bug preventing callbacks to local lockd.
683 * utils/statd/rmtcall.c: Add some IP address paranoia when doing
684 callbacks to local lockd.
686 2000-10-18 Scott McDermott <mcdermot@questra.com>
688 * utils/exportfs/exports.man: Updated for CIDR netmask.
690 2000-10-17 Scott McDermott <mcdermot@questra.com>
692 * support/export/client.c (client_init): Support CIDR netmask
695 2000-10-11 H.J. Lu <hjl@lucon.org>
697 * aclocal.m4 (AC_TCP_WRAPPER): Fix a typo.
698 * configure: Rebuilt.
700 2000-10-06 Lon Hohberger <hohberger@missioncriticallinux.com>
702 * utils/statd/statd.man: Change "/var/lib/nfs/sm/state" to
703 "/var/lib/nfs/state".
705 2000-10-05 Lon Hohberger <hohberger@missioncriticallinux.com>
707 * utils/statd/statd.h (run_mode): New global bitmask of runtime
708 behaviors: fg/bg, logging, etc.
709 * utils/statd/statd.c: New command line options: -V -h -? -d .
710 * utils/statd/statd.man: Update for changes to statd.
712 * utils/statd/log.h (log_init): Remove parameter of function; use
713 global variable "name_p" instead.
714 * utils/statd/log.c: Add support for logging to stderr.
716 * utils/statd/notlist.c: Partially rewrite notify list handling
717 functions. Eliminate run-off-end-of-list bug when calling
718 nlist_insert_timer. Add lots of comments.
720 2000-09-27 H.J. Lu <hjl@lucon.org>
722 * README: Updated for RedHat 7.0.
724 2000-09-27 H.J. Lu <hjl@lucon.org>
726 * nfs-utils.spec: Rebuild.
728 2000-09-27 H.J. Lu <hjl@lucon.org>
730 * README: Updated for 0.2.1.
732 2000-09-27 H.J. Lu <hjl@lucon.org>
734 * nfs-utils.spec.in: Updated to use rpm macros and support
737 2000-09-25 H.J. Lu <hjl@lucon.org>
739 * configure.in (VERSION): Set to "0.2.1".
740 * configure: Regenerated.
741 * nfs-utils.spec: Updated.
743 2000-09-25 H.J. Lu <hjl@lucon.org>
745 * utils/mountd/auth.c (auth_authenticate_internal): Make sure a
746 non-NULL hostent is always returned.
748 2000-09-11 Ion Badulescu <ionut@cs.columbia.edu>
750 * etc/redhat/nfslock.init: don't kill lockd processes that do not
751 have an executable (i.e. kernel threads)
753 2000-09-01 H.J. Lu <hjl@lucon.org>
755 * README: Updated for 0.2.
757 2000-09-01 Jay Weber <jweber@valinux.com>
759 * etc/redhat/nfs.init: Added ability for rpc.mountd to default to
760 supporting version 3 of nfs if available, else it will fall back to
761 version 2 support only.
763 2000-08-30 H.J. Lu <hjl@lucon.org>
765 * configure.in (VERSION): Set to "0.2".
766 * configure: Regenerated.
767 * nfs-utils.spec: Updated.
769 2000-08-25 H.J. Lu <hjl@lucon.org>
771 * support/misc/tcpwrapper.c (logit): Modify the log output.
773 2000-08-25 Ion Badulescu <ionut@cs.columbia.edu>
775 * utils/rquotad/rquotad.man, utils/statd/statd.man,
776 utils/mountd/mountd.man: updated
778 * utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL)
779 * utils/rquotad/Makefile: fix comment
781 * support/misc/tcpwrapper.c (logit): added comment about waiting
782 for the children after fork()
784 * utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving
785 zombies behind (from logit()'s fork)
786 * utils/rquotad/rquota_svc.c (main): ditto
787 * utils/statd/statd.c (main): ditto
789 * utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG
790 to check_default instead of 0, for prognum
792 * utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG
793 to check_default instead of 0, for prognum
795 * utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if
796 HAVE_TCP_WRAPPER is defined.
797 (mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is
798 defined. Reject an RPC call if check_default () fails.
800 2000-08-25 H.J. Lu <hjl@lucon.org>
802 * support/include/tcpwrapper.h: New for the tcp wrapper
804 * support/misc/Makefile: Likewise.
805 * support/misc/from_local.c: Likewise.
806 * support/misc/tcpwrapper.c: Likewise.
808 * aclocal.m4 (AC_TCP_WRAPPER): New.
809 * configure.in: Use it. Substitute LIBWRAP.
810 * configure: Rebuilt.
812 * config.mk.in (LIBNSL): New.
815 * support/Makefile (SUBDIRS): Add misc.
817 * support/lib/Makefile (LIBS): Add libmisc.a.
819 * utils/rquotad/Makefile (LIBS): Add
821 -lmisc $(LIBWRAP) $(LIBNSL)
823 * utils/statd/Makefile (LIBS): Likewise.
825 * utils/rquotad/rquota_svc.c: Include "tcpwrapper.h" if
826 HAVE_TCP_WRAPPER is defined.
827 (rquotaprog_1): Call check_default () if HAVE_TCP_WRAPPER is
828 defined. Reject an RPC call if check_default () fails.
830 * utils/statd/statd.c: Include "tcpwrapper.h" if
831 HAVE_TCP_WRAPPER is defined.
832 (sm_prog_1_wrapper): New. A wrapper for sm_prog_1. Call
833 check_default () before calling sm_prog_1 (). Define it as
834 sm_prog_1_wrapper if HAVE_TCP_WRAPPER is defined.
836 2000-08-25 Chip Salzenberg <chip@valinux.com>
838 * debian/*: Complete Debian build support.
839 * etc/debian/*: Remove.
841 2000-08-24 Neil Brown <neilb@cse.unsw.edu.au>
843 * support/export/client.c(client_check): removed the "dot+1" as a
844 ypdomain argument to innetgr as this is entirely bogus.
845 It should always be NULL.
847 2000-08-23 Neil Brown <neilb@cse.unsw.edu.au>
849 * support/export/xtab.c(xtab_read): introduce new mode for
850 reading xtab. i.e. a list of exports that might be known to the
851 kernel, or might not. These are flagged as m_exported == -1
852 * support/export/xtab.c(xtab_mount_read): call xtab_read with new
853 value "2" for xtab, meaning don't trust this too much.
854 * support/include/exportfs.h(struct mexport): changed m_exported
855 from one bit to an int so that it can hold new value
856 * utils/exportfs/exportfs.c(exportfs_ipdate): add an export to the
857 kernel if it is uncertain whether the kernel knows (m_exported == -1)
858 * utils/mountd/mountd.c(get_rootfh): similarly export to kernel if
861 * support/nfs/xio.c(xflock): added O_CREAT when getting
862 a write lock so that missing files aren't fatal.
864 * etc/debian/nfs-common: new file from "potato"
865 * etc/debian/nfs-kernel-server: new file from "potato" plus fixes.
867 2000-08-09 H.J. Lu <hjl@lucon.org>
869 * etc/redhat/nfs.init: Run /usr/sbin/exportfs first during
870 startup to ensure all existing clients work fine.
872 * support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0
873 to xtab_read () for reading _PATH_XTAB.
875 2000-08-02 H.J. Lu <hjl@lucon.org>
877 * utils/mountd/auth.c (auth_authenticate_internal): Try to
878 avoid the reverse name lookup.
880 2000-07-04 H.J. Lu <hjl@lucon.org>
882 * utils/statd/log.c: Include <stdlib.h> for exit ().
884 * utils/statd/misc.c (xunlink): Add `{' and `}' to quiet the
887 2000-07-04 H.J. Lu <hjl@lucon.org>
889 * configure.in (VERSION): Set to "0.1.9.1".
890 * configure: Regenerated.
891 * nfs-utils.spec: Updated.
895 2000-07-04 Neil Brown <neilb@cse.unsw.edu.au>
897 * support/export/hostname.c (hostent_dup): Handle the NULL
900 2000-07-03 H.J. Lu <hjl@lucon.org>
902 * README: Update the util-linux requirement.
904 2000-07-03 H.J. Lu <hjl@lucon.org>
906 * configure.in (VERSION): Set to "0.1.9".
907 * configure: Regenerated.
908 * nfs-utils.spec: Updated.
912 2000-07-03 H.J. Lu <hjl@lucon.org>
914 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
915 stop to ensure all clients can still access the server
916 before it is shutdown.
918 2000-06-30 Jeff Uphoff <juphoff@transmeta.com>
920 * tools/rpcgen/rpc_svcout.c (write_msg_out): Generate syslog()
921 calls with format string.
923 2000-06-28 Chip Salzenberg <chip@valinux.com>
925 * utils/statd/log.c (log): Call syslog with format string.
927 2000-06-27 H.J. Lu <hjl@lucon.org>
929 * utils/statd/statd.c (main): Use sysconf (_SC_OPEN_MAX)
932 2000-06-27 H.J. Lu <hjl@lucon.org>
936 2000-06-27 H.J. Lu <hjl@lucon.org>
938 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
939 startup to ensure all existing clients are exported.
941 * configure.in (VERSION): Set to "0.1.8.2".
942 * configure: Regenerated.
943 * nfs-utils.spec: Updated.
945 2000-06-06 H.J. Lu <hjl@lucon.org>
947 * configure.in (VERSION): Set to "0.1.8.1".
948 * configure: Regenerated.
949 * nfs-utils.spec: Updated.
951 2000-06-06 H.J. Lu <hjl@lucon.org>
953 * utils/mountd/mountd.c (mount_dump_1_svc): Cast svc_getcaller
954 to "struct sockaddr_in *" for glibc 2.2.
955 (mount_umnt_1_svc): Likewise.
956 (mount_umntall_1_svc): Likewise.
957 (mount_export_1_svc): Likewise.
958 (mount_exportall_1_svc): Likewise.
959 (mount_pathconf_2_svc): Likewise.
960 (get_rootfh): Likewise.
962 2000-06-04 H.J. Lu <hjl@lucon.org>
964 * etc/redhat/nfs.init: Fix a typo in comment.
966 2000-05-31 H.J. Lu <hjl@lucon.org>
968 * configure.in (VERSION): Set to "0.1.8".
969 * configure: Regenerated.
970 * nfs-utils.spec: Updated.
974 2000-05-31 H.J. Lu <hjl@lucon.org>
976 * configure.in (VERSION): Set to "0.1.7.5".
977 * configure: Regenerated.
978 * nfs-utils.spec: Updated.
980 * support/include/nfslib.h (exportent): Add a new field,
981 r_count, to count the number of mounts from a client.
982 (getrmtabent): Take a new argument for position in file.
983 (putrmtabent): Likewise.
984 (fgetrmtabent): Likewise.
985 (fputrmtabent): Likewise.
986 * support/nfs/rmtab.c (getrmtabent): Handle the new argument
987 for position in file.
988 (fgetrmtabent): Likewise.
989 (putrmtabent): Likewise.
990 (fputrmtabent): Likewise.
992 * support/nfs/rmtab.c (fgetrmtabent): Get value for the new
995 * support/export/rmtab.c (rmtab_read): Pass NULL as the new
996 argument to getrmtabent (), fgetrmtabent (), putrmtabent ()
998 * utils/mountd/rmtab.c (mountlist_add): Likewise.
999 (mountlist_del): Likewise.
1000 (mountlist_del_all): Likewise.
1001 (mountlist_list): Likewise.
1003 * utils/mountd/rmtab.c (mountlist_add): Increment "r_count"
1004 for the existing entry and initialize "r_count" to 1.
1005 (mountlist_del): Decrement "r_count".
1007 2000-05-18 H.J. Lu <hjl@lucon.org>
1009 * configure.in (VERSION): Set to "0.1.7.4".
1010 * configure: Regenerated.
1011 * nfs-utils.spec: Updated.
1013 2000-05-18 H.J. Lu <hjl@lucon.org>
1015 * etc/redhat/nfs.init (restart): Just do stop and start.
1017 2000-05-09 Jay Weber <jweber@valinux.com>
1019 * utils/rquotad/hasquota.c: added support for ext3 recognition
1021 * utils/rquotad/mntent.h: Likewise.
1023 2000-05-01 H.J. Lu <hjl@lucon.org>
1025 * configure.in (VERSION): Set to "0.1.7.3".
1026 * configure: Regenerated.
1027 * nfs-utils.spec: Updated.
1029 2000-05-01 H.J. Lu <hjl@lucon.org>
1031 * utils/rquotad/rquota_server.c (getquotainfo): Skip bad
1032 mounting poins in /etc/fstab.
1034 2000-05-01 H.J. Lu <hjl@lucon.org>
1036 * configure.in (VERSION): Set to "0.1.7.2".
1037 * configure: Regenerated.
1038 * nfs-utils.spec: Updated.
1040 2000-05-01 H.J. Lu <hjl@lucon.org>
1042 * utils/rquotad/rquota_server.c (getquotainfo): Call stat ()
1043 to check for the mounting point.
1045 2000-04-29 Chip Salzenberg <chip@valinux.com>
1046 Neil Brown <neilb@cse.unsw.edu.au>
1048 * Really re-use RPC ports.
1049 (Fixes earlier patch. Sorry, Neil.)
1051 2000-04-26 H.J. Lu <hjl@lucon.org>
1053 * configure.in (VERSION): Set to "0.1.7.1".
1054 * configure: Regenerated.
1055 * nfs-utils.spec: Updated.
1057 2000-04-26 H.J. Lu <hjl@lucon.org>
1059 * etc/redhat/nfslock.init: Check if lockd exits before killing
1062 2000-04-25 H.J. Lu <hjl@lucon.org>
1064 * README: Require util-linux-2.10f-mount-rpc.patch for mount.
1066 2000-03-21 Michael Weiser <michael@weiser.saale-net.de>
1068 * support/nfs/exports.c (parsesquash): Correctly set the
1071 Tue Mar 21 11:38:48 EST 2000 NeilBrown <neilb@cse.unsw.edu.au>
1073 * support/include/nfs/nfs.h: Removed knowledge of internals of
1074 kernel filehandles (which can change) and defined nfs_fh_size
1075 which has variable size
1077 * support/nfs/getfh.c: defined getfh_size to use new syscall to
1078 get variable sized file handles, and change getfh{,old} to
1081 * utils/mountd/mountd.c: use nfd_fh_size and call getfh_size for
1084 * tools/Makefile, tools/nlmtest/nlmtest.c
1085 nlmtest.c depended on internel format of file handles, so now
1089 2000-03-12 Chip Salzenberg <chip@valinux.com>
1090 Neil Brown <neilb@cse.unsw.edu.au>
1092 * support/nfs/rpcmisc.c (rpc_init): Share transports.
1094 2000-03-13 H.J. Lu <hjl@lucon.org>
1096 * etc/redhat/nfsd.init: Updated.
1098 * etc/redhat/nfslock.init: Updated.
1100 * nfs-utils.spec.in: Updated.
1102 * configure.in (VERSION): Set to "0.1.7".
1103 * configure: Regenerated.
1104 * nfs-utils.spec: Updated.
1108 Wed Mar 8 09:42:43 2000 Neil Brown <neilb@cse.unsw.edu.au>
1110 * utils/exportfs/exportfs.c (dump): Included printing of
1111 nohide, no_subtree_check, and insecure_locks
1113 2000-02-26 Chip Salzenberg <chip@valinux.com>
1115 * config.mk.in (INSTALLSUID): Strip ("-s").
1116 (INSTALLSCRIPT): Define.
1117 * utils/nhfsstone/Makefile: Use it.
1119 2000-02-26 Chip Salzenberg <chip@valinux.com>
1121 * utils/lockd/lockd.man: Create.
1122 * utils/lockd/Makefile: Install it.
1123 * utils/nhfsstone/nhfs{run,nums,graph}.man: Create.
1124 * utils/nhfsstone/nhfsstone.man: Change suffix from ".1".
1125 * utils/nhfsstone/Makefile: Install the helper scripts and
1127 * utils/exportfs/exports.man: Fix typo.
1129 2000-02-26 Chip Salzenberg <chip@valinux.com>
1131 * support/nfs/xio.c (xungetc): Decrement line number when
1132 character to unget is newline. Make first parameter int, so
1133 it can distinguish EOF from \377.
1134 * support/include/xio.h (xungetc): Adjust prototype.
1136 Fri Feb 4 23:42:23 2000 Neil Brown <neilb@cse.unsw.edu.au>
1138 * support/include/nfs/export.h: added NFSEXP_NOAUTHNLM
1139 * support/nfs/exports.c: added handling for NFSEXP_NOAUTHNLM
1140 * utils/exportfs/exports.man: added documentation for no_auth_nlm.
1142 This is for supporting a new option introduced in 2.3.42
1144 Thu Feb 3 14:55:48 2000 H.J. Lu <hjl@lucon.org>
1146 * COPYING: Added. GPL.
1148 Thu Feb 03 14:40:40 2000 Cristian Gafton <gafton@redhat.com>
1150 * utils/rquotad/rquota_server.c (getquotainfo): Call statfs ()
1151 to get the block size.
1153 Tue Jan 25 11:04:17 2000 H.J. Lu <hjl@lucon.org>
1155 * nfs-utils.spec.in: Update ftp site.
1157 Mon Jan 17 11:48:18 2000 H.J. Lu <hjl@lucon.org>
1159 * README: Update hostnames.
1161 Tue Jan 11 10:06:22 2000 H.J. Lu <hjl@lucon.org>
1163 * configure.in (VERSION): Set to "0.1.6".
1164 * configure: Regenerated.
1165 * nfs-utils.spec: Updated.
1169 Mon Jan 10 14:26:33 2000 H.J. Lu <hjl@lucon.org>
1171 * utils/mountd/auth.c (auth_authenticate_internal): Call
1172 xstrdup for hostname before passing it to gethostbyname.
1174 * utils/mountd/mountd.c (get_exportlist): Use xstrdup instead
1177 Sun Dec 19 09:35:01 1999 H.J. Lu <hjl@lucon.org>
1179 * README: Update the mailing list address.
1181 Sun Dec 19 09:22:28 1999 H.J. Lu <hjl@lucon.org>
1183 * configure.in (VERSION): Set to "0.1.5".
1184 * configure: Regenerated.
1185 * nfs-utils.spec: Updated.
1189 Mon Dec 13 13:40:20 1999 H.J. Lu <hjl@lucon.org>
1191 * utils/rquotad/hasquota.c (hasquota): Malloc one more char
1194 Mon Dec 6 09:42:45 1999 H.J. Lu <hjl@lucon.org>
1196 * configure.in (VERSION): Set to "0.1.4".
1197 * configure: Regenerated.
1198 * nfs-utils.spec: Updated.
1202 Mon Dec 6 09:28:07 1999 H.J. Lu <hjl@lucon.org>
1204 * nfs-utils.spec.in: New file.
1206 * config.mk.in (VERSION): Changed to "nfs-utils @VERSION@".
1208 * configure.in (nfs-utils.spec): Added to AC_OUTPUT.
1210 1999-12-04 Chip Salzenberg <chip@valinux.com>
1212 * config.mk.in: Use $(CC) as set by configure.
1214 1999-12-04 Chip Salzenberg <chip@valinux.com>
1216 * rules.mk: Call $(MAKE) with $(MFLAGS).
1218 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1220 * tools/rpcgen/rpc_main.c (h_output): Generate IXDR_GET_INT32,
1221 IXDR_PUT_INT32, IXDR_GET_U_INT32 and IXDR_PUT_U_INT32.
1223 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1225 * nfs-utils.spec (Version): Set to 0.1.3.
1227 * configure.in (VERSION): Set to "nfs-utils 0.1.3".
1228 * configure: Regenerated.
1232 Mon Nov 29 11:15:47 1999 H.J. Lu <hjl@lucon.org>
1234 * utils/rquotad/rquota_server.c (nfsmount_to_devname): Removed.
1235 (_PATH_DEV_DSK): Likewise.
1236 (getquotainfo): Match the mounting point from /etc/mtab
1237 instead of calling nfsmount_to_devname ().
1239 1999-11-24 Chip Salzenberg <chip@valinux.com>
1241 * utils/statd/monitor.c (sm_mon_1_svc): Accept lockd callbacks
1242 to the new port 24 as well as the historical port 100021.
1244 Tue Nov 23 10:21:34 1999 Neil Brown <neilb@cse.unsw.edu.au>
1246 * etc/redhat/nfsd.init (stop): moved exportfs -ua after
1247 stopping nfsd to stop spurious ESTALE on server shutdown.
1249 Tue Nov 23 10:13:39 1999 Neil Brown <neilb@cse.unsw.edu.au>
1251 * support/nfs/exports.c (parseopts): make copy of opt string
1252 before 'nul'ing out commas so that
1254 # exportfs -o option1,option2 hosta:/fs hostb:/fs
1256 applies both options to both exports.
1258 Thu Oct 28 12:55:42 1999 H.J. Lu <hjl@lucon.org>
1260 * README: Fix a few typos.
1262 * tools/rpcgen/rpc_cout.c (print_header): Use int32_t instead
1264 * tools/rpcgen/rpc_hout.c (pdefine): Likewise.
1265 * tools/rpcgen/rpc_main.c (c_initialize): Likewise.
1266 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1267 (unsigned_dec): Likewise.
1268 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1269 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1271 * tools/rpcgen/rpc_cout.c (emit_single_in_line): Use INT32
1273 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1274 (unsigned_dec): Likewise.
1275 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1276 * tools/rpcgen/rpc_scan.h (tok_kind): Likewise.
1277 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1279 Thu Oct 28 11:27:51 1999 Neil Brown <neilb@cse.unsw.edu.au>
1281 * support/include/nfs/export.h addedd NFSEXP_NOSUBTREECHECK
1282 * support/nfs/exports.c: added {no_,}subtree_check and changed
1284 * utils/exportfs/exports.man: added no_subtree_check and nohide
1285 and removed irrelevant stuff from unfsd.
1286 * support/export/rmtab.c: rmtab_read didn't quite do the right
1287 thing if a pathname from rmtab was a subdirectory of an export-point
1289 Tue Oct 26 17:22:40 1999 H.J. Lu <hjl@lucon.org>
1291 * README: Updated ftp site.
1293 Mon Oct 25 18:12:45 1999 H.J. Lu <hjl@lucon.org>
1295 * nfs-utils.spec (Version): Set to 0.1.2.
1297 * configure.in (VERSION): Set to "nfs-utils 0.1.2".
1298 * configure: Regenerated.
1302 Mon Oct 25 18:11:21 1999 H.J. Lu <hjl@lucon.org>
1304 * utils/mountd/auth.c (auth_error): Add "no_forward_dns".
1305 (auth_authenticate_internal): Check for NULL return on forward
1307 (auth_authenticate): Handle "no_forward_dns".
1309 Thu Oct 21 16:22:06 1999 H.J. Lu <hjl@lucon.org>
1311 * Version 0.1.1 released.
1313 * nfs-utils.spec (Version): Set to 0.1.1.
1315 * configure.in (VERSION): Set to "nfs-utils 0.1.1".
1316 * configure: Regenerated.
1320 Mon Oct 18 17:43:29 1999 H.J. Lu <hjl@lucon.org>
1322 * nfs-utils.spec (Obsoletes): Fixed a typo, change knfsd-client
1324 (Provides): Likewise.
1326 Mon Oct 18 14:56:22 1999 H.J. Lu <hjl@lucon.org>
1328 * Initial version 0.1 released.
1330 * configure.in (VERSION): Set to "nfs-utils 0.1".
1331 * configure: Regenerated.
1333 Mon Oct 18 14:54:57 1999 H.J. Lu <hjl@lucon.org>
1335 * utils/mountd/mountd.c (get_exportlist): Cleanup.
1337 * utils/exportfs/exportfs.c (unexport_all): Unexport from
1338 kernel only if the entry is exported to kernel.
1339 (unexportfs): Likewise.
1341 Wed Sep 08 16:49:32 1999 Neil Brown <neilb@cse.unsw.edu.au>
1343 1/ utils/mountd/rmtab.c::mountlist_list
1345 This routine stats the rmtab file to see if it has changed. It
1346 if has, it cleans up it's old copy of the data. But it still
1347 always re-read the file, thus returning multiple copies of the
1348 data on consecutive calls without intervening changes.
1349 "Showmount -a" didn't show this as it appears to sort/unique the
1350 data, but 'strace showmount -a' showed that the size of the
1351 datagram that it received grew.
1353 I moved the getrmtabent loop inside the mtime test.
1355 2/ utils/exportfs/exportfs.c
1357 Many routines used the m_path field of m_export instead of
1359 According to the comment in nfslib.h, m_path should only
1360 be used when processing a mount request (i.e. in mountd)
1361 where the mountpoint may be a subdirectory of the export point.
1363 I changed all occurances of m_path to e_path
1366 3/ utils/exportfs/exportfs.c:main
1368 extra arguments are not meaningful with -a or -r, but
1369 exportfs accepted them and then ignored the -a/-r, expect that
1370 -r would still unexport everything first.
1372 I generate an error if there are extra args and f_all
1374 4/ utils/exportfs/exportfs.c:main
1375 extract dump out as a special case.
1377 5/ utils/exportfs/exportfs.c
1378 made f_reexport a local variable.
1381 6/ utils/exportfs/exportfs.c:main,exportall
1383 support/export/rmtab.c
1384 only mayexport on newly created entries, don't set xtabent at all
1386 7/ support/include/nfslib.h
1388 add #define _PATH_PROC_EXPORTS to be /proc/fs/nds/exports
1390 8/ support/export/xtab.c
1392 xtab_mount_read loads data from _PATH_PROC_EXPORTS if it exists,
1396 9/ support/export/xtab.c
1398 xtab_mount_read now sets m_exported, and NOT
1399 xtabent and mayexport
1401 removed the append arguement from xtab_write as it was
1404 added is_export flag to xtab_write similar to xtab_read
1405 if is_export, only write entries with m_xtabent or m_addxtab
1406 if !is_export, only write entries with m_exported
1408 10/ support/export/export.c::export_allowed_internal
1410 added test for exp->m_mayexport, as the export tree
1411 may have entries that are no longer allowed to be exported,
1412 and so shouldn't caused deduced exported by rmtab_read
1414 11/ utils/exportfs/exportfs.c::main
1415 error checking of flags.
1417 12/ utils/exportfs/exportfs.c
1419 total rewrite of export and unexport logic.
1421 - build an exportslist of valid exports, based on
1422 current etab file and arguments,
1423 - read rmtab to instantiate relevant wild card entries
1424 - read etab to find out what is currently exported
1425 - synchronise intention with reality
1426 - write out etab and xtab
1429 discard the m_addxtab flag
1430 add m_changed flag so we know what to report in exportfs
1432 14/ utils/mountd/auth.c:auth_authenticate
1434 the value returned by gethostbyaddr was trusted.
1436 It now follows this with a call to gethostbyname
1437 and checks that the address is in the list.
1439 15/ support/export/nfsctl.c::cltsetup,expsetup
1441 force client names to lowercase as kernel is
1444 16/ quietened a few compiler warnings
1446 17/ support/export/client:client_lookup
1448 look for pre-existing client with same name before creating
1451 18/ support/include/exportfs.h
1453 The ordering of the MCL_* enum was:
1454 ANONYMOUS, FQDN, SUBNETWORK, WILDCARD, NETGROUP
1456 I moved ANONYMOUS to the end.
1458 The ordering is significant when an export entry is being searched for to
1459 match a given address. There are two problems with ANONYMOUS being first.
1461 1/ if a directory is exported rw to a couple of hosts and ro to everyone else,
1462 then the ro case will always be found first and the privileged hosts won't get
1464 2/ When mountd gets a request to mount an ANONYMOUSly exported tree, it creates a FQDN
1465 export entry for the specific host, and writes it to xtab.
1466 When another request comes from the same host, the ANONYMOUS entry is found again,
1467 before the new FQDN entry, so it creates another FQDN entry and writes it to xtab
1468 again. If causes bloat in xtab.
1470 Putting ANONYMOUS at the end reflects it's nature as a catch-all
1472 19/ utils/exportfs/exportfs.man
1473 many updates to the man page to reflect changes to the code
1475 -----------------------
1481 - allow exportfs to modify rmtab file
1482 - make sure kernel never gets two clients with same IP address
1483 - possible kernel should reject
1484 - needs to be some way to lookup client in kernel by IP address
1485 - maybe get kernel to do case-insensitive comparisons on client names
1486 - remove unused clients from kernel
1488 - change etab to xtab and xtab to xtab.active
1490 - timestamp and/or statd-stamp in rmtab for removing old entries.
1492 Mon Oct 18 11:48:07 1999 H.J. Lu <hjl@lucon.org>
1494 * linux-nfs: New directory.
1495 * linux-nfs/ChangeLog: Moved from ..
1496 * linux-nfs/INSTALL: Likewise.
1497 * linux-nfs/KNOWNBUGS: Likewise.
1498 * linux-nfs/NEW: Likewise.
1499 * linux-nfs/README: Likewise.
1500 * linux-nfs/THANKS: Likewise.
1501 * linux-nfs/TODO: Likewise.
1503 * Starting from knfsd 1.4.7.