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