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