1 2001-06-07 Lon H. Hohberger <hohberger@missioncriticallinux.com>
3 * etc/nodist/nfs-server: Fixed a bug where the script would
4 disable mounts from NFSv3 clients if NFSv3 is present.
6 2001-06-05 H.J. Lu <hjl@lucon.org>
8 * utils/mountd/mountd.c (longopts): Add "descriptors/o".
9 (main): Support --descriptors/-o to set the limit of the number
10 of open file descriptors.
13 * utils/mountd/mountd.man: Updated for --descriptors/-o.
15 2001-06-04 H.J. Lu <hjl@lucon.org>
17 * nfs-utils.spec (Release): Set to 6.
19 2001-05-28 H.J. Lu <hjl@lucon.org>
21 * utils/lockd/lockd.c (main): chdir to NFS_STATEDIR.
22 * utils/mountd/mountd.c (main): Likewise.
23 * utils/nfsd/nfsd.c (main): Likewise.
24 * utils/rquotad/rquota_svc.c (main): Likewise.
26 2001-05-06 Anne Milicia <milicia@missioncriticallinux.com>
28 * support/export/client.c (client_check): Check IP address
31 2001-05-06 Neil Brown <neilb@cse.unsw.edu.au>
33 * support/export/client.c (client_gettype): Treat `*' as
36 2001-04-22 H.J. Lu <hjl@lucon.org>
38 * nfs-utils.spec.in: Fix a typo.
39 * nfs-utils.spec: Regenerated.
41 2001-04-21 H.J. Lu <hjl@lucon.org>
43 * nfs-utils.spec.in: Fix cross build.
44 * nfs-utils.spec: Regenerated.
47 2001-04-18 H.J. Lu <hjl@lucon.org>
49 * nfs-utils.spec.in: Support cross build.
50 * nfs-utils.spec: Regenerated.
56 * config.mk.in (BUILD_CC): New.
57 (CC): Set to $(BUILD_CC) if BUILD is defined.
60 (RANLIB): Set to @RANLIB@.
62 * configure.in: Check BUILD_CC, RANLIB, AR and LD.
63 * configure: Regenerated.
65 * tools/rpcgen/Makefile (BUILD): Set to true.
67 2001-04-01 Chip Salzenberg <chip@valinux.com>
69 * tools/rpcgen/rpc_svcout.c (write_timeout_func): Remove
70 redundant, and sometimes broken, declaration of svc_fdset;
72 * support/nfs/rpcmisc.c (closedown): Likewise.
74 2001-03-21 H.J. Lu <hjl@lucon.org>
76 * nfs-utils.spec: Regenerated.
79 2001-03-21 Ion Badulescu <ionut@cs.columbia.edu>
81 * utils/statd/statd.c (main): make sure file descriptors 0-2
82 are open to /dev/null.
84 2001-03-21 H.J. Lu <hjl@lucon.org>
86 * support/nfs/rpcmisc.c: Restore the change made on 2001-03-10.
87 * support/nfs/rpcmisc.c: Likewise.
88 * utils/rquotad/rquota_svc.c: Likewise.
89 * utils/rquotad/rquotad.man: Likewise.
90 * utils/statd/Makefile: Likewise.
91 * utils/statd/rmtcall.c: Likewise.
92 * utils/statd/simulate.c: Likewise.
93 * utils/statd/statd.c: Likewise.
94 * utils/statd/statd.man: Likewise.
96 2001-03-11 H.J. Lu <hjl@lucon.org>
98 * configure.in (RELEASE): New. Default to 1, set by
99 --with-release=XXX. Substitute nfs-utils.spec.
100 * nfs-utils.spec.in (Release): Set to @RELEASE@.
101 * configure: Regenerated.
102 * nfs-utils.spec: Likewise.
104 2001-03-11 H.J. Lu <hjl@lucon.org>
106 * utils/rquotad/rquotad.man: Fix a typo.
108 2001-03-11 H.J. Lu <hjl@lucon.org>
110 * support/include/rpcmisc.h: Undo the change made on 2001-03-10.
111 * support/nfs/rpcmisc.c: Likewise.
112 * utils/rquotad/rquota_svc.c: Likewise.
113 * utils/rquotad/rquotad.man: Likewise.
114 * utils/statd/Makefile: Likewise.
115 * utils/statd/rmtcall.c: Likewise.
116 * utils/statd/simulate.c: Likewise.
117 * utils/statd/statd.c: Likewise.
118 * utils/statd/statd.man: Likewise.
120 2001-03-10 H.J. Lu <hjl@lucon.org>
122 * configure.in (VERSION): Set to "0.3.2".
123 * configure: Regenerated.
124 * nfs-utils.spec: Likewise.
126 * README: Updated for 0.3.2.
128 2001-03-10 Tavis Barr <tavis@boole.isetr.columbia.edu>
130 * utils/rquotad/rquotad.man: Updated for -p.
131 * utils/statd/statd.man: Likewise.
133 2001-03-10 Ion Badulescu <ionut@cs.columbia.edu>
135 * support/nfs/rpcmisc.c: export makesock()
137 * support/include/rpcmisc.h (makesock): Declared.
139 * utils/rquotad/rquota_svc.c: added longopts, added support for
140 specifying the port to bind to on the command line.
142 * utils/statd/statd.c: ditto, also specify port used for
143 outgoing connections.
144 (do_regist): Removed.
146 * utils/statd/rmtcall.c (statd_get_socket): Renamed from
147 get_socket. Make it extern.
149 * utils/statd/simulate.c (daemon_simulator): Call rpc_init
150 instead of do_regist.
152 * utils/statd/Makefile (LIBS): link with our own libnfs
154 2001-03-09 H.J. Lu <hjl@lucon.org>
156 * etc/redhat/nfslock.init: Changed chkconfig line to 60 86.
157 * etc/nodist/nfs-client: Likewise.
159 2001-02-26 Chip Salzenberg <chip@valinux.com>
161 * debian/changelog: Version 0.3.1-1.
162 * Mention upstream source and license in copyright file.
163 * Add build-Depends for debhelper and libwrap0-dev.
165 2001-02-20 Lon Hohberger <hohberger@missioncriticallinux.com>
167 * etc/nodist/nfs-server: Changed chkconfig line to 60 20
168 * etc/nodist/nfs-client: Likewise.
170 2001-02-18 Lon Hohberger <hohberger@missioncriticallinux.com>
172 * utils/statd/statd.man: Changed /usr/sbin/rpc.statd to
175 2001-02-17 Patrick J. LoPresti <patl@curl.com>
177 * utils/statd/log.c (log_init): Use LOG_DAEMON instead of
180 2001-02-14 H.J. Lu <hjl@lucon.org>
182 * utils/statd/rmtcall.c: Include <time.h>.
183 * utils/statd/svc_run.c: Likewise.
185 2001-02-14 H.J. Lu <hjl@lucon.org>
187 * configure.in (VERSION): Set to "0.3.1".
188 * configure: Regenerated.
189 * nfs-utils.spec: Likewise.
191 * README: Updated for 0.3.1.
193 2001-02-14 H.J. Lu <hjl@lucon.org>
195 * support/nfs/rpcmisc.c: Include <time.h>.
197 2001-02-14 Chip Salzenberg <chip@valinux.com>
199 * debian/control: Change priority of nhfsstone package to 'extra'.
201 2001-02-12 Chip Salzenberg <chip@valinux.com>
203 * debian/changelog: Version 0.3-2.
205 2001-02-02 H.J. Lu <hjl@lucon.org>
207 * support/include/rpcmisc.h (rpc_init): Remove bufsize.
209 * support/nfs/rpcmisc.c (makesock): Remove socksz and comment
210 out SO_SNDBUF/SO_RCVBUF.
211 (rpc_init): Remove bufsize and remove socksz in calls to
214 * utils/mountd/mountd.c (main): Remove bufsize in calls to
217 2001-01-28 Chip Salzenberg <chip@valinux.com>
219 * debian/changelog: Version 0.3-1.
221 2001-01-25 H.J. Lu <hjl@lucon.org>
223 * configure.in (VERSION): Set to "0.3".
224 * configure: Regenerated.
225 * nfs-utils.spec: Likewise.
227 * README: Updated for 0.3.
229 2001-01-25 H.J. Lu <hjl@lucon.org>
231 * utils/lockd/lockd.c (main): Ignore errno == EINVAL.
233 2001-01-20 Chip Salzenberg <chip@valinux.com>
235 * support/include/xio.h (xgetc): Declare to return int.
236 * support/nfs/xio.c (xgetc): Return int.
237 (xgettok, xskip, xskipcomment): Use int for value of xgetc.
238 * utils/statd/statd.c (main): Use int for value of getopt.
239 * debian/changelog: Version 0.2.1-5.
241 2000-12-10 Chip Salzenberg <chip@valinux.com>
243 * utils/statd/monitor.c (sm_mon_1_svc): Fix buggy check for
244 program and procedure numbers of kernel lockd's callback. Also,
245 besides the old (and broken) procedure #24, allow #16 per Trond.
247 2000-12-03 Chip Salzenberg <chip@valinux.com>
249 * support/nfs/xio.c (xfopen): Initialize x_line to one, not zero.
250 * debian/control: Let nhfsstone replace files in nfs-kernel-server.
251 * debian/changelog: Version 0.2.1-4.
253 2000-11-27 Tobias Ringstrom <tori@tellus.mine.nu>
255 * utils/mountd/auth.c (auth_authenticate): Log the bad path
258 2000-11-24 Neil Brown <neilb@cse.unsw.edu.au>
260 * support/nfs/exports.c (getexportent): Check for host name
261 without option, or options without hostname, and print a warning,
262 as this is most likely a typo.
264 2000-11-19 Chip Salzenberg <chip@valinux.com>
266 * debian/control: Add dependency on portmap.
267 * debian/changelog: Version 0.2.1-3.
269 2000-11-10 H.J. Lu <hjl@lucon.org>
271 * nfs-utils.spec.in: Don't use libtool.
272 Add ChangeLog and COPYING to doc.
273 * nfs-utils.spec: Rebuild.
275 2000-11-09 H.J. Lu <hjl@lucon.org>
277 * etc/redhat/nfs.init (start): Back out the last change.
279 2000-11-09 H.J. Lu <hjl@lucon.org>
281 * etc/redhat/nfs.init (start): Pass --no-tcp to mountd if
282 TCP is not supported by kernel.
284 * support/nfs/rpcmisc.c (rpc_init): Don't set _rpcfdtype to 0.
286 * utils/mountd/mountd.c (longopts): Add "-n/--no-tcp".
287 (main): Set to _rpcfdtype to SOCK_DGRAM for "-n/--no-tcp".
289 * utils/mountd/mountd.man: Updated for "-n/--no-tcp".
291 2000-10-24 Lon Hohberger <hohberger@missioncriticallinux.com>
293 * utils/statd/callback.c: Fix bug preventing callbacks to local lockd.
294 * utils/statd/rmtcall.c: Add some IP address paranoia when doing
295 callbacks to local lockd.
297 2000-10-18 Scott McDermott <mcdermot@questra.com>
299 * utils/exportfs/exports.man: Updated for CIDR netmask.
301 2000-10-17 Scott McDermott <mcdermot@questra.com>
303 * support/export/client.c (client_init): Support CIDR netmask
306 2000-10-11 H.J. Lu <hjl@lucon.org>
308 * aclocal.m4 (AC_TCP_WRAPPER): Fix a typo.
309 * configure: Rebuilt.
311 2000-10-06 Lon Hohberger <hohberger@missioncriticallinux.com>
313 * utils/statd/statd.man: Change "/var/lib/nfs/sm/state" to
314 "/var/lib/nfs/state".
316 2000-10-05 Lon Hohberger <hohberger@missioncriticallinux.com>
318 * utils/statd/statd.h (run_mode): New global bitmask of runtime
319 behaviors: fg/bg, logging, etc.
320 * utils/statd/statd.c: New command line options: -V -h -? -d .
321 * utils/statd/statd.man: Update for changes to statd.
323 * utils/statd/log.h (log_init): Remove parameter of function; use
324 global variable "name_p" instead.
325 * utils/statd/log.c: Add support for logging to stderr.
327 * utils/statd/notlist.c: Partially rewrite notify list handling
328 functions. Eliminate run-off-end-of-list bug when calling
329 nlist_insert_timer. Add lots of comments.
331 2000-09-27 H.J. Lu <hjl@lucon.org>
333 * README: Updated for RedHat 7.0.
335 2000-09-27 H.J. Lu <hjl@lucon.org>
337 * nfs-utils.spec: Rebuild.
339 2000-09-27 H.J. Lu <hjl@lucon.org>
341 * README: Updated for 0.2.1.
343 2000-09-27 H.J. Lu <hjl@lucon.org>
345 * nfs-utils.spec.in: Updated to use rpm macros and support
348 2000-09-25 H.J. Lu <hjl@lucon.org>
350 * configure.in (VERSION): Set to "0.2.1".
351 * configure: Regenerated.
352 * nfs-utils.spec: Updated.
354 2000-09-25 H.J. Lu <hjl@lucon.org>
356 * utils/mountd/auth.c (auth_authenticate_internal): Make sure a
357 non-NULL hostent is always returned.
359 2000-09-11 Ion Badulescu <ionut@cs.columbia.edu>
361 * etc/redhat/nfslock.init: don't kill lockd processes that do not
362 have an executable (i.e. kernel threads)
364 2000-09-01 H.J. Lu <hjl@lucon.org>
366 * README: Updated for 0.2.
368 2000-09-01 Jay Weber <jweber@valinux.com>
370 * etc/redhat/nfs.init: Added ability for rpc.mountd to default to
371 supporting version 3 of nfs if available, else it will fall back to
372 version 2 support only.
374 2000-08-30 H.J. Lu <hjl@lucon.org>
376 * configure.in (VERSION): Set to "0.2".
377 * configure: Regenerated.
378 * nfs-utils.spec: Updated.
380 2000-08-25 H.J. Lu <hjl@lucon.org>
382 * support/misc/tcpwrapper.c (logit): Modify the log output.
384 2000-08-25 Ion Badulescu <ionut@cs.columbia.edu>
386 * utils/rquotad/rquotad.man, utils/statd/statd.man,
387 utils/mountd/mountd.man: updated
389 * utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL)
390 * utils/rquotad/Makefile: fix comment
392 * support/misc/tcpwrapper.c (logit): added comment about waiting
393 for the children after fork()
395 * utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving
396 zombies behind (from logit()'s fork)
397 * utils/rquotad/rquota_svc.c (main): ditto
398 * utils/statd/statd.c (main): ditto
400 * utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG
401 to check_default instead of 0, for prognum
403 * utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG
404 to check_default instead of 0, for prognum
406 * utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if
407 HAVE_TCP_WRAPPER is defined.
408 (mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is
409 defined. Reject an RPC call if check_default () fails.
411 2000-08-25 H.J. Lu <hjl@lucon.org>
413 * support/include/tcpwrapper.h: New for the tcp wrapper
415 * support/misc/Makefile: Likewise.
416 * support/misc/from_local.c: Likewise.
417 * support/misc/tcpwrapper.c: Likewise.
419 * aclocal.m4 (AC_TCP_WRAPPER): New.
420 * configure.in: Use it. Substitute LIBWRAP.
421 * configure: Rebuilt.
423 * config.mk.in (LIBNSL): New.
426 * support/Makefile (SUBDIRS): Add misc.
428 * support/lib/Makefile (LIBS): Add libmisc.a.
430 * utils/rquotad/Makefile (LIBS): Add
432 -lmisc $(LIBWRAP) $(LIBNSL)
434 * utils/statd/Makefile (LIBS): Likewise.
436 * utils/rquotad/rquota_svc.c: Include "tcpwrapper.h" if
437 HAVE_TCP_WRAPPER is defined.
438 (rquotaprog_1): Call check_default () if HAVE_TCP_WRAPPER is
439 defined. Reject an RPC call if check_default () fails.
441 * utils/statd/statd.c: Include "tcpwrapper.h" if
442 HAVE_TCP_WRAPPER is defined.
443 (sm_prog_1_wrapper): New. A wrapper for sm_prog_1. Call
444 check_default () before calling sm_prog_1 (). Define it as
445 sm_prog_1_wrapper if HAVE_TCP_WRAPPER is defined.
447 2000-08-25 Chip Salzenberg <chip@valinux.com>
449 * debian/*: Complete Debian build support.
450 * etc/debian/*: Remove.
452 2000-08-24 Neil Brown <neilb@cse.unsw.edu.au>
454 * support/export/client.c(client_check): removed the "dot+1" as a
455 ypdomain argument to innetgr as this is entirely bogus.
456 It should always be NULL.
458 2000-08-23 Neil Brown <neilb@cse.unsw.edu.au>
460 * support/export/xtab.c(xtab_read): introduce new mode for
461 reading xtab. i.e. a list of exports that might be known to the
462 kernel, or might not. These are flagged as m_exported == -1
463 * support/export/xtab.c(xtab_mount_read): call xtab_read with new
464 value "2" for xtab, meaning don't trust this too much.
465 * support/include/exportfs.h(struct mexport): changed m_exported
466 from one bit to an int so that it can hold new value
467 * utils/exportfs/exportfs.c(exportfs_ipdate): add an export to the
468 kernel if it is uncertain whether the kernel knows (m_exported == -1)
469 * utils/mountd/mountd.c(get_rootfh): similarly export to kernel if
472 * support/nfs/xio.c(xflock): added O_CREAT when getting
473 a write lock so that missing files aren't fatal.
475 * etc/debian/nfs-common: new file from "potato"
476 * etc/debian/nfs-kernel-server: new file from "potato" plus fixes.
478 2000-08-09 H.J. Lu <hjl@lucon.org>
480 * etc/redhat/nfs.init: Run /usr/sbin/exportfs first during
481 startup to ensure all existing clients work fine.
483 * support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0
484 to xtab_read () for reading _PATH_XTAB.
486 2000-08-02 H.J. Lu <hjl@lucon.org>
488 * utils/mountd/auth.c (auth_authenticate_internal): Try to
489 avoid the reverse name lookup.
491 2000-07-04 H.J. Lu <hjl@lucon.org>
493 * utils/statd/log.c: Include <stdlib.h> for exit ().
495 * utils/statd/misc.c (xunlink): Add `{' and `}' to quiet the
498 2000-07-04 H.J. Lu <hjl@lucon.org>
500 * configure.in (VERSION): Set to "0.1.9.1".
501 * configure: Regenerated.
502 * nfs-utils.spec: Updated.
506 2000-07-04 Neil Brown <neilb@cse.unsw.edu.au>
508 * support/export/hostname.c (hostent_dup): Handle the NULL
511 2000-07-03 H.J. Lu <hjl@lucon.org>
513 * README: Update the util-linux requirement.
515 2000-07-03 H.J. Lu <hjl@lucon.org>
517 * configure.in (VERSION): Set to "0.1.9".
518 * configure: Regenerated.
519 * nfs-utils.spec: Updated.
523 2000-07-03 H.J. Lu <hjl@lucon.org>
525 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
526 stop to ensure all clients can still access the server
527 before it is shutdown.
529 2000-06-30 Jeff Uphoff <juphoff@transmeta.com>
531 * tools/rpcgen/rpc_svcout.c (write_msg_out): Generate syslog()
532 calls with format string.
534 2000-06-28 Chip Salzenberg <chip@valinux.com>
536 * utils/statd/log.c (log): Call syslog with format string.
538 2000-06-27 H.J. Lu <hjl@lucon.org>
540 * utils/statd/statd.c (main): Use sysconf (_SC_OPEN_MAX)
543 2000-06-27 H.J. Lu <hjl@lucon.org>
547 2000-06-27 H.J. Lu <hjl@lucon.org>
549 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
550 startup to ensure all existing clients are exported.
552 * configure.in (VERSION): Set to "0.1.8.2".
553 * configure: Regenerated.
554 * nfs-utils.spec: Updated.
556 2000-06-06 H.J. Lu <hjl@lucon.org>
558 * configure.in (VERSION): Set to "0.1.8.1".
559 * configure: Regenerated.
560 * nfs-utils.spec: Updated.
562 2000-06-06 H.J. Lu <hjl@lucon.org>
564 * utils/mountd/mountd.c (mount_dump_1_svc): Cast svc_getcaller
565 to "struct sockaddr_in *" for glibc 2.2.
566 (mount_umnt_1_svc): Likewise.
567 (mount_umntall_1_svc): Likewise.
568 (mount_export_1_svc): Likewise.
569 (mount_exportall_1_svc): Likewise.
570 (mount_pathconf_2_svc): Likewise.
571 (get_rootfh): Likewise.
573 2000-06-04 H.J. Lu <hjl@lucon.org>
575 * etc/redhat/nfs.init: Fix a typo in comment.
577 2000-05-31 H.J. Lu <hjl@lucon.org>
579 * configure.in (VERSION): Set to "0.1.8".
580 * configure: Regenerated.
581 * nfs-utils.spec: Updated.
585 2000-05-31 H.J. Lu <hjl@lucon.org>
587 * configure.in (VERSION): Set to "0.1.7.5".
588 * configure: Regenerated.
589 * nfs-utils.spec: Updated.
591 * support/include/nfslib.h (exportent): Add a new field,
592 r_count, to count the number of mounts from a client.
593 (getrmtabent): Take a new argument for position in file.
594 (putrmtabent): Likewise.
595 (fgetrmtabent): Likewise.
596 (fputrmtabent): Likewise.
597 * support/nfs/rmtab.c (getrmtabent): Handle the new argument
598 for position in file.
599 (fgetrmtabent): Likewise.
600 (putrmtabent): Likewise.
601 (fputrmtabent): Likewise.
603 * support/nfs/rmtab.c (fgetrmtabent): Get value for the new
606 * support/export/rmtab.c (rmtab_read): Pass NULL as the new
607 argument to getrmtabent (), fgetrmtabent (), putrmtabent ()
609 * utils/mountd/rmtab.c (mountlist_add): Likewise.
610 (mountlist_del): Likewise.
611 (mountlist_del_all): Likewise.
612 (mountlist_list): Likewise.
614 * utils/mountd/rmtab.c (mountlist_add): Increment "r_count"
615 for the existing entry and initialize "r_count" to 1.
616 (mountlist_del): Decrement "r_count".
618 2000-05-18 H.J. Lu <hjl@lucon.org>
620 * configure.in (VERSION): Set to "0.1.7.4".
621 * configure: Regenerated.
622 * nfs-utils.spec: Updated.
624 2000-05-18 H.J. Lu <hjl@lucon.org>
626 * etc/redhat/nfs.init (restart): Just do stop and start.
628 2000-05-09 Jay Weber <jweber@valinux.com>
630 * utils/rquotad/hasquota.c: added support for ext3 recognition
632 * utils/rquotad/mntent.h: Likewise.
634 2000-05-01 H.J. Lu <hjl@lucon.org>
636 * configure.in (VERSION): Set to "0.1.7.3".
637 * configure: Regenerated.
638 * nfs-utils.spec: Updated.
640 2000-05-01 H.J. Lu <hjl@lucon.org>
642 * utils/rquotad/rquota_server.c (getquotainfo): Skip bad
643 mounting poins in /etc/fstab.
645 2000-05-01 H.J. Lu <hjl@lucon.org>
647 * configure.in (VERSION): Set to "0.1.7.2".
648 * configure: Regenerated.
649 * nfs-utils.spec: Updated.
651 2000-05-01 H.J. Lu <hjl@lucon.org>
653 * utils/rquotad/rquota_server.c (getquotainfo): Call stat ()
654 to check for the mounting point.
656 2000-04-29 Chip Salzenberg <chip@valinux.com>
657 Neil Brown <neilb@cse.unsw.edu.au>
659 * Really re-use RPC ports.
660 (Fixes earlier patch. Sorry, Neil.)
662 2000-04-26 H.J. Lu <hjl@lucon.org>
664 * configure.in (VERSION): Set to "0.1.7.1".
665 * configure: Regenerated.
666 * nfs-utils.spec: Updated.
668 2000-04-26 H.J. Lu <hjl@lucon.org>
670 * etc/redhat/nfslock.init: Check if lockd exits before killing
673 2000-04-25 H.J. Lu <hjl@lucon.org>
675 * README: Require util-linux-2.10f-mount-rpc.patch for mount.
677 2000-03-21 Michael Weiser <michael@weiser.saale-net.de>
679 * support/nfs/exports.c (parsesquash): Correctly set the
682 Tue Mar 21 11:38:48 EST 2000 NeilBrown <neilb@cse.unsw.edu.au>
684 * support/include/nfs/nfs.h: Removed knowledge of internals of
685 kernel filehandles (which can change) and defined nfs_fh_size
686 which has variable size
688 * support/nfs/getfh.c: defined getfh_size to use new syscall to
689 get variable sized file handles, and change getfh{,old} to
692 * utils/mountd/mountd.c: use nfd_fh_size and call getfh_size for
695 * tools/Makefile, tools/nlmtest/nlmtest.c
696 nlmtest.c depended on internel format of file handles, so now
700 2000-03-12 Chip Salzenberg <chip@valinux.com>
701 Neil Brown <neilb@cse.unsw.edu.au>
703 * support/nfs/rpcmisc.c (rpc_init): Share transports.
705 2000-03-13 H.J. Lu <hjl@lucon.org>
707 * etc/redhat/nfsd.init: Updated.
709 * etc/redhat/nfslock.init: Updated.
711 * nfs-utils.spec.in: Updated.
713 * configure.in (VERSION): Set to "0.1.7".
714 * configure: Regenerated.
715 * nfs-utils.spec: Updated.
719 Wed Mar 8 09:42:43 2000 Neil Brown <neilb@cse.unsw.edu.au>
721 * utils/exportfs/exportfs.c (dump): Included printing of
722 nohide, no_subtree_check, and insecure_locks
724 2000-02-26 Chip Salzenberg <chip@valinux.com>
726 * config.mk.in (INSTALLSUID): Strip ("-s").
727 (INSTALLSCRIPT): Define.
728 * utils/nhfsstone/Makefile: Use it.
730 2000-02-26 Chip Salzenberg <chip@valinux.com>
732 * utils/lockd/lockd.man: Create.
733 * utils/lockd/Makefile: Install it.
734 * utils/nhfsstone/nhfs{run,nums,graph}.man: Create.
735 * utils/nhfsstone/nhfsstone.man: Change suffix from ".1".
736 * utils/nhfsstone/Makefile: Install the helper scripts and
738 * utils/exportfs/exports.man: Fix typo.
740 2000-02-26 Chip Salzenberg <chip@valinux.com>
742 * support/nfs/xio.c (xungetc): Decrement line number when
743 character to unget is newline. Make first parameter int, so
744 it can distinguish EOF from \377.
745 * support/include/xio.h (xungetc): Adjust prototype.
747 Fri Feb 4 23:42:23 2000 Neil Brown <neilb@cse.unsw.edu.au>
749 * support/include/nfs/export.h: added NFSEXP_NOAUTHNLM
750 * support/nfs/exports.c: added handling for NFSEXP_NOAUTHNLM
751 * utils/exportfs/exports.man: added documentation for no_auth_nlm.
753 This is for supporting a new option introduced in 2.3.42
755 Thu Feb 3 14:55:48 2000 H.J. Lu <hjl@lucon.org>
757 * COPYING: Added. GPL.
759 Thu Feb 03 14:40:40 2000 Cristian Gafton <gafton@redhat.com>
761 * utils/rquotad/rquota_server.c (getquotainfo): Call statfs ()
762 to get the block size.
764 Tue Jan 25 11:04:17 2000 H.J. Lu <hjl@lucon.org>
766 * nfs-utils.spec.in: Update ftp site.
768 Mon Jan 17 11:48:18 2000 H.J. Lu <hjl@lucon.org>
770 * README: Update hostnames.
772 Tue Jan 11 10:06:22 2000 H.J. Lu <hjl@lucon.org>
774 * configure.in (VERSION): Set to "0.1.6".
775 * configure: Regenerated.
776 * nfs-utils.spec: Updated.
780 Mon Jan 10 14:26:33 2000 H.J. Lu <hjl@lucon.org>
782 * utils/mountd/auth.c (auth_authenticate_internal): Call
783 xstrdup for hostname before passing it to gethostbyname.
785 * utils/mountd/mountd.c (get_exportlist): Use xstrdup instead
788 Sun Dec 19 09:35:01 1999 H.J. Lu <hjl@lucon.org>
790 * README: Update the mailing list address.
792 Sun Dec 19 09:22:28 1999 H.J. Lu <hjl@lucon.org>
794 * configure.in (VERSION): Set to "0.1.5".
795 * configure: Regenerated.
796 * nfs-utils.spec: Updated.
800 Mon Dec 13 13:40:20 1999 H.J. Lu <hjl@lucon.org>
802 * utils/rquotad/hasquota.c (hasquota): Malloc one more char
805 Mon Dec 6 09:42:45 1999 H.J. Lu <hjl@lucon.org>
807 * configure.in (VERSION): Set to "0.1.4".
808 * configure: Regenerated.
809 * nfs-utils.spec: Updated.
813 Mon Dec 6 09:28:07 1999 H.J. Lu <hjl@lucon.org>
815 * nfs-utils.spec.in: New file.
817 * config.mk.in (VERSION): Changed to "nfs-utils @VERSION@".
819 * configure.in (nfs-utils.spec): Added to AC_OUTPUT.
821 1999-12-04 Chip Salzenberg <chip@valinux.com>
823 * config.mk.in: Use $(CC) as set by configure.
825 1999-12-04 Chip Salzenberg <chip@valinux.com>
827 * rules.mk: Call $(MAKE) with $(MFLAGS).
829 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
831 * tools/rpcgen/rpc_main.c (h_output): Generate IXDR_GET_INT32,
832 IXDR_PUT_INT32, IXDR_GET_U_INT32 and IXDR_PUT_U_INT32.
834 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
836 * nfs-utils.spec (Version): Set to 0.1.3.
838 * configure.in (VERSION): Set to "nfs-utils 0.1.3".
839 * configure: Regenerated.
843 Mon Nov 29 11:15:47 1999 H.J. Lu <hjl@lucon.org>
845 * utils/rquotad/rquota_server.c (nfsmount_to_devname): Removed.
846 (_PATH_DEV_DSK): Likewise.
847 (getquotainfo): Match the mounting point from /etc/mtab
848 instead of calling nfsmount_to_devname ().
850 1999-11-24 Chip Salzenberg <chip@valinux.com>
852 * utils/statd/monitor.c (sm_mon_1_svc): Accept lockd callbacks
853 to the new port 24 as well as the historical port 100021.
855 Tue Nov 23 10:21:34 1999 Neil Brown <neilb@cse.unsw.edu.au>
857 * etc/redhat/nfsd.init (stop): moved exportfs -ua after
858 stopping nfsd to stop spurious ESTALE on server shutdown.
860 Tue Nov 23 10:13:39 1999 Neil Brown <neilb@cse.unsw.edu.au>
862 * support/nfs/exports.c (parseopts): make copy of opt string
863 before 'nul'ing out commas so that
865 # exportfs -o option1,option2 hosta:/fs hostb:/fs
867 applies both options to both exports.
869 Thu Oct 28 12:55:42 1999 H.J. Lu <hjl@lucon.org>
871 * README: Fix a few typos.
873 * tools/rpcgen/rpc_cout.c (print_header): Use int32_t instead
875 * tools/rpcgen/rpc_hout.c (pdefine): Likewise.
876 * tools/rpcgen/rpc_main.c (c_initialize): Likewise.
877 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
878 (unsigned_dec): Likewise.
879 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
880 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
882 * tools/rpcgen/rpc_cout.c (emit_single_in_line): Use INT32
884 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
885 (unsigned_dec): Likewise.
886 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
887 * tools/rpcgen/rpc_scan.h (tok_kind): Likewise.
888 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
890 Thu Oct 28 11:27:51 1999 Neil Brown <neilb@cse.unsw.edu.au>
892 * support/include/nfs/export.h addedd NFSEXP_NOSUBTREECHECK
893 * support/nfs/exports.c: added {no_,}subtree_check and changed
895 * utils/exportfs/exports.man: added no_subtree_check and nohide
896 and removed irrelevant stuff from unfsd.
897 * support/export/rmtab.c: rmtab_read didn't quite do the right
898 thing if a pathname from rmtab was a subdirectory of an export-point
900 Tue Oct 26 17:22:40 1999 H.J. Lu <hjl@lucon.org>
902 * README: Updated ftp site.
904 Mon Oct 25 18:12:45 1999 H.J. Lu <hjl@lucon.org>
906 * nfs-utils.spec (Version): Set to 0.1.2.
908 * configure.in (VERSION): Set to "nfs-utils 0.1.2".
909 * configure: Regenerated.
913 Mon Oct 25 18:11:21 1999 H.J. Lu <hjl@lucon.org>
915 * utils/mountd/auth.c (auth_error): Add "no_forward_dns".
916 (auth_authenticate_internal): Check for NULL return on forward
918 (auth_authenticate): Handle "no_forward_dns".
920 Thu Oct 21 16:22:06 1999 H.J. Lu <hjl@lucon.org>
922 * Version 0.1.1 released.
924 * nfs-utils.spec (Version): Set to 0.1.1.
926 * configure.in (VERSION): Set to "nfs-utils 0.1.1".
927 * configure: Regenerated.
931 Mon Oct 18 17:43:29 1999 H.J. Lu <hjl@lucon.org>
933 * nfs-utils.spec (Obsoletes): Fixed a typo, change knfsd-client
935 (Provides): Likewise.
937 Mon Oct 18 14:56:22 1999 H.J. Lu <hjl@lucon.org>
939 * Initial version 0.1 released.
941 * configure.in (VERSION): Set to "nfs-utils 0.1".
942 * configure: Regenerated.
944 Mon Oct 18 14:54:57 1999 H.J. Lu <hjl@lucon.org>
946 * utils/mountd/mountd.c (get_exportlist): Cleanup.
948 * utils/exportfs/exportfs.c (unexport_all): Unexport from
949 kernel only if the entry is exported to kernel.
950 (unexportfs): Likewise.
952 Wed Sep 08 16:49:32 1999 Neil Brown <neilb@cse.unsw.edu.au>
954 1/ utils/mountd/rmtab.c::mountlist_list
956 This routine stats the rmtab file to see if it has changed. It
957 if has, it cleans up it's old copy of the data. But it still
958 always re-read the file, thus returning multiple copies of the
959 data on consecutive calls without intervening changes.
960 "Showmount -a" didn't show this as it appears to sort/unique the
961 data, but 'strace showmount -a' showed that the size of the
962 datagram that it received grew.
964 I moved the getrmtabent loop inside the mtime test.
966 2/ utils/exportfs/exportfs.c
968 Many routines used the m_path field of m_export instead of
970 According to the comment in nfslib.h, m_path should only
971 be used when processing a mount request (i.e. in mountd)
972 where the mountpoint may be a subdirectory of the export point.
974 I changed all occurances of m_path to e_path
977 3/ utils/exportfs/exportfs.c:main
979 extra arguments are not meaningful with -a or -r, but
980 exportfs accepted them and then ignored the -a/-r, expect that
981 -r would still unexport everything first.
983 I generate an error if there are extra args and f_all
985 4/ utils/exportfs/exportfs.c:main
986 extract dump out as a special case.
988 5/ utils/exportfs/exportfs.c
989 made f_reexport a local variable.
992 6/ utils/exportfs/exportfs.c:main,exportall
994 support/export/rmtab.c
995 only mayexport on newly created entries, don't set xtabent at all
997 7/ support/include/nfslib.h
999 add #define _PATH_PROC_EXPORTS to be /proc/fs/nds/exports
1001 8/ support/export/xtab.c
1003 xtab_mount_read loads data from _PATH_PROC_EXPORTS if it exists,
1007 9/ support/export/xtab.c
1009 xtab_mount_read now sets m_exported, and NOT
1010 xtabent and mayexport
1012 removed the append arguement from xtab_write as it was
1015 added is_export flag to xtab_write similar to xtab_read
1016 if is_export, only write entries with m_xtabent or m_addxtab
1017 if !is_export, only write entries with m_exported
1019 10/ support/export/export.c::export_allowed_internal
1021 added test for exp->m_mayexport, as the export tree
1022 may have entries that are no longer allowed to be exported,
1023 and so shouldn't caused deduced exported by rmtab_read
1025 11/ utils/exportfs/exportfs.c::main
1026 error checking of flags.
1028 12/ utils/exportfs/exportfs.c
1030 total rewrite of export and unexport logic.
1032 - build an exportslist of valid exports, based on
1033 current etab file and arguments,
1034 - read rmtab to instantiate relevant wild card entries
1035 - read etab to find out what is currently exported
1036 - synchronise intention with reality
1037 - write out etab and xtab
1040 discard the m_addxtab flag
1041 add m_changed flag so we know what to report in exportfs
1043 14/ utils/mountd/auth.c:auth_authenticate
1045 the value returned by gethostbyaddr was trusted.
1047 It now follows this with a call to gethostbyname
1048 and checks that the address is in the list.
1050 15/ support/export/nfsctl.c::cltsetup,expsetup
1052 force client names to lowercase as kernel is
1055 16/ quietened a few compiler warnings
1057 17/ support/export/client:client_lookup
1059 look for pre-existing client with same name before creating
1062 18/ support/include/exportfs.h
1064 The ordering of the MCL_* enum was:
1065 ANONYMOUS, FQDN, SUBNETWORK, WILDCARD, NETGROUP
1067 I moved ANONYMOUS to the end.
1069 The ordering is significant when an export entry is being searched for to
1070 match a given address. There are two problems with ANONYMOUS being first.
1072 1/ if a directory is exported rw to a couple of hosts and ro to everyone else,
1073 then the ro case will always be found first and the privileged hosts won't get
1075 2/ When mountd gets a request to mount an ANONYMOUSly exported tree, it creates a FQDN
1076 export entry for the specific host, and writes it to xtab.
1077 When another request comes from the same host, the ANONYMOUS entry is found again,
1078 before the new FQDN entry, so it creates another FQDN entry and writes it to xtab
1079 again. If causes bloat in xtab.
1081 Putting ANONYMOUS at the end reflects it's nature as a catch-all
1083 19/ utils/exportfs/exportfs.man
1084 many updates to the man page to reflect changes to the code
1086 -----------------------
1092 - allow exportfs to modify rmtab file
1093 - make sure kernel never gets two clients with same IP address
1094 - possible kernel should reject
1095 - needs to be some way to lookup client in kernel by IP address
1096 - maybe get kernel to do case-insensitive comparisons on client names
1097 - remove unused clients from kernel
1099 - change etab to xtab and xtab to xtab.active
1101 - timestamp and/or statd-stamp in rmtab for removing old entries.
1103 Mon Oct 18 11:48:07 1999 H.J. Lu <hjl@lucon.org>
1105 * linux-nfs: New directory.
1106 * linux-nfs/ChangeLog: Moved from ..
1107 * linux-nfs/INSTALL: Likewise.
1108 * linux-nfs/KNOWNBUGS: Likewise.
1109 * linux-nfs/NEW: Likewise.
1110 * linux-nfs/README: Likewise.
1111 * linux-nfs/THANKS: Likewise.
1112 * linux-nfs/TODO: Likewise.
1114 * Starting from knfsd 1.4.7.