1 2001-04-22 H.J. Lu <hjl@lucon.org>
3 * nfs-utils.spec.in: Fix a typo.
4 * nfs-utils.spec: Regenerated.
6 2001-04-21 H.J. Lu <hjl@lucon.org>
8 * nfs-utils.spec.in: Fix cross build.
9 * nfs-utils.spec: Regenerated.
12 2001-04-18 H.J. Lu <hjl@lucon.org>
14 * nfs-utils.spec.in: Support cross build.
15 * nfs-utils.spec: Regenerated.
21 * config.mk.in (BUILD_CC): New.
22 (CC): Set to $(BUILD_CC) if BUILD is defined.
25 (RANLIB): Set to @RANLIB@.
27 * configure.in: Check BUILD_CC, RANLIB, AR and LD.
28 * configure: Regenerated.
30 * tools/rpcgen/Makefile (BUILD): Set to true.
32 2001-04-01 Chip Salzenberg <chip@valinux.com>
34 * tools/rpcgen/rpc_svcout.c (write_timeout_func): Remove
35 redundant, and sometimes broken, declaration of svc_fdset;
37 * support/nfs/rpcmisc.c (closedown): Likewise.
39 2001-03-21 H.J. Lu <hjl@lucon.org>
41 * nfs-utils.spec: Regenerated.
44 2001-03-21 Ion Badulescu <ionut@cs.columbia.edu>
46 * utils/statd/statd.c (main): make sure file descriptors 0-2
47 are open to /dev/null.
49 2001-03-21 H.J. Lu <hjl@lucon.org>
51 * support/nfs/rpcmisc.c: Restore the change made on 2001-03-10.
52 * support/nfs/rpcmisc.c: Likewise.
53 * utils/rquotad/rquota_svc.c: Likewise.
54 * utils/rquotad/rquotad.man: Likewise.
55 * utils/statd/Makefile: Likewise.
56 * utils/statd/rmtcall.c: Likewise.
57 * utils/statd/simulate.c: Likewise.
58 * utils/statd/statd.c: Likewise.
59 * utils/statd/statd.man: Likewise.
61 2001-03-11 H.J. Lu <hjl@lucon.org>
63 * configure.in (RELEASE): New. Default to 1, set by
64 --with-release=XXX. Substitute nfs-utils.spec.
65 * nfs-utils.spec.in (Release): Set to @RELEASE@.
66 * configure: Regenerated.
67 * nfs-utils.spec: Likewise.
69 2001-03-11 H.J. Lu <hjl@lucon.org>
71 * utils/rquotad/rquotad.man: Fix a typo.
73 2001-03-11 H.J. Lu <hjl@lucon.org>
75 * support/include/rpcmisc.h: Undo the change made on 2001-03-10.
76 * support/nfs/rpcmisc.c: Likewise.
77 * utils/rquotad/rquota_svc.c: Likewise.
78 * utils/rquotad/rquotad.man: Likewise.
79 * utils/statd/Makefile: Likewise.
80 * utils/statd/rmtcall.c: Likewise.
81 * utils/statd/simulate.c: Likewise.
82 * utils/statd/statd.c: Likewise.
83 * utils/statd/statd.man: Likewise.
85 2001-03-10 H.J. Lu <hjl@lucon.org>
87 * configure.in (VERSION): Set to "0.3.2".
88 * configure: Regenerated.
89 * nfs-utils.spec: Likewise.
91 * README: Updated for 0.3.2.
93 2001-03-10 Tavis Barr <tavis@boole.isetr.columbia.edu>
95 * utils/rquotad/rquotad.man: Updated for -p.
96 * utils/statd/statd.man: Likewise.
98 2001-03-10 Ion Badulescu <ionut@cs.columbia.edu>
100 * support/nfs/rpcmisc.c: export makesock()
102 * support/include/rpcmisc.h (makesock): Declared.
104 * utils/rquotad/rquota_svc.c: added longopts, added support for
105 specifying the port to bind to on the command line.
107 * utils/statd/statd.c: ditto, also specify port used for
108 outgoing connections.
109 (do_regist): Removed.
111 * utils/statd/rmtcall.c (statd_get_socket): Renamed from
112 get_socket. Make it extern.
114 * utils/statd/simulate.c (daemon_simulator): Call rpc_init
115 instead of do_regist.
117 * utils/statd/Makefile (LIBS): link with our own libnfs
119 2001-03-09 H.J. Lu <hjl@lucon.org>
121 * etc/redhat/nfslock.init: Changed chkconfig line to 60 86.
122 * etc/nodist/nfs-client: Likewise.
124 2001-02-26 Chip Salzenberg <chip@valinux.com>
126 * debian/changelog: Version 0.3.1-1.
127 * Mention upstream source and license in copyright file.
128 * Add build-Depends for debhelper and libwrap0-dev.
130 2001-02-20 Lon Hohberger <hohberger@missioncriticallinux.com>
132 * etc/nodist/nfs-server: Changed chkconfig line to 60 20
133 * etc/nodist/nfs-client: Likewise.
135 2001-02-18 Lon Hohberger <hohberger@missioncriticallinux.com>
137 * utils/statd/statd.man: Changed /usr/sbin/rpc.statd to
140 2001-02-17 Patrick J. LoPresti <patl@curl.com>
142 * utils/statd/log.c (log_init): Use LOG_DAEMON instead of
145 2001-02-14 H.J. Lu <hjl@lucon.org>
147 * utils/statd/rmtcall.c: Include <time.h>.
148 * utils/statd/svc_run.c: Likewise.
150 2001-02-14 H.J. Lu <hjl@lucon.org>
152 * configure.in (VERSION): Set to "0.3.1".
153 * configure: Regenerated.
154 * nfs-utils.spec: Likewise.
156 * README: Updated for 0.3.1.
158 2001-02-14 H.J. Lu <hjl@lucon.org>
160 * support/nfs/rpcmisc.c: Include <time.h>.
162 2001-02-14 Chip Salzenberg <chip@valinux.com>
164 * debian/control: Change priority of nhfsstone package to 'extra'.
166 2001-02-12 Chip Salzenberg <chip@valinux.com>
168 * debian/changelog: Version 0.3-2.
170 2001-02-02 H.J. Lu <hjl@lucon.org>
172 * support/include/rpcmisc.h (rpc_init): Remove bufsize.
174 * support/nfs/rpcmisc.c (makesock): Remove socksz and comment
175 out SO_SNDBUF/SO_RCVBUF.
176 (rpc_init): Remove bufsize and remove socksz in calls to
179 * utils/mountd/mountd.c (main): Remove bufsize in calls to
182 2001-01-28 Chip Salzenberg <chip@valinux.com>
184 * debian/changelog: Version 0.3-1.
186 2001-01-25 H.J. Lu <hjl@lucon.org>
188 * configure.in (VERSION): Set to "0.3".
189 * configure: Regenerated.
190 * nfs-utils.spec: Likewise.
192 * README: Updated for 0.3.
194 2001-01-25 H.J. Lu <hjl@lucon.org>
196 * utils/lockd/lockd.c (main): Ignore errno == EINVAL.
198 2001-01-20 Chip Salzenberg <chip@valinux.com>
200 * support/include/xio.h (xgetc): Declare to return int.
201 * support/nfs/xio.c (xgetc): Return int.
202 (xgettok, xskip, xskipcomment): Use int for value of xgetc.
203 * utils/statd/statd.c (main): Use int for value of getopt.
204 * debian/changelog: Version 0.2.1-5.
206 2000-12-10 Chip Salzenberg <chip@valinux.com>
208 * utils/statd/monitor.c (sm_mon_1_svc): Fix buggy check for
209 program and procedure numbers of kernel lockd's callback. Also,
210 besides the old (and broken) procedure #24, allow #16 per Trond.
212 2000-12-03 Chip Salzenberg <chip@valinux.com>
214 * support/nfs/xio.c (xfopen): Initialize x_line to one, not zero.
215 * debian/control: Let nhfsstone replace files in nfs-kernel-server.
216 * debian/changelog: Version 0.2.1-4.
218 2000-11-27 Tobias Ringstrom <tori@tellus.mine.nu>
220 * utils/mountd/auth.c (auth_authenticate): Log the bad path
223 2000-11-24 Neil Brown <neilb@cse.unsw.edu.au>
225 * support/nfs/exports.c (getexportent): Check for host name
226 without option, or options without hostname, and print a warning,
227 as this is most likely a typo.
229 2000-11-19 Chip Salzenberg <chip@valinux.com>
231 * debian/control: Add dependency on portmap.
232 * debian/changelog: Version 0.2.1-3.
234 2000-11-10 H.J. Lu <hjl@lucon.org>
236 * nfs-utils.spec.in: Don't use libtool.
237 Add ChangeLog and COPYING to doc.
238 * nfs-utils.spec: Rebuild.
240 2000-11-09 H.J. Lu <hjl@lucon.org>
242 * etc/redhat/nfs.init (start): Back out the last change.
244 2000-11-09 H.J. Lu <hjl@lucon.org>
246 * etc/redhat/nfs.init (start): Pass --no-tcp to mountd if
247 TCP is not supported by kernel.
249 * support/nfs/rpcmisc.c (rpc_init): Don't set _rpcfdtype to 0.
251 * utils/mountd/mountd.c (longopts): Add "-n/--no-tcp".
252 (main): Set to _rpcfdtype to SOCK_DGRAM for "-n/--no-tcp".
254 * utils/mountd/mountd.man: Updated for "-n/--no-tcp".
256 2000-10-24 Lon Hohberger <hohberger@missioncriticallinux.com>
258 * utils/statd/callback.c: Fix bug preventing callbacks to local lockd.
259 * utils/statd/rmtcall.c: Add some IP address paranoia when doing
260 callbacks to local lockd.
262 2000-10-18 Scott McDermott <mcdermot@questra.com>
264 * utils/exportfs/exports.man: Updated for CIDR netmask.
266 2000-10-17 Scott McDermott <mcdermot@questra.com>
268 * support/export/client.c (client_init): Support CIDR netmask
271 2000-10-11 H.J. Lu <hjl@lucon.org>
273 * aclocal.m4 (AC_TCP_WRAPPER): Fix a typo.
274 * configure: Rebuilt.
276 2000-10-06 Lon Hohberger <hohberger@missioncriticallinux.com>
278 * utils/statd/statd.man: Change "/var/lib/nfs/sm/state" to
279 "/var/lib/nfs/state".
281 2000-10-05 Lon Hohberger <hohberger@missioncriticallinux.com>
283 * utils/statd/statd.h (run_mode): New global bitmask of runtime
284 behaviors: fg/bg, logging, etc.
285 * utils/statd/statd.c: New command line options: -V -h -? -d .
286 * utils/statd/statd.man: Update for changes to statd.
288 * utils/statd/log.h (log_init): Remove parameter of function; use
289 global variable "name_p" instead.
290 * utils/statd/log.c: Add support for logging to stderr.
292 * utils/statd/notlist.c: Partially rewrite notify list handling
293 functions. Eliminate run-off-end-of-list bug when calling
294 nlist_insert_timer. Add lots of comments.
296 2000-09-27 H.J. Lu <hjl@lucon.org>
298 * README: Updated for RedHat 7.0.
300 2000-09-27 H.J. Lu <hjl@lucon.org>
302 * nfs-utils.spec: Rebuild.
304 2000-09-27 H.J. Lu <hjl@lucon.org>
306 * README: Updated for 0.2.1.
308 2000-09-27 H.J. Lu <hjl@lucon.org>
310 * nfs-utils.spec.in: Updated to use rpm macros and support
313 2000-09-25 H.J. Lu <hjl@lucon.org>
315 * configure.in (VERSION): Set to "0.2.1".
316 * configure: Regenerated.
317 * nfs-utils.spec: Updated.
319 2000-09-25 H.J. Lu <hjl@lucon.org>
321 * utils/mountd/auth.c (auth_authenticate_internal): Make sure a
322 non-NULL hostent is always returned.
324 2000-09-11 Ion Badulescu <ionut@cs.columbia.edu>
326 * etc/redhat/nfslock.init: don't kill lockd processes that do not
327 have an executable (i.e. kernel threads)
329 2000-09-01 H.J. Lu <hjl@lucon.org>
331 * README: Updated for 0.2.
333 2000-09-01 Jay Weber <jweber@valinux.com>
335 * etc/redhat/nfs.init: Added ability for rpc.mountd to default to
336 supporting version 3 of nfs if available, else it will fall back to
337 version 2 support only.
339 2000-08-30 H.J. Lu <hjl@lucon.org>
341 * configure.in (VERSION): Set to "0.2".
342 * configure: Regenerated.
343 * nfs-utils.spec: Updated.
345 2000-08-25 H.J. Lu <hjl@lucon.org>
347 * support/misc/tcpwrapper.c (logit): Modify the log output.
349 2000-08-25 Ion Badulescu <ionut@cs.columbia.edu>
351 * utils/rquotad/rquotad.man, utils/statd/statd.man,
352 utils/mountd/mountd.man: updated
354 * utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL)
355 * utils/rquotad/Makefile: fix comment
357 * support/misc/tcpwrapper.c (logit): added comment about waiting
358 for the children after fork()
360 * utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving
361 zombies behind (from logit()'s fork)
362 * utils/rquotad/rquota_svc.c (main): ditto
363 * utils/statd/statd.c (main): ditto
365 * utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG
366 to check_default instead of 0, for prognum
368 * utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG
369 to check_default instead of 0, for prognum
371 * utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if
372 HAVE_TCP_WRAPPER is defined.
373 (mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is
374 defined. Reject an RPC call if check_default () fails.
376 2000-08-25 H.J. Lu <hjl@lucon.org>
378 * support/include/tcpwrapper.h: New for the tcp wrapper
380 * support/misc/Makefile: Likewise.
381 * support/misc/from_local.c: Likewise.
382 * support/misc/tcpwrapper.c: Likewise.
384 * aclocal.m4 (AC_TCP_WRAPPER): New.
385 * configure.in: Use it. Substitute LIBWRAP.
386 * configure: Rebuilt.
388 * config.mk.in (LIBNSL): New.
391 * support/Makefile (SUBDIRS): Add misc.
393 * support/lib/Makefile (LIBS): Add libmisc.a.
395 * utils/rquotad/Makefile (LIBS): Add
397 -lmisc $(LIBWRAP) $(LIBNSL)
399 * utils/statd/Makefile (LIBS): Likewise.
401 * utils/rquotad/rquota_svc.c: Include "tcpwrapper.h" if
402 HAVE_TCP_WRAPPER is defined.
403 (rquotaprog_1): Call check_default () if HAVE_TCP_WRAPPER is
404 defined. Reject an RPC call if check_default () fails.
406 * utils/statd/statd.c: Include "tcpwrapper.h" if
407 HAVE_TCP_WRAPPER is defined.
408 (sm_prog_1_wrapper): New. A wrapper for sm_prog_1. Call
409 check_default () before calling sm_prog_1 (). Define it as
410 sm_prog_1_wrapper if HAVE_TCP_WRAPPER is defined.
412 2000-08-25 Chip Salzenberg <chip@valinux.com>
414 * debian/*: Complete Debian build support.
415 * etc/debian/*: Remove.
417 2000-08-24 Neil Brown <neilb@cse.unsw.edu.au>
419 * support/export/client.c(client_check): removed the "dot+1" as a
420 ypdomain argument to innetgr as this is entirely bogus.
421 It should always be NULL.
423 2000-08-23 Neil Brown <neilb@cse.unsw.edu.au>
425 * support/export/xtab.c(xtab_read): introduce new mode for
426 reading xtab. i.e. a list of exports that might be known to the
427 kernel, or might not. These are flagged as m_exported == -1
428 * support/export/xtab.c(xtab_mount_read): call xtab_read with new
429 value "2" for xtab, meaning don't trust this too much.
430 * support/include/exportfs.h(struct mexport): changed m_exported
431 from one bit to an int so that it can hold new value
432 * utils/exportfs/exportfs.c(exportfs_ipdate): add an export to the
433 kernel if it is uncertain whether the kernel knows (m_exported == -1)
434 * utils/mountd/mountd.c(get_rootfh): similarly export to kernel if
437 * support/nfs/xio.c(xflock): added O_CREAT when getting
438 a write lock so that missing files aren't fatal.
440 * etc/debian/nfs-common: new file from "potato"
441 * etc/debian/nfs-kernel-server: new file from "potato" plus fixes.
443 2000-08-09 H.J. Lu <hjl@lucon.org>
445 * etc/redhat/nfs.init: Run /usr/sbin/exportfs first during
446 startup to ensure all existing clients work fine.
448 * support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0
449 to xtab_read () for reading _PATH_XTAB.
451 2000-08-02 H.J. Lu <hjl@lucon.org>
453 * utils/mountd/auth.c (auth_authenticate_internal): Try to
454 avoid the reverse name lookup.
456 2000-07-04 H.J. Lu <hjl@lucon.org>
458 * utils/statd/log.c: Include <stdlib.h> for exit ().
460 * utils/statd/misc.c (xunlink): Add `{' and `}' to quiet the
463 2000-07-04 H.J. Lu <hjl@lucon.org>
465 * configure.in (VERSION): Set to "0.1.9.1".
466 * configure: Regenerated.
467 * nfs-utils.spec: Updated.
471 2000-07-04 Neil Brown <neilb@cse.unsw.edu.au>
473 * support/export/hostname.c (hostent_dup): Handle the NULL
476 2000-07-03 H.J. Lu <hjl@lucon.org>
478 * README: Update the util-linux requirement.
480 2000-07-03 H.J. Lu <hjl@lucon.org>
482 * configure.in (VERSION): Set to "0.1.9".
483 * configure: Regenerated.
484 * nfs-utils.spec: Updated.
488 2000-07-03 H.J. Lu <hjl@lucon.org>
490 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
491 stop to ensure all clients can still access the server
492 before it is shutdown.
494 2000-06-30 Jeff Uphoff <juphoff@transmeta.com>
496 * tools/rpcgen/rpc_svcout.c (write_msg_out): Generate syslog()
497 calls with format string.
499 2000-06-28 Chip Salzenberg <chip@valinux.com>
501 * utils/statd/log.c (log): Call syslog with format string.
503 2000-06-27 H.J. Lu <hjl@lucon.org>
505 * utils/statd/statd.c (main): Use sysconf (_SC_OPEN_MAX)
508 2000-06-27 H.J. Lu <hjl@lucon.org>
512 2000-06-27 H.J. Lu <hjl@lucon.org>
514 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
515 startup to ensure all existing clients are exported.
517 * configure.in (VERSION): Set to "0.1.8.2".
518 * configure: Regenerated.
519 * nfs-utils.spec: Updated.
521 2000-06-06 H.J. Lu <hjl@lucon.org>
523 * configure.in (VERSION): Set to "0.1.8.1".
524 * configure: Regenerated.
525 * nfs-utils.spec: Updated.
527 2000-06-06 H.J. Lu <hjl@lucon.org>
529 * utils/mountd/mountd.c (mount_dump_1_svc): Cast svc_getcaller
530 to "struct sockaddr_in *" for glibc 2.2.
531 (mount_umnt_1_svc): Likewise.
532 (mount_umntall_1_svc): Likewise.
533 (mount_export_1_svc): Likewise.
534 (mount_exportall_1_svc): Likewise.
535 (mount_pathconf_2_svc): Likewise.
536 (get_rootfh): Likewise.
538 2000-06-04 H.J. Lu <hjl@lucon.org>
540 * etc/redhat/nfs.init: Fix a typo in comment.
542 2000-05-31 H.J. Lu <hjl@lucon.org>
544 * configure.in (VERSION): Set to "0.1.8".
545 * configure: Regenerated.
546 * nfs-utils.spec: Updated.
550 2000-05-31 H.J. Lu <hjl@lucon.org>
552 * configure.in (VERSION): Set to "0.1.7.5".
553 * configure: Regenerated.
554 * nfs-utils.spec: Updated.
556 * support/include/nfslib.h (exportent): Add a new field,
557 r_count, to count the number of mounts from a client.
558 (getrmtabent): Take a new argument for position in file.
559 (putrmtabent): Likewise.
560 (fgetrmtabent): Likewise.
561 (fputrmtabent): Likewise.
562 * support/nfs/rmtab.c (getrmtabent): Handle the new argument
563 for position in file.
564 (fgetrmtabent): Likewise.
565 (putrmtabent): Likewise.
566 (fputrmtabent): Likewise.
568 * support/nfs/rmtab.c (fgetrmtabent): Get value for the new
571 * support/export/rmtab.c (rmtab_read): Pass NULL as the new
572 argument to getrmtabent (), fgetrmtabent (), putrmtabent ()
574 * utils/mountd/rmtab.c (mountlist_add): Likewise.
575 (mountlist_del): Likewise.
576 (mountlist_del_all): Likewise.
577 (mountlist_list): Likewise.
579 * utils/mountd/rmtab.c (mountlist_add): Increment "r_count"
580 for the existing entry and initialize "r_count" to 1.
581 (mountlist_del): Decrement "r_count".
583 2000-05-18 H.J. Lu <hjl@lucon.org>
585 * configure.in (VERSION): Set to "0.1.7.4".
586 * configure: Regenerated.
587 * nfs-utils.spec: Updated.
589 2000-05-18 H.J. Lu <hjl@lucon.org>
591 * etc/redhat/nfs.init (restart): Just do stop and start.
593 2000-05-09 Jay Weber <jweber@valinux.com>
595 * utils/rquotad/hasquota.c: added support for ext3 recognition
597 * utils/rquotad/mntent.h: Likewise.
599 2000-05-01 H.J. Lu <hjl@lucon.org>
601 * configure.in (VERSION): Set to "0.1.7.3".
602 * configure: Regenerated.
603 * nfs-utils.spec: Updated.
605 2000-05-01 H.J. Lu <hjl@lucon.org>
607 * utils/rquotad/rquota_server.c (getquotainfo): Skip bad
608 mounting poins in /etc/fstab.
610 2000-05-01 H.J. Lu <hjl@lucon.org>
612 * configure.in (VERSION): Set to "0.1.7.2".
613 * configure: Regenerated.
614 * nfs-utils.spec: Updated.
616 2000-05-01 H.J. Lu <hjl@lucon.org>
618 * utils/rquotad/rquota_server.c (getquotainfo): Call stat ()
619 to check for the mounting point.
621 2000-04-29 Chip Salzenberg <chip@valinux.com>
622 Neil Brown <neilb@cse.unsw.edu.au>
624 * Really re-use RPC ports.
625 (Fixes earlier patch. Sorry, Neil.)
627 2000-04-26 H.J. Lu <hjl@lucon.org>
629 * configure.in (VERSION): Set to "0.1.7.1".
630 * configure: Regenerated.
631 * nfs-utils.spec: Updated.
633 2000-04-26 H.J. Lu <hjl@lucon.org>
635 * etc/redhat/nfslock.init: Check if lockd exits before killing
638 2000-04-25 H.J. Lu <hjl@lucon.org>
640 * README: Require util-linux-2.10f-mount-rpc.patch for mount.
642 2000-03-21 Michael Weiser <michael@weiser.saale-net.de>
644 * support/nfs/exports.c (parsesquash): Correctly set the
647 Tue Mar 21 11:38:48 EST 2000 NeilBrown <neilb@cse.unsw.edu.au>
649 * support/include/nfs/nfs.h: Removed knowledge of internals of
650 kernel filehandles (which can change) and defined nfs_fh_size
651 which has variable size
653 * support/nfs/getfh.c: defined getfh_size to use new syscall to
654 get variable sized file handles, and change getfh{,old} to
657 * utils/mountd/mountd.c: use nfd_fh_size and call getfh_size for
660 * tools/Makefile, tools/nlmtest/nlmtest.c
661 nlmtest.c depended on internel format of file handles, so now
665 2000-03-12 Chip Salzenberg <chip@valinux.com>
666 Neil Brown <neilb@cse.unsw.edu.au>
668 * support/nfs/rpcmisc.c (rpc_init): Share transports.
670 2000-03-13 H.J. Lu <hjl@lucon.org>
672 * etc/redhat/nfsd.init: Updated.
674 * etc/redhat/nfslock.init: Updated.
676 * nfs-utils.spec.in: Updated.
678 * configure.in (VERSION): Set to "0.1.7".
679 * configure: Regenerated.
680 * nfs-utils.spec: Updated.
684 Wed Mar 8 09:42:43 2000 Neil Brown <neilb@cse.unsw.edu.au>
686 * utils/exportfs/exportfs.c (dump): Included printing of
687 nohide, no_subtree_check, and insecure_locks
689 2000-02-26 Chip Salzenberg <chip@valinux.com>
691 * config.mk.in (INSTALLSUID): Strip ("-s").
692 (INSTALLSCRIPT): Define.
693 * utils/nhfsstone/Makefile: Use it.
695 2000-02-26 Chip Salzenberg <chip@valinux.com>
697 * utils/lockd/lockd.man: Create.
698 * utils/lockd/Makefile: Install it.
699 * utils/nhfsstone/nhfs{run,nums,graph}.man: Create.
700 * utils/nhfsstone/nhfsstone.man: Change suffix from ".1".
701 * utils/nhfsstone/Makefile: Install the helper scripts and
703 * utils/exportfs/exports.man: Fix typo.
705 2000-02-26 Chip Salzenberg <chip@valinux.com>
707 * support/nfs/xio.c (xungetc): Decrement line number when
708 character to unget is newline. Make first parameter int, so
709 it can distinguish EOF from \377.
710 * support/include/xio.h (xungetc): Adjust prototype.
712 Fri Feb 4 23:42:23 2000 Neil Brown <neilb@cse.unsw.edu.au>
714 * support/include/nfs/export.h: added NFSEXP_NOAUTHNLM
715 * support/nfs/exports.c: added handling for NFSEXP_NOAUTHNLM
716 * utils/exportfs/exports.man: added documentation for no_auth_nlm.
718 This is for supporting a new option introduced in 2.3.42
720 Thu Feb 3 14:55:48 2000 H.J. Lu <hjl@lucon.org>
722 * COPYING: Added. GPL.
724 Thu Feb 03 14:40:40 2000 Cristian Gafton <gafton@redhat.com>
726 * utils/rquotad/rquota_server.c (getquotainfo): Call statfs ()
727 to get the block size.
729 Tue Jan 25 11:04:17 2000 H.J. Lu <hjl@lucon.org>
731 * nfs-utils.spec.in: Update ftp site.
733 Mon Jan 17 11:48:18 2000 H.J. Lu <hjl@lucon.org>
735 * README: Update hostnames.
737 Tue Jan 11 10:06:22 2000 H.J. Lu <hjl@lucon.org>
739 * configure.in (VERSION): Set to "0.1.6".
740 * configure: Regenerated.
741 * nfs-utils.spec: Updated.
745 Mon Jan 10 14:26:33 2000 H.J. Lu <hjl@lucon.org>
747 * utils/mountd/auth.c (auth_authenticate_internal): Call
748 xstrdup for hostname before passing it to gethostbyname.
750 * utils/mountd/mountd.c (get_exportlist): Use xstrdup instead
753 Sun Dec 19 09:35:01 1999 H.J. Lu <hjl@lucon.org>
755 * README: Update the mailing list address.
757 Sun Dec 19 09:22:28 1999 H.J. Lu <hjl@lucon.org>
759 * configure.in (VERSION): Set to "0.1.5".
760 * configure: Regenerated.
761 * nfs-utils.spec: Updated.
765 Mon Dec 13 13:40:20 1999 H.J. Lu <hjl@lucon.org>
767 * utils/rquotad/hasquota.c (hasquota): Malloc one more char
770 Mon Dec 6 09:42:45 1999 H.J. Lu <hjl@lucon.org>
772 * configure.in (VERSION): Set to "0.1.4".
773 * configure: Regenerated.
774 * nfs-utils.spec: Updated.
778 Mon Dec 6 09:28:07 1999 H.J. Lu <hjl@lucon.org>
780 * nfs-utils.spec.in: New file.
782 * config.mk.in (VERSION): Changed to "nfs-utils @VERSION@".
784 * configure.in (nfs-utils.spec): Added to AC_OUTPUT.
786 1999-12-04 Chip Salzenberg <chip@valinux.com>
788 * config.mk.in: Use $(CC) as set by configure.
790 1999-12-04 Chip Salzenberg <chip@valinux.com>
792 * rules.mk: Call $(MAKE) with $(MFLAGS).
794 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
796 * tools/rpcgen/rpc_main.c (h_output): Generate IXDR_GET_INT32,
797 IXDR_PUT_INT32, IXDR_GET_U_INT32 and IXDR_PUT_U_INT32.
799 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
801 * nfs-utils.spec (Version): Set to 0.1.3.
803 * configure.in (VERSION): Set to "nfs-utils 0.1.3".
804 * configure: Regenerated.
808 Mon Nov 29 11:15:47 1999 H.J. Lu <hjl@lucon.org>
810 * utils/rquotad/rquota_server.c (nfsmount_to_devname): Removed.
811 (_PATH_DEV_DSK): Likewise.
812 (getquotainfo): Match the mounting point from /etc/mtab
813 instead of calling nfsmount_to_devname ().
815 1999-11-24 Chip Salzenberg <chip@valinux.com>
817 * utils/statd/monitor.c (sm_mon_1_svc): Accept lockd callbacks
818 to the new port 24 as well as the historical port 100021.
820 Tue Nov 23 10:21:34 1999 Neil Brown <neilb@cse.unsw.edu.au>
822 * etc/redhat/nfsd.init (stop): moved exportfs -ua after
823 stopping nfsd to stop spurious ESTALE on server shutdown.
825 Tue Nov 23 10:13:39 1999 Neil Brown <neilb@cse.unsw.edu.au>
827 * support/nfs/exports.c (parseopts): make copy of opt string
828 before 'nul'ing out commas so that
830 # exportfs -o option1,option2 hosta:/fs hostb:/fs
832 applies both options to both exports.
834 Thu Oct 28 12:55:42 1999 H.J. Lu <hjl@lucon.org>
836 * README: Fix a few typos.
838 * tools/rpcgen/rpc_cout.c (print_header): Use int32_t instead
840 * tools/rpcgen/rpc_hout.c (pdefine): Likewise.
841 * tools/rpcgen/rpc_main.c (c_initialize): Likewise.
842 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
843 (unsigned_dec): Likewise.
844 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
845 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
847 * tools/rpcgen/rpc_cout.c (emit_single_in_line): Use INT32
849 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
850 (unsigned_dec): Likewise.
851 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
852 * tools/rpcgen/rpc_scan.h (tok_kind): Likewise.
853 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
855 Thu Oct 28 11:27:51 1999 Neil Brown <neilb@cse.unsw.edu.au>
857 * support/include/nfs/export.h addedd NFSEXP_NOSUBTREECHECK
858 * support/nfs/exports.c: added {no_,}subtree_check and changed
860 * utils/exportfs/exports.man: added no_subtree_check and nohide
861 and removed irrelevant stuff from unfsd.
862 * support/export/rmtab.c: rmtab_read didn't quite do the right
863 thing if a pathname from rmtab was a subdirectory of an export-point
865 Tue Oct 26 17:22:40 1999 H.J. Lu <hjl@lucon.org>
867 * README: Updated ftp site.
869 Mon Oct 25 18:12:45 1999 H.J. Lu <hjl@lucon.org>
871 * nfs-utils.spec (Version): Set to 0.1.2.
873 * configure.in (VERSION): Set to "nfs-utils 0.1.2".
874 * configure: Regenerated.
878 Mon Oct 25 18:11:21 1999 H.J. Lu <hjl@lucon.org>
880 * utils/mountd/auth.c (auth_error): Add "no_forward_dns".
881 (auth_authenticate_internal): Check for NULL return on forward
883 (auth_authenticate): Handle "no_forward_dns".
885 Thu Oct 21 16:22:06 1999 H.J. Lu <hjl@lucon.org>
887 * Version 0.1.1 released.
889 * nfs-utils.spec (Version): Set to 0.1.1.
891 * configure.in (VERSION): Set to "nfs-utils 0.1.1".
892 * configure: Regenerated.
896 Mon Oct 18 17:43:29 1999 H.J. Lu <hjl@lucon.org>
898 * nfs-utils.spec (Obsoletes): Fixed a typo, change knfsd-client
900 (Provides): Likewise.
902 Mon Oct 18 14:56:22 1999 H.J. Lu <hjl@lucon.org>
904 * Initial version 0.1 released.
906 * configure.in (VERSION): Set to "nfs-utils 0.1".
907 * configure: Regenerated.
909 Mon Oct 18 14:54:57 1999 H.J. Lu <hjl@lucon.org>
911 * utils/mountd/mountd.c (get_exportlist): Cleanup.
913 * utils/exportfs/exportfs.c (unexport_all): Unexport from
914 kernel only if the entry is exported to kernel.
915 (unexportfs): Likewise.
917 Wed Sep 08 16:49:32 1999 Neil Brown <neilb@cse.unsw.edu.au>
919 1/ utils/mountd/rmtab.c::mountlist_list
921 This routine stats the rmtab file to see if it has changed. It
922 if has, it cleans up it's old copy of the data. But it still
923 always re-read the file, thus returning multiple copies of the
924 data on consecutive calls without intervening changes.
925 "Showmount -a" didn't show this as it appears to sort/unique the
926 data, but 'strace showmount -a' showed that the size of the
927 datagram that it received grew.
929 I moved the getrmtabent loop inside the mtime test.
931 2/ utils/exportfs/exportfs.c
933 Many routines used the m_path field of m_export instead of
935 According to the comment in nfslib.h, m_path should only
936 be used when processing a mount request (i.e. in mountd)
937 where the mountpoint may be a subdirectory of the export point.
939 I changed all occurances of m_path to e_path
942 3/ utils/exportfs/exportfs.c:main
944 extra arguments are not meaningful with -a or -r, but
945 exportfs accepted them and then ignored the -a/-r, expect that
946 -r would still unexport everything first.
948 I generate an error if there are extra args and f_all
950 4/ utils/exportfs/exportfs.c:main
951 extract dump out as a special case.
953 5/ utils/exportfs/exportfs.c
954 made f_reexport a local variable.
957 6/ utils/exportfs/exportfs.c:main,exportall
959 support/export/rmtab.c
960 only mayexport on newly created entries, don't set xtabent at all
962 7/ support/include/nfslib.h
964 add #define _PATH_PROC_EXPORTS to be /proc/fs/nds/exports
966 8/ support/export/xtab.c
968 xtab_mount_read loads data from _PATH_PROC_EXPORTS if it exists,
972 9/ support/export/xtab.c
974 xtab_mount_read now sets m_exported, and NOT
975 xtabent and mayexport
977 removed the append arguement from xtab_write as it was
980 added is_export flag to xtab_write similar to xtab_read
981 if is_export, only write entries with m_xtabent or m_addxtab
982 if !is_export, only write entries with m_exported
984 10/ support/export/export.c::export_allowed_internal
986 added test for exp->m_mayexport, as the export tree
987 may have entries that are no longer allowed to be exported,
988 and so shouldn't caused deduced exported by rmtab_read
990 11/ utils/exportfs/exportfs.c::main
991 error checking of flags.
993 12/ utils/exportfs/exportfs.c
995 total rewrite of export and unexport logic.
997 - build an exportslist of valid exports, based on
998 current etab file and arguments,
999 - read rmtab to instantiate relevant wild card entries
1000 - read etab to find out what is currently exported
1001 - synchronise intention with reality
1002 - write out etab and xtab
1005 discard the m_addxtab flag
1006 add m_changed flag so we know what to report in exportfs
1008 14/ utils/mountd/auth.c:auth_authenticate
1010 the value returned by gethostbyaddr was trusted.
1012 It now follows this with a call to gethostbyname
1013 and checks that the address is in the list.
1015 15/ support/export/nfsctl.c::cltsetup,expsetup
1017 force client names to lowercase as kernel is
1020 16/ quietened a few compiler warnings
1022 17/ support/export/client:client_lookup
1024 look for pre-existing client with same name before creating
1027 18/ support/include/exportfs.h
1029 The ordering of the MCL_* enum was:
1030 ANONYMOUS, FQDN, SUBNETWORK, WILDCARD, NETGROUP
1032 I moved ANONYMOUS to the end.
1034 The ordering is significant when an export entry is being searched for to
1035 match a given address. There are two problems with ANONYMOUS being first.
1037 1/ if a directory is exported rw to a couple of hosts and ro to everyone else,
1038 then the ro case will always be found first and the privileged hosts won't get
1040 2/ When mountd gets a request to mount an ANONYMOUSly exported tree, it creates a FQDN
1041 export entry for the specific host, and writes it to xtab.
1042 When another request comes from the same host, the ANONYMOUS entry is found again,
1043 before the new FQDN entry, so it creates another FQDN entry and writes it to xtab
1044 again. If causes bloat in xtab.
1046 Putting ANONYMOUS at the end reflects it's nature as a catch-all
1048 19/ utils/exportfs/exportfs.man
1049 many updates to the man page to reflect changes to the code
1051 -----------------------
1057 - allow exportfs to modify rmtab file
1058 - make sure kernel never gets two clients with same IP address
1059 - possible kernel should reject
1060 - needs to be some way to lookup client in kernel by IP address
1061 - maybe get kernel to do case-insensitive comparisons on client names
1062 - remove unused clients from kernel
1064 - change etab to xtab and xtab to xtab.active
1066 - timestamp and/or statd-stamp in rmtab for removing old entries.
1068 Mon Oct 18 11:48:07 1999 H.J. Lu <hjl@lucon.org>
1070 * linux-nfs: New directory.
1071 * linux-nfs/ChangeLog: Moved from ..
1072 * linux-nfs/INSTALL: Likewise.
1073 * linux-nfs/KNOWNBUGS: Likewise.
1074 * linux-nfs/NEW: Likewise.
1075 * linux-nfs/README: Likewise.
1076 * linux-nfs/THANKS: Likewise.
1077 * linux-nfs/TODO: Likewise.
1079 * Starting from knfsd 1.4.7.