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