1 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
3 * support/export/hostname.c(get_reliable_hostbyaddr): new function
4 to get host name from address with full checking of authenticity.
5 * support/include/misc.h: declare above function
6 * utils/mountd/auth.c(auth_authenticate_internal): remove all
7 logic for authenticating address.
8 * utils/mountd/auth.c(auth_authenticate): call new
9 get_reliable_hostbyaddr to to hostname lookup before calling _internal.
12 2003-03-30 NeilBrown <neilb@cse.unsw.edu.au>
14 * tools/rpcgen/rpc_main.c(find_cpp): removed
15 * tools/rpcgen/rpc_main.c(open_input): use execvp to find "cpp",
16 then try hard-coded paths.
18 2003-03-26 Chip Salzenberg <chip@pobox.com>
20 * debian/changelog: Version 1.0.3-1.
22 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
24 * utils/mountd/rmtab.c (slink_safe_rename): real_newpath should be
25 "const char*", not "char*".
27 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
29 * configure.in (VERSION): Set to "1.0.3".
30 * nfs-utils.spec: Likewise.
31 * configure: Regenerated.
33 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
35 * support/nfs/cacheio.c: New File - support for read/writing
36 to export cache in /proc/rpc/*/channel
37 * support/nfs/Makefile: compile cacheio.c
38 * support/include/nfslib.h: declare cacheio.c functions
39 * support/nfs/nfsexport.c: export and unexport through
40 /proc/rpc/*/channel if possible, as old syscall interface
41 may not survive into 2.6 on all architectures.
43 2003-02-19 NeilBrown <neilb@cse.unsw.edu.au>
44 Ben Leslie <benno@sesgroup.net>
46 * support/nfs/rpcmisc.c(rpc_init): change test for ignoring
47 "defport" from (__rpcfdtype == 0) to (__rpcpmstart==0). The
48 former would incorectly ignore defport if the application
49 explicitly set __rpcfdtype. The later is sufficient to avoid the
50 special handling in the case where stdin is an internet socket.
52 * utils/mountd/mountd.c(main): Add 'n' to option list in
53 getopt_long as this is a short form of --no-tcp which want being
56 2003-02-12 Chip Salzenberg <chip@pobox.com>
58 * debian/changelog: Version 1.0.2-2.
60 2002-11-27 Chip Salzenberg <chip@pobox.com>
62 * utils/mountd/rmtab.c (slink_safe_rename): Fix off-by-one buffer
63 overflow bug. Reformat per rest of source file.
65 2002-11-19 NeilBrown <neilb@cse.unsw.edu.au>
67 * utils/exportfs/exports.man: Correct notes about whether the wild
68 card characters match a period. They do.
70 2002-10-15 Juan Gomez <juang@us.ibm.com>
72 * utils/mountd/rmtab.c (slink_safe_rename): New. Support
74 (mountlist_add): Call slink_safe_rename instead of rename.
76 2002-10-11 H.J. Lu <hjl@lucon.org>
78 * support/include/exportfs.h (export_errno): New.
80 * support/nfs/exports.c: Include <errno.h>.
82 (getexportent): Set export_errno to EINVAL for bad option.
83 (parseopts): Likewise.
84 Report the location of the default sync/async option.
86 * utils/exportfs/exportfs.c (main): Initialize export_errno to
87 0. Return export_errno.
89 2002-10-11 Juan Gomez <gomez@cs.sjsu.edu>
90 NeilBrown <neilb@cse.unsw.edu.au>
92 utils/statd/statd.c(killer): don't pmap_unset if in notify_only mode
93 utils/statd/statd.c(main): don't pmap_unset if in notify_only mode
95 2002-09-16 Chip Salzenberg <chip@pobox.com>
97 * utils/rquotad/rquota_svc.c (main): Use int for value of getopt.
99 2002-09-15 Chip Salzenberg <chip@pobox.com>
101 * support/nfs/rpcmisc.c (rpc_init): Allow stdin to be a non-INET
102 socket, as occurs when run from sshd.
103 * debian/changelog: Version 1.0.2-1.
105 2002-09-12 H.J. Lu <hjl@lucon.org>
107 * support/nfs/svc_socket.c: Remove HAVE_SVCTCP_SOCKET and
110 2002-09-12 H.J. Lu <hjl@lucon.org>
112 * configure.in: Remove checking svctcp_socket and svcudp_socket.
113 * configure: Regenerated.
115 * support/include/config.h.in (HAVE_SVCTCP_SOCKET): Removed.
116 (HAVE_SVCUDP_SOCKET): Removed.
118 * support/include/nfslib.h: Undo the last change.
120 2002-09-12 H.J. Lu <hjl@lucon.org>
122 * support/include/nfslib.h (svctcp_socket): Protect it with
124 (svcudp_socket): Protect it with HAVE_SVCUDP_SOCKET.
126 2002-09-12 H.J. Lu <hjl@lucon.org>
128 * configure.in (VERSION): Set to "1.0.2".
129 * configure: Regenerated.
130 * nfs-utils.spec: Likewise.
132 2002-09-12 H.J. Lu <hjl@lucon.org>
134 * configure.in: Check svctcp_socket and svcudp_socket.
135 * configure: Regenerated.
137 * support/include/config.h.in (HAVE_SVCTCP_SOCKET): New.
138 (HAVE_SVCUDP_SOCKET): New.
140 * support/include/nfslib.h (svctcp_socket): New.
141 (svcudp_socket): New.
143 * support/nfs/Makefile (OBJS): Add svc_socket.o.
145 * support/nfs/svc_socket.c: New.
147 * support/nfs/rpcmisc.c (rpc_init): Call svctcp_socket and
148 svcudp_socket if port is unspecified.
150 * utils/nfsd/nfsd.c (main): Call getservbyname for port.
152 * utils/rquotad/rquota_svc.c: Include <nfslib.h>.
153 (killer): New. Signal handler to unregister.
154 (main): Use killer. Call svcudp_socket to get the default
157 2002-09-02 Juan Gomez <juang@us.ibm.com>
158 NeilBrown <neilb@cse.unsw.edu.au>
160 Add -N option to statd to run in notify-only mode.
162 * utils/statd/statd.h: uncomment MODE_NOTIFY_ONLY
163 * utils/statd/statd.man: document -N
164 * utils/statd/statd.c: enabled -N, largely exists but needed to be
165 uncommented and completed
167 2002-09-02 Juan Gomez <juang@us.ibm.com>
168 NeilBrown <neilb@cse.unsw.edu.au>
170 statd to have " -P directory" arg to use that directory instead
171 of /var/lib/nfs. This is useful for fail-over clusters.
173 * utils/statd/statd.h: define SM_DIR etc as var, not const.
174 * utils/statd/statd.c: define "-P" option to set SM_*
176 * utils/statd/monitor.c: sprintf to cope with SM_DIR not being
178 * utils/statd/notify.c: ditto.
179 * utils/statd/statd.man: document -P option.
181 2002-08-26 Chip Salzenberg <chip@pobox.com>
183 * utils/nfsd/nfsd.man: Fix typo.
184 * debian/changelog: Version 1.0.1-1.
186 2002-05-29 NeilBrown <neilb@cse.unsw.edu.au>
188 * let parseopts know if /etc/exports was being read or not,
189 and have it only print "no sync or async" warning in that case.
191 2002-05-06 Tom McNeal <trmcneal@attbi.com>
192 NeilBrown <neilb@cse.unsw.edu.au>
194 * utils/nfsstat/nfsstat.c: Handle differing format for
195 /proc/net/rpc/nfsd between pre and post 2.4.0
197 2002-04-09 NeilBrown <neilb@cse.unsw.edu.au>
198 James Pearson <james-p@moving-picture.com>
200 * support/nfs/rmtab.c(fendrmtabent): sync changes to
201 storage before returning, as this is critical state
203 2002-04-08 Sean O'Connell <sean@ee.duke.edu>
204 H.J. Lu <hjl@lucon.org>
206 * etc/redhat/nfs: New.
208 2002-04-08 H.J. Lu <hjl@lucon.org>
210 * etc/redhat/nfs.init: Updated.
212 * nfs-utils.spec.in: Updated.
213 * nfs-utils.spec: Regenerated.
215 * utils/mountd/mountd.c (longopts): Fix a typo.
217 * utils/mountd/mountd.man: Updated.
219 2002-04-07 H.J. Lu <hjl@lucon.org>
221 * etc/redhat/nfslock.init (restart): Just do stop and start.
223 * etc/redhat/nfs.init: Fix a typo.
225 2002-04-07 H.J. Lu <hjl@lucon.org>
227 * configure.in (VERSION): Set to "1.0.1".
228 * configure: Regenerated.
229 * nfs-utils.spec: Likewise.
231 * README: Updated for 1.0.1.
233 2002-04-07 Sean O'Connell <sean@ee.duke.edu>
234 H.J. Lu <hjl@lucon.org>
236 * etc/redhat/nfs.init: Read /etc/sysconfig/nfsd for NFS tuning.
238 2002-02-28 Steven Whitehouse <steve@gw.chygwyn.com>
239 NeilBrown <neilb@cse.unsw.edu.au>
241 Add support for fsid=nn export option so that device
242 numbers don't go in filehandles.
243 * support/export/nfsctl.c(expsetup): if exporting and NFSEXP_FSID
244 is set, pass the fsid in-place of the device number
245 * support/nfs/exports.c: parse and print fsid= option.
246 Also check if efname has been set, and use "command line"
247 instead in error messages.
248 Also, use strtol instead of atoi for anon[ug]id= so that
249 bad numbers cause errors.
251 2002-01-17 Adrian Drzewiecki <drze@MissionCriticalLinux.com>
252 NeilBrown <neilb@cse.unsw.edu.au>
254 * support/nfs/exports.c: remove NFSEXP_ASYNC as a default
255 flag so that "sync" becomes the default.
256 Check that either "sync" or "async" is given as an option
257 and warn if neither are present
258 * utils/exportfs/exports.man: change documentation for "sync"
259 to be documentation for "async".
260 * utils/exportfs/exportfs.man: note that "sync" is the default
264 2002-01-02 Chip Salzenberg <chip@pobox.com>
266 * support/export/nfsctl.c (expsetup): Don't export entries that
267 specify id mappings not supported by the kernel. No extant kernel
268 supports any significant mapping, only 'identity' (i.e. none).
269 When other mappings are supported, this code will need changing.
270 * debian/changelog: Version 1.0-2.
272 2001-12-26 Chip Salzenberg <chip@pobox.com>
274 * nfs-utils.spec (Version): Set to "1.0".
275 * configure.in (VERSION): Likewise.
276 * configure: Regenerated.
278 * debian/changelog: Version 1.0-1.
280 * utils/exportfs/exports.man: Emphasize the need for options to
281 immediately follow client names. Explain that wildcards don't
282 usually work on addresses, but may work when reverse DNS fails.
283 Comment out a leftover TP that was TPing our indentation.
284 * utils/mountd/mountd.man, utils/rquotad/rquotad.man,
285 utils/statd/statd.man: Remove refs to non-existent "hosts_allow(5)".
286 * debian/changelog: Version 0.3.3-6.
288 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
290 * support/export/client.c(client_lookup): If a host has multiple
291 IP addresses, then we must always use the result of a
292 gethostbyname, not that of gethostbyaddr for exporting
294 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
296 * support/export/client.c (client_lookup): use strcasecmp when
298 * support/nfs/export.c (getexportent): add fromkernel arg and use
299 different defaults as kernels prior to 2.4.11 assume different
300 defaults in /proc/fs/nfs/exports
301 * support/include/nfslib.h, support/export/export.c,
302 support/export/xtab.c: support extra "fromkernel" arg for
305 2001-12-13 Chip Salzenberg <chip@pobox.com>
307 * debian/changelog: Version 0.3.3-5.
309 2001-11-26 TAKAI Kousuke <takai@vlsi.kuee.kyoto-u.ac.jp>
311 * support/nfs/xio.c (xskip): Call `xungetc' instead of
312 `ungetc' to keep x_line more properly.
314 2001-11-26 Chip Salzenberg <chip@pobox.com>
316 * utils/showmount/showmount.c (main): Don't assume that strings
317 starting with digits are IP addresses.
318 * utils/nfsd/nfsd.c (main): Close all fds and reopen 0,1,2 on
319 /dev/null before nfssvc(). Use syslog to report nfssvc errors.
320 * support/misc/tcpwrapper.c, utils/mountd/mountd.man,
321 utils/rquotad/rquotad.man, utils/statd/statd.man: Fix comments and
322 man pages: We check host names *and* addresses with tcpwrappers.
323 * debian/changelog: Version 0.3.3-4.
325 2001-11-21 Chip Salzenberg <chip@pobox.com>
327 * support/nfs/clients.c (cfname): Added: current clients file name.
328 (setnfsclntent): Set it.
329 ({get,end}nfsclntent, syntaxerr): Use it.
330 * support/nfs/exports.c (efname): Added: current exports file name.
331 (setnfsexportent): Set it.
332 (endnfsexportent, parseopts, getexport, syntaxerr): Use it.
333 (parseopts): Accept old-style "crossmnt" option, for old xtabs.
334 * debian/changelog: Version 0.3.3-3.
336 2001-10-11 Chip Salzenberg <chip@pobox.com>
338 * utils/mountd/mountd.c (main): Close fds > 2 _before_ RPC init.
339 * debian/changelog: Version 0.3.3-2.
341 2001-10-08 Chip Salzenberg <chip@pobox.com>
343 * utils/mountd/mountd.c (main): When daemonizing, close all fds > 2.
344 * utils/Makefile.in: Remove old Makefile in target 'distclean'.
345 * utils/mountd/mountd.man: Update paths to /var/lib.
346 * debian/*: Version 0.3.3-1, with Debian-specific fixes.
348 2001-10-06 Preston Brown <pbrown@redhat.com>
350 * utils/nfsstat/nfsstat.man: Updated.
352 2001-09-24 H.J. Lu <hjl@lucon.org>
354 * configure.in (VERSION): Set to "0.3.3".
355 * configure: Regenerated.
356 * nfs-utils.spec: Likewise.
358 * README: Updated for 0.3.3.
360 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
362 Arrange that "exportfs -au" never does DNS lookup:
364 * support/export/client.c (client_lookup) : add "canonical"
365 flag which says that the hostname is known to be canonical, so
368 * support/export/export.c (export_create) : add "canonical"
369 flag to be passed down to client_lookup
370 * support/export/export.c (export_lookup) : Likewise
372 * support/export/xtab.c (xtab_read) : pass appropriate
373 "canonical" flag to export_lookup and export_create:
374 set if reading list of filesystems currently exports
377 * support/export/export.c (export_read) : pass 0 as
378 "canonical" flag to export_lookup and export_create
379 * support/export/rmtab.s (rmtab_read) : Likewise
381 * support/include/exportfs.h : redeclare various routines
382 to have "canonical" flag
384 * utils/exportfs/exportfs.c (main) : redo logic for
385 "-au" to read in what is currently exported, but never even
386 look at what "should" be exported.
388 * utils/exportfs/exportfs.c (unexportall) : remove this
389 routine. Functionality is completely included in
392 * utils/exportfs/exportfs.c (exportfs) : set "canonical"
393 flag to zero in calls to export_lookup and export_create.
396 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
397 Anne Milicia <milicia@missioncriticallinux.com>
399 * support/export/client.c (client_lookup) call gethostbyadd
400 to make sure that we have a canonical hostname, even for
402 * utils/exportfs/exportfs.c (exportfs) Likewise
404 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
406 * support/nfs/exports.c (putexportent): \octal quote any spaces
408 * support/nfs/xio.c (xgettok): recognise double-quote and
409 \octal quoting in path names
410 * utils/exportfs/exports.man: document quoting conventions
413 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
415 * utils/mountd/auth.c (auth_authenticate_internal): Reverse
416 change from 2000-08-02: It causes problems if someone exports
417 to both a hostname and IP addresses. nfs-utils must be
418 consistant about the canonical name that it chooses.
420 2001-08-17 Ragnar Kjørstad <nfs@ragnark.vestdata.no>
421 H.J. Lu <hjl@lucon.org>
423 * etc/redhat/nfslock.init (STATDARG): New. Pass it to rpc.statd.
425 * utils/statd/statd.c (longopts): Add "name".
426 (usage): Add "-n/--name".
427 (main): Set MY_NAME with "-n/--name".
429 * utils/statd/state.c (change_state): Set MY_NAME only if it
432 * utils/statd/statd.man: Updated for "-n/--name".
434 2001-07-26 H.J. Lu <hjl@lucon.org>
436 * nfs-utils.spec (Release): Set to 8.
438 2001-07-25 H.J. Lu <hjl@lucon.org>
440 * etc/redhat/nfs.init: Check if rpc.rquotad exists before doing
443 2001-06-27 H.J. Lu <hjl@lucon.org>
445 * etc/redhat/nfs.init: Run rpc.rquotad only if it exists.
447 2001-06-27 H.J. Lu <hjl@lucon.org>
449 * utils/rquotad/rquota_server.c: Don't call statfs () for
450 the block size. Use BLOCK_SIZE instead.
452 2001-06-27 H.J. Lu <hjl@lucon.org>
454 * config.mk.in (CC_FOR_BUILD): Renamed from BUILD_CC.
455 (CFLAGS_FOR_BUILD): New. Don't use @CFLAGS@.
457 * configure.in (enable_nfsv3): Set to yes by default.
458 (--enable-rquotad): Added
459 (AC_PROG_CXX): Removed.
460 (AC_OUTPUT): Add utils/Makefile.
461 (CC_FOR_BUILD): Renamed from BUILD_CC.
462 * configure: Regenerated.
464 * utils/Makefile: Removed.
466 * utils/Makefile.in: New.
468 * nfs-utils.spec.in (rquotad): New. Set to 0 to disable
470 (CC_FOR_BUILD): Renamed from BUILD_CC.
471 * nfs-utils.spec: Regenerated.
473 2001-06-15 Chip Salzenberg <chip@debian.org>
475 * debian/changelog: Version 0.3.2-2.
476 * debian/*.init: Minor fixes.
478 2001-06-07 Lon H. Hohberger <hohberger@missioncriticallinux.com>
480 * etc/nodist/nfs-server: Fixed a bug where the script would
481 disable mounts from NFSv3 clients if NFSv3 is present.
483 2001-06-05 H.J. Lu <hjl@lucon.org>
485 * utils/mountd/mountd.c (longopts): Add "descriptors/o".
486 (main): Support --descriptors/-o to set the limit of the number
487 of open file descriptors.
490 * utils/mountd/mountd.man: Updated for --descriptors/-o.
492 2001-06-04 H.J. Lu <hjl@lucon.org>
494 * nfs-utils.spec (Release): Set to 6.
496 2001-05-28 H.J. Lu <hjl@lucon.org>
498 * utils/lockd/lockd.c (main): chdir to NFS_STATEDIR.
499 * utils/mountd/mountd.c (main): Likewise.
500 * utils/nfsd/nfsd.c (main): Likewise.
501 * utils/rquotad/rquota_svc.c (main): Likewise.
503 2001-05-06 Anne Milicia <milicia@missioncriticallinux.com>
505 * support/export/client.c (client_check): Check IP address
508 2001-05-06 Neil Brown <neilb@cse.unsw.edu.au>
510 * support/export/client.c (client_gettype): Treat `*' as
513 2001-04-22 H.J. Lu <hjl@lucon.org>
515 * nfs-utils.spec.in: Fix a typo.
516 * nfs-utils.spec: Regenerated.
518 2001-04-21 H.J. Lu <hjl@lucon.org>
520 * nfs-utils.spec.in: Fix cross build.
521 * nfs-utils.spec: Regenerated.
524 2001-04-18 H.J. Lu <hjl@lucon.org>
526 * nfs-utils.spec.in: Support cross build.
527 * nfs-utils.spec: Regenerated.
533 * config.mk.in (BUILD_CC): New.
534 (CC): Set to $(BUILD_CC) if BUILD is defined.
537 (RANLIB): Set to @RANLIB@.
539 * configure.in: Check BUILD_CC, RANLIB, AR and LD.
540 * configure: Regenerated.
542 * tools/rpcgen/Makefile (BUILD): Set to true.
544 2001-04-01 Chip Salzenberg <chip@valinux.com>
546 * tools/rpcgen/rpc_svcout.c (write_timeout_func): Remove
547 redundant, and sometimes broken, declaration of svc_fdset;
549 * support/nfs/rpcmisc.c (closedown): Likewise.
551 2001-03-21 H.J. Lu <hjl@lucon.org>
553 * nfs-utils.spec: Regenerated.
556 2001-03-21 Ion Badulescu <ionut@cs.columbia.edu>
558 * utils/statd/statd.c (main): make sure file descriptors 0-2
559 are open to /dev/null.
561 2001-03-21 H.J. Lu <hjl@lucon.org>
563 * support/nfs/rpcmisc.c: Restore the change made on 2001-03-10.
564 * support/nfs/rpcmisc.c: Likewise.
565 * utils/rquotad/rquota_svc.c: Likewise.
566 * utils/rquotad/rquotad.man: Likewise.
567 * utils/statd/Makefile: Likewise.
568 * utils/statd/rmtcall.c: Likewise.
569 * utils/statd/simulate.c: Likewise.
570 * utils/statd/statd.c: Likewise.
571 * utils/statd/statd.man: Likewise.
573 2001-03-11 H.J. Lu <hjl@lucon.org>
575 * configure.in (RELEASE): New. Default to 1, set by
576 --with-release=XXX. Substitute nfs-utils.spec.
577 * nfs-utils.spec.in (Release): Set to @RELEASE@.
578 * configure: Regenerated.
579 * nfs-utils.spec: Likewise.
581 2001-03-11 H.J. Lu <hjl@lucon.org>
583 * utils/rquotad/rquotad.man: Fix a typo.
585 2001-03-11 H.J. Lu <hjl@lucon.org>
587 * support/include/rpcmisc.h: Undo the change made on 2001-03-10.
588 * support/nfs/rpcmisc.c: Likewise.
589 * utils/rquotad/rquota_svc.c: Likewise.
590 * utils/rquotad/rquotad.man: Likewise.
591 * utils/statd/Makefile: Likewise.
592 * utils/statd/rmtcall.c: Likewise.
593 * utils/statd/simulate.c: Likewise.
594 * utils/statd/statd.c: Likewise.
595 * utils/statd/statd.man: Likewise.
597 2001-03-10 H.J. Lu <hjl@lucon.org>
599 * configure.in (VERSION): Set to "0.3.2".
600 * configure: Regenerated.
601 * nfs-utils.spec: Likewise.
603 * README: Updated for 0.3.2.
605 2001-03-10 Tavis Barr <tavis@boole.isetr.columbia.edu>
607 * utils/rquotad/rquotad.man: Updated for -p.
608 * utils/statd/statd.man: Likewise.
610 2001-03-10 Ion Badulescu <ionut@cs.columbia.edu>
612 * support/nfs/rpcmisc.c: export makesock()
614 * support/include/rpcmisc.h (makesock): Declared.
616 * utils/rquotad/rquota_svc.c: added longopts, added support for
617 specifying the port to bind to on the command line.
619 * utils/statd/statd.c: ditto, also specify port used for
620 outgoing connections.
621 (do_regist): Removed.
623 * utils/statd/rmtcall.c (statd_get_socket): Renamed from
624 get_socket. Make it extern.
626 * utils/statd/simulate.c (daemon_simulator): Call rpc_init
627 instead of do_regist.
629 * utils/statd/Makefile (LIBS): link with our own libnfs
631 2001-03-09 H.J. Lu <hjl@lucon.org>
633 * etc/redhat/nfslock.init: Changed chkconfig line to 60 86.
634 * etc/nodist/nfs-client: Likewise.
636 2001-02-26 Chip Salzenberg <chip@valinux.com>
638 * debian/changelog: Version 0.3.1-1.
639 * Mention upstream source and license in copyright file.
640 * Add build-Depends for debhelper and libwrap0-dev.
642 2001-02-20 Lon Hohberger <hohberger@missioncriticallinux.com>
644 * etc/nodist/nfs-server: Changed chkconfig line to 60 20
645 * etc/nodist/nfs-client: Likewise.
647 2001-02-18 Lon Hohberger <hohberger@missioncriticallinux.com>
649 * utils/statd/statd.man: Changed /usr/sbin/rpc.statd to
652 2001-02-17 Patrick J. LoPresti <patl@curl.com>
654 * utils/statd/log.c (log_init): Use LOG_DAEMON instead of
657 2001-02-14 H.J. Lu <hjl@lucon.org>
659 * utils/statd/rmtcall.c: Include <time.h>.
660 * utils/statd/svc_run.c: Likewise.
662 2001-02-14 H.J. Lu <hjl@lucon.org>
664 * configure.in (VERSION): Set to "0.3.1".
665 * configure: Regenerated.
666 * nfs-utils.spec: Likewise.
668 * README: Updated for 0.3.1.
670 2001-02-14 H.J. Lu <hjl@lucon.org>
672 * support/nfs/rpcmisc.c: Include <time.h>.
674 2001-02-14 Chip Salzenberg <chip@valinux.com>
676 * debian/control: Change priority of nhfsstone package to 'extra'.
678 2001-02-12 Chip Salzenberg <chip@valinux.com>
680 * debian/changelog: Version 0.3-2.
682 2001-02-02 H.J. Lu <hjl@lucon.org>
684 * support/include/rpcmisc.h (rpc_init): Remove bufsize.
686 * support/nfs/rpcmisc.c (makesock): Remove socksz and comment
687 out SO_SNDBUF/SO_RCVBUF.
688 (rpc_init): Remove bufsize and remove socksz in calls to
691 * utils/mountd/mountd.c (main): Remove bufsize in calls to
694 2001-01-28 Chip Salzenberg <chip@valinux.com>
696 * debian/changelog: Version 0.3-1.
698 2001-01-25 H.J. Lu <hjl@lucon.org>
700 * configure.in (VERSION): Set to "0.3".
701 * configure: Regenerated.
702 * nfs-utils.spec: Likewise.
704 * README: Updated for 0.3.
706 2001-01-25 H.J. Lu <hjl@lucon.org>
708 * utils/lockd/lockd.c (main): Ignore errno == EINVAL.
710 2001-01-20 Chip Salzenberg <chip@valinux.com>
712 * support/include/xio.h (xgetc): Declare to return int.
713 * support/nfs/xio.c (xgetc): Return int.
714 (xgettok, xskip, xskipcomment): Use int for value of xgetc.
715 * utils/statd/statd.c (main): Use int for value of getopt.
716 * debian/changelog: Version 0.2.1-5.
718 2000-12-10 Chip Salzenberg <chip@valinux.com>
720 * utils/statd/monitor.c (sm_mon_1_svc): Fix buggy check for
721 program and procedure numbers of kernel lockd's callback. Also,
722 besides the old (and broken) procedure #24, allow #16 per Trond.
724 2000-12-03 Chip Salzenberg <chip@valinux.com>
726 * support/nfs/xio.c (xfopen): Initialize x_line to one, not zero.
727 * debian/control: Let nhfsstone replace files in nfs-kernel-server.
728 * debian/changelog: Version 0.2.1-4.
730 2000-11-27 Tobias Ringstrom <tori@tellus.mine.nu>
732 * utils/mountd/auth.c (auth_authenticate): Log the bad path
735 2000-11-24 Neil Brown <neilb@cse.unsw.edu.au>
737 * support/nfs/exports.c (getexportent): Check for host name
738 without option, or options without hostname, and print a warning,
739 as this is most likely a typo.
741 2000-11-19 Chip Salzenberg <chip@valinux.com>
743 * debian/control: Add dependency on portmap.
744 * debian/changelog: Version 0.2.1-3.
746 2000-11-10 H.J. Lu <hjl@lucon.org>
748 * nfs-utils.spec.in: Don't use libtool.
749 Add ChangeLog and COPYING to doc.
750 * nfs-utils.spec: Rebuild.
752 2000-11-09 H.J. Lu <hjl@lucon.org>
754 * etc/redhat/nfs.init (start): Back out the last change.
756 2000-11-09 H.J. Lu <hjl@lucon.org>
758 * etc/redhat/nfs.init (start): Pass --no-tcp to mountd if
759 TCP is not supported by kernel.
761 * support/nfs/rpcmisc.c (rpc_init): Don't set _rpcfdtype to 0.
763 * utils/mountd/mountd.c (longopts): Add "-n/--no-tcp".
764 (main): Set to _rpcfdtype to SOCK_DGRAM for "-n/--no-tcp".
766 * utils/mountd/mountd.man: Updated for "-n/--no-tcp".
768 2000-10-24 Lon Hohberger <hohberger@missioncriticallinux.com>
770 * utils/statd/callback.c: Fix bug preventing callbacks to local lockd.
771 * utils/statd/rmtcall.c: Add some IP address paranoia when doing
772 callbacks to local lockd.
774 2000-10-18 Scott McDermott <mcdermot@questra.com>
776 * utils/exportfs/exports.man: Updated for CIDR netmask.
778 2000-10-17 Scott McDermott <mcdermot@questra.com>
780 * support/export/client.c (client_init): Support CIDR netmask
783 2000-10-11 H.J. Lu <hjl@lucon.org>
785 * aclocal.m4 (AC_TCP_WRAPPER): Fix a typo.
786 * configure: Rebuilt.
788 2000-10-06 Lon Hohberger <hohberger@missioncriticallinux.com>
790 * utils/statd/statd.man: Change "/var/lib/nfs/sm/state" to
791 "/var/lib/nfs/state".
793 2000-10-05 Lon Hohberger <hohberger@missioncriticallinux.com>
795 * utils/statd/statd.h (run_mode): New global bitmask of runtime
796 behaviors: fg/bg, logging, etc.
797 * utils/statd/statd.c: New command line options: -V -h -? -d .
798 * utils/statd/statd.man: Update for changes to statd.
800 * utils/statd/log.h (log_init): Remove parameter of function; use
801 global variable "name_p" instead.
802 * utils/statd/log.c: Add support for logging to stderr.
804 * utils/statd/notlist.c: Partially rewrite notify list handling
805 functions. Eliminate run-off-end-of-list bug when calling
806 nlist_insert_timer. Add lots of comments.
808 2000-09-27 H.J. Lu <hjl@lucon.org>
810 * README: Updated for RedHat 7.0.
812 2000-09-27 H.J. Lu <hjl@lucon.org>
814 * nfs-utils.spec: Rebuild.
816 2000-09-27 H.J. Lu <hjl@lucon.org>
818 * README: Updated for 0.2.1.
820 2000-09-27 H.J. Lu <hjl@lucon.org>
822 * nfs-utils.spec.in: Updated to use rpm macros and support
825 2000-09-25 H.J. Lu <hjl@lucon.org>
827 * configure.in (VERSION): Set to "0.2.1".
828 * configure: Regenerated.
829 * nfs-utils.spec: Updated.
831 2000-09-25 H.J. Lu <hjl@lucon.org>
833 * utils/mountd/auth.c (auth_authenticate_internal): Make sure a
834 non-NULL hostent is always returned.
836 2000-09-11 Ion Badulescu <ionut@cs.columbia.edu>
838 * etc/redhat/nfslock.init: don't kill lockd processes that do not
839 have an executable (i.e. kernel threads)
841 2000-09-01 H.J. Lu <hjl@lucon.org>
843 * README: Updated for 0.2.
845 2000-09-01 Jay Weber <jweber@valinux.com>
847 * etc/redhat/nfs.init: Added ability for rpc.mountd to default to
848 supporting version 3 of nfs if available, else it will fall back to
849 version 2 support only.
851 2000-08-30 H.J. Lu <hjl@lucon.org>
853 * configure.in (VERSION): Set to "0.2".
854 * configure: Regenerated.
855 * nfs-utils.spec: Updated.
857 2000-08-25 H.J. Lu <hjl@lucon.org>
859 * support/misc/tcpwrapper.c (logit): Modify the log output.
861 2000-08-25 Ion Badulescu <ionut@cs.columbia.edu>
863 * utils/rquotad/rquotad.man, utils/statd/statd.man,
864 utils/mountd/mountd.man: updated
866 * utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL)
867 * utils/rquotad/Makefile: fix comment
869 * support/misc/tcpwrapper.c (logit): added comment about waiting
870 for the children after fork()
872 * utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving
873 zombies behind (from logit()'s fork)
874 * utils/rquotad/rquota_svc.c (main): ditto
875 * utils/statd/statd.c (main): ditto
877 * utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG
878 to check_default instead of 0, for prognum
880 * utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG
881 to check_default instead of 0, for prognum
883 * utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if
884 HAVE_TCP_WRAPPER is defined.
885 (mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is
886 defined. Reject an RPC call if check_default () fails.
888 2000-08-25 H.J. Lu <hjl@lucon.org>
890 * support/include/tcpwrapper.h: New for the tcp wrapper
892 * support/misc/Makefile: Likewise.
893 * support/misc/from_local.c: Likewise.
894 * support/misc/tcpwrapper.c: Likewise.
896 * aclocal.m4 (AC_TCP_WRAPPER): New.
897 * configure.in: Use it. Substitute LIBWRAP.
898 * configure: Rebuilt.
900 * config.mk.in (LIBNSL): New.
903 * support/Makefile (SUBDIRS): Add misc.
905 * support/lib/Makefile (LIBS): Add libmisc.a.
907 * utils/rquotad/Makefile (LIBS): Add
909 -lmisc $(LIBWRAP) $(LIBNSL)
911 * utils/statd/Makefile (LIBS): Likewise.
913 * utils/rquotad/rquota_svc.c: Include "tcpwrapper.h" if
914 HAVE_TCP_WRAPPER is defined.
915 (rquotaprog_1): Call check_default () if HAVE_TCP_WRAPPER is
916 defined. Reject an RPC call if check_default () fails.
918 * utils/statd/statd.c: Include "tcpwrapper.h" if
919 HAVE_TCP_WRAPPER is defined.
920 (sm_prog_1_wrapper): New. A wrapper for sm_prog_1. Call
921 check_default () before calling sm_prog_1 (). Define it as
922 sm_prog_1_wrapper if HAVE_TCP_WRAPPER is defined.
924 2000-08-25 Chip Salzenberg <chip@valinux.com>
926 * debian/*: Complete Debian build support.
927 * etc/debian/*: Remove.
929 2000-08-24 Neil Brown <neilb@cse.unsw.edu.au>
931 * support/export/client.c(client_check): removed the "dot+1" as a
932 ypdomain argument to innetgr as this is entirely bogus.
933 It should always be NULL.
935 2000-08-23 Neil Brown <neilb@cse.unsw.edu.au>
937 * support/export/xtab.c(xtab_read): introduce new mode for
938 reading xtab. i.e. a list of exports that might be known to the
939 kernel, or might not. These are flagged as m_exported == -1
940 * support/export/xtab.c(xtab_mount_read): call xtab_read with new
941 value "2" for xtab, meaning don't trust this too much.
942 * support/include/exportfs.h(struct mexport): changed m_exported
943 from one bit to an int so that it can hold new value
944 * utils/exportfs/exportfs.c(exportfs_ipdate): add an export to the
945 kernel if it is uncertain whether the kernel knows (m_exported == -1)
946 * utils/mountd/mountd.c(get_rootfh): similarly export to kernel if
949 * support/nfs/xio.c(xflock): added O_CREAT when getting
950 a write lock so that missing files aren't fatal.
952 * etc/debian/nfs-common: new file from "potato"
953 * etc/debian/nfs-kernel-server: new file from "potato" plus fixes.
955 2000-08-09 H.J. Lu <hjl@lucon.org>
957 * etc/redhat/nfs.init: Run /usr/sbin/exportfs first during
958 startup to ensure all existing clients work fine.
960 * support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0
961 to xtab_read () for reading _PATH_XTAB.
963 2000-08-02 H.J. Lu <hjl@lucon.org>
965 * utils/mountd/auth.c (auth_authenticate_internal): Try to
966 avoid the reverse name lookup.
968 2000-07-04 H.J. Lu <hjl@lucon.org>
970 * utils/statd/log.c: Include <stdlib.h> for exit ().
972 * utils/statd/misc.c (xunlink): Add `{' and `}' to quiet the
975 2000-07-04 H.J. Lu <hjl@lucon.org>
977 * configure.in (VERSION): Set to "0.1.9.1".
978 * configure: Regenerated.
979 * nfs-utils.spec: Updated.
983 2000-07-04 Neil Brown <neilb@cse.unsw.edu.au>
985 * support/export/hostname.c (hostent_dup): Handle the NULL
988 2000-07-03 H.J. Lu <hjl@lucon.org>
990 * README: Update the util-linux requirement.
992 2000-07-03 H.J. Lu <hjl@lucon.org>
994 * configure.in (VERSION): Set to "0.1.9".
995 * configure: Regenerated.
996 * nfs-utils.spec: Updated.
1000 2000-07-03 H.J. Lu <hjl@lucon.org>
1002 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
1003 stop to ensure all clients can still access the server
1004 before it is shutdown.
1006 2000-06-30 Jeff Uphoff <juphoff@transmeta.com>
1008 * tools/rpcgen/rpc_svcout.c (write_msg_out): Generate syslog()
1009 calls with format string.
1011 2000-06-28 Chip Salzenberg <chip@valinux.com>
1013 * utils/statd/log.c (log): Call syslog with format string.
1015 2000-06-27 H.J. Lu <hjl@lucon.org>
1017 * utils/statd/statd.c (main): Use sysconf (_SC_OPEN_MAX)
1018 instead of OPEN_MAX.
1020 2000-06-27 H.J. Lu <hjl@lucon.org>
1024 2000-06-27 H.J. Lu <hjl@lucon.org>
1026 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
1027 startup to ensure all existing clients are exported.
1029 * configure.in (VERSION): Set to "0.1.8.2".
1030 * configure: Regenerated.
1031 * nfs-utils.spec: Updated.
1033 2000-06-06 H.J. Lu <hjl@lucon.org>
1035 * configure.in (VERSION): Set to "0.1.8.1".
1036 * configure: Regenerated.
1037 * nfs-utils.spec: Updated.
1039 2000-06-06 H.J. Lu <hjl@lucon.org>
1041 * utils/mountd/mountd.c (mount_dump_1_svc): Cast svc_getcaller
1042 to "struct sockaddr_in *" for glibc 2.2.
1043 (mount_umnt_1_svc): Likewise.
1044 (mount_umntall_1_svc): Likewise.
1045 (mount_export_1_svc): Likewise.
1046 (mount_exportall_1_svc): Likewise.
1047 (mount_pathconf_2_svc): Likewise.
1048 (get_rootfh): Likewise.
1050 2000-06-04 H.J. Lu <hjl@lucon.org>
1052 * etc/redhat/nfs.init: Fix a typo in comment.
1054 2000-05-31 H.J. Lu <hjl@lucon.org>
1056 * configure.in (VERSION): Set to "0.1.8".
1057 * configure: Regenerated.
1058 * nfs-utils.spec: Updated.
1062 2000-05-31 H.J. Lu <hjl@lucon.org>
1064 * configure.in (VERSION): Set to "0.1.7.5".
1065 * configure: Regenerated.
1066 * nfs-utils.spec: Updated.
1068 * support/include/nfslib.h (exportent): Add a new field,
1069 r_count, to count the number of mounts from a client.
1070 (getrmtabent): Take a new argument for position in file.
1071 (putrmtabent): Likewise.
1072 (fgetrmtabent): Likewise.
1073 (fputrmtabent): Likewise.
1074 * support/nfs/rmtab.c (getrmtabent): Handle the new argument
1075 for position in file.
1076 (fgetrmtabent): Likewise.
1077 (putrmtabent): Likewise.
1078 (fputrmtabent): Likewise.
1080 * support/nfs/rmtab.c (fgetrmtabent): Get value for the new
1083 * support/export/rmtab.c (rmtab_read): Pass NULL as the new
1084 argument to getrmtabent (), fgetrmtabent (), putrmtabent ()
1085 and fputrmtabent ().
1086 * utils/mountd/rmtab.c (mountlist_add): Likewise.
1087 (mountlist_del): Likewise.
1088 (mountlist_del_all): Likewise.
1089 (mountlist_list): Likewise.
1091 * utils/mountd/rmtab.c (mountlist_add): Increment "r_count"
1092 for the existing entry and initialize "r_count" to 1.
1093 (mountlist_del): Decrement "r_count".
1095 2000-05-18 H.J. Lu <hjl@lucon.org>
1097 * configure.in (VERSION): Set to "0.1.7.4".
1098 * configure: Regenerated.
1099 * nfs-utils.spec: Updated.
1101 2000-05-18 H.J. Lu <hjl@lucon.org>
1103 * etc/redhat/nfs.init (restart): Just do stop and start.
1105 2000-05-09 Jay Weber <jweber@valinux.com>
1107 * utils/rquotad/hasquota.c: added support for ext3 recognition
1109 * utils/rquotad/mntent.h: Likewise.
1111 2000-05-01 H.J. Lu <hjl@lucon.org>
1113 * configure.in (VERSION): Set to "0.1.7.3".
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): Skip bad
1120 mounting poins in /etc/fstab.
1122 2000-05-01 H.J. Lu <hjl@lucon.org>
1124 * configure.in (VERSION): Set to "0.1.7.2".
1125 * configure: Regenerated.
1126 * nfs-utils.spec: Updated.
1128 2000-05-01 H.J. Lu <hjl@lucon.org>
1130 * utils/rquotad/rquota_server.c (getquotainfo): Call stat ()
1131 to check for the mounting point.
1133 2000-04-29 Chip Salzenberg <chip@valinux.com>
1134 Neil Brown <neilb@cse.unsw.edu.au>
1136 * Really re-use RPC ports.
1137 (Fixes earlier patch. Sorry, Neil.)
1139 2000-04-26 H.J. Lu <hjl@lucon.org>
1141 * configure.in (VERSION): Set to "0.1.7.1".
1142 * configure: Regenerated.
1143 * nfs-utils.spec: Updated.
1145 2000-04-26 H.J. Lu <hjl@lucon.org>
1147 * etc/redhat/nfslock.init: Check if lockd exits before killing
1150 2000-04-25 H.J. Lu <hjl@lucon.org>
1152 * README: Require util-linux-2.10f-mount-rpc.patch for mount.
1154 2000-03-21 Michael Weiser <michael@weiser.saale-net.de>
1156 * support/nfs/exports.c (parsesquash): Correctly set the
1159 Tue Mar 21 11:38:48 EST 2000 NeilBrown <neilb@cse.unsw.edu.au>
1161 * support/include/nfs/nfs.h: Removed knowledge of internals of
1162 kernel filehandles (which can change) and defined nfs_fh_size
1163 which has variable size
1165 * support/nfs/getfh.c: defined getfh_size to use new syscall to
1166 get variable sized file handles, and change getfh{,old} to
1169 * utils/mountd/mountd.c: use nfd_fh_size and call getfh_size for
1172 * tools/Makefile, tools/nlmtest/nlmtest.c
1173 nlmtest.c depended on internel format of file handles, so now
1177 2000-03-12 Chip Salzenberg <chip@valinux.com>
1178 Neil Brown <neilb@cse.unsw.edu.au>
1180 * support/nfs/rpcmisc.c (rpc_init): Share transports.
1182 2000-03-13 H.J. Lu <hjl@lucon.org>
1184 * etc/redhat/nfsd.init: Updated.
1186 * etc/redhat/nfslock.init: Updated.
1188 * nfs-utils.spec.in: Updated.
1190 * configure.in (VERSION): Set to "0.1.7".
1191 * configure: Regenerated.
1192 * nfs-utils.spec: Updated.
1196 Wed Mar 8 09:42:43 2000 Neil Brown <neilb@cse.unsw.edu.au>
1198 * utils/exportfs/exportfs.c (dump): Included printing of
1199 nohide, no_subtree_check, and insecure_locks
1201 2000-02-26 Chip Salzenberg <chip@valinux.com>
1203 * config.mk.in (INSTALLSUID): Strip ("-s").
1204 (INSTALLSCRIPT): Define.
1205 * utils/nhfsstone/Makefile: Use it.
1207 2000-02-26 Chip Salzenberg <chip@valinux.com>
1209 * utils/lockd/lockd.man: Create.
1210 * utils/lockd/Makefile: Install it.
1211 * utils/nhfsstone/nhfs{run,nums,graph}.man: Create.
1212 * utils/nhfsstone/nhfsstone.man: Change suffix from ".1".
1213 * utils/nhfsstone/Makefile: Install the helper scripts and
1215 * utils/exportfs/exports.man: Fix typo.
1217 2000-02-26 Chip Salzenberg <chip@valinux.com>
1219 * support/nfs/xio.c (xungetc): Decrement line number when
1220 character to unget is newline. Make first parameter int, so
1221 it can distinguish EOF from \377.
1222 * support/include/xio.h (xungetc): Adjust prototype.
1224 Fri Feb 4 23:42:23 2000 Neil Brown <neilb@cse.unsw.edu.au>
1226 * support/include/nfs/export.h: added NFSEXP_NOAUTHNLM
1227 * support/nfs/exports.c: added handling for NFSEXP_NOAUTHNLM
1228 * utils/exportfs/exports.man: added documentation for no_auth_nlm.
1230 This is for supporting a new option introduced in 2.3.42
1232 Thu Feb 3 14:55:48 2000 H.J. Lu <hjl@lucon.org>
1234 * COPYING: Added. GPL.
1236 Thu Feb 03 14:40:40 2000 Cristian Gafton <gafton@redhat.com>
1238 * utils/rquotad/rquota_server.c (getquotainfo): Call statfs ()
1239 to get the block size.
1241 Tue Jan 25 11:04:17 2000 H.J. Lu <hjl@lucon.org>
1243 * nfs-utils.spec.in: Update ftp site.
1245 Mon Jan 17 11:48:18 2000 H.J. Lu <hjl@lucon.org>
1247 * README: Update hostnames.
1249 Tue Jan 11 10:06:22 2000 H.J. Lu <hjl@lucon.org>
1251 * configure.in (VERSION): Set to "0.1.6".
1252 * configure: Regenerated.
1253 * nfs-utils.spec: Updated.
1257 Mon Jan 10 14:26:33 2000 H.J. Lu <hjl@lucon.org>
1259 * utils/mountd/auth.c (auth_authenticate_internal): Call
1260 xstrdup for hostname before passing it to gethostbyname.
1262 * utils/mountd/mountd.c (get_exportlist): Use xstrdup instead
1265 Sun Dec 19 09:35:01 1999 H.J. Lu <hjl@lucon.org>
1267 * README: Update the mailing list address.
1269 Sun Dec 19 09:22:28 1999 H.J. Lu <hjl@lucon.org>
1271 * configure.in (VERSION): Set to "0.1.5".
1272 * configure: Regenerated.
1273 * nfs-utils.spec: Updated.
1277 Mon Dec 13 13:40:20 1999 H.J. Lu <hjl@lucon.org>
1279 * utils/rquotad/hasquota.c (hasquota): Malloc one more char
1282 Mon Dec 6 09:42:45 1999 H.J. Lu <hjl@lucon.org>
1284 * configure.in (VERSION): Set to "0.1.4".
1285 * configure: Regenerated.
1286 * nfs-utils.spec: Updated.
1290 Mon Dec 6 09:28:07 1999 H.J. Lu <hjl@lucon.org>
1292 * nfs-utils.spec.in: New file.
1294 * config.mk.in (VERSION): Changed to "nfs-utils @VERSION@".
1296 * configure.in (nfs-utils.spec): Added to AC_OUTPUT.
1298 1999-12-04 Chip Salzenberg <chip@valinux.com>
1300 * config.mk.in: Use $(CC) as set by configure.
1302 1999-12-04 Chip Salzenberg <chip@valinux.com>
1304 * rules.mk: Call $(MAKE) with $(MFLAGS).
1306 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1308 * tools/rpcgen/rpc_main.c (h_output): Generate IXDR_GET_INT32,
1309 IXDR_PUT_INT32, IXDR_GET_U_INT32 and IXDR_PUT_U_INT32.
1311 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1313 * nfs-utils.spec (Version): Set to 0.1.3.
1315 * configure.in (VERSION): Set to "nfs-utils 0.1.3".
1316 * configure: Regenerated.
1320 Mon Nov 29 11:15:47 1999 H.J. Lu <hjl@lucon.org>
1322 * utils/rquotad/rquota_server.c (nfsmount_to_devname): Removed.
1323 (_PATH_DEV_DSK): Likewise.
1324 (getquotainfo): Match the mounting point from /etc/mtab
1325 instead of calling nfsmount_to_devname ().
1327 1999-11-24 Chip Salzenberg <chip@valinux.com>
1329 * utils/statd/monitor.c (sm_mon_1_svc): Accept lockd callbacks
1330 to the new port 24 as well as the historical port 100021.
1332 Tue Nov 23 10:21:34 1999 Neil Brown <neilb@cse.unsw.edu.au>
1334 * etc/redhat/nfsd.init (stop): moved exportfs -ua after
1335 stopping nfsd to stop spurious ESTALE on server shutdown.
1337 Tue Nov 23 10:13:39 1999 Neil Brown <neilb@cse.unsw.edu.au>
1339 * support/nfs/exports.c (parseopts): make copy of opt string
1340 before 'nul'ing out commas so that
1342 # exportfs -o option1,option2 hosta:/fs hostb:/fs
1344 applies both options to both exports.
1346 Thu Oct 28 12:55:42 1999 H.J. Lu <hjl@lucon.org>
1348 * README: Fix a few typos.
1350 * tools/rpcgen/rpc_cout.c (print_header): Use int32_t instead
1352 * tools/rpcgen/rpc_hout.c (pdefine): Likewise.
1353 * tools/rpcgen/rpc_main.c (c_initialize): Likewise.
1354 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1355 (unsigned_dec): Likewise.
1356 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1357 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1359 * tools/rpcgen/rpc_cout.c (emit_single_in_line): Use INT32
1361 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1362 (unsigned_dec): Likewise.
1363 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1364 * tools/rpcgen/rpc_scan.h (tok_kind): Likewise.
1365 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1367 Thu Oct 28 11:27:51 1999 Neil Brown <neilb@cse.unsw.edu.au>
1369 * support/include/nfs/export.h addedd NFSEXP_NOSUBTREECHECK
1370 * support/nfs/exports.c: added {no_,}subtree_check and changed
1372 * utils/exportfs/exports.man: added no_subtree_check and nohide
1373 and removed irrelevant stuff from unfsd.
1374 * support/export/rmtab.c: rmtab_read didn't quite do the right
1375 thing if a pathname from rmtab was a subdirectory of an export-point
1377 Tue Oct 26 17:22:40 1999 H.J. Lu <hjl@lucon.org>
1379 * README: Updated ftp site.
1381 Mon Oct 25 18:12:45 1999 H.J. Lu <hjl@lucon.org>
1383 * nfs-utils.spec (Version): Set to 0.1.2.
1385 * configure.in (VERSION): Set to "nfs-utils 0.1.2".
1386 * configure: Regenerated.
1390 Mon Oct 25 18:11:21 1999 H.J. Lu <hjl@lucon.org>
1392 * utils/mountd/auth.c (auth_error): Add "no_forward_dns".
1393 (auth_authenticate_internal): Check for NULL return on forward
1395 (auth_authenticate): Handle "no_forward_dns".
1397 Thu Oct 21 16:22:06 1999 H.J. Lu <hjl@lucon.org>
1399 * Version 0.1.1 released.
1401 * nfs-utils.spec (Version): Set to 0.1.1.
1403 * configure.in (VERSION): Set to "nfs-utils 0.1.1".
1404 * configure: Regenerated.
1408 Mon Oct 18 17:43:29 1999 H.J. Lu <hjl@lucon.org>
1410 * nfs-utils.spec (Obsoletes): Fixed a typo, change knfsd-client
1412 (Provides): Likewise.
1414 Mon Oct 18 14:56:22 1999 H.J. Lu <hjl@lucon.org>
1416 * Initial version 0.1 released.
1418 * configure.in (VERSION): Set to "nfs-utils 0.1".
1419 * configure: Regenerated.
1421 Mon Oct 18 14:54:57 1999 H.J. Lu <hjl@lucon.org>
1423 * utils/mountd/mountd.c (get_exportlist): Cleanup.
1425 * utils/exportfs/exportfs.c (unexport_all): Unexport from
1426 kernel only if the entry is exported to kernel.
1427 (unexportfs): Likewise.
1429 Wed Sep 08 16:49:32 1999 Neil Brown <neilb@cse.unsw.edu.au>
1431 1/ utils/mountd/rmtab.c::mountlist_list
1433 This routine stats the rmtab file to see if it has changed. It
1434 if has, it cleans up it's old copy of the data. But it still
1435 always re-read the file, thus returning multiple copies of the
1436 data on consecutive calls without intervening changes.
1437 "Showmount -a" didn't show this as it appears to sort/unique the
1438 data, but 'strace showmount -a' showed that the size of the
1439 datagram that it received grew.
1441 I moved the getrmtabent loop inside the mtime test.
1443 2/ utils/exportfs/exportfs.c
1445 Many routines used the m_path field of m_export instead of
1447 According to the comment in nfslib.h, m_path should only
1448 be used when processing a mount request (i.e. in mountd)
1449 where the mountpoint may be a subdirectory of the export point.
1451 I changed all occurances of m_path to e_path
1454 3/ utils/exportfs/exportfs.c:main
1456 extra arguments are not meaningful with -a or -r, but
1457 exportfs accepted them and then ignored the -a/-r, expect that
1458 -r would still unexport everything first.
1460 I generate an error if there are extra args and f_all
1462 4/ utils/exportfs/exportfs.c:main
1463 extract dump out as a special case.
1465 5/ utils/exportfs/exportfs.c
1466 made f_reexport a local variable.
1469 6/ utils/exportfs/exportfs.c:main,exportall
1471 support/export/rmtab.c
1472 only mayexport on newly created entries, don't set xtabent at all
1474 7/ support/include/nfslib.h
1476 add #define _PATH_PROC_EXPORTS to be /proc/fs/nds/exports
1478 8/ support/export/xtab.c
1480 xtab_mount_read loads data from _PATH_PROC_EXPORTS if it exists,
1484 9/ support/export/xtab.c
1486 xtab_mount_read now sets m_exported, and NOT
1487 xtabent and mayexport
1489 removed the append arguement from xtab_write as it was
1492 added is_export flag to xtab_write similar to xtab_read
1493 if is_export, only write entries with m_xtabent or m_addxtab
1494 if !is_export, only write entries with m_exported
1496 10/ support/export/export.c::export_allowed_internal
1498 added test for exp->m_mayexport, as the export tree
1499 may have entries that are no longer allowed to be exported,
1500 and so shouldn't caused deduced exported by rmtab_read
1502 11/ utils/exportfs/exportfs.c::main
1503 error checking of flags.
1505 12/ utils/exportfs/exportfs.c
1507 total rewrite of export and unexport logic.
1509 - build an exportslist of valid exports, based on
1510 current etab file and arguments,
1511 - read rmtab to instantiate relevant wild card entries
1512 - read etab to find out what is currently exported
1513 - synchronise intention with reality
1514 - write out etab and xtab
1517 discard the m_addxtab flag
1518 add m_changed flag so we know what to report in exportfs
1520 14/ utils/mountd/auth.c:auth_authenticate
1522 the value returned by gethostbyaddr was trusted.
1524 It now follows this with a call to gethostbyname
1525 and checks that the address is in the list.
1527 15/ support/export/nfsctl.c::cltsetup,expsetup
1529 force client names to lowercase as kernel is
1532 16/ quietened a few compiler warnings
1534 17/ support/export/client:client_lookup
1536 look for pre-existing client with same name before creating
1539 18/ support/include/exportfs.h
1541 The ordering of the MCL_* enum was:
1542 ANONYMOUS, FQDN, SUBNETWORK, WILDCARD, NETGROUP
1544 I moved ANONYMOUS to the end.
1546 The ordering is significant when an export entry is being searched for to
1547 match a given address. There are two problems with ANONYMOUS being first.
1549 1/ if a directory is exported rw to a couple of hosts and ro to everyone else,
1550 then the ro case will always be found first and the privileged hosts won't get
1552 2/ When mountd gets a request to mount an ANONYMOUSly exported tree, it creates a FQDN
1553 export entry for the specific host, and writes it to xtab.
1554 When another request comes from the same host, the ANONYMOUS entry is found again,
1555 before the new FQDN entry, so it creates another FQDN entry and writes it to xtab
1556 again. If causes bloat in xtab.
1558 Putting ANONYMOUS at the end reflects it's nature as a catch-all
1560 19/ utils/exportfs/exportfs.man
1561 many updates to the man page to reflect changes to the code
1563 -----------------------
1569 - allow exportfs to modify rmtab file
1570 - make sure kernel never gets two clients with same IP address
1571 - possible kernel should reject
1572 - needs to be some way to lookup client in kernel by IP address
1573 - maybe get kernel to do case-insensitive comparisons on client names
1574 - remove unused clients from kernel
1576 - change etab to xtab and xtab to xtab.active
1578 - timestamp and/or statd-stamp in rmtab for removing old entries.
1580 Mon Oct 18 11:48:07 1999 H.J. Lu <hjl@lucon.org>
1582 * linux-nfs: New directory.
1583 * linux-nfs/ChangeLog: Moved from ..
1584 * linux-nfs/INSTALL: Likewise.
1585 * linux-nfs/KNOWNBUGS: Likewise.
1586 * linux-nfs/NEW: Likewise.
1587 * linux-nfs/README: Likewise.
1588 * linux-nfs/THANKS: Likewise.
1589 * linux-nfs/TODO: Likewise.
1591 * Starting from knfsd 1.4.7.