Bug 857629 - SELinux is preventing /usr/sbin/rndc from 'block_suspend' accesses on the capability2 .
SELinux is preventing /usr/sbin/rndc from 'block_suspend' accesses on the cap...
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Miroslav Grepl
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2012-09-15 05:44 EDT by Nicolas Mailhot
Modified: 2012-09-17 19:25 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-09-17 19:25:48 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
File: type (9 bytes, text/plain)
2012-09-15 05:44 EDT, Nicolas Mailhot
no flags Details
File: hashmarkername (14 bytes, text/plain)
2012-09-15 05:44 EDT, Nicolas Mailhot
no flags Details

  None (edit)
Description Nicolas Mailhot 2012-09-15 05:44:05 EDT
Additional info:
libreport version: 2.0.13
kernel:         3.6.0-0.rc2.git2.1.fc18.x86_64

:SELinux is preventing /usr/sbin/rndc from 'block_suspend' accesses on the capability2 .
:*****  Plugin catchall (100. confidence) suggests  ***************************
:If vous pensez que rndc devrait être autorisé à accéder block_suspend sur  capability2 par défaut.
:Then vous devriez rapporter ceci en tant qu'anomalie.
:Vous pouvez générer un module de stratégie local pour autoriser cet accès.
:autoriser cet accès pour le moment en exécutant :
:# grep rndc /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:Additional Information:
:Source Context                system_u:system_r:ndc_t:s0
:Target Context                system_u:system_r:ndc_t:s0
:Target Objects                 [ capability2 ]
:Source                        rndc
:Source Path                   /usr/sbin/rndc
:Port                          <Inconnu>
:Host                          (removed)
:Source RPM Packages           bind-9.9.1-10.P3.fc19.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.11.1-18.fc18.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.6.0-0.rc2.git2.1.fc18.x86_64 #1
:                              SMP Wed Aug 22 11:54:04 UTC 2012 x86_64 x86_64
:Alert Count                   16
:First Seen                    2012-09-15 10:40:33 CEST
:Last Seen                     2012-09-15 11:29:29 CEST
:Local ID                      6e7922de-b0a8-4a79-9c3f-b1691664513e
:Raw Audit Messages
:type=AVC msg=audit(1347701369.230:60): avc:  denied  { block_suspend } for  pid=899 comm="rndc" capability=36  scontext=system_u:system_r:ndc_t:s0 tcontext=system_u:system_r:ndc_t:s0 tclass=capability2
:type=SYSCALL msg=audit(1347701369.230:60): arch=x86_64 syscall=epoll_ctl success=yes exit=0 a0=5 a1=2 a2=3 a3=7fff657e2900 items=0 ppid=898 pid=899 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=rndc exe=/usr/sbin/rndc subj=system_u:system_r:ndc_t:s0 key=(null)
:Hash: rndc,ndc_t,ndc_t,capability2,block_suspend
:#============= ndc_t ==============
:allow ndc_t self:capability2 block_suspend;
:audit2allow -R
:#============= ndc_t ==============
:allow ndc_t self:capability2 block_suspend;
Comment 1 Nicolas Mailhot 2012-09-15 05:44:07 EDT
Created attachment 613227 [details]
File: type
Comment 2 Nicolas Mailhot 2012-09-15 05:44:09 EDT
Created attachment 613228 [details]
File: hashmarkername
Comment 3 Daniel Walsh 2012-09-17 19:25:48 EDT
Fixed in selinux-policy-3.11.1-22.fc18.noarch

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