1 2003-06-16 "J. Bruce Fields" <bfields@fieldses.org>
3 * utils/mountd/cache.c(nfsd_fh): don't export the export_ent
6 2003-06-16 NeilBrown <neilb@cse.unsw.edu.au>
8 * debian/nfs-kernel-server.init,etc/nodist/nfs-server,
9 etc/redhat/nfs.init: when checking if V3 is supported, make sure
10 nfs server 'knows' about 127.0.0.1 first.
12 2003-06-10 Chip Salzenberg <chip@pobox.com>
14 * support/nfs/xlog.c (xlog): Fix off-by-one buffer overflow bug.
15 * debian/changelog: Version 1.0.3-2.
17 2003-05-30 Michael Griffith <grif@michaelgriffith.com>
18 NeilBrown <neilb@cse.unsw.edu.au>
20 utils/nfsstat/nfsstat.c(print_callstats): use unsigned
21 long long to avoid overflow when printing stats.
23 2003-05-30 NeilBrown <neilb@cse.unsw.edu.au>
25 * support/export/export.c, support/include/nfslib.h,
26 support/nfs/export.c, utils/exportfs/exportfs.c,
27 utils/mountd/mountd.c: new export option "mountpoint"
28 If no path is given, then the export point must be a
29 mount point, or it won't be exported. If a path is
30 given (e.g. mountpoint=/path) then that path must be
31 a mountpoint or the exportpoint won't be exported.
32 * utils/exportfs/exportfs.man: document mountpoint option.
33 * support/misc/mountpoint.c: New file with is_mountpoint()
34 to determine if something is a mountpoint.
36 2003-05-23 NeilBrown <neilb@cse.unsw.edu.au>
38 * utils/mountd/cache.c(cache_get_filehandle): take a separate path
39 argument as we might not be getting the filehandle for the
41 * utils/mountd/mountd.c(get_rootfh): pass real path when calling
43 * utils/mountd/mountd.c(get_rootfh): check export point and
44 requested directory are on the same filesystem, and complain if
47 2003-05-22 NeilBrown <neilb@cse.unsw.edu.au>
49 * utils/mountd/auth.c(auth_authenticate_internal): make sure
50 portnumber is still checked when using new cache lookup.
52 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
54 * utils/exportfs/exportfs.c: Use check_new_cache and cache_flush
55 Don't actually talk to kernel when new cache is in effect, except
57 * utils/exportfs/exportfs.c: add -f option to fully flush cache.
58 * support/export/xtab.c: Only rename new xtab into place if it has
59 changed, thus preserving modify date for exportfs to use when
61 * support/nfs/cacheio.c: Add cache_flush
62 * support/export/xtab.c: Only rename new xtab into place if it has
63 changed, thus preserving modify date for exportfs to use when
66 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
68 * support/export/client.c: Add client_compose, client_member to
69 handle new composite client names
70 * support/include/exportfs.h: Declare above functions.
71 * utils/mountd/auth.c: use client_compose to determine calling
72 client if new cache is being used.
73 * utils/mountd/auth.c: call cache_export to export a filesystem if
74 new_cache, check if new cache is used, and call my_svc_run instead
76 * utils/mountd/svc_run.c: new file defining my_svc_run
77 * utils/mountd/cache.c: new file for handling cache upcalls.
78 * support/nfs/cacheio.c(check_new_cache): new function to check if
79 new cache should be used.
82 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
84 * support/include/nfs/export.h: New CROSSMNT distinct from NOHIDE
85 * support/nfs/exports.c: Make CROSSMNT distinct from NOHIDE
86 * utils/exportfs/exportfs.c(dump): ditto
88 2003-05-21 NeilBrown <neilb@cse.unsw.edu.au>
90 * support/export/hostname.c(get_reliable_hostbyaddr): new function
91 to get host name from address with full checking of authenticity.
92 * support/include/misc.h: declare above function
93 * utils/mountd/auth.c(auth_authenticate_internal): remove all
94 logic for authenticating address.
95 * utils/mountd/auth.c(auth_authenticate): call new
96 get_reliable_hostbyaddr to to hostname lookup before calling _internal.
99 2003-03-30 NeilBrown <neilb@cse.unsw.edu.au>
101 * tools/rpcgen/rpc_main.c(find_cpp): removed
102 * tools/rpcgen/rpc_main.c(open_input): use execvp to find "cpp",
103 then try hard-coded paths.
105 2003-03-26 Chip Salzenberg <chip@pobox.com>
107 * debian/changelog: Version 1.0.3-1.
109 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
111 * utils/mountd/rmtab.c (slink_safe_rename): real_newpath should be
112 "const char*", not "char*".
114 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
116 * configure.in (VERSION): Set to "1.0.3".
117 * nfs-utils.spec: Likewise.
118 * configure: Regenerated.
120 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
122 * support/nfs/cacheio.c: New File - support for read/writing
123 to export cache in /proc/rpc/*/channel
124 * support/nfs/Makefile: compile cacheio.c
125 * support/include/nfslib.h: declare cacheio.c functions
126 * support/nfs/nfsexport.c: export and unexport through
127 /proc/rpc/*/channel if possible, as old syscall interface
128 may not survive into 2.6 on all architectures.
130 2003-02-19 NeilBrown <neilb@cse.unsw.edu.au>
131 Ben Leslie <benno@sesgroup.net>
133 * support/nfs/rpcmisc.c(rpc_init): change test for ignoring
134 "defport" from (__rpcfdtype == 0) to (__rpcpmstart==0). The
135 former would incorectly ignore defport if the application
136 explicitly set __rpcfdtype. The later is sufficient to avoid the
137 special handling in the case where stdin is an internet socket.
139 * utils/mountd/mountd.c(main): Add 'n' to option list in
140 getopt_long as this is a short form of --no-tcp which want being
143 2003-02-12 Chip Salzenberg <chip@pobox.com>
145 * debian/changelog: Version 1.0.2-2.
147 2002-11-27 Chip Salzenberg <chip@pobox.com>
149 * utils/mountd/rmtab.c (slink_safe_rename): Fix off-by-one buffer
150 overflow bug. Reformat per rest of source file.
152 2002-11-19 NeilBrown <neilb@cse.unsw.edu.au>
154 * utils/exportfs/exports.man: Correct notes about whether the wild
155 card characters match a period. They do.
157 2002-10-15 Juan Gomez <juang@us.ibm.com>
159 * utils/mountd/rmtab.c (slink_safe_rename): New. Support
161 (mountlist_add): Call slink_safe_rename instead of rename.
163 2002-10-11 H.J. Lu <hjl@lucon.org>
165 * support/include/exportfs.h (export_errno): New.
167 * support/nfs/exports.c: Include <errno.h>.
169 (getexportent): Set export_errno to EINVAL for bad option.
170 (parseopts): Likewise.
171 Report the location of the default sync/async option.
173 * utils/exportfs/exportfs.c (main): Initialize export_errno to
174 0. Return export_errno.
176 2002-10-11 Juan Gomez <gomez@cs.sjsu.edu>
177 NeilBrown <neilb@cse.unsw.edu.au>
179 utils/statd/statd.c(killer): don't pmap_unset if in notify_only mode
180 utils/statd/statd.c(main): don't pmap_unset if in notify_only mode
182 2002-09-16 Chip Salzenberg <chip@pobox.com>
184 * utils/rquotad/rquota_svc.c (main): Use int for value of getopt.
186 2002-09-15 Chip Salzenberg <chip@pobox.com>
188 * support/nfs/rpcmisc.c (rpc_init): Allow stdin to be a non-INET
189 socket, as occurs when run from sshd.
190 * debian/changelog: Version 1.0.2-1.
192 2002-09-12 H.J. Lu <hjl@lucon.org>
194 * support/nfs/svc_socket.c: Remove HAVE_SVCTCP_SOCKET and
197 2002-09-12 H.J. Lu <hjl@lucon.org>
199 * configure.in: Remove checking svctcp_socket and svcudp_socket.
200 * configure: Regenerated.
202 * support/include/config.h.in (HAVE_SVCTCP_SOCKET): Removed.
203 (HAVE_SVCUDP_SOCKET): Removed.
205 * support/include/nfslib.h: Undo the last change.
207 2002-09-12 H.J. Lu <hjl@lucon.org>
209 * support/include/nfslib.h (svctcp_socket): Protect it with
211 (svcudp_socket): Protect it with HAVE_SVCUDP_SOCKET.
213 2002-09-12 H.J. Lu <hjl@lucon.org>
215 * configure.in (VERSION): Set to "1.0.2".
216 * configure: Regenerated.
217 * nfs-utils.spec: Likewise.
219 2002-09-12 H.J. Lu <hjl@lucon.org>
221 * configure.in: Check svctcp_socket and svcudp_socket.
222 * configure: Regenerated.
224 * support/include/config.h.in (HAVE_SVCTCP_SOCKET): New.
225 (HAVE_SVCUDP_SOCKET): New.
227 * support/include/nfslib.h (svctcp_socket): New.
228 (svcudp_socket): New.
230 * support/nfs/Makefile (OBJS): Add svc_socket.o.
232 * support/nfs/svc_socket.c: New.
234 * support/nfs/rpcmisc.c (rpc_init): Call svctcp_socket and
235 svcudp_socket if port is unspecified.
237 * utils/nfsd/nfsd.c (main): Call getservbyname for port.
239 * utils/rquotad/rquota_svc.c: Include <nfslib.h>.
240 (killer): New. Signal handler to unregister.
241 (main): Use killer. Call svcudp_socket to get the default
244 2002-09-02 Juan Gomez <juang@us.ibm.com>
245 NeilBrown <neilb@cse.unsw.edu.au>
247 Add -N option to statd to run in notify-only mode.
249 * utils/statd/statd.h: uncomment MODE_NOTIFY_ONLY
250 * utils/statd/statd.man: document -N
251 * utils/statd/statd.c: enabled -N, largely exists but needed to be
252 uncommented and completed
254 2002-09-02 Juan Gomez <juang@us.ibm.com>
255 NeilBrown <neilb@cse.unsw.edu.au>
257 statd to have " -P directory" arg to use that directory instead
258 of /var/lib/nfs. This is useful for fail-over clusters.
260 * utils/statd/statd.h: define SM_DIR etc as var, not const.
261 * utils/statd/statd.c: define "-P" option to set SM_*
263 * utils/statd/monitor.c: sprintf to cope with SM_DIR not being
265 * utils/statd/notify.c: ditto.
266 * utils/statd/statd.man: document -P option.
268 2002-08-26 Chip Salzenberg <chip@pobox.com>
270 * utils/nfsd/nfsd.man: Fix typo.
271 * debian/changelog: Version 1.0.1-1.
273 2002-05-29 NeilBrown <neilb@cse.unsw.edu.au>
275 * let parseopts know if /etc/exports was being read or not,
276 and have it only print "no sync or async" warning in that case.
278 2002-05-06 Tom McNeal <trmcneal@attbi.com>
279 NeilBrown <neilb@cse.unsw.edu.au>
281 * utils/nfsstat/nfsstat.c: Handle differing format for
282 /proc/net/rpc/nfsd between pre and post 2.4.0
284 2002-04-09 NeilBrown <neilb@cse.unsw.edu.au>
285 James Pearson <james-p@moving-picture.com>
287 * support/nfs/rmtab.c(fendrmtabent): sync changes to
288 storage before returning, as this is critical state
290 2002-04-08 Sean O'Connell <sean@ee.duke.edu>
291 H.J. Lu <hjl@lucon.org>
293 * etc/redhat/nfs: New.
295 2002-04-08 H.J. Lu <hjl@lucon.org>
297 * etc/redhat/nfs.init: Updated.
299 * nfs-utils.spec.in: Updated.
300 * nfs-utils.spec: Regenerated.
302 * utils/mountd/mountd.c (longopts): Fix a typo.
304 * utils/mountd/mountd.man: Updated.
306 2002-04-07 H.J. Lu <hjl@lucon.org>
308 * etc/redhat/nfslock.init (restart): Just do stop and start.
310 * etc/redhat/nfs.init: Fix a typo.
312 2002-04-07 H.J. Lu <hjl@lucon.org>
314 * configure.in (VERSION): Set to "1.0.1".
315 * configure: Regenerated.
316 * nfs-utils.spec: Likewise.
318 * README: Updated for 1.0.1.
320 2002-04-07 Sean O'Connell <sean@ee.duke.edu>
321 H.J. Lu <hjl@lucon.org>
323 * etc/redhat/nfs.init: Read /etc/sysconfig/nfsd for NFS tuning.
325 2002-02-28 Steven Whitehouse <steve@gw.chygwyn.com>
326 NeilBrown <neilb@cse.unsw.edu.au>
328 Add support for fsid=nn export option so that device
329 numbers don't go in filehandles.
330 * support/export/nfsctl.c(expsetup): if exporting and NFSEXP_FSID
331 is set, pass the fsid in-place of the device number
332 * support/nfs/exports.c: parse and print fsid= option.
333 Also check if efname has been set, and use "command line"
334 instead in error messages.
335 Also, use strtol instead of atoi for anon[ug]id= so that
336 bad numbers cause errors.
338 2002-01-17 Adrian Drzewiecki <drze@MissionCriticalLinux.com>
339 NeilBrown <neilb@cse.unsw.edu.au>
341 * support/nfs/exports.c: remove NFSEXP_ASYNC as a default
342 flag so that "sync" becomes the default.
343 Check that either "sync" or "async" is given as an option
344 and warn if neither are present
345 * utils/exportfs/exports.man: change documentation for "sync"
346 to be documentation for "async".
347 * utils/exportfs/exportfs.man: note that "sync" is the default
351 2002-01-02 Chip Salzenberg <chip@pobox.com>
353 * support/export/nfsctl.c (expsetup): Don't export entries that
354 specify id mappings not supported by the kernel. No extant kernel
355 supports any significant mapping, only 'identity' (i.e. none).
356 When other mappings are supported, this code will need changing.
357 * debian/changelog: Version 1.0-2.
359 2001-12-26 Chip Salzenberg <chip@pobox.com>
361 * nfs-utils.spec (Version): Set to "1.0".
362 * configure.in (VERSION): Likewise.
363 * configure: Regenerated.
365 * debian/changelog: Version 1.0-1.
367 * utils/exportfs/exports.man: Emphasize the need for options to
368 immediately follow client names. Explain that wildcards don't
369 usually work on addresses, but may work when reverse DNS fails.
370 Comment out a leftover TP that was TPing our indentation.
371 * utils/mountd/mountd.man, utils/rquotad/rquotad.man,
372 utils/statd/statd.man: Remove refs to non-existent "hosts_allow(5)".
373 * debian/changelog: Version 0.3.3-6.
375 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
377 * support/export/client.c(client_lookup): If a host has multiple
378 IP addresses, then we must always use the result of a
379 gethostbyname, not that of gethostbyaddr for exporting
381 2001-12-20 NeilBrown <neilb@cse.unsw.edu.au>
383 * support/export/client.c (client_lookup): use strcasecmp when
385 * support/nfs/export.c (getexportent): add fromkernel arg and use
386 different defaults as kernels prior to 2.4.11 assume different
387 defaults in /proc/fs/nfs/exports
388 * support/include/nfslib.h, support/export/export.c,
389 support/export/xtab.c: support extra "fromkernel" arg for
392 2001-12-13 Chip Salzenberg <chip@pobox.com>
394 * debian/changelog: Version 0.3.3-5.
396 2001-11-26 TAKAI Kousuke <takai@vlsi.kuee.kyoto-u.ac.jp>
398 * support/nfs/xio.c (xskip): Call `xungetc' instead of
399 `ungetc' to keep x_line more properly.
401 2001-11-26 Chip Salzenberg <chip@pobox.com>
403 * utils/showmount/showmount.c (main): Don't assume that strings
404 starting with digits are IP addresses.
405 * utils/nfsd/nfsd.c (main): Close all fds and reopen 0,1,2 on
406 /dev/null before nfssvc(). Use syslog to report nfssvc errors.
407 * support/misc/tcpwrapper.c, utils/mountd/mountd.man,
408 utils/rquotad/rquotad.man, utils/statd/statd.man: Fix comments and
409 man pages: We check host names *and* addresses with tcpwrappers.
410 * debian/changelog: Version 0.3.3-4.
412 2001-11-21 Chip Salzenberg <chip@pobox.com>
414 * support/nfs/clients.c (cfname): Added: current clients file name.
415 (setnfsclntent): Set it.
416 ({get,end}nfsclntent, syntaxerr): Use it.
417 * support/nfs/exports.c (efname): Added: current exports file name.
418 (setnfsexportent): Set it.
419 (endnfsexportent, parseopts, getexport, syntaxerr): Use it.
420 (parseopts): Accept old-style "crossmnt" option, for old xtabs.
421 * debian/changelog: Version 0.3.3-3.
423 2001-10-11 Chip Salzenberg <chip@pobox.com>
425 * utils/mountd/mountd.c (main): Close fds > 2 _before_ RPC init.
426 * debian/changelog: Version 0.3.3-2.
428 2001-10-08 Chip Salzenberg <chip@pobox.com>
430 * utils/mountd/mountd.c (main): When daemonizing, close all fds > 2.
431 * utils/Makefile.in: Remove old Makefile in target 'distclean'.
432 * utils/mountd/mountd.man: Update paths to /var/lib.
433 * debian/*: Version 0.3.3-1, with Debian-specific fixes.
435 2001-10-06 Preston Brown <pbrown@redhat.com>
437 * utils/nfsstat/nfsstat.man: Updated.
439 2001-09-24 H.J. Lu <hjl@lucon.org>
441 * configure.in (VERSION): Set to "0.3.3".
442 * configure: Regenerated.
443 * nfs-utils.spec: Likewise.
445 * README: Updated for 0.3.3.
447 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
449 Arrange that "exportfs -au" never does DNS lookup:
451 * support/export/client.c (client_lookup) : add "canonical"
452 flag which says that the hostname is known to be canonical, so
455 * support/export/export.c (export_create) : add "canonical"
456 flag to be passed down to client_lookup
457 * support/export/export.c (export_lookup) : Likewise
459 * support/export/xtab.c (xtab_read) : pass appropriate
460 "canonical" flag to export_lookup and export_create:
461 set if reading list of filesystems currently exports
464 * support/export/export.c (export_read) : pass 0 as
465 "canonical" flag to export_lookup and export_create
466 * support/export/rmtab.s (rmtab_read) : Likewise
468 * support/include/exportfs.h : redeclare various routines
469 to have "canonical" flag
471 * utils/exportfs/exportfs.c (main) : redo logic for
472 "-au" to read in what is currently exported, but never even
473 look at what "should" be exported.
475 * utils/exportfs/exportfs.c (unexportall) : remove this
476 routine. Functionality is completely included in
479 * utils/exportfs/exportfs.c (exportfs) : set "canonical"
480 flag to zero in calls to export_lookup and export_create.
483 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
484 Anne Milicia <milicia@missioncriticallinux.com>
486 * support/export/client.c (client_lookup) call gethostbyadd
487 to make sure that we have a canonical hostname, even for
489 * utils/exportfs/exportfs.c (exportfs) Likewise
491 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
493 * support/nfs/exports.c (putexportent): \octal quote any spaces
495 * support/nfs/xio.c (xgettok): recognise double-quote and
496 \octal quoting in path names
497 * utils/exportfs/exports.man: document quoting conventions
500 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
502 * utils/mountd/auth.c (auth_authenticate_internal): Reverse
503 change from 2000-08-02: It causes problems if someone exports
504 to both a hostname and IP addresses. nfs-utils must be
505 consistant about the canonical name that it chooses.
507 2001-08-17 Ragnar Kjørstad <nfs@ragnark.vestdata.no>
508 H.J. Lu <hjl@lucon.org>
510 * etc/redhat/nfslock.init (STATDARG): New. Pass it to rpc.statd.
512 * utils/statd/statd.c (longopts): Add "name".
513 (usage): Add "-n/--name".
514 (main): Set MY_NAME with "-n/--name".
516 * utils/statd/state.c (change_state): Set MY_NAME only if it
519 * utils/statd/statd.man: Updated for "-n/--name".
521 2001-07-26 H.J. Lu <hjl@lucon.org>
523 * nfs-utils.spec (Release): Set to 8.
525 2001-07-25 H.J. Lu <hjl@lucon.org>
527 * etc/redhat/nfs.init: Check if rpc.rquotad exists before doing
530 2001-06-27 H.J. Lu <hjl@lucon.org>
532 * etc/redhat/nfs.init: Run rpc.rquotad only if it exists.
534 2001-06-27 H.J. Lu <hjl@lucon.org>
536 * utils/rquotad/rquota_server.c: Don't call statfs () for
537 the block size. Use BLOCK_SIZE instead.
539 2001-06-27 H.J. Lu <hjl@lucon.org>
541 * config.mk.in (CC_FOR_BUILD): Renamed from BUILD_CC.
542 (CFLAGS_FOR_BUILD): New. Don't use @CFLAGS@.
544 * configure.in (enable_nfsv3): Set to yes by default.
545 (--enable-rquotad): Added
546 (AC_PROG_CXX): Removed.
547 (AC_OUTPUT): Add utils/Makefile.
548 (CC_FOR_BUILD): Renamed from BUILD_CC.
549 * configure: Regenerated.
551 * utils/Makefile: Removed.
553 * utils/Makefile.in: New.
555 * nfs-utils.spec.in (rquotad): New. Set to 0 to disable
557 (CC_FOR_BUILD): Renamed from BUILD_CC.
558 * nfs-utils.spec: Regenerated.
560 2001-06-15 Chip Salzenberg <chip@debian.org>
562 * debian/changelog: Version 0.3.2-2.
563 * debian/*.init: Minor fixes.
565 2001-06-07 Lon H. Hohberger <hohberger@missioncriticallinux.com>
567 * etc/nodist/nfs-server: Fixed a bug where the script would
568 disable mounts from NFSv3 clients if NFSv3 is present.
570 2001-06-05 H.J. Lu <hjl@lucon.org>
572 * utils/mountd/mountd.c (longopts): Add "descriptors/o".
573 (main): Support --descriptors/-o to set the limit of the number
574 of open file descriptors.
577 * utils/mountd/mountd.man: Updated for --descriptors/-o.
579 2001-06-04 H.J. Lu <hjl@lucon.org>
581 * nfs-utils.spec (Release): Set to 6.
583 2001-05-28 H.J. Lu <hjl@lucon.org>
585 * utils/lockd/lockd.c (main): chdir to NFS_STATEDIR.
586 * utils/mountd/mountd.c (main): Likewise.
587 * utils/nfsd/nfsd.c (main): Likewise.
588 * utils/rquotad/rquota_svc.c (main): Likewise.
590 2001-05-06 Anne Milicia <milicia@missioncriticallinux.com>
592 * support/export/client.c (client_check): Check IP address
595 2001-05-06 Neil Brown <neilb@cse.unsw.edu.au>
597 * support/export/client.c (client_gettype): Treat `*' as
600 2001-04-22 H.J. Lu <hjl@lucon.org>
602 * nfs-utils.spec.in: Fix a typo.
603 * nfs-utils.spec: Regenerated.
605 2001-04-21 H.J. Lu <hjl@lucon.org>
607 * nfs-utils.spec.in: Fix cross build.
608 * nfs-utils.spec: Regenerated.
611 2001-04-18 H.J. Lu <hjl@lucon.org>
613 * nfs-utils.spec.in: Support cross build.
614 * nfs-utils.spec: Regenerated.
620 * config.mk.in (BUILD_CC): New.
621 (CC): Set to $(BUILD_CC) if BUILD is defined.
624 (RANLIB): Set to @RANLIB@.
626 * configure.in: Check BUILD_CC, RANLIB, AR and LD.
627 * configure: Regenerated.
629 * tools/rpcgen/Makefile (BUILD): Set to true.
631 2001-04-01 Chip Salzenberg <chip@valinux.com>
633 * tools/rpcgen/rpc_svcout.c (write_timeout_func): Remove
634 redundant, and sometimes broken, declaration of svc_fdset;
636 * support/nfs/rpcmisc.c (closedown): Likewise.
638 2001-03-21 H.J. Lu <hjl@lucon.org>
640 * nfs-utils.spec: Regenerated.
643 2001-03-21 Ion Badulescu <ionut@cs.columbia.edu>
645 * utils/statd/statd.c (main): make sure file descriptors 0-2
646 are open to /dev/null.
648 2001-03-21 H.J. Lu <hjl@lucon.org>
650 * support/nfs/rpcmisc.c: Restore the change made on 2001-03-10.
651 * support/nfs/rpcmisc.c: Likewise.
652 * utils/rquotad/rquota_svc.c: Likewise.
653 * utils/rquotad/rquotad.man: Likewise.
654 * utils/statd/Makefile: Likewise.
655 * utils/statd/rmtcall.c: Likewise.
656 * utils/statd/simulate.c: Likewise.
657 * utils/statd/statd.c: Likewise.
658 * utils/statd/statd.man: Likewise.
660 2001-03-11 H.J. Lu <hjl@lucon.org>
662 * configure.in (RELEASE): New. Default to 1, set by
663 --with-release=XXX. Substitute nfs-utils.spec.
664 * nfs-utils.spec.in (Release): Set to @RELEASE@.
665 * configure: Regenerated.
666 * nfs-utils.spec: Likewise.
668 2001-03-11 H.J. Lu <hjl@lucon.org>
670 * utils/rquotad/rquotad.man: Fix a typo.
672 2001-03-11 H.J. Lu <hjl@lucon.org>
674 * support/include/rpcmisc.h: Undo the change made on 2001-03-10.
675 * support/nfs/rpcmisc.c: Likewise.
676 * utils/rquotad/rquota_svc.c: Likewise.
677 * utils/rquotad/rquotad.man: Likewise.
678 * utils/statd/Makefile: Likewise.
679 * utils/statd/rmtcall.c: Likewise.
680 * utils/statd/simulate.c: Likewise.
681 * utils/statd/statd.c: Likewise.
682 * utils/statd/statd.man: Likewise.
684 2001-03-10 H.J. Lu <hjl@lucon.org>
686 * configure.in (VERSION): Set to "0.3.2".
687 * configure: Regenerated.
688 * nfs-utils.spec: Likewise.
690 * README: Updated for 0.3.2.
692 2001-03-10 Tavis Barr <tavis@boole.isetr.columbia.edu>
694 * utils/rquotad/rquotad.man: Updated for -p.
695 * utils/statd/statd.man: Likewise.
697 2001-03-10 Ion Badulescu <ionut@cs.columbia.edu>
699 * support/nfs/rpcmisc.c: export makesock()
701 * support/include/rpcmisc.h (makesock): Declared.
703 * utils/rquotad/rquota_svc.c: added longopts, added support for
704 specifying the port to bind to on the command line.
706 * utils/statd/statd.c: ditto, also specify port used for
707 outgoing connections.
708 (do_regist): Removed.
710 * utils/statd/rmtcall.c (statd_get_socket): Renamed from
711 get_socket. Make it extern.
713 * utils/statd/simulate.c (daemon_simulator): Call rpc_init
714 instead of do_regist.
716 * utils/statd/Makefile (LIBS): link with our own libnfs
718 2001-03-09 H.J. Lu <hjl@lucon.org>
720 * etc/redhat/nfslock.init: Changed chkconfig line to 60 86.
721 * etc/nodist/nfs-client: Likewise.
723 2001-02-26 Chip Salzenberg <chip@valinux.com>
725 * debian/changelog: Version 0.3.1-1.
726 * Mention upstream source and license in copyright file.
727 * Add build-Depends for debhelper and libwrap0-dev.
729 2001-02-20 Lon Hohberger <hohberger@missioncriticallinux.com>
731 * etc/nodist/nfs-server: Changed chkconfig line to 60 20
732 * etc/nodist/nfs-client: Likewise.
734 2001-02-18 Lon Hohberger <hohberger@missioncriticallinux.com>
736 * utils/statd/statd.man: Changed /usr/sbin/rpc.statd to
739 2001-02-17 Patrick J. LoPresti <patl@curl.com>
741 * utils/statd/log.c (log_init): Use LOG_DAEMON instead of
744 2001-02-14 H.J. Lu <hjl@lucon.org>
746 * utils/statd/rmtcall.c: Include <time.h>.
747 * utils/statd/svc_run.c: Likewise.
749 2001-02-14 H.J. Lu <hjl@lucon.org>
751 * configure.in (VERSION): Set to "0.3.1".
752 * configure: Regenerated.
753 * nfs-utils.spec: Likewise.
755 * README: Updated for 0.3.1.
757 2001-02-14 H.J. Lu <hjl@lucon.org>
759 * support/nfs/rpcmisc.c: Include <time.h>.
761 2001-02-14 Chip Salzenberg <chip@valinux.com>
763 * debian/control: Change priority of nhfsstone package to 'extra'.
765 2001-02-12 Chip Salzenberg <chip@valinux.com>
767 * debian/changelog: Version 0.3-2.
769 2001-02-02 H.J. Lu <hjl@lucon.org>
771 * support/include/rpcmisc.h (rpc_init): Remove bufsize.
773 * support/nfs/rpcmisc.c (makesock): Remove socksz and comment
774 out SO_SNDBUF/SO_RCVBUF.
775 (rpc_init): Remove bufsize and remove socksz in calls to
778 * utils/mountd/mountd.c (main): Remove bufsize in calls to
781 2001-01-28 Chip Salzenberg <chip@valinux.com>
783 * debian/changelog: Version 0.3-1.
785 2001-01-25 H.J. Lu <hjl@lucon.org>
787 * configure.in (VERSION): Set to "0.3".
788 * configure: Regenerated.
789 * nfs-utils.spec: Likewise.
791 * README: Updated for 0.3.
793 2001-01-25 H.J. Lu <hjl@lucon.org>
795 * utils/lockd/lockd.c (main): Ignore errno == EINVAL.
797 2001-01-20 Chip Salzenberg <chip@valinux.com>
799 * support/include/xio.h (xgetc): Declare to return int.
800 * support/nfs/xio.c (xgetc): Return int.
801 (xgettok, xskip, xskipcomment): Use int for value of xgetc.
802 * utils/statd/statd.c (main): Use int for value of getopt.
803 * debian/changelog: Version 0.2.1-5.
805 2000-12-10 Chip Salzenberg <chip@valinux.com>
807 * utils/statd/monitor.c (sm_mon_1_svc): Fix buggy check for
808 program and procedure numbers of kernel lockd's callback. Also,
809 besides the old (and broken) procedure #24, allow #16 per Trond.
811 2000-12-03 Chip Salzenberg <chip@valinux.com>
813 * support/nfs/xio.c (xfopen): Initialize x_line to one, not zero.
814 * debian/control: Let nhfsstone replace files in nfs-kernel-server.
815 * debian/changelog: Version 0.2.1-4.
817 2000-11-27 Tobias Ringstrom <tori@tellus.mine.nu>
819 * utils/mountd/auth.c (auth_authenticate): Log the bad path
822 2000-11-24 Neil Brown <neilb@cse.unsw.edu.au>
824 * support/nfs/exports.c (getexportent): Check for host name
825 without option, or options without hostname, and print a warning,
826 as this is most likely a typo.
828 2000-11-19 Chip Salzenberg <chip@valinux.com>
830 * debian/control: Add dependency on portmap.
831 * debian/changelog: Version 0.2.1-3.
833 2000-11-10 H.J. Lu <hjl@lucon.org>
835 * nfs-utils.spec.in: Don't use libtool.
836 Add ChangeLog and COPYING to doc.
837 * nfs-utils.spec: Rebuild.
839 2000-11-09 H.J. Lu <hjl@lucon.org>
841 * etc/redhat/nfs.init (start): Back out the last change.
843 2000-11-09 H.J. Lu <hjl@lucon.org>
845 * etc/redhat/nfs.init (start): Pass --no-tcp to mountd if
846 TCP is not supported by kernel.
848 * support/nfs/rpcmisc.c (rpc_init): Don't set _rpcfdtype to 0.
850 * utils/mountd/mountd.c (longopts): Add "-n/--no-tcp".
851 (main): Set to _rpcfdtype to SOCK_DGRAM for "-n/--no-tcp".
853 * utils/mountd/mountd.man: Updated for "-n/--no-tcp".
855 2000-10-24 Lon Hohberger <hohberger@missioncriticallinux.com>
857 * utils/statd/callback.c: Fix bug preventing callbacks to local lockd.
858 * utils/statd/rmtcall.c: Add some IP address paranoia when doing
859 callbacks to local lockd.
861 2000-10-18 Scott McDermott <mcdermot@questra.com>
863 * utils/exportfs/exports.man: Updated for CIDR netmask.
865 2000-10-17 Scott McDermott <mcdermot@questra.com>
867 * support/export/client.c (client_init): Support CIDR netmask
870 2000-10-11 H.J. Lu <hjl@lucon.org>
872 * aclocal.m4 (AC_TCP_WRAPPER): Fix a typo.
873 * configure: Rebuilt.
875 2000-10-06 Lon Hohberger <hohberger@missioncriticallinux.com>
877 * utils/statd/statd.man: Change "/var/lib/nfs/sm/state" to
878 "/var/lib/nfs/state".
880 2000-10-05 Lon Hohberger <hohberger@missioncriticallinux.com>
882 * utils/statd/statd.h (run_mode): New global bitmask of runtime
883 behaviors: fg/bg, logging, etc.
884 * utils/statd/statd.c: New command line options: -V -h -? -d .
885 * utils/statd/statd.man: Update for changes to statd.
887 * utils/statd/log.h (log_init): Remove parameter of function; use
888 global variable "name_p" instead.
889 * utils/statd/log.c: Add support for logging to stderr.
891 * utils/statd/notlist.c: Partially rewrite notify list handling
892 functions. Eliminate run-off-end-of-list bug when calling
893 nlist_insert_timer. Add lots of comments.
895 2000-09-27 H.J. Lu <hjl@lucon.org>
897 * README: Updated for RedHat 7.0.
899 2000-09-27 H.J. Lu <hjl@lucon.org>
901 * nfs-utils.spec: Rebuild.
903 2000-09-27 H.J. Lu <hjl@lucon.org>
905 * README: Updated for 0.2.1.
907 2000-09-27 H.J. Lu <hjl@lucon.org>
909 * nfs-utils.spec.in: Updated to use rpm macros and support
912 2000-09-25 H.J. Lu <hjl@lucon.org>
914 * configure.in (VERSION): Set to "0.2.1".
915 * configure: Regenerated.
916 * nfs-utils.spec: Updated.
918 2000-09-25 H.J. Lu <hjl@lucon.org>
920 * utils/mountd/auth.c (auth_authenticate_internal): Make sure a
921 non-NULL hostent is always returned.
923 2000-09-11 Ion Badulescu <ionut@cs.columbia.edu>
925 * etc/redhat/nfslock.init: don't kill lockd processes that do not
926 have an executable (i.e. kernel threads)
928 2000-09-01 H.J. Lu <hjl@lucon.org>
930 * README: Updated for 0.2.
932 2000-09-01 Jay Weber <jweber@valinux.com>
934 * etc/redhat/nfs.init: Added ability for rpc.mountd to default to
935 supporting version 3 of nfs if available, else it will fall back to
936 version 2 support only.
938 2000-08-30 H.J. Lu <hjl@lucon.org>
940 * configure.in (VERSION): Set to "0.2".
941 * configure: Regenerated.
942 * nfs-utils.spec: Updated.
944 2000-08-25 H.J. Lu <hjl@lucon.org>
946 * support/misc/tcpwrapper.c (logit): Modify the log output.
948 2000-08-25 Ion Badulescu <ionut@cs.columbia.edu>
950 * utils/rquotad/rquotad.man, utils/statd/statd.man,
951 utils/mountd/mountd.man: updated
953 * utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL)
954 * utils/rquotad/Makefile: fix comment
956 * support/misc/tcpwrapper.c (logit): added comment about waiting
957 for the children after fork()
959 * utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving
960 zombies behind (from logit()'s fork)
961 * utils/rquotad/rquota_svc.c (main): ditto
962 * utils/statd/statd.c (main): ditto
964 * utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG
965 to check_default instead of 0, for prognum
967 * utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG
968 to check_default instead of 0, for prognum
970 * utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if
971 HAVE_TCP_WRAPPER is defined.
972 (mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is
973 defined. Reject an RPC call if check_default () fails.
975 2000-08-25 H.J. Lu <hjl@lucon.org>
977 * support/include/tcpwrapper.h: New for the tcp wrapper
979 * support/misc/Makefile: Likewise.
980 * support/misc/from_local.c: Likewise.
981 * support/misc/tcpwrapper.c: Likewise.
983 * aclocal.m4 (AC_TCP_WRAPPER): New.
984 * configure.in: Use it. Substitute LIBWRAP.
985 * configure: Rebuilt.
987 * config.mk.in (LIBNSL): New.
990 * support/Makefile (SUBDIRS): Add misc.
992 * support/lib/Makefile (LIBS): Add libmisc.a.
994 * utils/rquotad/Makefile (LIBS): Add
996 -lmisc $(LIBWRAP) $(LIBNSL)
998 * utils/statd/Makefile (LIBS): Likewise.
1000 * utils/rquotad/rquota_svc.c: Include "tcpwrapper.h" if
1001 HAVE_TCP_WRAPPER is defined.
1002 (rquotaprog_1): Call check_default () if HAVE_TCP_WRAPPER is
1003 defined. Reject an RPC call if check_default () fails.
1005 * utils/statd/statd.c: Include "tcpwrapper.h" if
1006 HAVE_TCP_WRAPPER is defined.
1007 (sm_prog_1_wrapper): New. A wrapper for sm_prog_1. Call
1008 check_default () before calling sm_prog_1 (). Define it as
1009 sm_prog_1_wrapper if HAVE_TCP_WRAPPER is defined.
1011 2000-08-25 Chip Salzenberg <chip@valinux.com>
1013 * debian/*: Complete Debian build support.
1014 * etc/debian/*: Remove.
1016 2000-08-24 Neil Brown <neilb@cse.unsw.edu.au>
1018 * support/export/client.c(client_check): removed the "dot+1" as a
1019 ypdomain argument to innetgr as this is entirely bogus.
1020 It should always be NULL.
1022 2000-08-23 Neil Brown <neilb@cse.unsw.edu.au>
1024 * support/export/xtab.c(xtab_read): introduce new mode for
1025 reading xtab. i.e. a list of exports that might be known to the
1026 kernel, or might not. These are flagged as m_exported == -1
1027 * support/export/xtab.c(xtab_mount_read): call xtab_read with new
1028 value "2" for xtab, meaning don't trust this too much.
1029 * support/include/exportfs.h(struct mexport): changed m_exported
1030 from one bit to an int so that it can hold new value
1031 * utils/exportfs/exportfs.c(exportfs_ipdate): add an export to the
1032 kernel if it is uncertain whether the kernel knows (m_exported == -1)
1033 * utils/mountd/mountd.c(get_rootfh): similarly export to kernel if
1036 * support/nfs/xio.c(xflock): added O_CREAT when getting
1037 a write lock so that missing files aren't fatal.
1039 * etc/debian/nfs-common: new file from "potato"
1040 * etc/debian/nfs-kernel-server: new file from "potato" plus fixes.
1042 2000-08-09 H.J. Lu <hjl@lucon.org>
1044 * etc/redhat/nfs.init: Run /usr/sbin/exportfs first during
1045 startup to ensure all existing clients work fine.
1047 * support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0
1048 to xtab_read () for reading _PATH_XTAB.
1050 2000-08-02 H.J. Lu <hjl@lucon.org>
1052 * utils/mountd/auth.c (auth_authenticate_internal): Try to
1053 avoid the reverse name lookup.
1055 2000-07-04 H.J. Lu <hjl@lucon.org>
1057 * utils/statd/log.c: Include <stdlib.h> for exit ().
1059 * utils/statd/misc.c (xunlink): Add `{' and `}' to quiet the
1062 2000-07-04 H.J. Lu <hjl@lucon.org>
1064 * configure.in (VERSION): Set to "0.1.9.1".
1065 * configure: Regenerated.
1066 * nfs-utils.spec: Updated.
1070 2000-07-04 Neil Brown <neilb@cse.unsw.edu.au>
1072 * support/export/hostname.c (hostent_dup): Handle the NULL
1075 2000-07-03 H.J. Lu <hjl@lucon.org>
1077 * README: Update the util-linux requirement.
1079 2000-07-03 H.J. Lu <hjl@lucon.org>
1081 * configure.in (VERSION): Set to "0.1.9".
1082 * configure: Regenerated.
1083 * nfs-utils.spec: Updated.
1087 2000-07-03 H.J. Lu <hjl@lucon.org>
1089 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
1090 stop to ensure all clients can still access the server
1091 before it is shutdown.
1093 2000-06-30 Jeff Uphoff <juphoff@transmeta.com>
1095 * tools/rpcgen/rpc_svcout.c (write_msg_out): Generate syslog()
1096 calls with format string.
1098 2000-06-28 Chip Salzenberg <chip@valinux.com>
1100 * utils/statd/log.c (log): Call syslog with format string.
1102 2000-06-27 H.J. Lu <hjl@lucon.org>
1104 * utils/statd/statd.c (main): Use sysconf (_SC_OPEN_MAX)
1105 instead of OPEN_MAX.
1107 2000-06-27 H.J. Lu <hjl@lucon.org>
1111 2000-06-27 H.J. Lu <hjl@lucon.org>
1113 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
1114 startup to ensure all existing clients are exported.
1116 * configure.in (VERSION): Set to "0.1.8.2".
1117 * configure: Regenerated.
1118 * nfs-utils.spec: Updated.
1120 2000-06-06 H.J. Lu <hjl@lucon.org>
1122 * configure.in (VERSION): Set to "0.1.8.1".
1123 * configure: Regenerated.
1124 * nfs-utils.spec: Updated.
1126 2000-06-06 H.J. Lu <hjl@lucon.org>
1128 * utils/mountd/mountd.c (mount_dump_1_svc): Cast svc_getcaller
1129 to "struct sockaddr_in *" for glibc 2.2.
1130 (mount_umnt_1_svc): Likewise.
1131 (mount_umntall_1_svc): Likewise.
1132 (mount_export_1_svc): Likewise.
1133 (mount_exportall_1_svc): Likewise.
1134 (mount_pathconf_2_svc): Likewise.
1135 (get_rootfh): Likewise.
1137 2000-06-04 H.J. Lu <hjl@lucon.org>
1139 * etc/redhat/nfs.init: Fix a typo in comment.
1141 2000-05-31 H.J. Lu <hjl@lucon.org>
1143 * configure.in (VERSION): Set to "0.1.8".
1144 * configure: Regenerated.
1145 * nfs-utils.spec: Updated.
1149 2000-05-31 H.J. Lu <hjl@lucon.org>
1151 * configure.in (VERSION): Set to "0.1.7.5".
1152 * configure: Regenerated.
1153 * nfs-utils.spec: Updated.
1155 * support/include/nfslib.h (exportent): Add a new field,
1156 r_count, to count the number of mounts from a client.
1157 (getrmtabent): Take a new argument for position in file.
1158 (putrmtabent): Likewise.
1159 (fgetrmtabent): Likewise.
1160 (fputrmtabent): Likewise.
1161 * support/nfs/rmtab.c (getrmtabent): Handle the new argument
1162 for position in file.
1163 (fgetrmtabent): Likewise.
1164 (putrmtabent): Likewise.
1165 (fputrmtabent): Likewise.
1167 * support/nfs/rmtab.c (fgetrmtabent): Get value for the new
1170 * support/export/rmtab.c (rmtab_read): Pass NULL as the new
1171 argument to getrmtabent (), fgetrmtabent (), putrmtabent ()
1172 and fputrmtabent ().
1173 * utils/mountd/rmtab.c (mountlist_add): Likewise.
1174 (mountlist_del): Likewise.
1175 (mountlist_del_all): Likewise.
1176 (mountlist_list): Likewise.
1178 * utils/mountd/rmtab.c (mountlist_add): Increment "r_count"
1179 for the existing entry and initialize "r_count" to 1.
1180 (mountlist_del): Decrement "r_count".
1182 2000-05-18 H.J. Lu <hjl@lucon.org>
1184 * configure.in (VERSION): Set to "0.1.7.4".
1185 * configure: Regenerated.
1186 * nfs-utils.spec: Updated.
1188 2000-05-18 H.J. Lu <hjl@lucon.org>
1190 * etc/redhat/nfs.init (restart): Just do stop and start.
1192 2000-05-09 Jay Weber <jweber@valinux.com>
1194 * utils/rquotad/hasquota.c: added support for ext3 recognition
1196 * utils/rquotad/mntent.h: Likewise.
1198 2000-05-01 H.J. Lu <hjl@lucon.org>
1200 * configure.in (VERSION): Set to "0.1.7.3".
1201 * configure: Regenerated.
1202 * nfs-utils.spec: Updated.
1204 2000-05-01 H.J. Lu <hjl@lucon.org>
1206 * utils/rquotad/rquota_server.c (getquotainfo): Skip bad
1207 mounting poins in /etc/fstab.
1209 2000-05-01 H.J. Lu <hjl@lucon.org>
1211 * configure.in (VERSION): Set to "0.1.7.2".
1212 * configure: Regenerated.
1213 * nfs-utils.spec: Updated.
1215 2000-05-01 H.J. Lu <hjl@lucon.org>
1217 * utils/rquotad/rquota_server.c (getquotainfo): Call stat ()
1218 to check for the mounting point.
1220 2000-04-29 Chip Salzenberg <chip@valinux.com>
1221 Neil Brown <neilb@cse.unsw.edu.au>
1223 * Really re-use RPC ports.
1224 (Fixes earlier patch. Sorry, Neil.)
1226 2000-04-26 H.J. Lu <hjl@lucon.org>
1228 * configure.in (VERSION): Set to "0.1.7.1".
1229 * configure: Regenerated.
1230 * nfs-utils.spec: Updated.
1232 2000-04-26 H.J. Lu <hjl@lucon.org>
1234 * etc/redhat/nfslock.init: Check if lockd exits before killing
1237 2000-04-25 H.J. Lu <hjl@lucon.org>
1239 * README: Require util-linux-2.10f-mount-rpc.patch for mount.
1241 2000-03-21 Michael Weiser <michael@weiser.saale-net.de>
1243 * support/nfs/exports.c (parsesquash): Correctly set the
1246 Tue Mar 21 11:38:48 EST 2000 NeilBrown <neilb@cse.unsw.edu.au>
1248 * support/include/nfs/nfs.h: Removed knowledge of internals of
1249 kernel filehandles (which can change) and defined nfs_fh_size
1250 which has variable size
1252 * support/nfs/getfh.c: defined getfh_size to use new syscall to
1253 get variable sized file handles, and change getfh{,old} to
1256 * utils/mountd/mountd.c: use nfd_fh_size and call getfh_size for
1259 * tools/Makefile, tools/nlmtest/nlmtest.c
1260 nlmtest.c depended on internel format of file handles, so now
1264 2000-03-12 Chip Salzenberg <chip@valinux.com>
1265 Neil Brown <neilb@cse.unsw.edu.au>
1267 * support/nfs/rpcmisc.c (rpc_init): Share transports.
1269 2000-03-13 H.J. Lu <hjl@lucon.org>
1271 * etc/redhat/nfsd.init: Updated.
1273 * etc/redhat/nfslock.init: Updated.
1275 * nfs-utils.spec.in: Updated.
1277 * configure.in (VERSION): Set to "0.1.7".
1278 * configure: Regenerated.
1279 * nfs-utils.spec: Updated.
1283 Wed Mar 8 09:42:43 2000 Neil Brown <neilb@cse.unsw.edu.au>
1285 * utils/exportfs/exportfs.c (dump): Included printing of
1286 nohide, no_subtree_check, and insecure_locks
1288 2000-02-26 Chip Salzenberg <chip@valinux.com>
1290 * config.mk.in (INSTALLSUID): Strip ("-s").
1291 (INSTALLSCRIPT): Define.
1292 * utils/nhfsstone/Makefile: Use it.
1294 2000-02-26 Chip Salzenberg <chip@valinux.com>
1296 * utils/lockd/lockd.man: Create.
1297 * utils/lockd/Makefile: Install it.
1298 * utils/nhfsstone/nhfs{run,nums,graph}.man: Create.
1299 * utils/nhfsstone/nhfsstone.man: Change suffix from ".1".
1300 * utils/nhfsstone/Makefile: Install the helper scripts and
1302 * utils/exportfs/exports.man: Fix typo.
1304 2000-02-26 Chip Salzenberg <chip@valinux.com>
1306 * support/nfs/xio.c (xungetc): Decrement line number when
1307 character to unget is newline. Make first parameter int, so
1308 it can distinguish EOF from \377.
1309 * support/include/xio.h (xungetc): Adjust prototype.
1311 Fri Feb 4 23:42:23 2000 Neil Brown <neilb@cse.unsw.edu.au>
1313 * support/include/nfs/export.h: added NFSEXP_NOAUTHNLM
1314 * support/nfs/exports.c: added handling for NFSEXP_NOAUTHNLM
1315 * utils/exportfs/exports.man: added documentation for no_auth_nlm.
1317 This is for supporting a new option introduced in 2.3.42
1319 Thu Feb 3 14:55:48 2000 H.J. Lu <hjl@lucon.org>
1321 * COPYING: Added. GPL.
1323 Thu Feb 03 14:40:40 2000 Cristian Gafton <gafton@redhat.com>
1325 * utils/rquotad/rquota_server.c (getquotainfo): Call statfs ()
1326 to get the block size.
1328 Tue Jan 25 11:04:17 2000 H.J. Lu <hjl@lucon.org>
1330 * nfs-utils.spec.in: Update ftp site.
1332 Mon Jan 17 11:48:18 2000 H.J. Lu <hjl@lucon.org>
1334 * README: Update hostnames.
1336 Tue Jan 11 10:06:22 2000 H.J. Lu <hjl@lucon.org>
1338 * configure.in (VERSION): Set to "0.1.6".
1339 * configure: Regenerated.
1340 * nfs-utils.spec: Updated.
1344 Mon Jan 10 14:26:33 2000 H.J. Lu <hjl@lucon.org>
1346 * utils/mountd/auth.c (auth_authenticate_internal): Call
1347 xstrdup for hostname before passing it to gethostbyname.
1349 * utils/mountd/mountd.c (get_exportlist): Use xstrdup instead
1352 Sun Dec 19 09:35:01 1999 H.J. Lu <hjl@lucon.org>
1354 * README: Update the mailing list address.
1356 Sun Dec 19 09:22:28 1999 H.J. Lu <hjl@lucon.org>
1358 * configure.in (VERSION): Set to "0.1.5".
1359 * configure: Regenerated.
1360 * nfs-utils.spec: Updated.
1364 Mon Dec 13 13:40:20 1999 H.J. Lu <hjl@lucon.org>
1366 * utils/rquotad/hasquota.c (hasquota): Malloc one more char
1369 Mon Dec 6 09:42:45 1999 H.J. Lu <hjl@lucon.org>
1371 * configure.in (VERSION): Set to "0.1.4".
1372 * configure: Regenerated.
1373 * nfs-utils.spec: Updated.
1377 Mon Dec 6 09:28:07 1999 H.J. Lu <hjl@lucon.org>
1379 * nfs-utils.spec.in: New file.
1381 * config.mk.in (VERSION): Changed to "nfs-utils @VERSION@".
1383 * configure.in (nfs-utils.spec): Added to AC_OUTPUT.
1385 1999-12-04 Chip Salzenberg <chip@valinux.com>
1387 * config.mk.in: Use $(CC) as set by configure.
1389 1999-12-04 Chip Salzenberg <chip@valinux.com>
1391 * rules.mk: Call $(MAKE) with $(MFLAGS).
1393 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1395 * tools/rpcgen/rpc_main.c (h_output): Generate IXDR_GET_INT32,
1396 IXDR_PUT_INT32, IXDR_GET_U_INT32 and IXDR_PUT_U_INT32.
1398 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
1400 * nfs-utils.spec (Version): Set to 0.1.3.
1402 * configure.in (VERSION): Set to "nfs-utils 0.1.3".
1403 * configure: Regenerated.
1407 Mon Nov 29 11:15:47 1999 H.J. Lu <hjl@lucon.org>
1409 * utils/rquotad/rquota_server.c (nfsmount_to_devname): Removed.
1410 (_PATH_DEV_DSK): Likewise.
1411 (getquotainfo): Match the mounting point from /etc/mtab
1412 instead of calling nfsmount_to_devname ().
1414 1999-11-24 Chip Salzenberg <chip@valinux.com>
1416 * utils/statd/monitor.c (sm_mon_1_svc): Accept lockd callbacks
1417 to the new port 24 as well as the historical port 100021.
1419 Tue Nov 23 10:21:34 1999 Neil Brown <neilb@cse.unsw.edu.au>
1421 * etc/redhat/nfsd.init (stop): moved exportfs -ua after
1422 stopping nfsd to stop spurious ESTALE on server shutdown.
1424 Tue Nov 23 10:13:39 1999 Neil Brown <neilb@cse.unsw.edu.au>
1426 * support/nfs/exports.c (parseopts): make copy of opt string
1427 before 'nul'ing out commas so that
1429 # exportfs -o option1,option2 hosta:/fs hostb:/fs
1431 applies both options to both exports.
1433 Thu Oct 28 12:55:42 1999 H.J. Lu <hjl@lucon.org>
1435 * README: Fix a few typos.
1437 * tools/rpcgen/rpc_cout.c (print_header): Use int32_t instead
1439 * tools/rpcgen/rpc_hout.c (pdefine): Likewise.
1440 * tools/rpcgen/rpc_main.c (c_initialize): Likewise.
1441 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1442 (unsigned_dec): Likewise.
1443 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1444 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1446 * tools/rpcgen/rpc_cout.c (emit_single_in_line): Use INT32
1448 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1449 (unsigned_dec): Likewise.
1450 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1451 * tools/rpcgen/rpc_scan.h (tok_kind): Likewise.
1452 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1454 Thu Oct 28 11:27:51 1999 Neil Brown <neilb@cse.unsw.edu.au>
1456 * support/include/nfs/export.h addedd NFSEXP_NOSUBTREECHECK
1457 * support/nfs/exports.c: added {no_,}subtree_check and changed
1459 * utils/exportfs/exports.man: added no_subtree_check and nohide
1460 and removed irrelevant stuff from unfsd.
1461 * support/export/rmtab.c: rmtab_read didn't quite do the right
1462 thing if a pathname from rmtab was a subdirectory of an export-point
1464 Tue Oct 26 17:22:40 1999 H.J. Lu <hjl@lucon.org>
1466 * README: Updated ftp site.
1468 Mon Oct 25 18:12:45 1999 H.J. Lu <hjl@lucon.org>
1470 * nfs-utils.spec (Version): Set to 0.1.2.
1472 * configure.in (VERSION): Set to "nfs-utils 0.1.2".
1473 * configure: Regenerated.
1477 Mon Oct 25 18:11:21 1999 H.J. Lu <hjl@lucon.org>
1479 * utils/mountd/auth.c (auth_error): Add "no_forward_dns".
1480 (auth_authenticate_internal): Check for NULL return on forward
1482 (auth_authenticate): Handle "no_forward_dns".
1484 Thu Oct 21 16:22:06 1999 H.J. Lu <hjl@lucon.org>
1486 * Version 0.1.1 released.
1488 * nfs-utils.spec (Version): Set to 0.1.1.
1490 * configure.in (VERSION): Set to "nfs-utils 0.1.1".
1491 * configure: Regenerated.
1495 Mon Oct 18 17:43:29 1999 H.J. Lu <hjl@lucon.org>
1497 * nfs-utils.spec (Obsoletes): Fixed a typo, change knfsd-client
1499 (Provides): Likewise.
1501 Mon Oct 18 14:56:22 1999 H.J. Lu <hjl@lucon.org>
1503 * Initial version 0.1 released.
1505 * configure.in (VERSION): Set to "nfs-utils 0.1".
1506 * configure: Regenerated.
1508 Mon Oct 18 14:54:57 1999 H.J. Lu <hjl@lucon.org>
1510 * utils/mountd/mountd.c (get_exportlist): Cleanup.
1512 * utils/exportfs/exportfs.c (unexport_all): Unexport from
1513 kernel only if the entry is exported to kernel.
1514 (unexportfs): Likewise.
1516 Wed Sep 08 16:49:32 1999 Neil Brown <neilb@cse.unsw.edu.au>
1518 1/ utils/mountd/rmtab.c::mountlist_list
1520 This routine stats the rmtab file to see if it has changed. It
1521 if has, it cleans up it's old copy of the data. But it still
1522 always re-read the file, thus returning multiple copies of the
1523 data on consecutive calls without intervening changes.
1524 "Showmount -a" didn't show this as it appears to sort/unique the
1525 data, but 'strace showmount -a' showed that the size of the
1526 datagram that it received grew.
1528 I moved the getrmtabent loop inside the mtime test.
1530 2/ utils/exportfs/exportfs.c
1532 Many routines used the m_path field of m_export instead of
1534 According to the comment in nfslib.h, m_path should only
1535 be used when processing a mount request (i.e. in mountd)
1536 where the mountpoint may be a subdirectory of the export point.
1538 I changed all occurances of m_path to e_path
1541 3/ utils/exportfs/exportfs.c:main
1543 extra arguments are not meaningful with -a or -r, but
1544 exportfs accepted them and then ignored the -a/-r, expect that
1545 -r would still unexport everything first.
1547 I generate an error if there are extra args and f_all
1549 4/ utils/exportfs/exportfs.c:main
1550 extract dump out as a special case.
1552 5/ utils/exportfs/exportfs.c
1553 made f_reexport a local variable.
1556 6/ utils/exportfs/exportfs.c:main,exportall
1558 support/export/rmtab.c
1559 only mayexport on newly created entries, don't set xtabent at all
1561 7/ support/include/nfslib.h
1563 add #define _PATH_PROC_EXPORTS to be /proc/fs/nds/exports
1565 8/ support/export/xtab.c
1567 xtab_mount_read loads data from _PATH_PROC_EXPORTS if it exists,
1571 9/ support/export/xtab.c
1573 xtab_mount_read now sets m_exported, and NOT
1574 xtabent and mayexport
1576 removed the append arguement from xtab_write as it was
1579 added is_export flag to xtab_write similar to xtab_read
1580 if is_export, only write entries with m_xtabent or m_addxtab
1581 if !is_export, only write entries with m_exported
1583 10/ support/export/export.c::export_allowed_internal
1585 added test for exp->m_mayexport, as the export tree
1586 may have entries that are no longer allowed to be exported,
1587 and so shouldn't caused deduced exported by rmtab_read
1589 11/ utils/exportfs/exportfs.c::main
1590 error checking of flags.
1592 12/ utils/exportfs/exportfs.c
1594 total rewrite of export and unexport logic.
1596 - build an exportslist of valid exports, based on
1597 current etab file and arguments,
1598 - read rmtab to instantiate relevant wild card entries
1599 - read etab to find out what is currently exported
1600 - synchronise intention with reality
1601 - write out etab and xtab
1604 discard the m_addxtab flag
1605 add m_changed flag so we know what to report in exportfs
1607 14/ utils/mountd/auth.c:auth_authenticate
1609 the value returned by gethostbyaddr was trusted.
1611 It now follows this with a call to gethostbyname
1612 and checks that the address is in the list.
1614 15/ support/export/nfsctl.c::cltsetup,expsetup
1616 force client names to lowercase as kernel is
1619 16/ quietened a few compiler warnings
1621 17/ support/export/client:client_lookup
1623 look for pre-existing client with same name before creating
1626 18/ support/include/exportfs.h
1628 The ordering of the MCL_* enum was:
1629 ANONYMOUS, FQDN, SUBNETWORK, WILDCARD, NETGROUP
1631 I moved ANONYMOUS to the end.
1633 The ordering is significant when an export entry is being searched for to
1634 match a given address. There are two problems with ANONYMOUS being first.
1636 1/ if a directory is exported rw to a couple of hosts and ro to everyone else,
1637 then the ro case will always be found first and the privileged hosts won't get
1639 2/ When mountd gets a request to mount an ANONYMOUSly exported tree, it creates a FQDN
1640 export entry for the specific host, and writes it to xtab.
1641 When another request comes from the same host, the ANONYMOUS entry is found again,
1642 before the new FQDN entry, so it creates another FQDN entry and writes it to xtab
1643 again. If causes bloat in xtab.
1645 Putting ANONYMOUS at the end reflects it's nature as a catch-all
1647 19/ utils/exportfs/exportfs.man
1648 many updates to the man page to reflect changes to the code
1650 -----------------------
1656 - allow exportfs to modify rmtab file
1657 - make sure kernel never gets two clients with same IP address
1658 - possible kernel should reject
1659 - needs to be some way to lookup client in kernel by IP address
1660 - maybe get kernel to do case-insensitive comparisons on client names
1661 - remove unused clients from kernel
1663 - change etab to xtab and xtab to xtab.active
1665 - timestamp and/or statd-stamp in rmtab for removing old entries.
1667 Mon Oct 18 11:48:07 1999 H.J. Lu <hjl@lucon.org>
1669 * linux-nfs: New directory.
1670 * linux-nfs/ChangeLog: Moved from ..
1671 * linux-nfs/INSTALL: Likewise.
1672 * linux-nfs/KNOWNBUGS: Likewise.
1673 * linux-nfs/NEW: Likewise.
1674 * linux-nfs/README: Likewise.
1675 * linux-nfs/THANKS: Likewise.
1676 * linux-nfs/TODO: Likewise.
1678 * Starting from knfsd 1.4.7.