Bug 1317294 - SELinux is preventing fwupd from 'execute' accesses on the file gpg2.
Summary: SELinux is preventing fwupd from 'execute' accesses on the file gpg2.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 24
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:322e074d13792c0d732939dfe0e...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-13 20:13 UTC by Christian Stadelmann
Modified: 2016-03-16 11:29 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-03-16 11:29:01 UTC
Type: ---


Attachments (Terms of Use)

Description Christian Stadelmann 2016-03-13 20:13:37 UTC
Description of problem:
SELinux is preventing fwupd from 'execute' accesses on the file gpg2.

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

If you believe that fwupd should be allowed execute access on the gpg2 file 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 fwupd /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:fwupd_t:s0-s0:c0.c1023
Target Context                system_u:object_r:gpg_exec_t:s0
Target Objects                gpg2 [ file ]
Source                        fwupd
Source Path                   fwupd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-178.fc24.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.5.0-0.rc7.git0.2.fc24.x86_64 #1
                              SMP Tue Mar 8 02:20:08 UTC 2016 x86_64 x86_64
Alert Count                   1
First Seen                    2016-03-13 21:03:47 CET
Last Seen                     2016-03-13 21:03:47 CET
Local ID                      301eefa0-7382-4e40-9a0e-1f798b4a9bb5

Raw Audit Messages
type=AVC msg=audit(1457899427.589:399): avc:  denied  { execute } for  pid=2887 comm="fwupd" name="gpg2" dev="dm-0" ino=1454001 scontext=system_u:system_r:fwupd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:gpg_exec_t:s0 tclass=file permissive=1


Hash: fwupd,fwupd_t,gpg_exec_t,file,execute

Version-Release number of selected component:
selinux-policy-3.13.1-178.fc24.noarch

Additional info:
reporter:       libreport-2.6.4
hashmarkername: setroubleshoot
kernel:         4.5.0-0.rc7.git0.2.fc24.x86_64
type:           libreport


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