1 2001-03-11 H.J. Lu <hjl@lucon.org>
3 * configure.in (RELEASE): New. Default to 1, set by
4 --with-release=XXX. Substitute nfs-utils.spec.
5 * nfs-utils.spec.in (Release): Set to @RELEASE@.
6 * configure: Regenerated.
7 * nfs-utils.spec: Likewise.
9 2001-03-11 H.J. Lu <hjl@lucon.org>
11 * utils/rquotad/rquotad.man: Fix a typo.
13 2001-03-11 H.J. Lu <hjl@lucon.org>
15 * support/include/rpcmisc.h: Undo the change made on 2001-03-10.
16 * support/nfs/rpcmisc.c: Likewise.
17 * utils/rquotad/rquota_svc.c: Likewise.
18 * utils/rquotad/rquotad.man: Likewise.
19 * utils/statd/Makefile: Likewise.
20 * utils/statd/rmtcall.c: Likewise.
21 * utils/statd/simulate.c: Likewise.
22 * utils/statd/statd.c: Likewise.
23 * utils/statd/statd.man: Likewise.
25 2001-03-10 H.J. Lu <hjl@lucon.org>
27 * configure.in (VERSION): Set to "0.3.2".
28 * configure: Regenerated.
29 * nfs-utils.spec: Likewise.
31 * README: Updated for 0.3.2.
33 2001-03-10 Tavis Barr <tavis@boole.isetr.columbia.edu>
35 * utils/rquotad/rquotad.man: Updated for -p.
36 * utils/statd/statd.man: Likewise.
38 2001-03-10 Ion Badulescu <ionut@cs.columbia.edu>
40 * support/nfs/rpcmisc.c: export makesock()
42 * support/include/rpcmisc.h (makesock): Declared.
44 * utils/rquotad/rquota_svc.c: added longopts, added support for
45 specifying the port to bind to on the command line.
47 * utils/statd/statd.c: ditto, also specify port used for
51 * utils/statd/rmtcall.c (statd_get_socket): Renamed from
52 get_socket. Make it extern.
54 * utils/statd/simulate.c (daemon_simulator): Call rpc_init
57 * utils/statd/Makefile (LIBS): link with our own libnfs
59 2001-03-09 H.J. Lu <hjl@lucon.org>
61 * etc/redhat/nfslock.init: Changed chkconfig line to 60 86.
62 * etc/nodist/nfs-client: Likewise.
64 2001-02-26 Chip Salzenberg <chip@valinux.com>
66 * debian/changelog: Version 0.3.1-1.
67 * Mention upstream source and license in copyright file.
68 * Add build-Depends for debhelper and libwrap0-dev.
70 2001-02-20 Lon Hohberger <hohberger@missioncriticallinux.com>
72 * etc/nodist/nfs-server: Changed chkconfig line to 60 20
73 * etc/nodist/nfs-client: Likewise.
75 2001-02-18 Lon Hohberger <hohberger@missioncriticallinux.com>
77 * utils/statd/statd.man: Changed /usr/sbin/rpc.statd to
80 2001-02-17 Patrick J. LoPresti <patl@curl.com>
82 * utils/statd/log.c (log_init): Use LOG_DAEMON instead of
85 2001-02-14 H.J. Lu <hjl@lucon.org>
87 * utils/statd/rmtcall.c: Include <time.h>.
88 * utils/statd/svc_run.c: Likewise.
90 2001-02-14 H.J. Lu <hjl@lucon.org>
92 * configure.in (VERSION): Set to "0.3.1".
93 * configure: Regenerated.
94 * nfs-utils.spec: Likewise.
96 * README: Updated for 0.3.1.
98 2001-02-14 H.J. Lu <hjl@lucon.org>
100 * support/nfs/rpcmisc.c: Include <time.h>.
102 2001-02-14 Chip Salzenberg <chip@valinux.com>
104 * debian/control: Change priority of nhfsstone package to 'extra'.
106 2001-02-12 Chip Salzenberg <chip@valinux.com>
108 * debian/changelog: Version 0.3-2.
110 2001-02-02 H.J. Lu <hjl@lucon.org>
112 * support/include/rpcmisc.h (rpc_init): Remove bufsize.
114 * support/nfs/rpcmisc.c (makesock): Remove socksz and comment
115 out SO_SNDBUF/SO_RCVBUF.
116 (rpc_init): Remove bufsize and remove socksz in calls to
119 * utils/mountd/mountd.c (main): Remove bufsize in calls to
122 2001-01-28 Chip Salzenberg <chip@valinux.com>
124 * debian/changelog: Version 0.3-1.
126 2001-01-25 H.J. Lu <hjl@lucon.org>
128 * configure.in (VERSION): Set to "0.3".
129 * configure: Regenerated.
130 * nfs-utils.spec: Likewise.
132 * README: Updated for 0.3.
134 2001-01-25 H.J. Lu <hjl@lucon.org>
136 * utils/lockd/lockd.c (main): Ignore errno == EINVAL.
138 2001-01-20 Chip Salzenberg <chip@valinux.com>
140 * support/include/xio.h (xgetc): Declare to return int.
141 * support/nfs/xio.c (xgetc): Return int.
142 (xgettok, xskip, xskipcomment): Use int for value of xgetc.
143 * utils/statd/statd.c (main): Use int for value of getopt.
144 * debian/changelog: Version 0.2.1-5.
146 2000-12-10 Chip Salzenberg <chip@valinux.com>
148 * utils/statd/monitor.c (sm_mon_1_svc): Fix buggy check for
149 program and procedure numbers of kernel lockd's callback. Also,
150 besides the old (and broken) procedure #24, allow #16 per Trond.
152 2000-12-03 Chip Salzenberg <chip@valinux.com>
154 * support/nfs/xio.c (xfopen): Initialize x_line to one, not zero.
155 * debian/control: Let nhfsstone replace files in nfs-kernel-server.
156 * debian/changelog: Version 0.2.1-4.
158 2000-11-27 Tobias Ringstrom <tori@tellus.mine.nu>
160 * utils/mountd/auth.c (auth_authenticate): Log the bad path
163 2000-11-24 Neil Brown <neilb@cse.unsw.edu.au>
165 * support/nfs/exports.c (getexportent): Check for host name
166 without option, or options without hostname, and print a warning,
167 as this is most likely a typo.
169 2000-11-19 Chip Salzenberg <chip@valinux.com>
171 * debian/control: Add dependency on portmap.
172 * debian/changelog: Version 0.2.1-3.
174 2000-11-10 H.J. Lu <hjl@lucon.org>
176 * nfs-utils.spec.in: Don't use libtool.
177 Add ChangeLog and COPYING to doc.
178 * nfs-utils.spec: Rebuild.
180 2000-11-09 H.J. Lu <hjl@lucon.org>
182 * etc/redhat/nfs.init (start): Back out the last change.
184 2000-11-09 H.J. Lu <hjl@lucon.org>
186 * etc/redhat/nfs.init (start): Pass --no-tcp to mountd if
187 TCP is not supported by kernel.
189 * support/nfs/rpcmisc.c (rpc_init): Don't set _rpcfdtype to 0.
191 * utils/mountd/mountd.c (longopts): Add "-n/--no-tcp".
192 (main): Set to _rpcfdtype to SOCK_DGRAM for "-n/--no-tcp".
194 * utils/mountd/mountd.man: Updated for "-n/--no-tcp".
196 2000-10-24 Lon Hohberger <hohberger@missioncriticallinux.com>
198 * utils/statd/callback.c: Fix bug preventing callbacks to local lockd.
199 * utils/statd/rmtcall.c: Add some IP address paranoia when doing
200 callbacks to local lockd.
202 2000-10-18 Scott McDermott <mcdermot@questra.com>
204 * utils/exportfs/exports.man: Updated for CIDR netmask.
206 2000-10-17 Scott McDermott <mcdermot@questra.com>
208 * support/export/client.c (client_init): Support CIDR netmask
211 2000-10-11 H.J. Lu <hjl@lucon.org>
213 * aclocal.m4 (AC_TCP_WRAPPER): Fix a typo.
214 * configure: Rebuilt.
216 2000-10-06 Lon Hohberger <hohberger@missioncriticallinux.com>
218 * utils/statd/statd.man: Change "/var/lib/nfs/sm/state" to
219 "/var/lib/nfs/state".
221 2000-10-05 Lon Hohberger <hohberger@missioncriticallinux.com>
223 * utils/statd/statd.h (run_mode): New global bitmask of runtime
224 behaviors: fg/bg, logging, etc.
225 * utils/statd/statd.c: New command line options: -V -h -? -d .
226 * utils/statd/statd.man: Update for changes to statd.
228 * utils/statd/log.h (log_init): Remove parameter of function; use
229 global variable "name_p" instead.
230 * utils/statd/log.c: Add support for logging to stderr.
232 * utils/statd/notlist.c: Partially rewrite notify list handling
233 functions. Eliminate run-off-end-of-list bug when calling
234 nlist_insert_timer. Add lots of comments.
236 2000-09-27 H.J. Lu <hjl@lucon.org>
238 * README: Updated for RedHat 7.0.
240 2000-09-27 H.J. Lu <hjl@lucon.org>
242 * nfs-utils.spec: Rebuild.
244 2000-09-27 H.J. Lu <hjl@lucon.org>
246 * README: Updated for 0.2.1.
248 2000-09-27 H.J. Lu <hjl@lucon.org>
250 * nfs-utils.spec.in: Updated to use rpm macros and support
253 2000-09-25 H.J. Lu <hjl@lucon.org>
255 * configure.in (VERSION): Set to "0.2.1".
256 * configure: Regenerated.
257 * nfs-utils.spec: Updated.
259 2000-09-25 H.J. Lu <hjl@lucon.org>
261 * utils/mountd/auth.c (auth_authenticate_internal): Make sure a
262 non-NULL hostent is always returned.
264 2000-09-11 Ion Badulescu <ionut@cs.columbia.edu>
266 * etc/redhat/nfslock.init: don't kill lockd processes that do not
267 have an executable (i.e. kernel threads)
269 2000-09-01 H.J. Lu <hjl@lucon.org>
271 * README: Updated for 0.2.
273 2000-09-01 Jay Weber <jweber@valinux.com>
275 * etc/redhat/nfs.init: Added ability for rpc.mountd to default to
276 supporting version 3 of nfs if available, else it will fall back to
277 version 2 support only.
279 2000-08-30 H.J. Lu <hjl@lucon.org>
281 * configure.in (VERSION): Set to "0.2".
282 * configure: Regenerated.
283 * nfs-utils.spec: Updated.
285 2000-08-25 H.J. Lu <hjl@lucon.org>
287 * support/misc/tcpwrapper.c (logit): Modify the log output.
289 2000-08-25 Ion Badulescu <ionut@cs.columbia.edu>
291 * utils/rquotad/rquotad.man, utils/statd/statd.man,
292 utils/mountd/mountd.man: updated
294 * utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL)
295 * utils/rquotad/Makefile: fix comment
297 * support/misc/tcpwrapper.c (logit): added comment about waiting
298 for the children after fork()
300 * utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving
301 zombies behind (from logit()'s fork)
302 * utils/rquotad/rquota_svc.c (main): ditto
303 * utils/statd/statd.c (main): ditto
305 * utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG
306 to check_default instead of 0, for prognum
308 * utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG
309 to check_default instead of 0, for prognum
311 * utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if
312 HAVE_TCP_WRAPPER is defined.
313 (mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is
314 defined. Reject an RPC call if check_default () fails.
316 2000-08-25 H.J. Lu <hjl@lucon.org>
318 * support/include/tcpwrapper.h: New for the tcp wrapper
320 * support/misc/Makefile: Likewise.
321 * support/misc/from_local.c: Likewise.
322 * support/misc/tcpwrapper.c: Likewise.
324 * aclocal.m4 (AC_TCP_WRAPPER): New.
325 * configure.in: Use it. Substitute LIBWRAP.
326 * configure: Rebuilt.
328 * config.mk.in (LIBNSL): New.
331 * support/Makefile (SUBDIRS): Add misc.
333 * support/lib/Makefile (LIBS): Add libmisc.a.
335 * utils/rquotad/Makefile (LIBS): Add
337 -lmisc $(LIBWRAP) $(LIBNSL)
339 * utils/statd/Makefile (LIBS): Likewise.
341 * utils/rquotad/rquota_svc.c: Include "tcpwrapper.h" if
342 HAVE_TCP_WRAPPER is defined.
343 (rquotaprog_1): Call check_default () if HAVE_TCP_WRAPPER is
344 defined. Reject an RPC call if check_default () fails.
346 * utils/statd/statd.c: Include "tcpwrapper.h" if
347 HAVE_TCP_WRAPPER is defined.
348 (sm_prog_1_wrapper): New. A wrapper for sm_prog_1. Call
349 check_default () before calling sm_prog_1 (). Define it as
350 sm_prog_1_wrapper if HAVE_TCP_WRAPPER is defined.
352 2000-08-25 Chip Salzenberg <chip@valinux.com>
354 * debian/*: Complete Debian build support.
355 * etc/debian/*: Remove.
357 2000-08-24 Neil Brown <neilb@cse.unsw.edu.au>
359 * support/export/client.c(client_check): removed the "dot+1" as a
360 ypdomain argument to innetgr as this is entirely bogus.
361 It should always be NULL.
363 2000-08-23 Neil Brown <neilb@cse.unsw.edu.au>
365 * support/export/xtab.c(xtab_read): introduce new mode for
366 reading xtab. i.e. a list of exports that might be known to the
367 kernel, or might not. These are flagged as m_exported == -1
368 * support/export/xtab.c(xtab_mount_read): call xtab_read with new
369 value "2" for xtab, meaning don't trust this too much.
370 * support/include/exportfs.h(struct mexport): changed m_exported
371 from one bit to an int so that it can hold new value
372 * utils/exportfs/exportfs.c(exportfs_ipdate): add an export to the
373 kernel if it is uncertain whether the kernel knows (m_exported == -1)
374 * utils/mountd/mountd.c(get_rootfh): similarly export to kernel if
377 * support/nfs/xio.c(xflock): added O_CREAT when getting
378 a write lock so that missing files aren't fatal.
380 * etc/debian/nfs-common: new file from "potato"
381 * etc/debian/nfs-kernel-server: new file from "potato" plus fixes.
383 2000-08-09 H.J. Lu <hjl@lucon.org>
385 * etc/redhat/nfs.init: Run /usr/sbin/exportfs first during
386 startup to ensure all existing clients work fine.
388 * support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0
389 to xtab_read () for reading _PATH_XTAB.
391 2000-08-02 H.J. Lu <hjl@lucon.org>
393 * utils/mountd/auth.c (auth_authenticate_internal): Try to
394 avoid the reverse name lookup.
396 2000-07-04 H.J. Lu <hjl@lucon.org>
398 * utils/statd/log.c: Include <stdlib.h> for exit ().
400 * utils/statd/misc.c (xunlink): Add `{' and `}' to quiet the
403 2000-07-04 H.J. Lu <hjl@lucon.org>
405 * configure.in (VERSION): Set to "0.1.9.1".
406 * configure: Regenerated.
407 * nfs-utils.spec: Updated.
411 2000-07-04 Neil Brown <neilb@cse.unsw.edu.au>
413 * support/export/hostname.c (hostent_dup): Handle the NULL
416 2000-07-03 H.J. Lu <hjl@lucon.org>
418 * README: Update the util-linux requirement.
420 2000-07-03 H.J. Lu <hjl@lucon.org>
422 * configure.in (VERSION): Set to "0.1.9".
423 * configure: Regenerated.
424 * nfs-utils.spec: Updated.
428 2000-07-03 H.J. Lu <hjl@lucon.org>
430 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
431 stop to ensure all clients can still access the server
432 before it is shutdown.
434 2000-06-30 Jeff Uphoff <juphoff@transmeta.com>
436 * tools/rpcgen/rpc_svcout.c (write_msg_out): Generate syslog()
437 calls with format string.
439 2000-06-28 Chip Salzenberg <chip@valinux.com>
441 * utils/statd/log.c (log): Call syslog with format string.
443 2000-06-27 H.J. Lu <hjl@lucon.org>
445 * utils/statd/statd.c (main): Use sysconf (_SC_OPEN_MAX)
448 2000-06-27 H.J. Lu <hjl@lucon.org>
452 2000-06-27 H.J. Lu <hjl@lucon.org>
454 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
455 startup to ensure all existing clients are exported.
457 * configure.in (VERSION): Set to "0.1.8.2".
458 * configure: Regenerated.
459 * nfs-utils.spec: Updated.
461 2000-06-06 H.J. Lu <hjl@lucon.org>
463 * configure.in (VERSION): Set to "0.1.8.1".
464 * configure: Regenerated.
465 * nfs-utils.spec: Updated.
467 2000-06-06 H.J. Lu <hjl@lucon.org>
469 * utils/mountd/mountd.c (mount_dump_1_svc): Cast svc_getcaller
470 to "struct sockaddr_in *" for glibc 2.2.
471 (mount_umnt_1_svc): Likewise.
472 (mount_umntall_1_svc): Likewise.
473 (mount_export_1_svc): Likewise.
474 (mount_exportall_1_svc): Likewise.
475 (mount_pathconf_2_svc): Likewise.
476 (get_rootfh): Likewise.
478 2000-06-04 H.J. Lu <hjl@lucon.org>
480 * etc/redhat/nfs.init: Fix a typo in comment.
482 2000-05-31 H.J. Lu <hjl@lucon.org>
484 * configure.in (VERSION): Set to "0.1.8".
485 * configure: Regenerated.
486 * nfs-utils.spec: Updated.
490 2000-05-31 H.J. Lu <hjl@lucon.org>
492 * configure.in (VERSION): Set to "0.1.7.5".
493 * configure: Regenerated.
494 * nfs-utils.spec: Updated.
496 * support/include/nfslib.h (exportent): Add a new field,
497 r_count, to count the number of mounts from a client.
498 (getrmtabent): Take a new argument for position in file.
499 (putrmtabent): Likewise.
500 (fgetrmtabent): Likewise.
501 (fputrmtabent): Likewise.
502 * support/nfs/rmtab.c (getrmtabent): Handle the new argument
503 for position in file.
504 (fgetrmtabent): Likewise.
505 (putrmtabent): Likewise.
506 (fputrmtabent): Likewise.
508 * support/nfs/rmtab.c (fgetrmtabent): Get value for the new
511 * support/export/rmtab.c (rmtab_read): Pass NULL as the new
512 argument to getrmtabent (), fgetrmtabent (), putrmtabent ()
514 * utils/mountd/rmtab.c (mountlist_add): Likewise.
515 (mountlist_del): Likewise.
516 (mountlist_del_all): Likewise.
517 (mountlist_list): Likewise.
519 * utils/mountd/rmtab.c (mountlist_add): Increment "r_count"
520 for the existing entry and initialize "r_count" to 1.
521 (mountlist_del): Decrement "r_count".
523 2000-05-18 H.J. Lu <hjl@lucon.org>
525 * configure.in (VERSION): Set to "0.1.7.4".
526 * configure: Regenerated.
527 * nfs-utils.spec: Updated.
529 2000-05-18 H.J. Lu <hjl@lucon.org>
531 * etc/redhat/nfs.init (restart): Just do stop and start.
533 2000-05-09 Jay Weber <jweber@valinux.com>
535 * utils/rquotad/hasquota.c: added support for ext3 recognition
537 * utils/rquotad/mntent.h: Likewise.
539 2000-05-01 H.J. Lu <hjl@lucon.org>
541 * configure.in (VERSION): Set to "0.1.7.3".
542 * configure: Regenerated.
543 * nfs-utils.spec: Updated.
545 2000-05-01 H.J. Lu <hjl@lucon.org>
547 * utils/rquotad/rquota_server.c (getquotainfo): Skip bad
548 mounting poins in /etc/fstab.
550 2000-05-01 H.J. Lu <hjl@lucon.org>
552 * configure.in (VERSION): Set to "0.1.7.2".
553 * configure: Regenerated.
554 * nfs-utils.spec: Updated.
556 2000-05-01 H.J. Lu <hjl@lucon.org>
558 * utils/rquotad/rquota_server.c (getquotainfo): Call stat ()
559 to check for the mounting point.
561 2000-04-29 Chip Salzenberg <chip@valinux.com>
562 Neil Brown <neilb@cse.unsw.edu.au>
564 * Really re-use RPC ports.
565 (Fixes earlier patch. Sorry, Neil.)
567 2000-04-26 H.J. Lu <hjl@lucon.org>
569 * configure.in (VERSION): Set to "0.1.7.1".
570 * configure: Regenerated.
571 * nfs-utils.spec: Updated.
573 2000-04-26 H.J. Lu <hjl@lucon.org>
575 * etc/redhat/nfslock.init: Check if lockd exits before killing
578 2000-04-25 H.J. Lu <hjl@lucon.org>
580 * README: Require util-linux-2.10f-mount-rpc.patch for mount.
582 2000-03-21 Michael Weiser <michael@weiser.saale-net.de>
584 * support/nfs/exports.c (parsesquash): Correctly set the
587 Tue Mar 21 11:38:48 EST 2000 NeilBrown <neilb@cse.unsw.edu.au>
589 * support/include/nfs/nfs.h: Removed knowledge of internals of
590 kernel filehandles (which can change) and defined nfs_fh_size
591 which has variable size
593 * support/nfs/getfh.c: defined getfh_size to use new syscall to
594 get variable sized file handles, and change getfh{,old} to
597 * utils/mountd/mountd.c: use nfd_fh_size and call getfh_size for
600 * tools/Makefile, tools/nlmtest/nlmtest.c
601 nlmtest.c depended on internel format of file handles, so now
605 2000-03-12 Chip Salzenberg <chip@valinux.com>
606 Neil Brown <neilb@cse.unsw.edu.au>
608 * support/nfs/rpcmisc.c (rpc_init): Share transports.
610 2000-03-13 H.J. Lu <hjl@lucon.org>
612 * etc/redhat/nfsd.init: Updated.
614 * etc/redhat/nfslock.init: Updated.
616 * nfs-utils.spec.in: Updated.
618 * configure.in (VERSION): Set to "0.1.7".
619 * configure: Regenerated.
620 * nfs-utils.spec: Updated.
624 Wed Mar 8 09:42:43 2000 Neil Brown <neilb@cse.unsw.edu.au>
626 * utils/exportfs/exportfs.c (dump): Included printing of
627 nohide, no_subtree_check, and insecure_locks
629 2000-02-26 Chip Salzenberg <chip@valinux.com>
631 * config.mk.in (INSTALLSUID): Strip ("-s").
632 (INSTALLSCRIPT): Define.
633 * utils/nhfsstone/Makefile: Use it.
635 2000-02-26 Chip Salzenberg <chip@valinux.com>
637 * utils/lockd/lockd.man: Create.
638 * utils/lockd/Makefile: Install it.
639 * utils/nhfsstone/nhfs{run,nums,graph}.man: Create.
640 * utils/nhfsstone/nhfsstone.man: Change suffix from ".1".
641 * utils/nhfsstone/Makefile: Install the helper scripts and
643 * utils/exportfs/exports.man: Fix typo.
645 2000-02-26 Chip Salzenberg <chip@valinux.com>
647 * support/nfs/xio.c (xungetc): Decrement line number when
648 character to unget is newline. Make first parameter int, so
649 it can distinguish EOF from \377.
650 * support/include/xio.h (xungetc): Adjust prototype.
652 Fri Feb 4 23:42:23 2000 Neil Brown <neilb@cse.unsw.edu.au>
654 * support/include/nfs/export.h: added NFSEXP_NOAUTHNLM
655 * support/nfs/exports.c: added handling for NFSEXP_NOAUTHNLM
656 * utils/exportfs/exports.man: added documentation for no_auth_nlm.
658 This is for supporting a new option introduced in 2.3.42
660 Thu Feb 3 14:55:48 2000 H.J. Lu <hjl@lucon.org>
662 * COPYING: Added. GPL.
664 Thu Feb 03 14:40:40 2000 Cristian Gafton <gafton@redhat.com>
666 * utils/rquotad/rquota_server.c (getquotainfo): Call statfs ()
667 to get the block size.
669 Tue Jan 25 11:04:17 2000 H.J. Lu <hjl@lucon.org>
671 * nfs-utils.spec.in: Update ftp site.
673 Mon Jan 17 11:48:18 2000 H.J. Lu <hjl@lucon.org>
675 * README: Update hostnames.
677 Tue Jan 11 10:06:22 2000 H.J. Lu <hjl@lucon.org>
679 * configure.in (VERSION): Set to "0.1.6".
680 * configure: Regenerated.
681 * nfs-utils.spec: Updated.
685 Mon Jan 10 14:26:33 2000 H.J. Lu <hjl@lucon.org>
687 * utils/mountd/auth.c (auth_authenticate_internal): Call
688 xstrdup for hostname before passing it to gethostbyname.
690 * utils/mountd/mountd.c (get_exportlist): Use xstrdup instead
693 Sun Dec 19 09:35:01 1999 H.J. Lu <hjl@lucon.org>
695 * README: Update the mailing list address.
697 Sun Dec 19 09:22:28 1999 H.J. Lu <hjl@lucon.org>
699 * configure.in (VERSION): Set to "0.1.5".
700 * configure: Regenerated.
701 * nfs-utils.spec: Updated.
705 Mon Dec 13 13:40:20 1999 H.J. Lu <hjl@lucon.org>
707 * utils/rquotad/hasquota.c (hasquota): Malloc one more char
710 Mon Dec 6 09:42:45 1999 H.J. Lu <hjl@lucon.org>
712 * configure.in (VERSION): Set to "0.1.4".
713 * configure: Regenerated.
714 * nfs-utils.spec: Updated.
718 Mon Dec 6 09:28:07 1999 H.J. Lu <hjl@lucon.org>
720 * nfs-utils.spec.in: New file.
722 * config.mk.in (VERSION): Changed to "nfs-utils @VERSION@".
724 * configure.in (nfs-utils.spec): Added to AC_OUTPUT.
726 1999-12-04 Chip Salzenberg <chip@valinux.com>
728 * config.mk.in: Use $(CC) as set by configure.
730 1999-12-04 Chip Salzenberg <chip@valinux.com>
732 * rules.mk: Call $(MAKE) with $(MFLAGS).
734 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
736 * tools/rpcgen/rpc_main.c (h_output): Generate IXDR_GET_INT32,
737 IXDR_PUT_INT32, IXDR_GET_U_INT32 and IXDR_PUT_U_INT32.
739 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
741 * nfs-utils.spec (Version): Set to 0.1.3.
743 * configure.in (VERSION): Set to "nfs-utils 0.1.3".
744 * configure: Regenerated.
748 Mon Nov 29 11:15:47 1999 H.J. Lu <hjl@lucon.org>
750 * utils/rquotad/rquota_server.c (nfsmount_to_devname): Removed.
751 (_PATH_DEV_DSK): Likewise.
752 (getquotainfo): Match the mounting point from /etc/mtab
753 instead of calling nfsmount_to_devname ().
755 1999-11-24 Chip Salzenberg <chip@valinux.com>
757 * utils/statd/monitor.c (sm_mon_1_svc): Accept lockd callbacks
758 to the new port 24 as well as the historical port 100021.
760 Tue Nov 23 10:21:34 1999 Neil Brown <neilb@cse.unsw.edu.au>
762 * etc/redhat/nfsd.init (stop): moved exportfs -ua after
763 stopping nfsd to stop spurious ESTALE on server shutdown.
765 Tue Nov 23 10:13:39 1999 Neil Brown <neilb@cse.unsw.edu.au>
767 * support/nfs/exports.c (parseopts): make copy of opt string
768 before 'nul'ing out commas so that
770 # exportfs -o option1,option2 hosta:/fs hostb:/fs
772 applies both options to both exports.
774 Thu Oct 28 12:55:42 1999 H.J. Lu <hjl@lucon.org>
776 * README: Fix a few typos.
778 * tools/rpcgen/rpc_cout.c (print_header): Use int32_t instead
780 * tools/rpcgen/rpc_hout.c (pdefine): Likewise.
781 * tools/rpcgen/rpc_main.c (c_initialize): Likewise.
782 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
783 (unsigned_dec): Likewise.
784 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
785 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
787 * tools/rpcgen/rpc_cout.c (emit_single_in_line): Use INT32
789 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
790 (unsigned_dec): Likewise.
791 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
792 * tools/rpcgen/rpc_scan.h (tok_kind): Likewise.
793 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
795 Thu Oct 28 11:27:51 1999 Neil Brown <neilb@cse.unsw.edu.au>
797 * support/include/nfs/export.h addedd NFSEXP_NOSUBTREECHECK
798 * support/nfs/exports.c: added {no_,}subtree_check and changed
800 * utils/exportfs/exports.man: added no_subtree_check and nohide
801 and removed irrelevant stuff from unfsd.
802 * support/export/rmtab.c: rmtab_read didn't quite do the right
803 thing if a pathname from rmtab was a subdirectory of an export-point
805 Tue Oct 26 17:22:40 1999 H.J. Lu <hjl@lucon.org>
807 * README: Updated ftp site.
809 Mon Oct 25 18:12:45 1999 H.J. Lu <hjl@lucon.org>
811 * nfs-utils.spec (Version): Set to 0.1.2.
813 * configure.in (VERSION): Set to "nfs-utils 0.1.2".
814 * configure: Regenerated.
818 Mon Oct 25 18:11:21 1999 H.J. Lu <hjl@lucon.org>
820 * utils/mountd/auth.c (auth_error): Add "no_forward_dns".
821 (auth_authenticate_internal): Check for NULL return on forward
823 (auth_authenticate): Handle "no_forward_dns".
825 Thu Oct 21 16:22:06 1999 H.J. Lu <hjl@lucon.org>
827 * Version 0.1.1 released.
829 * nfs-utils.spec (Version): Set to 0.1.1.
831 * configure.in (VERSION): Set to "nfs-utils 0.1.1".
832 * configure: Regenerated.
836 Mon Oct 18 17:43:29 1999 H.J. Lu <hjl@lucon.org>
838 * nfs-utils.spec (Obsoletes): Fixed a typo, change knfsd-client
840 (Provides): Likewise.
842 Mon Oct 18 14:56:22 1999 H.J. Lu <hjl@lucon.org>
844 * Initial version 0.1 released.
846 * configure.in (VERSION): Set to "nfs-utils 0.1".
847 * configure: Regenerated.
849 Mon Oct 18 14:54:57 1999 H.J. Lu <hjl@lucon.org>
851 * utils/mountd/mountd.c (get_exportlist): Cleanup.
853 * utils/exportfs/exportfs.c (unexport_all): Unexport from
854 kernel only if the entry is exported to kernel.
855 (unexportfs): Likewise.
857 Wed Sep 08 16:49:32 1999 Neil Brown <neilb@cse.unsw.edu.au>
859 1/ utils/mountd/rmtab.c::mountlist_list
861 This routine stats the rmtab file to see if it has changed. It
862 if has, it cleans up it's old copy of the data. But it still
863 always re-read the file, thus returning multiple copies of the
864 data on consecutive calls without intervening changes.
865 "Showmount -a" didn't show this as it appears to sort/unique the
866 data, but 'strace showmount -a' showed that the size of the
867 datagram that it received grew.
869 I moved the getrmtabent loop inside the mtime test.
871 2/ utils/exportfs/exportfs.c
873 Many routines used the m_path field of m_export instead of
875 According to the comment in nfslib.h, m_path should only
876 be used when processing a mount request (i.e. in mountd)
877 where the mountpoint may be a subdirectory of the export point.
879 I changed all occurances of m_path to e_path
882 3/ utils/exportfs/exportfs.c:main
884 extra arguments are not meaningful with -a or -r, but
885 exportfs accepted them and then ignored the -a/-r, expect that
886 -r would still unexport everything first.
888 I generate an error if there are extra args and f_all
890 4/ utils/exportfs/exportfs.c:main
891 extract dump out as a special case.
893 5/ utils/exportfs/exportfs.c
894 made f_reexport a local variable.
897 6/ utils/exportfs/exportfs.c:main,exportall
899 support/export/rmtab.c
900 only mayexport on newly created entries, don't set xtabent at all
902 7/ support/include/nfslib.h
904 add #define _PATH_PROC_EXPORTS to be /proc/fs/nds/exports
906 8/ support/export/xtab.c
908 xtab_mount_read loads data from _PATH_PROC_EXPORTS if it exists,
912 9/ support/export/xtab.c
914 xtab_mount_read now sets m_exported, and NOT
915 xtabent and mayexport
917 removed the append arguement from xtab_write as it was
920 added is_export flag to xtab_write similar to xtab_read
921 if is_export, only write entries with m_xtabent or m_addxtab
922 if !is_export, only write entries with m_exported
924 10/ support/export/export.c::export_allowed_internal
926 added test for exp->m_mayexport, as the export tree
927 may have entries that are no longer allowed to be exported,
928 and so shouldn't caused deduced exported by rmtab_read
930 11/ utils/exportfs/exportfs.c::main
931 error checking of flags.
933 12/ utils/exportfs/exportfs.c
935 total rewrite of export and unexport logic.
937 - build an exportslist of valid exports, based on
938 current etab file and arguments,
939 - read rmtab to instantiate relevant wild card entries
940 - read etab to find out what is currently exported
941 - synchronise intention with reality
942 - write out etab and xtab
945 discard the m_addxtab flag
946 add m_changed flag so we know what to report in exportfs
948 14/ utils/mountd/auth.c:auth_authenticate
950 the value returned by gethostbyaddr was trusted.
952 It now follows this with a call to gethostbyname
953 and checks that the address is in the list.
955 15/ support/export/nfsctl.c::cltsetup,expsetup
957 force client names to lowercase as kernel is
960 16/ quietened a few compiler warnings
962 17/ support/export/client:client_lookup
964 look for pre-existing client with same name before creating
967 18/ support/include/exportfs.h
969 The ordering of the MCL_* enum was:
970 ANONYMOUS, FQDN, SUBNETWORK, WILDCARD, NETGROUP
972 I moved ANONYMOUS to the end.
974 The ordering is significant when an export entry is being searched for to
975 match a given address. There are two problems with ANONYMOUS being first.
977 1/ if a directory is exported rw to a couple of hosts and ro to everyone else,
978 then the ro case will always be found first and the privileged hosts won't get
980 2/ When mountd gets a request to mount an ANONYMOUSly exported tree, it creates a FQDN
981 export entry for the specific host, and writes it to xtab.
982 When another request comes from the same host, the ANONYMOUS entry is found again,
983 before the new FQDN entry, so it creates another FQDN entry and writes it to xtab
984 again. If causes bloat in xtab.
986 Putting ANONYMOUS at the end reflects it's nature as a catch-all
988 19/ utils/exportfs/exportfs.man
989 many updates to the man page to reflect changes to the code
991 -----------------------
997 - allow exportfs to modify rmtab file
998 - make sure kernel never gets two clients with same IP address
999 - possible kernel should reject
1000 - needs to be some way to lookup client in kernel by IP address
1001 - maybe get kernel to do case-insensitive comparisons on client names
1002 - remove unused clients from kernel
1004 - change etab to xtab and xtab to xtab.active
1006 - timestamp and/or statd-stamp in rmtab for removing old entries.
1008 Mon Oct 18 11:48:07 1999 H.J. Lu <hjl@lucon.org>
1010 * linux-nfs: New directory.
1011 * linux-nfs/ChangeLog: Moved from ..
1012 * linux-nfs/INSTALL: Likewise.
1013 * linux-nfs/KNOWNBUGS: Likewise.
1014 * linux-nfs/NEW: Likewise.
1015 * linux-nfs/README: Likewise.
1016 * linux-nfs/THANKS: Likewise.
1017 * linux-nfs/TODO: Likewise.
1019 * Starting from knfsd 1.4.7.