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