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@l4l ~]# ps -aef | fgrep live root 6027 5880 0 20:14 pts/3 00:00:00 fgrep live
[root@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
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@l4l ~]# ps -aef | fgrep live root 6027 5880 0 20:14 pts/3 00:00:00 fgrep live
[root@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.
Simon,
It seems like when I used to use a repository on a server, it gave both livecd-tools and revisor fits. Why is a whole different question.
The most dependable approach for me has been to use the cache feature instead of a local repo. After the files are cached, it runs just as fast as having a local repo. Given updates and all, it takes a short amount of time (5 or 10 minutes) on the first build on a particular day to update the cache. I'm using a custom kickstart that's fairly involved and I'm using 1.7G for the cache (base and updates).
livecd-creator --config=[config file path] --fslabel=[label] --cache=/var/cache/yum/fedora/8/i386
The minimal is also a little problematic. When you boot, you can't login. That's a documented characteristic; just not one that's documented in the kickstart.
echo "# Warning: this kickstart generates a LiveCD that boots ... but
login is disabled" >> /usr/share/livecd-tools/livecd-fedora-minimal.ks
Tim Wood
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@l4l ~]# ps -aef | fgrep live root 6027 5880 0 20:14 pts/3 00:00:00 fgrep live
[root@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
-- Fedora-livecd-list mailing list Fedora-livecd-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-livecd-list
Gary Thomas wrote:
It looks like you have SELinux running on your build system.
Aha! The first time I ran the CD creator, I got lots of error messages from SELinux, so I attempted to turned it off, but apparently I was not successful. Now I have disabled it permanently, and the creator completes. Hooray!
Tim Wood mentioned problems using a local repository:
It seems like when I used to use a repository on a server, it gave
both livecd-tools and revisor fits.
It works for me, now that SELinux is off. However, this is using Fedora 8. When I tried running the creator on a Fedora 7 box, I got a ton of problems.
Anyhow, thank you all. Now I will try to create the CD that has a desktop.
Simon
Simon Ritchie wrote:
Gary Thomas wrote:
It looks like you have SELinux running on your build system.
Aha! The first time I ran the CD creator, I got lots of error messages from SELinux, so I attempted to turned it off, but apparently I was not successful. Now I have disabled it permanently, and the creator completes. Hooray!
Note, that I think the difference between selinux=disabled, and selinux=permissive may make a difference, at least as far whether or not the resulting output livecd has selinux is concerned. I.e. if you have selinux *off(disabled)*, then livecd creator cannot produce an selinux-enabled (permissive or enforcing) livecd. If you want selinux in the output, you want selinux on the host build system to be in permissive mode, not disabled.
-dmc
livecd@lists.fedoraproject.org