Red Hat Bugzilla – Bug 175527
kernel panic during boot
Last modified: 2007-11-30 17:11:18 EST
Description of problem:
From a installation of today's rawhide I get a kernel panic during the boot
Version-Release number of selected component (if applicable):
Steps to Reproduce:
EXT3-fs: mounted filesystem with ordered data mode.
Kernel panic - not syncing: Attempted to kill init!
Booting with 'selinux=0' on the kernel command line seems to work around this
this has been there for a while, the policy rpm deletes a file in its %post that
it needs. Probably a missing trigger.
No that is the old problem. I believe these are from fresh install, and there
not being a policy file on reboot. It should be fixed in todays rawhide.
Hmm, there isn't even an selinux policy package installed! This is from a
rawhide kickstart installation, so reassigning to anaconda.
-bash-3.00# rpm -qa |grep selinux
Here are the relevant bits of the kickstart file:
nfs --server cyberelk --dir /mnt/archive/rh/i386
xconfig --resolution 1600x1200 --depth 16 --defaultdesktop=GNOME
network --bootproto dhcp
rootpw --iscrypted ...
firewall --enabled --port=ipp:udp --port=ipp:tcp --port=ntp:udp --port=ssh:tcp
authconfig --enableshadow --enablemd5
timezone --utc Europe/London
bootloader --location=mbr --append="rhgb quiet"
clearpart --all --initlabel --drives=hda
part /boot --fstype ext3 --size=50
part / --fstype ext3 --size=700 --grow
part swap --size=256 --grow --maxsize=512
Can you also attach /var/log/anaconda* and /root/install.log? But I think this
should be fixed for real with the changes I made to the policy package yesterday
Created attachment 122192 [details]
I still get this, with yesterday's rawhide (20051218).
David -- can you look into why the default package selection doesn't seem to be
including the base and core groups?
Fixed in selinux-policy-2.1.6-19
No, that RPM doesn't even get installed by anaconda -- and that's the problem.
At first glance, it looks like this is the problem in anaconda:
log.warning("getDefaultGroups not implemented for backend!")
I'm looking further.
Chris fixed this in rawhide:
2006-01-11 Chris Lumens <firstname.lastname@example.org>
* kickstart.py (Kickstart.runTracebackScripts): Typo fix.
(Kickstart.setSteps): Be smarter about skipping package selection.
(Kickstart.setPackageSelection): Add Core.
Fix confirmed. Thanks.