[Fedora-livecd-list] livecd-creator (git) and selinux

Sebastian Vahl ml at deadbabylon.de
Fri Mar 23 08:32:35 UTC 2007


Am Thu, 22 Mar 2007 15:45:37 -0400
schrieb Jeremy Katz <katzj at redhat.com>:

> On Wed, 2007-03-21 at 15:51 +0100, Sebastian Vahl wrote:
> > Just a small question: Should selinux be enabled on the host system
> > or doesn't it matter? I'm asking because I have problems with
> > selinux since I use the git version. On my rawhide installation
> > selinux is normally disabled and I also don't have much experience
> > with selinux itself or interpreting the errors. 
> 
> If you don't have SELinux enabled (at least in permissive mode), then
> you're not going to be able to label the filesystem of the live CD as
> you can only set filesystem labels with a policy loaded.
> 
> So, short answer, yeah, you have to at least have SELinux in
> permissive mode to create a live CD with SELinux enabled
> 

Thanks for explaining this. I have relabeld my filesystem
with "/sbin/fixfiles relabel /" and set selinux to permissive mode. But
then I'm getting a lot of this errors when booting the livecd:
http://img179.imageshack.us/my.php?image=57280149oz6.png
http://img179.imageshack.us/my.php?image=82094947cg7.png

Strange is that the timestamp of the files in /dev/.udev (on livecd)
is the time of creation of the livecd.

Not sure about this (as I've said: sadly not much experiences with
selinux). Chitlesh Goorah guessed that this problem is located on my
host system. So I will set up a really clear installation this evening.

Sebastian

P.S.: attached is the ouput from livecd-creator for restorecon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: F7-kickstart-KDE-24-2007-03-23_08:39.log
Type: text/x-log
Size: 37977 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-livecd-list/attachments/20070323/ab2fcb5b/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-livecd-list/attachments/20070323/ab2fcb5b/attachment.sig>


More information about the Fedora-livecd-list mailing list