Bug 965136 - chcat doesn't add category, just replaces it
Summary: chcat doesn't add category, just replaces it
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: policycoreutils
Version: 5.9
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Daniel Walsh
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-20 13:42 UTC by Michal Trunecka
Modified: 2014-09-30 23:34 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-05-23 15:00:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Michal Trunecka 2013-05-20 13:42:36 UTC
Description of problem:

# useradd testuser
# chcat -l -L testuser
testuser: s0
# chcat -l s0:c0 testuser
# chcat -l -L testuser
testuser: s0:c0
# chcat -l +s0:c1 testuser
# chcat -l -L testuser
testuser: s0:c1


Expected result:
# chcat -l -L testuser
testuser: s0:c0,c1


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

How reproducible:
always

Comment 1 RHEL Program Management 2013-05-20 16:42:01 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 Michal Trunecka 2013-05-21 06:55:48 UTC
I have played with it a bit and it seems like c0 is not a standard category on RHEL5, but means something like "no category", right? And that is why it doesn't show c0,c1 but only c1, is that correct? But it is different from RHEL6 and RHEL7 then.

Comment 4 Daniel Walsh 2013-05-23 14:44:12 UTC
c0 is not standard, s0 is the default s0:c0 would be category c0.

Comment 5 RHEL Program Management 2013-05-23 15:00:59 UTC
Development Management has reviewed and declined this request.
You may appeal this decision by reopening this request.


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