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