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