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