Bug 311181

Summary: smolt is gathering SELinux data incorrectly
Product: [Fedora] Fedora Reporter: Daniel Walsh <dwalsh>
Component: smoltAssignee: Mike McGrath <mmcgrath>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: jeff
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-09-28 15:36:18 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 Daniel Walsh 2007-09-28 15:32:36 UTC
Description of problem:

Looks like smolt is trying to collect SELinux info, but doing so
incorrectly.  Looking at the code, it is
running /usr/sbin/selinuxenabled and collecting the return code and
running getenforce - You can also use the python bindings to libselinux.

import selinux
print selinux.is_selinux_enabled()
print selinux.get_enforcemode()

Comment 1 Mike McGrath 2007-09-28 15:34:30 UTC
This is mostly because I don't know what the heck I'm doing :)  I'll get that 
bit of logic put in today.

Comment 2 Daniel Walsh 2007-09-28 15:36:18 UTC

*** This bug has been marked as a duplicate of 255101 ***