From gordont@hobbes.melthrusia.org  Thu Dec  7 01:58:23 2000
Return-Path: <gordont@hobbes.melthrusia.org>
Received: from hobbes.melthrusia.org (dt035n37.san.rr.com [24.30.140.55])
	by hub.freebsd.org (Postfix) with ESMTP id B287437B400
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  7 Dec 2000 01:58:22 -0800 (PST)
Received: (from gordont@localhost)
	by hobbes.melthrusia.org (8.11.1/8.11.1) id eB79wGg00735;
	Thu, 7 Dec 2000 01:58:16 -0800 (PST)
	(envelope-from gordont)
Message-Id: <200012070958.eB79wGg00735@hobbes.melthrusia.org>
Date: Thu, 7 Dec 2000 01:58:16 -0800 (PST)
From: gordont@bluemtn.net
Sender: gordont@hobbes.melthrusia.org
Reply-To: gordont@bluemtn.net
To: FreeBSD-gnats-submit@freebsd.org
Subject: init(8) documentation ambiguous on securelevel
X-Send-Pr-Version: 3.2

>Number:         23350
>Category:       docs
>Synopsis:       securelevel poorly documented about module loading
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 07 02:00:01 PST 2000
>Closed-Date:    Thu Dec 7 21:08:48 GMT 2000
>Last-Modified:  Thu Dec 07 21:11:03 GMT 2000
>Originator:     Gordon Tetlow
>Release:        FreeBSD 4.2-RELEASE i386
>Organization:
Blue Mountain
>Environment:

	

>Description:

While running in securelevel 2, I tried to load a kernel screensaver module
and was met with an operation not permitted. It took me a minute but I'm
assuming that with securelevel 1 disallowing writing to /dev/kmem I cannot
load modules. I was thinking it might be nice to make that more obvious in
the init(8) manpage.

>How-To-Repeat:

sysctl -w kern.securelevel=1
kldload green_saver

>Fix:

Document the fact that securelevel >= 1 disallows module loading more
explicitly.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: ben 
State-Changed-When: Thu Dec 7 21:08:48 GMT 2000 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=23350 
>Unformatted:
