Bug 1029251 - SELinux is preventing /usr/sbin/sendmail.sendmail from 'block_suspend' accesses on the capability2 .
Summary: SELinux is preventing /usr/sbin/sendmail.sendmail from 'block_suspend' access...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 19
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:62200f2c4e36a15c911bc91b3d9...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-12 00:53 UTC by caskhyron
Modified: 2013-12-03 10:33 UTC (History)
4 users (show)

Fixed In Version: selinux-policy-3.12.1-74.14.fc19
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-03 10:33:17 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description caskhyron 2013-11-12 00:53:26 UTC
Description of problem:
This error comes up after logging into Fedora 19.  I don't know what this error means or what it is trying to do.
SELinux is preventing /usr/sbin/sendmail.sendmail from 'block_suspend' accesses on the capability2 .

*****  Plugin catchall (100. confidence) suggests  ***************************

If you believe that sendmail.sendmail should be allowed block_suspend access on the  capability2 by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# grep sendmail /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:sendmail_t:s0
Target Context                system_u:system_r:sendmail_t:s0
Target Objects                 [ capability2 ]
Source                        sendmail
Source Path                   /usr/sbin/sendmail.sendmail
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           sendmail-8.14.7-1.fc19.i686
Target RPM Packages           
Policy RPM                    selinux-policy-3.12.1-74.11.fc19.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.11.7-200.fc19.i686 #1 SMP Mon
                              Nov 4 14:32:57 UTC 2013 i686 i686
Alert Count                   16
First Seen                    2013-11-04 19:59:07 EST
Last Seen                     2013-11-11 19:48:52 EST
Local ID                      864a7d3a-9b18-4c8c-b5cf-d159526a4063

Raw Audit Messages
type=AVC msg=audit(1384217332.799:594): avc:  denied  { block_suspend } for  pid=1937 comm="sendmail" capability=36  scontext=system_u:system_r:sendmail_t:s0 tcontext=system_u:system_r:sendmail_t:s0 tclass=capability2


type=SYSCALL msg=audit(1384217332.799:594): arch=i386 syscall=epoll_ctl success=yes exit=0 a0=3 a1=2 a2=7 a3=bfa3c8a4 items=0 ppid=1 pid=1937 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=51 sgid=51 fsgid=51 ses=4294967295 tty=(none) comm=sendmail exe=/usr/sbin/sendmail.sendmail subj=system_u:system_r:sendmail_t:s0 key=(null)

Hash: sendmail,sendmail_t,sendmail_t,capability2,block_suspend

Additional info:
reporter:       libreport-2.1.9
hashmarkername: setroubleshoot
kernel:         3.11.7-200.fc19.i686
type:           libreport

Comment 1 Daniel Walsh 2013-11-12 13:45:40 UTC
a02a27ef43380c20c141a7d2cdea4b7db170b674 adds a dontaudit for this to git.

Comment 2 Lukas Vrabec 2013-11-18 09:19:16 UTC
back ported.

Comment 3 Fedora Update System 2013-11-26 14:22:56 UTC
selinux-policy-3.12.1-74.14.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/selinux-policy-3.12.1-74.14.fc19

Comment 4 Fedora Update System 2013-11-27 04:30:12 UTC
Package selinux-policy-3.12.1-74.14.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.12.1-74.14.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-22197/selinux-policy-3.12.1-74.14.fc19
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2013-12-03 10:33:17 UTC
selinux-policy-3.12.1-74.14.fc19 has been pushed to the Fedora 19 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.