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