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