1 2003-07-02 NeilBrown <neilb@cse.unsw.edu.au>
2 Steve Dickson <SteveD@redhat.com>
4 * utils/mountd/mountd.man: Add valid kinds of debugging.
5 * utils/mountd/mountd.c(main): ignore SIGPIPE
6 * utils/nfsstat/nfsstat.c: fine-tune printing of warning so
7 we don't get warnings about unavailable stats that weren't asked
10 2003-06-24 NeilBrown <neilb@cse.unsw.edu.au>
12 * support/nfs/nfsexport.c(exp_unexp): When unexporting filesystems
13 via /rpc/net/rpc/nfsd*/channel, set the expiry date to 1, not
14 'forever', so things disappear out of the cache rather than just
17 2003-06-16 "J. Bruce Fields" <bfields@fieldses.org>
19 * utils/mountd/cache.c(nfsd_fh): don't export the export_ent
22 2003-06-16 NeilBrown <neilb@cse.unsw.edu.au>
24 * debian/nfs-kernel-server.init,etc/nodist/nfs-server,
25 etc/redhat/nfs.init: when checking if V3 is supported, make sure
26 nfs server 'knows' about 127.0.0.1 first.
28 2003-06-10 Chip Salzenberg <chip@pobox.com>
30 * support/nfs/xlog.c (xlog): Fix off-by-one buffer overflow bug.
31 * debian/changelog: Version 1.0.3-2.
33 2003-05-30 Michael Griffith <grif@michaelgriffith.com>
34 NeilBrown <neilb@cse.unsw.edu.au>
36 utils/nfsstat/nfsstat.c(print_callstats): use unsigned
37 long long to avoid overflow when printing stats.
39 2003-05-30 NeilBrown <neilb@cse.unsw.edu.au>
41 * support/export/export.c, support/include/nfslib.h,
42 support/nfs/export.c, utils/exportfs/exportfs.c,
43 utils/mountd/mountd.c: new export option "mountpoint"
44 If no path is given, then the export point must be a
45 mount point, or it won't be exported. If a path is
46 given (e.g. mountpoint=/path) then that path must be
47 a mountpoint or the exportpoint won't be exported.
48 * utils/exportfs/exportfs.man: document mountpoint option.
49 * support/misc/mountpoint.c: New file with is_mountpoint()
50 to determine if something is a mountpoint.
52 2003-05-23 NeilBrown <neilb@cse.unsw.edu.au>
54 * utils/mountd/cache.c(cache_get_filehandle): take a separate path
55 argument as we might not be getting the filehandle for the
57 * utils/mountd/mountd.c(get_rootfh): pass real path when calling
59 * utils/mountd/mountd.c(get_rootfh): check export point and
60 requested directory are on the same filesystem, and complain if
63 2003-05-22 NeilBrown <neilb@cse.unsw.edu.au>
65 * utils/mountd/auth.c(auth_authenticate_internal): make sure
66 portnumber is still checked when using new cache lookup.
68 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
70 * utils/exportfs/exportfs.c: Use check_new_cache and cache_flush
71 Don't actually talk to kernel when new cache is in effect, except
73 * utils/exportfs/exportfs.c: add -f option to fully flush cache.
74 * support/export/xtab.c: Only rename new xtab into place if it has
75 changed, thus preserving modify date for exportfs to use when
77 * support/nfs/cacheio.c: Add cache_flush
78 * support/export/xtab.c: Only rename new xtab into place if it has
79 changed, thus preserving modify date for exportfs to use when
82 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
84 * support/export/client.c: Add client_compose, client_member to
85 handle new composite client names
86 * support/include/exportfs.h: Declare above functions.
87 * utils/mountd/auth.c: use client_compose to determine calling
88 client if new cache is being used.
89 * utils/mountd/auth.c: call cache_export to export a filesystem if
90 new_cache, check if new cache is used, and call my_svc_run instead
92 * utils/mountd/svc_run.c: new file defining my_svc_run
93 * utils/mountd/cache.c: new file for handling cache upcalls.
94 * support/nfs/cacheio.c(check_new_cache): new function to check if
95 new cache should be used.
98 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
100 * support/include/nfs/export.h: New CROSSMNT distinct from NOHIDE
101 * support/nfs/exports.c: Make CROSSMNT distinct from NOHIDE
102 * utils/exportfs/exportfs.c(dump): ditto
104 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
106 * support/export/hostname.c(get_reliable_hostbyaddr): new function
107 to get host name from address with full checking of authenticity.
108 * support/include/misc.h: declare above function
109 * utils/mountd/auth.c(auth_authenticate_internal): remove all
110 logic for authenticating address.
111 * utils/mountd/auth.c(auth_authenticate): call new
112 get_reliable_hostbyaddr to to hostname lookup before calling _internal.
115 2003-03-30 NeilBrown <neilb@cse.unsw.edu.au>
117 * tools/rpcgen/rpc_main.c(find_cpp): removed
118 * tools/rpcgen/rpc_main.c(open_input): use execvp to find "cpp",
119 then try hard-coded paths.
121 2003-03-26 Chip Salzenberg <chip@pobox.com>
123 * debian/changelog: Version 1.0.3-1.
125 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
127 * utils/mountd/rmtab.c (slink_safe_rename): real_newpath should be
128 "const char*", not "char*".
130 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
132 * configure.in (VERSION): Set to "1.0.3".
133 * nfs-utils.spec: Likewise.
134 * configure: Regenerated.
136 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
138 * support/nfs/cacheio.c: New File - support for read/writing
139 to export cache in /proc/rpc/*/channel
140 * support/nfs/Makefile: compile cacheio.c
141 * support/include/nfslib.h: declare cacheio.c functions
142 * support/nfs/nfsexport.c: export and unexport through
143 /proc/rpc/*/channel if possible, as old syscall interface
144 may not survive into 2.6 on all architectures.
146 2003-02-19 NeilBrown <neilb@cse.unsw.edu.au>
147 Ben Leslie <benno@sesgroup.net>
149 * support/nfs/rpcmisc.c(rpc_init): change test for ignoring
150 "defport" from (__rpcfdtype == 0) to (__rpcpmstart==0). The
151 former would incorectly ignore defport if the application
152 explicitly set __rpcfdtype. The later is sufficient to avoid the
153 special handling in the case where stdin is an internet socket.
155 * utils/mountd/mountd.c(main): Add 'n' to option list in
156 getopt_long as this is a short form of --no-tcp which want being
159 2003-02-12 Chip Salzenberg <chip@pobox.com>
161 * debian/changelog: Version 1.0.2-2.
163 2002-11-27 Chip Salzenberg <chip@pobox.com>
165 * utils/mountd/rmtab.c (slink_safe_rename): Fix off-by-one buffer
166 overflow bug. Reformat per rest of source file.
168 2002-11-19 NeilBrown <neilb@cse.unsw.edu.au>
170 * utils/exportfs/exports.man: Correct notes about whether the wild
171 card characters match a period. They do.
173 2002-10-15 Juan Gomez <juang@us.ibm.com>
175 * utils/mountd/rmtab.c (slink_safe_rename): New. Support
177 (mountlist_add): Call slink_safe_rename instead of rename.
179 2002-10-11 H.J. Lu <hjl@lucon.org>
181 * support/include/exportfs.h (export_errno): New.
183 * support/nfs/exports.c: Include <errno.h>.
185 (getexportent): Set export_errno to EINVAL for bad option.
186 (parseopts): Likewise.
187 Report the location of the default sync/async option.
189 * utils/exportfs/exportfs.c (main): Initialize export_errno to
190 0. Return export_errno.
192 2002-10-11 Juan Gomez <gomez@cs.sjsu.edu>
193 NeilBrown <neilb@cse.unsw.edu.au>
195 utils/statd/statd.c(killer): don't pmap_unset if in notify_only mode
196 utils/statd/statd.c(main): don't pmap_unset if in notify_only mode
198 2002-09-16 Chip Salzenberg <chip@pobox.com>
200 * utils/rquotad/rquota_svc.c (main): Use int for value of getopt.
202 2002-09-15 Chip Salzenberg <chip@pobox.com>
204 * support/nfs/rpcmisc.c (rpc_init): Allow stdin to be a non-INET
205 socket, as occurs when run from sshd.
206 * debian/changelog: Version 1.0.2-1.
208 2002-09-12 H.J. Lu <hjl@lucon.org>
210 * support/nfs/svc_socket.c: Remove HAVE_SVCTCP_SOCKET and
213 2002-09-12 H.J. Lu <hjl@lucon.org>
215 * configure.in: Remove checking svctcp_socket and svcudp_socket.
216 * configure: Regenerated.
218 * support/include/config.h.in (HAVE_SVCTCP_SOCKET): Removed.
219 (HAVE_SVCUDP_SOCKET): Removed.
221 * support/include/nfslib.h: Undo the last change.
223 2002-09-12 H.J. Lu <hjl@lucon.org>
225 * support/include/nfslib.h (svctcp_socket): Protect it with
227 (svcudp_socket): Protect it with HAVE_SVCUDP_SOCKET.
229 2002-09-12 H.J. Lu <hjl@lucon.org>
231 * configure.in (VERSION): Set to "1.0.2".
232 * configure: Regenerated.
233 * nfs-utils.spec: Likewise.
235 2002-09-12 H.J. Lu <hjl@lucon.org>
237 * configure.in: Check svctcp_socket and svcudp_socket.
238 * configure: Regenerated.
240 * support/include/config.h.in (HAVE_SVCTCP_SOCKET): New.
241 (HAVE_SVCUDP_SOCKET): New.
243 * support/include/nfslib.h (svctcp_socket): New.
244 (svcudp_socket): New.
246 * support/nfs/Makefile (OBJS): Add svc_socket.o.
248 * support/nfs/svc_socket.c: New.
250 * support/nfs/rpcmisc.c (rpc_init): Call svctcp_socket and
251 svcudp_socket if port is unspecified.
253 * utils/nfsd/nfsd.c (main): Call getservbyname for port.
255 * utils/rquotad/rquota_svc.c: Include <nfslib.h>.
256 (killer): New. Signal handler to unregister.
257 (main): Use killer. Call svcudp_socket to get the default
260 2002-09-02 Juan Gomez <juang@us.ibm.com>
261 NeilBrown <neilb@cse.unsw.edu.au>
263 Add -N option to statd to run in notify-only mode.
265 * utils/statd/statd.h: uncomment MODE_NOTIFY_ONLY
266 * utils/statd/statd.man: document -N
267 * utils/statd/statd.c: enabled -N, largely exists but needed to be
268 uncommented and completed
270 2002-09-02 Juan Gomez <juang@us.ibm.com>
271 NeilBrown <neilb@cse.unsw.edu.au>
273 statd to have " -P directory" arg to use that directory instead
274 of /var/lib/nfs. This is useful for fail-over clusters.
276 * utils/statd/statd.h: define SM_DIR etc as var, not const.
277 * utils/statd/statd.c: define "-P" option to set SM_*
279 * utils/statd/monitor.c: sprintf to cope with SM_DIR not being
281 * utils/statd/notify.c: ditto.
282 * utils/statd/statd.man: document -P option.
284 2002-08-26 Chip Salzenberg <chip@pobox.com>
286 * utils/nfsd/nfsd.man: Fix typo.
287 * debian/changelog: Version 1.0.1-1.
289 2002-05-29 NeilBrown <neilb@cse.unsw.edu.au>
291 * let parseopts know if /etc/exports was being read or not,
292 and have it only print "no sync or async" warning in that case.
294 2002-05-06 Tom McNeal <trmcneal@attbi.com>
295 NeilBrown <neilb@cse.unsw.edu.au>
297 * utils/nfsstat/nfsstat.c: Handle differing format for
298 /proc/net/rpc/nfsd between pre and post 2.4.0
300 2002-04-09 NeilBrown <neilb@cse.unsw.edu.au>
301 James Pearson <james-p@moving-picture.com>
303 * support/nfs/rmtab.c(fendrmtabent): sync changes to
304 storage before returning, as this is critical state
306 2002-04-08 Sean O'Connell <sean@ee.duke.edu>
307 H.J. Lu <hjl@lucon.org>
309 * etc/redhat/nfs: New.
311 2002-04-08 H.J. Lu <hjl@lucon.org>
313 * etc/redhat/nfs.init: Updated.
315 * nfs-utils.spec.in: Updated.
316 * nfs-utils.spec: Regenerated.
318 * utils/mountd/mountd.c (longopts): Fix a typo.
320 * utils/mountd/mountd.man: Updated.
322 2002-04-07 H.J. Lu <hjl@lucon.org>
324 * etc/redhat/nfslock.init (restart): Just do stop and start.
326 * etc/redhat/nfs.init: Fix a typo.
328 2002-04-07 H.J. Lu <hjl@lucon.org>
330 * configure.in (VERSION): Set to "1.0.1".
331 * configure: Regenerated.
332 * nfs-utils.spec: Likewise.
334 * README: Updated for 1.0.1.
336 2002-04-07 Sean O'Connell <sean@ee.duke.edu>
337 H.J. Lu <hjl@lucon.org>
339 * etc/redhat/nfs.init: Read /etc/sysconfig/nfsd for NFS tuning.
341 2002-02-28 Steven Whitehouse <steve@gw.chygwyn.com>
342 NeilBrown <neilb@cse.unsw.edu.au>
344 Add support for fsid=nn export option so that device
345 numbers don't go in filehandles.
346 * support/export/nfsctl.c(expsetup): if exporting and NFSEXP_FSID
347 is set, pass the fsid in-place of the device number
348 * support/nfs/exports.c: parse and print fsid= option.
349 Also check if efname has been set, and use "command line"
350 instead in error messages.
351 Also, use strtol instead of atoi for anon[ug]id= so that
352 bad numbers cause errors.
354 2002-01-17 Adrian Drzewiecki <drze@MissionCriticalLinux.com>
355 NeilBrown <neilb@cse.unsw.edu.au>
357 * support/nfs/exports.c: remove NFSEXP_ASYNC as a default
358 flag so that "sync" becomes the default.
359 Check that either "sync" or "async" is given as an option
360 and warn if neither are present
361 * utils/exportfs/exports.man: change documentation for "sync"
362 to be documentation for "async".
363 * utils/exportfs/exportfs.man: note that "sync" is the default
367 2002-01-02 Chip Salzenberg <chip@pobox.com>
369 * support/export/nfsctl.c (expsetup): Don't export entries that
370 specify id mappings not supported by the kernel. No extant kernel
371 supports any significant mapping, only 'identity' (i.e. none).
372 When other mappings are supported, this code will need changing.
373 * debian/changelog: Version 1.0-2.
375 2001-12-26 Chip Salzenberg <chip@pobox.com>
377 * nfs-utils.spec (Version): Set to "1.0".
378 * configure.in (VERSION): Likewise.
379 * configure: Regenerated.
381 * debian/changelog: Version 1.0-1.
383 * utils/exportfs/exports.man: Emphasize the need for options to
384 immediately follow client names. Explain that wildcards don't
385 usually work on addresses, but may work when reverse DNS fails.
386 Comment out a leftover TP that was TPing our indentation.
387 * utils/mountd/mountd.man, utils/rquotad/rquotad.man,
388 utils/statd/statd.man: Remove refs to non-existent "hosts_allow(5)".
389 * debian/changelog: Version 0.3.3-6.
391 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
393 * support/export/client.c(client_lookup): If a host has multiple
394 IP addresses, then we must always use the result of a
395 gethostbyname, not that of gethostbyaddr for exporting
397 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
399 * support/export/client.c (client_lookup): use strcasecmp when
401 * support/nfs/export.c (getexportent): add fromkernel arg and use
402 different defaults as kernels prior to 2.4.11 assume different
403 defaults in /proc/fs/nfs/exports
404 * support/include/nfslib.h, support/export/export.c,
405 support/export/xtab.c: support extra "fromkernel" arg for
408 2001-12-13 Chip Salzenberg <chip@pobox.com>
410 * debian/changelog: Version 0.3.3-5.
412 2001-11-26 TAKAI Kousuke <takai@vlsi.kuee.kyoto-u.ac.jp>
414 * support/nfs/xio.c (xskip): Call `xungetc' instead of
415 `ungetc' to keep x_line more properly.
417 2001-11-26 Chip Salzenberg <chip@pobox.com>
419 * utils/showmount/showmount.c (main): Don't assume that strings
420 starting with digits are IP addresses.
421 * utils/nfsd/nfsd.c (main): Close all fds and reopen 0,1,2 on
422 /dev/null before nfssvc(). Use syslog to report nfssvc errors.
423 * support/misc/tcpwrapper.c, utils/mountd/mountd.man,
424 utils/rquotad/rquotad.man, utils/statd/statd.man: Fix comments and
425 man pages: We check host names *and* addresses with tcpwrappers.
426 * debian/changelog: Version 0.3.3-4.
428 2001-11-21 Chip Salzenberg <chip@pobox.com>
430 * support/nfs/clients.c (cfname): Added: current clients file name.
431 (setnfsclntent): Set it.
432 ({get,end}nfsclntent, syntaxerr): Use it.
433 * support/nfs/exports.c (efname): Added: current exports file name.
434 (setnfsexportent): Set it.
435 (endnfsexportent, parseopts, getexport, syntaxerr): Use it.
436 (parseopts): Accept old-style "crossmnt" option, for old xtabs.
437 * debian/changelog: Version 0.3.3-3.
439 2001-10-11 Chip Salzenberg <chip@pobox.com>
441 * utils/mountd/mountd.c (main): Close fds > 2 _before_ RPC init.
442 * debian/changelog: Version 0.3.3-2.
444 2001-10-08 Chip Salzenberg <chip@pobox.com>
446 * utils/mountd/mountd.c (main): When daemonizing, close all fds > 2.
447 * utils/Makefile.in: Remove old Makefile in target 'distclean'.
448 * utils/mountd/mountd.man: Update paths to /var/lib.
449 * debian/*: Version 0.3.3-1, with Debian-specific fixes.
451 2001-10-06 Preston Brown <pbrown@redhat.com>
453 * utils/nfsstat/nfsstat.man: Updated.
455 2001-09-24 H.J. Lu <hjl@lucon.org>
457 * configure.in (VERSION): Set to "0.3.3".
458 * configure: Regenerated.
459 * nfs-utils.spec: Likewise.
461 * README: Updated for 0.3.3.
463 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
465 Arrange that "exportfs -au" never does DNS lookup:
467 * support/export/client.c (client_lookup) : add "canonical"
468 flag which says that the hostname is known to be canonical, so
471 * support/export/export.c (export_create) : add "canonical"
472 flag to be passed down to client_lookup
473 * support/export/export.c (export_lookup) : Likewise
475 * support/export/xtab.c (xtab_read) : pass appropriate
476 "canonical" flag to export_lookup and export_create:
477 set if reading list of filesystems currently exports
480 * support/export/export.c (export_read) : pass 0 as
481 "canonical" flag to export_lookup and export_create
482 * support/export/rmtab.s (rmtab_read) : Likewise
484 * support/include/exportfs.h : redeclare various routines
485 to have "canonical" flag
487 * utils/exportfs/exportfs.c (main) : redo logic for
488 "-au" to read in what is currently exported, but never even
489 look at what "should" be exported.
491 * utils/exportfs/exportfs.c (unexportall) : remove this
492 routine. Functionality is completely included in
495 * utils/exportfs/exportfs.c (exportfs) : set "canonical"
496 flag to zero in calls to export_lookup and export_create.
499 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
500 Anne Milicia <milicia@missioncriticallinux.com>
502 * support/export/client.c (client_lookup) call gethostbyadd
503 to make sure that we have a canonical hostname, even for
505 * utils/exportfs/exportfs.c (exportfs) Likewise
507 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
509 * support/nfs/exports.c (putexportent): \octal quote any spaces
511 * support/nfs/xio.c (xgettok): recognise double-quote and
512 \octal quoting in path names
513 * utils/exportfs/exports.man: document quoting conventions
516 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
518 * utils/mountd/auth.c (auth_authenticate_internal): Reverse
519 change from 2000-08-02: It causes problems if someone exports
520 to both a hostname and IP addresses. nfs-utils must be
521 consistant about the canonical name that it chooses.
523 2001-08-17 Ragnar Kjørstad <nfs@ragnark.vestdata.no>
524 H.J. Lu <hjl@lucon.org>
526 * etc/redhat/nfslock.init (STATDARG): New. Pass it to rpc.statd.
528 * utils/statd/statd.c (longopts): Add "name".
529 (usage): Add "-n/--name".
530 (main): Set MY_NAME with "-n/--name".
532 * utils/statd/state.c (change_state): Set MY_NAME only if it
535 * utils/statd/statd.man: Updated for "-n/--name".
537 2001-07-26 H.J. Lu <hjl@lucon.org>
539 * nfs-utils.spec (Release): Set to 8.
541 2001-07-25 H.J. Lu <hjl@lucon.org>
543 * etc/redhat/nfs.init: Check if rpc.rquotad exists before doing
546 2001-06-27 H.J. Lu <hjl@lucon.org>
548 * etc/redhat/nfs.init: Run rpc.rquotad only if it exists.
550 2001-06-27 H.J. Lu <hjl@lucon.org>
552 * utils/rquotad/rquota_server.c: Don't call statfs () for
553 the block size. Use BLOCK_SIZE instead.
555 2001-06-27 H.J. Lu <hjl@lucon.org>
557 * config.mk.in (CC_FOR_BUILD): Renamed from BUILD_CC.
558 (CFLAGS_FOR_BUILD): New. Don't use @CFLAGS@.
560 * configure.in (enable_nfsv3): Set to yes by default.
561 (--enable-rquotad): Added
562 (AC_PROG_CXX): Removed.
563 (AC_OUTPUT): Add utils/Makefile.
564 (CC_FOR_BUILD): Renamed from BUILD_CC.
565 * configure: Regenerated.
567 * utils/Makefile: Removed.
569 * utils/Makefile.in: New.
571 * nfs-utils.spec.in (rquotad): New. Set to 0 to disable
573 (CC_FOR_BUILD): Renamed from BUILD_CC.
574 * nfs-utils.spec: Regenerated.
576 2001-06-15 Chip Salzenberg <chip@debian.org>
578 * debian/changelog: Version 0.3.2-2.
579 * debian/*.init: Minor fixes.
581 2001-06-07 Lon H. Hohberger <hohberger@missioncriticallinux.com>
583 * etc/nodist/nfs-server: Fixed a bug where the script would
584 disable mounts from NFSv3 clients if NFSv3 is present.
586 2001-06-05 H.J. Lu <hjl@lucon.org>
588 * utils/mountd/mountd.c (longopts): Add "descriptors/o".
589 (main): Support --descriptors/-o to set the limit of the number
590 of open file descriptors.
593 * utils/mountd/mountd.man: Updated for --descriptors/-o.
595 2001-06-04 H.J. Lu <hjl@lucon.org>
597 * nfs-utils.spec (Release): Set to 6.
599 2001-05-28 H.J. Lu <hjl@lucon.org>
601 * utils/lockd/lockd.c (main): chdir to NFS_STATEDIR.
602 * utils/mountd/mountd.c (main): Likewise.
603 * utils/nfsd/nfsd.c (main): Likewise.
604 * utils/rquotad/rquota_svc.c (main): Likewise.
606 2001-05-06 Anne Milicia <milicia@missioncriticallinux.com>
608 * support/export/client.c (client_check): Check IP address
611 2001-05-06 Neil Brown <neilb@cse.unsw.edu.au>
613 * support/export/client.c (client_gettype): Treat `*' as
616 2001-04-22 H.J. Lu <hjl@lucon.org>
618 * nfs-utils.spec.in: Fix a typo.
619 * nfs-utils.spec: Regenerated.
621 2001-04-21 H.J. Lu <hjl@lucon.org>
623 * nfs-utils.spec.in: Fix cross build.
624 * nfs-utils.spec: Regenerated.
627 2001-04-18 H.J. Lu <hjl@lucon.org>
629 * nfs-utils.spec.in: Support cross build.
630 * nfs-utils.spec: Regenerated.
636 * config.mk.in (BUILD_CC): New.
637 (CC): Set to $(BUILD_CC) if BUILD is defined.
640 (RANLIB): Set to @RANLIB@.
642 * configure.in: Check BUILD_CC, RANLIB, AR and LD.
643 * configure: Regenerated.
645 * tools/rpcgen/Makefile (BUILD): Set to true.
647 2001-04-01 Chip Salzenberg <chip@valinux.com>
649 * tools/rpcgen/rpc_svcout.c (write_timeout_func): Remove
650 redundant, and sometimes broken, declaration of svc_fdset;
652 * support/nfs/rpcmisc.c (closedown): Likewise.
654 2001-03-21 H.J. Lu <hjl@lucon.org>
656 * nfs-utils.spec: Regenerated.
659 2001-03-21 Ion Badulescu <ionut@cs.columbia.edu>
661 * utils/statd/statd.c (main): make sure file descriptors 0-2
662 are open to /dev/null.
664 2001-03-21 H.J. Lu <hjl@lucon.org>
666 * support/nfs/rpcmisc.c: Restore the change made on 2001-03-10.
667 * support/nfs/rpcmisc.c: Likewise.
668 * utils/rquotad/rquota_svc.c: Likewise.
669 * utils/rquotad/rquotad.man: Likewise.
670 * utils/statd/Makefile: Likewise.
671 * utils/statd/rmtcall.c: Likewise.
672 * utils/statd/simulate.c: Likewise.
673 * utils/statd/statd.c: Likewise.
674 * utils/statd/statd.man: Likewise.
676 2001-03-11 H.J. Lu <hjl@lucon.org>
678 * configure.in (RELEASE): New. Default to 1, set by
679 --with-release=XXX. Substitute nfs-utils.spec.
680 * nfs-utils.spec.in (Release): Set to @RELEASE@.
681 * configure: Regenerated.
682 * nfs-utils.spec: Likewise.
684 2001-03-11 H.J. Lu <hjl@lucon.org>
686 * utils/rquotad/rquotad.man: Fix a typo.
688 2001-03-11 H.J. Lu <hjl@lucon.org>
690 * support/include/rpcmisc.h: Undo the change made on 2001-03-10.
691 * support/nfs/rpcmisc.c: Likewise.
692 * utils/rquotad/rquota_svc.c: Likewise.
693 * utils/rquotad/rquotad.man: Likewise.
694 * utils/statd/Makefile: Likewise.
695 * utils/statd/rmtcall.c: Likewise.
696 * utils/statd/simulate.c: Likewise.
697 * utils/statd/statd.c: Likewise.
698 * utils/statd/statd.man: Likewise.
700 2001-03-10 H.J. Lu <hjl@lucon.org>
702 * configure.in (VERSION): Set to "0.3.2".
703 * configure: Regenerated.
704 * nfs-utils.spec: Likewise.
706 * README: Updated for 0.3.2.
708 2001-03-10 Tavis Barr <tavis@boole.isetr.columbia.edu>
710 * utils/rquotad/rquotad.man: Updated for -p.
711 * utils/statd/statd.man: Likewise.
713 2001-03-10 Ion Badulescu <ionut@cs.columbia.edu>
715 * support/nfs/rpcmisc.c: export makesock()
717 * support/include/rpcmisc.h (makesock): Declared.
719 * utils/rquotad/rquota_svc.c: added longopts, added support for
720 specifying the port to bind to on the command line.
722 * utils/statd/statd.c: ditto, also specify port used for
723 outgoing connections.
724 (do_regist): Removed.
726 * utils/statd/rmtcall.c (statd_get_socket): Renamed from
727 get_socket. Make it extern.
729 * utils/statd/simulate.c (daemon_simulator): Call rpc_init
730 instead of do_regist.
732 * utils/statd/Makefile (LIBS): link with our own libnfs
734 2001-03-09 H.J. Lu <hjl@lucon.org>
736 * etc/redhat/nfslock.init: Changed chkconfig line to 60 86.
737 * etc/nodist/nfs-client: Likewise.
739 2001-02-26 Chip Salzenberg <chip@valinux.com>
741 * debian/changelog: Version 0.3.1-1.
742 * Mention upstream source and license in copyright file.
743 * Add build-Depends for debhelper and libwrap0-dev.
745 2001-02-20 Lon Hohberger <hohberger@missioncriticallinux.com>
747 * etc/nodist/nfs-server: Changed chkconfig line to 60 20
748 * etc/nodist/nfs-client: Likewise.
750 2001-02-18 Lon Hohberger <hohberger@missioncriticallinux.com>
752 * utils/statd/statd.man: Changed /usr/sbin/rpc.statd to
755 2001-02-17 Patrick J. LoPresti <patl@curl.com>
757 * utils/statd/log.c (log_init): Use LOG_DAEMON instead of
760 2001-02-14 H.J. Lu <hjl@lucon.org>
762 * utils/statd/rmtcall.c: Include <time.h>.
763 * utils/statd/svc_run.c: Likewise.
765 2001-02-14 H.J. Lu <hjl@lucon.org>
767 * configure.in (VERSION): Set to "0.3.1".
768 * configure: Regenerated.
769 * nfs-utils.spec: Likewise.
771 * README: Updated for 0.3.1.
773 2001-02-14 H.J. Lu <hjl@lucon.org>
775 * support/nfs/rpcmisc.c: Include <time.h>.
777 2001-02-14 Chip Salzenberg <chip@valinux.com>
779 * debian/control: Change priority of nhfsstone package to 'extra'.
781 2001-02-12 Chip Salzenberg <chip@valinux.com>
783 * debian/changelog: Version 0.3-2.
785 2001-02-02 H.J. Lu <hjl@lucon.org>
787 * support/include/rpcmisc.h (rpc_init): Remove bufsize.
789 * support/nfs/rpcmisc.c (makesock): Remove socksz and comment
790 out SO_SNDBUF/SO_RCVBUF.
791 (rpc_init): Remove bufsize and remove socksz in calls to
794 * utils/mountd/mountd.c (main): Remove bufsize in calls to
797 2001-01-28 Chip Salzenberg <chip@valinux.com>
799 * debian/changelog: Version 0.3-1.
801 2001-01-25 H.J. Lu <hjl@lucon.org>
803 * configure.in (VERSION): Set to "0.3".
804 * configure: Regenerated.
805 * nfs-utils.spec: Likewise.
807 * README: Updated for 0.3.
809 2001-01-25 H.J. Lu <hjl@lucon.org>
811 * utils/lockd/lockd.c (main): Ignore errno == EINVAL.
813 2001-01-20 Chip Salzenberg <chip@valinux.com>
815 * support/include/xio.h (xgetc): Declare to return int.
816 * support/nfs/xio.c (xgetc): Return int.
817 (xgettok, xskip, xskipcomment): Use int for value of xgetc.
818 * utils/statd/statd.c (main): Use int for value of getopt.
819 * debian/changelog: Version 0.2.1-5.
821 2000-12-10 Chip Salzenberg <chip@valinux.com>
823 * utils/statd/monitor.c (sm_mon_1_svc): Fix buggy check for
824 program and procedure numbers of kernel lockd's callback. Also,
825 besides the old (and broken) procedure #24, allow #16 per Trond.
827 2000-12-03 Chip Salzenberg <chip@valinux.com>
829 * support/nfs/xio.c (xfopen): Initialize x_line to one, not zero.
830 * debian/control: Let nhfsstone replace files in nfs-kernel-server.
831 * debian/changelog: Version 0.2.1-4.
833 2000-11-27 Tobias Ringstrom <tori@tellus.mine.nu>
835 * utils/mountd/auth.c (auth_authenticate): Log the bad path
838 2000-11-24 Neil Brown <neilb@cse.unsw.edu.au>
840 * support/nfs/exports.c (getexportent): Check for host name
841 without option, or options without hostname, and print a warning,
842 as this is most likely a typo.
844 2000-11-19 Chip Salzenberg <chip@valinux.com>
846 * debian/control: Add dependency on portmap.
847 * debian/changelog: Version 0.2.1-3.
849 2000-11-10 H.J. Lu <hjl@lucon.org>
851 * nfs-utils.spec.in: Don't use libtool.
852 Add ChangeLog and COPYING to doc.
853 * nfs-utils.spec: Rebuild.
855 2000-11-09 H.J. Lu <hjl@lucon.org>
857 * etc/redhat/nfs.init (start): Back out the last change.
859 2000-11-09 H.J. Lu <hjl@lucon.org>
861 * etc/redhat/nfs.init (start): Pass --no-tcp to mountd if
862 TCP is not supported by kernel.
864 * support/nfs/rpcmisc.c (rpc_init): Don't set _rpcfdtype to 0.
866 * utils/mountd/mountd.c (longopts): Add "-n/--no-tcp".
867 (main): Set to _rpcfdtype to SOCK_DGRAM for "-n/--no-tcp".
869 * utils/mountd/mountd.man: Updated for "-n/--no-tcp".
871 2000-10-24 Lon Hohberger <hohberger@missioncriticallinux.com>
873 * utils/statd/callback.c: Fix bug preventing callbacks to local lockd.
874 * utils/statd/rmtcall.c: Add some IP address paranoia when doing
875 callbacks to local lockd.
877 2000-10-18 Scott McDermott <mcdermot@questra.com>
879 * utils/exportfs/exports.man: Updated for CIDR netmask.
881 2000-10-17 Scott McDermott <mcdermot@questra.com>
883 * support/export/client.c (client_init): Support CIDR netmask
886 2000-10-11 H.J. Lu <hjl@lucon.org>
888 * aclocal.m4 (AC_TCP_WRAPPER): Fix a typo.
889 * configure: Rebuilt.
891 2000-10-06 Lon Hohberger <hohberger@missioncriticallinux.com>
893 * utils/statd/statd.man: Change "/var/lib/nfs/sm/state" to
894 "/var/lib/nfs/state".
896 2000-10-05 Lon Hohberger <hohberger@missioncriticallinux.com>
898 * utils/statd/statd.h (run_mode): New global bitmask of runtime
899 behaviors: fg/bg, logging, etc.
900 * utils/statd/statd.c: New command line options: -V -h -? -d .
901 * utils/statd/statd.man: Update for changes to statd.
903 * utils/statd/log.h (log_init): Remove parameter of function; use
904 global variable "name_p" instead.
905 * utils/statd/log.c: Add support for logging to stderr.
907 * utils/statd/notlist.c: Partially rewrite notify list handling
908 functions. Eliminate run-off-end-of-list bug when calling
909 nlist_insert_timer. Add lots of comments.
911 2000-09-27 H.J. Lu <hjl@lucon.org>
913 * README: Updated for RedHat 7.0.
915 2000-09-27 H.J. Lu <hjl@lucon.org>
917 * nfs-utils.spec: Rebuild.
919 2000-09-27 H.J. Lu <hjl@lucon.org>
921 * README: Updated for 0.2.1.
923 2000-09-27 H.J. Lu <hjl@lucon.org>
925 * nfs-utils.spec.in: Updated to use rpm macros and support
928 2000-09-25 H.J. Lu <hjl@lucon.org>
930 * configure.in (VERSION): Set to "0.2.1".
931 * configure: Regenerated.
932 * nfs-utils.spec: Updated.
934 2000-09-25 H.J. Lu <hjl@lucon.org>
936 * utils/mountd/auth.c (auth_authenticate_internal): Make sure a
937 non-NULL hostent is always returned.
939 2000-09-11 Ion Badulescu <ionut@cs.columbia.edu>
941 * etc/redhat/nfslock.init: don't kill lockd processes that do not
942 have an executable (i.e. kernel threads)
944 2000-09-01 H.J. Lu <hjl@lucon.org>
946 * README: Updated for 0.2.
948 2000-09-01 Jay Weber <jweber@valinux.com>
950 * etc/redhat/nfs.init: Added ability for rpc.mountd to default to
951 supporting version 3 of nfs if available, else it will fall back to
952 version 2 support only.
954 2000-08-30 H.J. Lu <hjl@lucon.org>
956 * configure.in (VERSION): Set to "0.2".
957 * configure: Regenerated.
958 * nfs-utils.spec: Updated.
960 2000-08-25 H.J. Lu <hjl@lucon.org>
962 * support/misc/tcpwrapper.c (logit): Modify the log output.
964 2000-08-25 Ion Badulescu <ionut@cs.columbia.edu>
966 * utils/rquotad/rquotad.man, utils/statd/statd.man,
967 utils/mountd/mountd.man: updated
969 * utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL)
970 * utils/rquotad/Makefile: fix comment
972 * support/misc/tcpwrapper.c (logit): added comment about waiting
973 for the children after fork()
975 * utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving
976 zombies behind (from logit()'s fork)
977 * utils/rquotad/rquota_svc.c (main): ditto
978 * utils/statd/statd.c (main): ditto
980 * utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG
981 to check_default instead of 0, for prognum
983 * utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG
984 to check_default instead of 0, for prognum
986 * utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if
987 HAVE_TCP_WRAPPER is defined.
988 (mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is
989 defined. Reject an RPC call if check_default () fails.
991 2000-08-25 H.J. Lu <hjl@lucon.org>
993 * support/include/tcpwrapper.h: New for the tcp wrapper
995 * support/misc/Makefile: Likewise.
996 * support/misc/from_local.c: Likewise.
997 * support/misc/tcpwrapper.c: Likewise.
999 * aclocal.m4 (AC_TCP_WRAPPER): New.
1000 * configure.in: Use it. Substitute LIBWRAP.
1001 * configure: Rebuilt.
1003 * config.mk.in (LIBNSL): New.
1004 (LIBWRAP): Likewise.
1006 * support/Makefile (SUBDIRS): Add misc.
1008 * support/lib/Makefile (LIBS): Add libmisc.a.
1010 * utils/rquotad/Makefile (LIBS): Add
1012 -lmisc $(LIBWRAP) $(LIBNSL)
1014 * utils/statd/Makefile (LIBS): Likewise.
1016 * utils/rquotad/rquota_svc.c: Include "tcpwrapper.h" if
1017 HAVE_TCP_WRAPPER is defined.
1018 (rquotaprog_1): Call check_default () if HAVE_TCP_WRAPPER is
1019 defined. Reject an RPC call if check_default () fails.
1021 * utils/statd/statd.c: Include "tcpwrapper.h" if
1022 HAVE_TCP_WRAPPER is defined.
1023 (sm_prog_1_wrapper): New. A wrapper for sm_prog_1. Call
1024 check_default () before calling sm_prog_1 (). Define it as
1025 sm_prog_1_wrapper if HAVE_TCP_WRAPPER is defined.
1027 2000-08-25 Chip Salzenberg <chip@valinux.com>
1029 * debian/*: Complete Debian build support.
1030 * etc/debian/*: Remove.
1032 2000-08-24 Neil Brown <neilb@cse.unsw.edu.au>
1034 * support/export/client.c(client_check): removed the "dot+1" as a
1035 ypdomain argument to innetgr as this is entirely bogus.
1036 It should always be NULL.
1038 2000-08-23 Neil Brown <neilb@cse.unsw.edu.au>
1040 * support/export/xtab.c(xtab_read): introduce new mode for
1041 reading xtab. i.e. a list of exports that might be known to the
1042 kernel, or might not. These are flagged as m_exported == -1
1043 * support/export/xtab.c(xtab_mount_read): call xtab_read with new
1044 value "2" for xtab, meaning don't trust this too much.
1045 * support/include/exportfs.h(struct mexport): changed m_exported
1046 from one bit to an int so that it can hold new value
1047 * utils/exportfs/exportfs.c(exportfs_ipdate): add an export to the
1048 kernel if it is uncertain whether the kernel knows (m_exported == -1)
1049 * utils/mountd/mountd.c(get_rootfh): similarly export to kernel if
1052 * support/nfs/xio.c(xflock): added O_CREAT when getting
1053 a write lock so that missing files aren't fatal.
1055 * etc/debian/nfs-common: new file from "potato"
1056 * etc/debian/nfs-kernel-server: new file from "potato" plus fixes.
1058 2000-08-09 H.J. Lu <hjl@lucon.org>
1060 * etc/redhat/nfs.init: Run /usr/sbin/exportfs first during
1061 startup to ensure all existing clients work fine.
1063 * support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0
1064 to xtab_read () for reading _PATH_XTAB.
1066 2000-08-02 H.J. Lu <hjl@lucon.org>
1068 * utils/mountd/auth.c (auth_authenticate_internal): Try to
1069 avoid the reverse name lookup.
1071 2000-07-04 H.J. Lu <hjl@lucon.org>
1073 * utils/statd/log.c: Include <stdlib.h> for exit ().
1075 * utils/statd/misc.c (xunlink): Add `{' and `}' to quiet the
1078 2000-07-04 H.J. Lu <hjl@lucon.org>
1080 * configure.in (VERSION): Set to "0.1.9.1".
1081 * configure: Regenerated.
1082 * nfs-utils.spec: Updated.
1086 2000-07-04 Neil Brown <neilb@cse.unsw.edu.au>
1088 * support/export/hostname.c (hostent_dup): Handle the NULL
1091 2000-07-03 H.J. Lu <hjl@lucon.org>
1093 * README: Update the util-linux requirement.
1095 2000-07-03 H.J. Lu <hjl@lucon.org>
1097 * configure.in (VERSION): Set to "0.1.9".
1098 * configure: Regenerated.
1099 * nfs-utils.spec: Updated.
1103 2000-07-03 H.J. Lu <hjl@lucon.org>
1105 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
1106 stop to ensure all clients can still access the server
1107 before it is shutdown.
1109 2000-06-30 Jeff Uphoff <juphoff@transmeta.com>
1111 * tools/rpcgen/rpc_svcout.c (write_msg_out): Generate syslog()
1112 calls with format string.
1114 2000-06-28 Chip Salzenberg <chip@valinux.com>
1116 * utils/statd/log.c (log): Call syslog with format string.
1118 2000-06-27 H.J. Lu <hjl@lucon.org>
1120 * utils/statd/statd.c (main): Use sysconf (_SC_OPEN_MAX)
1121 instead of OPEN_MAX.
1123 2000-06-27 H.J. Lu <hjl@lucon.org>
1127 2000-06-27 H.J. Lu <hjl@lucon.org>
1129 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
1130 startup to ensure all existing clients are exported.
1132 * configure.in (VERSION): Set to "0.1.8.2".
1133 * configure: Regenerated.
1134 * nfs-utils.spec: Updated.
1136 2000-06-06 H.J. Lu <hjl@lucon.org>
1138 * configure.in (VERSION): Set to "0.1.8.1".
1139 * configure: Regenerated.
1140 * nfs-utils.spec: Updated.
1142 2000-06-06 H.J. Lu <hjl@lucon.org>
1144 * utils/mountd/mountd.c (mount_dump_1_svc): Cast svc_getcaller
1145 to "struct sockaddr_in *" for glibc 2.2.
1146 (mount_umnt_1_svc): Likewise.
1147 (mount_umntall_1_svc): Likewise.
1148 (mount_export_1_svc): Likewise.
1149 (mount_exportall_1_svc): Likewise.
1150 (mount_pathconf_2_svc): Likewise.
1151 (get_rootfh): Likewise.
1153 2000-06-04 H.J. Lu <hjl@lucon.org>
1155 * etc/redhat/nfs.init: Fix a typo in comment.
1157 2000-05-31 H.J. Lu <hjl@lucon.org>
1159 * configure.in (VERSION): Set to "0.1.8".
1160 * configure: Regenerated.
1161 * nfs-utils.spec: Updated.
1165 2000-05-31 H.J. Lu <hjl@lucon.org>
1167 * configure.in (VERSION): Set to "0.1.7.5".
1168 * configure: Regenerated.
1169 * nfs-utils.spec: Updated.
1171 * support/include/nfslib.h (exportent): Add a new field,
1172 r_count, to count the number of mounts from a client.
1173 (getrmtabent): Take a new argument for position in file.
1174 (putrmtabent): Likewise.
1175 (fgetrmtabent): Likewise.
1176 (fputrmtabent): Likewise.
1177 * support/nfs/rmtab.c (getrmtabent): Handle the new argument
1178 for position in file.
1179 (fgetrmtabent): Likewise.
1180 (putrmtabent): Likewise.
1181 (fputrmtabent): Likewise.
1183 * support/nfs/rmtab.c (fgetrmtabent): Get value for the new
1186 * support/export/rmtab.c (rmtab_read): Pass NULL as the new
1187 argument to getrmtabent (), fgetrmtabent (), putrmtabent ()
1188 and fputrmtabent ().
1189 * utils/mountd/rmtab.c (mountlist_add): Likewise.
1190 (mountlist_del): Likewise.
1191 (mountlist_del_all): Likewise.
1192 (mountlist_list): Likewise.
1194 * utils/mountd/rmtab.c (mountlist_add): Increment "r_count"
1195 for the existing entry and initialize "r_count" to 1.
1196 (mountlist_del): Decrement "r_count".
1198 2000-05-18 H.J. Lu <hjl@lucon.org>
1200 * configure.in (VERSION): Set to "0.1.7.4".
1201 * configure: Regenerated.
1202 * nfs-utils.spec: Updated.
1204 2000-05-18 H.J. Lu <hjl@lucon.org>
1206 * etc/redhat/nfs.init (restart): Just do stop and start.
1208 2000-05-09 Jay Weber <jweber@valinux.com>
1210 * utils/rquotad/hasquota.c: added support for ext3 recognition
1212 * utils/rquotad/mntent.h: Likewise.
1214 2000-05-01 H.J. Lu <hjl@lucon.org>
1216 * configure.in (VERSION): Set to "0.1.7.3".
1217 * configure: Regenerated.
1218 * nfs-utils.spec: Updated.
1220 2000-05-01 H.J. Lu <hjl@lucon.org>
1222 * utils/rquotad/rquota_server.c (getquotainfo): Skip bad
1223 mounting poins in /etc/fstab.
1225 2000-05-01 H.J. Lu <hjl@lucon.org>
1227 * configure.in (VERSION): Set to "0.1.7.2".
1228 * configure: Regenerated.
1229 * nfs-utils.spec: Updated.
1231 2000-05-01 H.J. Lu <hjl@lucon.org>
1233 * utils/rquotad/rquota_server.c (getquotainfo): Call stat ()
1234 to check for the mounting point.
1236 2000-04-29 Chip Salzenberg <chip@valinux.com>
1237 Neil Brown <neilb@cse.unsw.edu.au>
1239 * Really re-use RPC ports.
1240 (Fixes earlier patch. Sorry, Neil.)
1242 2000-04-26 H.J. Lu <hjl@lucon.org>
1244 * configure.in (VERSION): Set to "0.1.7.1".
1245 * configure: Regenerated.
1246 * nfs-utils.spec: Updated.
1248 2000-04-26 H.J. Lu <hjl@lucon.org>
1250 * etc/redhat/nfslock.init: Check if lockd exits before killing
1253 2000-04-25 H.J. Lu <hjl@lucon.org>
1255 * README: Require util-linux-2.10f-mount-rpc.patch for mount.
1257 2000-03-21 Michael Weiser <michael@weiser.saale-net.de>
1259 * support/nfs/exports.c (parsesquash): Correctly set the
1262 Tue Mar 21 11:38:48 EST 2000 NeilBrown <neilb@cse.unsw.edu.au>
1264 * support/include/nfs/nfs.h: Removed knowledge of internals of
1265 kernel filehandles (which can change) and defined nfs_fh_size
1266 which has variable size
1268 * support/nfs/getfh.c: defined getfh_size to use new syscall to
1269 get variable sized file handles, and change getfh{,old} to
1272 * utils/mountd/mountd.c: use nfd_fh_size and call getfh_size for
1275 * tools/Makefile, tools/nlmtest/nlmtest.c
1276 nlmtest.c depended on internel format of file handles, so now
1280 2000-03-12 Chip Salzenberg <chip@valinux.com>
1281 Neil Brown <neilb@cse.unsw.edu.au>
1283 * support/nfs/rpcmisc.c (rpc_init): Share transports.
1285 2000-03-13 H.J. Lu <hjl@lucon.org>
1287 * etc/redhat/nfsd.init: Updated.
1289 * etc/redhat/nfslock.init: Updated.
1291 * nfs-utils.spec.in: Updated.
1293 * configure.in (VERSION): Set to "0.1.7".
1294 * configure: Regenerated.
1295 * nfs-utils.spec: Updated.
1299 Wed Mar 8 09:42:43 2000 Neil Brown <neilb@cse.unsw.edu.au>
1301 * utils/exportfs/exportfs.c (dump): Included printing of
1302 nohide, no_subtree_check, and insecure_locks
1304 2000-02-26 Chip Salzenberg <chip@valinux.com>
1306 * config.mk.in (INSTALLSUID): Strip ("-s").
1307 (INSTALLSCRIPT): Define.
1308 * utils/nhfsstone/Makefile: Use it.
1310 2000-02-26 Chip Salzenberg <chip@valinux.com>
1312 * utils/lockd/lockd.man: Create.
1313 * utils/lockd/Makefile: Install it.
1314 * utils/nhfsstone/nhfs{run,nums,graph}.man: Create.
1315 * utils/nhfsstone/nhfsstone.man: Change suffix from ".1".
1316 * utils/nhfsstone/Makefile: Install the helper scripts and
1318 * utils/exportfs/exports.man: Fix typo.
1320 2000-02-26 Chip Salzenberg <chip@valinux.com>
1322 * support/nfs/xio.c (xungetc): Decrement line number when
1323 character to unget is newline. Make first parameter int, so
1324 it can distinguish EOF from \377.
1325 * support/include/xio.h (xungetc): Adjust prototype.
1327 Fri Feb 4 23:42:23 2000 Neil Brown <neilb@cse.unsw.edu.au>
1329 * support/include/nfs/export.h: added NFSEXP_NOAUTHNLM
1330 * support/nfs/exports.c: added handling for NFSEXP_NOAUTHNLM
1331 * utils/exportfs/exports.man: added documentation for no_auth_nlm.
1333 This is for supporting a new option introduced in 2.3.42
1335 Thu Feb 3 14:55:48 2000 H.J. Lu <hjl@lucon.org>
1337 * COPYING: Added. GPL.
1339 Thu Feb 03 14:40:40 2000 Cristian Gafton <gafton@redhat.com>
1341 * utils/rquotad/rquota_server.c (getquotainfo): Call statfs ()
1342 to get the block size.
1344 Tue Jan 25 11:04:17 2000 H.J. Lu <hjl@lucon.org>
1346 * nfs-utils.spec.in: Update ftp site.
1348 Mon Jan 17 11:48:18 2000 H.J. Lu <hjl@lucon.org>
1350 * README: Update hostnames.
1352 Tue Jan 11 10:06:22 2000 H.J. Lu <hjl@lucon.org>
1354 * configure.in (VERSION): Set to "0.1.6".
1355 * configure: Regenerated.
1356 * nfs-utils.spec: Updated.
1360 Mon Jan 10 14:26:33 2000 H.J. Lu <hjl@lucon.org>
1362 * utils/mountd/auth.c (auth_authenticate_internal): Call
1363 xstrdup for hostname before passing it to gethostbyname.
1365 * utils/mountd/mountd.c (get_exportlist): Use xstrdup instead
1368 Sun Dec 19 09:35:01 1999 H.J. Lu <hjl@lucon.org>
1370 * README: Update the mailing list address.
1372 Sun Dec 19 09:22:28 1999 H.J. Lu <hjl@lucon.org>
1374 * configure.in (VERSION): Set to "0.1.5".
1375 * configure: Regenerated.
1376 * nfs-utils.spec: Updated.
1380 Mon Dec 13 13:40:20 1999 H.J. Lu <hjl@lucon.org>
1382 * utils/rquotad/hasquota.c (hasquota): Malloc one more char
1385 Mon Dec 6 09:42:45 1999 H.J. Lu <hjl@lucon.org>
1387 * configure.in (VERSION): Set to "0.1.4".
1388 * configure: Regenerated.
1389 * nfs-utils.spec: Updated.
1393 Mon Dec 6 09:28:07 1999 H.J. Lu <hjl@lucon.org>
1395 * nfs-utils.spec.in: New file.
1397 * config.mk.in (VERSION): Changed to "nfs-utils @VERSION@".
1399 * configure.in (nfs-utils.spec): Added to AC_OUTPUT.
1401 1999-12-04 Chip Salzenberg <chip@valinux.com>
1403 * config.mk.in: Use $(CC) as set by configure.
1405 1999-12-04 Chip Salzenberg <chip@valinux.com>
1407 * rules.mk: Call $(MAKE) with $(MFLAGS).
1409 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1411 * tools/rpcgen/rpc_main.c (h_output): Generate IXDR_GET_INT32,
1412 IXDR_PUT_INT32, IXDR_GET_U_INT32 and IXDR_PUT_U_INT32.
1414 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1416 * nfs-utils.spec (Version): Set to 0.1.3.
1418 * configure.in (VERSION): Set to "nfs-utils 0.1.3".
1419 * configure: Regenerated.
1423 Mon Nov 29 11:15:47 1999 H.J. Lu <hjl@lucon.org>
1425 * utils/rquotad/rquota_server.c (nfsmount_to_devname): Removed.
1426 (_PATH_DEV_DSK): Likewise.
1427 (getquotainfo): Match the mounting point from /etc/mtab
1428 instead of calling nfsmount_to_devname ().
1430 1999-11-24 Chip Salzenberg <chip@valinux.com>
1432 * utils/statd/monitor.c (sm_mon_1_svc): Accept lockd callbacks
1433 to the new port 24 as well as the historical port 100021.
1435 Tue Nov 23 10:21:34 1999 Neil Brown <neilb@cse.unsw.edu.au>
1437 * etc/redhat/nfsd.init (stop): moved exportfs -ua after
1438 stopping nfsd to stop spurious ESTALE on server shutdown.
1440 Tue Nov 23 10:13:39 1999 Neil Brown <neilb@cse.unsw.edu.au>
1442 * support/nfs/exports.c (parseopts): make copy of opt string
1443 before 'nul'ing out commas so that
1445 # exportfs -o option1,option2 hosta:/fs hostb:/fs
1447 applies both options to both exports.
1449 Thu Oct 28 12:55:42 1999 H.J. Lu <hjl@lucon.org>
1451 * README: Fix a few typos.
1453 * tools/rpcgen/rpc_cout.c (print_header): Use int32_t instead
1455 * tools/rpcgen/rpc_hout.c (pdefine): Likewise.
1456 * tools/rpcgen/rpc_main.c (c_initialize): Likewise.
1457 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1458 (unsigned_dec): Likewise.
1459 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1460 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1462 * tools/rpcgen/rpc_cout.c (emit_single_in_line): Use INT32
1464 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1465 (unsigned_dec): Likewise.
1466 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1467 * tools/rpcgen/rpc_scan.h (tok_kind): Likewise.
1468 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1470 Thu Oct 28 11:27:51 1999 Neil Brown <neilb@cse.unsw.edu.au>
1472 * support/include/nfs/export.h addedd NFSEXP_NOSUBTREECHECK
1473 * support/nfs/exports.c: added {no_,}subtree_check and changed
1475 * utils/exportfs/exports.man: added no_subtree_check and nohide
1476 and removed irrelevant stuff from unfsd.
1477 * support/export/rmtab.c: rmtab_read didn't quite do the right
1478 thing if a pathname from rmtab was a subdirectory of an export-point
1480 Tue Oct 26 17:22:40 1999 H.J. Lu <hjl@lucon.org>
1482 * README: Updated ftp site.
1484 Mon Oct 25 18:12:45 1999 H.J. Lu <hjl@lucon.org>
1486 * nfs-utils.spec (Version): Set to 0.1.2.
1488 * configure.in (VERSION): Set to "nfs-utils 0.1.2".
1489 * configure: Regenerated.
1493 Mon Oct 25 18:11:21 1999 H.J. Lu <hjl@lucon.org>
1495 * utils/mountd/auth.c (auth_error): Add "no_forward_dns".
1496 (auth_authenticate_internal): Check for NULL return on forward
1498 (auth_authenticate): Handle "no_forward_dns".
1500 Thu Oct 21 16:22:06 1999 H.J. Lu <hjl@lucon.org>
1502 * Version 0.1.1 released.
1504 * nfs-utils.spec (Version): Set to 0.1.1.
1506 * configure.in (VERSION): Set to "nfs-utils 0.1.1".
1507 * configure: Regenerated.
1511 Mon Oct 18 17:43:29 1999 H.J. Lu <hjl@lucon.org>
1513 * nfs-utils.spec (Obsoletes): Fixed a typo, change knfsd-client
1515 (Provides): Likewise.
1517 Mon Oct 18 14:56:22 1999 H.J. Lu <hjl@lucon.org>
1519 * Initial version 0.1 released.
1521 * configure.in (VERSION): Set to "nfs-utils 0.1".
1522 * configure: Regenerated.
1524 Mon Oct 18 14:54:57 1999 H.J. Lu <hjl@lucon.org>
1526 * utils/mountd/mountd.c (get_exportlist): Cleanup.
1528 * utils/exportfs/exportfs.c (unexport_all): Unexport from
1529 kernel only if the entry is exported to kernel.
1530 (unexportfs): Likewise.
1532 Wed Sep 08 16:49:32 1999 Neil Brown <neilb@cse.unsw.edu.au>
1534 1/ utils/mountd/rmtab.c::mountlist_list
1536 This routine stats the rmtab file to see if it has changed. It
1537 if has, it cleans up it's old copy of the data. But it still
1538 always re-read the file, thus returning multiple copies of the
1539 data on consecutive calls without intervening changes.
1540 "Showmount -a" didn't show this as it appears to sort/unique the
1541 data, but 'strace showmount -a' showed that the size of the
1542 datagram that it received grew.
1544 I moved the getrmtabent loop inside the mtime test.
1546 2/ utils/exportfs/exportfs.c
1548 Many routines used the m_path field of m_export instead of
1550 According to the comment in nfslib.h, m_path should only
1551 be used when processing a mount request (i.e. in mountd)
1552 where the mountpoint may be a subdirectory of the export point.
1554 I changed all occurances of m_path to e_path
1557 3/ utils/exportfs/exportfs.c:main
1559 extra arguments are not meaningful with -a or -r, but
1560 exportfs accepted them and then ignored the -a/-r, expect that
1561 -r would still unexport everything first.
1563 I generate an error if there are extra args and f_all
1565 4/ utils/exportfs/exportfs.c:main
1566 extract dump out as a special case.
1568 5/ utils/exportfs/exportfs.c
1569 made f_reexport a local variable.
1572 6/ utils/exportfs/exportfs.c:main,exportall
1574 support/export/rmtab.c
1575 only mayexport on newly created entries, don't set xtabent at all
1577 7/ support/include/nfslib.h
1579 add #define _PATH_PROC_EXPORTS to be /proc/fs/nds/exports
1581 8/ support/export/xtab.c
1583 xtab_mount_read loads data from _PATH_PROC_EXPORTS if it exists,
1587 9/ support/export/xtab.c
1589 xtab_mount_read now sets m_exported, and NOT
1590 xtabent and mayexport
1592 removed the append arguement from xtab_write as it was
1595 added is_export flag to xtab_write similar to xtab_read
1596 if is_export, only write entries with m_xtabent or m_addxtab
1597 if !is_export, only write entries with m_exported
1599 10/ support/export/export.c::export_allowed_internal
1601 added test for exp->m_mayexport, as the export tree
1602 may have entries that are no longer allowed to be exported,
1603 and so shouldn't caused deduced exported by rmtab_read
1605 11/ utils/exportfs/exportfs.c::main
1606 error checking of flags.
1608 12/ utils/exportfs/exportfs.c
1610 total rewrite of export and unexport logic.
1612 - build an exportslist of valid exports, based on
1613 current etab file and arguments,
1614 - read rmtab to instantiate relevant wild card entries
1615 - read etab to find out what is currently exported
1616 - synchronise intention with reality
1617 - write out etab and xtab
1620 discard the m_addxtab flag
1621 add m_changed flag so we know what to report in exportfs
1623 14/ utils/mountd/auth.c:auth_authenticate
1625 the value returned by gethostbyaddr was trusted.
1627 It now follows this with a call to gethostbyname
1628 and checks that the address is in the list.
1630 15/ support/export/nfsctl.c::cltsetup,expsetup
1632 force client names to lowercase as kernel is
1635 16/ quietened a few compiler warnings
1637 17/ support/export/client:client_lookup
1639 look for pre-existing client with same name before creating
1642 18/ support/include/exportfs.h
1644 The ordering of the MCL_* enum was:
1645 ANONYMOUS, FQDN, SUBNETWORK, WILDCARD, NETGROUP
1647 I moved ANONYMOUS to the end.
1649 The ordering is significant when an export entry is being searched for to
1650 match a given address. There are two problems with ANONYMOUS being first.
1652 1/ if a directory is exported rw to a couple of hosts and ro to everyone else,
1653 then the ro case will always be found first and the privileged hosts won't get
1655 2/ When mountd gets a request to mount an ANONYMOUSly exported tree, it creates a FQDN
1656 export entry for the specific host, and writes it to xtab.
1657 When another request comes from the same host, the ANONYMOUS entry is found again,
1658 before the new FQDN entry, so it creates another FQDN entry and writes it to xtab
1659 again. If causes bloat in xtab.
1661 Putting ANONYMOUS at the end reflects it's nature as a catch-all
1663 19/ utils/exportfs/exportfs.man
1664 many updates to the man page to reflect changes to the code
1666 -----------------------
1672 - allow exportfs to modify rmtab file
1673 - make sure kernel never gets two clients with same IP address
1674 - possible kernel should reject
1675 - needs to be some way to lookup client in kernel by IP address
1676 - maybe get kernel to do case-insensitive comparisons on client names
1677 - remove unused clients from kernel
1679 - change etab to xtab and xtab to xtab.active
1681 - timestamp and/or statd-stamp in rmtab for removing old entries.
1683 Mon Oct 18 11:48:07 1999 H.J. Lu <hjl@lucon.org>
1685 * linux-nfs: New directory.
1686 * linux-nfs/ChangeLog: Moved from ..
1687 * linux-nfs/INSTALL: Likewise.
1688 * linux-nfs/KNOWNBUGS: Likewise.
1689 * linux-nfs/NEW: Likewise.
1690 * linux-nfs/README: Likewise.
1691 * linux-nfs/THANKS: Likewise.
1692 * linux-nfs/TODO: Likewise.
1694 * Starting from knfsd 1.4.7.