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