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