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