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