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