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