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