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