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