Bug 855077 - SELinux is preventing /usr/libexec/postfix/master from 'block_suspend' accesses on the capability2 .
Summary: SELinux is preventing /usr/libexec/postfix/master from 'block_suspend' access...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:b9fa2b6c2510654927a0d851222...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-06 15:48 UTC by Nicolas Mailhot
Modified: 2012-09-06 20:37 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-09-06 20:37:18 UTC
Type: ---
Embargoed:


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

Description Nicolas Mailhot 2012-09-06 15:48:33 UTC
Additional info:
libreport version: 2.0.13
kernel:         3.6.0-0.rc0.git6.1.fc18.x86_64

description:
:SELinux is preventing /usr/libexec/postfix/master from 'block_suspend' accesses on the capability2 .
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If vous pensez que master 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.
:Do
:autoriser cet accès pour le moment en exécutant :
:# grep master /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:postfix_master_t:s0
:Target Context                system_u:system_r:postfix_master_t:s0
:Target Objects                 [ capability2 ]
:Source                        master
:Source Path                   /usr/libexec/postfix/master
:Port                          <Inconnu>
:Host                          (removed)
:Source RPM Packages           postfix-2.9.4-2.fc18.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.11.1-7.fc18.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Permissive
:Host Name                     (removed)
:Platform                      Linux (removed) 3.6.0-0.rc0.git6.1.fc18.x86_64 #1
:                              SMP Tue Jul 31 20:31:31 UTC 2012 x86_64 x86_64
:Alert Count                   1868
:First Seen                    2012-08-19 09:50:08 CEST
:Last Seen                     2012-09-06 17:34:17 CEST
:Local ID                      8ae4f8f5-98c8-4905-8194-3d7453935481
:
:Raw Audit Messages
:type=AVC msg=audit(1346945657.19:341174): avc:  denied  { block_suspend } for  pid=3916 comm="master" capability=36  scontext=system_u:system_r:postfix_master_t:s0 tcontext=system_u:system_r:postfix_master_t:s0 tclass=capability2
:
:
:type=SYSCALL msg=audit(1346945657.19:341174): arch=x86_64 syscall=epoll_ctl success=yes exit=0 a0=d a1=2 a2=67 a3=7fff7af05770 items=0 ppid=1 pid=3916 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=master exe=/usr/libexec/postfix/master subj=system_u:system_r:postfix_master_t:s0 key=(null)
:
:Hash: master,postfix_master_t,postfix_master_t,capability2,block_suspend
:
:audit2allow
:
:#============= postfix_master_t ==============
:allow postfix_master_t self:capability2 block_suspend;
:
:audit2allow -R
:
:#============= postfix_master_t ==============
:allow postfix_master_t self:capability2 block_suspend;
:

Comment 1 Nicolas Mailhot 2012-09-06 15:48:35 UTC
Created attachment 610400 [details]
File: type

Comment 2 Nicolas Mailhot 2012-09-06 15:48:37 UTC
Created attachment 610401 [details]
File: hashmarkername

Comment 3 Daniel Walsh 2012-09-06 20:37:18 UTC
Fixed in selinux-policy-3.11.1-15.fc18.noarch


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