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