Bug 1544077 - SELinux is preventing abrtd from 'read' accesses on the directory ccpp-2018-02-09-20:22:50.224537-2316.
Summary: SELinux is preventing abrtd from 'read' accesses on the directory ccpp-2018-0...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 27
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:3ffb8cd2ce907c88f36af3181a3...
: 1544076 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-02-10 01:38 UTC by Brian Little
Modified: 2018-03-06 12:53 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-03-06 12:53:41 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Brian Little 2018-02-10 01:38:10 UTC
Description of problem:
Happened after a dnf upgrade last week.
SELinux is preventing abrtd from 'read' accesses on the directory ccpp-2018-02-09-20:22:50.224537-2316.

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

If you believe that abrtd should be allowed read access on the ccpp-2018-02-09-20:22:50.224537-2316 directory 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:
# ausearch -c 'abrtd' --raw | audit2allow -M my-abrtd
# semodule -X 300 -i my-abrtd.pp

Additional Information:
Source Context                system_u:system_r:abrt_t:s0-s0:c0.c1023
Target Context                system_u:object_r:unlabeled_t:s0
Target Objects                ccpp-2018-02-09-20:22:50.224537-2316 [ dir ]
Source                        abrtd
Source Path                   abrtd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-283.24.fc27.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 4.14.16-300.fc27.x86_64 #1 SMP Wed
                              Jan 31 19:24:27 UTC 2018 x86_64 x86_64
Alert Count                   6
First Seen                    2018-02-09 20:21:35 EST
Last Seen                     2018-02-09 20:23:13 EST
Local ID                      4f673964-bdc9-45b0-a2e0-6a731ad046b0

Raw Audit Messages
type=AVC msg=audit(1518225793.349:667): avc:  denied  { read } for  pid=4891 comm="abrt-action-ana" name="ccpp-2018-02-09-20:22:50.224537-2316" dev="sdb3" ino=655376 scontext=system_u:system_r:abrt_t:s0-s0:c0.c1023 tcontext=system_u:object_r:unlabeled_t:s0 tclass=dir permissive=1


Hash: abrtd,abrt_t,unlabeled_t,dir,read

Version-Release number of selected component:
selinux-policy-3.13.1-283.24.fc27.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.9.3
hashmarkername: setroubleshoot
kernel:         4.14.16-300.fc27.x86_64
type:           libreport

Comment 1 Lukas Vrabec 2018-03-06 12:53:41 UTC
Your system looks mislabeled. Please run:
# restorecon -Rv / 

To fix labels on your system. 

Lukas.

Comment 2 Lukas Vrabec 2018-03-06 12:53:56 UTC
*** Bug 1544076 has been marked as a duplicate of this bug. ***


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