]> git.decadent.org.uk Git - nfs-utils.git/blob - ChangeLog
Document Lon Hohberger's changes through October.
[nfs-utils.git] / ChangeLog
1 2000-10-24  Lon Hohberger <lon@users.sourceforge.net>
2
3         * utils/statd/callback.c: Fix bug preventing callbacks to local lockd.
4         * utils/statd/rmtcall.c: Add some IP address paranoia when doing
5         callbacks to local lockd.
6
7 2000-10-18  Scott McDermott <mcdermot@questra.com>
8
9         * utils/exportfs/exports.man: Updated for CIDR netmask.
10
11 2000-10-17  Scott McDermott <mcdermot@questra.com>
12
13         * support/export/client.c (client_init): Support CIDR netmask
14         in /etc/exports.
15
16 2000-10-11  H.J. Lu <hjl@lucon.org>
17
18         * aclocal.m4 (AC_TCP_WRAPPER): Fix a typo.
19         * configure: Rebuilt.
20
21 2000-10-06  Lon Hohberger <lon@users.sourceforge.net>
22
23         * utils/statd/statd.man: Change "/var/lib/nfs/sm/state" to
24         "/var/lib/nfs/state".
25
26 2000-10-05  Lon Hohberger <lon@users.sourceforge.net>
27
28         * utils/statd/statd.h (run_mode): New global bitmask of runtime
29         behaviors: fg/bg, logging, etc.
30         * utils/statd/statd.c: New command line options: -V -h -? -d .
31         * utils/statd/statd.man: Update for changes to statd.
32
33         * utils/statd/log.h (log_init): Remove parameter of function; use
34         global variable "name_p" instead.
35         * utils/statd/log.c: Add support for logging to stderr.
36
37         * utils/statd/notlist.c: Partially rewrite notify list handling
38         functions.  Eliminate run-off-end-of-list bug when calling
39         nlist_insert_timer.  Add lots of comments.
40         
41 2000-09-27  H.J. Lu <hjl@lucon.org>
42
43         * README: Updated for RedHat 7.0.
44
45 2000-09-27  H.J. Lu <hjl@lucon.org>
46
47         * nfs-utils.spec: Rebuild.
48
49 2000-09-27  H.J. Lu <hjl@lucon.org>
50
51         * README: Updated for 0.2.1.
52
53 2000-09-27  H.J. Lu <hjl@lucon.org>
54
55         * nfs-utils.spec.in: Updated to use rpm macros and support
56         RedHat 7.0.
57
58 2000-09-25  H.J. Lu <hjl@lucon.org>
59
60         * configure.in (VERSION): Set to "0.2.1".
61         * configure: Regenerated.
62         * nfs-utils.spec: Updated.
63
64 2000-09-25  H.J. Lu <hjl@lucon.org>
65
66         * utils/mountd/auth.c (auth_authenticate_internal): Make sure a
67         non-NULL hostent is always returned.
68
69 2000-09-11  Ion Badulescu  <ionut@moisil.dev.hydraweb.com>
70
71         * etc/redhat/nfslock.init: don't kill lockd processes that do not
72         have an executable (i.e. kernel threads)
73
74 2000-09-01  H.J. Lu <hjl@lucon.org>
75
76         * README: Updated for 0.2.
77
78 2000-09-01  Jay Weber <jweber@valinux.com>
79
80         * etc/redhat/nfs.init: Added ability for rpc.mountd to default to
81         supporting version 3 of nfs if available, else it will fall back to
82         version 2 support only.
83
84 2000-08-30  H.J. Lu <hjl@lucon.org>
85
86         * configure.in (VERSION): Set to "0.2".
87         * configure: Regenerated.
88         * nfs-utils.spec: Updated.
89
90 2000-08-25  H.J. Lu <hjl@lucon.org>
91
92         * support/misc/tcpwrapper.c (logit): Modify the log output.
93
94 2000-08-25  Ion Badulescu  <ionut@cs.columbia.edu>
95
96         * utils/rquotad/rquotad.man, utils/statd/statd.man,
97         utils/mountd/mountd.man: updated
98         
99         * utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL)
100         * utils/rquotad/Makefile: fix comment
101
102         * support/misc/tcpwrapper.c (logit): added comment about waiting
103         for the children after fork()
104         
105         * utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving
106         zombies behind (from logit()'s fork)
107         * utils/rquotad/rquota_svc.c (main): ditto
108         * utils/statd/statd.c (main): ditto
109
110         * utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG
111         to check_default instead of 0, for prognum
112
113         * utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG
114         to check_default instead of 0, for prognum
115
116         * utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if
117         HAVE_TCP_WRAPPER is defined.
118         (mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is
119         defined. Reject an RPC call if check_default () fails.
120
121 2000-08-25  H.J. Lu <hjl@lucon.org>
122
123         * support/include/tcpwrapper.h: New for the tcp wrapper
124         support.
125         * support/misc/Makefile: Likewise.
126         * support/misc/from_local.c: Likewise.
127         * support/misc/tcpwrapper.c: Likewise.
128
129         * aclocal.m4 (AC_TCP_WRAPPER): New.
130         * configure.in: Use it. Substitute LIBWRAP.
131         * configure: Rebuilt.
132
133         * config.mk.in (LIBNSL): New.
134         (LIBWRAP): Likewise.
135
136         * support/Makefile (SUBDIRS): Add misc.
137
138         * support/lib/Makefile (LIBS): Add libmisc.a.
139
140         * utils/rquotad/Makefile (LIBS): Add
141         
142                 -lmisc $(LIBWRAP) $(LIBNSL)
143
144         * utils/statd/Makefile (LIBS): Likewise.
145
146         * utils/rquotad/rquota_svc.c: Include "tcpwrapper.h" if
147         HAVE_TCP_WRAPPER is defined.
148         (rquotaprog_1): Call check_default () if HAVE_TCP_WRAPPER is
149         defined. Reject an RPC call if check_default () fails.
150
151         * utils/statd/statd.c: Include "tcpwrapper.h" if
152         HAVE_TCP_WRAPPER is defined.
153         (sm_prog_1_wrapper): New. A wrapper for sm_prog_1. Call
154         check_default () before calling sm_prog_1 (). Define it as
155         sm_prog_1_wrapper if HAVE_TCP_WRAPPER is defined.
156
157 2000-08-25  Chip Salzenberg  <chip@valinux.com>
158
159         * debian/*: Complete Debian build support.
160         * etc/debian/*: Remove.
161
162 2000-08-24  Neil Brown <neilb@cse.unsw.edu.au>
163
164         * support/export/client.c(client_check): removed the "dot+1" as a
165           ypdomain argument to innetgr as this is entirely bogus.
166           It should always be NULL.
167         
168 2000-08-23  Neil Brown <neilb@cse.unsw.edu.au>
169
170         * support/export/xtab.c(xtab_read): introduce new mode for
171            reading xtab. i.e. a list of exports that might be known to the
172            kernel, or might not.  These are flagged as m_exported == -1
173         * support/export/xtab.c(xtab_mount_read):  call xtab_read with new
174            value "2" for xtab, meaning don't trust this too much.
175         * support/include/exportfs.h(struct mexport): changed m_exported
176            from one bit to an int so that it can hold new value
177         * utils/exportfs/exportfs.c(exportfs_ipdate): add an export to the
178            kernel if it is uncertain whether the kernel knows (m_exported == -1)
179         * utils/mountd/mountd.c(get_rootfh): similarly export to kernel if
180            status is uncertain
181
182         * support/nfs/xio.c(xflock): added O_CREAT when getting
183            a write lock so that missing files aren't fatal.
184
185         * etc/debian/nfs-common: new file from "potato"
186         * etc/debian/nfs-kernel-server: new file from "potato" plus fixes.
187          
188 2000-08-09  H.J. Lu <hjl@lucon.org>
189
190         * etc/redhat/nfs.init: Run /usr/sbin/exportfs first during
191         startup to ensure all existing clients work fine.
192
193         * support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0
194         to xtab_read () for reading _PATH_XTAB.
195
196 2000-08-02  H.J. Lu <hjl@lucon.org>
197
198         * utils/mountd/auth.c (auth_authenticate_internal): Try to
199         avoid the reverse name lookup.
200
201 2000-07-04  H.J. Lu <hjl@lucon.org>
202
203         * utils/statd/log.c: Include <stdlib.h> for exit ().
204
205         * utils/statd/misc.c (xunlink): Add `{' and `}' to quiet the
206         gcc warning.
207
208 2000-07-04  H.J. Lu <hjl@lucon.org>
209
210         * configure.in (VERSION): Set to "0.1.9.1".
211         * configure: Regenerated.
212         * nfs-utils.spec: Updated.
213
214         * README: Updated.
215
216 2000-07-04  Neil Brown  <neilb@cse.unsw.edu.au>
217
218         * support/export/hostname.c (hostent_dup): Handle the NULL
219         h_aliases field.
220
221 2000-07-03  H.J. Lu <hjl@lucon.org>
222
223         * README: Update the util-linux requirement.
224
225 2000-07-03  H.J. Lu <hjl@lucon.org>
226
227         * configure.in (VERSION): Set to "0.1.9".
228         * configure: Regenerated.
229         * nfs-utils.spec: Updated.
230
231         * README: Updated.
232
233 2000-07-03  H.J. Lu <hjl@lucon.org>
234
235         * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
236         stop to ensure all clients can still access the server
237         before it is shutdown.
238
239 2000-06-30  Jeff Uphoff <juphoff@transmeta.com>
240
241         * tools/rpcgen/rpc_svcout.c (write_msg_out): Generate syslog()
242         calls with format string.
243         
244 2000-06-28  Chip Salzenberg  <chip@valinux.com>
245
246         * utils/statd/log.c (log): Call syslog with format string.
247
248 2000-06-27  H.J. Lu <hjl@lucon.org>
249
250         * utils/statd/statd.c (main): Use sysconf (_SC_OPEN_MAX)
251         instead of OPEN_MAX.
252
253 2000-06-27  H.J. Lu <hjl@lucon.org>
254
255         * README: Updated.
256
257 2000-06-27  H.J. Lu <hjl@lucon.org>
258
259         * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
260         startup to ensure all existing clients are exported.
261
262         * configure.in (VERSION): Set to "0.1.8.2".
263         * configure: Regenerated.
264         * nfs-utils.spec: Updated.
265
266 2000-06-06  H.J. Lu <hjl@lucon.org>
267
268         * configure.in (VERSION): Set to "0.1.8.1".
269         * configure: Regenerated.
270         * nfs-utils.spec: Updated.
271
272 2000-06-06  H.J. Lu <hjl@lucon.org>
273
274         * utils/mountd/mountd.c (mount_dump_1_svc): Cast svc_getcaller
275         to "struct sockaddr_in *" for glibc 2.2.
276         (mount_umnt_1_svc): Likewise.
277         (mount_umntall_1_svc): Likewise.
278         (mount_export_1_svc): Likewise.
279         (mount_exportall_1_svc): Likewise.
280         (mount_pathconf_2_svc): Likewise.
281         (get_rootfh): Likewise.
282
283 2000-06-04  H.J. Lu <hjl@lucon.org>
284
285         * etc/redhat/nfs.init: Fix a typo in comment.
286
287 2000-05-31  H.J. Lu <hjl@lucon.org>
288
289         * configure.in (VERSION): Set to "0.1.8".
290         * configure: Regenerated.
291         * nfs-utils.spec: Updated.
292
293         * README: Updated.
294
295 2000-05-31  H.J. Lu <hjl@lucon.org>
296
297         * configure.in (VERSION): Set to "0.1.7.5".
298         * configure: Regenerated.
299         * nfs-utils.spec: Updated.
300
301         * support/include/nfslib.h (exportent): Add a new field,
302         r_count, to count the number of mounts from a client.
303         (getrmtabent): Take a new argument for position in file.
304         (putrmtabent): Likewise.
305         (fgetrmtabent): Likewise.
306         (fputrmtabent): Likewise.
307         * support/nfs/rmtab.c (getrmtabent): Handle the new argument
308         for position in file.
309         (fgetrmtabent): Likewise.
310         (putrmtabent): Likewise.
311         (fputrmtabent): Likewise.
312
313         * support/nfs/rmtab.c (fgetrmtabent): Get value for the new
314         field, r_count.
315
316         * support/export/rmtab.c (rmtab_read): Pass NULL as the new
317         argument to getrmtabent (), fgetrmtabent (), putrmtabent ()
318         and fputrmtabent ().
319         * utils/mountd/rmtab.c (mountlist_add): Likewise.
320         (mountlist_del): Likewise.
321         (mountlist_del_all): Likewise.
322         (mountlist_list): Likewise.
323
324         * utils/mountd/rmtab.c (mountlist_add): Increment "r_count"
325         for the existing entry and initialize "r_count" to 1.
326         (mountlist_del): Decrement "r_count".
327
328 2000-05-18  H.J. Lu <hjl@lucon.org>
329
330         * configure.in (VERSION): Set to "0.1.7.4".
331         * configure: Regenerated.
332         * nfs-utils.spec: Updated.
333
334 2000-05-18  H.J. Lu <hjl@lucon.org>
335
336         * etc/redhat/nfs.init (restart): Just do stop and start.
337
338 2000-05-09  Jay Weber <jweber@valinux.com>
339
340         * utils/rquotad/hasquota.c: added support for ext3 recognition
341         in rquotad.
342         * utils/rquotad/mntent.h: Likewise.
343
344 2000-05-01  H.J. Lu <hjl@lucon.org>
345
346         * configure.in (VERSION): Set to "0.1.7.3".
347         * configure: Regenerated.
348         * nfs-utils.spec: Updated.
349
350 2000-05-01  H.J. Lu <hjl@lucon.org>
351
352         * utils/rquotad/rquota_server.c (getquotainfo): Skip bad
353         mounting poins in /etc/fstab.
354
355 2000-05-01  H.J. Lu <hjl@lucon.org>
356
357         * configure.in (VERSION): Set to "0.1.7.2".
358         * configure: Regenerated.
359         * nfs-utils.spec: Updated.
360
361 2000-05-01  H.J. Lu <hjl@lucon.org>
362
363         * utils/rquotad/rquota_server.c (getquotainfo): Call stat ()
364         to check for the mounting point.
365
366 2000-04-29  Chip Salzenberg  <chip@valinux.com>
367             Neil Brown  <neilb@cse.unsw.edu.au>
368
369         * Really re-use RPC ports.
370           (Fixes earlier patch.  Sorry, Neil.)
371
372 2000-04-26  H.J. Lu <hjl@lucon.org>
373
374         * configure.in (VERSION): Set to "0.1.7.1".
375         * configure: Regenerated.
376         * nfs-utils.spec: Updated.
377
378 2000-04-26  H.J. Lu <hjl@lucon.org>
379
380         * etc/redhat/nfslock.init: Check if lockd exits before killing
381         it.
382
383 2000-04-25  H.J. Lu <hjl@lucon.org>
384
385         * README: Require util-linux-2.10f-mount-rpc.patch for mount.
386
387 2000-03-21 Michael Weiser <michael@weiser.saale-net.de>
388
389         * support/nfs/exports.c (parsesquash): Correctly set the
390         return pointer.
391
392 Tue Mar 21 11:38:48 EST 2000 NeilBrown <neilb@cse.unsw.edu.au>
393
394         * support/include/nfs/nfs.h: Removed knowledge of internals of
395              kernel filehandles (which can change) and defined nfs_fh_size
396              which has variable size
397         
398         * support/nfs/getfh.c: defined getfh_size to use new syscall to
399              get variable sized file handles, and change getfh{,old} to
400              use nfs_fh_size        
401         
402         * utils/mountd/mountd.c: use nfd_fh_size and call getfh_size for
403              NFSv3 file handles
404
405         * tools/Makefile, tools/nlmtest/nlmtest.c
406              nlmtest.c depended on internel format of file handles, so now
407              doesn't work.
408
409         
410 2000-03-12  Chip Salzenberg  <chip@valinux.com>
411             Neil Brown  <neilb@cse.unsw.edu.au>
412
413         * support/nfs/rpcmisc.c (rpc_init): Share transports.
414
415 2000-03-13 H.J. Lu <hjl@lucon.org>
416
417         * etc/redhat/nfsd.init: Updated.
418
419         * etc/redhat/nfslock.init: Updated.
420
421         * nfs-utils.spec.in: Updated.
422
423         * configure.in (VERSION): Set to "0.1.7".
424         * configure: Regenerated.
425         * nfs-utils.spec: Updated.
426
427         * README: Updated.
428
429 Wed Mar  8 09:42:43 2000 Neil Brown <neilb@cse.unsw.edu.au>
430
431         * utils/exportfs/exportfs.c (dump): Included printing of
432            nohide, no_subtree_check, and insecure_locks
433
434 2000-02-26  Chip Salzenberg  <chip@valinux.com>
435
436         * config.mk.in (INSTALLSUID): Strip ("-s").
437         (INSTALLSCRIPT): Define.
438         * utils/nhfsstone/Makefile: Use it.
439
440 2000-02-26  Chip Salzenberg  <chip@valinux.com>
441
442         * utils/lockd/lockd.man: Create.
443         * utils/lockd/Makefile: Install it.
444         * utils/nhfsstone/nhfs{run,nums,graph}.man: Create.
445         * utils/nhfsstone/nhfsstone.man: Change suffix from ".1".
446         * utils/nhfsstone/Makefile: Install the helper scripts and
447           all four man pages.
448         * utils/exportfs/exports.man: Fix typo.
449
450 2000-02-26  Chip Salzenberg  <chip@valinux.com>
451
452         * support/nfs/xio.c (xungetc): Decrement line number when
453         character to unget is newline.  Make first parameter int, so
454         it can distinguish EOF from \377.
455         * support/include/xio.h (xungetc): Adjust prototype.
456
457 Fri Feb  4 23:42:23 2000 Neil Brown <neilb@cse.unsw.edu.au>
458
459         * support/include/nfs/export.h: added NFSEXP_NOAUTHNLM
460         * support/nfs/exports.c: added handling for NFSEXP_NOAUTHNLM
461         * utils/exportfs/exports.man: added documentation for no_auth_nlm.
462
463         This is for supporting a new option introduced in 2.3.42
464
465 Thu Feb  3 14:55:48 2000 H.J. Lu <hjl@lucon.org>
466
467         * COPYING: Added. GPL.
468
469 Thu Feb 03 14:40:40 2000 Cristian Gafton <gafton@redhat.com>
470
471         * utils/rquotad/rquota_server.c (getquotainfo): Call statfs ()
472         to get the block size.
473
474 Tue Jan 25 11:04:17 2000 H.J. Lu <hjl@lucon.org>
475
476         * nfs-utils.spec.in: Update ftp site.
477
478 Mon Jan 17 11:48:18 2000 H.J. Lu <hjl@lucon.org>
479
480         * README: Update hostnames.
481
482 Tue Jan 11 10:06:22 2000 H.J. Lu <hjl@lucon.org>
483
484         * configure.in (VERSION): Set to "0.1.6".
485         * configure: Regenerated.
486         * nfs-utils.spec: Updated.
487
488         * README: Updated.
489
490 Mon Jan 10 14:26:33 2000 H.J. Lu <hjl@lucon.org>
491
492         * utils/mountd/auth.c (auth_authenticate_internal): Call
493         xstrdup for hostname before passing it to gethostbyname.
494
495         * utils/mountd/mountd.c (get_exportlist): Use xstrdup instead
496         of strdup.
497
498 Sun Dec 19 09:35:01 1999  H.J. Lu <hjl@lucon.org>
499
500         * README: Update the mailing list address.
501
502 Sun Dec 19 09:22:28 1999  H.J. Lu <hjl@lucon.org>
503
504         * configure.in (VERSION): Set to "0.1.5".
505         * configure: Regenerated.
506         * nfs-utils.spec: Updated.
507
508         * README: Updated.
509
510 Mon Dec 13 13:40:20 1999  H.J. Lu <hjl@lucon.org>
511
512         * utils/rquotad/hasquota.c (hasquota): Malloc one more char
513         for '/'.
514
515 Mon Dec  6 09:42:45 1999  H.J. Lu <hjl@lucon.org>
516
517         * configure.in (VERSION): Set to "0.1.4".
518         * configure: Regenerated.
519         * nfs-utils.spec: Updated.
520
521         * README: Updated.
522
523 Mon Dec  6 09:28:07 1999  H.J. Lu <hjl@lucon.org>
524
525         * nfs-utils.spec.in: New file.
526
527         * config.mk.in (VERSION): Changed to "nfs-utils @VERSION@".
528
529         * configure.in (nfs-utils.spec): Added to AC_OUTPUT.
530
531 1999-12-04  Chip Salzenberg  <chip@valinux.com>
532
533         * config.mk.in: Use $(CC) as set by configure.
534
535 1999-12-04  Chip Salzenberg  <chip@valinux.com>
536
537         * rules.mk: Call $(MAKE) with $(MFLAGS).
538
539 Mon Nov 29 11:17:35 1999  H.J. Lu <hjl@lucon.org>
540
541         * tools/rpcgen/rpc_main.c (h_output): Generate IXDR_GET_INT32,
542         IXDR_PUT_INT32, IXDR_GET_U_INT32 and IXDR_PUT_U_INT32.
543
544 Mon Nov 29 11:17:35 1999  H.J. Lu <hjl@lucon.org>
545
546         * nfs-utils.spec (Version): Set to 0.1.3.
547
548         * configure.in (VERSION): Set to "nfs-utils 0.1.3".
549         * configure: Regenerated.
550
551         * README: Updated.
552
553 Mon Nov 29 11:15:47 1999  H.J. Lu <hjl@lucon.org>
554
555         * utils/rquotad/rquota_server.c (nfsmount_to_devname): Removed.
556         (_PATH_DEV_DSK): Likewise.
557         (getquotainfo): Match the mounting point from /etc/mtab
558         instead of calling nfsmount_to_devname ().
559
560 1999-11-24  Chip Salzenberg  <chip@valinux.com>
561
562         * utils/statd/monitor.c (sm_mon_1_svc): Accept lockd callbacks
563         to the new port 24 as well as the historical port 100021.
564
565 Tue Nov 23 10:21:34 1999 Neil Brown <neilb@cse.unsw.edu.au>
566
567         * etc/redhat/nfsd.init (stop): moved exportfs -ua after
568         stopping nfsd to stop spurious ESTALE on server shutdown.
569         
570 Tue Nov 23 10:13:39 1999  Neil Brown <neilb@cse.unsw.edu.au>
571
572         * support/nfs/exports.c (parseopts): make copy of opt string
573         before 'nul'ing out commas so that
574
575         # exportfs -o option1,option2 hosta:/fs hostb:/fs
576
577         applies both options to both exports.
578
579 Thu Oct 28 12:55:42 1999  H.J. Lu <hjl@lucon.org>
580
581         * README: Fix a few typos.
582
583         * tools/rpcgen/rpc_cout.c (print_header): Use int32_t instead
584         of long.
585         * tools/rpcgen/rpc_hout.c (pdefine): Likewise.
586         * tools/rpcgen/rpc_main.c (c_initialize): Likewise.
587         * tools/rpcgen/rpc_parse.c (get_type): Likewise.
588         (unsigned_dec): Likewise.
589         * tools/rpcgen/rpc_scan.c (symbols): Likewise.
590         * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
591
592         * tools/rpcgen/rpc_cout.c (emit_single_in_line): Use INT32
593         instead of LONG.
594         * tools/rpcgen/rpc_parse.c (get_type): Likewise.
595         (unsigned_dec): Likewise.
596         * tools/rpcgen/rpc_scan.c (symbols): Likewise.
597         * tools/rpcgen/rpc_scan.h (tok_kind): Likewise.
598         * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
599
600 Thu Oct 28 11:27:51 1999 Neil Brown <neilb@cse.unsw.edu.au>
601
602         * support/include/nfs/export.h addedd NFSEXP_NOSUBTREECHECK
603         * support/nfs/exports.c: added {no_,}subtree_check and changed
604           crossmnt to nohide
605         * utils/exportfs/exports.man: added no_subtree_check and nohide
606           and removed irrelevant stuff from unfsd.
607         * support/export/rmtab.c: rmtab_read didn't quite do the right
608           thing if a pathname from rmtab was a subdirectory of an export-point
609
610 Tue Oct 26 17:22:40 1999  H.J. Lu <hjl@lucon.org>
611
612         * README: Updated ftp site.
613
614 Mon Oct 25 18:12:45 1999  H.J. Lu <hjl@lucon.org>
615
616         * nfs-utils.spec (Version): Set to 0.1.2.
617
618         * configure.in (VERSION): Set to "nfs-utils 0.1.2".
619         * configure: Regenerated.
620
621         * README: Updated.
622
623 Mon Oct 25 18:11:21 1999  H.J. Lu <hjl@lucon.org>
624
625         * utils/mountd/auth.c (auth_error): Add "no_forward_dns".
626         (auth_authenticate_internal): Check for NULL return on forward
627         DNS lookup.
628         (auth_authenticate): Handle "no_forward_dns".
629
630 Thu Oct 21 16:22:06 1999  H.J. Lu <hjl@lucon.org>
631
632         * Version 0.1.1 released.
633
634         * nfs-utils.spec (Version): Set to 0.1.1.
635
636         * configure.in (VERSION): Set to "nfs-utils 0.1.1".
637         * configure: Regenerated.
638
639         * README: Updated.
640
641 Mon Oct 18 17:43:29 1999  H.J. Lu <hjl@lucon.org>
642
643         * nfs-utils.spec (Obsoletes): Fixed a typo, change knfsd-client
644         to knfsd-clients.
645         (Provides): Likewise.
646
647 Mon Oct 18 14:56:22 1999  H.J. Lu <hjl@lucon.org>
648
649         * Initial version 0.1 released.
650
651         * configure.in (VERSION): Set to "nfs-utils 0.1".
652         * configure: Regenerated.
653
654 Mon Oct 18 14:54:57 1999  H.J. Lu <hjl@lucon.org>
655
656         * utils/mountd/mountd.c (get_exportlist): Cleanup.
657
658         * utils/exportfs/exportfs.c (unexport_all): Unexport from
659         kernel only if the entry is exported to kernel.
660         (unexportfs): Likewise.
661
662 Wed Sep 08 16:49:32 1999  Neil Brown <neilb@cse.unsw.edu.au>
663
664 1/ utils/mountd/rmtab.c::mountlist_list
665
666      This routine stats the rmtab file to see if it has changed.  It
667      if has, it cleans up it's old copy of the data. But it still
668      always re-read the file, thus returning multiple copies of the
669      data on consecutive calls without intervening changes.
670      "Showmount -a" didn't show this as it appears to sort/unique the
671      data, but 'strace showmount -a' showed that the size of the
672      datagram that it received grew.
673
674      I moved the getrmtabent loop inside the mtime test.
675
676 2/ utils/exportfs/exportfs.c
677    
678      Many routines used the m_path field of m_export instead of
679      e_path.
680      According to the comment in nfslib.h, m_path should only
681      be used when processing a mount request (i.e. in mountd)
682      where the mountpoint may be a subdirectory of the export point.
683
684      I changed all occurances of m_path to e_path
685
686
687 3/ utils/exportfs/exportfs.c:main
688
689       extra arguments are not meaningful with -a or -r, but
690       exportfs accepted them and then ignored the -a/-r, expect that
691       -r would still unexport everything first.
692
693       I generate an error if there are extra args and f_all
694
695 4/ utils/exportfs/exportfs.c:main
696      extract dump out as a special case.
697
698 5/ utils/exportfs/exportfs.c
699      made f_reexport a local variable.
700
701
702 6/ utils/exportfs/exportfs.c:main,exportall
703
704     support/export/rmtab.c
705        only  mayexport on newly created entries, don't set xtabent at all
706
707 7/ support/include/nfslib.h
708
709       add #define _PATH_PROC_EXPORTS to be /proc/fs/nds/exports
710
711 8/ support/export/xtab.c
712
713       xtab_mount_read loads data from _PATH_PROC_EXPORTS if it exists,
714       else from xtab
715
716
717 9/ support/export/xtab.c
718
719       xtab_mount_read now sets m_exported, and NOT
720         xtabent and mayexport
721
722       removed the append arguement from xtab_write as it was
723         never used.
724
725       added is_export flag to xtab_write similar to xtab_read
726         if is_export, only write entries with m_xtabent or m_addxtab
727         if !is_export, only write entries with m_exported
728      
729 10/ support/export/export.c::export_allowed_internal
730
731       added test for exp->m_mayexport, as the export tree
732         may have entries that are no longer allowed to be exported,
733         and so shouldn't caused deduced exported by rmtab_read
734
735 11/ utils/exportfs/exportfs.c::main
736         error checking of flags.
737
738 12/ utils/exportfs/exportfs.c
739
740         total rewrite of export and unexport logic.
741         We now:
742         -  build an exportslist of valid exports, based on
743            current etab file  and arguments,
744         -  read rmtab to instantiate relevant wild card entries
745         -  read etab to find out what is currently exported
746         -  synchronise intention with reality
747         -  write out etab and xtab
748
749 13/  various
750         discard the m_addxtab flag
751         add m_changed flag so we know what to report in exportfs
752
753 14/ utils/mountd/auth.c:auth_authenticate
754
755         the value returned by gethostbyaddr was trusted.
756
757         It now follows this with a call to gethostbyname
758         and checks that the address is in the list.
759
760 15/ support/export/nfsctl.c::cltsetup,expsetup
761
762         force client names to lowercase as kernel is
763         sensitive to case
764
765 16/ quietened a few compiler warnings
766
767 17/ support/export/client:client_lookup
768
769      look for pre-existing client with same name before creating
770         a new one.
771
772 18/ support/include/exportfs.h
773
774      The ordering of the MCL_* enum was:
775         ANONYMOUS, FQDN, SUBNETWORK, WILDCARD, NETGROUP
776
777      I moved ANONYMOUS to the end.
778
779      The ordering is significant when an export entry is being searched for to 
780         match a given address.  There are two problems with ANONYMOUS being first.
781
782         1/ if a directory is exported rw to a couple of hosts and ro to everyone else,
783            then the ro case will always be found first and the privileged hosts won't get
784            their privilege
785         2/ When mountd gets a request to mount an ANONYMOUSly exported tree, it creates a FQDN
786            export entry for the specific host, and writes it to xtab.
787            When another request comes from the same host, the ANONYMOUS entry is found again, 
788            before the new FQDN entry, so it creates another FQDN entry and writes it to xtab
789            again.  If causes bloat in xtab.
790
791       Putting ANONYMOUS at the end reflects it's nature as a catch-all
792
793 19/ utils/exportfs/exportfs.man
794         many updates to the man page to reflect changes to the code
795
796 -----------------------
797
798
799
800 TODO:
801
802 - allow exportfs to modify rmtab file
803 - make sure kernel never gets two clients with same IP address
804     - possible kernel should reject
805     - needs to be some way to lookup client in kernel by IP address
806 - maybe get kernel to do case-insensitive comparisons on client names
807 - remove unused clients from kernel
808
809 - change etab to xtab and xtab to xtab.active
810
811 - timestamp and/or statd-stamp in rmtab for removing old entries.
812
813 Mon Oct 18 11:48:07 1999  H.J. Lu <hjl@lucon.org>
814
815         * linux-nfs: New directory.
816         * linux-nfs/ChangeLog: Moved from ..
817         * linux-nfs/INSTALL: Likewise.
818         * linux-nfs/KNOWNBUGS: Likewise.
819         * linux-nfs/NEW: Likewise.
820         * linux-nfs/README: Likewise.
821         * linux-nfs/THANKS: Likewise.
822         * linux-nfs/TODO: Likewise.
823
824         * Starting from knfsd 1.4.7.