Subject: misc/10959: mountd + securelevel
To: None <gnats-bugs@gnats.netbsd.org>
From: None <mike@ethmoid.org>
List: netbsd-bugs
Date: 09/05/2000 14:41:12
>Number: 10959
>Category: misc
>Synopsis: mountd should run before securelevel is raised
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: misc-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Sep 05 14:42:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: Michael Santos
>Release: NetBSD-current 020900
>Organization:
>Environment:
System: NetBSD ack 1.5E NetBSD 1.5E (ack) #2: Sat Sep 2 21:17:05 EDT 2000 mike@ethmoid:/usr/a/src/sys/arch/i386/compile/ack i386
>Description:
In order to export a fs via nfs, mountd needs to be run before the securelevel is raised.
>How-To-Repeat:
echo 'securelevel="2"' >> /etc/rc.conf && reboot
>Fix:
Run mountd before raising securelevel:
--- /usr/a/src/etc/rc.d/mountd Thu Jul 27 20:21:15 2000
+++ mountd Tue Sep 5 17:17:17 2000
@@ -6,4 +6,5 @@
# PROVIDE: mountd
# REQUIRE: NETWORK mountall beforemountlkm rpcbind quota
+# BEFORE: securelevel
. /etc/rc.subr
>Release-Note:
>Audit-Trail:
>Unformatted: