Bug 471343
Summary: | Error to create a livecd minimal.ks based | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Rodrigo Padula de Oliveira <rodrigopadula> |
Component: | livecd-tools | Assignee: | Jeremy Katz <katzj> |
Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 10 | CC: | automatisering, christoph.wickert, davidz, katzj |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-12-19 17:40:06 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Rodrigo Padula de Oliveira
2008-11-13 03:48:43 UTC
What version of yum do you have installed? And usually, this pops up because there's an error output by yum and then we get into encoding hell in python :/ I suspect if you run with LANG=en_US.UTF-8, you'll see what the real error is. [root@localhost livecd-tools-019]# yum --version 3.2.20 Installed: yum-metadata-parser-1.1.2-10.fc10.i386 at 2008-10-31 16:35 Built : Fedora Project at 2008-10-15 13:37 Committed: James Antill <james at fedoraproject.org> at 2008-10-14 22:00 Installed: rpm-4.6.0-0.rc1.7.i386 at 2008-11-05 02:13 Built : Fedora Project at 2008-10-31 08:31 Committed: Panu Matilainen <pmatilai> at 2008-10-31 22:00 Installed: yum-3.2.20-3.fc10.noarch at 2008-10-31 16:36 Built : Fedora Project at 2008-10-29 14:30 Committed: Seth Vidal <skvidal at fedoraproject.org> at 2008-10-29 22:00 In te minimal.ks i'm using: lang en_US.UTF-8 keyboard us timezone US/Eastern auth --useshadow --enablemd5 firewall --disabled part / --size 1024 repo --name=development --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=$basearch IMO this shuld be filed against yum rather than livecd-tools. See bug # 445916: Same error message. And if you run with LANG=en_US.UTF-8 instead of pt_BR, what is the error that you receive? (and yes, this will probably get reassigned to yum, but trying to do leg work for seth first :) Using pt_BR i receive the same message! livecd-tools-020 Using the default file with a fslabel=Minimal_Live Error: [root@localhost livecd-tools-020]# livecd-creator --verbose --config=livecd-fedora-minimal.ks --fslabel=Minimal_Live Traceback (most recent call last): File "/usr/bin/livecd-creator", line 136, in <module> sys.exit(main()) File "/usr/bin/livecd-creator", line 112, in main creator = imgcreate.LiveImageCreator(ks, name, fs_label) File "/usr/lib/python2.5/site-packages/imgcreate/live.py", line 47, in __init__ LoopImageCreator.__init__(self, *args) File "/usr/lib/python2.5/site-packages/imgcreate/creator.py", line 788, in __init__ ImageCreator.__init__(self, ks, name) File "/usr/lib/python2.5/site-packages/imgcreate/creator.py", line 76, in __init__ self.__sanity_check() File "/usr/lib/python2.5/site-packages/imgcreate/creator.py", line 404, in __sanity_check raise CreatorError("SELinux requested but not enabled on host") imgcreate.errors.CreatorError: SELinux requested but not enabled on host Changing the default minimal.ks, commenting the selinux line, this error isn't happening. I think this problem is with the .ks syntax and some unaccepted character. (In reply to comment #6) > raise CreatorError("SELinux requested but not enabled on host") > imgcreate.errors.CreatorError: SELinux requested but not enabled on host You can't create an image with SELinux enabled if you don't have SELinux enabled on your host. But I think the original issue was something else as I can't reproduce it with any locale (pt_BR, pt_BR.UTF-8, en_US.UTF-8, C) and just the default config on a box with selinux disabled This bug appears to have been reported against 'rawhide' during the Fedora 10 development cycle. Changing version to '10'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Still need to see what the error is... Closing due to inactivity. Please reopen if you have further information to add to this bug report. This is the correct answer: You can't create an image with SELinux enabled if you don't have SELinux enabled on your host. Soooo please add an # for the selinux line......(to comment this out) |