Description of problem:
When selinux is disabled initng won't boot my computer.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
3.Reboot into the initng kernel
Boot stops and display error mesages
Boot with no problem
I tested my boot speed with Selinux and figured out it was about 1:20minutes.
I tested my boot speed with initng and found it to be about 1minute.
I then disabled Se linux and tested my boot speed to about 1:10 minutes.
A final atemt was to test initng and no Selinux, but it failed to boot.
After enabling SElinux the initng boot's again.
Another funny thing is that kpowersave crash on my system unless I'm root, but
booting with initng don't make kpowersave crash, but no information is present.
I had the same error on my x86_32 system, so I switched on selinux and the
system booted correctly.
Confirming this bug when selinux is disabled.
Enabling selinux in *not* a solution, tried to change initng files a bit to
'remove' selinux references but didn't succeed.
Any help would be appreciated.
Hmmm... The strange thing here is that I've never used selinux myself and initng
works fine here, both on 32 and 64 bit machines. I need some more info here. For
example, what services/daemons are started at startup? (What's the content of
/etc/initng/runlevels/system.virtual?) What are the error messages?
Here you go
These should be the default entries since I haven't changed any of these, as far
as the error messages its a bit tricky cause there are a lot to copy in paper,
but I remember the error start in loglevel service or whatever that is and are
I really have no idea on this one. I know initng has been having troubles with
selinux, but I've never heard of it having trouble with selinux not being
activated. Another strange thing is that you don't have the selinux services in
the default runlevel, they should have been there.
I'll CC dragoran. You got any ideas?
what does happen you boot with selinux disabled? does it just hangs or do you
get any error messages? where exactly does it hang (at which script) or does it
not even try to start scripts?
Created attachment 240351 [details]
patch to fix the hang and/or segfault when selinux is disabled
The attached patch should fix the issue. If not try to this patch + disabling
the selinux/relabel service.
Indeed this patch solves the problem - some other problems appear later on but
not related to selinux.
I'll close this bug, since Dragoran attached his working patch to upstreams svn.
I'll try manipulating people into doing another release (0.6.10.2?), since we
now has got some fixes in svn...