*BSD News Article 99468


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!inferno.mpx.com.au!news.ci.com.au!brian.telstra.net!news.telstra.net!nsw.news.telstra.net!news.syd.connect.com.au!news.mel.connect.com.au!news.mel.aone.net.au!news-out.internetmci.com!infeed2.internetmci.com!newsfeed.internetmci.com!howland.erols.net!newsxfer3.itd.umich.edu!newbabylon.rs.itd.umich.edu!shrimp.ifs.umich.edu!dugsong
From: dugsong@umich.edu (Dug Song)
Newsgroups: comp.unix.bsd.openbsd.misc
Subject: securelevel bogosity
Date: 11 Jul 1997 21:59:47 GMT
Organization: University of Michigan ITD News Server
Lines: 19
Message-ID: <5q6acj$rl5$3@newbabylon.rs.itd.umich.edu>
NNTP-Posting-Host: shrimp.ifs.umich.edu
X-Newsreader: TIN [version 1.2 PL2]
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.openbsd.misc:178

i'm running disconnected AFS on OpenBSD 2.1, which involves an lkm,
libafs.o, to be loaded at boot. it loads just fine from
/etc/rc.securelevel, right after the Xfree86 aperture driver, but the
problem is that on shutdown or reboot, the AFS lkm causes a kernel
panic when it notices that /afs has been unmounted (dangling
vnode). so i need to modunload the AFS lkm in /etc/shutdown before
afsd is killed, but the kernel securelevel won't let me. fine.

so i built a kernel with option INSECURE and specified securelevel=0
in /etc/rc.securelevel, and yet init still ends up setting
kern.securelevel to 1 (i'm not sure where or how, as it's not in
/etc/rc). i'm baffled.

what am i overlooking?

---
Dug Song <dugsong@UMICH.EDU>
University of Michigan ITD Systems Research Programmer
http://www-personal.umich.edu/~dugsong