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