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