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