1 2001-04-01 Chip Salzenberg <chip@valinux.com>
3 * tools/rpcgen/rpc_svcout.c (write_timeout_func): Remove
4 redundant, and sometimes broken, declaration of svc_fdset;
6 * support/nfs/rpcmisc.c (closedown): Likewise.
8 2001-03-21 H.J. Lu <hjl@lucon.org>
10 * nfs-utils.spec: Regenerated.
13 2001-03-21 Ion Badulescu <ionut@cs.columbia.edu>
15 * utils/statd/statd.c (main): make sure file descriptors 0-2
16 are open to /dev/null.
18 2001-03-21 H.J. Lu <hjl@lucon.org>
20 * support/nfs/rpcmisc.c: Restore the change made on 2001-03-10.
21 * support/nfs/rpcmisc.c: Likewise.
22 * utils/rquotad/rquota_svc.c: Likewise.
23 * utils/rquotad/rquotad.man: Likewise.
24 * utils/statd/Makefile: Likewise.
25 * utils/statd/rmtcall.c: Likewise.
26 * utils/statd/simulate.c: Likewise.
27 * utils/statd/statd.c: Likewise.
28 * utils/statd/statd.man: Likewise.
30 2001-03-11 H.J. Lu <hjl@lucon.org>
32 * configure.in (RELEASE): New. Default to 1, set by
33 --with-release=XXX. Substitute nfs-utils.spec.
34 * nfs-utils.spec.in (Release): Set to @RELEASE@.
35 * configure: Regenerated.
36 * nfs-utils.spec: Likewise.
38 2001-03-11 H.J. Lu <hjl@lucon.org>
40 * utils/rquotad/rquotad.man: Fix a typo.
42 2001-03-11 H.J. Lu <hjl@lucon.org>
44 * support/include/rpcmisc.h: Undo the change made on 2001-03-10.
45 * support/nfs/rpcmisc.c: Likewise.
46 * utils/rquotad/rquota_svc.c: Likewise.
47 * utils/rquotad/rquotad.man: Likewise.
48 * utils/statd/Makefile: Likewise.
49 * utils/statd/rmtcall.c: Likewise.
50 * utils/statd/simulate.c: Likewise.
51 * utils/statd/statd.c: Likewise.
52 * utils/statd/statd.man: Likewise.
54 2001-03-10 H.J. Lu <hjl@lucon.org>
56 * configure.in (VERSION): Set to "0.3.2".
57 * configure: Regenerated.
58 * nfs-utils.spec: Likewise.
60 * README: Updated for 0.3.2.
62 2001-03-10 Tavis Barr <tavis@boole.isetr.columbia.edu>
64 * utils/rquotad/rquotad.man: Updated for -p.
65 * utils/statd/statd.man: Likewise.
67 2001-03-10 Ion Badulescu <ionut@cs.columbia.edu>
69 * support/nfs/rpcmisc.c: export makesock()
71 * support/include/rpcmisc.h (makesock): Declared.
73 * utils/rquotad/rquota_svc.c: added longopts, added support for
74 specifying the port to bind to on the command line.
76 * utils/statd/statd.c: ditto, also specify port used for
80 * utils/statd/rmtcall.c (statd_get_socket): Renamed from
81 get_socket. Make it extern.
83 * utils/statd/simulate.c (daemon_simulator): Call rpc_init
86 * utils/statd/Makefile (LIBS): link with our own libnfs
88 2001-03-09 H.J. Lu <hjl@lucon.org>
90 * etc/redhat/nfslock.init: Changed chkconfig line to 60 86.
91 * etc/nodist/nfs-client: Likewise.
93 2001-02-26 Chip Salzenberg <chip@valinux.com>
95 * debian/changelog: Version 0.3.1-1.
96 * Mention upstream source and license in copyright file.
97 * Add build-Depends for debhelper and libwrap0-dev.
99 2001-02-20 Lon Hohberger <hohberger@missioncriticallinux.com>
101 * etc/nodist/nfs-server: Changed chkconfig line to 60 20
102 * etc/nodist/nfs-client: Likewise.
104 2001-02-18 Lon Hohberger <hohberger@missioncriticallinux.com>
106 * utils/statd/statd.man: Changed /usr/sbin/rpc.statd to
109 2001-02-17 Patrick J. LoPresti <patl@curl.com>
111 * utils/statd/log.c (log_init): Use LOG_DAEMON instead of
114 2001-02-14 H.J. Lu <hjl@lucon.org>
116 * utils/statd/rmtcall.c: Include <time.h>.
117 * utils/statd/svc_run.c: Likewise.
119 2001-02-14 H.J. Lu <hjl@lucon.org>
121 * configure.in (VERSION): Set to "0.3.1".
122 * configure: Regenerated.
123 * nfs-utils.spec: Likewise.
125 * README: Updated for 0.3.1.
127 2001-02-14 H.J. Lu <hjl@lucon.org>
129 * support/nfs/rpcmisc.c: Include <time.h>.
131 2001-02-14 Chip Salzenberg <chip@valinux.com>
133 * debian/control: Change priority of nhfsstone package to 'extra'.
135 2001-02-12 Chip Salzenberg <chip@valinux.com>
137 * debian/changelog: Version 0.3-2.
139 2001-02-02 H.J. Lu <hjl@lucon.org>
141 * support/include/rpcmisc.h (rpc_init): Remove bufsize.
143 * support/nfs/rpcmisc.c (makesock): Remove socksz and comment
144 out SO_SNDBUF/SO_RCVBUF.
145 (rpc_init): Remove bufsize and remove socksz in calls to
148 * utils/mountd/mountd.c (main): Remove bufsize in calls to
151 2001-01-28 Chip Salzenberg <chip@valinux.com>
153 * debian/changelog: Version 0.3-1.
155 2001-01-25 H.J. Lu <hjl@lucon.org>
157 * configure.in (VERSION): Set to "0.3".
158 * configure: Regenerated.
159 * nfs-utils.spec: Likewise.
161 * README: Updated for 0.3.
163 2001-01-25 H.J. Lu <hjl@lucon.org>
165 * utils/lockd/lockd.c (main): Ignore errno == EINVAL.
167 2001-01-20 Chip Salzenberg <chip@valinux.com>
169 * support/include/xio.h (xgetc): Declare to return int.
170 * support/nfs/xio.c (xgetc): Return int.
171 (xgettok, xskip, xskipcomment): Use int for value of xgetc.
172 * utils/statd/statd.c (main): Use int for value of getopt.
173 * debian/changelog: Version 0.2.1-5.
175 2000-12-10 Chip Salzenberg <chip@valinux.com>
177 * utils/statd/monitor.c (sm_mon_1_svc): Fix buggy check for
178 program and procedure numbers of kernel lockd's callback. Also,
179 besides the old (and broken) procedure #24, allow #16 per Trond.
181 2000-12-03 Chip Salzenberg <chip@valinux.com>
183 * support/nfs/xio.c (xfopen): Initialize x_line to one, not zero.
184 * debian/control: Let nhfsstone replace files in nfs-kernel-server.
185 * debian/changelog: Version 0.2.1-4.
187 2000-11-27 Tobias Ringstrom <tori@tellus.mine.nu>
189 * utils/mountd/auth.c (auth_authenticate): Log the bad path
192 2000-11-24 Neil Brown <neilb@cse.unsw.edu.au>
194 * support/nfs/exports.c (getexportent): Check for host name
195 without option, or options without hostname, and print a warning,
196 as this is most likely a typo.
198 2000-11-19 Chip Salzenberg <chip@valinux.com>
200 * debian/control: Add dependency on portmap.
201 * debian/changelog: Version 0.2.1-3.
203 2000-11-10 H.J. Lu <hjl@lucon.org>
205 * nfs-utils.spec.in: Don't use libtool.
206 Add ChangeLog and COPYING to doc.
207 * nfs-utils.spec: Rebuild.
209 2000-11-09 H.J. Lu <hjl@lucon.org>
211 * etc/redhat/nfs.init (start): Back out the last change.
213 2000-11-09 H.J. Lu <hjl@lucon.org>
215 * etc/redhat/nfs.init (start): Pass --no-tcp to mountd if
216 TCP is not supported by kernel.
218 * support/nfs/rpcmisc.c (rpc_init): Don't set _rpcfdtype to 0.
220 * utils/mountd/mountd.c (longopts): Add "-n/--no-tcp".
221 (main): Set to _rpcfdtype to SOCK_DGRAM for "-n/--no-tcp".
223 * utils/mountd/mountd.man: Updated for "-n/--no-tcp".
225 2000-10-24 Lon Hohberger <hohberger@missioncriticallinux.com>
227 * utils/statd/callback.c: Fix bug preventing callbacks to local lockd.
228 * utils/statd/rmtcall.c: Add some IP address paranoia when doing
229 callbacks to local lockd.
231 2000-10-18 Scott McDermott <mcdermot@questra.com>
233 * utils/exportfs/exports.man: Updated for CIDR netmask.
235 2000-10-17 Scott McDermott <mcdermot@questra.com>
237 * support/export/client.c (client_init): Support CIDR netmask
240 2000-10-11 H.J. Lu <hjl@lucon.org>
242 * aclocal.m4 (AC_TCP_WRAPPER): Fix a typo.
243 * configure: Rebuilt.
245 2000-10-06 Lon Hohberger <hohberger@missioncriticallinux.com>
247 * utils/statd/statd.man: Change "/var/lib/nfs/sm/state" to
248 "/var/lib/nfs/state".
250 2000-10-05 Lon Hohberger <hohberger@missioncriticallinux.com>
252 * utils/statd/statd.h (run_mode): New global bitmask of runtime
253 behaviors: fg/bg, logging, etc.
254 * utils/statd/statd.c: New command line options: -V -h -? -d .
255 * utils/statd/statd.man: Update for changes to statd.
257 * utils/statd/log.h (log_init): Remove parameter of function; use
258 global variable "name_p" instead.
259 * utils/statd/log.c: Add support for logging to stderr.
261 * utils/statd/notlist.c: Partially rewrite notify list handling
262 functions. Eliminate run-off-end-of-list bug when calling
263 nlist_insert_timer. Add lots of comments.
265 2000-09-27 H.J. Lu <hjl@lucon.org>
267 * README: Updated for RedHat 7.0.
269 2000-09-27 H.J. Lu <hjl@lucon.org>
271 * nfs-utils.spec: Rebuild.
273 2000-09-27 H.J. Lu <hjl@lucon.org>
275 * README: Updated for 0.2.1.
277 2000-09-27 H.J. Lu <hjl@lucon.org>
279 * nfs-utils.spec.in: Updated to use rpm macros and support
282 2000-09-25 H.J. Lu <hjl@lucon.org>
284 * configure.in (VERSION): Set to "0.2.1".
285 * configure: Regenerated.
286 * nfs-utils.spec: Updated.
288 2000-09-25 H.J. Lu <hjl@lucon.org>
290 * utils/mountd/auth.c (auth_authenticate_internal): Make sure a
291 non-NULL hostent is always returned.
293 2000-09-11 Ion Badulescu <ionut@cs.columbia.edu>
295 * etc/redhat/nfslock.init: don't kill lockd processes that do not
296 have an executable (i.e. kernel threads)
298 2000-09-01 H.J. Lu <hjl@lucon.org>
300 * README: Updated for 0.2.
302 2000-09-01 Jay Weber <jweber@valinux.com>
304 * etc/redhat/nfs.init: Added ability for rpc.mountd to default to
305 supporting version 3 of nfs if available, else it will fall back to
306 version 2 support only.
308 2000-08-30 H.J. Lu <hjl@lucon.org>
310 * configure.in (VERSION): Set to "0.2".
311 * configure: Regenerated.
312 * nfs-utils.spec: Updated.
314 2000-08-25 H.J. Lu <hjl@lucon.org>
316 * support/misc/tcpwrapper.c (logit): Modify the log output.
318 2000-08-25 Ion Badulescu <ionut@cs.columbia.edu>
320 * utils/rquotad/rquotad.man, utils/statd/statd.man,
321 utils/mountd/mountd.man: updated
323 * utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL)
324 * utils/rquotad/Makefile: fix comment
326 * support/misc/tcpwrapper.c (logit): added comment about waiting
327 for the children after fork()
329 * utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving
330 zombies behind (from logit()'s fork)
331 * utils/rquotad/rquota_svc.c (main): ditto
332 * utils/statd/statd.c (main): ditto
334 * utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG
335 to check_default instead of 0, for prognum
337 * utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG
338 to check_default instead of 0, for prognum
340 * utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if
341 HAVE_TCP_WRAPPER is defined.
342 (mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is
343 defined. Reject an RPC call if check_default () fails.
345 2000-08-25 H.J. Lu <hjl@lucon.org>
347 * support/include/tcpwrapper.h: New for the tcp wrapper
349 * support/misc/Makefile: Likewise.
350 * support/misc/from_local.c: Likewise.
351 * support/misc/tcpwrapper.c: Likewise.
353 * aclocal.m4 (AC_TCP_WRAPPER): New.
354 * configure.in: Use it. Substitute LIBWRAP.
355 * configure: Rebuilt.
357 * config.mk.in (LIBNSL): New.
360 * support/Makefile (SUBDIRS): Add misc.
362 * support/lib/Makefile (LIBS): Add libmisc.a.
364 * utils/rquotad/Makefile (LIBS): Add
366 -lmisc $(LIBWRAP) $(LIBNSL)
368 * utils/statd/Makefile (LIBS): Likewise.
370 * utils/rquotad/rquota_svc.c: Include "tcpwrapper.h" if
371 HAVE_TCP_WRAPPER is defined.
372 (rquotaprog_1): Call check_default () if HAVE_TCP_WRAPPER is
373 defined. Reject an RPC call if check_default () fails.
375 * utils/statd/statd.c: Include "tcpwrapper.h" if
376 HAVE_TCP_WRAPPER is defined.
377 (sm_prog_1_wrapper): New. A wrapper for sm_prog_1. Call
378 check_default () before calling sm_prog_1 (). Define it as
379 sm_prog_1_wrapper if HAVE_TCP_WRAPPER is defined.
381 2000-08-25 Chip Salzenberg <chip@valinux.com>
383 * debian/*: Complete Debian build support.
384 * etc/debian/*: Remove.
386 2000-08-24 Neil Brown <neilb@cse.unsw.edu.au>
388 * support/export/client.c(client_check): removed the "dot+1" as a
389 ypdomain argument to innetgr as this is entirely bogus.
390 It should always be NULL.
392 2000-08-23 Neil Brown <neilb@cse.unsw.edu.au>
394 * support/export/xtab.c(xtab_read): introduce new mode for
395 reading xtab. i.e. a list of exports that might be known to the
396 kernel, or might not. These are flagged as m_exported == -1
397 * support/export/xtab.c(xtab_mount_read): call xtab_read with new
398 value "2" for xtab, meaning don't trust this too much.
399 * support/include/exportfs.h(struct mexport): changed m_exported
400 from one bit to an int so that it can hold new value
401 * utils/exportfs/exportfs.c(exportfs_ipdate): add an export to the
402 kernel if it is uncertain whether the kernel knows (m_exported == -1)
403 * utils/mountd/mountd.c(get_rootfh): similarly export to kernel if
406 * support/nfs/xio.c(xflock): added O_CREAT when getting
407 a write lock so that missing files aren't fatal.
409 * etc/debian/nfs-common: new file from "potato"
410 * etc/debian/nfs-kernel-server: new file from "potato" plus fixes.
412 2000-08-09 H.J. Lu <hjl@lucon.org>
414 * etc/redhat/nfs.init: Run /usr/sbin/exportfs first during
415 startup to ensure all existing clients work fine.
417 * support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0
418 to xtab_read () for reading _PATH_XTAB.
420 2000-08-02 H.J. Lu <hjl@lucon.org>
422 * utils/mountd/auth.c (auth_authenticate_internal): Try to
423 avoid the reverse name lookup.
425 2000-07-04 H.J. Lu <hjl@lucon.org>
427 * utils/statd/log.c: Include <stdlib.h> for exit ().
429 * utils/statd/misc.c (xunlink): Add `{' and `}' to quiet the
432 2000-07-04 H.J. Lu <hjl@lucon.org>
434 * configure.in (VERSION): Set to "0.1.9.1".
435 * configure: Regenerated.
436 * nfs-utils.spec: Updated.
440 2000-07-04 Neil Brown <neilb@cse.unsw.edu.au>
442 * support/export/hostname.c (hostent_dup): Handle the NULL
445 2000-07-03 H.J. Lu <hjl@lucon.org>
447 * README: Update the util-linux requirement.
449 2000-07-03 H.J. Lu <hjl@lucon.org>
451 * configure.in (VERSION): Set to "0.1.9".
452 * configure: Regenerated.
453 * nfs-utils.spec: Updated.
457 2000-07-03 H.J. Lu <hjl@lucon.org>
459 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
460 stop to ensure all clients can still access the server
461 before it is shutdown.
463 2000-06-30 Jeff Uphoff <juphoff@transmeta.com>
465 * tools/rpcgen/rpc_svcout.c (write_msg_out): Generate syslog()
466 calls with format string.
468 2000-06-28 Chip Salzenberg <chip@valinux.com>
470 * utils/statd/log.c (log): Call syslog with format string.
472 2000-06-27 H.J. Lu <hjl@lucon.org>
474 * utils/statd/statd.c (main): Use sysconf (_SC_OPEN_MAX)
477 2000-06-27 H.J. Lu <hjl@lucon.org>
481 2000-06-27 H.J. Lu <hjl@lucon.org>
483 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
484 startup to ensure all existing clients are exported.
486 * configure.in (VERSION): Set to "0.1.8.2".
487 * configure: Regenerated.
488 * nfs-utils.spec: Updated.
490 2000-06-06 H.J. Lu <hjl@lucon.org>
492 * configure.in (VERSION): Set to "0.1.8.1".
493 * configure: Regenerated.
494 * nfs-utils.spec: Updated.
496 2000-06-06 H.J. Lu <hjl@lucon.org>
498 * utils/mountd/mountd.c (mount_dump_1_svc): Cast svc_getcaller
499 to "struct sockaddr_in *" for glibc 2.2.
500 (mount_umnt_1_svc): Likewise.
501 (mount_umntall_1_svc): Likewise.
502 (mount_export_1_svc): Likewise.
503 (mount_exportall_1_svc): Likewise.
504 (mount_pathconf_2_svc): Likewise.
505 (get_rootfh): Likewise.
507 2000-06-04 H.J. Lu <hjl@lucon.org>
509 * etc/redhat/nfs.init: Fix a typo in comment.
511 2000-05-31 H.J. Lu <hjl@lucon.org>
513 * configure.in (VERSION): Set to "0.1.8".
514 * configure: Regenerated.
515 * nfs-utils.spec: Updated.
519 2000-05-31 H.J. Lu <hjl@lucon.org>
521 * configure.in (VERSION): Set to "0.1.7.5".
522 * configure: Regenerated.
523 * nfs-utils.spec: Updated.
525 * support/include/nfslib.h (exportent): Add a new field,
526 r_count, to count the number of mounts from a client.
527 (getrmtabent): Take a new argument for position in file.
528 (putrmtabent): Likewise.
529 (fgetrmtabent): Likewise.
530 (fputrmtabent): Likewise.
531 * support/nfs/rmtab.c (getrmtabent): Handle the new argument
532 for position in file.
533 (fgetrmtabent): Likewise.
534 (putrmtabent): Likewise.
535 (fputrmtabent): Likewise.
537 * support/nfs/rmtab.c (fgetrmtabent): Get value for the new
540 * support/export/rmtab.c (rmtab_read): Pass NULL as the new
541 argument to getrmtabent (), fgetrmtabent (), putrmtabent ()
543 * utils/mountd/rmtab.c (mountlist_add): Likewise.
544 (mountlist_del): Likewise.
545 (mountlist_del_all): Likewise.
546 (mountlist_list): Likewise.
548 * utils/mountd/rmtab.c (mountlist_add): Increment "r_count"
549 for the existing entry and initialize "r_count" to 1.
550 (mountlist_del): Decrement "r_count".
552 2000-05-18 H.J. Lu <hjl@lucon.org>
554 * configure.in (VERSION): Set to "0.1.7.4".
555 * configure: Regenerated.
556 * nfs-utils.spec: Updated.
558 2000-05-18 H.J. Lu <hjl@lucon.org>
560 * etc/redhat/nfs.init (restart): Just do stop and start.
562 2000-05-09 Jay Weber <jweber@valinux.com>
564 * utils/rquotad/hasquota.c: added support for ext3 recognition
566 * utils/rquotad/mntent.h: Likewise.
568 2000-05-01 H.J. Lu <hjl@lucon.org>
570 * configure.in (VERSION): Set to "0.1.7.3".
571 * configure: Regenerated.
572 * nfs-utils.spec: Updated.
574 2000-05-01 H.J. Lu <hjl@lucon.org>
576 * utils/rquotad/rquota_server.c (getquotainfo): Skip bad
577 mounting poins in /etc/fstab.
579 2000-05-01 H.J. Lu <hjl@lucon.org>
581 * configure.in (VERSION): Set to "0.1.7.2".
582 * configure: Regenerated.
583 * nfs-utils.spec: Updated.
585 2000-05-01 H.J. Lu <hjl@lucon.org>
587 * utils/rquotad/rquota_server.c (getquotainfo): Call stat ()
588 to check for the mounting point.
590 2000-04-29 Chip Salzenberg <chip@valinux.com>
591 Neil Brown <neilb@cse.unsw.edu.au>
593 * Really re-use RPC ports.
594 (Fixes earlier patch. Sorry, Neil.)
596 2000-04-26 H.J. Lu <hjl@lucon.org>
598 * configure.in (VERSION): Set to "0.1.7.1".
599 * configure: Regenerated.
600 * nfs-utils.spec: Updated.
602 2000-04-26 H.J. Lu <hjl@lucon.org>
604 * etc/redhat/nfslock.init: Check if lockd exits before killing
607 2000-04-25 H.J. Lu <hjl@lucon.org>
609 * README: Require util-linux-2.10f-mount-rpc.patch for mount.
611 2000-03-21 Michael Weiser <michael@weiser.saale-net.de>
613 * support/nfs/exports.c (parsesquash): Correctly set the
616 Tue Mar 21 11:38:48 EST 2000 NeilBrown <neilb@cse.unsw.edu.au>
618 * support/include/nfs/nfs.h: Removed knowledge of internals of
619 kernel filehandles (which can change) and defined nfs_fh_size
620 which has variable size
622 * support/nfs/getfh.c: defined getfh_size to use new syscall to
623 get variable sized file handles, and change getfh{,old} to
626 * utils/mountd/mountd.c: use nfd_fh_size and call getfh_size for
629 * tools/Makefile, tools/nlmtest/nlmtest.c
630 nlmtest.c depended on internel format of file handles, so now
634 2000-03-12 Chip Salzenberg <chip@valinux.com>
635 Neil Brown <neilb@cse.unsw.edu.au>
637 * support/nfs/rpcmisc.c (rpc_init): Share transports.
639 2000-03-13 H.J. Lu <hjl@lucon.org>
641 * etc/redhat/nfsd.init: Updated.
643 * etc/redhat/nfslock.init: Updated.
645 * nfs-utils.spec.in: Updated.
647 * configure.in (VERSION): Set to "0.1.7".
648 * configure: Regenerated.
649 * nfs-utils.spec: Updated.
653 Wed Mar 8 09:42:43 2000 Neil Brown <neilb@cse.unsw.edu.au>
655 * utils/exportfs/exportfs.c (dump): Included printing of
656 nohide, no_subtree_check, and insecure_locks
658 2000-02-26 Chip Salzenberg <chip@valinux.com>
660 * config.mk.in (INSTALLSUID): Strip ("-s").
661 (INSTALLSCRIPT): Define.
662 * utils/nhfsstone/Makefile: Use it.
664 2000-02-26 Chip Salzenberg <chip@valinux.com>
666 * utils/lockd/lockd.man: Create.
667 * utils/lockd/Makefile: Install it.
668 * utils/nhfsstone/nhfs{run,nums,graph}.man: Create.
669 * utils/nhfsstone/nhfsstone.man: Change suffix from ".1".
670 * utils/nhfsstone/Makefile: Install the helper scripts and
672 * utils/exportfs/exports.man: Fix typo.
674 2000-02-26 Chip Salzenberg <chip@valinux.com>
676 * support/nfs/xio.c (xungetc): Decrement line number when
677 character to unget is newline. Make first parameter int, so
678 it can distinguish EOF from \377.
679 * support/include/xio.h (xungetc): Adjust prototype.
681 Fri Feb 4 23:42:23 2000 Neil Brown <neilb@cse.unsw.edu.au>
683 * support/include/nfs/export.h: added NFSEXP_NOAUTHNLM
684 * support/nfs/exports.c: added handling for NFSEXP_NOAUTHNLM
685 * utils/exportfs/exports.man: added documentation for no_auth_nlm.
687 This is for supporting a new option introduced in 2.3.42
689 Thu Feb 3 14:55:48 2000 H.J. Lu <hjl@lucon.org>
691 * COPYING: Added. GPL.
693 Thu Feb 03 14:40:40 2000 Cristian Gafton <gafton@redhat.com>
695 * utils/rquotad/rquota_server.c (getquotainfo): Call statfs ()
696 to get the block size.
698 Tue Jan 25 11:04:17 2000 H.J. Lu <hjl@lucon.org>
700 * nfs-utils.spec.in: Update ftp site.
702 Mon Jan 17 11:48:18 2000 H.J. Lu <hjl@lucon.org>
704 * README: Update hostnames.
706 Tue Jan 11 10:06:22 2000 H.J. Lu <hjl@lucon.org>
708 * configure.in (VERSION): Set to "0.1.6".
709 * configure: Regenerated.
710 * nfs-utils.spec: Updated.
714 Mon Jan 10 14:26:33 2000 H.J. Lu <hjl@lucon.org>
716 * utils/mountd/auth.c (auth_authenticate_internal): Call
717 xstrdup for hostname before passing it to gethostbyname.
719 * utils/mountd/mountd.c (get_exportlist): Use xstrdup instead
722 Sun Dec 19 09:35:01 1999 H.J. Lu <hjl@lucon.org>
724 * README: Update the mailing list address.
726 Sun Dec 19 09:22:28 1999 H.J. Lu <hjl@lucon.org>
728 * configure.in (VERSION): Set to "0.1.5".
729 * configure: Regenerated.
730 * nfs-utils.spec: Updated.
734 Mon Dec 13 13:40:20 1999 H.J. Lu <hjl@lucon.org>
736 * utils/rquotad/hasquota.c (hasquota): Malloc one more char
739 Mon Dec 6 09:42:45 1999 H.J. Lu <hjl@lucon.org>
741 * configure.in (VERSION): Set to "0.1.4".
742 * configure: Regenerated.
743 * nfs-utils.spec: Updated.
747 Mon Dec 6 09:28:07 1999 H.J. Lu <hjl@lucon.org>
749 * nfs-utils.spec.in: New file.
751 * config.mk.in (VERSION): Changed to "nfs-utils @VERSION@".
753 * configure.in (nfs-utils.spec): Added to AC_OUTPUT.
755 1999-12-04 Chip Salzenberg <chip@valinux.com>
757 * config.mk.in: Use $(CC) as set by configure.
759 1999-12-04 Chip Salzenberg <chip@valinux.com>
761 * rules.mk: Call $(MAKE) with $(MFLAGS).
763 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
765 * tools/rpcgen/rpc_main.c (h_output): Generate IXDR_GET_INT32,
766 IXDR_PUT_INT32, IXDR_GET_U_INT32 and IXDR_PUT_U_INT32.
768 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
770 * nfs-utils.spec (Version): Set to 0.1.3.
772 * configure.in (VERSION): Set to "nfs-utils 0.1.3".
773 * configure: Regenerated.
777 Mon Nov 29 11:15:47 1999 H.J. Lu <hjl@lucon.org>
779 * utils/rquotad/rquota_server.c (nfsmount_to_devname): Removed.
780 (_PATH_DEV_DSK): Likewise.
781 (getquotainfo): Match the mounting point from /etc/mtab
782 instead of calling nfsmount_to_devname ().
784 1999-11-24 Chip Salzenberg <chip@valinux.com>
786 * utils/statd/monitor.c (sm_mon_1_svc): Accept lockd callbacks
787 to the new port 24 as well as the historical port 100021.
789 Tue Nov 23 10:21:34 1999 Neil Brown <neilb@cse.unsw.edu.au>
791 * etc/redhat/nfsd.init (stop): moved exportfs -ua after
792 stopping nfsd to stop spurious ESTALE on server shutdown.
794 Tue Nov 23 10:13:39 1999 Neil Brown <neilb@cse.unsw.edu.au>
796 * support/nfs/exports.c (parseopts): make copy of opt string
797 before 'nul'ing out commas so that
799 # exportfs -o option1,option2 hosta:/fs hostb:/fs
801 applies both options to both exports.
803 Thu Oct 28 12:55:42 1999 H.J. Lu <hjl@lucon.org>
805 * README: Fix a few typos.
807 * tools/rpcgen/rpc_cout.c (print_header): Use int32_t instead
809 * tools/rpcgen/rpc_hout.c (pdefine): Likewise.
810 * tools/rpcgen/rpc_main.c (c_initialize): Likewise.
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_util.c (tokstrings): Likewise.
816 * tools/rpcgen/rpc_cout.c (emit_single_in_line): Use INT32
818 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
819 (unsigned_dec): Likewise.
820 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
821 * tools/rpcgen/rpc_scan.h (tok_kind): Likewise.
822 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
824 Thu Oct 28 11:27:51 1999 Neil Brown <neilb@cse.unsw.edu.au>
826 * support/include/nfs/export.h addedd NFSEXP_NOSUBTREECHECK
827 * support/nfs/exports.c: added {no_,}subtree_check and changed
829 * utils/exportfs/exports.man: added no_subtree_check and nohide
830 and removed irrelevant stuff from unfsd.
831 * support/export/rmtab.c: rmtab_read didn't quite do the right
832 thing if a pathname from rmtab was a subdirectory of an export-point
834 Tue Oct 26 17:22:40 1999 H.J. Lu <hjl@lucon.org>
836 * README: Updated ftp site.
838 Mon Oct 25 18:12:45 1999 H.J. Lu <hjl@lucon.org>
840 * nfs-utils.spec (Version): Set to 0.1.2.
842 * configure.in (VERSION): Set to "nfs-utils 0.1.2".
843 * configure: Regenerated.
847 Mon Oct 25 18:11:21 1999 H.J. Lu <hjl@lucon.org>
849 * utils/mountd/auth.c (auth_error): Add "no_forward_dns".
850 (auth_authenticate_internal): Check for NULL return on forward
852 (auth_authenticate): Handle "no_forward_dns".
854 Thu Oct 21 16:22:06 1999 H.J. Lu <hjl@lucon.org>
856 * Version 0.1.1 released.
858 * nfs-utils.spec (Version): Set to 0.1.1.
860 * configure.in (VERSION): Set to "nfs-utils 0.1.1".
861 * configure: Regenerated.
865 Mon Oct 18 17:43:29 1999 H.J. Lu <hjl@lucon.org>
867 * nfs-utils.spec (Obsoletes): Fixed a typo, change knfsd-client
869 (Provides): Likewise.
871 Mon Oct 18 14:56:22 1999 H.J. Lu <hjl@lucon.org>
873 * Initial version 0.1 released.
875 * configure.in (VERSION): Set to "nfs-utils 0.1".
876 * configure: Regenerated.
878 Mon Oct 18 14:54:57 1999 H.J. Lu <hjl@lucon.org>
880 * utils/mountd/mountd.c (get_exportlist): Cleanup.
882 * utils/exportfs/exportfs.c (unexport_all): Unexport from
883 kernel only if the entry is exported to kernel.
884 (unexportfs): Likewise.
886 Wed Sep 08 16:49:32 1999 Neil Brown <neilb@cse.unsw.edu.au>
888 1/ utils/mountd/rmtab.c::mountlist_list
890 This routine stats the rmtab file to see if it has changed. It
891 if has, it cleans up it's old copy of the data. But it still
892 always re-read the file, thus returning multiple copies of the
893 data on consecutive calls without intervening changes.
894 "Showmount -a" didn't show this as it appears to sort/unique the
895 data, but 'strace showmount -a' showed that the size of the
896 datagram that it received grew.
898 I moved the getrmtabent loop inside the mtime test.
900 2/ utils/exportfs/exportfs.c
902 Many routines used the m_path field of m_export instead of
904 According to the comment in nfslib.h, m_path should only
905 be used when processing a mount request (i.e. in mountd)
906 where the mountpoint may be a subdirectory of the export point.
908 I changed all occurances of m_path to e_path
911 3/ utils/exportfs/exportfs.c:main
913 extra arguments are not meaningful with -a or -r, but
914 exportfs accepted them and then ignored the -a/-r, expect that
915 -r would still unexport everything first.
917 I generate an error if there are extra args and f_all
919 4/ utils/exportfs/exportfs.c:main
920 extract dump out as a special case.
922 5/ utils/exportfs/exportfs.c
923 made f_reexport a local variable.
926 6/ utils/exportfs/exportfs.c:main,exportall
928 support/export/rmtab.c
929 only mayexport on newly created entries, don't set xtabent at all
931 7/ support/include/nfslib.h
933 add #define _PATH_PROC_EXPORTS to be /proc/fs/nds/exports
935 8/ support/export/xtab.c
937 xtab_mount_read loads data from _PATH_PROC_EXPORTS if it exists,
941 9/ support/export/xtab.c
943 xtab_mount_read now sets m_exported, and NOT
944 xtabent and mayexport
946 removed the append arguement from xtab_write as it was
949 added is_export flag to xtab_write similar to xtab_read
950 if is_export, only write entries with m_xtabent or m_addxtab
951 if !is_export, only write entries with m_exported
953 10/ support/export/export.c::export_allowed_internal
955 added test for exp->m_mayexport, as the export tree
956 may have entries that are no longer allowed to be exported,
957 and so shouldn't caused deduced exported by rmtab_read
959 11/ utils/exportfs/exportfs.c::main
960 error checking of flags.
962 12/ utils/exportfs/exportfs.c
964 total rewrite of export and unexport logic.
966 - build an exportslist of valid exports, based on
967 current etab file and arguments,
968 - read rmtab to instantiate relevant wild card entries
969 - read etab to find out what is currently exported
970 - synchronise intention with reality
971 - write out etab and xtab
974 discard the m_addxtab flag
975 add m_changed flag so we know what to report in exportfs
977 14/ utils/mountd/auth.c:auth_authenticate
979 the value returned by gethostbyaddr was trusted.
981 It now follows this with a call to gethostbyname
982 and checks that the address is in the list.
984 15/ support/export/nfsctl.c::cltsetup,expsetup
986 force client names to lowercase as kernel is
989 16/ quietened a few compiler warnings
991 17/ support/export/client:client_lookup
993 look for pre-existing client with same name before creating
996 18/ support/include/exportfs.h
998 The ordering of the MCL_* enum was:
999 ANONYMOUS, FQDN, SUBNETWORK, WILDCARD, NETGROUP
1001 I moved ANONYMOUS to the end.
1003 The ordering is significant when an export entry is being searched for to
1004 match a given address. There are two problems with ANONYMOUS being first.
1006 1/ if a directory is exported rw to a couple of hosts and ro to everyone else,
1007 then the ro case will always be found first and the privileged hosts won't get
1009 2/ When mountd gets a request to mount an ANONYMOUSly exported tree, it creates a FQDN
1010 export entry for the specific host, and writes it to xtab.
1011 When another request comes from the same host, the ANONYMOUS entry is found again,
1012 before the new FQDN entry, so it creates another FQDN entry and writes it to xtab
1013 again. If causes bloat in xtab.
1015 Putting ANONYMOUS at the end reflects it's nature as a catch-all
1017 19/ utils/exportfs/exportfs.man
1018 many updates to the man page to reflect changes to the code
1020 -----------------------
1026 - allow exportfs to modify rmtab file
1027 - make sure kernel never gets two clients with same IP address
1028 - possible kernel should reject
1029 - needs to be some way to lookup client in kernel by IP address
1030 - maybe get kernel to do case-insensitive comparisons on client names
1031 - remove unused clients from kernel
1033 - change etab to xtab and xtab to xtab.active
1035 - timestamp and/or statd-stamp in rmtab for removing old entries.
1037 Mon Oct 18 11:48:07 1999 H.J. Lu <hjl@lucon.org>
1039 * linux-nfs: New directory.
1040 * linux-nfs/ChangeLog: Moved from ..
1041 * linux-nfs/INSTALL: Likewise.
1042 * linux-nfs/KNOWNBUGS: Likewise.
1043 * linux-nfs/NEW: Likewise.
1044 * linux-nfs/README: Likewise.
1045 * linux-nfs/THANKS: Likewise.
1046 * linux-nfs/TODO: Likewise.
1048 * Starting from knfsd 1.4.7.