Date: Sun, 17 Dec 1995 04:55:48 -0800 From: Faried Nawaz <fn@pain.csrv.uidaho.edu> To: FreeBSD-gnats-submit@freebsd.org Subject: bin/899: /var/db/mountdtab not removed on bootup. Message-ID: <199512171255.EAA06657@pain.csrv.uidaho.edu> Resent-Message-ID: <199512171300.FAA28012@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 899 >Category: bin >Synopsis: /var/db/mountdtab can contain useless/outdated info >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Dec 17 05:00:01 PST 1995 >Last-Modified: >Originator: Faried Nawaz >Organization: >Release: FreeBSD 2.2-CURRENT i386 >Environment: this problem's in 2.x, i think. i'm FreeBSD pain.csrv.uidaho.edu 2.2-CURRENT FreeBSD 2.2-CURRENT #0: Wed Dec 13 20:01:46 PST 1995 fn@pain.csrv.uidaho.edu:/disk1/src/sys/compile/pain i386 >Description: /var/db/mountdtab is not removed on bootup, and so hosts "appear" to be mounting drives when they aren't doing so. >How-To-Repeat: set up the nfs server stuff on host 'A', export a drive/directory to host 'B', mount host_a:/whatever on host 'B', unmount, reboot host 'A', wait for it to come back up type 'showmount host_a'. >Fix: --- /etc/rc~ Sun Dec 17 04:49:39 1995 +++ /etc/rc Sun Dec 17 04:49:52 1995 @@ -210,6 +210,7 @@ fi if [ "X${nfs_server}" = X"YES" -a -r /etc/exports ]; then + cp /dev/null /var/db/mountdtab echo -n ' mountd' if [ "X${pcnfsd}" = X"YES" ]; then mountd -n perhaps mountd should remove a client's entry from /var/db/mountdtab when the client umounts? >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199512171255.EAA06657>