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