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