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