1 2001-03-21 H.J. Lu <hjl@lucon.org>
3 * nfs-utils.spec: Regenerated.
6 2001-03-21 Ion Badulescu <ionut@cs.columbia.edu>
8 * utils/statd/statd.c (main): make sure file descriptors 0-2
11 2001-03-21 H.J. Lu <hjl@lucon.org>
13 * support/nfs/rpcmisc.c: Restore the change made on 2001-03-10.
14 * support/nfs/rpcmisc.c: Likewise.
15 * utils/rquotad/rquota_svc.c: Likewise.
16 * utils/rquotad/rquotad.man: Likewise.
17 * utils/statd/Makefile: Likewise.
18 * utils/statd/rmtcall.c: Likewise.
19 * utils/statd/simulate.c: Likewise.
20 * utils/statd/statd.c: Likewise.
21 * utils/statd/statd.man: Likewise.
23 2001-03-11 H.J. Lu <hjl@lucon.org>
25 * configure.in (RELEASE): New. Default to 1, set by
26 --with-release=XXX. Substitute nfs-utils.spec.
27 * nfs-utils.spec.in (Release): Set to @RELEASE@.
28 * configure: Regenerated.
29 * nfs-utils.spec: Likewise.
31 2001-03-11 H.J. Lu <hjl@lucon.org>
33 * utils/rquotad/rquotad.man: Fix a typo.
35 2001-03-11 H.J. Lu <hjl@lucon.org>
37 * support/include/rpcmisc.h: Undo the change made on 2001-03-10.
38 * support/nfs/rpcmisc.c: Likewise.
39 * utils/rquotad/rquota_svc.c: Likewise.
40 * utils/rquotad/rquotad.man: Likewise.
41 * utils/statd/Makefile: Likewise.
42 * utils/statd/rmtcall.c: Likewise.
43 * utils/statd/simulate.c: Likewise.
44 * utils/statd/statd.c: Likewise.
45 * utils/statd/statd.man: Likewise.
47 2001-03-10 H.J. Lu <hjl@lucon.org>
49 * configure.in (VERSION): Set to "0.3.2".
50 * configure: Regenerated.
51 * nfs-utils.spec: Likewise.
53 * README: Updated for 0.3.2.
55 2001-03-10 Tavis Barr <tavis@boole.isetr.columbia.edu>
57 * utils/rquotad/rquotad.man: Updated for -p.
58 * utils/statd/statd.man: Likewise.
60 2001-03-10 Ion Badulescu <ionut@cs.columbia.edu>
62 * support/nfs/rpcmisc.c: export makesock()
64 * support/include/rpcmisc.h (makesock): Declared.
66 * utils/rquotad/rquota_svc.c: added longopts, added support for
67 specifying the port to bind to on the command line.
69 * utils/statd/statd.c: ditto, also specify port used for
73 * utils/statd/rmtcall.c (statd_get_socket): Renamed from
74 get_socket. Make it extern.
76 * utils/statd/simulate.c (daemon_simulator): Call rpc_init
79 * utils/statd/Makefile (LIBS): link with our own libnfs
81 2001-03-09 H.J. Lu <hjl@lucon.org>
83 * etc/redhat/nfslock.init: Changed chkconfig line to 60 86.
84 * etc/nodist/nfs-client: Likewise.
86 2001-02-26 Chip Salzenberg <chip@valinux.com>
88 * debian/changelog: Version 0.3.1-1.
89 * Mention upstream source and license in copyright file.
90 * Add build-Depends for debhelper and libwrap0-dev.
92 2001-02-20 Lon Hohberger <hohberger@missioncriticallinux.com>
94 * etc/nodist/nfs-server: Changed chkconfig line to 60 20
95 * etc/nodist/nfs-client: Likewise.
97 2001-02-18 Lon Hohberger <hohberger@missioncriticallinux.com>
99 * utils/statd/statd.man: Changed /usr/sbin/rpc.statd to
102 2001-02-17 Patrick J. LoPresti <patl@curl.com>
104 * utils/statd/log.c (log_init): Use LOG_DAEMON instead of
107 2001-02-14 H.J. Lu <hjl@lucon.org>
109 * utils/statd/rmtcall.c: Include <time.h>.
110 * utils/statd/svc_run.c: Likewise.
112 2001-02-14 H.J. Lu <hjl@lucon.org>
114 * configure.in (VERSION): Set to "0.3.1".
115 * configure: Regenerated.
116 * nfs-utils.spec: Likewise.
118 * README: Updated for 0.3.1.
120 2001-02-14 H.J. Lu <hjl@lucon.org>
122 * support/nfs/rpcmisc.c: Include <time.h>.
124 2001-02-14 Chip Salzenberg <chip@valinux.com>
126 * debian/control: Change priority of nhfsstone package to 'extra'.
128 2001-02-12 Chip Salzenberg <chip@valinux.com>
130 * debian/changelog: Version 0.3-2.
132 2001-02-02 H.J. Lu <hjl@lucon.org>
134 * support/include/rpcmisc.h (rpc_init): Remove bufsize.
136 * support/nfs/rpcmisc.c (makesock): Remove socksz and comment
137 out SO_SNDBUF/SO_RCVBUF.
138 (rpc_init): Remove bufsize and remove socksz in calls to
141 * utils/mountd/mountd.c (main): Remove bufsize in calls to
144 2001-01-28 Chip Salzenberg <chip@valinux.com>
146 * debian/changelog: Version 0.3-1.
148 2001-01-25 H.J. Lu <hjl@lucon.org>
150 * configure.in (VERSION): Set to "0.3".
151 * configure: Regenerated.
152 * nfs-utils.spec: Likewise.
154 * README: Updated for 0.3.
156 2001-01-25 H.J. Lu <hjl@lucon.org>
158 * utils/lockd/lockd.c (main): Ignore errno == EINVAL.
160 2001-01-20 Chip Salzenberg <chip@valinux.com>
162 * support/include/xio.h (xgetc): Declare to return int.
163 * support/nfs/xio.c (xgetc): Return int.
164 (xgettok, xskip, xskipcomment): Use int for value of xgetc.
165 * utils/statd/statd.c (main): Use int for value of getopt.
166 * debian/changelog: Version 0.2.1-5.
168 2000-12-10 Chip Salzenberg <chip@valinux.com>
170 * utils/statd/monitor.c (sm_mon_1_svc): Fix buggy check for
171 program and procedure numbers of kernel lockd's callback. Also,
172 besides the old (and broken) procedure #24, allow #16 per Trond.
174 2000-12-03 Chip Salzenberg <chip@valinux.com>
176 * support/nfs/xio.c (xfopen): Initialize x_line to one, not zero.
177 * debian/control: Let nhfsstone replace files in nfs-kernel-server.
178 * debian/changelog: Version 0.2.1-4.
180 2000-11-27 Tobias Ringstrom <tori@tellus.mine.nu>
182 * utils/mountd/auth.c (auth_authenticate): Log the bad path
185 2000-11-24 Neil Brown <neilb@cse.unsw.edu.au>
187 * support/nfs/exports.c (getexportent): Check for host name
188 without option, or options without hostname, and print a warning,
189 as this is most likely a typo.
191 2000-11-19 Chip Salzenberg <chip@valinux.com>
193 * debian/control: Add dependency on portmap.
194 * debian/changelog: Version 0.2.1-3.
196 2000-11-10 H.J. Lu <hjl@lucon.org>
198 * nfs-utils.spec.in: Don't use libtool.
199 Add ChangeLog and COPYING to doc.
200 * nfs-utils.spec: Rebuild.
202 2000-11-09 H.J. Lu <hjl@lucon.org>
204 * etc/redhat/nfs.init (start): Back out the last change.
206 2000-11-09 H.J. Lu <hjl@lucon.org>
208 * etc/redhat/nfs.init (start): Pass --no-tcp to mountd if
209 TCP is not supported by kernel.
211 * support/nfs/rpcmisc.c (rpc_init): Don't set _rpcfdtype to 0.
213 * utils/mountd/mountd.c (longopts): Add "-n/--no-tcp".
214 (main): Set to _rpcfdtype to SOCK_DGRAM for "-n/--no-tcp".
216 * utils/mountd/mountd.man: Updated for "-n/--no-tcp".
218 2000-10-24 Lon Hohberger <hohberger@missioncriticallinux.com>
220 * utils/statd/callback.c: Fix bug preventing callbacks to local lockd.
221 * utils/statd/rmtcall.c: Add some IP address paranoia when doing
222 callbacks to local lockd.
224 2000-10-18 Scott McDermott <mcdermot@questra.com>
226 * utils/exportfs/exports.man: Updated for CIDR netmask.
228 2000-10-17 Scott McDermott <mcdermot@questra.com>
230 * support/export/client.c (client_init): Support CIDR netmask
233 2000-10-11 H.J. Lu <hjl@lucon.org>
235 * aclocal.m4 (AC_TCP_WRAPPER): Fix a typo.
236 * configure: Rebuilt.
238 2000-10-06 Lon Hohberger <hohberger@missioncriticallinux.com>
240 * utils/statd/statd.man: Change "/var/lib/nfs/sm/state" to
241 "/var/lib/nfs/state".
243 2000-10-05 Lon Hohberger <hohberger@missioncriticallinux.com>
245 * utils/statd/statd.h (run_mode): New global bitmask of runtime
246 behaviors: fg/bg, logging, etc.
247 * utils/statd/statd.c: New command line options: -V -h -? -d .
248 * utils/statd/statd.man: Update for changes to statd.
250 * utils/statd/log.h (log_init): Remove parameter of function; use
251 global variable "name_p" instead.
252 * utils/statd/log.c: Add support for logging to stderr.
254 * utils/statd/notlist.c: Partially rewrite notify list handling
255 functions. Eliminate run-off-end-of-list bug when calling
256 nlist_insert_timer. Add lots of comments.
258 2000-09-27 H.J. Lu <hjl@lucon.org>
260 * README: Updated for RedHat 7.0.
262 2000-09-27 H.J. Lu <hjl@lucon.org>
264 * nfs-utils.spec: Rebuild.
266 2000-09-27 H.J. Lu <hjl@lucon.org>
268 * README: Updated for 0.2.1.
270 2000-09-27 H.J. Lu <hjl@lucon.org>
272 * nfs-utils.spec.in: Updated to use rpm macros and support
275 2000-09-25 H.J. Lu <hjl@lucon.org>
277 * configure.in (VERSION): Set to "0.2.1".
278 * configure: Regenerated.
279 * nfs-utils.spec: Updated.
281 2000-09-25 H.J. Lu <hjl@lucon.org>
283 * utils/mountd/auth.c (auth_authenticate_internal): Make sure a
284 non-NULL hostent is always returned.
286 2000-09-11 Ion Badulescu <ionut@cs.columbia.edu>
288 * etc/redhat/nfslock.init: don't kill lockd processes that do not
289 have an executable (i.e. kernel threads)
291 2000-09-01 H.J. Lu <hjl@lucon.org>
293 * README: Updated for 0.2.
295 2000-09-01 Jay Weber <jweber@valinux.com>
297 * etc/redhat/nfs.init: Added ability for rpc.mountd to default to
298 supporting version 3 of nfs if available, else it will fall back to
299 version 2 support only.
301 2000-08-30 H.J. Lu <hjl@lucon.org>
303 * configure.in (VERSION): Set to "0.2".
304 * configure: Regenerated.
305 * nfs-utils.spec: Updated.
307 2000-08-25 H.J. Lu <hjl@lucon.org>
309 * support/misc/tcpwrapper.c (logit): Modify the log output.
311 2000-08-25 Ion Badulescu <ionut@cs.columbia.edu>
313 * utils/rquotad/rquotad.man, utils/statd/statd.man,
314 utils/mountd/mountd.man: updated
316 * utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL)
317 * utils/rquotad/Makefile: fix comment
319 * support/misc/tcpwrapper.c (logit): added comment about waiting
320 for the children after fork()
322 * utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving
323 zombies behind (from logit()'s fork)
324 * utils/rquotad/rquota_svc.c (main): ditto
325 * utils/statd/statd.c (main): ditto
327 * utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG
328 to check_default instead of 0, for prognum
330 * utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG
331 to check_default instead of 0, for prognum
333 * utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if
334 HAVE_TCP_WRAPPER is defined.
335 (mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is
336 defined. Reject an RPC call if check_default () fails.
338 2000-08-25 H.J. Lu <hjl@lucon.org>
340 * support/include/tcpwrapper.h: New for the tcp wrapper
342 * support/misc/Makefile: Likewise.
343 * support/misc/from_local.c: Likewise.
344 * support/misc/tcpwrapper.c: Likewise.
346 * aclocal.m4 (AC_TCP_WRAPPER): New.
347 * configure.in: Use it. Substitute LIBWRAP.
348 * configure: Rebuilt.
350 * config.mk.in (LIBNSL): New.
353 * support/Makefile (SUBDIRS): Add misc.
355 * support/lib/Makefile (LIBS): Add libmisc.a.
357 * utils/rquotad/Makefile (LIBS): Add
359 -lmisc $(LIBWRAP) $(LIBNSL)
361 * utils/statd/Makefile (LIBS): Likewise.
363 * utils/rquotad/rquota_svc.c: Include "tcpwrapper.h" if
364 HAVE_TCP_WRAPPER is defined.
365 (rquotaprog_1): Call check_default () if HAVE_TCP_WRAPPER is
366 defined. Reject an RPC call if check_default () fails.
368 * utils/statd/statd.c: Include "tcpwrapper.h" if
369 HAVE_TCP_WRAPPER is defined.
370 (sm_prog_1_wrapper): New. A wrapper for sm_prog_1. Call
371 check_default () before calling sm_prog_1 (). Define it as
372 sm_prog_1_wrapper if HAVE_TCP_WRAPPER is defined.
374 2000-08-25 Chip Salzenberg <chip@valinux.com>
376 * debian/*: Complete Debian build support.
377 * etc/debian/*: Remove.
379 2000-08-24 Neil Brown <neilb@cse.unsw.edu.au>
381 * support/export/client.c(client_check): removed the "dot+1" as a
382 ypdomain argument to innetgr as this is entirely bogus.
383 It should always be NULL.
385 2000-08-23 Neil Brown <neilb@cse.unsw.edu.au>
387 * support/export/xtab.c(xtab_read): introduce new mode for
388 reading xtab. i.e. a list of exports that might be known to the
389 kernel, or might not. These are flagged as m_exported == -1
390 * support/export/xtab.c(xtab_mount_read): call xtab_read with new
391 value "2" for xtab, meaning don't trust this too much.
392 * support/include/exportfs.h(struct mexport): changed m_exported
393 from one bit to an int so that it can hold new value
394 * utils/exportfs/exportfs.c(exportfs_ipdate): add an export to the
395 kernel if it is uncertain whether the kernel knows (m_exported == -1)
396 * utils/mountd/mountd.c(get_rootfh): similarly export to kernel if
399 * support/nfs/xio.c(xflock): added O_CREAT when getting
400 a write lock so that missing files aren't fatal.
402 * etc/debian/nfs-common: new file from "potato"
403 * etc/debian/nfs-kernel-server: new file from "potato" plus fixes.
405 2000-08-09 H.J. Lu <hjl@lucon.org>
407 * etc/redhat/nfs.init: Run /usr/sbin/exportfs first during
408 startup to ensure all existing clients work fine.
410 * support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0
411 to xtab_read () for reading _PATH_XTAB.
413 2000-08-02 H.J. Lu <hjl@lucon.org>
415 * utils/mountd/auth.c (auth_authenticate_internal): Try to
416 avoid the reverse name lookup.
418 2000-07-04 H.J. Lu <hjl@lucon.org>
420 * utils/statd/log.c: Include <stdlib.h> for exit ().
422 * utils/statd/misc.c (xunlink): Add `{' and `}' to quiet the
425 2000-07-04 H.J. Lu <hjl@lucon.org>
427 * configure.in (VERSION): Set to "0.1.9.1".
428 * configure: Regenerated.
429 * nfs-utils.spec: Updated.
433 2000-07-04 Neil Brown <neilb@cse.unsw.edu.au>
435 * support/export/hostname.c (hostent_dup): Handle the NULL
438 2000-07-03 H.J. Lu <hjl@lucon.org>
440 * README: Update the util-linux requirement.
442 2000-07-03 H.J. Lu <hjl@lucon.org>
444 * configure.in (VERSION): Set to "0.1.9".
445 * configure: Regenerated.
446 * nfs-utils.spec: Updated.
450 2000-07-03 H.J. Lu <hjl@lucon.org>
452 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
453 stop to ensure all clients can still access the server
454 before it is shutdown.
456 2000-06-30 Jeff Uphoff <juphoff@transmeta.com>
458 * tools/rpcgen/rpc_svcout.c (write_msg_out): Generate syslog()
459 calls with format string.
461 2000-06-28 Chip Salzenberg <chip@valinux.com>
463 * utils/statd/log.c (log): Call syslog with format string.
465 2000-06-27 H.J. Lu <hjl@lucon.org>
467 * utils/statd/statd.c (main): Use sysconf (_SC_OPEN_MAX)
470 2000-06-27 H.J. Lu <hjl@lucon.org>
474 2000-06-27 H.J. Lu <hjl@lucon.org>
476 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
477 startup to ensure all existing clients are exported.
479 * configure.in (VERSION): Set to "0.1.8.2".
480 * configure: Regenerated.
481 * nfs-utils.spec: Updated.
483 2000-06-06 H.J. Lu <hjl@lucon.org>
485 * configure.in (VERSION): Set to "0.1.8.1".
486 * configure: Regenerated.
487 * nfs-utils.spec: Updated.
489 2000-06-06 H.J. Lu <hjl@lucon.org>
491 * utils/mountd/mountd.c (mount_dump_1_svc): Cast svc_getcaller
492 to "struct sockaddr_in *" for glibc 2.2.
493 (mount_umnt_1_svc): Likewise.
494 (mount_umntall_1_svc): Likewise.
495 (mount_export_1_svc): Likewise.
496 (mount_exportall_1_svc): Likewise.
497 (mount_pathconf_2_svc): Likewise.
498 (get_rootfh): Likewise.
500 2000-06-04 H.J. Lu <hjl@lucon.org>
502 * etc/redhat/nfs.init: Fix a typo in comment.
504 2000-05-31 H.J. Lu <hjl@lucon.org>
506 * configure.in (VERSION): Set to "0.1.8".
507 * configure: Regenerated.
508 * nfs-utils.spec: Updated.
512 2000-05-31 H.J. Lu <hjl@lucon.org>
514 * configure.in (VERSION): Set to "0.1.7.5".
515 * configure: Regenerated.
516 * nfs-utils.spec: Updated.
518 * support/include/nfslib.h (exportent): Add a new field,
519 r_count, to count the number of mounts from a client.
520 (getrmtabent): Take a new argument for position in file.
521 (putrmtabent): Likewise.
522 (fgetrmtabent): Likewise.
523 (fputrmtabent): Likewise.
524 * support/nfs/rmtab.c (getrmtabent): Handle the new argument
525 for position in file.
526 (fgetrmtabent): Likewise.
527 (putrmtabent): Likewise.
528 (fputrmtabent): Likewise.
530 * support/nfs/rmtab.c (fgetrmtabent): Get value for the new
533 * support/export/rmtab.c (rmtab_read): Pass NULL as the new
534 argument to getrmtabent (), fgetrmtabent (), putrmtabent ()
536 * utils/mountd/rmtab.c (mountlist_add): Likewise.
537 (mountlist_del): Likewise.
538 (mountlist_del_all): Likewise.
539 (mountlist_list): Likewise.
541 * utils/mountd/rmtab.c (mountlist_add): Increment "r_count"
542 for the existing entry and initialize "r_count" to 1.
543 (mountlist_del): Decrement "r_count".
545 2000-05-18 H.J. Lu <hjl@lucon.org>
547 * configure.in (VERSION): Set to "0.1.7.4".
548 * configure: Regenerated.
549 * nfs-utils.spec: Updated.
551 2000-05-18 H.J. Lu <hjl@lucon.org>
553 * etc/redhat/nfs.init (restart): Just do stop and start.
555 2000-05-09 Jay Weber <jweber@valinux.com>
557 * utils/rquotad/hasquota.c: added support for ext3 recognition
559 * utils/rquotad/mntent.h: Likewise.
561 2000-05-01 H.J. Lu <hjl@lucon.org>
563 * configure.in (VERSION): Set to "0.1.7.3".
564 * configure: Regenerated.
565 * nfs-utils.spec: Updated.
567 2000-05-01 H.J. Lu <hjl@lucon.org>
569 * utils/rquotad/rquota_server.c (getquotainfo): Skip bad
570 mounting poins in /etc/fstab.
572 2000-05-01 H.J. Lu <hjl@lucon.org>
574 * configure.in (VERSION): Set to "0.1.7.2".
575 * configure: Regenerated.
576 * nfs-utils.spec: Updated.
578 2000-05-01 H.J. Lu <hjl@lucon.org>
580 * utils/rquotad/rquota_server.c (getquotainfo): Call stat ()
581 to check for the mounting point.
583 2000-04-29 Chip Salzenberg <chip@valinux.com>
584 Neil Brown <neilb@cse.unsw.edu.au>
586 * Really re-use RPC ports.
587 (Fixes earlier patch. Sorry, Neil.)
589 2000-04-26 H.J. Lu <hjl@lucon.org>
591 * configure.in (VERSION): Set to "0.1.7.1".
592 * configure: Regenerated.
593 * nfs-utils.spec: Updated.
595 2000-04-26 H.J. Lu <hjl@lucon.org>
597 * etc/redhat/nfslock.init: Check if lockd exits before killing
600 2000-04-25 H.J. Lu <hjl@lucon.org>
602 * README: Require util-linux-2.10f-mount-rpc.patch for mount.
604 2000-03-21 Michael Weiser <michael@weiser.saale-net.de>
606 * support/nfs/exports.c (parsesquash): Correctly set the
609 Tue Mar 21 11:38:48 EST 2000 NeilBrown <neilb@cse.unsw.edu.au>
611 * support/include/nfs/nfs.h: Removed knowledge of internals of
612 kernel filehandles (which can change) and defined nfs_fh_size
613 which has variable size
615 * support/nfs/getfh.c: defined getfh_size to use new syscall to
616 get variable sized file handles, and change getfh{,old} to
619 * utils/mountd/mountd.c: use nfd_fh_size and call getfh_size for
622 * tools/Makefile, tools/nlmtest/nlmtest.c
623 nlmtest.c depended on internel format of file handles, so now
627 2000-03-12 Chip Salzenberg <chip@valinux.com>
628 Neil Brown <neilb@cse.unsw.edu.au>
630 * support/nfs/rpcmisc.c (rpc_init): Share transports.
632 2000-03-13 H.J. Lu <hjl@lucon.org>
634 * etc/redhat/nfsd.init: Updated.
636 * etc/redhat/nfslock.init: Updated.
638 * nfs-utils.spec.in: Updated.
640 * configure.in (VERSION): Set to "0.1.7".
641 * configure: Regenerated.
642 * nfs-utils.spec: Updated.
646 Wed Mar 8 09:42:43 2000 Neil Brown <neilb@cse.unsw.edu.au>
648 * utils/exportfs/exportfs.c (dump): Included printing of
649 nohide, no_subtree_check, and insecure_locks
651 2000-02-26 Chip Salzenberg <chip@valinux.com>
653 * config.mk.in (INSTALLSUID): Strip ("-s").
654 (INSTALLSCRIPT): Define.
655 * utils/nhfsstone/Makefile: Use it.
657 2000-02-26 Chip Salzenberg <chip@valinux.com>
659 * utils/lockd/lockd.man: Create.
660 * utils/lockd/Makefile: Install it.
661 * utils/nhfsstone/nhfs{run,nums,graph}.man: Create.
662 * utils/nhfsstone/nhfsstone.man: Change suffix from ".1".
663 * utils/nhfsstone/Makefile: Install the helper scripts and
665 * utils/exportfs/exports.man: Fix typo.
667 2000-02-26 Chip Salzenberg <chip@valinux.com>
669 * support/nfs/xio.c (xungetc): Decrement line number when
670 character to unget is newline. Make first parameter int, so
671 it can distinguish EOF from \377.
672 * support/include/xio.h (xungetc): Adjust prototype.
674 Fri Feb 4 23:42:23 2000 Neil Brown <neilb@cse.unsw.edu.au>
676 * support/include/nfs/export.h: added NFSEXP_NOAUTHNLM
677 * support/nfs/exports.c: added handling for NFSEXP_NOAUTHNLM
678 * utils/exportfs/exports.man: added documentation for no_auth_nlm.
680 This is for supporting a new option introduced in 2.3.42
682 Thu Feb 3 14:55:48 2000 H.J. Lu <hjl@lucon.org>
684 * COPYING: Added. GPL.
686 Thu Feb 03 14:40:40 2000 Cristian Gafton <gafton@redhat.com>
688 * utils/rquotad/rquota_server.c (getquotainfo): Call statfs ()
689 to get the block size.
691 Tue Jan 25 11:04:17 2000 H.J. Lu <hjl@lucon.org>
693 * nfs-utils.spec.in: Update ftp site.
695 Mon Jan 17 11:48:18 2000 H.J. Lu <hjl@lucon.org>
697 * README: Update hostnames.
699 Tue Jan 11 10:06:22 2000 H.J. Lu <hjl@lucon.org>
701 * configure.in (VERSION): Set to "0.1.6".
702 * configure: Regenerated.
703 * nfs-utils.spec: Updated.
707 Mon Jan 10 14:26:33 2000 H.J. Lu <hjl@lucon.org>
709 * utils/mountd/auth.c (auth_authenticate_internal): Call
710 xstrdup for hostname before passing it to gethostbyname.
712 * utils/mountd/mountd.c (get_exportlist): Use xstrdup instead
715 Sun Dec 19 09:35:01 1999 H.J. Lu <hjl@lucon.org>
717 * README: Update the mailing list address.
719 Sun Dec 19 09:22:28 1999 H.J. Lu <hjl@lucon.org>
721 * configure.in (VERSION): Set to "0.1.5".
722 * configure: Regenerated.
723 * nfs-utils.spec: Updated.
727 Mon Dec 13 13:40:20 1999 H.J. Lu <hjl@lucon.org>
729 * utils/rquotad/hasquota.c (hasquota): Malloc one more char
732 Mon Dec 6 09:42:45 1999 H.J. Lu <hjl@lucon.org>
734 * configure.in (VERSION): Set to "0.1.4".
735 * configure: Regenerated.
736 * nfs-utils.spec: Updated.
740 Mon Dec 6 09:28:07 1999 H.J. Lu <hjl@lucon.org>
742 * nfs-utils.spec.in: New file.
744 * config.mk.in (VERSION): Changed to "nfs-utils @VERSION@".
746 * configure.in (nfs-utils.spec): Added to AC_OUTPUT.
748 1999-12-04 Chip Salzenberg <chip@valinux.com>
750 * config.mk.in: Use $(CC) as set by configure.
752 1999-12-04 Chip Salzenberg <chip@valinux.com>
754 * rules.mk: Call $(MAKE) with $(MFLAGS).
756 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
758 * tools/rpcgen/rpc_main.c (h_output): Generate IXDR_GET_INT32,
759 IXDR_PUT_INT32, IXDR_GET_U_INT32 and IXDR_PUT_U_INT32.
761 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
763 * nfs-utils.spec (Version): Set to 0.1.3.
765 * configure.in (VERSION): Set to "nfs-utils 0.1.3".
766 * configure: Regenerated.
770 Mon Nov 29 11:15:47 1999 H.J. Lu <hjl@lucon.org>
772 * utils/rquotad/rquota_server.c (nfsmount_to_devname): Removed.
773 (_PATH_DEV_DSK): Likewise.
774 (getquotainfo): Match the mounting point from /etc/mtab
775 instead of calling nfsmount_to_devname ().
777 1999-11-24 Chip Salzenberg <chip@valinux.com>
779 * utils/statd/monitor.c (sm_mon_1_svc): Accept lockd callbacks
780 to the new port 24 as well as the historical port 100021.
782 Tue Nov 23 10:21:34 1999 Neil Brown <neilb@cse.unsw.edu.au>
784 * etc/redhat/nfsd.init (stop): moved exportfs -ua after
785 stopping nfsd to stop spurious ESTALE on server shutdown.
787 Tue Nov 23 10:13:39 1999 Neil Brown <neilb@cse.unsw.edu.au>
789 * support/nfs/exports.c (parseopts): make copy of opt string
790 before 'nul'ing out commas so that
792 # exportfs -o option1,option2 hosta:/fs hostb:/fs
794 applies both options to both exports.
796 Thu Oct 28 12:55:42 1999 H.J. Lu <hjl@lucon.org>
798 * README: Fix a few typos.
800 * tools/rpcgen/rpc_cout.c (print_header): Use int32_t instead
802 * tools/rpcgen/rpc_hout.c (pdefine): Likewise.
803 * tools/rpcgen/rpc_main.c (c_initialize): Likewise.
804 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
805 (unsigned_dec): Likewise.
806 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
807 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
809 * tools/rpcgen/rpc_cout.c (emit_single_in_line): Use INT32
811 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
812 (unsigned_dec): Likewise.
813 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
814 * tools/rpcgen/rpc_scan.h (tok_kind): Likewise.
815 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
817 Thu Oct 28 11:27:51 1999 Neil Brown <neilb@cse.unsw.edu.au>
819 * support/include/nfs/export.h addedd NFSEXP_NOSUBTREECHECK
820 * support/nfs/exports.c: added {no_,}subtree_check and changed
822 * utils/exportfs/exports.man: added no_subtree_check and nohide
823 and removed irrelevant stuff from unfsd.
824 * support/export/rmtab.c: rmtab_read didn't quite do the right
825 thing if a pathname from rmtab was a subdirectory of an export-point
827 Tue Oct 26 17:22:40 1999 H.J. Lu <hjl@lucon.org>
829 * README: Updated ftp site.
831 Mon Oct 25 18:12:45 1999 H.J. Lu <hjl@lucon.org>
833 * nfs-utils.spec (Version): Set to 0.1.2.
835 * configure.in (VERSION): Set to "nfs-utils 0.1.2".
836 * configure: Regenerated.
840 Mon Oct 25 18:11:21 1999 H.J. Lu <hjl@lucon.org>
842 * utils/mountd/auth.c (auth_error): Add "no_forward_dns".
843 (auth_authenticate_internal): Check for NULL return on forward
845 (auth_authenticate): Handle "no_forward_dns".
847 Thu Oct 21 16:22:06 1999 H.J. Lu <hjl@lucon.org>
849 * Version 0.1.1 released.
851 * nfs-utils.spec (Version): Set to 0.1.1.
853 * configure.in (VERSION): Set to "nfs-utils 0.1.1".
854 * configure: Regenerated.
858 Mon Oct 18 17:43:29 1999 H.J. Lu <hjl@lucon.org>
860 * nfs-utils.spec (Obsoletes): Fixed a typo, change knfsd-client
862 (Provides): Likewise.
864 Mon Oct 18 14:56:22 1999 H.J. Lu <hjl@lucon.org>
866 * Initial version 0.1 released.
868 * configure.in (VERSION): Set to "nfs-utils 0.1".
869 * configure: Regenerated.
871 Mon Oct 18 14:54:57 1999 H.J. Lu <hjl@lucon.org>
873 * utils/mountd/mountd.c (get_exportlist): Cleanup.
875 * utils/exportfs/exportfs.c (unexport_all): Unexport from
876 kernel only if the entry is exported to kernel.
877 (unexportfs): Likewise.
879 Wed Sep 08 16:49:32 1999 Neil Brown <neilb@cse.unsw.edu.au>
881 1/ utils/mountd/rmtab.c::mountlist_list
883 This routine stats the rmtab file to see if it has changed. It
884 if has, it cleans up it's old copy of the data. But it still
885 always re-read the file, thus returning multiple copies of the
886 data on consecutive calls without intervening changes.
887 "Showmount -a" didn't show this as it appears to sort/unique the
888 data, but 'strace showmount -a' showed that the size of the
889 datagram that it received grew.
891 I moved the getrmtabent loop inside the mtime test.
893 2/ utils/exportfs/exportfs.c
895 Many routines used the m_path field of m_export instead of
897 According to the comment in nfslib.h, m_path should only
898 be used when processing a mount request (i.e. in mountd)
899 where the mountpoint may be a subdirectory of the export point.
901 I changed all occurances of m_path to e_path
904 3/ utils/exportfs/exportfs.c:main
906 extra arguments are not meaningful with -a or -r, but
907 exportfs accepted them and then ignored the -a/-r, expect that
908 -r would still unexport everything first.
910 I generate an error if there are extra args and f_all
912 4/ utils/exportfs/exportfs.c:main
913 extract dump out as a special case.
915 5/ utils/exportfs/exportfs.c
916 made f_reexport a local variable.
919 6/ utils/exportfs/exportfs.c:main,exportall
921 support/export/rmtab.c
922 only mayexport on newly created entries, don't set xtabent at all
924 7/ support/include/nfslib.h
926 add #define _PATH_PROC_EXPORTS to be /proc/fs/nds/exports
928 8/ support/export/xtab.c
930 xtab_mount_read loads data from _PATH_PROC_EXPORTS if it exists,
934 9/ support/export/xtab.c
936 xtab_mount_read now sets m_exported, and NOT
937 xtabent and mayexport
939 removed the append arguement from xtab_write as it was
942 added is_export flag to xtab_write similar to xtab_read
943 if is_export, only write entries with m_xtabent or m_addxtab
944 if !is_export, only write entries with m_exported
946 10/ support/export/export.c::export_allowed_internal
948 added test for exp->m_mayexport, as the export tree
949 may have entries that are no longer allowed to be exported,
950 and so shouldn't caused deduced exported by rmtab_read
952 11/ utils/exportfs/exportfs.c::main
953 error checking of flags.
955 12/ utils/exportfs/exportfs.c
957 total rewrite of export and unexport logic.
959 - build an exportslist of valid exports, based on
960 current etab file and arguments,
961 - read rmtab to instantiate relevant wild card entries
962 - read etab to find out what is currently exported
963 - synchronise intention with reality
964 - write out etab and xtab
967 discard the m_addxtab flag
968 add m_changed flag so we know what to report in exportfs
970 14/ utils/mountd/auth.c:auth_authenticate
972 the value returned by gethostbyaddr was trusted.
974 It now follows this with a call to gethostbyname
975 and checks that the address is in the list.
977 15/ support/export/nfsctl.c::cltsetup,expsetup
979 force client names to lowercase as kernel is
982 16/ quietened a few compiler warnings
984 17/ support/export/client:client_lookup
986 look for pre-existing client with same name before creating
989 18/ support/include/exportfs.h
991 The ordering of the MCL_* enum was:
992 ANONYMOUS, FQDN, SUBNETWORK, WILDCARD, NETGROUP
994 I moved ANONYMOUS to the end.
996 The ordering is significant when an export entry is being searched for to
997 match a given address. There are two problems with ANONYMOUS being first.
999 1/ if a directory is exported rw to a couple of hosts and ro to everyone else,
1000 then the ro case will always be found first and the privileged hosts won't get
1002 2/ When mountd gets a request to mount an ANONYMOUSly exported tree, it creates a FQDN
1003 export entry for the specific host, and writes it to xtab.
1004 When another request comes from the same host, the ANONYMOUS entry is found again,
1005 before the new FQDN entry, so it creates another FQDN entry and writes it to xtab
1006 again. If causes bloat in xtab.
1008 Putting ANONYMOUS at the end reflects it's nature as a catch-all
1010 19/ utils/exportfs/exportfs.man
1011 many updates to the man page to reflect changes to the code
1013 -----------------------
1019 - allow exportfs to modify rmtab file
1020 - make sure kernel never gets two clients with same IP address
1021 - possible kernel should reject
1022 - needs to be some way to lookup client in kernel by IP address
1023 - maybe get kernel to do case-insensitive comparisons on client names
1024 - remove unused clients from kernel
1026 - change etab to xtab and xtab to xtab.active
1028 - timestamp and/or statd-stamp in rmtab for removing old entries.
1030 Mon Oct 18 11:48:07 1999 H.J. Lu <hjl@lucon.org>
1032 * linux-nfs: New directory.
1033 * linux-nfs/ChangeLog: Moved from ..
1034 * linux-nfs/INSTALL: Likewise.
1035 * linux-nfs/KNOWNBUGS: Likewise.
1036 * linux-nfs/NEW: Likewise.
1037 * linux-nfs/README: Likewise.
1038 * linux-nfs/THANKS: Likewise.
1039 * linux-nfs/TODO: Likewise.
1041 * Starting from knfsd 1.4.7.