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