Bug 447570 - livecd-creator crashes when selinux disabled ??
livecd-creator crashes when selinux disabled ??
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: livecd-tools (Show other bugs)
9
x86_64 Linux
low Severity high
: ---
: ---
Assigned To: Jeremy Katz
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-05-20 11:27 EDT by lejeczek
Modified: 2008-05-20 11:42 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-05-20 11:42:17 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description lejeczek 2008-05-20 11:27:34 EDT
Description of problem:
when selinux disabled livecd-creator crashes ??

Version-Release number of selected component (if applicable):
livecd-tools-017-1.fc9.x86_64

How reproducible:
livecd-creator -c /usr/share/livecd-tools/livecd-fedora-minimal.ks

Steps to Reproduce:
1.
2.
3.
  
Actual results:
Using label 'fedora-minimal-200805201616' and name
'livecd-fedora-minimal-200805201616'
Traceback (most recent call last):
  File "/usr/bin/livecd-creator", line 132, in <module>
    sys.exit(main())
  File "/usr/bin/livecd-creator", line 108, in main
    creator = imgcreate.LiveImageCreator(ks, name, fs_label)
  File "/usr/lib/python2.5/site-packages/imgcreate/live.py", line 46, in __init__
    LoopImageCreator.__init__(self, *args)
  File "/usr/lib/python2.5/site-packages/imgcreate/creator.py", line 716, in
__init__
    ImageCreator.__init__(self, ks, name)
  File "/usr/lib/python2.5/site-packages/imgcreate/creator.py", line 74, in __init__
    self.__sanity_check()
  File "/usr/lib/python2.5/site-packages/imgcreate/creator.py", line 398, in
__sanity_check
    raise CreatorError("SELinux requested but not enabled on host")
imgcreate.errors.CreatorError: SELinux requested but not enabled on host

Expected results:


Additional info:
Comment 1 Jeremy Katz 2008-05-20 11:42:17 EDT
The default config has SELinux enabled.  And as the error says, you can't have
SELinux enabled in the image being built if SELinux is disabled on your system.

Note You need to log in before you can comment on or make changes to this bug.