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