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