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