Bug 447570 - livecd-creator crashes when selinux disabled ??
Summary: livecd-creator crashes when selinux disabled ??
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: livecd-tools
Version: 9
Hardware: x86_64
OS: Linux
low
high
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-05-20 15:27 UTC by lejeczek
Modified: 2008-05-20 15:42 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-05-20 15:42:17 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description lejeczek 2008-05-20 15:27:34 UTC
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 15:42:17 UTC
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.