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