PDA

View Full Version : revisor errors building 64bit f12 & a man misspell


gr00ve
19th January 2010, 11:54 PM
I wasn't able to get revisor to work on a x86_64 system while trying to build a basic fedora install.

same here, fully updated f12 x86_64

first the errors:

You have not selected any of the basic repositories. Please make sure that one of 'fedora', 'core', 'base' or 'development', or an equivalent repository has been configured
No groups present! Error was: No Groups Available in any repository

i've added a local repository, unselecting all others, the local repo contains all packages which i've obtained from a running & perfectly functioning system via rpm -qa --qf='%{NAME}\n' | sort -d

so no groups specified in the ks, no groups specified in the local repo metadata

Got an error from /usr/bin/xsltproc (return code 6)

which xslt's and where need to be verified? besides, xslt is a transformation isn't it, so it either crashes at some point when validating a schema or validating an xml against the schema


Got an error from /usr/lib/revisor/scripts/F12-buildinstall (return code 1)
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/revisor/modgui/ready_screen.py", line 144, in button_forward_clicked
self.gui.next()
File "/usr/lib/python2.6/site-packages/revisor/modgui/__init__.py", line 447, in next
self.default[self.current]['disp'](self)
File "/usr/lib/python2.6/site-packages/revisor/modgui/__init__.py", line 314, in displayBuildMedia
self.BuildMedia.start()
File "/usr/lib/python2.6/site-packages/revisor/modgui/build_media.py", line 64, in start
self.base.lift_off()
File "/usr/lib/python2.6/site-packages/revisor/base.py", line 867, in lift_off
self.buildInstallationMedia()
File "/usr/lib/python2.6/site-packages/revisor/base.py", line 1481, in buildInstallationMedia
f = open(os.path.join(mypungi.topdir,"isolinux","isolinux.cfg"),"rw+")
IOError: [Errno 2] No such file or directory: '/var/tmp/revisor-pungi/12/f12-x86_64/x86_64/os/isolinux/isolinux.cfg'

at this point revisor gui just freezes, no bugbuddy popping up, nothing, every once in a while it simply crashes the kernel & may render os unbootable as well [hence I always run revisor in VM!!!]

finally, the command i use for livecd which does work properly and finishes the process is:
livecd-creator --config=/fx64/ks.cfg --fslabel=fx64 --tmpdir=/fx64/tmp --cache=/fx64/cache

the kickstart:

lang en_US.UTF-8
keyboard us
rootpw fx64
user --name=fx64 --groups=fx64 --homedir=/home/fx64 --password=fx64
timezone Europe/Budapest
authconfig --enableshadow --passalgo=sha512
selinux --disabled
firewall --enabled
xconfig --startxonboot
firstboot --disable
part / --size 4700 --fstype ext3
#interactive

repo --name=f12 --baseurl=file:///fx64/repo --cost=10
#repo --name=fedoraupdates --mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f12&arch=$basearch --cost=20
#repo --name=fedora --mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-12&arch=$basearch --cost=30
#repo --name=fusionfreeupdates --mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-updates-released-12&arch=$basearch --cost=40
#repo --name=fusionfree --mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-12&arch=$basearch --cost=50
#repo --name=fusionnonfreeupdates --mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-updates-released-12&arch=$basearch --cost=60
#repo --name=fusionnonfree --mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-12&arch=$basearch --cost=70

%packages

too long to post here

%end

%post

%end

%post --nochroot

%end


man revisor

...

DESCRIPTION
Revisor is a customization program for Fedora, CentOS and other Red Hat-based distribution deriatives. :eek:

jonathonp
20th January 2010, 12:19 AM
Ditch the local repository and use a basic kicktstart file like this with the fedora, fedora-updates and rpmfusion repositories enabled:

%packages
@admin-tools
@base
@base-x
@fonts
@games
@gnome-desktop
@graphical-internet
@graphics
@hardware-support
@input-methods
@java
@office
@printing
@server-cfg
@sound-and-video
@text-internet
alsamixergui
gnome-games-extra
gnome-games-extra-data
pidgin
thunderbird
vlc

%end

Best to keep it simple. Make sure your system is updated before you start and you have SElinux disabled.

If you use the 'Revisor GUI' you will to need to select the Kickstart Configuartion file as you probably know then

Under advanced options tick:
Use repositories configured in the kickstart file
Use package manifest from kickstart data

gr00ve
20th January 2010, 08:00 AM

Make sure your system is updated before you start and you have SElinux disabled.

yep, one of the reasons I've decided to go for a custom spin, besides package selection, was for me to keep the iso updated with latest packages, as it makes no sense to download ~ 1gb of updates right after install.

as far as disabling selinux - actually, to my great surprise, if selinux is enabled in the kickstart, nether livecd tools nor revisor can do rootpw or user portions of the kickstart, they just give some message that due to the fact that install into virtual root is running in livecd context, settings passwords & adding users is denied by selinux. looks like a standard avc denial message.
I was thinking about enabling selinux in the post, but then i'd need a relabel on reboot which effectively would be upon each boot of the image. so those two were a no go.

jonathonp
20th January 2010, 12:03 PM
Hi groove. Could u post the avc denial?

gr00ve
9th February 2010, 10:38 PM
well, i've yum updated the system where revisor runs, removed part / --size 4700 --fstype ext3 & localrepo from the kickstart all together, and grew the partition where revisor's work/tmp dirs were to about 3 times the size of the final iso and... "Got an error from /usr/lib/revisor/scripts/F12-buildinstall" is now gone as well as xslt error

thanks for suggestions on getting this to work!

ps avc denials came from useradd in the post section, so not the main useradd. sorry for the mixup!