Hikaru Amano (kagesenshi.87(a)gmail.com) said:
I'm getting this error when creating a liveCD using livecd-tools
========
/sbin/setfiles: labeling files under /
*********************matchpathcon_filespec_eval: hash table stats:
17497 elements, 12838/65536 buckets used, longest chain length 5
/sbin/setfiles: labeling files under /tmp
matchpathcon_filespec_eval: hash table stats: 2 elements, 2/65536
buckets used, longest chain length 1
/sbin/setfiles: labeling files under /home
matchpathcon_filespec_eval: hash table stats: 1 elements, 1/65536
buckets used, longest chain length 1
/sbin/setfiles: labeling files under /mnt/storage
/sbin/setfiles: error while labeling files under /mnt/storage
========
The hint there is the errors - AFAICT, setfiles is being run on
the wrong root.
(yup i know i disabled it altogether) .. but I'm wondering what
causes
SElinux to fail in the first place .. i didnt enable SElinux in the
box that generated the liveCD - is that what causes the error?
Very possibly.
or is
it something else ?... and why does the liveCD fails to run as
readwrite if the SElinux labeling failed ??..
The LiveCD tries to use SELinux by default - if labelling is wrong,
it's *not* going to work.
Bill