Bug 485078 - Wrong security context for sysstat package
Summary: Wrong security context for sysstat package
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: selinux-policy-targeted
Version: 5.3
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Daniel Walsh
QA Contact: BaseOS QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-02-11 14:33 UTC by Vadym Chepkov
Modified: 2012-09-24 14:44 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-09-02 07:59:38 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2009:1242 0 normal SHIPPED_LIVE selinux-policy bug fix update 2009-09-01 08:32:34 UTC

Description Vadym Chepkov 2009-02-11 14:33:40 UTC
selinux policy has wrong context for sysstat package

sysstat-7.0.2-1.el5
selinux-policy-targeted-2.4.6-203.el5

I suspect at some moment files were mobved, but policy wasn't updated:

semanage fcontext -l |grep sysstat
/usr/lib(64)?/sa/sadc                              regular file       system_u:object_r:sysstat_exec_t:s0 
/usr/lib(64)?/sysstat/sa.*                         regular file       system_u:object_r:sysstat_exec_t:s0 

but files are actually here:

ls -Z /usr/lib64/sa/sa*
-rwxr-xr-x  root root system_u:object_r:lib_t:s0       /usr/lib64/sa/sa1
-rwxr-xr-x  root root system_u:object_r:lib_t:s0       /usr/lib64/sa/sa2
-rwxr-xr-x  root root system_u:object_r:sysstat_exec_t:s0 /usr/lib64/sa/sadc

Comment 1 Daniel Walsh 2009-02-11 16:31:06 UTC
Fixed in selinux-policy-2.4.6-210.el5

Comment 8 errata-xmlrpc 2009-09-02 07:59:38 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2009-1242.html


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