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