]> git.decadent.org.uk Git - nfs-utils.git/blob - ChangeLog
(forgot to finalize entry)
[nfs-utils.git] / ChangeLog
1 2001-12-26  Chip Salzenberg  <chip@pobox.com>
2
3         * utils/exportfs/exports.man: Emphasize the need for options to
4         immediately follow client names.  Explain that wildcards don't
5         usually work on addresses, but may work when reverse DNS fails.
6         * utils/mountd/mountd.man, utils/rquotad/rquotad.man,
7         utils/statd/statd.man: Remove refs to non-existent "hosts_allow(5)".
8         * debian/changelog: Version 0.3.3-6.
9
10 2001-12-20  NeilBrown <neilb@cse.unsw.edu.au>
11
12         * support/export/client.c(client_lookup): If a host has multiple
13         IP addresses, then we must always use the result of a
14         gethostbyname, not that of gethostbyaddr for exporting
15         
16 2001-12-20  NeilBrown <neilb@cse.unsw.edu.au>
17
18         * support/export/client.c (client_lookup): use strcasecmp when
19         comparing host names
20         * support/nfs/export.c (getexportent): add fromkernel arg and use
21         different defaults as kernels prior to 2.4.11 assume different
22         defaults in /proc/fs/nfs/exports
23         * support/include/nfslib.h, support/export/export.c,
24         support/export/xtab.c:  support extra "fromkernel" arg for
25         getexportent. 
26         
27 2001-12-13  Chip Salzenberg  <chip@pobox.com>
28
29         * debian/changelog: Version 0.3.3-5.
30
31 2001-11-26  TAKAI Kousuke <takai@vlsi.kuee.kyoto-u.ac.jp>
32
33         * support/nfs/xio.c (xskip): Call `xungetc' instead of
34         `ungetc' to keep x_line more properly.
35
36 2001-11-26  Chip Salzenberg  <chip@pobox.com>
37
38         * utils/showmount/showmount.c (main): Don't assume that strings
39         starting with digits are IP addresses.
40         * utils/nfsd/nfsd.c (main): Close all fds and reopen 0,1,2 on
41         /dev/null before nfssvc().  Use syslog to report nfssvc errors.
42         * support/misc/tcpwrapper.c, utils/mountd/mountd.man,
43         utils/rquotad/rquotad.man, utils/statd/statd.man: Fix comments and
44         man pages: We check host names *and* addresses with tcpwrappers.
45         * debian/changelog: Version 0.3.3-4.
46
47 2001-11-21  Chip Salzenberg  <chip@pobox.com>
48
49         * support/nfs/clients.c (cfname): Added: current clients file name.
50         (setnfsclntent): Set it.
51         ({get,end}nfsclntent, syntaxerr): Use it.
52         * support/nfs/exports.c (efname): Added: current exports file name.
53         (setnfsexportent): Set it.
54         (endnfsexportent, parseopts, getexport, syntaxerr): Use it.
55         (parseopts): Accept old-style "crossmnt" option, for old xtabs.
56         * debian/changelog: Version 0.3.3-3.
57
58 2001-10-11  Chip Salzenberg  <chip@pobox.com>
59
60         * utils/mountd/mountd.c (main): Close fds > 2 _before_ RPC init.
61         * debian/changelog: Version 0.3.3-2.
62
63 2001-10-08  Chip Salzenberg  <chip@pobox.com>
64
65         * utils/mountd/mountd.c (main): When daemonizing, close all fds > 2.
66         * utils/Makefile.in: Remove old Makefile in target 'distclean'.
67         * utils/mountd/mountd.man: Update paths to /var/lib.
68         * debian/*: Version 0.3.3-1, with Debian-specific fixes.
69
70 2001-10-06  Preston Brown <pbrown@redhat.com>
71
72         * utils/nfsstat/nfsstat.man: Updated.
73
74 2001-09-24  H.J. Lu <hjl@lucon.org>
75
76         * configure.in (VERSION): Set to "0.3.3".
77         * configure: Regenerated.
78         * nfs-utils.spec: Likewise.
79
80         * README: Updated for 0.3.3.
81
82 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
83
84         Arrange that "exportfs -au" never does DNS lookup:
85         
86         * support/export/client.c (client_lookup) : add "canonical"
87         flag which says that the hostname is known to be canonical, so
88         don't do a lookup
89
90         * support/export/export.c (export_create) : add "canonical"
91         flag to be passed down to client_lookup
92         * support/export/export.c (export_lookup) : Likewise
93
94         * support/export/xtab.c (xtab_read) : pass appropriate
95         "canonical" flag to export_lookup and export_create:
96         set if reading list of filesystems currently exports
97         (is_export != 1). 
98
99         * support/export/export.c (export_read) : pass 0 as 
100         "canonical" flag to export_lookup and export_create
101         * support/export/rmtab.s (rmtab_read) : Likewise
102
103         * support/include/exportfs.h : redeclare various routines
104         to have "canonical" flag
105
106         * utils/exportfs/exportfs.c (main) : redo logic for 
107         "-au" to read in what is currently exported, but never even 
108         look at what "should" be exported.
109
110         * utils/exportfs/exportfs.c (unexportall) : remove this
111         routine. Functionality is completely included in
112         exports_update
113
114         * utils/exportfs/exportfs.c (exportfs) : set "canonical"
115         flag to zero in calls to export_lookup and export_create.
116
117         
118 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
119             Anne Milicia <milicia@missioncriticallinux.com>
120
121         * support/export/client.c (client_lookup) call gethostbyadd
122         to make sure that we have a canonical hostname, even for
123         dotted-quads
124         * utils/exportfs/exportfs.c (exportfs) Likewise
125         
126 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
127
128         * support/nfs/exports.c (putexportent): \octal quote any spaces
129         etc in a path name
130         * support/nfs/xio.c (xgettok): recognise double-quote and
131         \octal quoting in path names
132         * utils/exportfs/exports.man: document quoting conventions
133         for path names
134         
135 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
136
137         * utils/mountd/auth.c (auth_authenticate_internal): Reverse
138           change from 2000-08-02:  It causes problems if someone exports
139           to both a hostname and IP addresses.  nfs-utils must be
140           consistant about the canonical name that it chooses.
141
142 2001-08-17  Ragnar Kjørstad <nfs@ragnark.vestdata.no>
143             H.J. Lu <hjl@lucon.org>
144
145         * etc/redhat/nfslock.init (STATDARG): New. Pass it to rpc.statd.
146
147         * utils/statd/statd.c (longopts): Add "name".
148         (usage): Add "-n/--name".
149         (main): Set MY_NAME with "-n/--name".
150
151         * utils/statd/state.c (change_state): Set MY_NAME only if it
152         is NULL.
153         
154         * utils/statd/statd.man: Updated for "-n/--name".
155
156 2001-07-26  H.J. Lu <hjl@lucon.org>
157
158         * nfs-utils.spec (Release): Set to 8.
159
160 2001-07-25  H.J. Lu <hjl@lucon.org>
161
162         * etc/redhat/nfs.init: Check if rpc.rquotad exists before doing
163         anything about it.
164
165 2001-06-27  H.J. Lu <hjl@lucon.org>
166
167         * etc/redhat/nfs.init: Run rpc.rquotad only if it exists.
168
169 2001-06-27  H.J. Lu <hjl@lucon.org>
170
171         * utils/rquotad/rquota_server.c: Don't call statfs () for
172         the block size. Use BLOCK_SIZE instead.
173
174 2001-06-27  H.J. Lu <hjl@lucon.org>
175
176         * config.mk.in (CC_FOR_BUILD): Renamed from BUILD_CC.
177         (CFLAGS_FOR_BUILD): New. Don't use @CFLAGS@.
178
179         * configure.in (enable_nfsv3): Set to yes by default.
180         (--enable-rquotad): Added
181         (AC_PROG_CXX): Removed.
182         (AC_OUTPUT): Add utils/Makefile.
183         (CC_FOR_BUILD): Renamed from BUILD_CC.
184         * configure: Regenerated.
185
186         * utils/Makefile: Removed.
187
188         * utils/Makefile.in: New.
189
190         * nfs-utils.spec.in (rquotad): New. Set to 0 to disable
191         rquotad.
192         (CC_FOR_BUILD): Renamed from BUILD_CC.
193         * nfs-utils.spec: Regenerated.
194
195 2001-06-15  Chip Salzenberg  <chip@debian.org>
196
197         * debian/changelog: Version 0.3.2-2.
198         * debian/*.init: Minor fixes.
199
200 2001-06-07  Lon H. Hohberger <hohberger@missioncriticallinux.com>
201
202         * etc/nodist/nfs-server: Fixed a bug where the script would
203         disable mounts from NFSv3 clients if NFSv3 is present.
204
205 2001-06-05  H.J. Lu <hjl@lucon.org>
206
207         * utils/mountd/mountd.c (longopts): Add "descriptors/o".
208         (main): Support --descriptors/-o to set the limit of the number
209         of open file descriptors.
210         (usage): Updated.
211
212         * utils/mountd/mountd.man: Updated for --descriptors/-o.
213
214 2001-06-04  H.J. Lu <hjl@lucon.org>
215
216         * nfs-utils.spec (Release): Set to 6.
217
218 2001-05-28  H.J. Lu <hjl@lucon.org>
219
220         * utils/lockd/lockd.c (main): chdir to NFS_STATEDIR.
221         * utils/mountd/mountd.c (main): Likewise.
222         * utils/nfsd/nfsd.c (main): Likewise.
223         * utils/rquotad/rquota_svc.c (main): Likewise.
224
225 2001-05-06  Anne Milicia <milicia@missioncriticallinux.com>
226
227         * support/export/client.c (client_check): Check IP address
228         againet netgroup.
229
230 2001-05-06  Neil Brown <neilb@cse.unsw.edu.au>
231
232         * support/export/client.c (client_gettype): Treat `*' as
233         MCL_ANONYMOUS.
234
235 2001-04-22  H.J. Lu <hjl@lucon.org>
236
237         * nfs-utils.spec.in: Fix a typo.
238         * nfs-utils.spec: Regenerated.
239
240 2001-04-21  H.J. Lu <hjl@lucon.org>
241
242         * nfs-utils.spec.in: Fix cross build.
243         * nfs-utils.spec: Regenerated.
244         (Release): Set to 5.
245
246 2001-04-18  H.J. Lu <hjl@lucon.org>
247
248         * nfs-utils.spec.in: Support cross build.
249         * nfs-utils.spec: Regenerated.
250         (Release): Set to 4.
251
252         * config.sub: New.
253         * config.guess: New.
254
255         * config.mk.in (BUILD_CC): New.
256         (CC): Set to $(BUILD_CC) if BUILD is defined.
257         (AR): Set to @AR@.
258         (LD): Set to @LD@.
259         (RANLIB): Set to @RANLIB@.
260
261         * configure.in: Check BUILD_CC, RANLIB, AR and LD.
262         * configure: Regenerated.
263
264         * tools/rpcgen/Makefile (BUILD): Set to true.
265
266 2001-04-01  Chip Salzenberg  <chip@valinux.com>
267
268         * tools/rpcgen/rpc_svcout.c (write_timeout_func): Remove
269         redundant, and sometimes broken, declaration of svc_fdset;
270         it may be a macro.
271         * support/nfs/rpcmisc.c (closedown): Likewise.
272         
273 2001-03-21  H.J. Lu <hjl@lucon.org>
274
275         * nfs-utils.spec: Regenerated.
276         (Release): Set to 3.
277
278 2001-03-21  Ion Badulescu  <ionut@cs.columbia.edu>
279
280         * utils/statd/statd.c (main): make sure file descriptors 0-2
281         are open to /dev/null.
282
283 2001-03-21  H.J. Lu <hjl@lucon.org>
284
285         * support/nfs/rpcmisc.c: Restore the change made on 2001-03-10.
286         * support/nfs/rpcmisc.c: Likewise.
287         * utils/rquotad/rquota_svc.c: Likewise.
288         * utils/rquotad/rquotad.man: Likewise.
289         * utils/statd/Makefile: Likewise.
290         * utils/statd/rmtcall.c: Likewise.
291         * utils/statd/simulate.c: Likewise.
292         * utils/statd/statd.c: Likewise.
293         * utils/statd/statd.man: Likewise.
294
295 2001-03-11  H.J. Lu <hjl@lucon.org>
296
297         * configure.in (RELEASE): New. Default to 1, set by
298         --with-release=XXX. Substitute nfs-utils.spec.
299         * nfs-utils.spec.in (Release): Set to @RELEASE@.
300         * configure: Regenerated.
301         * nfs-utils.spec: Likewise.
302
303 2001-03-11  H.J. Lu <hjl@lucon.org>
304
305         * utils/rquotad/rquotad.man: Fix a typo.
306
307 2001-03-11  H.J. Lu <hjl@lucon.org>
308
309         * support/include/rpcmisc.h: Undo the change made on 2001-03-10.
310         * support/nfs/rpcmisc.c: Likewise.
311         * utils/rquotad/rquota_svc.c: Likewise.
312         * utils/rquotad/rquotad.man: Likewise.
313         * utils/statd/Makefile: Likewise.
314         * utils/statd/rmtcall.c: Likewise.
315         * utils/statd/simulate.c: Likewise.
316         * utils/statd/statd.c: Likewise.
317         * utils/statd/statd.man: Likewise.
318
319 2001-03-10  H.J. Lu <hjl@lucon.org>
320
321         * configure.in (VERSION): Set to "0.3.2".
322         * configure: Regenerated.
323         * nfs-utils.spec: Likewise.
324
325         * README: Updated for 0.3.2.
326
327 2001-03-10  Tavis Barr <tavis@boole.isetr.columbia.edu>
328
329         * utils/rquotad/rquotad.man: Updated for -p.
330         * utils/statd/statd.man: Likewise.
331
332 2001-03-10  Ion Badulescu  <ionut@cs.columbia.edu>
333
334         * support/nfs/rpcmisc.c: export makesock()
335
336         * support/include/rpcmisc.h (makesock): Declared.
337
338         * utils/rquotad/rquota_svc.c: added longopts, added support for
339         specifying the port to bind to on the command line.
340
341         * utils/statd/statd.c: ditto, also specify port used for
342         outgoing connections.
343         (do_regist): Removed.
344
345         * utils/statd/rmtcall.c (statd_get_socket): Renamed from
346         get_socket. Make it extern.
347
348         * utils/statd/simulate.c (daemon_simulator): Call rpc_init
349         instead of do_regist.
350
351         * utils/statd/Makefile (LIBS): link with our own libnfs
352
353 2001-03-09  H.J. Lu <hjl@lucon.org>
354
355         * etc/redhat/nfslock.init: Changed chkconfig line to 60 86.
356         * etc/nodist/nfs-client: Likewise.
357
358 2001-02-26  Chip Salzenberg  <chip@valinux.com>
359
360         * debian/changelog: Version 0.3.1-1.
361         * Mention upstream source and license in copyright file.
362         * Add build-Depends for debhelper and libwrap0-dev.
363
364 2001-02-20  Lon Hohberger <hohberger@missioncriticallinux.com>
365
366         * etc/nodist/nfs-server: Changed chkconfig line to 60 20
367         * etc/nodist/nfs-client: Likewise.
368
369 2001-02-18  Lon Hohberger <hohberger@missioncriticallinux.com>
370
371         * utils/statd/statd.man: Changed /usr/sbin/rpc.statd to
372         /sbin/rpc.statd.
373
374 2001-02-17  Patrick J. LoPresti <patl@curl.com>
375
376         * utils/statd/log.c (log_init): Use LOG_DAEMON instead of
377         LOG_LOCAL5.
378
379 2001-02-14  H.J. Lu <hjl@lucon.org>
380
381         * utils/statd/rmtcall.c: Include <time.h>.
382         * utils/statd/svc_run.c: Likewise.
383
384 2001-02-14  H.J. Lu <hjl@lucon.org>
385
386         * configure.in (VERSION): Set to "0.3.1".
387         * configure: Regenerated.
388         * nfs-utils.spec: Likewise.
389
390         * README: Updated for 0.3.1.
391
392 2001-02-14  H.J. Lu <hjl@lucon.org>
393
394         * support/nfs/rpcmisc.c: Include <time.h>.
395
396 2001-02-14  Chip Salzenberg  <chip@valinux.com>
397
398         * debian/control: Change priority of nhfsstone package to 'extra'.
399
400 2001-02-12  Chip Salzenberg  <chip@valinux.com>
401
402         * debian/changelog: Version 0.3-2.
403
404 2001-02-02  H.J. Lu <hjl@lucon.org>
405
406         * support/include/rpcmisc.h (rpc_init): Remove bufsize.
407         
408         * support/nfs/rpcmisc.c (makesock): Remove socksz and comment
409         out SO_SNDBUF/SO_RCVBUF.
410         (rpc_init): Remove bufsize and remove socksz in calls to
411         makesock ().
412
413         * utils/mountd/mountd.c (main): Remove bufsize in calls to
414         rpc_init ().
415
416 2001-01-28  Chip Salzenberg  <chip@valinux.com>
417
418         * debian/changelog: Version 0.3-1.
419
420 2001-01-25  H.J. Lu <hjl@lucon.org>
421
422         * configure.in (VERSION): Set to "0.3".
423         * configure: Regenerated.
424         * nfs-utils.spec: Likewise.
425
426         * README: Updated for 0.3.
427
428 2001-01-25  H.J. Lu <hjl@lucon.org>
429
430         * utils/lockd/lockd.c (main): Ignore errno == EINVAL.
431
432 2001-01-20  Chip Salzenberg  <chip@valinux.com>
433
434         * support/include/xio.h (xgetc): Declare to return int.
435         * support/nfs/xio.c (xgetc): Return int.
436         (xgettok, xskip, xskipcomment): Use int for value of xgetc.
437         * utils/statd/statd.c (main): Use int for value of getopt.
438         * debian/changelog: Version 0.2.1-5.
439         
440 2000-12-10  Chip Salzenberg  <chip@valinux.com>
441
442         * utils/statd/monitor.c (sm_mon_1_svc): Fix buggy check for
443         program and procedure numbers of kernel lockd's callback.  Also,
444         besides the old (and broken) procedure #24, allow #16 per Trond.
445
446 2000-12-03  Chip Salzenberg  <chip@valinux.com>
447
448         * support/nfs/xio.c (xfopen): Initialize x_line to one, not zero.
449         * debian/control: Let nhfsstone replace files in nfs-kernel-server.
450         * debian/changelog: Version 0.2.1-4.
451
452 2000-11-27  Tobias Ringstrom <tori@tellus.mine.nu>
453
454         * utils/mountd/auth.c (auth_authenticate): Log the bad path
455         warning.
456
457 2000-11-24  Neil Brown <neilb@cse.unsw.edu.au>
458
459         * support/nfs/exports.c (getexportent): Check for host name
460         without option, or options without hostname, and print a warning,
461         as this is most likely a typo.
462
463 2000-11-19  Chip Salzenberg  <chip@valinux.com>
464
465         * debian/control: Add dependency on portmap.
466         * debian/changelog: Version 0.2.1-3.
467
468 2000-11-10  H.J. Lu <hjl@lucon.org>
469
470         * nfs-utils.spec.in: Don't use libtool.
471         Add ChangeLog and COPYING to doc.
472         * nfs-utils.spec: Rebuild.
473
474 2000-11-09  H.J. Lu <hjl@lucon.org>
475
476         * etc/redhat/nfs.init (start): Back out the last change.
477
478 2000-11-09  H.J. Lu <hjl@lucon.org>
479
480         * etc/redhat/nfs.init (start): Pass --no-tcp to mountd if
481         TCP is not supported by kernel.
482
483         * support/nfs/rpcmisc.c (rpc_init): Don't set _rpcfdtype to 0.
484
485         * utils/mountd/mountd.c (longopts): Add "-n/--no-tcp".
486         (main): Set to _rpcfdtype to SOCK_DGRAM for "-n/--no-tcp".
487
488         * utils/mountd/mountd.man: Updated for "-n/--no-tcp".
489
490 2000-10-24  Lon Hohberger <hohberger@missioncriticallinux.com>
491
492         * utils/statd/callback.c: Fix bug preventing callbacks to local lockd.
493         * utils/statd/rmtcall.c: Add some IP address paranoia when doing
494         callbacks to local lockd.
495
496 2000-10-18  Scott McDermott <mcdermot@questra.com>
497
498         * utils/exportfs/exports.man: Updated for CIDR netmask.
499
500 2000-10-17  Scott McDermott <mcdermot@questra.com>
501
502         * support/export/client.c (client_init): Support CIDR netmask
503         in /etc/exports.
504
505 2000-10-11  H.J. Lu <hjl@lucon.org>
506
507         * aclocal.m4 (AC_TCP_WRAPPER): Fix a typo.
508         * configure: Rebuilt.
509
510 2000-10-06  Lon Hohberger <hohberger@missioncriticallinux.com>
511
512         * utils/statd/statd.man: Change "/var/lib/nfs/sm/state" to
513         "/var/lib/nfs/state".
514
515 2000-10-05  Lon Hohberger <hohberger@missioncriticallinux.com>
516
517         * utils/statd/statd.h (run_mode): New global bitmask of runtime
518         behaviors: fg/bg, logging, etc.
519         * utils/statd/statd.c: New command line options: -V -h -? -d .
520         * utils/statd/statd.man: Update for changes to statd.
521
522         * utils/statd/log.h (log_init): Remove parameter of function; use
523         global variable "name_p" instead.
524         * utils/statd/log.c: Add support for logging to stderr.
525
526         * utils/statd/notlist.c: Partially rewrite notify list handling
527         functions.  Eliminate run-off-end-of-list bug when calling
528         nlist_insert_timer.  Add lots of comments.
529         
530 2000-09-27  H.J. Lu <hjl@lucon.org>
531
532         * README: Updated for RedHat 7.0.
533
534 2000-09-27  H.J. Lu <hjl@lucon.org>
535
536         * nfs-utils.spec: Rebuild.
537
538 2000-09-27  H.J. Lu <hjl@lucon.org>
539
540         * README: Updated for 0.2.1.
541
542 2000-09-27  H.J. Lu <hjl@lucon.org>
543
544         * nfs-utils.spec.in: Updated to use rpm macros and support
545         RedHat 7.0.
546
547 2000-09-25  H.J. Lu <hjl@lucon.org>
548
549         * configure.in (VERSION): Set to "0.2.1".
550         * configure: Regenerated.
551         * nfs-utils.spec: Updated.
552
553 2000-09-25  H.J. Lu <hjl@lucon.org>
554
555         * utils/mountd/auth.c (auth_authenticate_internal): Make sure a
556         non-NULL hostent is always returned.
557
558 2000-09-11  Ion Badulescu  <ionut@cs.columbia.edu>
559
560         * etc/redhat/nfslock.init: don't kill lockd processes that do not
561         have an executable (i.e. kernel threads)
562
563 2000-09-01  H.J. Lu <hjl@lucon.org>
564
565         * README: Updated for 0.2.
566
567 2000-09-01  Jay Weber <jweber@valinux.com>
568
569         * etc/redhat/nfs.init: Added ability for rpc.mountd to default to
570         supporting version 3 of nfs if available, else it will fall back to
571         version 2 support only.
572
573 2000-08-30  H.J. Lu <hjl@lucon.org>
574
575         * configure.in (VERSION): Set to "0.2".
576         * configure: Regenerated.
577         * nfs-utils.spec: Updated.
578
579 2000-08-25  H.J. Lu <hjl@lucon.org>
580
581         * support/misc/tcpwrapper.c (logit): Modify the log output.
582
583 2000-08-25  Ion Badulescu  <ionut@cs.columbia.edu>
584
585         * utils/rquotad/rquotad.man, utils/statd/statd.man,
586         utils/mountd/mountd.man: updated
587         
588         * utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL)
589         * utils/rquotad/Makefile: fix comment
590
591         * support/misc/tcpwrapper.c (logit): added comment about waiting
592         for the children after fork()
593         
594         * utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving
595         zombies behind (from logit()'s fork)
596         * utils/rquotad/rquota_svc.c (main): ditto
597         * utils/statd/statd.c (main): ditto
598
599         * utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG
600         to check_default instead of 0, for prognum
601
602         * utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG
603         to check_default instead of 0, for prognum
604
605         * utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if
606         HAVE_TCP_WRAPPER is defined.
607         (mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is
608         defined. Reject an RPC call if check_default () fails.
609
610 2000-08-25  H.J. Lu <hjl@lucon.org>
611
612         * support/include/tcpwrapper.h: New for the tcp wrapper
613         support.
614         * support/misc/Makefile: Likewise.
615         * support/misc/from_local.c: Likewise.
616         * support/misc/tcpwrapper.c: Likewise.
617
618         * aclocal.m4 (AC_TCP_WRAPPER): New.
619         * configure.in: Use it. Substitute LIBWRAP.
620         * configure: Rebuilt.
621
622         * config.mk.in (LIBNSL): New.
623         (LIBWRAP): Likewise.
624
625         * support/Makefile (SUBDIRS): Add misc.
626
627         * support/lib/Makefile (LIBS): Add libmisc.a.
628
629         * utils/rquotad/Makefile (LIBS): Add
630         
631                 -lmisc $(LIBWRAP) $(LIBNSL)
632
633         * utils/statd/Makefile (LIBS): Likewise.
634
635         * utils/rquotad/rquota_svc.c: Include "tcpwrapper.h" if
636         HAVE_TCP_WRAPPER is defined.
637         (rquotaprog_1): Call check_default () if HAVE_TCP_WRAPPER is
638         defined. Reject an RPC call if check_default () fails.
639
640         * utils/statd/statd.c: Include "tcpwrapper.h" if
641         HAVE_TCP_WRAPPER is defined.
642         (sm_prog_1_wrapper): New. A wrapper for sm_prog_1. Call
643         check_default () before calling sm_prog_1 (). Define it as
644         sm_prog_1_wrapper if HAVE_TCP_WRAPPER is defined.
645
646 2000-08-25  Chip Salzenberg  <chip@valinux.com>
647
648         * debian/*: Complete Debian build support.
649         * etc/debian/*: Remove.
650
651 2000-08-24  Neil Brown <neilb@cse.unsw.edu.au>
652
653         * support/export/client.c(client_check): removed the "dot+1" as a
654           ypdomain argument to innetgr as this is entirely bogus.
655           It should always be NULL.
656         
657 2000-08-23  Neil Brown <neilb@cse.unsw.edu.au>
658
659         * support/export/xtab.c(xtab_read): introduce new mode for
660            reading xtab. i.e. a list of exports that might be known to the
661            kernel, or might not.  These are flagged as m_exported == -1
662         * support/export/xtab.c(xtab_mount_read):  call xtab_read with new
663            value "2" for xtab, meaning don't trust this too much.
664         * support/include/exportfs.h(struct mexport): changed m_exported
665            from one bit to an int so that it can hold new value
666         * utils/exportfs/exportfs.c(exportfs_ipdate): add an export to the
667            kernel if it is uncertain whether the kernel knows (m_exported == -1)
668         * utils/mountd/mountd.c(get_rootfh): similarly export to kernel if
669            status is uncertain
670
671         * support/nfs/xio.c(xflock): added O_CREAT when getting
672            a write lock so that missing files aren't fatal.
673
674         * etc/debian/nfs-common: new file from "potato"
675         * etc/debian/nfs-kernel-server: new file from "potato" plus fixes.
676          
677 2000-08-09  H.J. Lu <hjl@lucon.org>
678
679         * etc/redhat/nfs.init: Run /usr/sbin/exportfs first during
680         startup to ensure all existing clients work fine.
681
682         * support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0
683         to xtab_read () for reading _PATH_XTAB.
684
685 2000-08-02  H.J. Lu <hjl@lucon.org>
686
687         * utils/mountd/auth.c (auth_authenticate_internal): Try to
688         avoid the reverse name lookup.
689
690 2000-07-04  H.J. Lu <hjl@lucon.org>
691
692         * utils/statd/log.c: Include <stdlib.h> for exit ().
693
694         * utils/statd/misc.c (xunlink): Add `{' and `}' to quiet the
695         gcc warning.
696
697 2000-07-04  H.J. Lu <hjl@lucon.org>
698
699         * configure.in (VERSION): Set to "0.1.9.1".
700         * configure: Regenerated.
701         * nfs-utils.spec: Updated.
702
703         * README: Updated.
704
705 2000-07-04  Neil Brown  <neilb@cse.unsw.edu.au>
706
707         * support/export/hostname.c (hostent_dup): Handle the NULL
708         h_aliases field.
709
710 2000-07-03  H.J. Lu <hjl@lucon.org>
711
712         * README: Update the util-linux requirement.
713
714 2000-07-03  H.J. Lu <hjl@lucon.org>
715
716         * configure.in (VERSION): Set to "0.1.9".
717         * configure: Regenerated.
718         * nfs-utils.spec: Updated.
719
720         * README: Updated.
721
722 2000-07-03  H.J. Lu <hjl@lucon.org>
723
724         * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
725         stop to ensure all clients can still access the server
726         before it is shutdown.
727
728 2000-06-30  Jeff Uphoff <juphoff@transmeta.com>
729
730         * tools/rpcgen/rpc_svcout.c (write_msg_out): Generate syslog()
731         calls with format string.
732         
733 2000-06-28  Chip Salzenberg  <chip@valinux.com>
734
735         * utils/statd/log.c (log): Call syslog with format string.
736
737 2000-06-27  H.J. Lu <hjl@lucon.org>
738
739         * utils/statd/statd.c (main): Use sysconf (_SC_OPEN_MAX)
740         instead of OPEN_MAX.
741
742 2000-06-27  H.J. Lu <hjl@lucon.org>
743
744         * README: Updated.
745
746 2000-06-27  H.J. Lu <hjl@lucon.org>
747
748         * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
749         startup to ensure all existing clients are exported.
750
751         * configure.in (VERSION): Set to "0.1.8.2".
752         * configure: Regenerated.
753         * nfs-utils.spec: Updated.
754
755 2000-06-06  H.J. Lu <hjl@lucon.org>
756
757         * configure.in (VERSION): Set to "0.1.8.1".
758         * configure: Regenerated.
759         * nfs-utils.spec: Updated.
760
761 2000-06-06  H.J. Lu <hjl@lucon.org>
762
763         * utils/mountd/mountd.c (mount_dump_1_svc): Cast svc_getcaller
764         to "struct sockaddr_in *" for glibc 2.2.
765         (mount_umnt_1_svc): Likewise.
766         (mount_umntall_1_svc): Likewise.
767         (mount_export_1_svc): Likewise.
768         (mount_exportall_1_svc): Likewise.
769         (mount_pathconf_2_svc): Likewise.
770         (get_rootfh): Likewise.
771
772 2000-06-04  H.J. Lu <hjl@lucon.org>
773
774         * etc/redhat/nfs.init: Fix a typo in comment.
775
776 2000-05-31  H.J. Lu <hjl@lucon.org>
777
778         * configure.in (VERSION): Set to "0.1.8".
779         * configure: Regenerated.
780         * nfs-utils.spec: Updated.
781
782         * README: Updated.
783
784 2000-05-31  H.J. Lu <hjl@lucon.org>
785
786         * configure.in (VERSION): Set to "0.1.7.5".
787         * configure: Regenerated.
788         * nfs-utils.spec: Updated.
789
790         * support/include/nfslib.h (exportent): Add a new field,
791         r_count, to count the number of mounts from a client.
792         (getrmtabent): Take a new argument for position in file.
793         (putrmtabent): Likewise.
794         (fgetrmtabent): Likewise.
795         (fputrmtabent): Likewise.
796         * support/nfs/rmtab.c (getrmtabent): Handle the new argument
797         for position in file.
798         (fgetrmtabent): Likewise.
799         (putrmtabent): Likewise.
800         (fputrmtabent): Likewise.
801
802         * support/nfs/rmtab.c (fgetrmtabent): Get value for the new
803         field, r_count.
804
805         * support/export/rmtab.c (rmtab_read): Pass NULL as the new
806         argument to getrmtabent (), fgetrmtabent (), putrmtabent ()
807         and fputrmtabent ().
808         * utils/mountd/rmtab.c (mountlist_add): Likewise.
809         (mountlist_del): Likewise.
810         (mountlist_del_all): Likewise.
811         (mountlist_list): Likewise.
812
813         * utils/mountd/rmtab.c (mountlist_add): Increment "r_count"
814         for the existing entry and initialize "r_count" to 1.
815         (mountlist_del): Decrement "r_count".
816
817 2000-05-18  H.J. Lu <hjl@lucon.org>
818
819         * configure.in (VERSION): Set to "0.1.7.4".
820         * configure: Regenerated.
821         * nfs-utils.spec: Updated.
822
823 2000-05-18  H.J. Lu <hjl@lucon.org>
824
825         * etc/redhat/nfs.init (restart): Just do stop and start.
826
827 2000-05-09  Jay Weber <jweber@valinux.com>
828
829         * utils/rquotad/hasquota.c: added support for ext3 recognition
830         in rquotad.
831         * utils/rquotad/mntent.h: Likewise.
832
833 2000-05-01  H.J. Lu <hjl@lucon.org>
834
835         * configure.in (VERSION): Set to "0.1.7.3".
836         * configure: Regenerated.
837         * nfs-utils.spec: Updated.
838
839 2000-05-01  H.J. Lu <hjl@lucon.org>
840
841         * utils/rquotad/rquota_server.c (getquotainfo): Skip bad
842         mounting poins in /etc/fstab.
843
844 2000-05-01  H.J. Lu <hjl@lucon.org>
845
846         * configure.in (VERSION): Set to "0.1.7.2".
847         * configure: Regenerated.
848         * nfs-utils.spec: Updated.
849
850 2000-05-01  H.J. Lu <hjl@lucon.org>
851
852         * utils/rquotad/rquota_server.c (getquotainfo): Call stat ()
853         to check for the mounting point.
854
855 2000-04-29  Chip Salzenberg  <chip@valinux.com>
856             Neil Brown  <neilb@cse.unsw.edu.au>
857
858         * Really re-use RPC ports.
859           (Fixes earlier patch.  Sorry, Neil.)
860
861 2000-04-26  H.J. Lu <hjl@lucon.org>
862
863         * configure.in (VERSION): Set to "0.1.7.1".
864         * configure: Regenerated.
865         * nfs-utils.spec: Updated.
866
867 2000-04-26  H.J. Lu <hjl@lucon.org>
868
869         * etc/redhat/nfslock.init: Check if lockd exits before killing
870         it.
871
872 2000-04-25  H.J. Lu <hjl@lucon.org>
873
874         * README: Require util-linux-2.10f-mount-rpc.patch for mount.
875
876 2000-03-21 Michael Weiser <michael@weiser.saale-net.de>
877
878         * support/nfs/exports.c (parsesquash): Correctly set the
879         return pointer.
880
881 Tue Mar 21 11:38:48 EST 2000 NeilBrown <neilb@cse.unsw.edu.au>
882
883         * support/include/nfs/nfs.h: Removed knowledge of internals of
884              kernel filehandles (which can change) and defined nfs_fh_size
885              which has variable size
886         
887         * support/nfs/getfh.c: defined getfh_size to use new syscall to
888              get variable sized file handles, and change getfh{,old} to
889              use nfs_fh_size        
890         
891         * utils/mountd/mountd.c: use nfd_fh_size and call getfh_size for
892              NFSv3 file handles
893
894         * tools/Makefile, tools/nlmtest/nlmtest.c
895              nlmtest.c depended on internel format of file handles, so now
896              doesn't work.
897
898         
899 2000-03-12  Chip Salzenberg  <chip@valinux.com>
900             Neil Brown  <neilb@cse.unsw.edu.au>
901
902         * support/nfs/rpcmisc.c (rpc_init): Share transports.
903
904 2000-03-13 H.J. Lu <hjl@lucon.org>
905
906         * etc/redhat/nfsd.init: Updated.
907
908         * etc/redhat/nfslock.init: Updated.
909
910         * nfs-utils.spec.in: Updated.
911
912         * configure.in (VERSION): Set to "0.1.7".
913         * configure: Regenerated.
914         * nfs-utils.spec: Updated.
915
916         * README: Updated.
917
918 Wed Mar  8 09:42:43 2000 Neil Brown <neilb@cse.unsw.edu.au>
919
920         * utils/exportfs/exportfs.c (dump): Included printing of
921            nohide, no_subtree_check, and insecure_locks
922
923 2000-02-26  Chip Salzenberg  <chip@valinux.com>
924
925         * config.mk.in (INSTALLSUID): Strip ("-s").
926         (INSTALLSCRIPT): Define.
927         * utils/nhfsstone/Makefile: Use it.
928
929 2000-02-26  Chip Salzenberg  <chip@valinux.com>
930
931         * utils/lockd/lockd.man: Create.
932         * utils/lockd/Makefile: Install it.
933         * utils/nhfsstone/nhfs{run,nums,graph}.man: Create.
934         * utils/nhfsstone/nhfsstone.man: Change suffix from ".1".
935         * utils/nhfsstone/Makefile: Install the helper scripts and
936           all four man pages.
937         * utils/exportfs/exports.man: Fix typo.
938
939 2000-02-26  Chip Salzenberg  <chip@valinux.com>
940
941         * support/nfs/xio.c (xungetc): Decrement line number when
942         character to unget is newline.  Make first parameter int, so
943         it can distinguish EOF from \377.
944         * support/include/xio.h (xungetc): Adjust prototype.
945
946 Fri Feb  4 23:42:23 2000 Neil Brown <neilb@cse.unsw.edu.au>
947
948         * support/include/nfs/export.h: added NFSEXP_NOAUTHNLM
949         * support/nfs/exports.c: added handling for NFSEXP_NOAUTHNLM
950         * utils/exportfs/exports.man: added documentation for no_auth_nlm.
951
952         This is for supporting a new option introduced in 2.3.42
953
954 Thu Feb  3 14:55:48 2000 H.J. Lu <hjl@lucon.org>
955
956         * COPYING: Added. GPL.
957
958 Thu Feb 03 14:40:40 2000 Cristian Gafton <gafton@redhat.com>
959
960         * utils/rquotad/rquota_server.c (getquotainfo): Call statfs ()
961         to get the block size.
962
963 Tue Jan 25 11:04:17 2000 H.J. Lu <hjl@lucon.org>
964
965         * nfs-utils.spec.in: Update ftp site.
966
967 Mon Jan 17 11:48:18 2000 H.J. Lu <hjl@lucon.org>
968
969         * README: Update hostnames.
970
971 Tue Jan 11 10:06:22 2000 H.J. Lu <hjl@lucon.org>
972
973         * configure.in (VERSION): Set to "0.1.6".
974         * configure: Regenerated.
975         * nfs-utils.spec: Updated.
976
977         * README: Updated.
978
979 Mon Jan 10 14:26:33 2000 H.J. Lu <hjl@lucon.org>
980
981         * utils/mountd/auth.c (auth_authenticate_internal): Call
982         xstrdup for hostname before passing it to gethostbyname.
983
984         * utils/mountd/mountd.c (get_exportlist): Use xstrdup instead
985         of strdup.
986
987 Sun Dec 19 09:35:01 1999  H.J. Lu <hjl@lucon.org>
988
989         * README: Update the mailing list address.
990
991 Sun Dec 19 09:22:28 1999  H.J. Lu <hjl@lucon.org>
992
993         * configure.in (VERSION): Set to "0.1.5".
994         * configure: Regenerated.
995         * nfs-utils.spec: Updated.
996
997         * README: Updated.
998
999 Mon Dec 13 13:40:20 1999  H.J. Lu <hjl@lucon.org>
1000
1001         * utils/rquotad/hasquota.c (hasquota): Malloc one more char
1002         for '/'.
1003
1004 Mon Dec  6 09:42:45 1999  H.J. Lu <hjl@lucon.org>
1005
1006         * configure.in (VERSION): Set to "0.1.4".
1007         * configure: Regenerated.
1008         * nfs-utils.spec: Updated.
1009
1010         * README: Updated.
1011
1012 Mon Dec  6 09:28:07 1999  H.J. Lu <hjl@lucon.org>
1013
1014         * nfs-utils.spec.in: New file.
1015
1016         * config.mk.in (VERSION): Changed to "nfs-utils @VERSION@".
1017
1018         * configure.in (nfs-utils.spec): Added to AC_OUTPUT.
1019
1020 1999-12-04  Chip Salzenberg  <chip@valinux.com>
1021
1022         * config.mk.in: Use $(CC) as set by configure.
1023
1024 1999-12-04  Chip Salzenberg  <chip@valinux.com>
1025
1026         * rules.mk: Call $(MAKE) with $(MFLAGS).
1027
1028 Mon Nov 29 11:17:35 1999  H.J. Lu <hjl@lucon.org>
1029
1030         * tools/rpcgen/rpc_main.c (h_output): Generate IXDR_GET_INT32,
1031         IXDR_PUT_INT32, IXDR_GET_U_INT32 and IXDR_PUT_U_INT32.
1032
1033 Mon Nov 29 11:17:35 1999  H.J. Lu <hjl@lucon.org>
1034
1035         * nfs-utils.spec (Version): Set to 0.1.3.
1036
1037         * configure.in (VERSION): Set to "nfs-utils 0.1.3".
1038         * configure: Regenerated.
1039
1040         * README: Updated.
1041
1042 Mon Nov 29 11:15:47 1999  H.J. Lu <hjl@lucon.org>
1043
1044         * utils/rquotad/rquota_server.c (nfsmount_to_devname): Removed.
1045         (_PATH_DEV_DSK): Likewise.
1046         (getquotainfo): Match the mounting point from /etc/mtab
1047         instead of calling nfsmount_to_devname ().
1048
1049 1999-11-24  Chip Salzenberg  <chip@valinux.com>
1050
1051         * utils/statd/monitor.c (sm_mon_1_svc): Accept lockd callbacks
1052         to the new port 24 as well as the historical port 100021.
1053
1054 Tue Nov 23 10:21:34 1999 Neil Brown <neilb@cse.unsw.edu.au>
1055
1056         * etc/redhat/nfsd.init (stop): moved exportfs -ua after
1057         stopping nfsd to stop spurious ESTALE on server shutdown.
1058         
1059 Tue Nov 23 10:13:39 1999  Neil Brown <neilb@cse.unsw.edu.au>
1060
1061         * support/nfs/exports.c (parseopts): make copy of opt string
1062         before 'nul'ing out commas so that
1063
1064         # exportfs -o option1,option2 hosta:/fs hostb:/fs
1065
1066         applies both options to both exports.
1067
1068 Thu Oct 28 12:55:42 1999  H.J. Lu <hjl@lucon.org>
1069
1070         * README: Fix a few typos.
1071
1072         * tools/rpcgen/rpc_cout.c (print_header): Use int32_t instead
1073         of long.
1074         * tools/rpcgen/rpc_hout.c (pdefine): Likewise.
1075         * tools/rpcgen/rpc_main.c (c_initialize): Likewise.
1076         * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1077         (unsigned_dec): Likewise.
1078         * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1079         * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1080
1081         * tools/rpcgen/rpc_cout.c (emit_single_in_line): Use INT32
1082         instead of LONG.
1083         * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1084         (unsigned_dec): Likewise.
1085         * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1086         * tools/rpcgen/rpc_scan.h (tok_kind): Likewise.
1087         * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1088
1089 Thu Oct 28 11:27:51 1999 Neil Brown <neilb@cse.unsw.edu.au>
1090
1091         * support/include/nfs/export.h addedd NFSEXP_NOSUBTREECHECK
1092         * support/nfs/exports.c: added {no_,}subtree_check and changed
1093           crossmnt to nohide
1094         * utils/exportfs/exports.man: added no_subtree_check and nohide
1095           and removed irrelevant stuff from unfsd.
1096         * support/export/rmtab.c: rmtab_read didn't quite do the right
1097           thing if a pathname from rmtab was a subdirectory of an export-point
1098
1099 Tue Oct 26 17:22:40 1999  H.J. Lu <hjl@lucon.org>
1100
1101         * README: Updated ftp site.
1102
1103 Mon Oct 25 18:12:45 1999  H.J. Lu <hjl@lucon.org>
1104
1105         * nfs-utils.spec (Version): Set to 0.1.2.
1106
1107         * configure.in (VERSION): Set to "nfs-utils 0.1.2".
1108         * configure: Regenerated.
1109
1110         * README: Updated.
1111
1112 Mon Oct 25 18:11:21 1999  H.J. Lu <hjl@lucon.org>
1113
1114         * utils/mountd/auth.c (auth_error): Add "no_forward_dns".
1115         (auth_authenticate_internal): Check for NULL return on forward
1116         DNS lookup.
1117         (auth_authenticate): Handle "no_forward_dns".
1118
1119 Thu Oct 21 16:22:06 1999  H.J. Lu <hjl@lucon.org>
1120
1121         * Version 0.1.1 released.
1122
1123         * nfs-utils.spec (Version): Set to 0.1.1.
1124
1125         * configure.in (VERSION): Set to "nfs-utils 0.1.1".
1126         * configure: Regenerated.
1127
1128         * README: Updated.
1129
1130 Mon Oct 18 17:43:29 1999  H.J. Lu <hjl@lucon.org>
1131
1132         * nfs-utils.spec (Obsoletes): Fixed a typo, change knfsd-client
1133         to knfsd-clients.
1134         (Provides): Likewise.
1135
1136 Mon Oct 18 14:56:22 1999  H.J. Lu <hjl@lucon.org>
1137
1138         * Initial version 0.1 released.
1139
1140         * configure.in (VERSION): Set to "nfs-utils 0.1".
1141         * configure: Regenerated.
1142
1143 Mon Oct 18 14:54:57 1999  H.J. Lu <hjl@lucon.org>
1144
1145         * utils/mountd/mountd.c (get_exportlist): Cleanup.
1146
1147         * utils/exportfs/exportfs.c (unexport_all): Unexport from
1148         kernel only if the entry is exported to kernel.
1149         (unexportfs): Likewise.
1150
1151 Wed Sep 08 16:49:32 1999  Neil Brown <neilb@cse.unsw.edu.au>
1152
1153 1/ utils/mountd/rmtab.c::mountlist_list
1154
1155      This routine stats the rmtab file to see if it has changed.  It
1156      if has, it cleans up it's old copy of the data. But it still
1157      always re-read the file, thus returning multiple copies of the
1158      data on consecutive calls without intervening changes.
1159      "Showmount -a" didn't show this as it appears to sort/unique the
1160      data, but 'strace showmount -a' showed that the size of the
1161      datagram that it received grew.
1162
1163      I moved the getrmtabent loop inside the mtime test.
1164
1165 2/ utils/exportfs/exportfs.c
1166    
1167      Many routines used the m_path field of m_export instead of
1168      e_path.
1169      According to the comment in nfslib.h, m_path should only
1170      be used when processing a mount request (i.e. in mountd)
1171      where the mountpoint may be a subdirectory of the export point.
1172
1173      I changed all occurances of m_path to e_path
1174
1175
1176 3/ utils/exportfs/exportfs.c:main
1177
1178       extra arguments are not meaningful with -a or -r, but
1179       exportfs accepted them and then ignored the -a/-r, expect that
1180       -r would still unexport everything first.
1181
1182       I generate an error if there are extra args and f_all
1183
1184 4/ utils/exportfs/exportfs.c:main
1185      extract dump out as a special case.
1186
1187 5/ utils/exportfs/exportfs.c
1188      made f_reexport a local variable.
1189
1190
1191 6/ utils/exportfs/exportfs.c:main,exportall
1192
1193     support/export/rmtab.c
1194        only  mayexport on newly created entries, don't set xtabent at all
1195
1196 7/ support/include/nfslib.h
1197
1198       add #define _PATH_PROC_EXPORTS to be /proc/fs/nds/exports
1199
1200 8/ support/export/xtab.c
1201
1202       xtab_mount_read loads data from _PATH_PROC_EXPORTS if it exists,
1203       else from xtab
1204
1205
1206 9/ support/export/xtab.c
1207
1208       xtab_mount_read now sets m_exported, and NOT
1209         xtabent and mayexport
1210
1211       removed the append arguement from xtab_write as it was
1212         never used.
1213
1214       added is_export flag to xtab_write similar to xtab_read
1215         if is_export, only write entries with m_xtabent or m_addxtab
1216         if !is_export, only write entries with m_exported
1217      
1218 10/ support/export/export.c::export_allowed_internal
1219
1220       added test for exp->m_mayexport, as the export tree
1221         may have entries that are no longer allowed to be exported,
1222         and so shouldn't caused deduced exported by rmtab_read
1223
1224 11/ utils/exportfs/exportfs.c::main
1225         error checking of flags.
1226
1227 12/ utils/exportfs/exportfs.c
1228
1229         total rewrite of export and unexport logic.
1230         We now:
1231         -  build an exportslist of valid exports, based on
1232            current etab file  and arguments,
1233         -  read rmtab to instantiate relevant wild card entries
1234         -  read etab to find out what is currently exported
1235         -  synchronise intention with reality
1236         -  write out etab and xtab
1237
1238 13/  various
1239         discard the m_addxtab flag
1240         add m_changed flag so we know what to report in exportfs
1241
1242 14/ utils/mountd/auth.c:auth_authenticate
1243
1244         the value returned by gethostbyaddr was trusted.
1245
1246         It now follows this with a call to gethostbyname
1247         and checks that the address is in the list.
1248
1249 15/ support/export/nfsctl.c::cltsetup,expsetup
1250
1251         force client names to lowercase as kernel is
1252         sensitive to case
1253
1254 16/ quietened a few compiler warnings
1255
1256 17/ support/export/client:client_lookup
1257
1258      look for pre-existing client with same name before creating
1259         a new one.
1260
1261 18/ support/include/exportfs.h
1262
1263      The ordering of the MCL_* enum was:
1264         ANONYMOUS, FQDN, SUBNETWORK, WILDCARD, NETGROUP
1265
1266      I moved ANONYMOUS to the end.
1267
1268      The ordering is significant when an export entry is being searched for to 
1269         match a given address.  There are two problems with ANONYMOUS being first.
1270
1271         1/ if a directory is exported rw to a couple of hosts and ro to everyone else,
1272            then the ro case will always be found first and the privileged hosts won't get
1273            their privilege
1274         2/ When mountd gets a request to mount an ANONYMOUSly exported tree, it creates a FQDN
1275            export entry for the specific host, and writes it to xtab.
1276            When another request comes from the same host, the ANONYMOUS entry is found again, 
1277            before the new FQDN entry, so it creates another FQDN entry and writes it to xtab
1278            again.  If causes bloat in xtab.
1279
1280       Putting ANONYMOUS at the end reflects it's nature as a catch-all
1281
1282 19/ utils/exportfs/exportfs.man
1283         many updates to the man page to reflect changes to the code
1284
1285 -----------------------
1286
1287
1288
1289 TODO:
1290
1291 - allow exportfs to modify rmtab file
1292 - make sure kernel never gets two clients with same IP address
1293     - possible kernel should reject
1294     - needs to be some way to lookup client in kernel by IP address
1295 - maybe get kernel to do case-insensitive comparisons on client names
1296 - remove unused clients from kernel
1297
1298 - change etab to xtab and xtab to xtab.active
1299
1300 - timestamp and/or statd-stamp in rmtab for removing old entries.
1301
1302 Mon Oct 18 11:48:07 1999  H.J. Lu <hjl@lucon.org>
1303
1304         * linux-nfs: New directory.
1305         * linux-nfs/ChangeLog: Moved from ..
1306         * linux-nfs/INSTALL: Likewise.
1307         * linux-nfs/KNOWNBUGS: Likewise.
1308         * linux-nfs/NEW: Likewise.
1309         * linux-nfs/README: Likewise.
1310         * linux-nfs/THANKS: Likewise.
1311         * linux-nfs/TODO: Likewise.
1312
1313         * Starting from knfsd 1.4.7.