Bug 1111546 - SELinux is preventing /usr/sbin/cachefilesd from using the signal access on a process.
Summary: SELinux is preventing /usr/sbin/cachefilesd from using the signal access on a...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-20 10:10 UTC by Robin Hack
Modified: 2018-05-21 15:51 UTC (History)
4 users (show)

Fixed In Version: selinux-policy-3.12.1-180.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-21 09:46:30 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Robin Hack 2014-06-20 10:10:09 UTC
Hi. This is just happened. I don't know why :).

SELinux is preventing /usr/sbin/cachefilesd from using the signal access on a process.

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

If you believe that cachefilesd should be allowed signal access on processes labeled cachefilesd_t 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 cachefilesd /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:cachefilesd_t:s0
Target Context                system_u:system_r:cachefilesd_t:s0
Target Objects                 [ process ]
Source                        cachefilesd
Source Path                   /usr/sbin/cachefilesd
Port                          <Unknown>
Host                          bigoook.brq.microsoft.com
Source RPM Packages           cachefilesd-0.10.5-4.fc19.x86_64
Target RPM Packages           
Policy RPM                    selinux-policy-3.12.1-166.fc20.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     bigoook.brq.microsoft.com
Platform                      Linux bigoook.brq.microsoft.com
                              3.14.8-200.fc20.x86_64 #1 SMP Mon Jun 16 21:57:53
                              UTC 2014 x86_64 x86_64
Alert Count                   1
First Seen                    2014-06-19 11:48:21 CEST
Last Seen                     2014-06-19 11:48:21 CEST
Local ID                      bbb2c105-52a4-410c-b347-3fb68cb42f14

Raw Audit Messages
type=AVC msg=audit(1403171301.94:46): avc:  denied  { signal } for  pid=791 comm="cachefilesd" scontext=system_u:system_r:cachefilesd_t:s0 tcontext=system_u:system_r:cachefilesd_t:s0 tclass=process


type=SYSCALL msg=audit(1403171301.94:46): arch=x86_64 syscall=write success=yes exit=EADDRINUSE a0=3 a1=7fff63b22420 a2=62 a3=5d items=0 ppid=1 pid=791 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=cachefilesd exe=/usr/sbin/cachefilesd subj=system_u:system_r:cachefilesd_t:s0 key=(null)

Hash: cachefilesd,cachefilesd_t,cachefilesd_t,process,signal

Comment 1 Daniel Walsh 2014-08-06 22:23:28 UTC
a24bc58898cdaa1e185a19421995d2d7c9aff646

Fixes this in git.

Comment 2 Lukas Vrabec 2014-08-12 09:18:21 UTC
commit 7658e9aa69a30143f987b5576c48f8ab7aa22dca
Author: Dan Walsh <dwalsh>
Date:   Wed Aug 6 18:22:45 2014 -0400

    Allow cachefilesd_t to send itself signals

https://github.com/selinux-policy/selinux-policy/commit/7658e9aa69a30143f987b5576c48f8ab7aa22dca

Comment 3 Fedora Update System 2014-08-13 12:09:09 UTC
selinux-policy-3.12.1-180.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/selinux-policy-3.12.1-180.fc20

Comment 4 Fedora Update System 2014-08-16 00:30:31 UTC
Package selinux-policy-3.12.1-180.fc20:
* should fix your issue,
* was pushed to the Fedora 20 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-180.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-9454/selinux-policy-3.12.1-180.fc20
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2014-08-21 09:46:30 UTC
selinux-policy-3.12.1-180.fc20 has been pushed to the Fedora 20 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.