]> git.decadent.org.uk Git - nfs-utils.git/blob - ChangeLog
changelog
[nfs-utils.git] / ChangeLog
1 2004-10-19 "J. Bruce Fields" <bfields@fieldses.org>
2
3         * support/gssapi/* support/rpc/* utils/gssd/* utils/svcgssd/* etc
4         initial support for GSSAPI authentication
5         
6 2004-09-15 Neil Brown <neilb@cse.unsw.edu.au>
7
8         * utils/statd/monitor.c(sm_unmon_1_svc): is RESTRICTED_STATD, then
9         check IP address and force my_name to 127.0.0.1 to match 
10         what happens in sm_mon_1_svc.  This avoid spurious "erroneous
11         SM_UNMON" messages.
12         * utils/statd.monitor.c(sm_unmon_all_1_svc): likewise
13         
14 2004-09-15 "J. Bruce Fields" <bfields@fieldses.org>     
15
16         * Assorted changes to support "gss/*" style authentication
17         * utils/idmapd: new idmapd daemon for nfsv4 username lookup
18         
19 2004-09-06 Trond Myklebust <trond.myklebust@fys.uio.no>
20         Neil Brown <neilb@cse.unsw.edu.au>
21
22         * utils/mountd/auth.c(auth_authenticate_internal): fix
23         uninitialsed variable problem (causes bad error messages).
24
25 2004-09-06 Paul Clements <paul.clements@steeleye.com>
26         Neil Brown <neilb@cse.unsw.edu.au>
27
28         * utils/mountd/mountd.c(main): support --ha-callout (-H) for
29         specifying a callout program
30         * utils/mountd/rmtab.c: Call ha_callout on mount/unmount
31         * utils/statd/monitor.c: Call ha_callout on add/del client
32         * utils/statd/rmtcall.c: as above
33         * utils/statd/statd.c: handle --ha-callout (-H)
34         * utils/statd/svc_run.c: call notify_hosts is we have received a
35         sighup
36         * support/include/ha-callout.h: define ha_callout function
37          
38         
39 2004-08-31 NeilBrown <neilb@cse.unsw.edu.au>
40         * utils/mountd/cache.c(cache_process_req): clear fd after
41         processing so as not to confused libc/sunrpc into thinking
42         it need to do something with that fd.
43         
44 2004-08-31 NeilBrown <neilb@cse.unsw.edu.au>
45
46         * debian/nfs-kernel-server.init(start,stop) mount the nfsd
47         filesystem, if available, before starting nfs services, and 
48         unmount it afterwards.
49         * etc/nodist/nfs-server: ditto
50         * etc/redhat/nfs.init: likewise
51         * etc/redhat/nfs: add "MOUNT_NFSD" flag to control above.
52         
53 2004-06-08 NeilBrown <neilb@cse.unsw.edu.au>
54
55         * utils/exportfs/exportfs.c: Don't rmtab_read if new_cache, it
56           isn't necessary.
57         * support/nfs/cacheio.c(cache_flush): Change order in which caches
58           are flushed so that dependancies don't keep things in the cache
59           too long.
60         
61 2004-03-18  Chip Salzenberg  <chip@pobox.com>
62
63         * debian/changelog: Version 1.0.6-2.
64
65 2004-02-24 NeilBrown <neilb@cse.unsw.edu.au>
66         from "J. Bruce Fields" <bfields@fieldses.org>
67
68         * utils/mountd/cache.c: call auth_reload to make sure auth data is
69         current before responding to kernel upcall.
70         
71 2004-02-24 NeilBrown <neilb@cse.unsw.edu.au>
72         Based on patch from  Greg Banks <gnb@melbourne.sgi.com>
73
74         * utils/exportfs/exports.man: Document fsid= option.
75         
76 2003-09-15 NeilBrown <neilb@cse.unsw.edu.au>
77
78         Release 1.0.6
79
80         * rules.mk: Add dep: rule when no OBJS, so "make dep" works in
81         support/include, and depend in "predep"
82         * support/export/Makefile, tools/rpcgen/Makefile,
83         utils/statd/Makefile: add "predep" rule so that "make dep" works.
84         * Makefile: allow a simple "make" to run ./configure and "make dep"
85         if needed.
86         * configure.in, nfs-utils.spec: Update version to 1.0.6
87         * run autoconf
88         
89 2003-09-12  Chip Salzenberg  <chip@pobox.com>
90
91         * debian/changelog: Version 1.0.6-1.
92
93 2003-09-12 NeilBrown <neilb@cse.unsw.edu.au>
94
95         * utils/mountd/mountd.c(main): Impose FD_SETSIZE as an upper limit
96         for RLIMIT_NOFILE
97         * utils/statd/statd.c(main): Ditto.
98
99            michael <michael@newdream.net> discovered that svc_setreqsize
100            in glibc can segfault if RLIMIT_NOFILE is bigger than
101            FD_SETSIZE, so a simple solution is to impose a hard limit.
102
103 2003-09-09  Chip Salzenberg  <chip@pobox.com>
104
105         * debian/changelog: Version 1.0.5-3.
106         * support/export/hostname.c (get_reliable_hostbyaddr): Fix crash
107         on invalid reverse DNS.
108         * utils/showmount/showmount.c (main): Fix inet_ntoa() parameter.
109         * tools/rpcgen/rpc_cout.c (print_header): Remove unused vars.
110         * tools/rpcgen/rpc_parse.c (def_union): Likewise.
111
112 2003-08-22  Chip Salzenberg  <chip@pobox.com>
113
114         * utils/statd/{log.h,log.c}: Rename log() to note() and L_* to
115         N_*, to avoid conflict with ISO C built-in log() function.
116         * utils/statd/*.c: Use note().
117
118 2003-08-20  Chip Salzenberg  <chip@pobox.com>
119
120         * debian/changelog: Version 1.0.5-2.
121
122 2003-08-11 NeilBrown <neilb@cse.unsw.edu.au>
123
124         * utils/mountd/cache.c(cache_get_filehandle): close the filehandle
125         before returning.
126         
127 2003-08-04 NeilBrown <neilb@cse.unsw.edu.au>
128
129         * support/include/nfs/export.h, support/nfs/exports.c,
130         utils/exportfs/exports.c, utils/mountd/mountd.c:  change
131         NFSEXP_CROSSMNT to NFSEXP_CROSSMOUNT to avoid confusion with older
132         meaning. Also remove meaningless
133         NFSEXP_{UIDMAP,KERBEROS,SUNSECURE}
134         
135 2003-08-04 NeilBrown <neilb@cse.unsw.edu.au>
136
137         * support/export/xtab.c, support/include/nfslib.h,
138         support/nfs/cacheio.c, support/nfs/nfssvc.c,
139         utils/exportfs/exportfs.c, utils/exportfs/exportfs.man,
140         utils/exportfs/nfsd.man, utils/mountd/cache.c: support
141         /proc/fs/nfsd/* as a perferred alternate to /proc/fs/nfs/*
142         (nfs-utils-1.0.5-post2)
143         
144 2003-08-04 NeilBrown <neilb@cse.unsw.edu.au>
145
146         * support/nfs/nfsexport.c: open channel file O_WRONLY when
147         only writing.
148         * utils/mountd/cache.c: maintain mountlist when new_cache is
149         active. Also use O_WRONLY for channel files.
150         * utils/mountd/mountd.h: mountlist_{del,add} now take a host name
151         rather than an nfs_export.
152         * utils/mountd/rmtab.c: ditto.
153         (nfs-utils-1.5.0-post1)
154         
155 2003-07-24  Chip Salzenberg  <chip@pobox.com>
156
157         * support/nfs/xlog.c (xlog): Revise buffer-overflow fix to
158         use Debian security team's cleaner approach.
159         * debian/changelog: Version 1.0.5-1.
160         * debian/nfs-kernel-server.init: Cosmetic changes.
161
162 2003-07-18 NeilBrown <neilb@cse.unsw.edu.au>
163
164         Release 1.0.5:
165          1.0.4 was a bit of a brown-paper-bag-release because of the extra
166          'free' in auth.c.  So I'm releasing this just a few days later.
167
168         * support/nfs/cacheio.c(cache_flush): Correct test for 'open
169         failed'
170         * utils/exportfs/exportfs.c(main): If "-f" given as lone option,
171         check if new_cache is enabled, error if not, flush and exit if it
172         is. 
173         * utils/exportfs/exportfs.man: Explain -f option and explain the
174         two different modes that exportfs can work in.
175         * utils/mountd/mountd.c: Do not change RLIMIT_NOFILE if the -o
176         option wasn't given.
177         * utils/mountd/mountd.man: Record the change if default behaviour
178         for RLIMIT_NOFILE.
179         * configure.in, nfs-utils.spec: update version to 1.0.5 and
180         run autoconf
181         
182 2003-07-15 NeilBrown <neilb@cse.unsw.edu.au>
183
184         * utils/mountd/mountd.c(main): getopt string fix for 'o'
185         * utils/mountd/auth.c(auth_authenticate): remove extra 'free'
186         * utils/exportfs/exportfs.c(main): make 'exportfs -f' just flush
187         the caches.
188         * support/include/nfs/export.h: Reserve a bit for possible ACL
189         related use.
190         
191 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
192
193         * utils/exportfs/nfsd.man: new man page for nfsd filesystem. Also
194         assorted changed to cope with section 7 of the manual.
195         * configure.in, nfs-utils.spec: Update version to 1.0.4
196         * run autoconf
197
198         This is a 'pre-release' for 1.1.0  Hopefully 1.1.0 will be the
199         baseline for 2.6 and 2.8.  I.e. it should continue to work right
200         through the 2.8 (or 3.0) kernel series.  Previous releases wont.
201
202 2003-07-04 NeilBrown <neilb@cse.unsw.edu.au>    
203         Steve Dickson <SteveD@redhat.com>
204
205         statd cleanup:
206         * utils/statd/statd.c: create a pidfile with pid of statd, and
207         truncate it when statd exists.
208         * utils/statd/statd.c: drop privs by setuid to owner of SM_DIR,
209         and warn if this is root.
210         * utils/statd/statd.c: when statd forks, connect child to parent
211         with a pipe, and send a byte down the pipe once the child is
212         working properly.
213         * Makefile: create and chown sm, sm.bak, state when "make install"
214         * configure.in: add --with-statduser= option which defaults to
215         "rpcuser" or "nobody"
216         * config.mk.in: pass "statduser" through to Makefile
217         
218 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
219
220         * support/include/nfs/nfs.h: Make sure correct __kernel_dev_t is
221         used as the size was changed somewhere in 2.5.60-2.5.70.  Without
222         this nfs-utils compiles against 2.6 headers will not work on a
223         2.4 kernel.     
224         
225 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
226
227         * support/nfs/nfssvc.c(nfssvc): If /proc/fs/nfs/threads exists,
228         set number of threads by writing to there.  This means it will
229         still work when the syscall interface goes away in 2.7.
230
231 2003-07-03 NeilBrown <neilb@cse.unsw.edu.au>
232         fumihiko kakuma <kakmy@mvh.biglobe.ne.jp>
233
234         * utils/exportfs/exportfs.c(unexportfs): improve host comparison
235         so as to only export the wildcard exports that were asked for.
236         * support/export/export.c(export_allowed): changed to return the
237         nfs_export rather than a "struct exportent", as m_changed is
238         needed by called
239         * support/export/rmtab.c(rmtab_read): modified to deal with
240         interface change for export_allowed(), and enhanced to preserve
241         m_changed flag when a wild-card export causes the creation of
242         a non-wildcard export.
243         
244 2003-07-02 NeilBrown <neilb@cse.unsw.edu.au>
245         Steve Dickson <SteveD@redhat.com>
246
247         * utils/mountd/mountd.man: Add valid kinds of debugging.
248         * utils/mountd/mountd.c(main): ignore SIGPIPE
249         * utils/nfsstat/nfsstat.c: fine-tune printing of warning so
250         we don't get warnings about unavailable stats that weren't asked
251         for.
252         
253 2003-06-24 NeilBrown <neilb@cse.unsw.edu.au>
254
255         * support/nfs/nfsexport.c(exp_unexp): When unexporting filesystems
256         via /rpc/net/rpc/nfsd*/channel, set the expiry date to 1, not
257         'forever', so things disappear out of the cache rather than just
258         be ignored. 
259         
260 2003-06-16  "J. Bruce Fields" <bfields@fieldses.org>
261
262         * utils/mountd/cache.c(nfsd_fh): don't export the export_ent
263         if it wasn't found.
264
265 2003-06-16  NeilBrown   <neilb@cse.unsw.edu.au>
266
267         * debian/nfs-kernel-server.init,etc/nodist/nfs-server,
268         etc/redhat/nfs.init: when checking if V3 is supported, make sure
269         nfs server 'knows' about 127.0.0.1 first.
270         
271 2003-06-10  Chip Salzenberg  <chip@pobox.com>
272
273         * support/nfs/xlog.c (xlog): Fix off-by-one buffer overflow bug.
274         * debian/changelog: Version 1.0.3-2.
275
276 2003-05-30 Michael Griffith <grif@michaelgriffith.com>
277         NeilBrown <neilb@cse.unsw.edu.au>
278
279         utils/nfsstat/nfsstat.c(print_callstats): use unsigned
280         long long to avoid overflow when printing stats.
281         
282 2003-05-30  NeilBrown <neilb@cse.unsw.edu.au>
283
284         * support/export/export.c, support/include/nfslib.h,
285         support/nfs/export.c, utils/exportfs/exportfs.c,
286         utils/mountd/mountd.c: new export option "mountpoint"
287         If no path is given, then the export point must be a
288         mount point, or it won't be exported.  If a path is 
289         given (e.g. mountpoint=/path) then that path must be
290         a mountpoint or the exportpoint won't be exported.
291         * utils/exportfs/exportfs.man: document mountpoint option.
292         * support/misc/mountpoint.c: New file with is_mountpoint()
293         to determine if something is a mountpoint.
294         
295 2003-05-23  NeilBrown <neilb@cse.unsw.edu.au>
296
297         * utils/mountd/cache.c(cache_get_filehandle): take a separate path
298         argument as we might not be getting the filehandle for the
299         mountpoint.
300         * utils/mountd/mountd.c(get_rootfh): pass real path when calling
301         cache_get_filehandle.
302         * utils/mountd/mountd.c(get_rootfh): check export point and
303         requested directory are on the same filesystem, and complain if
304         not.
305         
306 2003-05-22  NeilBrown <neilb@cse.unsw.edu.au>
307
308         * utils/mountd/auth.c(auth_authenticate_internal): make sure
309         portnumber is still checked when using new cache lookup.
310         
311 2003-05-21  NeilBrown <neilb@cse.unsw.edu.au>
312
313         * utils/exportfs/exportfs.c: Use check_new_cache and cache_flush
314          Don't actually talk to kernel when new cache is in effect, except
315          to flush
316         * utils/exportfs/exportfs.c: add -f option to fully flush cache.
317         * support/export/xtab.c: Only rename new xtab into place if it has
318          changed, thus preserving modify date for exportfs to use when
319          flushing.
320         * support/nfs/cacheio.c: Add cache_flush
321         * support/export/xtab.c: Only rename new xtab into place if it has
322          changed, thus preserving modify date for exportfs to use when
323          flushing.
324         
325 2003-05-21  NeilBrown <neilb@cse.unsw.edu.au>
326
327         * support/export/client.c: Add client_compose, client_member to
328         handle new composite client names
329         * support/include/exportfs.h: Declare above functions.
330         * utils/mountd/auth.c: use client_compose to determine calling
331         client if new cache is being used.
332         * utils/mountd/auth.c: call cache_export to export a filesystem if
333         new_cache, check if new cache is used, and call my_svc_run instead
334         of svc_run
335         * utils/mountd/svc_run.c: new file defining my_svc_run
336         * utils/mountd/cache.c: new file for handling cache upcalls.
337         * support/nfs/cacheio.c(check_new_cache): new function to check if
338         new cache should be used.
339         
340         
341 2003-05-21  NeilBrown <neilb@cse.unsw.edu.au>
342
343         * support/include/nfs/export.h: New CROSSMNT distinct from NOHIDE
344         * support/nfs/exports.c: Make CROSSMNT distinct from NOHIDE
345         * utils/exportfs/exportfs.c(dump): ditto
346         
347 2003-05-21  NeilBrown <neilb@cse.unsw.edu.au>
348
349         * support/export/hostname.c(get_reliable_hostbyaddr): new function
350         to get host name from address with full checking of authenticity.
351         * support/include/misc.h: declare above function
352         * utils/mountd/auth.c(auth_authenticate_internal): remove all
353         logic for authenticating address.
354         * utils/mountd/auth.c(auth_authenticate): call new
355         get_reliable_hostbyaddr to to hostname lookup before calling _internal.
356         
357         
358 2003-03-30  NeilBrown <neilb@cse.unsw.edu.au>
359
360         * tools/rpcgen/rpc_main.c(find_cpp): removed
361         * tools/rpcgen/rpc_main.c(open_input): use execvp to find "cpp", 
362         then try hard-coded paths.
363         
364 2003-03-26  Chip Salzenberg  <chip@pobox.com>
365
366         * debian/changelog: Version 1.0.3-1.
367
368 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
369
370         * utils/mountd/rmtab.c (slink_safe_rename): real_newpath should be
371         "const char*", not "char*".
372
373 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
374
375         * configure.in (VERSION): Set to "1.0.3".
376         * nfs-utils.spec: Likewise.
377         * configure: Regenerated.
378
379 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
380
381         * support/nfs/cacheio.c: New File - support for read/writing
382         to export cache in /proc/rpc/*/channel
383         * support/nfs/Makefile: compile cacheio.c
384         * support/include/nfslib.h: declare cacheio.c functions
385         * support/nfs/nfsexport.c: export and unexport through
386         /proc/rpc/*/channel if possible, as old syscall interface
387         may not survive into 2.6 on all architectures.
388         
389 2003-02-19 NeilBrown <neilb@cse.unsw.edu.au>    
390         Ben Leslie <benno@sesgroup.net>
391
392         * support/nfs/rpcmisc.c(rpc_init):  change test for ignoring
393         "defport" from (__rpcfdtype == 0) to (__rpcpmstart==0).  The
394         former would incorectly ignore defport if the application 
395         explicitly set __rpcfdtype.  The later is sufficient to avoid the
396         special handling in the case where stdin is an internet socket.
397
398         * utils/mountd/mountd.c(main): Add 'n' to option list in
399         getopt_long as this is a short form of --no-tcp which want being
400         checked.
401         
402 2003-02-12  Chip Salzenberg  <chip@pobox.com>
403
404         * debian/changelog: Version 1.0.2-2.
405
406 2002-11-27  Chip Salzenberg  <chip@pobox.com>
407
408         * utils/mountd/rmtab.c (slink_safe_rename): Fix off-by-one buffer
409         overflow bug.  Reformat per rest of source file.
410
411 2002-11-19  NeilBrown <neilb@cse.unsw.edu.au>
412
413         * utils/exportfs/exports.man: Correct notes about whether the wild
414         card characters match a period.  They do.
415         
416 2002-10-15  Juan Gomez <juang@us.ibm.com>
417
418         * utils/mountd/rmtab.c (slink_safe_rename): New. Support
419         symlink.
420         (mountlist_add): Call slink_safe_rename instead of rename.
421
422 2002-10-11  H.J. Lu <hjl@lucon.org>
423
424         * support/include/exportfs.h (export_errno): New.
425
426         * support/nfs/exports.c: Include <errno.h>.
427         (export_errno): New.
428         (getexportent): Set export_errno to EINVAL for bad option.
429         (parseopts): Likewise.
430         Report the location of the default sync/async option.
431
432         * utils/exportfs/exportfs.c (main): Initialize export_errno to
433         0. Return export_errno.
434
435 2002-10-11  Juan Gomez  <gomez@cs.sjsu.edu>
436         NeilBrown <neilb@cse.unsw.edu.au>
437
438         utils/statd/statd.c(killer): don't pmap_unset if in notify_only mode
439         utils/statd/statd.c(main): don't pmap_unset if in notify_only mode
440         
441 2002-09-16  Chip Salzenberg  <chip@pobox.com>
442
443         * utils/rquotad/rquota_svc.c (main): Use int for value of getopt.
444
445 2002-09-15  Chip Salzenberg  <chip@pobox.com>
446
447         * support/nfs/rpcmisc.c (rpc_init): Allow stdin to be a non-INET
448         socket, as occurs when run from sshd.
449         * debian/changelog: Version 1.0.2-1.
450
451 2002-09-12  H.J. Lu <hjl@lucon.org>
452
453         * support/nfs/svc_socket.c: Remove HAVE_SVCTCP_SOCKET and
454         HAVE_SVCUDP_SOCKET.
455
456 2002-09-12  H.J. Lu <hjl@lucon.org>
457
458         * configure.in: Remove checking svctcp_socket and svcudp_socket.
459         * configure: Regenerated.
460
461         * support/include/config.h.in (HAVE_SVCTCP_SOCKET): Removed.
462         (HAVE_SVCUDP_SOCKET): Removed.
463
464         * support/include/nfslib.h: Undo the last change.
465
466 2002-09-12  H.J. Lu <hjl@lucon.org>
467
468         * support/include/nfslib.h (svctcp_socket): Protect it with
469         HAVE_SVCTCP_SOCKET.
470         (svcudp_socket): Protect it with HAVE_SVCUDP_SOCKET.
471
472 2002-09-12  H.J. Lu <hjl@lucon.org>
473
474         * configure.in (VERSION): Set to "1.0.2".
475         * configure: Regenerated.
476         * nfs-utils.spec: Likewise.
477
478 2002-09-12  H.J. Lu <hjl@lucon.org>
479
480         * configure.in: Check svctcp_socket and svcudp_socket.
481         * configure: Regenerated.
482
483         * support/include/config.h.in (HAVE_SVCTCP_SOCKET): New.
484         (HAVE_SVCUDP_SOCKET): New.
485
486         * support/include/nfslib.h (svctcp_socket): New.
487         (svcudp_socket): New.
488
489         * support/nfs/Makefile (OBJS): Add svc_socket.o.
490
491         * support/nfs/svc_socket.c: New.
492
493         * support/nfs/rpcmisc.c (rpc_init): Call svctcp_socket and
494         svcudp_socket if port is unspecified.
495
496         * utils/nfsd/nfsd.c (main): Call getservbyname for port.
497
498         * utils/rquotad/rquota_svc.c: Include <nfslib.h>.
499         (killer): New. Signal handler to unregister.
500         (main): Use killer. Call svcudp_socket to get the default
501         socket.
502
503 2002-09-02 Juan Gomez <juang@us.ibm.com>
504         NeilBrown <neilb@cse.unsw.edu.au>
505
506         Add -N option to statd to run in notify-only mode.
507
508         * utils/statd/statd.h: uncomment MODE_NOTIFY_ONLY
509         * utils/statd/statd.man: document -N
510         * utils/statd/statd.c: enabled -N, largely exists but needed to be
511         uncommented and completed
512         
513 2002-09-02 Juan Gomez <juang@us.ibm.com>
514         NeilBrown <neilb@cse.unsw.edu.au>
515
516         statd to have " -P directory" arg to use that directory instead
517         of /var/lib/nfs.  This is useful for fail-over clusters.
518         
519         * utils/statd/statd.h: define SM_DIR etc as var, not const.
520         * utils/statd/statd.c: define "-P" option to set SM_*
521         appropriately.
522         * utils/statd/monitor.c: sprintf to cope with SM_DIR not being
523         a constant any more.
524         * utils/statd/notify.c: ditto.
525         * utils/statd/statd.man: document -P option.
526         
527 2002-08-26  Chip Salzenberg  <chip@pobox.com>
528
529         * utils/nfsd/nfsd.man: Fix typo.
530         * debian/changelog: Version 1.0.1-1.
531
532 2002-05-29 NeilBrown <neilb@cse.unsw.edu.au>
533
534         * let parseopts know if /etc/exports was being read or not, 
535         and have it only print "no sync or async" warning in that case.
536         
537 2002-05-06 Tom McNeal <trmcneal@attbi.com>
538         NeilBrown <neilb@cse.unsw.edu.au>
539
540         * utils/nfsstat/nfsstat.c: Handle differing format for
541            /proc/net/rpc/nfsd between pre and post 2.4.0
542         
543 2002-04-09  NeilBrown <neilb@cse.unsw.edu.au>
544         James Pearson <james-p@moving-picture.com>
545
546         * support/nfs/rmtab.c(fendrmtabent): sync changes to 
547         storage before returning, as this is critical state
548
549 2002-04-08  Sean O'Connell <sean@ee.duke.edu>
550             H.J. Lu <hjl@lucon.org>
551
552         * etc/redhat/nfs: New.
553
554 2002-04-08  H.J. Lu <hjl@lucon.org>
555
556         * etc/redhat/nfs.init: Updated.
557
558         * nfs-utils.spec.in: Updated.
559         * nfs-utils.spec: Regenerated.
560
561         * utils/mountd/mountd.c (longopts): Fix a typo.
562
563         * utils/mountd/mountd.man: Updated.
564
565 2002-04-07  H.J. Lu <hjl@lucon.org>
566
567         * etc/redhat/nfslock.init (restart): Just do stop and start.
568
569         * etc/redhat/nfs.init: Fix a typo.
570
571 2002-04-07  H.J. Lu <hjl@lucon.org>
572
573         * configure.in (VERSION): Set to "1.0.1".
574         * configure: Regenerated.
575         * nfs-utils.spec: Likewise.
576
577         * README: Updated for 1.0.1.
578
579 2002-04-07  Sean O'Connell <sean@ee.duke.edu>
580             H.J. Lu <hjl@lucon.org>
581
582         * etc/redhat/nfs.init: Read /etc/sysconfig/nfsd for NFS tuning.
583
584 2002-02-28   Steven Whitehouse <steve@gw.chygwyn.com>
585               NeilBrown <neilb@cse.unsw.edu.au>
586
587         Add support for fsid=nn export option so that device
588         numbers don't go in filehandles.
589         * support/export/nfsctl.c(expsetup): if exporting and NFSEXP_FSID
590         is set, pass the fsid in-place of the device number
591         * support/nfs/exports.c: parse and print fsid= option.
592         Also check if efname has been set, and use "command line"
593         instead in error messages.
594         Also, use strtol instead of atoi for anon[ug]id= so that
595         bad numbers cause errors.
596         
597 2002-01-17   Adrian Drzewiecki <drze@MissionCriticalLinux.com>
598              NeilBrown <neilb@cse.unsw.edu.au>
599
600         * support/nfs/exports.c: remove NFSEXP_ASYNC as a default
601         flag so that "sync" becomes the default.
602         Check that either "sync" or "async" is given as an option
603         and warn if neither are present
604         * utils/exportfs/exports.man: change documentation for "sync"
605         to be documentation for "async".
606         * utils/exportfs/exportfs.man: note that "sync" is the default
607         rather than "async"
608         
609         
610 2002-01-02  Chip Salzenberg  <chip@pobox.com>
611
612         * support/export/nfsctl.c (expsetup): Don't export entries that
613         specify id mappings not supported by the kernel.  No extant kernel
614         supports any significant mapping, only 'identity' (i.e. none).
615         When other mappings are supported, this code will need changing.
616         * debian/changelog: Version 1.0-2.
617
618 2001-12-26  Chip Salzenberg  <chip@pobox.com>
619
620         * nfs-utils.spec (Version): Set to "1.0".
621         * configure.in (VERSION): Likewise.
622         * configure: Regenerated.
623         * README: Rewritten.
624         * debian/changelog: Version 1.0-1.
625
626         * utils/exportfs/exports.man: Emphasize the need for options to
627         immediately follow client names.  Explain that wildcards don't
628         usually work on addresses, but may work when reverse DNS fails.
629         Comment out a leftover TP that was TPing our indentation.
630         * utils/mountd/mountd.man, utils/rquotad/rquotad.man,
631         utils/statd/statd.man: Remove refs to non-existent "hosts_allow(5)".
632         * debian/changelog: Version 0.3.3-6.
633
634 2001-12-20  NeilBrown <neilb@cse.unsw.edu.au>
635
636         * support/export/client.c(client_lookup): If a host has multiple
637         IP addresses, then we must always use the result of a
638         gethostbyname, not that of gethostbyaddr for exporting
639         
640 2001-12-20  NeilBrown <neilb@cse.unsw.edu.au>
641
642         * support/export/client.c (client_lookup): use strcasecmp when
643         comparing host names
644         * support/nfs/export.c (getexportent): add fromkernel arg and use
645         different defaults as kernels prior to 2.4.11 assume different
646         defaults in /proc/fs/nfs/exports
647         * support/include/nfslib.h, support/export/export.c,
648         support/export/xtab.c:  support extra "fromkernel" arg for
649         getexportent. 
650         
651 2001-12-13  Chip Salzenberg  <chip@pobox.com>
652
653         * debian/changelog: Version 0.3.3-5.
654
655 2001-11-26  TAKAI Kousuke <takai@vlsi.kuee.kyoto-u.ac.jp>
656
657         * support/nfs/xio.c (xskip): Call `xungetc' instead of
658         `ungetc' to keep x_line more properly.
659
660 2001-11-26  Chip Salzenberg  <chip@pobox.com>
661
662         * utils/showmount/showmount.c (main): Don't assume that strings
663         starting with digits are IP addresses.
664         * utils/nfsd/nfsd.c (main): Close all fds and reopen 0,1,2 on
665         /dev/null before nfssvc().  Use syslog to report nfssvc errors.
666         * support/misc/tcpwrapper.c, utils/mountd/mountd.man,
667         utils/rquotad/rquotad.man, utils/statd/statd.man: Fix comments and
668         man pages: We check host names *and* addresses with tcpwrappers.
669         * debian/changelog: Version 0.3.3-4.
670
671 2001-11-21  Chip Salzenberg  <chip@pobox.com>
672
673         * support/nfs/clients.c (cfname): Added: current clients file name.
674         (setnfsclntent): Set it.
675         ({get,end}nfsclntent, syntaxerr): Use it.
676         * support/nfs/exports.c (efname): Added: current exports file name.
677         (setnfsexportent): Set it.
678         (endnfsexportent, parseopts, getexport, syntaxerr): Use it.
679         (parseopts): Accept old-style "crossmnt" option, for old xtabs.
680         * debian/changelog: Version 0.3.3-3.
681
682 2001-10-11  Chip Salzenberg  <chip@pobox.com>
683
684         * utils/mountd/mountd.c (main): Close fds > 2 _before_ RPC init.
685         * debian/changelog: Version 0.3.3-2.
686
687 2001-10-08  Chip Salzenberg  <chip@pobox.com>
688
689         * utils/mountd/mountd.c (main): When daemonizing, close all fds > 2.
690         * utils/Makefile.in: Remove old Makefile in target 'distclean'.
691         * utils/mountd/mountd.man: Update paths to /var/lib.
692         * debian/*: Version 0.3.3-1, with Debian-specific fixes.
693
694 2001-10-06  Preston Brown <pbrown@redhat.com>
695
696         * utils/nfsstat/nfsstat.man: Updated.
697
698 2001-09-24  H.J. Lu <hjl@lucon.org>
699
700         * configure.in (VERSION): Set to "0.3.3".
701         * configure: Regenerated.
702         * nfs-utils.spec: Likewise.
703
704         * README: Updated for 0.3.3.
705
706 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
707
708         Arrange that "exportfs -au" never does DNS lookup:
709         
710         * support/export/client.c (client_lookup) : add "canonical"
711         flag which says that the hostname is known to be canonical, so
712         don't do a lookup
713
714         * support/export/export.c (export_create) : add "canonical"
715         flag to be passed down to client_lookup
716         * support/export/export.c (export_lookup) : Likewise
717
718         * support/export/xtab.c (xtab_read) : pass appropriate
719         "canonical" flag to export_lookup and export_create:
720         set if reading list of filesystems currently exports
721         (is_export != 1). 
722
723         * support/export/export.c (export_read) : pass 0 as 
724         "canonical" flag to export_lookup and export_create
725         * support/export/rmtab.s (rmtab_read) : Likewise
726
727         * support/include/exportfs.h : redeclare various routines
728         to have "canonical" flag
729
730         * utils/exportfs/exportfs.c (main) : redo logic for 
731         "-au" to read in what is currently exported, but never even 
732         look at what "should" be exported.
733
734         * utils/exportfs/exportfs.c (unexportall) : remove this
735         routine. Functionality is completely included in
736         exports_update
737
738         * utils/exportfs/exportfs.c (exportfs) : set "canonical"
739         flag to zero in calls to export_lookup and export_create.
740
741         
742 2001-09-20 NeilBrown <neilb@cse.unsw.edu.au>
743             Anne Milicia <milicia@missioncriticallinux.com>
744
745         * support/export/client.c (client_lookup) call gethostbyadd
746         to make sure that we have a canonical hostname, even for
747         dotted-quads
748         * utils/exportfs/exportfs.c (exportfs) Likewise
749         
750 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
751
752         * support/nfs/exports.c (putexportent): \octal quote any spaces
753         etc in a path name
754         * support/nfs/xio.c (xgettok): recognise double-quote and
755         \octal quoting in path names
756         * utils/exportfs/exports.man: document quoting conventions
757         for path names
758         
759 2001-09-12 NeilBrown <neilb@cse.unsw.edu.au>
760
761         * utils/mountd/auth.c (auth_authenticate_internal): Reverse
762           change from 2000-08-02:  It causes problems if someone exports
763           to both a hostname and IP addresses.  nfs-utils must be
764           consistant about the canonical name that it chooses.
765
766 2001-08-17  Ragnar Kjørstad <nfs@ragnark.vestdata.no>
767             H.J. Lu <hjl@lucon.org>
768
769         * etc/redhat/nfslock.init (STATDARG): New. Pass it to rpc.statd.
770
771         * utils/statd/statd.c (longopts): Add "name".
772         (usage): Add "-n/--name".
773         (main): Set MY_NAME with "-n/--name".
774
775         * utils/statd/state.c (change_state): Set MY_NAME only if it
776         is NULL.
777         
778         * utils/statd/statd.man: Updated for "-n/--name".
779
780 2001-07-26  H.J. Lu <hjl@lucon.org>
781
782         * nfs-utils.spec (Release): Set to 8.
783
784 2001-07-25  H.J. Lu <hjl@lucon.org>
785
786         * etc/redhat/nfs.init: Check if rpc.rquotad exists before doing
787         anything about it.
788
789 2001-06-27  H.J. Lu <hjl@lucon.org>
790
791         * etc/redhat/nfs.init: Run rpc.rquotad only if it exists.
792
793 2001-06-27  H.J. Lu <hjl@lucon.org>
794
795         * utils/rquotad/rquota_server.c: Don't call statfs () for
796         the block size. Use BLOCK_SIZE instead.
797
798 2001-06-27  H.J. Lu <hjl@lucon.org>
799
800         * config.mk.in (CC_FOR_BUILD): Renamed from BUILD_CC.
801         (CFLAGS_FOR_BUILD): New. Don't use @CFLAGS@.
802
803         * configure.in (enable_nfsv3): Set to yes by default.
804         (--enable-rquotad): Added
805         (AC_PROG_CXX): Removed.
806         (AC_OUTPUT): Add utils/Makefile.
807         (CC_FOR_BUILD): Renamed from BUILD_CC.
808         * configure: Regenerated.
809
810         * utils/Makefile: Removed.
811
812         * utils/Makefile.in: New.
813
814         * nfs-utils.spec.in (rquotad): New. Set to 0 to disable
815         rquotad.
816         (CC_FOR_BUILD): Renamed from BUILD_CC.
817         * nfs-utils.spec: Regenerated.
818
819 2001-06-15  Chip Salzenberg  <chip@debian.org>
820
821         * debian/changelog: Version 0.3.2-2.
822         * debian/*.init: Minor fixes.
823
824 2001-06-07  Lon H. Hohberger <hohberger@missioncriticallinux.com>
825
826         * etc/nodist/nfs-server: Fixed a bug where the script would
827         disable mounts from NFSv3 clients if NFSv3 is present.
828
829 2001-06-05  H.J. Lu <hjl@lucon.org>
830
831         * utils/mountd/mountd.c (longopts): Add "descriptors/o".
832         (main): Support --descriptors/-o to set the limit of the number
833         of open file descriptors.
834         (usage): Updated.
835
836         * utils/mountd/mountd.man: Updated for --descriptors/-o.
837
838 2001-06-04  H.J. Lu <hjl@lucon.org>
839
840         * nfs-utils.spec (Release): Set to 6.
841
842 2001-05-28  H.J. Lu <hjl@lucon.org>
843
844         * utils/lockd/lockd.c (main): chdir to NFS_STATEDIR.
845         * utils/mountd/mountd.c (main): Likewise.
846         * utils/nfsd/nfsd.c (main): Likewise.
847         * utils/rquotad/rquota_svc.c (main): Likewise.
848
849 2001-05-06  Anne Milicia <milicia@missioncriticallinux.com>
850
851         * support/export/client.c (client_check): Check IP address
852         againet netgroup.
853
854 2001-05-06  Neil Brown <neilb@cse.unsw.edu.au>
855
856         * support/export/client.c (client_gettype): Treat `*' as
857         MCL_ANONYMOUS.
858
859 2001-04-22  H.J. Lu <hjl@lucon.org>
860
861         * nfs-utils.spec.in: Fix a typo.
862         * nfs-utils.spec: Regenerated.
863
864 2001-04-21  H.J. Lu <hjl@lucon.org>
865
866         * nfs-utils.spec.in: Fix cross build.
867         * nfs-utils.spec: Regenerated.
868         (Release): Set to 5.
869
870 2001-04-18  H.J. Lu <hjl@lucon.org>
871
872         * nfs-utils.spec.in: Support cross build.
873         * nfs-utils.spec: Regenerated.
874         (Release): Set to 4.
875
876         * config.sub: New.
877         * config.guess: New.
878
879         * config.mk.in (BUILD_CC): New.
880         (CC): Set to $(BUILD_CC) if BUILD is defined.
881         (AR): Set to @AR@.
882         (LD): Set to @LD@.
883         (RANLIB): Set to @RANLIB@.
884
885         * configure.in: Check BUILD_CC, RANLIB, AR and LD.
886         * configure: Regenerated.
887
888         * tools/rpcgen/Makefile (BUILD): Set to true.
889
890 2001-04-01  Chip Salzenberg  <chip@valinux.com>
891
892         * tools/rpcgen/rpc_svcout.c (write_timeout_func): Remove
893         redundant, and sometimes broken, declaration of svc_fdset;
894         it may be a macro.
895         * support/nfs/rpcmisc.c (closedown): Likewise.
896         
897 2001-03-21  H.J. Lu <hjl@lucon.org>
898
899         * nfs-utils.spec: Regenerated.
900         (Release): Set to 3.
901
902 2001-03-21  Ion Badulescu  <ionut@cs.columbia.edu>
903
904         * utils/statd/statd.c (main): make sure file descriptors 0-2
905         are open to /dev/null.
906
907 2001-03-21  H.J. Lu <hjl@lucon.org>
908
909         * support/nfs/rpcmisc.c: Restore the change made on 2001-03-10.
910         * support/nfs/rpcmisc.c: Likewise.
911         * utils/rquotad/rquota_svc.c: Likewise.
912         * utils/rquotad/rquotad.man: Likewise.
913         * utils/statd/Makefile: Likewise.
914         * utils/statd/rmtcall.c: Likewise.
915         * utils/statd/simulate.c: Likewise.
916         * utils/statd/statd.c: Likewise.
917         * utils/statd/statd.man: Likewise.
918
919 2001-03-11  H.J. Lu <hjl@lucon.org>
920
921         * configure.in (RELEASE): New. Default to 1, set by
922         --with-release=XXX. Substitute nfs-utils.spec.
923         * nfs-utils.spec.in (Release): Set to @RELEASE@.
924         * configure: Regenerated.
925         * nfs-utils.spec: Likewise.
926
927 2001-03-11  H.J. Lu <hjl@lucon.org>
928
929         * utils/rquotad/rquotad.man: Fix a typo.
930
931 2001-03-11  H.J. Lu <hjl@lucon.org>
932
933         * support/include/rpcmisc.h: Undo the change made on 2001-03-10.
934         * support/nfs/rpcmisc.c: Likewise.
935         * utils/rquotad/rquota_svc.c: Likewise.
936         * utils/rquotad/rquotad.man: Likewise.
937         * utils/statd/Makefile: Likewise.
938         * utils/statd/rmtcall.c: Likewise.
939         * utils/statd/simulate.c: Likewise.
940         * utils/statd/statd.c: Likewise.
941         * utils/statd/statd.man: Likewise.
942
943 2001-03-10  H.J. Lu <hjl@lucon.org>
944
945         * configure.in (VERSION): Set to "0.3.2".
946         * configure: Regenerated.
947         * nfs-utils.spec: Likewise.
948
949         * README: Updated for 0.3.2.
950
951 2001-03-10  Tavis Barr <tavis@boole.isetr.columbia.edu>
952
953         * utils/rquotad/rquotad.man: Updated for -p.
954         * utils/statd/statd.man: Likewise.
955
956 2001-03-10  Ion Badulescu  <ionut@cs.columbia.edu>
957
958         * support/nfs/rpcmisc.c: export makesock()
959
960         * support/include/rpcmisc.h (makesock): Declared.
961
962         * utils/rquotad/rquota_svc.c: added longopts, added support for
963         specifying the port to bind to on the command line.
964
965         * utils/statd/statd.c: ditto, also specify port used for
966         outgoing connections.
967         (do_regist): Removed.
968
969         * utils/statd/rmtcall.c (statd_get_socket): Renamed from
970         get_socket. Make it extern.
971
972         * utils/statd/simulate.c (daemon_simulator): Call rpc_init
973         instead of do_regist.
974
975         * utils/statd/Makefile (LIBS): link with our own libnfs
976
977 2001-03-09  H.J. Lu <hjl@lucon.org>
978
979         * etc/redhat/nfslock.init: Changed chkconfig line to 60 86.
980         * etc/nodist/nfs-client: Likewise.
981
982 2001-02-26  Chip Salzenberg  <chip@valinux.com>
983
984         * debian/changelog: Version 0.3.1-1.
985         * Mention upstream source and license in copyright file.
986         * Add build-Depends for debhelper and libwrap0-dev.
987
988 2001-02-20  Lon Hohberger <hohberger@missioncriticallinux.com>
989
990         * etc/nodist/nfs-server: Changed chkconfig line to 60 20
991         * etc/nodist/nfs-client: Likewise.
992
993 2001-02-18  Lon Hohberger <hohberger@missioncriticallinux.com>
994
995         * utils/statd/statd.man: Changed /usr/sbin/rpc.statd to
996         /sbin/rpc.statd.
997
998 2001-02-17  Patrick J. LoPresti <patl@curl.com>
999
1000         * utils/statd/log.c (log_init): Use LOG_DAEMON instead of
1001         LOG_LOCAL5.
1002
1003 2001-02-14  H.J. Lu <hjl@lucon.org>
1004
1005         * utils/statd/rmtcall.c: Include <time.h>.
1006         * utils/statd/svc_run.c: Likewise.
1007
1008 2001-02-14  H.J. Lu <hjl@lucon.org>
1009
1010         * configure.in (VERSION): Set to "0.3.1".
1011         * configure: Regenerated.
1012         * nfs-utils.spec: Likewise.
1013
1014         * README: Updated for 0.3.1.
1015
1016 2001-02-14  H.J. Lu <hjl@lucon.org>
1017
1018         * support/nfs/rpcmisc.c: Include <time.h>.
1019
1020 2001-02-14  Chip Salzenberg  <chip@valinux.com>
1021
1022         * debian/control: Change priority of nhfsstone package to 'extra'.
1023
1024 2001-02-12  Chip Salzenberg  <chip@valinux.com>
1025
1026         * debian/changelog: Version 0.3-2.
1027
1028 2001-02-02  H.J. Lu <hjl@lucon.org>
1029
1030         * support/include/rpcmisc.h (rpc_init): Remove bufsize.
1031         
1032         * support/nfs/rpcmisc.c (makesock): Remove socksz and comment
1033         out SO_SNDBUF/SO_RCVBUF.
1034         (rpc_init): Remove bufsize and remove socksz in calls to
1035         makesock ().
1036
1037         * utils/mountd/mountd.c (main): Remove bufsize in calls to
1038         rpc_init ().
1039
1040 2001-01-28  Chip Salzenberg  <chip@valinux.com>
1041
1042         * debian/changelog: Version 0.3-1.
1043
1044 2001-01-25  H.J. Lu <hjl@lucon.org>
1045
1046         * configure.in (VERSION): Set to "0.3".
1047         * configure: Regenerated.
1048         * nfs-utils.spec: Likewise.
1049
1050         * README: Updated for 0.3.
1051
1052 2001-01-25  H.J. Lu <hjl@lucon.org>
1053
1054         * utils/lockd/lockd.c (main): Ignore errno == EINVAL.
1055
1056 2001-01-20  Chip Salzenberg  <chip@valinux.com>
1057
1058         * support/include/xio.h (xgetc): Declare to return int.
1059         * support/nfs/xio.c (xgetc): Return int.
1060         (xgettok, xskip, xskipcomment): Use int for value of xgetc.
1061         * utils/statd/statd.c (main): Use int for value of getopt.
1062         * debian/changelog: Version 0.2.1-5.
1063         
1064 2000-12-10  Chip Salzenberg  <chip@valinux.com>
1065
1066         * utils/statd/monitor.c (sm_mon_1_svc): Fix buggy check for
1067         program and procedure numbers of kernel lockd's callback.  Also,
1068         besides the old (and broken) procedure #24, allow #16 per Trond.
1069
1070 2000-12-03  Chip Salzenberg  <chip@valinux.com>
1071
1072         * support/nfs/xio.c (xfopen): Initialize x_line to one, not zero.
1073         * debian/control: Let nhfsstone replace files in nfs-kernel-server.
1074         * debian/changelog: Version 0.2.1-4.
1075
1076 2000-11-27  Tobias Ringstrom <tori@tellus.mine.nu>
1077
1078         * utils/mountd/auth.c (auth_authenticate): Log the bad path
1079         warning.
1080
1081 2000-11-24  Neil Brown <neilb@cse.unsw.edu.au>
1082
1083         * support/nfs/exports.c (getexportent): Check for host name
1084         without option, or options without hostname, and print a warning,
1085         as this is most likely a typo.
1086
1087 2000-11-19  Chip Salzenberg  <chip@valinux.com>
1088
1089         * debian/control: Add dependency on portmap.
1090         * debian/changelog: Version 0.2.1-3.
1091
1092 2000-11-10  H.J. Lu <hjl@lucon.org>
1093
1094         * nfs-utils.spec.in: Don't use libtool.
1095         Add ChangeLog and COPYING to doc.
1096         * nfs-utils.spec: Rebuild.
1097
1098 2000-11-09  H.J. Lu <hjl@lucon.org>
1099
1100         * etc/redhat/nfs.init (start): Back out the last change.
1101
1102 2000-11-09  H.J. Lu <hjl@lucon.org>
1103
1104         * etc/redhat/nfs.init (start): Pass --no-tcp to mountd if
1105         TCP is not supported by kernel.
1106
1107         * support/nfs/rpcmisc.c (rpc_init): Don't set _rpcfdtype to 0.
1108
1109         * utils/mountd/mountd.c (longopts): Add "-n/--no-tcp".
1110         (main): Set to _rpcfdtype to SOCK_DGRAM for "-n/--no-tcp".
1111
1112         * utils/mountd/mountd.man: Updated for "-n/--no-tcp".
1113
1114 2000-10-24  Lon Hohberger <hohberger@missioncriticallinux.com>
1115
1116         * utils/statd/callback.c: Fix bug preventing callbacks to local lockd.
1117         * utils/statd/rmtcall.c: Add some IP address paranoia when doing
1118         callbacks to local lockd.
1119
1120 2000-10-18  Scott McDermott <mcdermot@questra.com>
1121
1122         * utils/exportfs/exports.man: Updated for CIDR netmask.
1123
1124 2000-10-17  Scott McDermott <mcdermot@questra.com>
1125
1126         * support/export/client.c (client_init): Support CIDR netmask
1127         in /etc/exports.
1128
1129 2000-10-11  H.J. Lu <hjl@lucon.org>
1130
1131         * aclocal.m4 (AC_TCP_WRAPPER): Fix a typo.
1132         * configure: Rebuilt.
1133
1134 2000-10-06  Lon Hohberger <hohberger@missioncriticallinux.com>
1135
1136         * utils/statd/statd.man: Change "/var/lib/nfs/sm/state" to
1137         "/var/lib/nfs/state".
1138
1139 2000-10-05  Lon Hohberger <hohberger@missioncriticallinux.com>
1140
1141         * utils/statd/statd.h (run_mode): New global bitmask of runtime
1142         behaviors: fg/bg, logging, etc.
1143         * utils/statd/statd.c: New command line options: -V -h -? -d .
1144         * utils/statd/statd.man: Update for changes to statd.
1145
1146         * utils/statd/log.h (log_init): Remove parameter of function; use
1147         global variable "name_p" instead.
1148         * utils/statd/log.c: Add support for logging to stderr.
1149
1150         * utils/statd/notlist.c: Partially rewrite notify list handling
1151         functions.  Eliminate run-off-end-of-list bug when calling
1152         nlist_insert_timer.  Add lots of comments.
1153         
1154 2000-09-27  H.J. Lu <hjl@lucon.org>
1155
1156         * README: Updated for RedHat 7.0.
1157
1158 2000-09-27  H.J. Lu <hjl@lucon.org>
1159
1160         * nfs-utils.spec: Rebuild.
1161
1162 2000-09-27  H.J. Lu <hjl@lucon.org>
1163
1164         * README: Updated for 0.2.1.
1165
1166 2000-09-27  H.J. Lu <hjl@lucon.org>
1167
1168         * nfs-utils.spec.in: Updated to use rpm macros and support
1169         RedHat 7.0.
1170
1171 2000-09-25  H.J. Lu <hjl@lucon.org>
1172
1173         * configure.in (VERSION): Set to "0.2.1".
1174         * configure: Regenerated.
1175         * nfs-utils.spec: Updated.
1176
1177 2000-09-25  H.J. Lu <hjl@lucon.org>
1178
1179         * utils/mountd/auth.c (auth_authenticate_internal): Make sure a
1180         non-NULL hostent is always returned.
1181
1182 2000-09-11  Ion Badulescu  <ionut@cs.columbia.edu>
1183
1184         * etc/redhat/nfslock.init: don't kill lockd processes that do not
1185         have an executable (i.e. kernel threads)
1186
1187 2000-09-01  H.J. Lu <hjl@lucon.org>
1188
1189         * README: Updated for 0.2.
1190
1191 2000-09-01  Jay Weber <jweber@valinux.com>
1192
1193         * etc/redhat/nfs.init: Added ability for rpc.mountd to default to
1194         supporting version 3 of nfs if available, else it will fall back to
1195         version 2 support only.
1196
1197 2000-08-30  H.J. Lu <hjl@lucon.org>
1198
1199         * configure.in (VERSION): Set to "0.2".
1200         * configure: Regenerated.
1201         * nfs-utils.spec: Updated.
1202
1203 2000-08-25  H.J. Lu <hjl@lucon.org>
1204
1205         * support/misc/tcpwrapper.c (logit): Modify the log output.
1206
1207 2000-08-25  Ion Badulescu  <ionut@cs.columbia.edu>
1208
1209         * utils/rquotad/rquotad.man, utils/statd/statd.man,
1210         utils/mountd/mountd.man: updated
1211         
1212         * utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL)
1213         * utils/rquotad/Makefile: fix comment
1214
1215         * support/misc/tcpwrapper.c (logit): added comment about waiting
1216         for the children after fork()
1217         
1218         * utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving
1219         zombies behind (from logit()'s fork)
1220         * utils/rquotad/rquota_svc.c (main): ditto
1221         * utils/statd/statd.c (main): ditto
1222
1223         * utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG
1224         to check_default instead of 0, for prognum
1225
1226         * utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG
1227         to check_default instead of 0, for prognum
1228
1229         * utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if
1230         HAVE_TCP_WRAPPER is defined.
1231         (mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is
1232         defined. Reject an RPC call if check_default () fails.
1233
1234 2000-08-25  H.J. Lu <hjl@lucon.org>
1235
1236         * support/include/tcpwrapper.h: New for the tcp wrapper
1237         support.
1238         * support/misc/Makefile: Likewise.
1239         * support/misc/from_local.c: Likewise.
1240         * support/misc/tcpwrapper.c: Likewise.
1241
1242         * aclocal.m4 (AC_TCP_WRAPPER): New.
1243         * configure.in: Use it. Substitute LIBWRAP.
1244         * configure: Rebuilt.
1245
1246         * config.mk.in (LIBNSL): New.
1247         (LIBWRAP): Likewise.
1248
1249         * support/Makefile (SUBDIRS): Add misc.
1250
1251         * support/lib/Makefile (LIBS): Add libmisc.a.
1252
1253         * utils/rquotad/Makefile (LIBS): Add
1254         
1255                 -lmisc $(LIBWRAP) $(LIBNSL)
1256
1257         * utils/statd/Makefile (LIBS): Likewise.
1258
1259         * utils/rquotad/rquota_svc.c: Include "tcpwrapper.h" if
1260         HAVE_TCP_WRAPPER is defined.
1261         (rquotaprog_1): Call check_default () if HAVE_TCP_WRAPPER is
1262         defined. Reject an RPC call if check_default () fails.
1263
1264         * utils/statd/statd.c: Include "tcpwrapper.h" if
1265         HAVE_TCP_WRAPPER is defined.
1266         (sm_prog_1_wrapper): New. A wrapper for sm_prog_1. Call
1267         check_default () before calling sm_prog_1 (). Define it as
1268         sm_prog_1_wrapper if HAVE_TCP_WRAPPER is defined.
1269
1270 2000-08-25  Chip Salzenberg  <chip@valinux.com>
1271
1272         * debian/*: Complete Debian build support.
1273         * etc/debian/*: Remove.
1274
1275 2000-08-24  Neil Brown <neilb@cse.unsw.edu.au>
1276
1277         * support/export/client.c(client_check): removed the "dot+1" as a
1278           ypdomain argument to innetgr as this is entirely bogus.
1279           It should always be NULL.
1280         
1281 2000-08-23  Neil Brown <neilb@cse.unsw.edu.au>
1282
1283         * support/export/xtab.c(xtab_read): introduce new mode for
1284            reading xtab. i.e. a list of exports that might be known to the
1285            kernel, or might not.  These are flagged as m_exported == -1
1286         * support/export/xtab.c(xtab_mount_read):  call xtab_read with new
1287            value "2" for xtab, meaning don't trust this too much.
1288         * support/include/exportfs.h(struct mexport): changed m_exported
1289            from one bit to an int so that it can hold new value
1290         * utils/exportfs/exportfs.c(exportfs_ipdate): add an export to the
1291            kernel if it is uncertain whether the kernel knows (m_exported == -1)
1292         * utils/mountd/mountd.c(get_rootfh): similarly export to kernel if
1293            status is uncertain
1294
1295         * support/nfs/xio.c(xflock): added O_CREAT when getting
1296            a write lock so that missing files aren't fatal.
1297
1298         * etc/debian/nfs-common: new file from "potato"
1299         * etc/debian/nfs-kernel-server: new file from "potato" plus fixes.
1300          
1301 2000-08-09  H.J. Lu <hjl@lucon.org>
1302
1303         * etc/redhat/nfs.init: Run /usr/sbin/exportfs first during
1304         startup to ensure all existing clients work fine.
1305
1306         * support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0
1307         to xtab_read () for reading _PATH_XTAB.
1308
1309 2000-08-02  H.J. Lu <hjl@lucon.org>
1310
1311         * utils/mountd/auth.c (auth_authenticate_internal): Try to
1312         avoid the reverse name lookup.
1313
1314 2000-07-04  H.J. Lu <hjl@lucon.org>
1315
1316         * utils/statd/log.c: Include <stdlib.h> for exit ().
1317
1318         * utils/statd/misc.c (xunlink): Add `{' and `}' to quiet the
1319         gcc warning.
1320
1321 2000-07-04  H.J. Lu <hjl@lucon.org>
1322
1323         * configure.in (VERSION): Set to "0.1.9.1".
1324         * configure: Regenerated.
1325         * nfs-utils.spec: Updated.
1326
1327         * README: Updated.
1328
1329 2000-07-04  Neil Brown  <neilb@cse.unsw.edu.au>
1330
1331         * support/export/hostname.c (hostent_dup): Handle the NULL
1332         h_aliases field.
1333
1334 2000-07-03  H.J. Lu <hjl@lucon.org>
1335
1336         * README: Update the util-linux requirement.
1337
1338 2000-07-03  H.J. Lu <hjl@lucon.org>
1339
1340         * configure.in (VERSION): Set to "0.1.9".
1341         * configure: Regenerated.
1342         * nfs-utils.spec: Updated.
1343
1344         * README: Updated.
1345
1346 2000-07-03  H.J. Lu <hjl@lucon.org>
1347
1348         * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
1349         stop to ensure all clients can still access the server
1350         before it is shutdown.
1351
1352 2000-06-30  Jeff Uphoff <juphoff@transmeta.com>
1353
1354         * tools/rpcgen/rpc_svcout.c (write_msg_out): Generate syslog()
1355         calls with format string.
1356         
1357 2000-06-28  Chip Salzenberg  <chip@valinux.com>
1358
1359         * utils/statd/log.c (log): Call syslog with format string.
1360
1361 2000-06-27  H.J. Lu <hjl@lucon.org>
1362
1363         * utils/statd/statd.c (main): Use sysconf (_SC_OPEN_MAX)
1364         instead of OPEN_MAX.
1365
1366 2000-06-27  H.J. Lu <hjl@lucon.org>
1367
1368         * README: Updated.
1369
1370 2000-06-27  H.J. Lu <hjl@lucon.org>
1371
1372         * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
1373         startup to ensure all existing clients are exported.
1374
1375         * configure.in (VERSION): Set to "0.1.8.2".
1376         * configure: Regenerated.
1377         * nfs-utils.spec: Updated.
1378
1379 2000-06-06  H.J. Lu <hjl@lucon.org>
1380
1381         * configure.in (VERSION): Set to "0.1.8.1".
1382         * configure: Regenerated.
1383         * nfs-utils.spec: Updated.
1384
1385 2000-06-06  H.J. Lu <hjl@lucon.org>
1386
1387         * utils/mountd/mountd.c (mount_dump_1_svc): Cast svc_getcaller
1388         to "struct sockaddr_in *" for glibc 2.2.
1389         (mount_umnt_1_svc): Likewise.
1390         (mount_umntall_1_svc): Likewise.
1391         (mount_export_1_svc): Likewise.
1392         (mount_exportall_1_svc): Likewise.
1393         (mount_pathconf_2_svc): Likewise.
1394         (get_rootfh): Likewise.
1395
1396 2000-06-04  H.J. Lu <hjl@lucon.org>
1397
1398         * etc/redhat/nfs.init: Fix a typo in comment.
1399
1400 2000-05-31  H.J. Lu <hjl@lucon.org>
1401
1402         * configure.in (VERSION): Set to "0.1.8".
1403         * configure: Regenerated.
1404         * nfs-utils.spec: Updated.
1405
1406         * README: Updated.
1407
1408 2000-05-31  H.J. Lu <hjl@lucon.org>
1409
1410         * configure.in (VERSION): Set to "0.1.7.5".
1411         * configure: Regenerated.
1412         * nfs-utils.spec: Updated.
1413
1414         * support/include/nfslib.h (exportent): Add a new field,
1415         r_count, to count the number of mounts from a client.
1416         (getrmtabent): Take a new argument for position in file.
1417         (putrmtabent): Likewise.
1418         (fgetrmtabent): Likewise.
1419         (fputrmtabent): Likewise.
1420         * support/nfs/rmtab.c (getrmtabent): Handle the new argument
1421         for position in file.
1422         (fgetrmtabent): Likewise.
1423         (putrmtabent): Likewise.
1424         (fputrmtabent): Likewise.
1425
1426         * support/nfs/rmtab.c (fgetrmtabent): Get value for the new
1427         field, r_count.
1428
1429         * support/export/rmtab.c (rmtab_read): Pass NULL as the new
1430         argument to getrmtabent (), fgetrmtabent (), putrmtabent ()
1431         and fputrmtabent ().
1432         * utils/mountd/rmtab.c (mountlist_add): Likewise.
1433         (mountlist_del): Likewise.
1434         (mountlist_del_all): Likewise.
1435         (mountlist_list): Likewise.
1436
1437         * utils/mountd/rmtab.c (mountlist_add): Increment "r_count"
1438         for the existing entry and initialize "r_count" to 1.
1439         (mountlist_del): Decrement "r_count".
1440
1441 2000-05-18  H.J. Lu <hjl@lucon.org>
1442
1443         * configure.in (VERSION): Set to "0.1.7.4".
1444         * configure: Regenerated.
1445         * nfs-utils.spec: Updated.
1446
1447 2000-05-18  H.J. Lu <hjl@lucon.org>
1448
1449         * etc/redhat/nfs.init (restart): Just do stop and start.
1450
1451 2000-05-09  Jay Weber <jweber@valinux.com>
1452
1453         * utils/rquotad/hasquota.c: added support for ext3 recognition
1454         in rquotad.
1455         * utils/rquotad/mntent.h: Likewise.
1456
1457 2000-05-01  H.J. Lu <hjl@lucon.org>
1458
1459         * configure.in (VERSION): Set to "0.1.7.3".
1460         * configure: Regenerated.
1461         * nfs-utils.spec: Updated.
1462
1463 2000-05-01  H.J. Lu <hjl@lucon.org>
1464
1465         * utils/rquotad/rquota_server.c (getquotainfo): Skip bad
1466         mounting poins in /etc/fstab.
1467
1468 2000-05-01  H.J. Lu <hjl@lucon.org>
1469
1470         * configure.in (VERSION): Set to "0.1.7.2".
1471         * configure: Regenerated.
1472         * nfs-utils.spec: Updated.
1473
1474 2000-05-01  H.J. Lu <hjl@lucon.org>
1475
1476         * utils/rquotad/rquota_server.c (getquotainfo): Call stat ()
1477         to check for the mounting point.
1478
1479 2000-04-29  Chip Salzenberg  <chip@valinux.com>
1480             Neil Brown  <neilb@cse.unsw.edu.au>
1481
1482         * Really re-use RPC ports.
1483           (Fixes earlier patch.  Sorry, Neil.)
1484
1485 2000-04-26  H.J. Lu <hjl@lucon.org>
1486
1487         * configure.in (VERSION): Set to "0.1.7.1".
1488         * configure: Regenerated.
1489         * nfs-utils.spec: Updated.
1490
1491 2000-04-26  H.J. Lu <hjl@lucon.org>
1492
1493         * etc/redhat/nfslock.init: Check if lockd exits before killing
1494         it.
1495
1496 2000-04-25  H.J. Lu <hjl@lucon.org>
1497
1498         * README: Require util-linux-2.10f-mount-rpc.patch for mount.
1499
1500 2000-03-21 Michael Weiser <michael@weiser.saale-net.de>
1501
1502         * support/nfs/exports.c (parsesquash): Correctly set the
1503         return pointer.
1504
1505 Tue Mar 21 11:38:48 EST 2000 NeilBrown <neilb@cse.unsw.edu.au>
1506
1507         * support/include/nfs/nfs.h: Removed knowledge of internals of
1508              kernel filehandles (which can change) and defined nfs_fh_size
1509              which has variable size
1510         
1511         * support/nfs/getfh.c: defined getfh_size to use new syscall to
1512              get variable sized file handles, and change getfh{,old} to
1513              use nfs_fh_size        
1514         
1515         * utils/mountd/mountd.c: use nfd_fh_size and call getfh_size for
1516              NFSv3 file handles
1517
1518         * tools/Makefile, tools/nlmtest/nlmtest.c
1519              nlmtest.c depended on internel format of file handles, so now
1520              doesn't work.
1521
1522         
1523 2000-03-12  Chip Salzenberg  <chip@valinux.com>
1524             Neil Brown  <neilb@cse.unsw.edu.au>
1525
1526         * support/nfs/rpcmisc.c (rpc_init): Share transports.
1527
1528 2000-03-13 H.J. Lu <hjl@lucon.org>
1529
1530         * etc/redhat/nfsd.init: Updated.
1531
1532         * etc/redhat/nfslock.init: Updated.
1533
1534         * nfs-utils.spec.in: Updated.
1535
1536         * configure.in (VERSION): Set to "0.1.7".
1537         * configure: Regenerated.
1538         * nfs-utils.spec: Updated.
1539
1540         * README: Updated.
1541
1542 Wed Mar  8 09:42:43 2000 Neil Brown <neilb@cse.unsw.edu.au>
1543
1544         * utils/exportfs/exportfs.c (dump): Included printing of
1545            nohide, no_subtree_check, and insecure_locks
1546
1547 2000-02-26  Chip Salzenberg  <chip@valinux.com>
1548
1549         * config.mk.in (INSTALLSUID): Strip ("-s").
1550         (INSTALLSCRIPT): Define.
1551         * utils/nhfsstone/Makefile: Use it.
1552
1553 2000-02-26  Chip Salzenberg  <chip@valinux.com>
1554
1555         * utils/lockd/lockd.man: Create.
1556         * utils/lockd/Makefile: Install it.
1557         * utils/nhfsstone/nhfs{run,nums,graph}.man: Create.
1558         * utils/nhfsstone/nhfsstone.man: Change suffix from ".1".
1559         * utils/nhfsstone/Makefile: Install the helper scripts and
1560           all four man pages.
1561         * utils/exportfs/exports.man: Fix typo.
1562
1563 2000-02-26  Chip Salzenberg  <chip@valinux.com>
1564
1565         * support/nfs/xio.c (xungetc): Decrement line number when
1566         character to unget is newline.  Make first parameter int, so
1567         it can distinguish EOF from \377.
1568         * support/include/xio.h (xungetc): Adjust prototype.
1569
1570 Fri Feb  4 23:42:23 2000 Neil Brown <neilb@cse.unsw.edu.au>
1571
1572         * support/include/nfs/export.h: added NFSEXP_NOAUTHNLM
1573         * support/nfs/exports.c: added handling for NFSEXP_NOAUTHNLM
1574         * utils/exportfs/exports.man: added documentation for no_auth_nlm.
1575
1576         This is for supporting a new option introduced in 2.3.42
1577
1578 Thu Feb  3 14:55:48 2000 H.J. Lu <hjl@lucon.org>
1579
1580         * COPYING: Added. GPL.
1581
1582 Thu Feb 03 14:40:40 2000 Cristian Gafton <gafton@redhat.com>
1583
1584         * utils/rquotad/rquota_server.c (getquotainfo): Call statfs ()
1585         to get the block size.
1586
1587 Tue Jan 25 11:04:17 2000 H.J. Lu <hjl@lucon.org>
1588
1589         * nfs-utils.spec.in: Update ftp site.
1590
1591 Mon Jan 17 11:48:18 2000 H.J. Lu <hjl@lucon.org>
1592
1593         * README: Update hostnames.
1594
1595 Tue Jan 11 10:06:22 2000 H.J. Lu <hjl@lucon.org>
1596
1597         * configure.in (VERSION): Set to "0.1.6".
1598         * configure: Regenerated.
1599         * nfs-utils.spec: Updated.
1600
1601         * README: Updated.
1602
1603 Mon Jan 10 14:26:33 2000 H.J. Lu <hjl@lucon.org>
1604
1605         * utils/mountd/auth.c (auth_authenticate_internal): Call
1606         xstrdup for hostname before passing it to gethostbyname.
1607
1608         * utils/mountd/mountd.c (get_exportlist): Use xstrdup instead
1609         of strdup.
1610
1611 Sun Dec 19 09:35:01 1999  H.J. Lu <hjl@lucon.org>
1612
1613         * README: Update the mailing list address.
1614
1615 Sun Dec 19 09:22:28 1999  H.J. Lu <hjl@lucon.org>
1616
1617         * configure.in (VERSION): Set to "0.1.5".
1618         * configure: Regenerated.
1619         * nfs-utils.spec: Updated.
1620
1621         * README: Updated.
1622
1623 Mon Dec 13 13:40:20 1999  H.J. Lu <hjl@lucon.org>
1624
1625         * utils/rquotad/hasquota.c (hasquota): Malloc one more char
1626         for '/'.
1627
1628 Mon Dec  6 09:42:45 1999  H.J. Lu <hjl@lucon.org>
1629
1630         * configure.in (VERSION): Set to "0.1.4".
1631         * configure: Regenerated.
1632         * nfs-utils.spec: Updated.
1633
1634         * README: Updated.
1635
1636 Mon Dec  6 09:28:07 1999  H.J. Lu <hjl@lucon.org>
1637
1638         * nfs-utils.spec.in: New file.
1639
1640         * config.mk.in (VERSION): Changed to "nfs-utils @VERSION@".
1641
1642         * configure.in (nfs-utils.spec): Added to AC_OUTPUT.
1643
1644 1999-12-04  Chip Salzenberg  <chip@valinux.com>
1645
1646         * config.mk.in: Use $(CC) as set by configure.
1647
1648 1999-12-04  Chip Salzenberg  <chip@valinux.com>
1649
1650         * rules.mk: Call $(MAKE) with $(MFLAGS).
1651
1652 Mon Nov 29 11:17:35 1999  H.J. Lu <hjl@lucon.org>
1653
1654         * tools/rpcgen/rpc_main.c (h_output): Generate IXDR_GET_INT32,
1655         IXDR_PUT_INT32, IXDR_GET_U_INT32 and IXDR_PUT_U_INT32.
1656
1657 Mon Nov 29 11:17:35 1999  H.J. Lu <hjl@lucon.org>
1658
1659         * nfs-utils.spec (Version): Set to 0.1.3.
1660
1661         * configure.in (VERSION): Set to "nfs-utils 0.1.3".
1662         * configure: Regenerated.
1663
1664         * README: Updated.
1665
1666 Mon Nov 29 11:15:47 1999  H.J. Lu <hjl@lucon.org>
1667
1668         * utils/rquotad/rquota_server.c (nfsmount_to_devname): Removed.
1669         (_PATH_DEV_DSK): Likewise.
1670         (getquotainfo): Match the mounting point from /etc/mtab
1671         instead of calling nfsmount_to_devname ().
1672
1673 1999-11-24  Chip Salzenberg  <chip@valinux.com>
1674
1675         * utils/statd/monitor.c (sm_mon_1_svc): Accept lockd callbacks
1676         to the new port 24 as well as the historical port 100021.
1677
1678 Tue Nov 23 10:21:34 1999 Neil Brown <neilb@cse.unsw.edu.au>
1679
1680         * etc/redhat/nfsd.init (stop): moved exportfs -ua after
1681         stopping nfsd to stop spurious ESTALE on server shutdown.
1682         
1683 Tue Nov 23 10:13:39 1999  Neil Brown <neilb@cse.unsw.edu.au>
1684
1685         * support/nfs/exports.c (parseopts): make copy of opt string
1686         before 'nul'ing out commas so that
1687
1688         # exportfs -o option1,option2 hosta:/fs hostb:/fs
1689
1690         applies both options to both exports.
1691
1692 Thu Oct 28 12:55:42 1999  H.J. Lu <hjl@lucon.org>
1693
1694         * README: Fix a few typos.
1695
1696         * tools/rpcgen/rpc_cout.c (print_header): Use int32_t instead
1697         of long.
1698         * tools/rpcgen/rpc_hout.c (pdefine): Likewise.
1699         * tools/rpcgen/rpc_main.c (c_initialize): Likewise.
1700         * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1701         (unsigned_dec): Likewise.
1702         * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1703         * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1704
1705         * tools/rpcgen/rpc_cout.c (emit_single_in_line): Use INT32
1706         instead of LONG.
1707         * tools/rpcgen/rpc_parse.c (get_type): Likewise.
1708         (unsigned_dec): Likewise.
1709         * tools/rpcgen/rpc_scan.c (symbols): Likewise.
1710         * tools/rpcgen/rpc_scan.h (tok_kind): Likewise.
1711         * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
1712
1713 Thu Oct 28 11:27:51 1999 Neil Brown <neilb@cse.unsw.edu.au>
1714
1715         * support/include/nfs/export.h addedd NFSEXP_NOSUBTREECHECK
1716         * support/nfs/exports.c: added {no_,}subtree_check and changed
1717           crossmnt to nohide
1718         * utils/exportfs/exports.man: added no_subtree_check and nohide
1719           and removed irrelevant stuff from unfsd.
1720         * support/export/rmtab.c: rmtab_read didn't quite do the right
1721           thing if a pathname from rmtab was a subdirectory of an export-point
1722
1723 Tue Oct 26 17:22:40 1999  H.J. Lu <hjl@lucon.org>
1724
1725         * README: Updated ftp site.
1726
1727 Mon Oct 25 18:12:45 1999  H.J. Lu <hjl@lucon.org>
1728
1729         * nfs-utils.spec (Version): Set to 0.1.2.
1730
1731         * configure.in (VERSION): Set to "nfs-utils 0.1.2".
1732         * configure: Regenerated.
1733
1734         * README: Updated.
1735
1736 Mon Oct 25 18:11:21 1999  H.J. Lu <hjl@lucon.org>
1737
1738         * utils/mountd/auth.c (auth_error): Add "no_forward_dns".
1739         (auth_authenticate_internal): Check for NULL return on forward
1740         DNS lookup.
1741         (auth_authenticate): Handle "no_forward_dns".
1742
1743 Thu Oct 21 16:22:06 1999  H.J. Lu <hjl@lucon.org>
1744
1745         * Version 0.1.1 released.
1746
1747         * nfs-utils.spec (Version): Set to 0.1.1.
1748
1749         * configure.in (VERSION): Set to "nfs-utils 0.1.1".
1750         * configure: Regenerated.
1751
1752         * README: Updated.
1753
1754 Mon Oct 18 17:43:29 1999  H.J. Lu <hjl@lucon.org>
1755
1756         * nfs-utils.spec (Obsoletes): Fixed a typo, change knfsd-client
1757         to knfsd-clients.
1758         (Provides): Likewise.
1759
1760 Mon Oct 18 14:56:22 1999  H.J. Lu <hjl@lucon.org>
1761
1762         * Initial version 0.1 released.
1763
1764         * configure.in (VERSION): Set to "nfs-utils 0.1".
1765         * configure: Regenerated.
1766
1767 Mon Oct 18 14:54:57 1999  H.J. Lu <hjl@lucon.org>
1768
1769         * utils/mountd/mountd.c (get_exportlist): Cleanup.
1770
1771         * utils/exportfs/exportfs.c (unexport_all): Unexport from
1772         kernel only if the entry is exported to kernel.
1773         (unexportfs): Likewise.
1774
1775 Wed Sep 08 16:49:32 1999  Neil Brown <neilb@cse.unsw.edu.au>
1776
1777 1/ utils/mountd/rmtab.c::mountlist_list
1778
1779      This routine stats the rmtab file to see if it has changed.  It
1780      if has, it cleans up it's old copy of the data. But it still
1781      always re-read the file, thus returning multiple copies of the
1782      data on consecutive calls without intervening changes.
1783      "Showmount -a" didn't show this as it appears to sort/unique the
1784      data, but 'strace showmount -a' showed that the size of the
1785      datagram that it received grew.
1786
1787      I moved the getrmtabent loop inside the mtime test.
1788
1789 2/ utils/exportfs/exportfs.c
1790    
1791      Many routines used the m_path field of m_export instead of
1792      e_path.
1793      According to the comment in nfslib.h, m_path should only
1794      be used when processing a mount request (i.e. in mountd)
1795      where the mountpoint may be a subdirectory of the export point.
1796
1797      I changed all occurances of m_path to e_path
1798
1799
1800 3/ utils/exportfs/exportfs.c:main
1801
1802       extra arguments are not meaningful with -a or -r, but
1803       exportfs accepted them and then ignored the -a/-r, expect that
1804       -r would still unexport everything first.
1805
1806       I generate an error if there are extra args and f_all
1807
1808 4/ utils/exportfs/exportfs.c:main
1809      extract dump out as a special case.
1810
1811 5/ utils/exportfs/exportfs.c
1812      made f_reexport a local variable.
1813
1814
1815 6/ utils/exportfs/exportfs.c:main,exportall
1816
1817     support/export/rmtab.c
1818        only  mayexport on newly created entries, don't set xtabent at all
1819
1820 7/ support/include/nfslib.h
1821
1822       add #define _PATH_PROC_EXPORTS to be /proc/fs/nds/exports
1823
1824 8/ support/export/xtab.c
1825
1826       xtab_mount_read loads data from _PATH_PROC_EXPORTS if it exists,
1827       else from xtab
1828
1829
1830 9/ support/export/xtab.c
1831
1832       xtab_mount_read now sets m_exported, and NOT
1833         xtabent and mayexport
1834
1835       removed the append arguement from xtab_write as it was
1836         never used.
1837
1838       added is_export flag to xtab_write similar to xtab_read
1839         if is_export, only write entries with m_xtabent or m_addxtab
1840         if !is_export, only write entries with m_exported
1841      
1842 10/ support/export/export.c::export_allowed_internal
1843
1844       added test for exp->m_mayexport, as the export tree
1845         may have entries that are no longer allowed to be exported,
1846         and so shouldn't caused deduced exported by rmtab_read
1847
1848 11/ utils/exportfs/exportfs.c::main
1849         error checking of flags.
1850
1851 12/ utils/exportfs/exportfs.c
1852
1853         total rewrite of export and unexport logic.
1854         We now:
1855         -  build an exportslist of valid exports, based on
1856            current etab file  and arguments,
1857         -  read rmtab to instantiate relevant wild card entries
1858         -  read etab to find out what is currently exported
1859         -  synchronise intention with reality
1860         -  write out etab and xtab
1861
1862 13/  various
1863         discard the m_addxtab flag
1864         add m_changed flag so we know what to report in exportfs
1865
1866 14/ utils/mountd/auth.c:auth_authenticate
1867
1868         the value returned by gethostbyaddr was trusted.
1869
1870         It now follows this with a call to gethostbyname
1871         and checks that the address is in the list.
1872
1873 15/ support/export/nfsctl.c::cltsetup,expsetup
1874
1875         force client names to lowercase as kernel is
1876         sensitive to case
1877
1878 16/ quietened a few compiler warnings
1879
1880 17/ support/export/client:client_lookup
1881
1882      look for pre-existing client with same name before creating
1883         a new one.
1884
1885 18/ support/include/exportfs.h
1886
1887      The ordering of the MCL_* enum was:
1888         ANONYMOUS, FQDN, SUBNETWORK, WILDCARD, NETGROUP
1889
1890      I moved ANONYMOUS to the end.
1891
1892      The ordering is significant when an export entry is being searched for to 
1893         match a given address.  There are two problems with ANONYMOUS being first.
1894
1895         1/ if a directory is exported rw to a couple of hosts and ro to everyone else,
1896            then the ro case will always be found first and the privileged hosts won't get
1897            their privilege
1898         2/ When mountd gets a request to mount an ANONYMOUSly exported tree, it creates a FQDN
1899            export entry for the specific host, and writes it to xtab.
1900            When another request comes from the same host, the ANONYMOUS entry is found again, 
1901            before the new FQDN entry, so it creates another FQDN entry and writes it to xtab
1902            again.  If causes bloat in xtab.
1903
1904       Putting ANONYMOUS at the end reflects it's nature as a catch-all
1905
1906 19/ utils/exportfs/exportfs.man
1907         many updates to the man page to reflect changes to the code
1908
1909 -----------------------
1910
1911
1912
1913 TODO:
1914
1915 - allow exportfs to modify rmtab file
1916 - make sure kernel never gets two clients with same IP address
1917     - possible kernel should reject
1918     - needs to be some way to lookup client in kernel by IP address
1919 - maybe get kernel to do case-insensitive comparisons on client names
1920 - remove unused clients from kernel
1921
1922 - change etab to xtab and xtab to xtab.active
1923
1924 - timestamp and/or statd-stamp in rmtab for removing old entries.
1925
1926 Mon Oct 18 11:48:07 1999  H.J. Lu <hjl@lucon.org>
1927
1928         * linux-nfs: New directory.
1929         * linux-nfs/ChangeLog: Moved from ..
1930         * linux-nfs/INSTALL: Likewise.
1931         * linux-nfs/KNOWNBUGS: Likewise.
1932         * linux-nfs/NEW: Likewise.
1933         * linux-nfs/README: Likewise.
1934         * linux-nfs/THANKS: Likewise.
1935         * linux-nfs/TODO: Likewise.
1936
1937         * Starting from knfsd 1.4.7.