All of lore.kernel.org
 help / color / mirror / Atom feed
* Kernel panic when using refpolicy
@ 2007-09-07 18:14 Kim Lawson-Jenkins
  2007-09-07 17:44 ` Christopher J. PeBenito
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Kim Lawson-Jenkins @ 2007-09-07 18:14 UTC (permalink / raw)
  To: selinux


Hi,

I'm running RHEL5.  I downloaded refpolicy-20070629.tar.bz2 and
selinux-refpolicy-sources-20070629-1.noarch.rpm and installed the files for
the reference policy.  When rebooting the system there was a fatal error -
Kernel panic - not syncing: Fatal exception.

There were many unknown Boolean errors for libsepol.load.booleans and there
was the following error - 
libsepol.sepol_genbools: error while reading /etc/selinux/refpolicy/Booleans

It looks like ifconfig was running when the kernel panic occurred.  To
recover booted into single-user mode and changed the SELINUXTYPE in the file
/etc/selinux/config from refpolicy to targeted.  I can easily repeat the
problem by using the SELinux Management Tool to change the System Default
Policy Type from targeted to refpolicy and rebooting.  I've looked at all of
the documentation to see if I missed a step or downloaded an incorrect file
but I can't find anything.  Can anyone give me some insight into what the
problem may be?  Thanks in advance for a response.

Kim


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 7+ messages in thread
* RE: Kernel panic when using refpolicy
@ 2007-12-29 18:08 Jeremiah Jahn
  2007-12-31 16:55 ` Eric Paris
  0 siblings, 1 reply; 7+ messages in thread
From: Jeremiah Jahn @ 2007-12-29 18:08 UTC (permalink / raw)
  To: selinux

[-- Attachment #1: Type: text/plain, Size: 475 bytes --]

sorry, to bring this up again, but FYI, it doesn't look like the kernel
bug got fixed in RHEL5U1. I took the most recent refpolicy and left the
type set to standard; make load; touch /.autorelabel;reboot; all hell
broke loose. however, if I set the type=mcs then do the above everything
is fine. I had to pull the harddrive, and edit the policy config to get
the system back up. 

-jj-




You have the capacity to learn from mistakes. You'll learn a lot today.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-12-31 16:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-07 18:14 Kernel panic when using refpolicy Kim Lawson-Jenkins
2007-09-07 17:44 ` Christopher J. PeBenito
2007-09-07 18:56   ` Kim Lawson-Jenkins
2007-09-07 17:44 ` Eric Paris
2007-09-07 17:50 ` Brian M. Williams
  -- strict thread matches above, loose matches on Subject: below --
2007-12-29 18:08 Jeremiah Jahn
2007-12-31 16:55 ` Eric Paris

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.