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