[Fedora-livecd-list] Bug? : Failed SElinux fixfiles causes generated liveCD unable to run in readwrite

Hikaru Amano kagesenshi.87 at gmail.com
Sat Feb 24 04:45:02 UTC 2007


On 2/24/07, Bill Nottingham <notting at redhat.com> wrote:
> Hikaru Amano (kagesenshi.87 at 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.
>

I'm using the the livecd-creator script from rpm ... (with the only
modification is to the fixfiles line) .. what might possibly be causes
it to run on the wrong root?? ...

Filesystem            Size  Used Avail Use% Mounted on
/dev/hda3             7.6G  5.3G  2.0G  74% /
tmpfs                 252M     0  252M   0% /dev/shm
/dev/mapper/LVM-temp 1008M   35M  923M   4% /tmp
/dev/mapper/LVM-home  2.0G  671M  1.3G  36% /home
/dev/mapper/LVM-storage  26G  2.6G   22G  11% /mnt/storage

I ran the script in a folder in /mnt/storage/ partition ... and from
what i can understand from livecd-creator code, the fixfiles should be
done chrooted in /var/tmp/livecd-creator/<temp-dir>/install_root/ ..
which left me wondering cluelessly ..

thanks

-- 
-----------------------------------------------
regards
Hikaru
-----------------------------------------------
Mohd Izhar Firdaus Bin Ismail
Amano Hikaru
天野晃 「あまの ひかる」
Universiti Teknologi PETRONAS
ICT 2nd Year 1st Semester
mohd.izhar.firdaus at gmail.com
-----------------------------------------------
kagesenshi.87 at gmail.com
GPG: http://www.rootshell.be/~kagesens/public-key.asc
Blog: http://kagesenshi.blogspot.com
-----------------------------------------------




More information about the livecd mailing list