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