All of lore.kernel.org
 help / color / mirror / Atom feed
* Help: SELinux causing(?) boot failures...
@ 2008-08-08 15:46 Mike Edenfield
  2008-08-08 16:51 ` Paul Moore
  0 siblings, 1 reply; 9+ messages in thread
From: Mike Edenfield @ 2008-08-08 15:46 UTC (permalink / raw)
  To: SELinux Mailing List

Hi,

I've been having a major problem with one particular system trying to 
convert it to an SELinux-enabled system.  Several people in #selinux 
have been very helpful, but so far nothing's working out, so I guess 
I'll ask here:

I have a VMWare Virtual Machine running a 2.6.25 kernel with SELinux 
support compiled in, and a full SELinux userland (it's Gentoo Hardened, 
in case it matters).  When I attempt to boot the machine, none of my 
startup scripts run and my terminal's getty processes repeatedly die off 
until init shuts them down.  At the pont where the boot scripts should 
be running, INIT just skips right to the next step in the boot process, 
which now looks like this:

----------

{some AVCs about init}
INIT: v2.86 booting
INIT: Entering runlevel: 3

printk: 42 messages suppressed.
{a few SELinux AVC's about agetty}

This is (none).

This is (none).

INIT: Index "c1" respawning too fast: disabled for 5 minutes
INIT: Index "c2" respawning too fast: disabled for 5 minutes
		.
		.
		.
INIT: no more processed left in this runlevel

----------

The reason I strongly suspect SELinux is the problem (or at least a 
major factor), is that adding "selinux=0" to my boot command line 
corrects the problem, and the system boots fine.  Everything appears to 
be installed and configured correctly, except obviously SELinux is now 
disabled.  The filesystems are all labeled correctly, and even on the 
failing boot the AVC messages display the correct labels, like 
tty_device_t and urandom_device_t.


This is a VM so I have ready access to its serial port for debugging, 
and can install, patch, etc. anything needed to resolve the problem.  I 
just have no idea where to start.  Can anyone help me out here?

Thanks,

--Mike

--
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] 9+ messages in thread

end of thread, other threads:[~2008-08-14 20:24 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-08 15:46 Help: SELinux causing(?) boot failures Mike Edenfield
2008-08-08 16:51 ` Paul Moore
2008-08-08 17:19   ` Mike Edenfield
2008-08-08 18:01     ` Paul Moore
2008-08-08 18:13     ` Justin Mattock
2008-08-08 23:03     ` Russell Coker
2008-08-14 16:58     ` Stephen Smalley
2008-08-14 19:21       ` Mike Edenfield
2008-08-14 20:24         ` Stephen Smalley

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.