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