[Fedora-livecd-list] Revisor: Instroot problem
Lars Bjørndal
lars.bjorndal at broadpark.no
Sat Sep 8 09:34:26 UTC 2007
I still have problems, with
commit b4f701a612fe0e89210ae06c6650478b70175d7
from yesterday evening.
First, I tried revisor with the following command:
revisor --model=f7-modified --live-optical
and all worked fine. Then, I added the option
'--kickstart=my-kickstart-file.ks', and I got the following error:
/sbin/restorecon reset /var/named/chroot context root:object_r:named_zone_t:s0->system_u:object_r:named_conf_t:s0
/sbin/restorecon reset /var/named/chroot/etc context root:object_r:named_zone_t:s0->system_u:object_r:named_conf_t:s0
/sbin/restorecon reset /var/named/chroot/var context root:object_r:named_zone_t:s0->system_u:object_r:named_conf_t:s0
/sbin/restorecon reset /root/.gnome2 context root:object_r:user_home_dir_t:s0->root:object_r:user_home_t:s0
Relabel System:
Initting progress bar for Configure BootLoader
Configure BootLoader:
Traceback (most recent call last):
File "/usr/sbin/revisor", line 290, in <module>
revisorBase.run()
File "/usr/lib/python2.5/site-packages/revisor/cli.py", line 42, in run
self.base.lift_off()
File "/usr/lib/python2.5/site-packages/revisor/base.py", line 859, in lift_off
self.buildLiveMedia()
File "/usr/lib/python2.5/site-packages/revisor/base.py", line 1373, in buildLiveMedia
liveImage.configureBootloader()
File "/usr/lib/python2.5/site-packages/revisor/pilgrim.py", line 722, in configureBootloader
"%s/out/isolinux/%s" %(self.build_dir, kernel["vmlinuz"]))
File "/usr/lib/python2.5/shutil.py", line 46, in copyfile
fsrc = open(src, 'rb')
IOError: [Errno 2] No such file or directory: '/var/tmp/revisor-livecd/install_root/boot/vmlinuz-2.6.22.1-41.fc7'
Is this a problem with my kickstart file? Would you like to see it?
Thanks
Lars
Jeroen van Meeuwen <kanarip at kanarip.com> writes:
> Lars Bjørndal wrote:
>> Hello!
>> With GIT version of Revisor commit
>> 0ad6a3da49ff75fbfcd5802c5b03de51d9d014ac, I got a problem:
>> Initting progress bar for Configure System
>> Configure System:
>> Setting SELinux to: 1
>> Setting crypted root password
>> /var/tmp/revisor-livecd/install_root
>> /var/tmp/revisor-livecd/install_root
>> /var/tmp/revisor-livecd/install_root
>> Xorg is installed: True
>> Traceback (most recent call last):
>> File "/usr/sbin/revisor", line 293, in <module>
>> revisorBase.run()
>> File "/usr/lib/python2.5/site-packages/revisor/cli.py", line 45, in run
>> self.base.lift_off()
>> File "/usr/lib/python2.5/site-packages/revisor/base.py", line 894, in lift_off
>> self.buildLiveMedia()
>> File "/usr/lib/python2.5/site-packages/revisor/base.py", line 1367, in buildLiveMedia
>> liveImage.extra_configuration()
>> File "/usr/lib/python2.5/site-packages/revisor/lm_optical.py", line 151, in extra_configuration
>> f = open("%s/etc/inittab" %(instroot,), "rw+")
>> NameError: global name 'instroot' is not defined
>> [root at cd ~]#
>> Is this a known problem/bug?
>>
>
> Yes, I know it has been a problem. So is the number of references we
> have to kickstart objects that do not exist anymore (at least in GUI
> mode) since I've moved to using another kickstart object to get
> Revisor going on EL5 as well.
>
> I've been having troubles at my home network; I'll be kicking this
> bug's ass tomorrow hopefully.
>
> Kind regards,
>
> Jeroen van Meeuwen
> -kanarip
More information about the livecd
mailing list