Bug 885990

Summary: ImportError: No module named selinux
Product: [Fedora] Fedora Reporter: Kamil Páral <kparal>
Component: fedupAssignee: Will Woods <wwoods>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: wwoods
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-03 07:26:54 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Kamil Páral 2012-12-11 09:24:27 UTC
Description of problem:
This is what I see if I run fedup-0.7.2-0.git20121206 on a clean F17 minimal install from netinst.

Traceback (most recent call last):
  File "/bin/fedup-cli", line 26, in <module>
    from fedup.download import FedupDownloader, YumBaseError
  File "/usr/lib/python2.7/site-packages/fedup/download.py", line 25, in <module>
    from selinux import is_selinux_enabled
ImportError: No module named selinux

I guess fedup should depend on libselinux-python, or make the import conditional?

Version-Release number of selected component (if applicable):
fedup-0.7.2-0.git20121206

Comment 1 Kamil Páral 2012-12-11 09:35:24 UTC
That fedup build is not yet stable, but once it is, this would be a blocker:

 For each one of the release-blocking package sets ('minimal', and the package sets for each one of the release-blocking desktops), it must be possible to successfully complete an upgrade from a fully updated installation of the previous stable Fedora release with that package set installed, using all officially recommended upgrade mechanisms. The upgraded system must meet all release criteria 
https://fedoraproject.org/wiki/Fedora_18_Final_Release_Criteria

Please either fix or don't push this build stable.

Comment 2 Will Woods 2012-12-11 16:24:54 UTC
Ah, minimal installs. Thanks for testing this - there should be a fix in git shortly.

Comment 3 Fedora Update System 2012-12-21 04:49:39 UTC
fedup-0.7.2-1.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/fedup-0.7.2-1.fc17

Comment 4 Fedora Update System 2012-12-21 12:10:18 UTC
Package fedup-0.7.2-1.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing fedup-0.7.2-1.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-20801/fedup-0.7.2-1.fc17
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2013-01-03 07:26:56 UTC
fedup-0.7.2-1.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.