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