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