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