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