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