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