Bug 311181 - smolt is gathering SELinux data incorrectly
smolt is gathering SELinux data incorrectly
Status: CLOSED DUPLICATE of bug 255101
Product: Fedora
Classification: Fedora
Component: smolt (Show other bugs)
rawhide
All Linux
low Severity low
: ---
: ---
Assigned To: Mike McGrath
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-09-28 11:32 EDT by Daniel Walsh
Modified: 2007-11-30 17:12 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-09-28 11:36:18 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Daniel Walsh 2007-09-28 11:32:36 EDT
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 11:34:30 EDT
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 11:36:18 EDT

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

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