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