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