1 2002-10-15 Juan Gomez <juang@us.ibm.com>
3 * utils/mountd/rmtab.c (slink_safe_rename): New. Support
5 (mountlist_add): Call slink_safe_rename instead of rename.
7 2002-10-11 H.J. Lu <hjl@lucon.org>
9 * support/include/exportfs.h (export_errno): New.
11 * support/nfs/exports.c: Include <errno.h>.
13 (getexportent): Set export_errno to EINVAL for bad option.
14 (parseopts): Likewise.
15 Report the location of the default sync/async option.
17 * utils/exportfs/exportfs.c (main): Initialize export_errno to
18 0. Return export_errno.
20 2002-10-11 Juan Gomez <gomez@cs.sjsu.edu>
21 NeilBrown <neilb@cse.unsw.edu.au>
23 utils/statd/statd.c(killer): don't pmap_unset if in notify_only mode
24 utils/statd/statd.c(main): don't pmap_unset if in notify_only mode
26 2002-09-16 Chip Salzenberg <chip@pobox.com>
28 * utils/rquotad/rquota_svc.c (main): Use int for value of getopt.
30 2002-09-15 Chip Salzenberg <chip@pobox.com>
32 * support/nfs/rpcmisc.c (rpc_init): Allow stdin to be a non-INET
33 socket, as occurs when run from sshd.
34 * debian/changelog: Version 1.0.2-1.
36 2002-09-12 H.J. Lu <hjl@lucon.org>
38 * support/nfs/svc_socket.c: Remove HAVE_SVCTCP_SOCKET and
41 2002-09-12 H.J. Lu <hjl@lucon.org>
43 * configure.in: Remove checking svctcp_socket and svcudp_socket.
44 * configure: Regenerated.
46 * support/include/config.h.in (HAVE_SVCTCP_SOCKET): Removed.
47 (HAVE_SVCUDP_SOCKET): Removed.
49 * support/include/nfslib.h: Undo the last change.
51 2002-09-12 H.J. Lu <hjl@lucon.org>
53 * support/include/nfslib.h (svctcp_socket): Protect it with
55 (svcudp_socket): Protect it with HAVE_SVCUDP_SOCKET.
57 2002-09-12 H.J. Lu <hjl@lucon.org>
59 * configure.in (VERSION): Set to "1.0.2".
60 * configure: Regenerated.
61 * nfs-utils.spec: Likewise.
63 2002-09-12 H.J. Lu <hjl@lucon.org>
65 * configure.in: Check svctcp_socket and svcudp_socket.
66 * configure: Regenerated.
68 * support/include/config.h.in (HAVE_SVCTCP_SOCKET): New.
69 (HAVE_SVCUDP_SOCKET): New.
71 * support/include/nfslib.h (svctcp_socket): New.
74 * support/nfs/Makefile (OBJS): Add svc_socket.o.
76 * support/nfs/svc_socket.c: New.
78 * support/nfs/rpcmisc.c (rpc_init): Call svctcp_socket and
79 svcudp_socket if port is unspecified.
81 * utils/nfsd/nfsd.c (main): Call getservbyname for port.
83 * utils/rquotad/rquota_svc.c: Include <nfslib.h>.
84 (killer): New. Signal handler to unregister.
85 (main): Use killer. Call svcudp_socket to get the default
88 2002-09-02 Juan Gomez <juang@us.ibm.com>
89 NeilBrown <neilb@cse.unsw.edu.au>
91 Add -N option to statd to run in notify-only mode.
93 * utils/statd/statd.h: uncomment MODE_NOTIFY_ONLY
94 * utils/statd/statd.man: document -N
95 * utils/statd/statd.c: enabled -N, largely exists but needed to be
96 uncommented and completed
98 2002-09-02 Juan Gomez <juang@us.ibm.com>
99 NeilBrown <neilb@cse.unsw.edu.au>
101 statd to have " -P directory" arg to use that directory instead
102 of /var/lib/nfs. This is useful for fail-over clusters.
104 * utils/statd/statd.h: define SM_DIR etc as var, not const.
105 * utils/statd/statd.c: define "-P" option to set SM_*
107 * utils/statd/monitor.c: sprintf to cope with SM_DIR not being
109 * utils/statd/notify.c: ditto.
110 * utils/statd/statd.man: document -P option.
112 2002-08-26 Chip Salzenberg <chip@pobox.com>
114 * utils/nfsd/nfsd.man: Fix typo.
115 * debian/changelog: Version 1.0.1-1.
117 2002-05-29 NeilBrown <neilb@cse.unsw.edu.au>
119 * let parseopts know if /etc/exports was being read or not,
120 and have it only print "no sync or async" warning in that case.
122 2002-05-06 Tom McNeal <trmcneal@attbi.com>
123 NeilBrown <neilb@cse.unsw.edu.au>
125 * utils/nfsstat/nfsstat.c: Handle differing format for
126 /proc/net/rpc/nfsd between pre and post 2.4.0
128 2002-04-09 NeilBrown <neilb@cse.unsw.edu.au>
129 James Pearson <james-p@moving-picture.com>
131 * support/nfs/rmtab.c(fendrmtabent): sync changes to
132 storage before returning, as this is critical state
134 2002-04-08 Sean O'Connell <sean@ee.duke.edu>
135 H.J. Lu <hjl@lucon.org>
137 * etc/redhat/nfs: New.
139 2002-04-08 H.J. Lu <hjl@lucon.org>
141 * etc/redhat/nfs.init: Updated.
143 * nfs-utils.spec.in: Updated.
144 * nfs-utils.spec: Regenerated.
146 * utils/mountd/mountd.c (longopts): Fix a typo.
148 * utils/mountd/mountd.man: Updated.
150 2002-04-07 H.J. Lu <hjl@lucon.org>
152 * etc/redhat/nfslock.init (restart): Just do stop and start.
154 * etc/redhat/nfs.init: Fix a typo.
156 2002-04-07 H.J. Lu <hjl@lucon.org>
158 * configure.in (VERSION): Set to "1.0.1".
159 * configure: Regenerated.
160 * nfs-utils.spec: Likewise.
162 * README: Updated for 1.0.1.
164 2002-04-07 Sean O'Connell <sean@ee.duke.edu>
165 H.J. Lu <hjl@lucon.org>
167 * etc/redhat/nfs.init: Read /etc/sysconfig/nfsd for NFS tuning.
169 2002-02-28 Steven Whitehouse <steve@gw.chygwyn.com>
170 NeilBrown <neilb@cse.unsw.edu.au>
172 Add support for fsid=nn export option so that device
173 numbers don't go in filehandles.
174 * support/export/nfsctl.c(expsetup): if exporting and NFSEXP_FSID
175 is set, pass the fsid in-place of the device number
176 * support/nfs/exports.c: parse and print fsid= option.
177 Also check if efname has been set, and use "command line"
178 instead in error messages.
179 Also, use strtol instead of atoi for anon[ug]id= so that
180 bad numbers cause errors.
182 2002-01-17 Adrian Drzewiecki <drze@MissionCriticalLinux.com>
183 NeilBrown <neilb@cse.unsw.edu.au>
185 * support/nfs/exports.c: remove NFSEXP_ASYNC as a default
186 flag so that "sync" becomes the default.
187 Check that either "sync" or "async" is given as an option
188 and warn if neither are present
189 * utils/exportfs/exports.man: change documentation for "sync"
190 to be documentation for "async".
191 * utils/exportfs/exportfs.man: note that "sync" is the default
195 2002-01-02 Chip Salzenberg <chip@pobox.com>
197 * support/export/nfsctl.c (expsetup): Don't export entries that
198 specify id mappings not supported by the kernel. No extant kernel
199 supports any significant mapping, only 'identity' (i.e. none).
200 When other mappings are supported, this code will need changing.
201 * debian/changelog: Version 1.0-2.
203 2001-12-26 Chip Salzenberg <chip@pobox.com>
205 * nfs-utils.spec (Version): Set to "1.0".
206 * configure.in (VERSION): Likewise.
207 * configure: Regenerated.
209 * debian/changelog: Version 1.0-1.
211 * utils/exportfs/exports.man: Emphasize the need for options to
212 immediately follow client names. Explain that wildcards don't
213 usually work on addresses, but may work when reverse DNS fails.
214 Comment out a leftover TP that was TPing our indentation.
215 * utils/mountd/mountd.man, utils/rquotad/rquotad.man,
216 utils/statd/statd.man: Remove refs to non-existent "hosts_allow(5)".
217 * debian/changelog: Version 0.3.3-6.
219 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
221 * support/export/client.c(client_lookup): If a host has multiple
222 IP addresses, then we must always use the result of a
223 gethostbyname, not that of gethostbyaddr for exporting
225 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
227 * support/export/client.c (client_lookup): use strcasecmp when
229 * support/nfs/export.c (getexportent): add fromkernel arg and use
230 different defaults as kernels prior to 2.4.11 assume different
231 defaults in /proc/fs/nfs/exports
232 * support/include/nfslib.h, support/export/export.c,
233 support/export/xtab.c: support extra "fromkernel" arg for
236 2001-12-13 Chip Salzenberg <chip@pobox.com>
238 * debian/changelog: Version 0.3.3-5.
240 2001-11-26 TAKAI Kousuke <takai@vlsi.kuee.kyoto-u.ac.jp>
242 * support/nfs/xio.c (xskip): Call `xungetc' instead of
243 `ungetc' to keep x_line more properly.
245 2001-11-26 Chip Salzenberg <chip@pobox.com>
247 * utils/showmount/showmount.c (main): Don't assume that strings
248 starting with digits are IP addresses.
249 * utils/nfsd/nfsd.c (main): Close all fds and reopen 0,1,2 on
250 /dev/null before nfssvc(). Use syslog to report nfssvc errors.
251 * support/misc/tcpwrapper.c, utils/mountd/mountd.man,
252 utils/rquotad/rquotad.man, utils/statd/statd.man: Fix comments and
253 man pages: We check host names *and* addresses with tcpwrappers.
254 * debian/changelog: Version 0.3.3-4.
256 2001-11-21 Chip Salzenberg <chip@pobox.com>
258 * support/nfs/clients.c (cfname): Added: current clients file name.
259 (setnfsclntent): Set it.
260 ({get,end}nfsclntent, syntaxerr): Use it.
261 * support/nfs/exports.c (efname): Added: current exports file name.
262 (setnfsexportent): Set it.
263 (endnfsexportent, parseopts, getexport, syntaxerr): Use it.
264 (parseopts): Accept old-style "crossmnt" option, for old xtabs.
265 * debian/changelog: Version 0.3.3-3.
267 2001-10-11 Chip Salzenberg <chip@pobox.com>
269 * utils/mountd/mountd.c (main): Close fds > 2 _before_ RPC init.
270 * debian/changelog: Version 0.3.3-2.
272 2001-10-08 Chip Salzenberg <chip@pobox.com>
274 * utils/mountd/mountd.c (main): When daemonizing, close all fds > 2.
275 * utils/Makefile.in: Remove old Makefile in target 'distclean'.
276 * utils/mountd/mountd.man: Update paths to /var/lib.
277 * debian/*: Version 0.3.3-1, with Debian-specific fixes.
279 2001-10-06 Preston Brown <pbrown@redhat.com>
281 * utils/nfsstat/nfsstat.man: Updated.
283 2001-09-24 H.J. Lu <hjl@lucon.org>
285 * configure.in (VERSION): Set to "0.3.3".
286 * configure: Regenerated.
287 * nfs-utils.spec: Likewise.
289 * README: Updated for 0.3.3.
291 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
293 Arrange that "exportfs -au" never does DNS lookup:
295 * support/export/client.c (client_lookup) : add "canonical"
296 flag which says that the hostname is known to be canonical, so
299 * support/export/export.c (export_create) : add "canonical"
300 flag to be passed down to client_lookup
301 * support/export/export.c (export_lookup) : Likewise
303 * support/export/xtab.c (xtab_read) : pass appropriate
304 "canonical" flag to export_lookup and export_create:
305 set if reading list of filesystems currently exports
308 * support/export/export.c (export_read) : pass 0 as
309 "canonical" flag to export_lookup and export_create
310 * support/export/rmtab.s (rmtab_read) : Likewise
312 * support/include/exportfs.h : redeclare various routines
313 to have "canonical" flag
315 * utils/exportfs/exportfs.c (main) : redo logic for
316 "-au" to read in what is currently exported, but never even
317 look at what "should" be exported.
319 * utils/exportfs/exportfs.c (unexportall) : remove this
320 routine. Functionality is completely included in
323 * utils/exportfs/exportfs.c (exportfs) : set "canonical"
324 flag to zero in calls to export_lookup and export_create.
327 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
328 Anne Milicia <milicia@missioncriticallinux.com>
330 * support/export/client.c (client_lookup) call gethostbyadd
331 to make sure that we have a canonical hostname, even for
333 * utils/exportfs/exportfs.c (exportfs) Likewise
335 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
337 * support/nfs/exports.c (putexportent): \octal quote any spaces
339 * support/nfs/xio.c (xgettok): recognise double-quote and
340 \octal quoting in path names
341 * utils/exportfs/exports.man: document quoting conventions
344 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
346 * utils/mountd/auth.c (auth_authenticate_internal): Reverse
347 change from 2000-08-02: It causes problems if someone exports
348 to both a hostname and IP addresses. nfs-utils must be
349 consistant about the canonical name that it chooses.
351 2001-08-17 Ragnar Kjørstad <nfs@ragnark.vestdata.no>
352 H.J. Lu <hjl@lucon.org>
354 * etc/redhat/nfslock.init (STATDARG): New. Pass it to rpc.statd.
356 * utils/statd/statd.c (longopts): Add "name".
357 (usage): Add "-n/--name".
358 (main): Set MY_NAME with "-n/--name".
360 * utils/statd/state.c (change_state): Set MY_NAME only if it
363 * utils/statd/statd.man: Updated for "-n/--name".
365 2001-07-26 H.J. Lu <hjl@lucon.org>
367 * nfs-utils.spec (Release): Set to 8.
369 2001-07-25 H.J. Lu <hjl@lucon.org>
371 * etc/redhat/nfs.init: Check if rpc.rquotad exists before doing
374 2001-06-27 H.J. Lu <hjl@lucon.org>
376 * etc/redhat/nfs.init: Run rpc.rquotad only if it exists.
378 2001-06-27 H.J. Lu <hjl@lucon.org>
380 * utils/rquotad/rquota_server.c: Don't call statfs () for
381 the block size. Use BLOCK_SIZE instead.
383 2001-06-27 H.J. Lu <hjl@lucon.org>
385 * config.mk.in (CC_FOR_BUILD): Renamed from BUILD_CC.
386 (CFLAGS_FOR_BUILD): New. Don't use @CFLAGS@.
388 * configure.in (enable_nfsv3): Set to yes by default.
389 (--enable-rquotad): Added
390 (AC_PROG_CXX): Removed.
391 (AC_OUTPUT): Add utils/Makefile.
392 (CC_FOR_BUILD): Renamed from BUILD_CC.
393 * configure: Regenerated.
395 * utils/Makefile: Removed.
397 * utils/Makefile.in: New.
399 * nfs-utils.spec.in (rquotad): New. Set to 0 to disable
401 (CC_FOR_BUILD): Renamed from BUILD_CC.
402 * nfs-utils.spec: Regenerated.
404 2001-06-15 Chip Salzenberg <chip@debian.org>
406 * debian/changelog: Version 0.3.2-2.
407 * debian/*.init: Minor fixes.
409 2001-06-07 Lon H. Hohberger <hohberger@missioncriticallinux.com>
411 * etc/nodist/nfs-server: Fixed a bug where the script would
412 disable mounts from NFSv3 clients if NFSv3 is present.
414 2001-06-05 H.J. Lu <hjl@lucon.org>
416 * utils/mountd/mountd.c (longopts): Add "descriptors/o".
417 (main): Support --descriptors/-o to set the limit of the number
418 of open file descriptors.
421 * utils/mountd/mountd.man: Updated for --descriptors/-o.
423 2001-06-04 H.J. Lu <hjl@lucon.org>
425 * nfs-utils.spec (Release): Set to 6.
427 2001-05-28 H.J. Lu <hjl@lucon.org>
429 * utils/lockd/lockd.c (main): chdir to NFS_STATEDIR.
430 * utils/mountd/mountd.c (main): Likewise.
431 * utils/nfsd/nfsd.c (main): Likewise.
432 * utils/rquotad/rquota_svc.c (main): Likewise.
434 2001-05-06 Anne Milicia <milicia@missioncriticallinux.com>
436 * support/export/client.c (client_check): Check IP address
439 2001-05-06 Neil Brown <neilb@cse.unsw.edu.au>
441 * support/export/client.c (client_gettype): Treat `*' as
444 2001-04-22 H.J. Lu <hjl@lucon.org>
446 * nfs-utils.spec.in: Fix a typo.
447 * nfs-utils.spec: Regenerated.
449 2001-04-21 H.J. Lu <hjl@lucon.org>
451 * nfs-utils.spec.in: Fix cross build.
452 * nfs-utils.spec: Regenerated.
455 2001-04-18 H.J. Lu <hjl@lucon.org>
457 * nfs-utils.spec.in: Support cross build.
458 * nfs-utils.spec: Regenerated.
464 * config.mk.in (BUILD_CC): New.
465 (CC): Set to $(BUILD_CC) if BUILD is defined.
468 (RANLIB): Set to @RANLIB@.
470 * configure.in: Check BUILD_CC, RANLIB, AR and LD.
471 * configure: Regenerated.
473 * tools/rpcgen/Makefile (BUILD): Set to true.
475 2001-04-01 Chip Salzenberg <chip@valinux.com>
477 * tools/rpcgen/rpc_svcout.c (write_timeout_func): Remove
478 redundant, and sometimes broken, declaration of svc_fdset;
480 * support/nfs/rpcmisc.c (closedown): Likewise.
482 2001-03-21 H.J. Lu <hjl@lucon.org>
484 * nfs-utils.spec: Regenerated.
487 2001-03-21 Ion Badulescu <ionut@cs.columbia.edu>
489 * utils/statd/statd.c (main): make sure file descriptors 0-2
490 are open to /dev/null.
492 2001-03-21 H.J. Lu <hjl@lucon.org>
494 * support/nfs/rpcmisc.c: Restore the change made on 2001-03-10.
495 * support/nfs/rpcmisc.c: Likewise.
496 * utils/rquotad/rquota_svc.c: Likewise.
497 * utils/rquotad/rquotad.man: Likewise.
498 * utils/statd/Makefile: Likewise.
499 * utils/statd/rmtcall.c: Likewise.
500 * utils/statd/simulate.c: Likewise.
501 * utils/statd/statd.c: Likewise.
502 * utils/statd/statd.man: Likewise.
504 2001-03-11 H.J. Lu <hjl@lucon.org>
506 * configure.in (RELEASE): New. Default to 1, set by
507 --with-release=XXX. Substitute nfs-utils.spec.
508 * nfs-utils.spec.in (Release): Set to @RELEASE@.
509 * configure: Regenerated.
510 * nfs-utils.spec: Likewise.
512 2001-03-11 H.J. Lu <hjl@lucon.org>
514 * utils/rquotad/rquotad.man: Fix a typo.
516 2001-03-11 H.J. Lu <hjl@lucon.org>
518 * support/include/rpcmisc.h: Undo the change made on 2001-03-10.
519 * support/nfs/rpcmisc.c: Likewise.
520 * utils/rquotad/rquota_svc.c: Likewise.
521 * utils/rquotad/rquotad.man: Likewise.
522 * utils/statd/Makefile: Likewise.
523 * utils/statd/rmtcall.c: Likewise.
524 * utils/statd/simulate.c: Likewise.
525 * utils/statd/statd.c: Likewise.
526 * utils/statd/statd.man: Likewise.
528 2001-03-10 H.J. Lu <hjl@lucon.org>
530 * configure.in (VERSION): Set to "0.3.2".
531 * configure: Regenerated.
532 * nfs-utils.spec: Likewise.
534 * README: Updated for 0.3.2.
536 2001-03-10 Tavis Barr <tavis@boole.isetr.columbia.edu>
538 * utils/rquotad/rquotad.man: Updated for -p.
539 * utils/statd/statd.man: Likewise.
541 2001-03-10 Ion Badulescu <ionut@cs.columbia.edu>
543 * support/nfs/rpcmisc.c: export makesock()
545 * support/include/rpcmisc.h (makesock): Declared.
547 * utils/rquotad/rquota_svc.c: added longopts, added support for
548 specifying the port to bind to on the command line.
550 * utils/statd/statd.c: ditto, also specify port used for
551 outgoing connections.
552 (do_regist): Removed.
554 * utils/statd/rmtcall.c (statd_get_socket): Renamed from
555 get_socket. Make it extern.
557 * utils/statd/simulate.c (daemon_simulator): Call rpc_init
558 instead of do_regist.
560 * utils/statd/Makefile (LIBS): link with our own libnfs
562 2001-03-09 H.J. Lu <hjl@lucon.org>
564 * etc/redhat/nfslock.init: Changed chkconfig line to 60 86.
565 * etc/nodist/nfs-client: Likewise.
567 2001-02-26 Chip Salzenberg <chip@valinux.com>
569 * debian/changelog: Version 0.3.1-1.
570 * Mention upstream source and license in copyright file.
571 * Add build-Depends for debhelper and libwrap0-dev.
573 2001-02-20 Lon Hohberger <hohberger@missioncriticallinux.com>
575 * etc/nodist/nfs-server: Changed chkconfig line to 60 20
576 * etc/nodist/nfs-client: Likewise.
578 2001-02-18 Lon Hohberger <hohberger@missioncriticallinux.com>
580 * utils/statd/statd.man: Changed /usr/sbin/rpc.statd to
583 2001-02-17 Patrick J. LoPresti <patl@curl.com>
585 * utils/statd/log.c (log_init): Use LOG_DAEMON instead of
588 2001-02-14 H.J. Lu <hjl@lucon.org>
590 * utils/statd/rmtcall.c: Include <time.h>.
591 * utils/statd/svc_run.c: Likewise.
593 2001-02-14 H.J. Lu <hjl@lucon.org>
595 * configure.in (VERSION): Set to "0.3.1".
596 * configure: Regenerated.
597 * nfs-utils.spec: Likewise.
599 * README: Updated for 0.3.1.
601 2001-02-14 H.J. Lu <hjl@lucon.org>
603 * support/nfs/rpcmisc.c: Include <time.h>.
605 2001-02-14 Chip Salzenberg <chip@valinux.com>
607 * debian/control: Change priority of nhfsstone package to 'extra'.
609 2001-02-12 Chip Salzenberg <chip@valinux.com>
611 * debian/changelog: Version 0.3-2.
613 2001-02-02 H.J. Lu <hjl@lucon.org>
615 * support/include/rpcmisc.h (rpc_init): Remove bufsize.
617 * support/nfs/rpcmisc.c (makesock): Remove socksz and comment
618 out SO_SNDBUF/SO_RCVBUF.
619 (rpc_init): Remove bufsize and remove socksz in calls to
622 * utils/mountd/mountd.c (main): Remove bufsize in calls to
625 2001-01-28 Chip Salzenberg <chip@valinux.com>
627 * debian/changelog: Version 0.3-1.
629 2001-01-25 H.J. Lu <hjl@lucon.org>
631 * configure.in (VERSION): Set to "0.3".
632 * configure: Regenerated.
633 * nfs-utils.spec: Likewise.
635 * README: Updated for 0.3.
637 2001-01-25 H.J. Lu <hjl@lucon.org>
639 * utils/lockd/lockd.c (main): Ignore errno == EINVAL.
641 2001-01-20 Chip Salzenberg <chip@valinux.com>
643 * support/include/xio.h (xgetc): Declare to return int.
644 * support/nfs/xio.c (xgetc): Return int.
645 (xgettok, xskip, xskipcomment): Use int for value of xgetc.
646 * utils/statd/statd.c (main): Use int for value of getopt.
647 * debian/changelog: Version 0.2.1-5.
649 2000-12-10 Chip Salzenberg <chip@valinux.com>
651 * utils/statd/monitor.c (sm_mon_1_svc): Fix buggy check for
652 program and procedure numbers of kernel lockd's callback. Also,
653 besides the old (and broken) procedure #24, allow #16 per Trond.
655 2000-12-03 Chip Salzenberg <chip@valinux.com>
657 * support/nfs/xio.c (xfopen): Initialize x_line to one, not zero.
658 * debian/control: Let nhfsstone replace files in nfs-kernel-server.
659 * debian/changelog: Version 0.2.1-4.
661 2000-11-27 Tobias Ringstrom <tori@tellus.mine.nu>
663 * utils/mountd/auth.c (auth_authenticate): Log the bad path
666 2000-11-24 Neil Brown <neilb@cse.unsw.edu.au>
668 * support/nfs/exports.c (getexportent): Check for host name
669 without option, or options without hostname, and print a warning,
670 as this is most likely a typo.
672 2000-11-19 Chip Salzenberg <chip@valinux.com>
674 * debian/control: Add dependency on portmap.
675 * debian/changelog: Version 0.2.1-3.
677 2000-11-10 H.J. Lu <hjl@lucon.org>
679 * nfs-utils.spec.in: Don't use libtool.
680 Add ChangeLog and COPYING to doc.
681 * nfs-utils.spec: Rebuild.
683 2000-11-09 H.J. Lu <hjl@lucon.org>
685 * etc/redhat/nfs.init (start): Back out the last change.
687 2000-11-09 H.J. Lu <hjl@lucon.org>
689 * etc/redhat/nfs.init (start): Pass --no-tcp to mountd if
690 TCP is not supported by kernel.
692 * support/nfs/rpcmisc.c (rpc_init): Don't set _rpcfdtype to 0.
694 * utils/mountd/mountd.c (longopts): Add "-n/--no-tcp".
695 (main): Set to _rpcfdtype to SOCK_DGRAM for "-n/--no-tcp".
697 * utils/mountd/mountd.man: Updated for "-n/--no-tcp".
699 2000-10-24 Lon Hohberger <hohberger@missioncriticallinux.com>
701 * utils/statd/callback.c: Fix bug preventing callbacks to local lockd.
702 * utils/statd/rmtcall.c: Add some IP address paranoia when doing
703 callbacks to local lockd.
705 2000-10-18 Scott McDermott <mcdermot@questra.com>
707 * utils/exportfs/exports.man: Updated for CIDR netmask.
709 2000-10-17 Scott McDermott <mcdermot@questra.com>
711 * support/export/client.c (client_init): Support CIDR netmask
714 2000-10-11 H.J. Lu <hjl@lucon.org>
716 * aclocal.m4 (AC_TCP_WRAPPER): Fix a typo.
717 * configure: Rebuilt.
719 2000-10-06 Lon Hohberger <hohberger@missioncriticallinux.com>
721 * utils/statd/statd.man: Change "/var/lib/nfs/sm/state" to
722 "/var/lib/nfs/state".
724 2000-10-05 Lon Hohberger <hohberger@missioncriticallinux.com>
726 * utils/statd/statd.h (run_mode): New global bitmask of runtime
727 behaviors: fg/bg, logging, etc.
728 * utils/statd/statd.c: New command line options: -V -h -? -d .
729 * utils/statd/statd.man: Update for changes to statd.
731 * utils/statd/log.h (log_init): Remove parameter of function; use
732 global variable "name_p" instead.
733 * utils/statd/log.c: Add support for logging to stderr.
735 * utils/statd/notlist.c: Partially rewrite notify list handling
736 functions. Eliminate run-off-end-of-list bug when calling
737 nlist_insert_timer. Add lots of comments.
739 2000-09-27 H.J. Lu <hjl@lucon.org>
741 * README: Updated for RedHat 7.0.
743 2000-09-27 H.J. Lu <hjl@lucon.org>
745 * nfs-utils.spec: Rebuild.
747 2000-09-27 H.J. Lu <hjl@lucon.org>
749 * README: Updated for 0.2.1.
751 2000-09-27 H.J. Lu <hjl@lucon.org>
753 * nfs-utils.spec.in: Updated to use rpm macros and support
756 2000-09-25 H.J. Lu <hjl@lucon.org>
758 * configure.in (VERSION): Set to "0.2.1".
759 * configure: Regenerated.
760 * nfs-utils.spec: Updated.
762 2000-09-25 H.J. Lu <hjl@lucon.org>
764 * utils/mountd/auth.c (auth_authenticate_internal): Make sure a
765 non-NULL hostent is always returned.
767 2000-09-11 Ion Badulescu <ionut@cs.columbia.edu>
769 * etc/redhat/nfslock.init: don't kill lockd processes that do not
770 have an executable (i.e. kernel threads)
772 2000-09-01 H.J. Lu <hjl@lucon.org>
774 * README: Updated for 0.2.
776 2000-09-01 Jay Weber <jweber@valinux.com>
778 * etc/redhat/nfs.init: Added ability for rpc.mountd to default to
779 supporting version 3 of nfs if available, else it will fall back to
780 version 2 support only.
782 2000-08-30 H.J. Lu <hjl@lucon.org>
784 * configure.in (VERSION): Set to "0.2".
785 * configure: Regenerated.
786 * nfs-utils.spec: Updated.
788 2000-08-25 H.J. Lu <hjl@lucon.org>
790 * support/misc/tcpwrapper.c (logit): Modify the log output.
792 2000-08-25 Ion Badulescu <ionut@cs.columbia.edu>
794 * utils/rquotad/rquotad.man, utils/statd/statd.man,
795 utils/mountd/mountd.man: updated
797 * utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL)
798 * utils/rquotad/Makefile: fix comment
800 * support/misc/tcpwrapper.c (logit): added comment about waiting
801 for the children after fork()
803 * utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving
804 zombies behind (from logit()'s fork)
805 * utils/rquotad/rquota_svc.c (main): ditto
806 * utils/statd/statd.c (main): ditto
808 * utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG
809 to check_default instead of 0, for prognum
811 * utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG
812 to check_default instead of 0, for prognum
814 * utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if
815 HAVE_TCP_WRAPPER is defined.
816 (mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is
817 defined. Reject an RPC call if check_default () fails.
819 2000-08-25 H.J. Lu <hjl@lucon.org>
821 * support/include/tcpwrapper.h: New for the tcp wrapper
823 * support/misc/Makefile: Likewise.
824 * support/misc/from_local.c: Likewise.
825 * support/misc/tcpwrapper.c: Likewise.
827 * aclocal.m4 (AC_TCP_WRAPPER): New.
828 * configure.in: Use it. Substitute LIBWRAP.
829 * configure: Rebuilt.
831 * config.mk.in (LIBNSL): New.
834 * support/Makefile (SUBDIRS): Add misc.
836 * support/lib/Makefile (LIBS): Add libmisc.a.
838 * utils/rquotad/Makefile (LIBS): Add
840 -lmisc $(LIBWRAP) $(LIBNSL)
842 * utils/statd/Makefile (LIBS): Likewise.
844 * utils/rquotad/rquota_svc.c: Include "tcpwrapper.h" if
845 HAVE_TCP_WRAPPER is defined.
846 (rquotaprog_1): Call check_default () if HAVE_TCP_WRAPPER is
847 defined. Reject an RPC call if check_default () fails.
849 * utils/statd/statd.c: Include "tcpwrapper.h" if
850 HAVE_TCP_WRAPPER is defined.
851 (sm_prog_1_wrapper): New. A wrapper for sm_prog_1. Call
852 check_default () before calling sm_prog_1 (). Define it as
853 sm_prog_1_wrapper if HAVE_TCP_WRAPPER is defined.
855 2000-08-25 Chip Salzenberg <chip@valinux.com>
857 * debian/*: Complete Debian build support.
858 * etc/debian/*: Remove.
860 2000-08-24 Neil Brown <neilb@cse.unsw.edu.au>
862 * support/export/client.c(client_check): removed the "dot+1" as a
863 ypdomain argument to innetgr as this is entirely bogus.
864 It should always be NULL.
866 2000-08-23 Neil Brown <neilb@cse.unsw.edu.au>
868 * support/export/xtab.c(xtab_read): introduce new mode for
869 reading xtab. i.e. a list of exports that might be known to the
870 kernel, or might not. These are flagged as m_exported == -1
871 * support/export/xtab.c(xtab_mount_read): call xtab_read with new
872 value "2" for xtab, meaning don't trust this too much.
873 * support/include/exportfs.h(struct mexport): changed m_exported
874 from one bit to an int so that it can hold new value
875 * utils/exportfs/exportfs.c(exportfs_ipdate): add an export to the
876 kernel if it is uncertain whether the kernel knows (m_exported == -1)
877 * utils/mountd/mountd.c(get_rootfh): similarly export to kernel if
880 * support/nfs/xio.c(xflock): added O_CREAT when getting
881 a write lock so that missing files aren't fatal.
883 * etc/debian/nfs-common: new file from "potato"
884 * etc/debian/nfs-kernel-server: new file from "potato" plus fixes.
886 2000-08-09 H.J. Lu <hjl@lucon.org>
888 * etc/redhat/nfs.init: Run /usr/sbin/exportfs first during
889 startup to ensure all existing clients work fine.
891 * support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0
892 to xtab_read () for reading _PATH_XTAB.
894 2000-08-02 H.J. Lu <hjl@lucon.org>
896 * utils/mountd/auth.c (auth_authenticate_internal): Try to
897 avoid the reverse name lookup.
899 2000-07-04 H.J. Lu <hjl@lucon.org>
901 * utils/statd/log.c: Include <stdlib.h> for exit ().
903 * utils/statd/misc.c (xunlink): Add `{' and `}' to quiet the
906 2000-07-04 H.J. Lu <hjl@lucon.org>
908 * configure.in (VERSION): Set to "0.1.9.1".
909 * configure: Regenerated.
910 * nfs-utils.spec: Updated.
914 2000-07-04 Neil Brown <neilb@cse.unsw.edu.au>
916 * support/export/hostname.c (hostent_dup): Handle the NULL
919 2000-07-03 H.J. Lu <hjl@lucon.org>
921 * README: Update the util-linux requirement.
923 2000-07-03 H.J. Lu <hjl@lucon.org>
925 * configure.in (VERSION): Set to "0.1.9".
926 * configure: Regenerated.
927 * nfs-utils.spec: Updated.
931 2000-07-03 H.J. Lu <hjl@lucon.org>
933 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
934 stop to ensure all clients can still access the server
935 before it is shutdown.
937 2000-06-30 Jeff Uphoff <juphoff@transmeta.com>
939 * tools/rpcgen/rpc_svcout.c (write_msg_out): Generate syslog()
940 calls with format string.
942 2000-06-28 Chip Salzenberg <chip@valinux.com>
944 * utils/statd/log.c (log): Call syslog with format string.
946 2000-06-27 H.J. Lu <hjl@lucon.org>
948 * utils/statd/statd.c (main): Use sysconf (_SC_OPEN_MAX)
951 2000-06-27 H.J. Lu <hjl@lucon.org>
955 2000-06-27 H.J. Lu <hjl@lucon.org>
957 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
958 startup to ensure all existing clients are exported.
960 * configure.in (VERSION): Set to "0.1.8.2".
961 * configure: Regenerated.
962 * nfs-utils.spec: Updated.
964 2000-06-06 H.J. Lu <hjl@lucon.org>
966 * configure.in (VERSION): Set to "0.1.8.1".
967 * configure: Regenerated.
968 * nfs-utils.spec: Updated.
970 2000-06-06 H.J. Lu <hjl@lucon.org>
972 * utils/mountd/mountd.c (mount_dump_1_svc): Cast svc_getcaller
973 to "struct sockaddr_in *" for glibc 2.2.
974 (mount_umnt_1_svc): Likewise.
975 (mount_umntall_1_svc): Likewise.
976 (mount_export_1_svc): Likewise.
977 (mount_exportall_1_svc): Likewise.
978 (mount_pathconf_2_svc): Likewise.
979 (get_rootfh): Likewise.
981 2000-06-04 H.J. Lu <hjl@lucon.org>
983 * etc/redhat/nfs.init: Fix a typo in comment.
985 2000-05-31 H.J. Lu <hjl@lucon.org>
987 * configure.in (VERSION): Set to "0.1.8".
988 * configure: Regenerated.
989 * nfs-utils.spec: Updated.
993 2000-05-31 H.J. Lu <hjl@lucon.org>
995 * configure.in (VERSION): Set to "0.1.7.5".
996 * configure: Regenerated.
997 * nfs-utils.spec: Updated.
999 * support/include/nfslib.h (exportent): Add a new field,
1000 r_count, to count the number of mounts from a client.
1001 (getrmtabent): Take a new argument for position in file.
1002 (putrmtabent): Likewise.
1003 (fgetrmtabent): Likewise.
1004 (fputrmtabent): Likewise.
1005 * support/nfs/rmtab.c (getrmtabent): Handle the new argument
1006 for position in file.
1007 (fgetrmtabent): Likewise.
1008 (putrmtabent): Likewise.
1009 (fputrmtabent): Likewise.
1011 * support/nfs/rmtab.c (fgetrmtabent): Get value for the new
1014 * support/export/rmtab.c (rmtab_read): Pass NULL as the new
1015 argument to getrmtabent (), fgetrmtabent (), putrmtabent ()
1016 and fputrmtabent ().
1017 * utils/mountd/rmtab.c (mountlist_add): Likewise.
1018 (mountlist_del): Likewise.
1019 (mountlist_del_all): Likewise.
1020 (mountlist_list): Likewise.
1022 * utils/mountd/rmtab.c (mountlist_add): Increment "r_count"
1023 for the existing entry and initialize "r_count" to 1.
1024 (mountlist_del): Decrement "r_count".
1026 2000-05-18 H.J. Lu <hjl@lucon.org>
1028 * configure.in (VERSION): Set to "0.1.7.4".
1029 * configure: Regenerated.
1030 * nfs-utils.spec: Updated.
1032 2000-05-18 H.J. Lu <hjl@lucon.org>
1034 * etc/redhat/nfs.init (restart): Just do stop and start.
1036 2000-05-09 Jay Weber <jweber@valinux.com>
1038 * utils/rquotad/hasquota.c: added support for ext3 recognition
1040 * utils/rquotad/mntent.h: Likewise.
1042 2000-05-01 H.J. Lu <hjl@lucon.org>
1044 * configure.in (VERSION): Set to "0.1.7.3".
1045 * configure: Regenerated.
1046 * nfs-utils.spec: Updated.
1048 2000-05-01 H.J. Lu <hjl@lucon.org>
1050 * utils/rquotad/rquota_server.c (getquotainfo): Skip bad
1051 mounting poins in /etc/fstab.
1053 2000-05-01 H.J. Lu <hjl@lucon.org>
1055 * configure.in (VERSION): Set to "0.1.7.2".
1056 * configure: Regenerated.
1057 * nfs-utils.spec: Updated.
1059 2000-05-01 H.J. Lu <hjl@lucon.org>
1061 * utils/rquotad/rquota_server.c (getquotainfo): Call stat ()
1062 to check for the mounting point.
1064 2000-04-29 Chip Salzenberg <chip@valinux.com>
1065 Neil Brown <neilb@cse.unsw.edu.au>
1067 * Really re-use RPC ports.
1068 (Fixes earlier patch. Sorry, Neil.)
1070 2000-04-26 H.J. Lu <hjl@lucon.org>
1072 * configure.in (VERSION): Set to "0.1.7.1".
1073 * configure: Regenerated.
1074 * nfs-utils.spec: Updated.
1076 2000-04-26 H.J. Lu <hjl@lucon.org>
1078 * etc/redhat/nfslock.init: Check if lockd exits before killing
1081 2000-04-25 H.J. Lu <hjl@lucon.org>
1083 * README: Require util-linux-2.10f-mount-rpc.patch for mount.
1085 2000-03-21 Michael Weiser <michael@weiser.saale-net.de>
1087 * support/nfs/exports.c (parsesquash): Correctly set the
1090 Tue Mar 21 11:38:48 EST 2000 NeilBrown <neilb@cse.unsw.edu.au>
1092 * support/include/nfs/nfs.h: Removed knowledge of internals of
1093 kernel filehandles (which can change) and defined nfs_fh_size
1094 which has variable size
1096 * support/nfs/getfh.c: defined getfh_size to use new syscall to
1097 get variable sized file handles, and change getfh{,old} to
1100 * utils/mountd/mountd.c: use nfd_fh_size and call getfh_size for
1103 * tools/Makefile, tools/nlmtest/nlmtest.c
1104 nlmtest.c depended on internel format of file handles, so now
1108 2000-03-12 Chip Salzenberg <chip@valinux.com>
1109 Neil Brown <neilb@cse.unsw.edu.au>
1111 * support/nfs/rpcmisc.c (rpc_init): Share transports.
1113 2000-03-13 H.J. Lu <hjl@lucon.org>
1115 * etc/redhat/nfsd.init: Updated.
1117 * etc/redhat/nfslock.init: Updated.
1119 * nfs-utils.spec.in: Updated.
1121 * configure.in (VERSION): Set to "0.1.7".
1122 * configure: Regenerated.
1123 * nfs-utils.spec: Updated.
1127 Wed Mar 8 09:42:43 2000 Neil Brown <neilb@cse.unsw.edu.au>
1129 * utils/exportfs/exportfs.c (dump): Included printing of
1130 nohide, no_subtree_check, and insecure_locks
1132 2000-02-26 Chip Salzenberg <chip@valinux.com>
1134 * config.mk.in (INSTALLSUID): Strip ("-s").
1135 (INSTALLSCRIPT): Define.
1136 * utils/nhfsstone/Makefile: Use it.
1138 2000-02-26 Chip Salzenberg <chip@valinux.com>
1140 * utils/lockd/lockd.man: Create.
1141 * utils/lockd/Makefile: Install it.
1142 * utils/nhfsstone/nhfs{run,nums,graph}.man: Create.
1143 * utils/nhfsstone/nhfsstone.man: Change suffix from ".1".
1144 * utils/nhfsstone/Makefile: Install the helper scripts and
1146 * utils/exportfs/exports.man: Fix typo.
1148 2000-02-26 Chip Salzenberg <chip@valinux.com>
1150 * support/nfs/xio.c (xungetc): Decrement line number when
1151 character to unget is newline. Make first parameter int, so
1152 it can distinguish EOF from \377.
1153 * support/include/xio.h (xungetc): Adjust prototype.
1155 Fri Feb 4 23:42:23 2000 Neil Brown <neilb@cse.unsw.edu.au>
1157 * support/include/nfs/export.h: added NFSEXP_NOAUTHNLM
1158 * support/nfs/exports.c: added handling for NFSEXP_NOAUTHNLM
1159 * utils/exportfs/exports.man: added documentation for no_auth_nlm.
1161 This is for supporting a new option introduced in 2.3.42
1163 Thu Feb 3 14:55:48 2000 H.J. Lu <hjl@lucon.org>
1165 * COPYING: Added. GPL.
1167 Thu Feb 03 14:40:40 2000 Cristian Gafton <gafton@redhat.com>
1169 * utils/rquotad/rquota_server.c (getquotainfo): Call statfs ()
1170 to get the block size.
1172 Tue Jan 25 11:04:17 2000 H.J. Lu <hjl@lucon.org>
1174 * nfs-utils.spec.in: Update ftp site.
1176 Mon Jan 17 11:48:18 2000 H.J. Lu <hjl@lucon.org>
1178 * README: Update hostnames.
1180 Tue Jan 11 10:06:22 2000 H.J. Lu <hjl@lucon.org>
1182 * configure.in (VERSION): Set to "0.1.6".
1183 * configure: Regenerated.
1184 * nfs-utils.spec: Updated.
1188 Mon Jan 10 14:26:33 2000 H.J. Lu <hjl@lucon.org>
1190 * utils/mountd/auth.c (auth_authenticate_internal): Call
1191 xstrdup for hostname before passing it to gethostbyname.
1193 * utils/mountd/mountd.c (get_exportlist): Use xstrdup instead
1196 Sun Dec 19 09:35:01 1999 H.J. Lu <hjl@lucon.org>
1198 * README: Update the mailing list address.
1200 Sun Dec 19 09:22:28 1999 H.J. Lu <hjl@lucon.org>
1202 * configure.in (VERSION): Set to "0.1.5".
1203 * configure: Regenerated.
1204 * nfs-utils.spec: Updated.
1208 Mon Dec 13 13:40:20 1999 H.J. Lu <hjl@lucon.org>
1210 * utils/rquotad/hasquota.c (hasquota): Malloc one more char
1213 Mon Dec 6 09:42:45 1999 H.J. Lu <hjl@lucon.org>
1215 * configure.in (VERSION): Set to "0.1.4".
1216 * configure: Regenerated.
1217 * nfs-utils.spec: Updated.
1221 Mon Dec 6 09:28:07 1999 H.J. Lu <hjl@lucon.org>
1223 * nfs-utils.spec.in: New file.
1225 * config.mk.in (VERSION): Changed to "nfs-utils @VERSION@".
1227 * configure.in (nfs-utils.spec): Added to AC_OUTPUT.
1229 1999-12-04 Chip Salzenberg <chip@valinux.com>
1231 * config.mk.in: Use $(CC) as set by configure.
1233 1999-12-04 Chip Salzenberg <chip@valinux.com>
1235 * rules.mk: Call $(MAKE) with $(MFLAGS).
1237 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1239 * tools/rpcgen/rpc_main.c (h_output): Generate IXDR_GET_INT32,
1240 IXDR_PUT_INT32, IXDR_GET_U_INT32 and IXDR_PUT_U_INT32.
1242 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1244 * nfs-utils.spec (Version): Set to 0.1.3.
1246 * configure.in (VERSION): Set to "nfs-utils 0.1.3".
1247 * configure: Regenerated.
1251 Mon Nov 29 11:15:47 1999 H.J. Lu <hjl@lucon.org>
1253 * utils/rquotad/rquota_server.c (nfsmount_to_devname): Removed.
1254 (_PATH_DEV_DSK): Likewise.
1255 (getquotainfo): Match the mounting point from /etc/mtab
1256 instead of calling nfsmount_to_devname ().
1258 1999-11-24 Chip Salzenberg <chip@valinux.com>
1260 * utils/statd/monitor.c (sm_mon_1_svc): Accept lockd callbacks
1261 to the new port 24 as well as the historical port 100021.
1263 Tue Nov 23 10:21:34 1999 Neil Brown <neilb@cse.unsw.edu.au>
1265 * etc/redhat/nfsd.init (stop): moved exportfs -ua after
1266 stopping nfsd to stop spurious ESTALE on server shutdown.
1268 Tue Nov 23 10:13:39 1999 Neil Brown <neilb@cse.unsw.edu.au>
1270 * support/nfs/exports.c (parseopts): make copy of opt string
1271 before 'nul'ing out commas so that
1273 # exportfs -o option1,option2 hosta:/fs hostb:/fs
1275 applies both options to both exports.
1277 Thu Oct 28 12:55:42 1999 H.J. Lu <hjl@lucon.org>
1279 * README: Fix a few typos.
1281 * tools/rpcgen/rpc_cout.c (print_header): Use int32_t instead
1283 * tools/rpcgen/rpc_hout.c (pdefine): Likewise.
1284 * tools/rpcgen/rpc_main.c (c_initialize): Likewise.
1285 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1286 (unsigned_dec): Likewise.
1287 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1288 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1290 * tools/rpcgen/rpc_cout.c (emit_single_in_line): Use INT32
1292 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1293 (unsigned_dec): Likewise.
1294 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1295 * tools/rpcgen/rpc_scan.h (tok_kind): Likewise.
1296 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1298 Thu Oct 28 11:27:51 1999 Neil Brown <neilb@cse.unsw.edu.au>
1300 * support/include/nfs/export.h addedd NFSEXP_NOSUBTREECHECK
1301 * support/nfs/exports.c: added {no_,}subtree_check and changed
1303 * utils/exportfs/exports.man: added no_subtree_check and nohide
1304 and removed irrelevant stuff from unfsd.
1305 * support/export/rmtab.c: rmtab_read didn't quite do the right
1306 thing if a pathname from rmtab was a subdirectory of an export-point
1308 Tue Oct 26 17:22:40 1999 H.J. Lu <hjl@lucon.org>
1310 * README: Updated ftp site.
1312 Mon Oct 25 18:12:45 1999 H.J. Lu <hjl@lucon.org>
1314 * nfs-utils.spec (Version): Set to 0.1.2.
1316 * configure.in (VERSION): Set to "nfs-utils 0.1.2".
1317 * configure: Regenerated.
1321 Mon Oct 25 18:11:21 1999 H.J. Lu <hjl@lucon.org>
1323 * utils/mountd/auth.c (auth_error): Add "no_forward_dns".
1324 (auth_authenticate_internal): Check for NULL return on forward
1326 (auth_authenticate): Handle "no_forward_dns".
1328 Thu Oct 21 16:22:06 1999 H.J. Lu <hjl@lucon.org>
1330 * Version 0.1.1 released.
1332 * nfs-utils.spec (Version): Set to 0.1.1.
1334 * configure.in (VERSION): Set to "nfs-utils 0.1.1".
1335 * configure: Regenerated.
1339 Mon Oct 18 17:43:29 1999 H.J. Lu <hjl@lucon.org>
1341 * nfs-utils.spec (Obsoletes): Fixed a typo, change knfsd-client
1343 (Provides): Likewise.
1345 Mon Oct 18 14:56:22 1999 H.J. Lu <hjl@lucon.org>
1347 * Initial version 0.1 released.
1349 * configure.in (VERSION): Set to "nfs-utils 0.1".
1350 * configure: Regenerated.
1352 Mon Oct 18 14:54:57 1999 H.J. Lu <hjl@lucon.org>
1354 * utils/mountd/mountd.c (get_exportlist): Cleanup.
1356 * utils/exportfs/exportfs.c (unexport_all): Unexport from
1357 kernel only if the entry is exported to kernel.
1358 (unexportfs): Likewise.
1360 Wed Sep 08 16:49:32 1999 Neil Brown <neilb@cse.unsw.edu.au>
1362 1/ utils/mountd/rmtab.c::mountlist_list
1364 This routine stats the rmtab file to see if it has changed. It
1365 if has, it cleans up it's old copy of the data. But it still
1366 always re-read the file, thus returning multiple copies of the
1367 data on consecutive calls without intervening changes.
1368 "Showmount -a" didn't show this as it appears to sort/unique the
1369 data, but 'strace showmount -a' showed that the size of the
1370 datagram that it received grew.
1372 I moved the getrmtabent loop inside the mtime test.
1374 2/ utils/exportfs/exportfs.c
1376 Many routines used the m_path field of m_export instead of
1378 According to the comment in nfslib.h, m_path should only
1379 be used when processing a mount request (i.e. in mountd)
1380 where the mountpoint may be a subdirectory of the export point.
1382 I changed all occurances of m_path to e_path
1385 3/ utils/exportfs/exportfs.c:main
1387 extra arguments are not meaningful with -a or -r, but
1388 exportfs accepted them and then ignored the -a/-r, expect that
1389 -r would still unexport everything first.
1391 I generate an error if there are extra args and f_all
1393 4/ utils/exportfs/exportfs.c:main
1394 extract dump out as a special case.
1396 5/ utils/exportfs/exportfs.c
1397 made f_reexport a local variable.
1400 6/ utils/exportfs/exportfs.c:main,exportall
1402 support/export/rmtab.c
1403 only mayexport on newly created entries, don't set xtabent at all
1405 7/ support/include/nfslib.h
1407 add #define _PATH_PROC_EXPORTS to be /proc/fs/nds/exports
1409 8/ support/export/xtab.c
1411 xtab_mount_read loads data from _PATH_PROC_EXPORTS if it exists,
1415 9/ support/export/xtab.c
1417 xtab_mount_read now sets m_exported, and NOT
1418 xtabent and mayexport
1420 removed the append arguement from xtab_write as it was
1423 added is_export flag to xtab_write similar to xtab_read
1424 if is_export, only write entries with m_xtabent or m_addxtab
1425 if !is_export, only write entries with m_exported
1427 10/ support/export/export.c::export_allowed_internal
1429 added test for exp->m_mayexport, as the export tree
1430 may have entries that are no longer allowed to be exported,
1431 and so shouldn't caused deduced exported by rmtab_read
1433 11/ utils/exportfs/exportfs.c::main
1434 error checking of flags.
1436 12/ utils/exportfs/exportfs.c
1438 total rewrite of export and unexport logic.
1440 - build an exportslist of valid exports, based on
1441 current etab file and arguments,
1442 - read rmtab to instantiate relevant wild card entries
1443 - read etab to find out what is currently exported
1444 - synchronise intention with reality
1445 - write out etab and xtab
1448 discard the m_addxtab flag
1449 add m_changed flag so we know what to report in exportfs
1451 14/ utils/mountd/auth.c:auth_authenticate
1453 the value returned by gethostbyaddr was trusted.
1455 It now follows this with a call to gethostbyname
1456 and checks that the address is in the list.
1458 15/ support/export/nfsctl.c::cltsetup,expsetup
1460 force client names to lowercase as kernel is
1463 16/ quietened a few compiler warnings
1465 17/ support/export/client:client_lookup
1467 look for pre-existing client with same name before creating
1470 18/ support/include/exportfs.h
1472 The ordering of the MCL_* enum was:
1473 ANONYMOUS, FQDN, SUBNETWORK, WILDCARD, NETGROUP
1475 I moved ANONYMOUS to the end.
1477 The ordering is significant when an export entry is being searched for to
1478 match a given address. There are two problems with ANONYMOUS being first.
1480 1/ if a directory is exported rw to a couple of hosts and ro to everyone else,
1481 then the ro case will always be found first and the privileged hosts won't get
1483 2/ When mountd gets a request to mount an ANONYMOUSly exported tree, it creates a FQDN
1484 export entry for the specific host, and writes it to xtab.
1485 When another request comes from the same host, the ANONYMOUS entry is found again,
1486 before the new FQDN entry, so it creates another FQDN entry and writes it to xtab
1487 again. If causes bloat in xtab.
1489 Putting ANONYMOUS at the end reflects it's nature as a catch-all
1491 19/ utils/exportfs/exportfs.man
1492 many updates to the man page to reflect changes to the code
1494 -----------------------
1500 - allow exportfs to modify rmtab file
1501 - make sure kernel never gets two clients with same IP address
1502 - possible kernel should reject
1503 - needs to be some way to lookup client in kernel by IP address
1504 - maybe get kernel to do case-insensitive comparisons on client names
1505 - remove unused clients from kernel
1507 - change etab to xtab and xtab to xtab.active
1509 - timestamp and/or statd-stamp in rmtab for removing old entries.
1511 Mon Oct 18 11:48:07 1999 H.J. Lu <hjl@lucon.org>
1513 * linux-nfs: New directory.
1514 * linux-nfs/ChangeLog: Moved from ..
1515 * linux-nfs/INSTALL: Likewise.
1516 * linux-nfs/KNOWNBUGS: Likewise.
1517 * linux-nfs/NEW: Likewise.
1518 * linux-nfs/README: Likewise.
1519 * linux-nfs/THANKS: Likewise.
1520 * linux-nfs/TODO: Likewise.
1522 * Starting from knfsd 1.4.7.