Bug 652660 - selinux-policy and sa1 command
Summary: selinux-policy and sa1 command
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: selinux-policy
Version: 5.6
Hardware: All
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Miroslav Grepl
QA Contact: Milos Malik
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-11-12 13:36 UTC by Branislav Náter
Modified: 2012-09-24 14:44 UTC (History)
3 users (show)

(edit)
Previously, running the sa1 command from the sysstat package caused various denial messages to be written in the audit log. This update addresses this issue, and the above command now works as expected.
Clone Of:
(edit)
Last Closed: 2011-01-13 21:51:19 UTC


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:0026 normal SHIPPED_LIVE selinux-policy bug fix and enhancement update 2011-01-12 16:11:15 UTC

Description Branislav Náter 2010-11-12 13:36:26 UTC
Description of problem:
When I tried to run sa1 commnad from sysstat package, several messages (see bellow) appear in avc log.


Version-Release number of selected component (if applicable):
selinux-policy-2.4.6-279.el5_5.2.noarch

How reproducible:
always

Steps to Reproduce:
1. try to run /usr/lib/sa/sa1 1 1
2. check avc log
  
Actual results:
----
time->Thu Nov 11 08:56:53 2010
type=SYSCALL msg=audit(1289483813.390:20): arch=40000003 syscall=102 success=no exit=-13 a0=3 a1=bff6f434 a2=534ff4 a3=3 items=0 ppid=4551 pid=4564 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="sa1" exe="/bin/bash" subj=system_u:system_r:sysstat_t:s0 key=(null)
type=AVC msg=audit(1289483813.390:20): avc:  denied  { search } for  pid=4564 comm="sa1" name="nscd" dev=dm-0 ino=3244102 scontext=system_u:system_r:sysstat_t:s0 tcontext=system_u:object_r:nscd_var_run_t:s0 tclass=dir
----
time->Thu Nov 11 08:56:53 2010
type=SYSCALL msg=audit(1289483813.390:21): arch=40000003 syscall=102 success=no exit=-13 a0=3 a1=bff6f54c a2=534ff4 a3=3 items=0 ppid=4551 pid=4564 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="sa1" exe="/bin/bash" subj=system_u:system_r:sysstat_t:s0 key=(null)
type=AVC msg=audit(1289483813.390:21): avc:  denied  { search } for  pid=4564 comm="sa1" name="nscd" dev=dm-0 ino=3244102 scontext=system_u:system_r:sysstat_t:s0 tcontext=system_u:object_r:nscd_var_run_t:s0 tclass=dir
----


Expected results:
no messages

Comment 2 Daniel Walsh 2010-11-12 14:45:28 UTC
This is allowed in RHEL6

Comment 3 Miroslav Grepl 2010-11-16 14:51:57 UTC
Let's fix it in RHEL5.6

Fixed in selinux-policy-2.4.6-293.el5.noarch

Comment 6 Jaromir Hradilek 2011-01-05 16:27:24 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Previously, running the sa1 command from the sysstat package caused various denial messages to be written in the audit log. This update addresses this issue, and the above command now works as expected.

Comment 8 errata-xmlrpc 2011-01-13 21:51:19 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-2011-0026.html


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