1 2003-03-30 NeilBrown <neilb@cse.unsw.edu.au>
3 * tools/rpcgen/rpc_main.c(find_cpp): removed
4 * tools/rpcgen/rpc_main.c(open_input): use execvp to find "cpp",
5 then try hard-coded paths.
7 2003-03-26 Chip Salzenberg <chip@pobox.com>
9 * debian/changelog: Version 1.0.3-1.
11 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
13 * utils/mountd/rmtab.c (slink_safe_rename): real_newpath should be
14 "const char*", not "char*".
16 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
18 * configure.in (VERSION): Set to "1.0.3".
19 * nfs-utils.spec: Likewise.
20 * configure: Regenerated.
22 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
24 * support/nfs/cacheio.c: New File - support for read/writing
25 to export cache in /proc/rpc/*/channel
26 * support/nfs/Makefile: compile cacheio.c
27 * support/include/nfslib.h: declare cacheio.c functions
28 * support/nfs/nfsexport.c: export and unexport through
29 /proc/rpc/*/channel if possible, as old syscall interface
30 may not survive into 2.6 on all architectures.
32 2003-02-19 NeilBrown <neilb@cse.unsw.edu.au>
33 Ben Leslie <benno@sesgroup.net>
35 * support/nfs/rpcmisc.c(rpc_init): change test for ignoring
36 "defport" from (__rpcfdtype == 0) to (__rpcpmstart==0). The
37 former would incorectly ignore defport if the application
38 explicitly set __rpcfdtype. The later is sufficient to avoid the
39 special handling in the case where stdin is an internet socket.
41 * utils/mountd/mountd.c(main): Add 'n' to option list in
42 getopt_long as this is a short form of --no-tcp which want being
45 2003-02-12 Chip Salzenberg <chip@pobox.com>
47 * debian/changelog: Version 1.0.2-2.
49 2002-11-27 Chip Salzenberg <chip@pobox.com>
51 * utils/mountd/rmtab.c (slink_safe_rename): Fix off-by-one buffer
52 overflow bug. Reformat per rest of source file.
54 2002-11-19 NeilBrown <neilb@cse.unsw.edu.au>
56 * utils/exportfs/exports.man: Correct notes about whether the wild
57 card characters match a period. They do.
59 2002-10-15 Juan Gomez <juang@us.ibm.com>
61 * utils/mountd/rmtab.c (slink_safe_rename): New. Support
63 (mountlist_add): Call slink_safe_rename instead of rename.
65 2002-10-11 H.J. Lu <hjl@lucon.org>
67 * support/include/exportfs.h (export_errno): New.
69 * support/nfs/exports.c: Include <errno.h>.
71 (getexportent): Set export_errno to EINVAL for bad option.
72 (parseopts): Likewise.
73 Report the location of the default sync/async option.
75 * utils/exportfs/exportfs.c (main): Initialize export_errno to
76 0. Return export_errno.
78 2002-10-11 Juan Gomez <gomez@cs.sjsu.edu>
79 NeilBrown <neilb@cse.unsw.edu.au>
81 utils/statd/statd.c(killer): don't pmap_unset if in notify_only mode
82 utils/statd/statd.c(main): don't pmap_unset if in notify_only mode
84 2002-09-16 Chip Salzenberg <chip@pobox.com>
86 * utils/rquotad/rquota_svc.c (main): Use int for value of getopt.
88 2002-09-15 Chip Salzenberg <chip@pobox.com>
90 * support/nfs/rpcmisc.c (rpc_init): Allow stdin to be a non-INET
91 socket, as occurs when run from sshd.
92 * debian/changelog: Version 1.0.2-1.
94 2002-09-12 H.J. Lu <hjl@lucon.org>
96 * support/nfs/svc_socket.c: Remove HAVE_SVCTCP_SOCKET and
99 2002-09-12 H.J. Lu <hjl@lucon.org>
101 * configure.in: Remove checking svctcp_socket and svcudp_socket.
102 * configure: Regenerated.
104 * support/include/config.h.in (HAVE_SVCTCP_SOCKET): Removed.
105 (HAVE_SVCUDP_SOCKET): Removed.
107 * support/include/nfslib.h: Undo the last change.
109 2002-09-12 H.J. Lu <hjl@lucon.org>
111 * support/include/nfslib.h (svctcp_socket): Protect it with
113 (svcudp_socket): Protect it with HAVE_SVCUDP_SOCKET.
115 2002-09-12 H.J. Lu <hjl@lucon.org>
117 * configure.in (VERSION): Set to "1.0.2".
118 * configure: Regenerated.
119 * nfs-utils.spec: Likewise.
121 2002-09-12 H.J. Lu <hjl@lucon.org>
123 * configure.in: Check svctcp_socket and svcudp_socket.
124 * configure: Regenerated.
126 * support/include/config.h.in (HAVE_SVCTCP_SOCKET): New.
127 (HAVE_SVCUDP_SOCKET): New.
129 * support/include/nfslib.h (svctcp_socket): New.
130 (svcudp_socket): New.
132 * support/nfs/Makefile (OBJS): Add svc_socket.o.
134 * support/nfs/svc_socket.c: New.
136 * support/nfs/rpcmisc.c (rpc_init): Call svctcp_socket and
137 svcudp_socket if port is unspecified.
139 * utils/nfsd/nfsd.c (main): Call getservbyname for port.
141 * utils/rquotad/rquota_svc.c: Include <nfslib.h>.
142 (killer): New. Signal handler to unregister.
143 (main): Use killer. Call svcudp_socket to get the default
146 2002-09-02 Juan Gomez <juang@us.ibm.com>
147 NeilBrown <neilb@cse.unsw.edu.au>
149 Add -N option to statd to run in notify-only mode.
151 * utils/statd/statd.h: uncomment MODE_NOTIFY_ONLY
152 * utils/statd/statd.man: document -N
153 * utils/statd/statd.c: enabled -N, largely exists but needed to be
154 uncommented and completed
156 2002-09-02 Juan Gomez <juang@us.ibm.com>
157 NeilBrown <neilb@cse.unsw.edu.au>
159 statd to have " -P directory" arg to use that directory instead
160 of /var/lib/nfs. This is useful for fail-over clusters.
162 * utils/statd/statd.h: define SM_DIR etc as var, not const.
163 * utils/statd/statd.c: define "-P" option to set SM_*
165 * utils/statd/monitor.c: sprintf to cope with SM_DIR not being
167 * utils/statd/notify.c: ditto.
168 * utils/statd/statd.man: document -P option.
170 2002-08-26 Chip Salzenberg <chip@pobox.com>
172 * utils/nfsd/nfsd.man: Fix typo.
173 * debian/changelog: Version 1.0.1-1.
175 2002-05-29 NeilBrown <neilb@cse.unsw.edu.au>
177 * let parseopts know if /etc/exports was being read or not,
178 and have it only print "no sync or async" warning in that case.
180 2002-05-06 Tom McNeal <trmcneal@attbi.com>
181 NeilBrown <neilb@cse.unsw.edu.au>
183 * utils/nfsstat/nfsstat.c: Handle differing format for
184 /proc/net/rpc/nfsd between pre and post 2.4.0
186 2002-04-09 NeilBrown <neilb@cse.unsw.edu.au>
187 James Pearson <james-p@moving-picture.com>
189 * support/nfs/rmtab.c(fendrmtabent): sync changes to
190 storage before returning, as this is critical state
192 2002-04-08 Sean O'Connell <sean@ee.duke.edu>
193 H.J. Lu <hjl@lucon.org>
195 * etc/redhat/nfs: New.
197 2002-04-08 H.J. Lu <hjl@lucon.org>
199 * etc/redhat/nfs.init: Updated.
201 * nfs-utils.spec.in: Updated.
202 * nfs-utils.spec: Regenerated.
204 * utils/mountd/mountd.c (longopts): Fix a typo.
206 * utils/mountd/mountd.man: Updated.
208 2002-04-07 H.J. Lu <hjl@lucon.org>
210 * etc/redhat/nfslock.init (restart): Just do stop and start.
212 * etc/redhat/nfs.init: Fix a typo.
214 2002-04-07 H.J. Lu <hjl@lucon.org>
216 * configure.in (VERSION): Set to "1.0.1".
217 * configure: Regenerated.
218 * nfs-utils.spec: Likewise.
220 * README: Updated for 1.0.1.
222 2002-04-07 Sean O'Connell <sean@ee.duke.edu>
223 H.J. Lu <hjl@lucon.org>
225 * etc/redhat/nfs.init: Read /etc/sysconfig/nfsd for NFS tuning.
227 2002-02-28 Steven Whitehouse <steve@gw.chygwyn.com>
228 NeilBrown <neilb@cse.unsw.edu.au>
230 Add support for fsid=nn export option so that device
231 numbers don't go in filehandles.
232 * support/export/nfsctl.c(expsetup): if exporting and NFSEXP_FSID
233 is set, pass the fsid in-place of the device number
234 * support/nfs/exports.c: parse and print fsid= option.
235 Also check if efname has been set, and use "command line"
236 instead in error messages.
237 Also, use strtol instead of atoi for anon[ug]id= so that
238 bad numbers cause errors.
240 2002-01-17 Adrian Drzewiecki <drze@MissionCriticalLinux.com>
241 NeilBrown <neilb@cse.unsw.edu.au>
243 * support/nfs/exports.c: remove NFSEXP_ASYNC as a default
244 flag so that "sync" becomes the default.
245 Check that either "sync" or "async" is given as an option
246 and warn if neither are present
247 * utils/exportfs/exports.man: change documentation for "sync"
248 to be documentation for "async".
249 * utils/exportfs/exportfs.man: note that "sync" is the default
253 2002-01-02 Chip Salzenberg <chip@pobox.com>
255 * support/export/nfsctl.c (expsetup): Don't export entries that
256 specify id mappings not supported by the kernel. No extant kernel
257 supports any significant mapping, only 'identity' (i.e. none).
258 When other mappings are supported, this code will need changing.
259 * debian/changelog: Version 1.0-2.
261 2001-12-26 Chip Salzenberg <chip@pobox.com>
263 * nfs-utils.spec (Version): Set to "1.0".
264 * configure.in (VERSION): Likewise.
265 * configure: Regenerated.
267 * debian/changelog: Version 1.0-1.
269 * utils/exportfs/exports.man: Emphasize the need for options to
270 immediately follow client names. Explain that wildcards don't
271 usually work on addresses, but may work when reverse DNS fails.
272 Comment out a leftover TP that was TPing our indentation.
273 * utils/mountd/mountd.man, utils/rquotad/rquotad.man,
274 utils/statd/statd.man: Remove refs to non-existent "hosts_allow(5)".
275 * debian/changelog: Version 0.3.3-6.
277 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
279 * support/export/client.c(client_lookup): If a host has multiple
280 IP addresses, then we must always use the result of a
281 gethostbyname, not that of gethostbyaddr for exporting
283 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
285 * support/export/client.c (client_lookup): use strcasecmp when
287 * support/nfs/export.c (getexportent): add fromkernel arg and use
288 different defaults as kernels prior to 2.4.11 assume different
289 defaults in /proc/fs/nfs/exports
290 * support/include/nfslib.h, support/export/export.c,
291 support/export/xtab.c: support extra "fromkernel" arg for
294 2001-12-13 Chip Salzenberg <chip@pobox.com>
296 * debian/changelog: Version 0.3.3-5.
298 2001-11-26 TAKAI Kousuke <takai@vlsi.kuee.kyoto-u.ac.jp>
300 * support/nfs/xio.c (xskip): Call `xungetc' instead of
301 `ungetc' to keep x_line more properly.
303 2001-11-26 Chip Salzenberg <chip@pobox.com>
305 * utils/showmount/showmount.c (main): Don't assume that strings
306 starting with digits are IP addresses.
307 * utils/nfsd/nfsd.c (main): Close all fds and reopen 0,1,2 on
308 /dev/null before nfssvc(). Use syslog to report nfssvc errors.
309 * support/misc/tcpwrapper.c, utils/mountd/mountd.man,
310 utils/rquotad/rquotad.man, utils/statd/statd.man: Fix comments and
311 man pages: We check host names *and* addresses with tcpwrappers.
312 * debian/changelog: Version 0.3.3-4.
314 2001-11-21 Chip Salzenberg <chip@pobox.com>
316 * support/nfs/clients.c (cfname): Added: current clients file name.
317 (setnfsclntent): Set it.
318 ({get,end}nfsclntent, syntaxerr): Use it.
319 * support/nfs/exports.c (efname): Added: current exports file name.
320 (setnfsexportent): Set it.
321 (endnfsexportent, parseopts, getexport, syntaxerr): Use it.
322 (parseopts): Accept old-style "crossmnt" option, for old xtabs.
323 * debian/changelog: Version 0.3.3-3.
325 2001-10-11 Chip Salzenberg <chip@pobox.com>
327 * utils/mountd/mountd.c (main): Close fds > 2 _before_ RPC init.
328 * debian/changelog: Version 0.3.3-2.
330 2001-10-08 Chip Salzenberg <chip@pobox.com>
332 * utils/mountd/mountd.c (main): When daemonizing, close all fds > 2.
333 * utils/Makefile.in: Remove old Makefile in target 'distclean'.
334 * utils/mountd/mountd.man: Update paths to /var/lib.
335 * debian/*: Version 0.3.3-1, with Debian-specific fixes.
337 2001-10-06 Preston Brown <pbrown@redhat.com>
339 * utils/nfsstat/nfsstat.man: Updated.
341 2001-09-24 H.J. Lu <hjl@lucon.org>
343 * configure.in (VERSION): Set to "0.3.3".
344 * configure: Regenerated.
345 * nfs-utils.spec: Likewise.
347 * README: Updated for 0.3.3.
349 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
351 Arrange that "exportfs -au" never does DNS lookup:
353 * support/export/client.c (client_lookup) : add "canonical"
354 flag which says that the hostname is known to be canonical, so
357 * support/export/export.c (export_create) : add "canonical"
358 flag to be passed down to client_lookup
359 * support/export/export.c (export_lookup) : Likewise
361 * support/export/xtab.c (xtab_read) : pass appropriate
362 "canonical" flag to export_lookup and export_create:
363 set if reading list of filesystems currently exports
366 * support/export/export.c (export_read) : pass 0 as
367 "canonical" flag to export_lookup and export_create
368 * support/export/rmtab.s (rmtab_read) : Likewise
370 * support/include/exportfs.h : redeclare various routines
371 to have "canonical" flag
373 * utils/exportfs/exportfs.c (main) : redo logic for
374 "-au" to read in what is currently exported, but never even
375 look at what "should" be exported.
377 * utils/exportfs/exportfs.c (unexportall) : remove this
378 routine. Functionality is completely included in
381 * utils/exportfs/exportfs.c (exportfs) : set "canonical"
382 flag to zero in calls to export_lookup and export_create.
385 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
386 Anne Milicia <milicia@missioncriticallinux.com>
388 * support/export/client.c (client_lookup) call gethostbyadd
389 to make sure that we have a canonical hostname, even for
391 * utils/exportfs/exportfs.c (exportfs) Likewise
393 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
395 * support/nfs/exports.c (putexportent): \octal quote any spaces
397 * support/nfs/xio.c (xgettok): recognise double-quote and
398 \octal quoting in path names
399 * utils/exportfs/exports.man: document quoting conventions
402 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
404 * utils/mountd/auth.c (auth_authenticate_internal): Reverse
405 change from 2000-08-02: It causes problems if someone exports
406 to both a hostname and IP addresses. nfs-utils must be
407 consistant about the canonical name that it chooses.
409 2001-08-17 Ragnar Kjørstad <nfs@ragnark.vestdata.no>
410 H.J. Lu <hjl@lucon.org>
412 * etc/redhat/nfslock.init (STATDARG): New. Pass it to rpc.statd.
414 * utils/statd/statd.c (longopts): Add "name".
415 (usage): Add "-n/--name".
416 (main): Set MY_NAME with "-n/--name".
418 * utils/statd/state.c (change_state): Set MY_NAME only if it
421 * utils/statd/statd.man: Updated for "-n/--name".
423 2001-07-26 H.J. Lu <hjl@lucon.org>
425 * nfs-utils.spec (Release): Set to 8.
427 2001-07-25 H.J. Lu <hjl@lucon.org>
429 * etc/redhat/nfs.init: Check if rpc.rquotad exists before doing
432 2001-06-27 H.J. Lu <hjl@lucon.org>
434 * etc/redhat/nfs.init: Run rpc.rquotad only if it exists.
436 2001-06-27 H.J. Lu <hjl@lucon.org>
438 * utils/rquotad/rquota_server.c: Don't call statfs () for
439 the block size. Use BLOCK_SIZE instead.
441 2001-06-27 H.J. Lu <hjl@lucon.org>
443 * config.mk.in (CC_FOR_BUILD): Renamed from BUILD_CC.
444 (CFLAGS_FOR_BUILD): New. Don't use @CFLAGS@.
446 * configure.in (enable_nfsv3): Set to yes by default.
447 (--enable-rquotad): Added
448 (AC_PROG_CXX): Removed.
449 (AC_OUTPUT): Add utils/Makefile.
450 (CC_FOR_BUILD): Renamed from BUILD_CC.
451 * configure: Regenerated.
453 * utils/Makefile: Removed.
455 * utils/Makefile.in: New.
457 * nfs-utils.spec.in (rquotad): New. Set to 0 to disable
459 (CC_FOR_BUILD): Renamed from BUILD_CC.
460 * nfs-utils.spec: Regenerated.
462 2001-06-15 Chip Salzenberg <chip@debian.org>
464 * debian/changelog: Version 0.3.2-2.
465 * debian/*.init: Minor fixes.
467 2001-06-07 Lon H. Hohberger <hohberger@missioncriticallinux.com>
469 * etc/nodist/nfs-server: Fixed a bug where the script would
470 disable mounts from NFSv3 clients if NFSv3 is present.
472 2001-06-05 H.J. Lu <hjl@lucon.org>
474 * utils/mountd/mountd.c (longopts): Add "descriptors/o".
475 (main): Support --descriptors/-o to set the limit of the number
476 of open file descriptors.
479 * utils/mountd/mountd.man: Updated for --descriptors/-o.
481 2001-06-04 H.J. Lu <hjl@lucon.org>
483 * nfs-utils.spec (Release): Set to 6.
485 2001-05-28 H.J. Lu <hjl@lucon.org>
487 * utils/lockd/lockd.c (main): chdir to NFS_STATEDIR.
488 * utils/mountd/mountd.c (main): Likewise.
489 * utils/nfsd/nfsd.c (main): Likewise.
490 * utils/rquotad/rquota_svc.c (main): Likewise.
492 2001-05-06 Anne Milicia <milicia@missioncriticallinux.com>
494 * support/export/client.c (client_check): Check IP address
497 2001-05-06 Neil Brown <neilb@cse.unsw.edu.au>
499 * support/export/client.c (client_gettype): Treat `*' as
502 2001-04-22 H.J. Lu <hjl@lucon.org>
504 * nfs-utils.spec.in: Fix a typo.
505 * nfs-utils.spec: Regenerated.
507 2001-04-21 H.J. Lu <hjl@lucon.org>
509 * nfs-utils.spec.in: Fix cross build.
510 * nfs-utils.spec: Regenerated.
513 2001-04-18 H.J. Lu <hjl@lucon.org>
515 * nfs-utils.spec.in: Support cross build.
516 * nfs-utils.spec: Regenerated.
522 * config.mk.in (BUILD_CC): New.
523 (CC): Set to $(BUILD_CC) if BUILD is defined.
526 (RANLIB): Set to @RANLIB@.
528 * configure.in: Check BUILD_CC, RANLIB, AR and LD.
529 * configure: Regenerated.
531 * tools/rpcgen/Makefile (BUILD): Set to true.
533 2001-04-01 Chip Salzenberg <chip@valinux.com>
535 * tools/rpcgen/rpc_svcout.c (write_timeout_func): Remove
536 redundant, and sometimes broken, declaration of svc_fdset;
538 * support/nfs/rpcmisc.c (closedown): Likewise.
540 2001-03-21 H.J. Lu <hjl@lucon.org>
542 * nfs-utils.spec: Regenerated.
545 2001-03-21 Ion Badulescu <ionut@cs.columbia.edu>
547 * utils/statd/statd.c (main): make sure file descriptors 0-2
548 are open to /dev/null.
550 2001-03-21 H.J. Lu <hjl@lucon.org>
552 * support/nfs/rpcmisc.c: Restore the change made on 2001-03-10.
553 * support/nfs/rpcmisc.c: Likewise.
554 * utils/rquotad/rquota_svc.c: Likewise.
555 * utils/rquotad/rquotad.man: Likewise.
556 * utils/statd/Makefile: Likewise.
557 * utils/statd/rmtcall.c: Likewise.
558 * utils/statd/simulate.c: Likewise.
559 * utils/statd/statd.c: Likewise.
560 * utils/statd/statd.man: Likewise.
562 2001-03-11 H.J. Lu <hjl@lucon.org>
564 * configure.in (RELEASE): New. Default to 1, set by
565 --with-release=XXX. Substitute nfs-utils.spec.
566 * nfs-utils.spec.in (Release): Set to @RELEASE@.
567 * configure: Regenerated.
568 * nfs-utils.spec: Likewise.
570 2001-03-11 H.J. Lu <hjl@lucon.org>
572 * utils/rquotad/rquotad.man: Fix a typo.
574 2001-03-11 H.J. Lu <hjl@lucon.org>
576 * support/include/rpcmisc.h: Undo the change made on 2001-03-10.
577 * support/nfs/rpcmisc.c: Likewise.
578 * utils/rquotad/rquota_svc.c: Likewise.
579 * utils/rquotad/rquotad.man: Likewise.
580 * utils/statd/Makefile: Likewise.
581 * utils/statd/rmtcall.c: Likewise.
582 * utils/statd/simulate.c: Likewise.
583 * utils/statd/statd.c: Likewise.
584 * utils/statd/statd.man: Likewise.
586 2001-03-10 H.J. Lu <hjl@lucon.org>
588 * configure.in (VERSION): Set to "0.3.2".
589 * configure: Regenerated.
590 * nfs-utils.spec: Likewise.
592 * README: Updated for 0.3.2.
594 2001-03-10 Tavis Barr <tavis@boole.isetr.columbia.edu>
596 * utils/rquotad/rquotad.man: Updated for -p.
597 * utils/statd/statd.man: Likewise.
599 2001-03-10 Ion Badulescu <ionut@cs.columbia.edu>
601 * support/nfs/rpcmisc.c: export makesock()
603 * support/include/rpcmisc.h (makesock): Declared.
605 * utils/rquotad/rquota_svc.c: added longopts, added support for
606 specifying the port to bind to on the command line.
608 * utils/statd/statd.c: ditto, also specify port used for
609 outgoing connections.
610 (do_regist): Removed.
612 * utils/statd/rmtcall.c (statd_get_socket): Renamed from
613 get_socket. Make it extern.
615 * utils/statd/simulate.c (daemon_simulator): Call rpc_init
616 instead of do_regist.
618 * utils/statd/Makefile (LIBS): link with our own libnfs
620 2001-03-09 H.J. Lu <hjl@lucon.org>
622 * etc/redhat/nfslock.init: Changed chkconfig line to 60 86.
623 * etc/nodist/nfs-client: Likewise.
625 2001-02-26 Chip Salzenberg <chip@valinux.com>
627 * debian/changelog: Version 0.3.1-1.
628 * Mention upstream source and license in copyright file.
629 * Add build-Depends for debhelper and libwrap0-dev.
631 2001-02-20 Lon Hohberger <hohberger@missioncriticallinux.com>
633 * etc/nodist/nfs-server: Changed chkconfig line to 60 20
634 * etc/nodist/nfs-client: Likewise.
636 2001-02-18 Lon Hohberger <hohberger@missioncriticallinux.com>
638 * utils/statd/statd.man: Changed /usr/sbin/rpc.statd to
641 2001-02-17 Patrick J. LoPresti <patl@curl.com>
643 * utils/statd/log.c (log_init): Use LOG_DAEMON instead of
646 2001-02-14 H.J. Lu <hjl@lucon.org>
648 * utils/statd/rmtcall.c: Include <time.h>.
649 * utils/statd/svc_run.c: Likewise.
651 2001-02-14 H.J. Lu <hjl@lucon.org>
653 * configure.in (VERSION): Set to "0.3.1".
654 * configure: Regenerated.
655 * nfs-utils.spec: Likewise.
657 * README: Updated for 0.3.1.
659 2001-02-14 H.J. Lu <hjl@lucon.org>
661 * support/nfs/rpcmisc.c: Include <time.h>.
663 2001-02-14 Chip Salzenberg <chip@valinux.com>
665 * debian/control: Change priority of nhfsstone package to 'extra'.
667 2001-02-12 Chip Salzenberg <chip@valinux.com>
669 * debian/changelog: Version 0.3-2.
671 2001-02-02 H.J. Lu <hjl@lucon.org>
673 * support/include/rpcmisc.h (rpc_init): Remove bufsize.
675 * support/nfs/rpcmisc.c (makesock): Remove socksz and comment
676 out SO_SNDBUF/SO_RCVBUF.
677 (rpc_init): Remove bufsize and remove socksz in calls to
680 * utils/mountd/mountd.c (main): Remove bufsize in calls to
683 2001-01-28 Chip Salzenberg <chip@valinux.com>
685 * debian/changelog: Version 0.3-1.
687 2001-01-25 H.J. Lu <hjl@lucon.org>
689 * configure.in (VERSION): Set to "0.3".
690 * configure: Regenerated.
691 * nfs-utils.spec: Likewise.
693 * README: Updated for 0.3.
695 2001-01-25 H.J. Lu <hjl@lucon.org>
697 * utils/lockd/lockd.c (main): Ignore errno == EINVAL.
699 2001-01-20 Chip Salzenberg <chip@valinux.com>
701 * support/include/xio.h (xgetc): Declare to return int.
702 * support/nfs/xio.c (xgetc): Return int.
703 (xgettok, xskip, xskipcomment): Use int for value of xgetc.
704 * utils/statd/statd.c (main): Use int for value of getopt.
705 * debian/changelog: Version 0.2.1-5.
707 2000-12-10 Chip Salzenberg <chip@valinux.com>
709 * utils/statd/monitor.c (sm_mon_1_svc): Fix buggy check for
710 program and procedure numbers of kernel lockd's callback. Also,
711 besides the old (and broken) procedure #24, allow #16 per Trond.
713 2000-12-03 Chip Salzenberg <chip@valinux.com>
715 * support/nfs/xio.c (xfopen): Initialize x_line to one, not zero.
716 * debian/control: Let nhfsstone replace files in nfs-kernel-server.
717 * debian/changelog: Version 0.2.1-4.
719 2000-11-27 Tobias Ringstrom <tori@tellus.mine.nu>
721 * utils/mountd/auth.c (auth_authenticate): Log the bad path
724 2000-11-24 Neil Brown <neilb@cse.unsw.edu.au>
726 * support/nfs/exports.c (getexportent): Check for host name
727 without option, or options without hostname, and print a warning,
728 as this is most likely a typo.
730 2000-11-19 Chip Salzenberg <chip@valinux.com>
732 * debian/control: Add dependency on portmap.
733 * debian/changelog: Version 0.2.1-3.
735 2000-11-10 H.J. Lu <hjl@lucon.org>
737 * nfs-utils.spec.in: Don't use libtool.
738 Add ChangeLog and COPYING to doc.
739 * nfs-utils.spec: Rebuild.
741 2000-11-09 H.J. Lu <hjl@lucon.org>
743 * etc/redhat/nfs.init (start): Back out the last change.
745 2000-11-09 H.J. Lu <hjl@lucon.org>
747 * etc/redhat/nfs.init (start): Pass --no-tcp to mountd if
748 TCP is not supported by kernel.
750 * support/nfs/rpcmisc.c (rpc_init): Don't set _rpcfdtype to 0.
752 * utils/mountd/mountd.c (longopts): Add "-n/--no-tcp".
753 (main): Set to _rpcfdtype to SOCK_DGRAM for "-n/--no-tcp".
755 * utils/mountd/mountd.man: Updated for "-n/--no-tcp".
757 2000-10-24 Lon Hohberger <hohberger@missioncriticallinux.com>
759 * utils/statd/callback.c: Fix bug preventing callbacks to local lockd.
760 * utils/statd/rmtcall.c: Add some IP address paranoia when doing
761 callbacks to local lockd.
763 2000-10-18 Scott McDermott <mcdermot@questra.com>
765 * utils/exportfs/exports.man: Updated for CIDR netmask.
767 2000-10-17 Scott McDermott <mcdermot@questra.com>
769 * support/export/client.c (client_init): Support CIDR netmask
772 2000-10-11 H.J. Lu <hjl@lucon.org>
774 * aclocal.m4 (AC_TCP_WRAPPER): Fix a typo.
775 * configure: Rebuilt.
777 2000-10-06 Lon Hohberger <hohberger@missioncriticallinux.com>
779 * utils/statd/statd.man: Change "/var/lib/nfs/sm/state" to
780 "/var/lib/nfs/state".
782 2000-10-05 Lon Hohberger <hohberger@missioncriticallinux.com>
784 * utils/statd/statd.h (run_mode): New global bitmask of runtime
785 behaviors: fg/bg, logging, etc.
786 * utils/statd/statd.c: New command line options: -V -h -? -d .
787 * utils/statd/statd.man: Update for changes to statd.
789 * utils/statd/log.h (log_init): Remove parameter of function; use
790 global variable "name_p" instead.
791 * utils/statd/log.c: Add support for logging to stderr.
793 * utils/statd/notlist.c: Partially rewrite notify list handling
794 functions. Eliminate run-off-end-of-list bug when calling
795 nlist_insert_timer. Add lots of comments.
797 2000-09-27 H.J. Lu <hjl@lucon.org>
799 * README: Updated for RedHat 7.0.
801 2000-09-27 H.J. Lu <hjl@lucon.org>
803 * nfs-utils.spec: Rebuild.
805 2000-09-27 H.J. Lu <hjl@lucon.org>
807 * README: Updated for 0.2.1.
809 2000-09-27 H.J. Lu <hjl@lucon.org>
811 * nfs-utils.spec.in: Updated to use rpm macros and support
814 2000-09-25 H.J. Lu <hjl@lucon.org>
816 * configure.in (VERSION): Set to "0.2.1".
817 * configure: Regenerated.
818 * nfs-utils.spec: Updated.
820 2000-09-25 H.J. Lu <hjl@lucon.org>
822 * utils/mountd/auth.c (auth_authenticate_internal): Make sure a
823 non-NULL hostent is always returned.
825 2000-09-11 Ion Badulescu <ionut@cs.columbia.edu>
827 * etc/redhat/nfslock.init: don't kill lockd processes that do not
828 have an executable (i.e. kernel threads)
830 2000-09-01 H.J. Lu <hjl@lucon.org>
832 * README: Updated for 0.2.
834 2000-09-01 Jay Weber <jweber@valinux.com>
836 * etc/redhat/nfs.init: Added ability for rpc.mountd to default to
837 supporting version 3 of nfs if available, else it will fall back to
838 version 2 support only.
840 2000-08-30 H.J. Lu <hjl@lucon.org>
842 * configure.in (VERSION): Set to "0.2".
843 * configure: Regenerated.
844 * nfs-utils.spec: Updated.
846 2000-08-25 H.J. Lu <hjl@lucon.org>
848 * support/misc/tcpwrapper.c (logit): Modify the log output.
850 2000-08-25 Ion Badulescu <ionut@cs.columbia.edu>
852 * utils/rquotad/rquotad.man, utils/statd/statd.man,
853 utils/mountd/mountd.man: updated
855 * utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL)
856 * utils/rquotad/Makefile: fix comment
858 * support/misc/tcpwrapper.c (logit): added comment about waiting
859 for the children after fork()
861 * utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving
862 zombies behind (from logit()'s fork)
863 * utils/rquotad/rquota_svc.c (main): ditto
864 * utils/statd/statd.c (main): ditto
866 * utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG
867 to check_default instead of 0, for prognum
869 * utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG
870 to check_default instead of 0, for prognum
872 * utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if
873 HAVE_TCP_WRAPPER is defined.
874 (mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is
875 defined. Reject an RPC call if check_default () fails.
877 2000-08-25 H.J. Lu <hjl@lucon.org>
879 * support/include/tcpwrapper.h: New for the tcp wrapper
881 * support/misc/Makefile: Likewise.
882 * support/misc/from_local.c: Likewise.
883 * support/misc/tcpwrapper.c: Likewise.
885 * aclocal.m4 (AC_TCP_WRAPPER): New.
886 * configure.in: Use it. Substitute LIBWRAP.
887 * configure: Rebuilt.
889 * config.mk.in (LIBNSL): New.
892 * support/Makefile (SUBDIRS): Add misc.
894 * support/lib/Makefile (LIBS): Add libmisc.a.
896 * utils/rquotad/Makefile (LIBS): Add
898 -lmisc $(LIBWRAP) $(LIBNSL)
900 * utils/statd/Makefile (LIBS): Likewise.
902 * utils/rquotad/rquota_svc.c: Include "tcpwrapper.h" if
903 HAVE_TCP_WRAPPER is defined.
904 (rquotaprog_1): Call check_default () if HAVE_TCP_WRAPPER is
905 defined. Reject an RPC call if check_default () fails.
907 * utils/statd/statd.c: Include "tcpwrapper.h" if
908 HAVE_TCP_WRAPPER is defined.
909 (sm_prog_1_wrapper): New. A wrapper for sm_prog_1. Call
910 check_default () before calling sm_prog_1 (). Define it as
911 sm_prog_1_wrapper if HAVE_TCP_WRAPPER is defined.
913 2000-08-25 Chip Salzenberg <chip@valinux.com>
915 * debian/*: Complete Debian build support.
916 * etc/debian/*: Remove.
918 2000-08-24 Neil Brown <neilb@cse.unsw.edu.au>
920 * support/export/client.c(client_check): removed the "dot+1" as a
921 ypdomain argument to innetgr as this is entirely bogus.
922 It should always be NULL.
924 2000-08-23 Neil Brown <neilb@cse.unsw.edu.au>
926 * support/export/xtab.c(xtab_read): introduce new mode for
927 reading xtab. i.e. a list of exports that might be known to the
928 kernel, or might not. These are flagged as m_exported == -1
929 * support/export/xtab.c(xtab_mount_read): call xtab_read with new
930 value "2" for xtab, meaning don't trust this too much.
931 * support/include/exportfs.h(struct mexport): changed m_exported
932 from one bit to an int so that it can hold new value
933 * utils/exportfs/exportfs.c(exportfs_ipdate): add an export to the
934 kernel if it is uncertain whether the kernel knows (m_exported == -1)
935 * utils/mountd/mountd.c(get_rootfh): similarly export to kernel if
938 * support/nfs/xio.c(xflock): added O_CREAT when getting
939 a write lock so that missing files aren't fatal.
941 * etc/debian/nfs-common: new file from "potato"
942 * etc/debian/nfs-kernel-server: new file from "potato" plus fixes.
944 2000-08-09 H.J. Lu <hjl@lucon.org>
946 * etc/redhat/nfs.init: Run /usr/sbin/exportfs first during
947 startup to ensure all existing clients work fine.
949 * support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0
950 to xtab_read () for reading _PATH_XTAB.
952 2000-08-02 H.J. Lu <hjl@lucon.org>
954 * utils/mountd/auth.c (auth_authenticate_internal): Try to
955 avoid the reverse name lookup.
957 2000-07-04 H.J. Lu <hjl@lucon.org>
959 * utils/statd/log.c: Include <stdlib.h> for exit ().
961 * utils/statd/misc.c (xunlink): Add `{' and `}' to quiet the
964 2000-07-04 H.J. Lu <hjl@lucon.org>
966 * configure.in (VERSION): Set to "0.1.9.1".
967 * configure: Regenerated.
968 * nfs-utils.spec: Updated.
972 2000-07-04 Neil Brown <neilb@cse.unsw.edu.au>
974 * support/export/hostname.c (hostent_dup): Handle the NULL
977 2000-07-03 H.J. Lu <hjl@lucon.org>
979 * README: Update the util-linux requirement.
981 2000-07-03 H.J. Lu <hjl@lucon.org>
983 * configure.in (VERSION): Set to "0.1.9".
984 * configure: Regenerated.
985 * nfs-utils.spec: Updated.
989 2000-07-03 H.J. Lu <hjl@lucon.org>
991 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
992 stop to ensure all clients can still access the server
993 before it is shutdown.
995 2000-06-30 Jeff Uphoff <juphoff@transmeta.com>
997 * tools/rpcgen/rpc_svcout.c (write_msg_out): Generate syslog()
998 calls with format string.
1000 2000-06-28 Chip Salzenberg <chip@valinux.com>
1002 * utils/statd/log.c (log): Call syslog with format string.
1004 2000-06-27 H.J. Lu <hjl@lucon.org>
1006 * utils/statd/statd.c (main): Use sysconf (_SC_OPEN_MAX)
1007 instead of OPEN_MAX.
1009 2000-06-27 H.J. Lu <hjl@lucon.org>
1013 2000-06-27 H.J. Lu <hjl@lucon.org>
1015 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
1016 startup to ensure all existing clients are exported.
1018 * configure.in (VERSION): Set to "0.1.8.2".
1019 * configure: Regenerated.
1020 * nfs-utils.spec: Updated.
1022 2000-06-06 H.J. Lu <hjl@lucon.org>
1024 * configure.in (VERSION): Set to "0.1.8.1".
1025 * configure: Regenerated.
1026 * nfs-utils.spec: Updated.
1028 2000-06-06 H.J. Lu <hjl@lucon.org>
1030 * utils/mountd/mountd.c (mount_dump_1_svc): Cast svc_getcaller
1031 to "struct sockaddr_in *" for glibc 2.2.
1032 (mount_umnt_1_svc): Likewise.
1033 (mount_umntall_1_svc): Likewise.
1034 (mount_export_1_svc): Likewise.
1035 (mount_exportall_1_svc): Likewise.
1036 (mount_pathconf_2_svc): Likewise.
1037 (get_rootfh): Likewise.
1039 2000-06-04 H.J. Lu <hjl@lucon.org>
1041 * etc/redhat/nfs.init: Fix a typo in comment.
1043 2000-05-31 H.J. Lu <hjl@lucon.org>
1045 * configure.in (VERSION): Set to "0.1.8".
1046 * configure: Regenerated.
1047 * nfs-utils.spec: Updated.
1051 2000-05-31 H.J. Lu <hjl@lucon.org>
1053 * configure.in (VERSION): Set to "0.1.7.5".
1054 * configure: Regenerated.
1055 * nfs-utils.spec: Updated.
1057 * support/include/nfslib.h (exportent): Add a new field,
1058 r_count, to count the number of mounts from a client.
1059 (getrmtabent): Take a new argument for position in file.
1060 (putrmtabent): Likewise.
1061 (fgetrmtabent): Likewise.
1062 (fputrmtabent): Likewise.
1063 * support/nfs/rmtab.c (getrmtabent): Handle the new argument
1064 for position in file.
1065 (fgetrmtabent): Likewise.
1066 (putrmtabent): Likewise.
1067 (fputrmtabent): Likewise.
1069 * support/nfs/rmtab.c (fgetrmtabent): Get value for the new
1072 * support/export/rmtab.c (rmtab_read): Pass NULL as the new
1073 argument to getrmtabent (), fgetrmtabent (), putrmtabent ()
1074 and fputrmtabent ().
1075 * utils/mountd/rmtab.c (mountlist_add): Likewise.
1076 (mountlist_del): Likewise.
1077 (mountlist_del_all): Likewise.
1078 (mountlist_list): Likewise.
1080 * utils/mountd/rmtab.c (mountlist_add): Increment "r_count"
1081 for the existing entry and initialize "r_count" to 1.
1082 (mountlist_del): Decrement "r_count".
1084 2000-05-18 H.J. Lu <hjl@lucon.org>
1086 * configure.in (VERSION): Set to "0.1.7.4".
1087 * configure: Regenerated.
1088 * nfs-utils.spec: Updated.
1090 2000-05-18 H.J. Lu <hjl@lucon.org>
1092 * etc/redhat/nfs.init (restart): Just do stop and start.
1094 2000-05-09 Jay Weber <jweber@valinux.com>
1096 * utils/rquotad/hasquota.c: added support for ext3 recognition
1098 * utils/rquotad/mntent.h: Likewise.
1100 2000-05-01 H.J. Lu <hjl@lucon.org>
1102 * configure.in (VERSION): Set to "0.1.7.3".
1103 * configure: Regenerated.
1104 * nfs-utils.spec: Updated.
1106 2000-05-01 H.J. Lu <hjl@lucon.org>
1108 * utils/rquotad/rquota_server.c (getquotainfo): Skip bad
1109 mounting poins in /etc/fstab.
1111 2000-05-01 H.J. Lu <hjl@lucon.org>
1113 * configure.in (VERSION): Set to "0.1.7.2".
1114 * configure: Regenerated.
1115 * nfs-utils.spec: Updated.
1117 2000-05-01 H.J. Lu <hjl@lucon.org>
1119 * utils/rquotad/rquota_server.c (getquotainfo): Call stat ()
1120 to check for the mounting point.
1122 2000-04-29 Chip Salzenberg <chip@valinux.com>
1123 Neil Brown <neilb@cse.unsw.edu.au>
1125 * Really re-use RPC ports.
1126 (Fixes earlier patch. Sorry, Neil.)
1128 2000-04-26 H.J. Lu <hjl@lucon.org>
1130 * configure.in (VERSION): Set to "0.1.7.1".
1131 * configure: Regenerated.
1132 * nfs-utils.spec: Updated.
1134 2000-04-26 H.J. Lu <hjl@lucon.org>
1136 * etc/redhat/nfslock.init: Check if lockd exits before killing
1139 2000-04-25 H.J. Lu <hjl@lucon.org>
1141 * README: Require util-linux-2.10f-mount-rpc.patch for mount.
1143 2000-03-21 Michael Weiser <michael@weiser.saale-net.de>
1145 * support/nfs/exports.c (parsesquash): Correctly set the
1148 Tue Mar 21 11:38:48 EST 2000 NeilBrown <neilb@cse.unsw.edu.au>
1150 * support/include/nfs/nfs.h: Removed knowledge of internals of
1151 kernel filehandles (which can change) and defined nfs_fh_size
1152 which has variable size
1154 * support/nfs/getfh.c: defined getfh_size to use new syscall to
1155 get variable sized file handles, and change getfh{,old} to
1158 * utils/mountd/mountd.c: use nfd_fh_size and call getfh_size for
1161 * tools/Makefile, tools/nlmtest/nlmtest.c
1162 nlmtest.c depended on internel format of file handles, so now
1166 2000-03-12 Chip Salzenberg <chip@valinux.com>
1167 Neil Brown <neilb@cse.unsw.edu.au>
1169 * support/nfs/rpcmisc.c (rpc_init): Share transports.
1171 2000-03-13 H.J. Lu <hjl@lucon.org>
1173 * etc/redhat/nfsd.init: Updated.
1175 * etc/redhat/nfslock.init: Updated.
1177 * nfs-utils.spec.in: Updated.
1179 * configure.in (VERSION): Set to "0.1.7".
1180 * configure: Regenerated.
1181 * nfs-utils.spec: Updated.
1185 Wed Mar 8 09:42:43 2000 Neil Brown <neilb@cse.unsw.edu.au>
1187 * utils/exportfs/exportfs.c (dump): Included printing of
1188 nohide, no_subtree_check, and insecure_locks
1190 2000-02-26 Chip Salzenberg <chip@valinux.com>
1192 * config.mk.in (INSTALLSUID): Strip ("-s").
1193 (INSTALLSCRIPT): Define.
1194 * utils/nhfsstone/Makefile: Use it.
1196 2000-02-26 Chip Salzenberg <chip@valinux.com>
1198 * utils/lockd/lockd.man: Create.
1199 * utils/lockd/Makefile: Install it.
1200 * utils/nhfsstone/nhfs{run,nums,graph}.man: Create.
1201 * utils/nhfsstone/nhfsstone.man: Change suffix from ".1".
1202 * utils/nhfsstone/Makefile: Install the helper scripts and
1204 * utils/exportfs/exports.man: Fix typo.
1206 2000-02-26 Chip Salzenberg <chip@valinux.com>
1208 * support/nfs/xio.c (xungetc): Decrement line number when
1209 character to unget is newline. Make first parameter int, so
1210 it can distinguish EOF from \377.
1211 * support/include/xio.h (xungetc): Adjust prototype.
1213 Fri Feb 4 23:42:23 2000 Neil Brown <neilb@cse.unsw.edu.au>
1215 * support/include/nfs/export.h: added NFSEXP_NOAUTHNLM
1216 * support/nfs/exports.c: added handling for NFSEXP_NOAUTHNLM
1217 * utils/exportfs/exports.man: added documentation for no_auth_nlm.
1219 This is for supporting a new option introduced in 2.3.42
1221 Thu Feb 3 14:55:48 2000 H.J. Lu <hjl@lucon.org>
1223 * COPYING: Added. GPL.
1225 Thu Feb 03 14:40:40 2000 Cristian Gafton <gafton@redhat.com>
1227 * utils/rquotad/rquota_server.c (getquotainfo): Call statfs ()
1228 to get the block size.
1230 Tue Jan 25 11:04:17 2000 H.J. Lu <hjl@lucon.org>
1232 * nfs-utils.spec.in: Update ftp site.
1234 Mon Jan 17 11:48:18 2000 H.J. Lu <hjl@lucon.org>
1236 * README: Update hostnames.
1238 Tue Jan 11 10:06:22 2000 H.J. Lu <hjl@lucon.org>
1240 * configure.in (VERSION): Set to "0.1.6".
1241 * configure: Regenerated.
1242 * nfs-utils.spec: Updated.
1246 Mon Jan 10 14:26:33 2000 H.J. Lu <hjl@lucon.org>
1248 * utils/mountd/auth.c (auth_authenticate_internal): Call
1249 xstrdup for hostname before passing it to gethostbyname.
1251 * utils/mountd/mountd.c (get_exportlist): Use xstrdup instead
1254 Sun Dec 19 09:35:01 1999 H.J. Lu <hjl@lucon.org>
1256 * README: Update the mailing list address.
1258 Sun Dec 19 09:22:28 1999 H.J. Lu <hjl@lucon.org>
1260 * configure.in (VERSION): Set to "0.1.5".
1261 * configure: Regenerated.
1262 * nfs-utils.spec: Updated.
1266 Mon Dec 13 13:40:20 1999 H.J. Lu <hjl@lucon.org>
1268 * utils/rquotad/hasquota.c (hasquota): Malloc one more char
1271 Mon Dec 6 09:42:45 1999 H.J. Lu <hjl@lucon.org>
1273 * configure.in (VERSION): Set to "0.1.4".
1274 * configure: Regenerated.
1275 * nfs-utils.spec: Updated.
1279 Mon Dec 6 09:28:07 1999 H.J. Lu <hjl@lucon.org>
1281 * nfs-utils.spec.in: New file.
1283 * config.mk.in (VERSION): Changed to "nfs-utils @VERSION@".
1285 * configure.in (nfs-utils.spec): Added to AC_OUTPUT.
1287 1999-12-04 Chip Salzenberg <chip@valinux.com>
1289 * config.mk.in: Use $(CC) as set by configure.
1291 1999-12-04 Chip Salzenberg <chip@valinux.com>
1293 * rules.mk: Call $(MAKE) with $(MFLAGS).
1295 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1297 * tools/rpcgen/rpc_main.c (h_output): Generate IXDR_GET_INT32,
1298 IXDR_PUT_INT32, IXDR_GET_U_INT32 and IXDR_PUT_U_INT32.
1300 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1302 * nfs-utils.spec (Version): Set to 0.1.3.
1304 * configure.in (VERSION): Set to "nfs-utils 0.1.3".
1305 * configure: Regenerated.
1309 Mon Nov 29 11:15:47 1999 H.J. Lu <hjl@lucon.org>
1311 * utils/rquotad/rquota_server.c (nfsmount_to_devname): Removed.
1312 (_PATH_DEV_DSK): Likewise.
1313 (getquotainfo): Match the mounting point from /etc/mtab
1314 instead of calling nfsmount_to_devname ().
1316 1999-11-24 Chip Salzenberg <chip@valinux.com>
1318 * utils/statd/monitor.c (sm_mon_1_svc): Accept lockd callbacks
1319 to the new port 24 as well as the historical port 100021.
1321 Tue Nov 23 10:21:34 1999 Neil Brown <neilb@cse.unsw.edu.au>
1323 * etc/redhat/nfsd.init (stop): moved exportfs -ua after
1324 stopping nfsd to stop spurious ESTALE on server shutdown.
1326 Tue Nov 23 10:13:39 1999 Neil Brown <neilb@cse.unsw.edu.au>
1328 * support/nfs/exports.c (parseopts): make copy of opt string
1329 before 'nul'ing out commas so that
1331 # exportfs -o option1,option2 hosta:/fs hostb:/fs
1333 applies both options to both exports.
1335 Thu Oct 28 12:55:42 1999 H.J. Lu <hjl@lucon.org>
1337 * README: Fix a few typos.
1339 * tools/rpcgen/rpc_cout.c (print_header): Use int32_t instead
1341 * tools/rpcgen/rpc_hout.c (pdefine): Likewise.
1342 * tools/rpcgen/rpc_main.c (c_initialize): Likewise.
1343 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1344 (unsigned_dec): Likewise.
1345 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1346 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1348 * tools/rpcgen/rpc_cout.c (emit_single_in_line): Use INT32
1350 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1351 (unsigned_dec): Likewise.
1352 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1353 * tools/rpcgen/rpc_scan.h (tok_kind): Likewise.
1354 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1356 Thu Oct 28 11:27:51 1999 Neil Brown <neilb@cse.unsw.edu.au>
1358 * support/include/nfs/export.h addedd NFSEXP_NOSUBTREECHECK
1359 * support/nfs/exports.c: added {no_,}subtree_check and changed
1361 * utils/exportfs/exports.man: added no_subtree_check and nohide
1362 and removed irrelevant stuff from unfsd.
1363 * support/export/rmtab.c: rmtab_read didn't quite do the right
1364 thing if a pathname from rmtab was a subdirectory of an export-point
1366 Tue Oct 26 17:22:40 1999 H.J. Lu <hjl@lucon.org>
1368 * README: Updated ftp site.
1370 Mon Oct 25 18:12:45 1999 H.J. Lu <hjl@lucon.org>
1372 * nfs-utils.spec (Version): Set to 0.1.2.
1374 * configure.in (VERSION): Set to "nfs-utils 0.1.2".
1375 * configure: Regenerated.
1379 Mon Oct 25 18:11:21 1999 H.J. Lu <hjl@lucon.org>
1381 * utils/mountd/auth.c (auth_error): Add "no_forward_dns".
1382 (auth_authenticate_internal): Check for NULL return on forward
1384 (auth_authenticate): Handle "no_forward_dns".
1386 Thu Oct 21 16:22:06 1999 H.J. Lu <hjl@lucon.org>
1388 * Version 0.1.1 released.
1390 * nfs-utils.spec (Version): Set to 0.1.1.
1392 * configure.in (VERSION): Set to "nfs-utils 0.1.1".
1393 * configure: Regenerated.
1397 Mon Oct 18 17:43:29 1999 H.J. Lu <hjl@lucon.org>
1399 * nfs-utils.spec (Obsoletes): Fixed a typo, change knfsd-client
1401 (Provides): Likewise.
1403 Mon Oct 18 14:56:22 1999 H.J. Lu <hjl@lucon.org>
1405 * Initial version 0.1 released.
1407 * configure.in (VERSION): Set to "nfs-utils 0.1".
1408 * configure: Regenerated.
1410 Mon Oct 18 14:54:57 1999 H.J. Lu <hjl@lucon.org>
1412 * utils/mountd/mountd.c (get_exportlist): Cleanup.
1414 * utils/exportfs/exportfs.c (unexport_all): Unexport from
1415 kernel only if the entry is exported to kernel.
1416 (unexportfs): Likewise.
1418 Wed Sep 08 16:49:32 1999 Neil Brown <neilb@cse.unsw.edu.au>
1420 1/ utils/mountd/rmtab.c::mountlist_list
1422 This routine stats the rmtab file to see if it has changed. It
1423 if has, it cleans up it's old copy of the data. But it still
1424 always re-read the file, thus returning multiple copies of the
1425 data on consecutive calls without intervening changes.
1426 "Showmount -a" didn't show this as it appears to sort/unique the
1427 data, but 'strace showmount -a' showed that the size of the
1428 datagram that it received grew.
1430 I moved the getrmtabent loop inside the mtime test.
1432 2/ utils/exportfs/exportfs.c
1434 Many routines used the m_path field of m_export instead of
1436 According to the comment in nfslib.h, m_path should only
1437 be used when processing a mount request (i.e. in mountd)
1438 where the mountpoint may be a subdirectory of the export point.
1440 I changed all occurances of m_path to e_path
1443 3/ utils/exportfs/exportfs.c:main
1445 extra arguments are not meaningful with -a or -r, but
1446 exportfs accepted them and then ignored the -a/-r, expect that
1447 -r would still unexport everything first.
1449 I generate an error if there are extra args and f_all
1451 4/ utils/exportfs/exportfs.c:main
1452 extract dump out as a special case.
1454 5/ utils/exportfs/exportfs.c
1455 made f_reexport a local variable.
1458 6/ utils/exportfs/exportfs.c:main,exportall
1460 support/export/rmtab.c
1461 only mayexport on newly created entries, don't set xtabent at all
1463 7/ support/include/nfslib.h
1465 add #define _PATH_PROC_EXPORTS to be /proc/fs/nds/exports
1467 8/ support/export/xtab.c
1469 xtab_mount_read loads data from _PATH_PROC_EXPORTS if it exists,
1473 9/ support/export/xtab.c
1475 xtab_mount_read now sets m_exported, and NOT
1476 xtabent and mayexport
1478 removed the append arguement from xtab_write as it was
1481 added is_export flag to xtab_write similar to xtab_read
1482 if is_export, only write entries with m_xtabent or m_addxtab
1483 if !is_export, only write entries with m_exported
1485 10/ support/export/export.c::export_allowed_internal
1487 added test for exp->m_mayexport, as the export tree
1488 may have entries that are no longer allowed to be exported,
1489 and so shouldn't caused deduced exported by rmtab_read
1491 11/ utils/exportfs/exportfs.c::main
1492 error checking of flags.
1494 12/ utils/exportfs/exportfs.c
1496 total rewrite of export and unexport logic.
1498 - build an exportslist of valid exports, based on
1499 current etab file and arguments,
1500 - read rmtab to instantiate relevant wild card entries
1501 - read etab to find out what is currently exported
1502 - synchronise intention with reality
1503 - write out etab and xtab
1506 discard the m_addxtab flag
1507 add m_changed flag so we know what to report in exportfs
1509 14/ utils/mountd/auth.c:auth_authenticate
1511 the value returned by gethostbyaddr was trusted.
1513 It now follows this with a call to gethostbyname
1514 and checks that the address is in the list.
1516 15/ support/export/nfsctl.c::cltsetup,expsetup
1518 force client names to lowercase as kernel is
1521 16/ quietened a few compiler warnings
1523 17/ support/export/client:client_lookup
1525 look for pre-existing client with same name before creating
1528 18/ support/include/exportfs.h
1530 The ordering of the MCL_* enum was:
1531 ANONYMOUS, FQDN, SUBNETWORK, WILDCARD, NETGROUP
1533 I moved ANONYMOUS to the end.
1535 The ordering is significant when an export entry is being searched for to
1536 match a given address. There are two problems with ANONYMOUS being first.
1538 1/ if a directory is exported rw to a couple of hosts and ro to everyone else,
1539 then the ro case will always be found first and the privileged hosts won't get
1541 2/ When mountd gets a request to mount an ANONYMOUSly exported tree, it creates a FQDN
1542 export entry for the specific host, and writes it to xtab.
1543 When another request comes from the same host, the ANONYMOUS entry is found again,
1544 before the new FQDN entry, so it creates another FQDN entry and writes it to xtab
1545 again. If causes bloat in xtab.
1547 Putting ANONYMOUS at the end reflects it's nature as a catch-all
1549 19/ utils/exportfs/exportfs.man
1550 many updates to the man page to reflect changes to the code
1552 -----------------------
1558 - allow exportfs to modify rmtab file
1559 - make sure kernel never gets two clients with same IP address
1560 - possible kernel should reject
1561 - needs to be some way to lookup client in kernel by IP address
1562 - maybe get kernel to do case-insensitive comparisons on client names
1563 - remove unused clients from kernel
1565 - change etab to xtab and xtab to xtab.active
1567 - timestamp and/or statd-stamp in rmtab for removing old entries.
1569 Mon Oct 18 11:48:07 1999 H.J. Lu <hjl@lucon.org>
1571 * linux-nfs: New directory.
1572 * linux-nfs/ChangeLog: Moved from ..
1573 * linux-nfs/INSTALL: Likewise.
1574 * linux-nfs/KNOWNBUGS: Likewise.
1575 * linux-nfs/NEW: Likewise.
1576 * linux-nfs/README: Likewise.
1577 * linux-nfs/THANKS: Likewise.
1578 * linux-nfs/TODO: Likewise.
1580 * Starting from knfsd 1.4.7.