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