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