[Fedora-livecd-list] livecd-creator, revisor fail to build a CD

Gary Thomas gary at mlbassoc.com
Thu Jan 31 20:40:39 UTC 2008


Simon Ritchie wrote:
> I have the same problem, using Fedora core 8.  While attempting to build 
> the minimal livecd, livecd-creator hangs.  My Linux box freezes up.  If 
> I can log in and get a command window (not always possible) the shutdown 
> command runs for a while but does not complete, so the only solution is 
> to disconnect the power.
> 
> Tonight I was luckier and I got some control, so I can post some 
> diagnostics.
> 
> This is a fairly new and clean installation of Fedora core 8 on a Compaq 
> Pentium III box.  The only changes I have made is to install 
> livecd-creator and the necessary support stuff.  The livecd-creator came 
> from  livecd-tools-013-1.fc8.i386.rpm.
> 
> I am using a local repository - stored on a linux file server on my home 
> network and exported via NFS.  (Not enough disk space on my build machine.)
> 
> I run the command as follows:
> 
>    livecd-creator --config=livecd-fedora-minimal.ks
> 
> (The control file is shown below.)
> 
> It hangs after about half an hour.  The console shows:
> 
> 16.22% done, estimate finish Thu Jan 31 19:30:10 2008
> 24.30% done, estimate finish Thu Jan 31 19:30:08 2008
> 32.42% done, estimate finish Thu Jan 31 19:30:10 2008
> 40.50% done, estimate finish Thu Jan 31 19:30:08 2008
> 48.61% done, estimate finish Thu Jan 31 19:30:10 2008
> 56.70% done, estimate finish Thu Jan 31 19:30:09 2008
> 64.81% done, estimate finish Thu Jan 31 19:30:10 2008
> 72.90% done, estimate finish Thu Jan 31 19:30:09 2008
> 81.01% done, estimate finish Thu Jan 31 19:30:10 2008
> 89.09% done, estimate finish Thu Jan 31 19:30:09 2008
> 97.20% done, estimate finish Thu Jan 31 19:30:10 2008
> Total translation table size: 2048
> Total rockridge attributes bytes: 1337
> Total directory bytes: 4096
> Path table size(bytes): 40
> Max brk space used 0
> 61739 extents written (120 MB)
> Inserting md5sum into iso image...
> md5 = c0590991a2439b041651cc4afa0d1e09
> Inserting fragment md5sums into iso image...
> fragmd5 = 1716c77e228d4763bd27981c365f48125e7ea77241f7c2ee64bd32db5fc1
> frags = 20
> Setting supported flag to 0
> 
> 
> According to ps, the livecd-creator command is no longer running, but a 
> few other python scripts are:
> 
> [root at l4l ~]# ps -aef | fgrep live
> root      6027  5880  0 20:14 pts/3    00:00:00 fgrep live
> 
> [root at l4l ~]# ps -aef | fgrep python
> root      1693     1  0 18:10 ?        00:00:01 /usr/bin/python -E 
> /usr/sbin/setroubleshootd
> root      2001     1  0 18:10 ?        00:00:00 /usr/bin/python -tt 
> /usr/sbin/yum-updatesd
> root      6031  5880  0 20:15 pts/3    00:00:00 fgrep python
> 
> 
> 
> There are the latest error messages in the system log:
> 
> Jan 31 19:21:44 l4l kernel: security:  invalidating context
> unconfined_u:system_r:setrans_t:s0
> Jan 31 19:21:44 l4l kernel: security:  invalidating context
> unconfined_u:system_r:inetd_child_t:s0
> Jan 31 19:21:44 l4l kernel: security:  invalidating context
> unconfined_u:object_r:policy_config_t:s0
> Jan 31 19:21:44 l4l kernel: audispd[1502]: segfault at 1fdd8dac eip 
> 001b16ad
> esp bfc6c754 error 6
> Jan 31 19:24:13 l4l restorecond: Reset file context /etc/mtab:
> system_u:object_r:etc_t:s0->system_u:object_r:etc_runtime_t:s0
> Jan 31 19:30:13 l4l restorecond:last message repeated 2 times
> Jan 31 19:30:13 l4l kernel: top[2642]: segfault at 0000000c eip 00a3c70c 
> esp
> bfa9d120 error 6
> 
> 
> My control file livecd-fedora-minimal.ks contains
> 
> lang en_US.UTF-8
> keyboard uk
> timezone Europe/London
> auth --useshadow --enablemd5
> selinux --enforcing
> firewall --disabled
> part / --size 1024
> 
> repo --name=fed8 --baseurl=file:///mnt/fs/livecd.rh8/fedora.rpms
> repo --name=ext --baseurl=file:///mnt/fs/livecd.rh8/extras
> 
> %packages
> @core
> bash
> kernel
> passwd
> policycoreutils
> chkconfig
> authconfig
> rootfiles
> 
> %end

It looks like you have SELinux running on your build system.

Bottom line: you can't run revisor (or any flavor of liveCD creator)
with SELinux enabled.

n.b. This has been discussed (at great length) recently on the Fedora development list.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------




More information about the livecd mailing list