Bug 582453 - SELinux is preventing /bin/rpm "sys_nice" access .
Summary: SELinux is preventing /bin/rpm "sys_nice" access .
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:751d73c9583...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-04-15 02:26 UTC by Amir Hedayaty
Modified: 2010-05-03 16:09 UTC (History)
2 users (show)

Fixed In Version: selinux-policy-3.6.32-113.fc12
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-05-03 16:09:38 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Amir Hedayaty 2010-04-15 02:26:42 UTC
Summary:

SELinux is preventing /bin/rpm "sys_nice" access .

Detailed Description:

[SELinux is in permissive mode. This access was not denied.]

SELinux denied access requested by rpm. It is not expected that this access is
required by rpm and this access may signal an intrusion attempt. It is also
possible that the specific version or configuration of the application is
causing it to require additional access.

Allowing Access:

You can generate a local policy module to allow this access - see FAQ
(http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug
report.

Additional Information:

Source Context                unconfined_u:system_r:abrt_helper_t:s0-s0:c0.c1023
Target Context                unconfined_u:system_r:abrt_helper_t:s0-s0:c0.c1023
Target Objects                None [ capability ]
Source                        rpm
Source Path                   /bin/rpm
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           rpm-4.7.2-1.fc12
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.32-103.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.32.9-70.fc12.x86_64 #1 SMP
                              Wed Mar 3 04:40:41 UTC 2010 x86_64 x86_64
Alert Count                   1
First Seen                    Fri 26 Mar 2010 08:40:06 AM PDT
Last Seen                     Fri 26 Mar 2010 08:40:06 AM PDT
Local ID                      d34ca206-db29-4762-8e5c-bcc011d679b1
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1269618006.614:584): avc:  denied  { sys_nice } for  pid=9539 comm="rpm" capability=23  scontext=unconfined_u:system_r:abrt_helper_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:abrt_helper_t:s0-s0:c0.c1023 tclass=capability

node=(removed) type=SYSCALL msg=audit(1269618006.614:584): arch=c000003e syscall=144 success=yes exit=0 a0=2543 a1=0 a2=7fffdfccc610 a3=7fffdfccc380 items=0 ppid=9486 pid=9539 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts0 ses=53 comm="rpm" exe="/bin/rpm" subj=unconfined_u:system_r:abrt_helper_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  catchall,rpm,abrt_helper_t,abrt_helper_t,capability,sys_nice
audit2allow suggests:

#============= abrt_helper_t ==============
allow abrt_helper_t self:capability sys_nice;

Comment 1 Miroslav Grepl 2010-04-16 07:34:32 UTC
Fixed in selinux-policy-3.6.32-112.fc12

Comment 2 Fedora Update System 2010-04-23 12:45:03 UTC
selinux-policy-3.6.32-113.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-113.fc12

Comment 3 Fedora Update System 2010-04-27 02:23:40 UTC
selinux-policy-3.6.32-113.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update selinux-policy'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-113.fc12

Comment 4 Fedora Update System 2010-05-03 16:07:40 UTC
selinux-policy-3.6.32-113.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.


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