From: Mike Edenfield <kutulu@kutulu.org>
To: SELinux Mailing List <selinux@tycho.nsa.gov>
Subject: Help: SELinux causing(?) boot failures...
Date: Fri, 08 Aug 2008 11:46:23 -0400 [thread overview]
Message-ID: <489C6A4F.3020704@kutulu.org> (raw)
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.
next reply other threads:[~2008-08-08 16:30 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-08 15:46 Mike Edenfield [this message]
2008-08-08 16:51 ` Help: SELinux causing(?) boot failures 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=489C6A4F.3020704@kutulu.org \
--to=kutulu@kutulu.org \
--cc=selinux@tycho.nsa.gov \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.