Bug 158425 - selinux policy reload hangs the kernel
selinux policy reload hangs the kernel
Product: Fedora
Classification: Fedora
Component: kernel (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Dave Jones
Brian Brock
Depends On:
  Show dependency treegraph
Reported: 2005-05-22 01:40 EDT by Alexandre Oliva
Modified: 2015-01-04 17:19 EST (History)
2 users (show)

See Also:
Fixed In Version: kernel-2.6.11-1.1337_FC4
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-05-22 03:05:44 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
oops from text-mode install, after installing selinux-policy-targeted (228.42 KB, image/jpeg)
2005-05-22 02:38 EDT, Alexandre Oliva
no flags Details
bottom of the oops at boot-up for relabel (150.96 KB, image/jpeg)
2005-05-22 02:41 EDT, Alexandre Oliva
no flags Details

  None (edit)
Description Alexandre Oliva 2005-05-22 01:40:25 EDT
Description of problem:
When installing FC4-re0520.0 with selinux targeted policy enabled, when we
install selinux-policy-targeted, an oops makes it to the console.  Later on,
when we install selinux-policy-targeted-sources, the policy is reloaded and then
the system freezes hard.  If we choose not to install
selinux-policy-targeted-sources, the hard freeze happens during the installer's
final configuration stage.

Install succeeds booting the installer with selinux=0, but then, if you
re-enable selinux in /etc/sysconfig/selinux, touch /.autorelabel, and reboot,
the system will fail to boot with kernel oopses very early during the boot. 
I've taken some pictures of the oopses, which I'll attach upon request.

Version-Release number of selected component (if applicable):

How reproducible:
Always, both x86_64 and i686

Steps to Reproduce:
1.Boot kernel 2.6.11-1.1329_FC4 with selinux targeted policy in enforcing mode
Comment 1 Dave Jones 2005-05-22 01:47:05 EDT
sure, please attach the oopses.
Comment 2 Dave Jones 2005-05-22 01:47:40 EDT
also give the latest kernel a try (-1337 right now), and see if that fixes it
Comment 3 Alexandre Oliva 2005-05-22 02:38:30 EDT
Created attachment 114682 [details]
oops from text-mode install, after installing selinux-policy-targeted

On a text install, without selinux=0, an oops is displayed while running the
selinux-policy-targeted %post.	The install proceeds, so the screen gets
somewhat garbled, but I hope the critical info from the oops is still there.
Comment 4 Alexandre Oliva 2005-05-22 02:41:28 EDT
Created attachment 114683 [details]
bottom of the oops at boot-up for relabel

When booting up for relabel, I think a number of oopses is displayed, but they
roll off the screen too fast for me to even count them.  Sorry about the poor
picture quality, it was the best of 3 I took after it froze :-(
Comment 5 Alexandre Oliva 2005-05-22 03:05:44 EDT
Looks like 1337 is fixed.

Note You need to log in before you can comment on or make changes to this bug.