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