Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1249336 - [abrt] setroubleshoot-server: util.py:291:<module>:ImportError: No module named sepolicy
Summary: [abrt] setroubleshoot-server: util.py:291:<module>:ImportError: No module nam...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: setroubleshoot
Version: 23
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Lautrbach
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:de17025c8101e3bf2c604418681...
Depends On:
Blocks: F23FinalBlocker
TreeView+ depends on / blocked
 
Reported: 2015-08-01 18:21 UTC by Peter
Modified: 2015-08-26 04:33 UTC (History)
6 users (show)

Fixed In Version: 3.3.1-0.1.fc23
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-26 04:33:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (8.60 KB, text/plain)
2015-08-01 18:21 UTC, Peter
no flags Details
File: environ (1.64 KB, text/plain)
2015-08-01 18:21 UTC, Peter
no flags Details

Description Peter 2015-08-01 18:21:19 UTC
Description of problem:
Crashed after start

Version-Release number of selected component:
setroubleshoot-server-3.2.24-3.fc24

Additional info:
reporter:       libreport-2.6.2
cmdline:        /usr/bin/python -Es /usr/bin/sealert -b
executable:     /usr/bin/sealert
kernel:         4.2.0-0.rc4.git3.1.fc24.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
#1 <module> in /usr/lib64/python2.7/site-packages/setroubleshoot/util.py:291
#2 <module> in /usr/bin/sealert:50

Comment 1 Peter 2015-08-01 18:21:23 UTC
Created attachment 1058361 [details]
File: backtrace

Comment 2 Peter 2015-08-01 18:21:24 UTC
Created attachment 1058362 [details]
File: environ

Comment 3 Christopher Meng 2015-08-12 00:58:55 UTC
Another user experienced a similar problem:

Probably you missed the sepolicy dep?

reporter:       libreport-2.6.2
cmdline:        /usr/bin/python -Es /usr/bin/sealert -b
executable:     /usr/bin/sealert
kernel:         4.2.0-0.rc5.git2.1.fc24.i686
package:        setroubleshoot-server-3.2.24-3.fc24
reason:         util.py:291:<module>:ImportError: No module named sepolicy
runlevel:       N 5
type:           Python
uid:            1000

Comment 4 Adam Williamson 2015-08-18 18:14:13 UTC
setroubleshoot-server needs a dep on policycoreutils-python . It was getting it 'for free' from some other bit of policycoreutils before, but now some bits are moving to policycoreutils-python3 , it won't always be there.

I hit this on a fresh install of Alpha, after installing policycoreutils-python it runs fine.

Nominating as a Final blocker: "All applications that can be launched using the standard graphical mechanism of a release-blocking desktop after a default installation of that desktop must start successfully and withstand a basic functionality test." - https://fedoraproject.org/wiki/Fedora_23_Final_Release_Criteria#Default_application_functionality

Comment 5 Petr Lautrbach 2015-08-19 07:56:47 UTC
I'm working to make an update of setroubleshoot ported to python 3. There are builds in rawhide and f23 already and when I have setroubleshoot-plugins built, I'll make an F23 bodhi update.

Comment 6 Adam Williamson 2015-08-20 17:33:25 UTC
Discussed at 2015-08-20 blocker review meeting: http://meetbot-raw.fedoraproject.org/fedora-blocker-review/2015-08-20/f23-blocker-review.2015-08-20-16.05.log.txt . Accepted as a Final blocker per criterion cited in description.

Comment 7 Fedora Update System 2015-08-22 16:24:53 UTC
setroubleshoot-3.3.1-0.1.fc23, setroubleshoot-plugins-3.3.1-0.1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update setroubleshoot-plugins setroubleshoot'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-13907

Comment 8 Fedora Update System 2015-08-26 04:32:56 UTC
setroubleshoot-3.3.1-0.1.fc23, setroubleshoot-plugins-3.3.1-0.1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.


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