Bug 547152

Summary: selinux --disabled requires system-config-firewall-base in ks
Product: [Fedora] Fedora Reporter: Christoph Wickert <christoph.wickert>
Component: livecd-toolsAssignee: David Huff <dhuff>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: bruno, bugs, fabsh, katzj, kparal, wtogami
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: livecd-tools-034-7.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 772438 (view as bug list) Environment:
Last Closed: 2010-09-16 03:47:59 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 Christoph Wickert 2009-12-13 19:38:13 UTC
Description of problem:
It's impossible to create a livecd with "selinux --disabled" if system-config-firewall-base is not explicitly listed in the ks.

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

How reproducible:
always

Steps to Reproduce:
1. "selinux --disabled" in kickstart
2. make sure @admin-tools or system-config-firewall are in the package set
  
Actual results:
Error creating Live CD : Unable to disable SELinux because the installed package set did not include the file /usr/sbin/lokkit

Expected results:
This behavior is very confusing because /usr/sbin/lokkit actually is in the package set. livecd-tools should be smart enough to realize that lokkit/system-config-firewall-base are pulled in by system-config-firewall/@admin-tools

Comment 1 Warren Togami 2009-12-15 20:55:28 UTC
This is not a bug in livecd-tools.  The bug should be against system-config-firewall?

Comment 2 Christoph Wickert 2009-12-15 22:24:57 UTC
Huh? The deps of the s-c-f packages are ok and the message comes from /usr/lib/python2.6/site-packages/imgcreate/kickstart.py which is part of livecd-tools.

Comment 3 Fedora Admin XMLRPC Client 2010-05-07 15:41:35 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 4 Fabian A. Scherschel 2010-08-02 08:32:41 UTC
I can confirm this bug. Looks like a problem in livecd-tools to me as well.

Comment 5 Bruno Wolff III 2010-09-11 17:42:31 UTC
Maybe. The call ayum.installHasFile(file) is used to check this. It may be inappropriate use by livecd-creator or there might be a yum bug.

Comment 6 Fedora Update System 2010-09-12 04:19:32 UTC
livecd-tools-034-1.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/livecd-tools-034-1.fc14

Comment 7 Fedora Update System 2010-09-13 18:09:17 UTC
livecd-tools-034-2.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update livecd-tools'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/livecd-tools-034-2.fc14

Comment 8 Fedora Update System 2010-09-15 03:22:16 UTC
livecd-tools-034-7.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/livecd-tools-034-7.fc14

Comment 9 Fedora Update System 2010-09-15 06:51:34 UTC
livecd-tools-034-7.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update livecd-tools'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/livecd-tools-034-7.fc14

Comment 10 Fedora Update System 2010-09-16 03:46:20 UTC
livecd-tools-034-7.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Kamil Páral 2010-10-14 10:18:01 UTC
This is still broken in F13. Any chance of pushing this fix also to F13?

Comment 12 Bruno Wolff III 2010-10-14 13:21:44 UTC
At some point I think I would be willing to bring 034 to F13, since it is mostly a bug fix release and shouldn't break existing workflows. I'd like to wait until it has had a chance to get some serious testing before doing that though. If you have a special need for it now, you should be able to easily build an F13 version for your own use.

Comment 13 Adam Baxter 2012-01-08 05:29:24 UTC
This bug still occurs with livecd-tools in F16.