From owner-freebsd-questions@FreeBSD.ORG Thu Mar 24 21:52:10 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EC50616A4CE for ; Thu, 24 Mar 2005 21:52:10 +0000 (GMT) Received: from pernis.its.uu.se (pernis.its.UU.SE [130.238.4.153]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9AB9A43D55 for ; Thu, 24 Mar 2005 21:52:09 +0000 (GMT) (envelope-from ante@Update.UU.SE) Received: by pernis.its.uu.se (Postfix, from userid 205) id DCB1127B; Thu, 24 Mar 2005 22:52:08 +0100 (MEZ) Received: from pernis.its.uu.se(127.0.0.1) by pernis.its.uu.se via virus-scan id s332; Thu, 24 Mar 05 22:52:01 +0100 Received: from Psilocybe.Update.UU.SE (Psilocybe.Update.UU.SE [130.238.19.25]) by pernis.its.uu.se (Postfix) with ESMTP id AD8052DB; Thu, 24 Mar 2005 22:52:01 +0100 (MEZ) Received: by Psilocybe.Update.UU.SE (Postfix, from userid 30086) id 46C0338016; Thu, 24 Mar 2005 22:52:01 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by Psilocybe.Update.UU.SE (Postfix) with ESMTP id 44DCE5C002; Thu, 24 Mar 2005 22:52:01 +0100 (CET) Date: Thu, 24 Mar 2005 22:52:01 +0100 (CET) From: Andreas Davour To: Christopher Nehren In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed cc: freebsd-questions@freebsd.org Subject: Re: MAC module problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Mar 2005 21:52:11 -0000 On Thu, 24 Mar 2005, Christopher Nehren wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 2005-03-24, Andreas Davour scribbled these > curious markings: >> I'v tried to load a few MAC modules and try that security system. This >> oddity appeared in dmesg: >> >> "mac_policy_modevent: can't load mac_lomac policy after booting >> module_register_init: MOD_LOAD (mac_lomac, 0xc056f4dc, 0xc1c285c0) error >> 16" > > It means exactly what it says. You can't load mac_lomac after having > booted the system. You can see from mac_lomac(4) that you can put it in > your kernel configuration, and that you load it from loader.conf. If you > don't want to rebuild your kernel, you can use the module, if you have > it. Ah! That's "loader.conf", not rc.conf as where I put it! Sorry. I must have been *very* tired when I read that and put it in the rc.conf file. Thanks. /andreas -- A: Because it fouls the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?