1 2001-04-21 H.J. Lu <hjl@lucon.org>
3 * nfs-utils.spec.in: Fix cross build.
4 * nfs-utils.spec: Regenerated.
7 2001-04-18 H.J. Lu <hjl@lucon.org>
9 * nfs-utils.spec.in: Support cross build.
10 * nfs-utils.spec: Regenerated.
16 * config.mk.in (BUILD_CC): New.
17 (CC): Set to $(BUILD_CC) if BUILD is defined.
20 (RANLIB): Set to @RANLIB@.
22 * configure.in: Check BUILD_CC, RANLIB, AR and LD.
23 * configure: Regenerated.
25 * tools/rpcgen/Makefile (BUILD): Set to true.
27 2001-04-01 Chip Salzenberg <chip@valinux.com>
29 * tools/rpcgen/rpc_svcout.c (write_timeout_func): Remove
30 redundant, and sometimes broken, declaration of svc_fdset;
32 * support/nfs/rpcmisc.c (closedown): Likewise.
34 2001-03-21 H.J. Lu <hjl@lucon.org>
36 * nfs-utils.spec: Regenerated.
39 2001-03-21 Ion Badulescu <ionut@cs.columbia.edu>
41 * utils/statd/statd.c (main): make sure file descriptors 0-2
42 are open to /dev/null.
44 2001-03-21 H.J. Lu <hjl@lucon.org>
46 * support/nfs/rpcmisc.c: Restore the change made on 2001-03-10.
47 * support/nfs/rpcmisc.c: Likewise.
48 * utils/rquotad/rquota_svc.c: Likewise.
49 * utils/rquotad/rquotad.man: Likewise.
50 * utils/statd/Makefile: Likewise.
51 * utils/statd/rmtcall.c: Likewise.
52 * utils/statd/simulate.c: Likewise.
53 * utils/statd/statd.c: Likewise.
54 * utils/statd/statd.man: Likewise.
56 2001-03-11 H.J. Lu <hjl@lucon.org>
58 * configure.in (RELEASE): New. Default to 1, set by
59 --with-release=XXX. Substitute nfs-utils.spec.
60 * nfs-utils.spec.in (Release): Set to @RELEASE@.
61 * configure: Regenerated.
62 * nfs-utils.spec: Likewise.
64 2001-03-11 H.J. Lu <hjl@lucon.org>
66 * utils/rquotad/rquotad.man: Fix a typo.
68 2001-03-11 H.J. Lu <hjl@lucon.org>
70 * support/include/rpcmisc.h: Undo the change made on 2001-03-10.
71 * support/nfs/rpcmisc.c: Likewise.
72 * utils/rquotad/rquota_svc.c: Likewise.
73 * utils/rquotad/rquotad.man: Likewise.
74 * utils/statd/Makefile: Likewise.
75 * utils/statd/rmtcall.c: Likewise.
76 * utils/statd/simulate.c: Likewise.
77 * utils/statd/statd.c: Likewise.
78 * utils/statd/statd.man: Likewise.
80 2001-03-10 H.J. Lu <hjl@lucon.org>
82 * configure.in (VERSION): Set to "0.3.2".
83 * configure: Regenerated.
84 * nfs-utils.spec: Likewise.
86 * README: Updated for 0.3.2.
88 2001-03-10 Tavis Barr <tavis@boole.isetr.columbia.edu>
90 * utils/rquotad/rquotad.man: Updated for -p.
91 * utils/statd/statd.man: Likewise.
93 2001-03-10 Ion Badulescu <ionut@cs.columbia.edu>
95 * support/nfs/rpcmisc.c: export makesock()
97 * support/include/rpcmisc.h (makesock): Declared.
99 * utils/rquotad/rquota_svc.c: added longopts, added support for
100 specifying the port to bind to on the command line.
102 * utils/statd/statd.c: ditto, also specify port used for
103 outgoing connections.
104 (do_regist): Removed.
106 * utils/statd/rmtcall.c (statd_get_socket): Renamed from
107 get_socket. Make it extern.
109 * utils/statd/simulate.c (daemon_simulator): Call rpc_init
110 instead of do_regist.
112 * utils/statd/Makefile (LIBS): link with our own libnfs
114 2001-03-09 H.J. Lu <hjl@lucon.org>
116 * etc/redhat/nfslock.init: Changed chkconfig line to 60 86.
117 * etc/nodist/nfs-client: Likewise.
119 2001-02-26 Chip Salzenberg <chip@valinux.com>
121 * debian/changelog: Version 0.3.1-1.
122 * Mention upstream source and license in copyright file.
123 * Add build-Depends for debhelper and libwrap0-dev.
125 2001-02-20 Lon Hohberger <hohberger@missioncriticallinux.com>
127 * etc/nodist/nfs-server: Changed chkconfig line to 60 20
128 * etc/nodist/nfs-client: Likewise.
130 2001-02-18 Lon Hohberger <hohberger@missioncriticallinux.com>
132 * utils/statd/statd.man: Changed /usr/sbin/rpc.statd to
135 2001-02-17 Patrick J. LoPresti <patl@curl.com>
137 * utils/statd/log.c (log_init): Use LOG_DAEMON instead of
140 2001-02-14 H.J. Lu <hjl@lucon.org>
142 * utils/statd/rmtcall.c: Include <time.h>.
143 * utils/statd/svc_run.c: Likewise.
145 2001-02-14 H.J. Lu <hjl@lucon.org>
147 * configure.in (VERSION): Set to "0.3.1".
148 * configure: Regenerated.
149 * nfs-utils.spec: Likewise.
151 * README: Updated for 0.3.1.
153 2001-02-14 H.J. Lu <hjl@lucon.org>
155 * support/nfs/rpcmisc.c: Include <time.h>.
157 2001-02-14 Chip Salzenberg <chip@valinux.com>
159 * debian/control: Change priority of nhfsstone package to 'extra'.
161 2001-02-12 Chip Salzenberg <chip@valinux.com>
163 * debian/changelog: Version 0.3-2.
165 2001-02-02 H.J. Lu <hjl@lucon.org>
167 * support/include/rpcmisc.h (rpc_init): Remove bufsize.
169 * support/nfs/rpcmisc.c (makesock): Remove socksz and comment
170 out SO_SNDBUF/SO_RCVBUF.
171 (rpc_init): Remove bufsize and remove socksz in calls to
174 * utils/mountd/mountd.c (main): Remove bufsize in calls to
177 2001-01-28 Chip Salzenberg <chip@valinux.com>
179 * debian/changelog: Version 0.3-1.
181 2001-01-25 H.J. Lu <hjl@lucon.org>
183 * configure.in (VERSION): Set to "0.3".
184 * configure: Regenerated.
185 * nfs-utils.spec: Likewise.
187 * README: Updated for 0.3.
189 2001-01-25 H.J. Lu <hjl@lucon.org>
191 * utils/lockd/lockd.c (main): Ignore errno == EINVAL.
193 2001-01-20 Chip Salzenberg <chip@valinux.com>
195 * support/include/xio.h (xgetc): Declare to return int.
196 * support/nfs/xio.c (xgetc): Return int.
197 (xgettok, xskip, xskipcomment): Use int for value of xgetc.
198 * utils/statd/statd.c (main): Use int for value of getopt.
199 * debian/changelog: Version 0.2.1-5.
201 2000-12-10 Chip Salzenberg <chip@valinux.com>
203 * utils/statd/monitor.c (sm_mon_1_svc): Fix buggy check for
204 program and procedure numbers of kernel lockd's callback. Also,
205 besides the old (and broken) procedure #24, allow #16 per Trond.
207 2000-12-03 Chip Salzenberg <chip@valinux.com>
209 * support/nfs/xio.c (xfopen): Initialize x_line to one, not zero.
210 * debian/control: Let nhfsstone replace files in nfs-kernel-server.
211 * debian/changelog: Version 0.2.1-4.
213 2000-11-27 Tobias Ringstrom <tori@tellus.mine.nu>
215 * utils/mountd/auth.c (auth_authenticate): Log the bad path
218 2000-11-24 Neil Brown <neilb@cse.unsw.edu.au>
220 * support/nfs/exports.c (getexportent): Check for host name
221 without option, or options without hostname, and print a warning,
222 as this is most likely a typo.
224 2000-11-19 Chip Salzenberg <chip@valinux.com>
226 * debian/control: Add dependency on portmap.
227 * debian/changelog: Version 0.2.1-3.
229 2000-11-10 H.J. Lu <hjl@lucon.org>
231 * nfs-utils.spec.in: Don't use libtool.
232 Add ChangeLog and COPYING to doc.
233 * nfs-utils.spec: Rebuild.
235 2000-11-09 H.J. Lu <hjl@lucon.org>
237 * etc/redhat/nfs.init (start): Back out the last change.
239 2000-11-09 H.J. Lu <hjl@lucon.org>
241 * etc/redhat/nfs.init (start): Pass --no-tcp to mountd if
242 TCP is not supported by kernel.
244 * support/nfs/rpcmisc.c (rpc_init): Don't set _rpcfdtype to 0.
246 * utils/mountd/mountd.c (longopts): Add "-n/--no-tcp".
247 (main): Set to _rpcfdtype to SOCK_DGRAM for "-n/--no-tcp".
249 * utils/mountd/mountd.man: Updated for "-n/--no-tcp".
251 2000-10-24 Lon Hohberger <hohberger@missioncriticallinux.com>
253 * utils/statd/callback.c: Fix bug preventing callbacks to local lockd.
254 * utils/statd/rmtcall.c: Add some IP address paranoia when doing
255 callbacks to local lockd.
257 2000-10-18 Scott McDermott <mcdermot@questra.com>
259 * utils/exportfs/exports.man: Updated for CIDR netmask.
261 2000-10-17 Scott McDermott <mcdermot@questra.com>
263 * support/export/client.c (client_init): Support CIDR netmask
266 2000-10-11 H.J. Lu <hjl@lucon.org>
268 * aclocal.m4 (AC_TCP_WRAPPER): Fix a typo.
269 * configure: Rebuilt.
271 2000-10-06 Lon Hohberger <hohberger@missioncriticallinux.com>
273 * utils/statd/statd.man: Change "/var/lib/nfs/sm/state" to
274 "/var/lib/nfs/state".
276 2000-10-05 Lon Hohberger <hohberger@missioncriticallinux.com>
278 * utils/statd/statd.h (run_mode): New global bitmask of runtime
279 behaviors: fg/bg, logging, etc.
280 * utils/statd/statd.c: New command line options: -V -h -? -d .
281 * utils/statd/statd.man: Update for changes to statd.
283 * utils/statd/log.h (log_init): Remove parameter of function; use
284 global variable "name_p" instead.
285 * utils/statd/log.c: Add support for logging to stderr.
287 * utils/statd/notlist.c: Partially rewrite notify list handling
288 functions. Eliminate run-off-end-of-list bug when calling
289 nlist_insert_timer. Add lots of comments.
291 2000-09-27 H.J. Lu <hjl@lucon.org>
293 * README: Updated for RedHat 7.0.
295 2000-09-27 H.J. Lu <hjl@lucon.org>
297 * nfs-utils.spec: Rebuild.
299 2000-09-27 H.J. Lu <hjl@lucon.org>
301 * README: Updated for 0.2.1.
303 2000-09-27 H.J. Lu <hjl@lucon.org>
305 * nfs-utils.spec.in: Updated to use rpm macros and support
308 2000-09-25 H.J. Lu <hjl@lucon.org>
310 * configure.in (VERSION): Set to "0.2.1".
311 * configure: Regenerated.
312 * nfs-utils.spec: Updated.
314 2000-09-25 H.J. Lu <hjl@lucon.org>
316 * utils/mountd/auth.c (auth_authenticate_internal): Make sure a
317 non-NULL hostent is always returned.
319 2000-09-11 Ion Badulescu <ionut@cs.columbia.edu>
321 * etc/redhat/nfslock.init: don't kill lockd processes that do not
322 have an executable (i.e. kernel threads)
324 2000-09-01 H.J. Lu <hjl@lucon.org>
326 * README: Updated for 0.2.
328 2000-09-01 Jay Weber <jweber@valinux.com>
330 * etc/redhat/nfs.init: Added ability for rpc.mountd to default to
331 supporting version 3 of nfs if available, else it will fall back to
332 version 2 support only.
334 2000-08-30 H.J. Lu <hjl@lucon.org>
336 * configure.in (VERSION): Set to "0.2".
337 * configure: Regenerated.
338 * nfs-utils.spec: Updated.
340 2000-08-25 H.J. Lu <hjl@lucon.org>
342 * support/misc/tcpwrapper.c (logit): Modify the log output.
344 2000-08-25 Ion Badulescu <ionut@cs.columbia.edu>
346 * utils/rquotad/rquotad.man, utils/statd/statd.man,
347 utils/mountd/mountd.man: updated
349 * utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL)
350 * utils/rquotad/Makefile: fix comment
352 * support/misc/tcpwrapper.c (logit): added comment about waiting
353 for the children after fork()
355 * utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving
356 zombies behind (from logit()'s fork)
357 * utils/rquotad/rquota_svc.c (main): ditto
358 * utils/statd/statd.c (main): ditto
360 * utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG
361 to check_default instead of 0, for prognum
363 * utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG
364 to check_default instead of 0, for prognum
366 * utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if
367 HAVE_TCP_WRAPPER is defined.
368 (mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is
369 defined. Reject an RPC call if check_default () fails.
371 2000-08-25 H.J. Lu <hjl@lucon.org>
373 * support/include/tcpwrapper.h: New for the tcp wrapper
375 * support/misc/Makefile: Likewise.
376 * support/misc/from_local.c: Likewise.
377 * support/misc/tcpwrapper.c: Likewise.
379 * aclocal.m4 (AC_TCP_WRAPPER): New.
380 * configure.in: Use it. Substitute LIBWRAP.
381 * configure: Rebuilt.
383 * config.mk.in (LIBNSL): New.
386 * support/Makefile (SUBDIRS): Add misc.
388 * support/lib/Makefile (LIBS): Add libmisc.a.
390 * utils/rquotad/Makefile (LIBS): Add
392 -lmisc $(LIBWRAP) $(LIBNSL)
394 * utils/statd/Makefile (LIBS): Likewise.
396 * utils/rquotad/rquota_svc.c: Include "tcpwrapper.h" if
397 HAVE_TCP_WRAPPER is defined.
398 (rquotaprog_1): Call check_default () if HAVE_TCP_WRAPPER is
399 defined. Reject an RPC call if check_default () fails.
401 * utils/statd/statd.c: Include "tcpwrapper.h" if
402 HAVE_TCP_WRAPPER is defined.
403 (sm_prog_1_wrapper): New. A wrapper for sm_prog_1. Call
404 check_default () before calling sm_prog_1 (). Define it as
405 sm_prog_1_wrapper if HAVE_TCP_WRAPPER is defined.
407 2000-08-25 Chip Salzenberg <chip@valinux.com>
409 * debian/*: Complete Debian build support.
410 * etc/debian/*: Remove.
412 2000-08-24 Neil Brown <neilb@cse.unsw.edu.au>
414 * support/export/client.c(client_check): removed the "dot+1" as a
415 ypdomain argument to innetgr as this is entirely bogus.
416 It should always be NULL.
418 2000-08-23 Neil Brown <neilb@cse.unsw.edu.au>
420 * support/export/xtab.c(xtab_read): introduce new mode for
421 reading xtab. i.e. a list of exports that might be known to the
422 kernel, or might not. These are flagged as m_exported == -1
423 * support/export/xtab.c(xtab_mount_read): call xtab_read with new
424 value "2" for xtab, meaning don't trust this too much.
425 * support/include/exportfs.h(struct mexport): changed m_exported
426 from one bit to an int so that it can hold new value
427 * utils/exportfs/exportfs.c(exportfs_ipdate): add an export to the
428 kernel if it is uncertain whether the kernel knows (m_exported == -1)
429 * utils/mountd/mountd.c(get_rootfh): similarly export to kernel if
432 * support/nfs/xio.c(xflock): added O_CREAT when getting
433 a write lock so that missing files aren't fatal.
435 * etc/debian/nfs-common: new file from "potato"
436 * etc/debian/nfs-kernel-server: new file from "potato" plus fixes.
438 2000-08-09 H.J. Lu <hjl@lucon.org>
440 * etc/redhat/nfs.init: Run /usr/sbin/exportfs first during
441 startup to ensure all existing clients work fine.
443 * support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0
444 to xtab_read () for reading _PATH_XTAB.
446 2000-08-02 H.J. Lu <hjl@lucon.org>
448 * utils/mountd/auth.c (auth_authenticate_internal): Try to
449 avoid the reverse name lookup.
451 2000-07-04 H.J. Lu <hjl@lucon.org>
453 * utils/statd/log.c: Include <stdlib.h> for exit ().
455 * utils/statd/misc.c (xunlink): Add `{' and `}' to quiet the
458 2000-07-04 H.J. Lu <hjl@lucon.org>
460 * configure.in (VERSION): Set to "0.1.9.1".
461 * configure: Regenerated.
462 * nfs-utils.spec: Updated.
466 2000-07-04 Neil Brown <neilb@cse.unsw.edu.au>
468 * support/export/hostname.c (hostent_dup): Handle the NULL
471 2000-07-03 H.J. Lu <hjl@lucon.org>
473 * README: Update the util-linux requirement.
475 2000-07-03 H.J. Lu <hjl@lucon.org>
477 * configure.in (VERSION): Set to "0.1.9".
478 * configure: Regenerated.
479 * nfs-utils.spec: Updated.
483 2000-07-03 H.J. Lu <hjl@lucon.org>
485 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
486 stop to ensure all clients can still access the server
487 before it is shutdown.
489 2000-06-30 Jeff Uphoff <juphoff@transmeta.com>
491 * tools/rpcgen/rpc_svcout.c (write_msg_out): Generate syslog()
492 calls with format string.
494 2000-06-28 Chip Salzenberg <chip@valinux.com>
496 * utils/statd/log.c (log): Call syslog with format string.
498 2000-06-27 H.J. Lu <hjl@lucon.org>
500 * utils/statd/statd.c (main): Use sysconf (_SC_OPEN_MAX)
503 2000-06-27 H.J. Lu <hjl@lucon.org>
507 2000-06-27 H.J. Lu <hjl@lucon.org>
509 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
510 startup to ensure all existing clients are exported.
512 * configure.in (VERSION): Set to "0.1.8.2".
513 * configure: Regenerated.
514 * nfs-utils.spec: Updated.
516 2000-06-06 H.J. Lu <hjl@lucon.org>
518 * configure.in (VERSION): Set to "0.1.8.1".
519 * configure: Regenerated.
520 * nfs-utils.spec: Updated.
522 2000-06-06 H.J. Lu <hjl@lucon.org>
524 * utils/mountd/mountd.c (mount_dump_1_svc): Cast svc_getcaller
525 to "struct sockaddr_in *" for glibc 2.2.
526 (mount_umnt_1_svc): Likewise.
527 (mount_umntall_1_svc): Likewise.
528 (mount_export_1_svc): Likewise.
529 (mount_exportall_1_svc): Likewise.
530 (mount_pathconf_2_svc): Likewise.
531 (get_rootfh): Likewise.
533 2000-06-04 H.J. Lu <hjl@lucon.org>
535 * etc/redhat/nfs.init: Fix a typo in comment.
537 2000-05-31 H.J. Lu <hjl@lucon.org>
539 * configure.in (VERSION): Set to "0.1.8".
540 * configure: Regenerated.
541 * nfs-utils.spec: Updated.
545 2000-05-31 H.J. Lu <hjl@lucon.org>
547 * configure.in (VERSION): Set to "0.1.7.5".
548 * configure: Regenerated.
549 * nfs-utils.spec: Updated.
551 * support/include/nfslib.h (exportent): Add a new field,
552 r_count, to count the number of mounts from a client.
553 (getrmtabent): Take a new argument for position in file.
554 (putrmtabent): Likewise.
555 (fgetrmtabent): Likewise.
556 (fputrmtabent): Likewise.
557 * support/nfs/rmtab.c (getrmtabent): Handle the new argument
558 for position in file.
559 (fgetrmtabent): Likewise.
560 (putrmtabent): Likewise.
561 (fputrmtabent): Likewise.
563 * support/nfs/rmtab.c (fgetrmtabent): Get value for the new
566 * support/export/rmtab.c (rmtab_read): Pass NULL as the new
567 argument to getrmtabent (), fgetrmtabent (), putrmtabent ()
569 * utils/mountd/rmtab.c (mountlist_add): Likewise.
570 (mountlist_del): Likewise.
571 (mountlist_del_all): Likewise.
572 (mountlist_list): Likewise.
574 * utils/mountd/rmtab.c (mountlist_add): Increment "r_count"
575 for the existing entry and initialize "r_count" to 1.
576 (mountlist_del): Decrement "r_count".
578 2000-05-18 H.J. Lu <hjl@lucon.org>
580 * configure.in (VERSION): Set to "0.1.7.4".
581 * configure: Regenerated.
582 * nfs-utils.spec: Updated.
584 2000-05-18 H.J. Lu <hjl@lucon.org>
586 * etc/redhat/nfs.init (restart): Just do stop and start.
588 2000-05-09 Jay Weber <jweber@valinux.com>
590 * utils/rquotad/hasquota.c: added support for ext3 recognition
592 * utils/rquotad/mntent.h: Likewise.
594 2000-05-01 H.J. Lu <hjl@lucon.org>
596 * configure.in (VERSION): Set to "0.1.7.3".
597 * configure: Regenerated.
598 * nfs-utils.spec: Updated.
600 2000-05-01 H.J. Lu <hjl@lucon.org>
602 * utils/rquotad/rquota_server.c (getquotainfo): Skip bad
603 mounting poins in /etc/fstab.
605 2000-05-01 H.J. Lu <hjl@lucon.org>
607 * configure.in (VERSION): Set to "0.1.7.2".
608 * configure: Regenerated.
609 * nfs-utils.spec: Updated.
611 2000-05-01 H.J. Lu <hjl@lucon.org>
613 * utils/rquotad/rquota_server.c (getquotainfo): Call stat ()
614 to check for the mounting point.
616 2000-04-29 Chip Salzenberg <chip@valinux.com>
617 Neil Brown <neilb@cse.unsw.edu.au>
619 * Really re-use RPC ports.
620 (Fixes earlier patch. Sorry, Neil.)
622 2000-04-26 H.J. Lu <hjl@lucon.org>
624 * configure.in (VERSION): Set to "0.1.7.1".
625 * configure: Regenerated.
626 * nfs-utils.spec: Updated.
628 2000-04-26 H.J. Lu <hjl@lucon.org>
630 * etc/redhat/nfslock.init: Check if lockd exits before killing
633 2000-04-25 H.J. Lu <hjl@lucon.org>
635 * README: Require util-linux-2.10f-mount-rpc.patch for mount.
637 2000-03-21 Michael Weiser <michael@weiser.saale-net.de>
639 * support/nfs/exports.c (parsesquash): Correctly set the
642 Tue Mar 21 11:38:48 EST 2000 NeilBrown <neilb@cse.unsw.edu.au>
644 * support/include/nfs/nfs.h: Removed knowledge of internals of
645 kernel filehandles (which can change) and defined nfs_fh_size
646 which has variable size
648 * support/nfs/getfh.c: defined getfh_size to use new syscall to
649 get variable sized file handles, and change getfh{,old} to
652 * utils/mountd/mountd.c: use nfd_fh_size and call getfh_size for
655 * tools/Makefile, tools/nlmtest/nlmtest.c
656 nlmtest.c depended on internel format of file handles, so now
660 2000-03-12 Chip Salzenberg <chip@valinux.com>
661 Neil Brown <neilb@cse.unsw.edu.au>
663 * support/nfs/rpcmisc.c (rpc_init): Share transports.
665 2000-03-13 H.J. Lu <hjl@lucon.org>
667 * etc/redhat/nfsd.init: Updated.
669 * etc/redhat/nfslock.init: Updated.
671 * nfs-utils.spec.in: Updated.
673 * configure.in (VERSION): Set to "0.1.7".
674 * configure: Regenerated.
675 * nfs-utils.spec: Updated.
679 Wed Mar 8 09:42:43 2000 Neil Brown <neilb@cse.unsw.edu.au>
681 * utils/exportfs/exportfs.c (dump): Included printing of
682 nohide, no_subtree_check, and insecure_locks
684 2000-02-26 Chip Salzenberg <chip@valinux.com>
686 * config.mk.in (INSTALLSUID): Strip ("-s").
687 (INSTALLSCRIPT): Define.
688 * utils/nhfsstone/Makefile: Use it.
690 2000-02-26 Chip Salzenberg <chip@valinux.com>
692 * utils/lockd/lockd.man: Create.
693 * utils/lockd/Makefile: Install it.
694 * utils/nhfsstone/nhfs{run,nums,graph}.man: Create.
695 * utils/nhfsstone/nhfsstone.man: Change suffix from ".1".
696 * utils/nhfsstone/Makefile: Install the helper scripts and
698 * utils/exportfs/exports.man: Fix typo.
700 2000-02-26 Chip Salzenberg <chip@valinux.com>
702 * support/nfs/xio.c (xungetc): Decrement line number when
703 character to unget is newline. Make first parameter int, so
704 it can distinguish EOF from \377.
705 * support/include/xio.h (xungetc): Adjust prototype.
707 Fri Feb 4 23:42:23 2000 Neil Brown <neilb@cse.unsw.edu.au>
709 * support/include/nfs/export.h: added NFSEXP_NOAUTHNLM
710 * support/nfs/exports.c: added handling for NFSEXP_NOAUTHNLM
711 * utils/exportfs/exports.man: added documentation for no_auth_nlm.
713 This is for supporting a new option introduced in 2.3.42
715 Thu Feb 3 14:55:48 2000 H.J. Lu <hjl@lucon.org>
717 * COPYING: Added. GPL.
719 Thu Feb 03 14:40:40 2000 Cristian Gafton <gafton@redhat.com>
721 * utils/rquotad/rquota_server.c (getquotainfo): Call statfs ()
722 to get the block size.
724 Tue Jan 25 11:04:17 2000 H.J. Lu <hjl@lucon.org>
726 * nfs-utils.spec.in: Update ftp site.
728 Mon Jan 17 11:48:18 2000 H.J. Lu <hjl@lucon.org>
730 * README: Update hostnames.
732 Tue Jan 11 10:06:22 2000 H.J. Lu <hjl@lucon.org>
734 * configure.in (VERSION): Set to "0.1.6".
735 * configure: Regenerated.
736 * nfs-utils.spec: Updated.
740 Mon Jan 10 14:26:33 2000 H.J. Lu <hjl@lucon.org>
742 * utils/mountd/auth.c (auth_authenticate_internal): Call
743 xstrdup for hostname before passing it to gethostbyname.
745 * utils/mountd/mountd.c (get_exportlist): Use xstrdup instead
748 Sun Dec 19 09:35:01 1999 H.J. Lu <hjl@lucon.org>
750 * README: Update the mailing list address.
752 Sun Dec 19 09:22:28 1999 H.J. Lu <hjl@lucon.org>
754 * configure.in (VERSION): Set to "0.1.5".
755 * configure: Regenerated.
756 * nfs-utils.spec: Updated.
760 Mon Dec 13 13:40:20 1999 H.J. Lu <hjl@lucon.org>
762 * utils/rquotad/hasquota.c (hasquota): Malloc one more char
765 Mon Dec 6 09:42:45 1999 H.J. Lu <hjl@lucon.org>
767 * configure.in (VERSION): Set to "0.1.4".
768 * configure: Regenerated.
769 * nfs-utils.spec: Updated.
773 Mon Dec 6 09:28:07 1999 H.J. Lu <hjl@lucon.org>
775 * nfs-utils.spec.in: New file.
777 * config.mk.in (VERSION): Changed to "nfs-utils @VERSION@".
779 * configure.in (nfs-utils.spec): Added to AC_OUTPUT.
781 1999-12-04 Chip Salzenberg <chip@valinux.com>
783 * config.mk.in: Use $(CC) as set by configure.
785 1999-12-04 Chip Salzenberg <chip@valinux.com>
787 * rules.mk: Call $(MAKE) with $(MFLAGS).
789 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
791 * tools/rpcgen/rpc_main.c (h_output): Generate IXDR_GET_INT32,
792 IXDR_PUT_INT32, IXDR_GET_U_INT32 and IXDR_PUT_U_INT32.
794 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
796 * nfs-utils.spec (Version): Set to 0.1.3.
798 * configure.in (VERSION): Set to "nfs-utils 0.1.3".
799 * configure: Regenerated.
803 Mon Nov 29 11:15:47 1999 H.J. Lu <hjl@lucon.org>
805 * utils/rquotad/rquota_server.c (nfsmount_to_devname): Removed.
806 (_PATH_DEV_DSK): Likewise.
807 (getquotainfo): Match the mounting point from /etc/mtab
808 instead of calling nfsmount_to_devname ().
810 1999-11-24 Chip Salzenberg <chip@valinux.com>
812 * utils/statd/monitor.c (sm_mon_1_svc): Accept lockd callbacks
813 to the new port 24 as well as the historical port 100021.
815 Tue Nov 23 10:21:34 1999 Neil Brown <neilb@cse.unsw.edu.au>
817 * etc/redhat/nfsd.init (stop): moved exportfs -ua after
818 stopping nfsd to stop spurious ESTALE on server shutdown.
820 Tue Nov 23 10:13:39 1999 Neil Brown <neilb@cse.unsw.edu.au>
822 * support/nfs/exports.c (parseopts): make copy of opt string
823 before 'nul'ing out commas so that
825 # exportfs -o option1,option2 hosta:/fs hostb:/fs
827 applies both options to both exports.
829 Thu Oct 28 12:55:42 1999 H.J. Lu <hjl@lucon.org>
831 * README: Fix a few typos.
833 * tools/rpcgen/rpc_cout.c (print_header): Use int32_t instead
835 * tools/rpcgen/rpc_hout.c (pdefine): Likewise.
836 * tools/rpcgen/rpc_main.c (c_initialize): Likewise.
837 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
838 (unsigned_dec): Likewise.
839 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
840 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
842 * tools/rpcgen/rpc_cout.c (emit_single_in_line): Use INT32
844 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
845 (unsigned_dec): Likewise.
846 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
847 * tools/rpcgen/rpc_scan.h (tok_kind): Likewise.
848 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
850 Thu Oct 28 11:27:51 1999 Neil Brown <neilb@cse.unsw.edu.au>
852 * support/include/nfs/export.h addedd NFSEXP_NOSUBTREECHECK
853 * support/nfs/exports.c: added {no_,}subtree_check and changed
855 * utils/exportfs/exports.man: added no_subtree_check and nohide
856 and removed irrelevant stuff from unfsd.
857 * support/export/rmtab.c: rmtab_read didn't quite do the right
858 thing if a pathname from rmtab was a subdirectory of an export-point
860 Tue Oct 26 17:22:40 1999 H.J. Lu <hjl@lucon.org>
862 * README: Updated ftp site.
864 Mon Oct 25 18:12:45 1999 H.J. Lu <hjl@lucon.org>
866 * nfs-utils.spec (Version): Set to 0.1.2.
868 * configure.in (VERSION): Set to "nfs-utils 0.1.2".
869 * configure: Regenerated.
873 Mon Oct 25 18:11:21 1999 H.J. Lu <hjl@lucon.org>
875 * utils/mountd/auth.c (auth_error): Add "no_forward_dns".
876 (auth_authenticate_internal): Check for NULL return on forward
878 (auth_authenticate): Handle "no_forward_dns".
880 Thu Oct 21 16:22:06 1999 H.J. Lu <hjl@lucon.org>
882 * Version 0.1.1 released.
884 * nfs-utils.spec (Version): Set to 0.1.1.
886 * configure.in (VERSION): Set to "nfs-utils 0.1.1".
887 * configure: Regenerated.
891 Mon Oct 18 17:43:29 1999 H.J. Lu <hjl@lucon.org>
893 * nfs-utils.spec (Obsoletes): Fixed a typo, change knfsd-client
895 (Provides): Likewise.
897 Mon Oct 18 14:56:22 1999 H.J. Lu <hjl@lucon.org>
899 * Initial version 0.1 released.
901 * configure.in (VERSION): Set to "nfs-utils 0.1".
902 * configure: Regenerated.
904 Mon Oct 18 14:54:57 1999 H.J. Lu <hjl@lucon.org>
906 * utils/mountd/mountd.c (get_exportlist): Cleanup.
908 * utils/exportfs/exportfs.c (unexport_all): Unexport from
909 kernel only if the entry is exported to kernel.
910 (unexportfs): Likewise.
912 Wed Sep 08 16:49:32 1999 Neil Brown <neilb@cse.unsw.edu.au>
914 1/ utils/mountd/rmtab.c::mountlist_list
916 This routine stats the rmtab file to see if it has changed. It
917 if has, it cleans up it's old copy of the data. But it still
918 always re-read the file, thus returning multiple copies of the
919 data on consecutive calls without intervening changes.
920 "Showmount -a" didn't show this as it appears to sort/unique the
921 data, but 'strace showmount -a' showed that the size of the
922 datagram that it received grew.
924 I moved the getrmtabent loop inside the mtime test.
926 2/ utils/exportfs/exportfs.c
928 Many routines used the m_path field of m_export instead of
930 According to the comment in nfslib.h, m_path should only
931 be used when processing a mount request (i.e. in mountd)
932 where the mountpoint may be a subdirectory of the export point.
934 I changed all occurances of m_path to e_path
937 3/ utils/exportfs/exportfs.c:main
939 extra arguments are not meaningful with -a or -r, but
940 exportfs accepted them and then ignored the -a/-r, expect that
941 -r would still unexport everything first.
943 I generate an error if there are extra args and f_all
945 4/ utils/exportfs/exportfs.c:main
946 extract dump out as a special case.
948 5/ utils/exportfs/exportfs.c
949 made f_reexport a local variable.
952 6/ utils/exportfs/exportfs.c:main,exportall
954 support/export/rmtab.c
955 only mayexport on newly created entries, don't set xtabent at all
957 7/ support/include/nfslib.h
959 add #define _PATH_PROC_EXPORTS to be /proc/fs/nds/exports
961 8/ support/export/xtab.c
963 xtab_mount_read loads data from _PATH_PROC_EXPORTS if it exists,
967 9/ support/export/xtab.c
969 xtab_mount_read now sets m_exported, and NOT
970 xtabent and mayexport
972 removed the append arguement from xtab_write as it was
975 added is_export flag to xtab_write similar to xtab_read
976 if is_export, only write entries with m_xtabent or m_addxtab
977 if !is_export, only write entries with m_exported
979 10/ support/export/export.c::export_allowed_internal
981 added test for exp->m_mayexport, as the export tree
982 may have entries that are no longer allowed to be exported,
983 and so shouldn't caused deduced exported by rmtab_read
985 11/ utils/exportfs/exportfs.c::main
986 error checking of flags.
988 12/ utils/exportfs/exportfs.c
990 total rewrite of export and unexport logic.
992 - build an exportslist of valid exports, based on
993 current etab file and arguments,
994 - read rmtab to instantiate relevant wild card entries
995 - read etab to find out what is currently exported
996 - synchronise intention with reality
997 - write out etab and xtab
1000 discard the m_addxtab flag
1001 add m_changed flag so we know what to report in exportfs
1003 14/ utils/mountd/auth.c:auth_authenticate
1005 the value returned by gethostbyaddr was trusted.
1007 It now follows this with a call to gethostbyname
1008 and checks that the address is in the list.
1010 15/ support/export/nfsctl.c::cltsetup,expsetup
1012 force client names to lowercase as kernel is
1015 16/ quietened a few compiler warnings
1017 17/ support/export/client:client_lookup
1019 look for pre-existing client with same name before creating
1022 18/ support/include/exportfs.h
1024 The ordering of the MCL_* enum was:
1025 ANONYMOUS, FQDN, SUBNETWORK, WILDCARD, NETGROUP
1027 I moved ANONYMOUS to the end.
1029 The ordering is significant when an export entry is being searched for to
1030 match a given address. There are two problems with ANONYMOUS being first.
1032 1/ if a directory is exported rw to a couple of hosts and ro to everyone else,
1033 then the ro case will always be found first and the privileged hosts won't get
1035 2/ When mountd gets a request to mount an ANONYMOUSly exported tree, it creates a FQDN
1036 export entry for the specific host, and writes it to xtab.
1037 When another request comes from the same host, the ANONYMOUS entry is found again,
1038 before the new FQDN entry, so it creates another FQDN entry and writes it to xtab
1039 again. If causes bloat in xtab.
1041 Putting ANONYMOUS at the end reflects it's nature as a catch-all
1043 19/ utils/exportfs/exportfs.man
1044 many updates to the man page to reflect changes to the code
1046 -----------------------
1052 - allow exportfs to modify rmtab file
1053 - make sure kernel never gets two clients with same IP address
1054 - possible kernel should reject
1055 - needs to be some way to lookup client in kernel by IP address
1056 - maybe get kernel to do case-insensitive comparisons on client names
1057 - remove unused clients from kernel
1059 - change etab to xtab and xtab to xtab.active
1061 - timestamp and/or statd-stamp in rmtab for removing old entries.
1063 Mon Oct 18 11:48:07 1999 H.J. Lu <hjl@lucon.org>
1065 * linux-nfs: New directory.
1066 * linux-nfs/ChangeLog: Moved from ..
1067 * linux-nfs/INSTALL: Likewise.
1068 * linux-nfs/KNOWNBUGS: Likewise.
1069 * linux-nfs/NEW: Likewise.
1070 * linux-nfs/README: Likewise.
1071 * linux-nfs/THANKS: Likewise.
1072 * linux-nfs/TODO: Likewise.
1074 * Starting from knfsd 1.4.7.