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