Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 953826

Summary: semanage ignores alternative SELinux store
Product: Red Hat Enterprise Linux 5 Reporter: Milos Malik <mmalik>
Component: policycoreutilsAssignee: Daniel Walsh <dwalsh>
Status: CLOSED WONTFIX QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.9CC: dwalsh
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-04-19 15:06:19 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 Milos Malik 2013-04-19 09:24:43 UTC
Description of problem:


Version-Release number of selected component (if applicable):
policycoreutils-gui-1.33.12-14.8.el5
policycoreutils-1.33.12-14.8.el5
policycoreutils-newrole-1.33.12-14.8.el5

How reproducible:
always

Steps to Reproduce:
# semanage --help | grep store
        -S, --store      Select and alternate SELinux store to manage
# semanage login -l -S unknown 

Login Name                SELinux User              MLS/MCS Range            

__default__               user_u                    s0                       
root                      root                      SystemLow-SystemHigh     
# semanage user -l -S unknown 

                Labeling   MLS/       MLS/                          
SELinux User    Prefix     MCS Level  MCS Range                      SELinux Roles

root            user       s0         SystemLow-SystemHigh           system_r sysadm_r user_r
system_u        user       s0         SystemLow-SystemHigh           system_r
user_u          user       s0         SystemLow-SystemHigh           system_r sysadm_r user_r
# semanage interface -l -S unknown 
SELinux Interface              Context

#
  
Actual results:
 * semanage ignores -S completely

Expected results:
 * semanage recognizes -S and reports an error when the store cannot be found

Comment 1 RHEL Program Management 2013-04-19 09:28:14 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release.  Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products.  This request is not yet committed for inclusion in
a release.

Comment 2 Daniel Walsh 2013-04-19 14:56:50 UTC
I don't see us fixing this issue.  Although if it is broken in RHEL7 we should take a look.

Comment 3 RHEL Program Management 2013-04-19 15:06:19 UTC
Development Management has reviewed and declined this request.
You may appeal this decision by reopening this request.