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