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