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