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