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