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