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