Bug 1353585 - SELinux is preventing systemd-gpt-aut from 'execute' accesses on the file fsck.ext4.
Summary: SELinux is preventing systemd-gpt-aut from 'execute' accesses on the file fsc...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 24
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:b51c767103892a6def19b3b4b5f...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-07-07 13:40 UTC by Mike Simms
Modified: 2016-08-12 19:29 UTC (History)
5 users (show)

Fixed In Version: selinux-policy-3.13.1-191.9.fc24 selinux-policy-3.13.1-191.10.fc24
Clone Of:
Environment:
Last Closed: 2016-08-12 19:29:16 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Mike Simms 2016-07-07 13:40:32 UTC
Description of problem:
running first system update with yumex
SELinux is preventing systemd-gpt-aut from 'execute' accesses on the file fsck.ext4.

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

If you believe that systemd-gpt-aut should be allowed execute access on the fsck.ext4 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:
# ausearch -c 'systemd-gpt-aut' --raw | audit2allow -M my-systemdgptaut
# semodule -X 300 -i my-systemdgptaut.pp

Additional Information:
Source Context                system_u:system_r:systemd_gpt_generator_t:s0
Target Context                system_u:object_r:fsadm_exec_t:s0
Target Objects                fsck.ext4 [ file ]
Source                        systemd-gpt-aut
Source Path                   systemd-gpt-aut
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-190.fc24.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.5.5-300.fc24.x86_64 #1 SMP Thu
                              May 19 13:05:32 UTC 2016 x86_64 x86_64
Alert Count                   1
First Seen                    2016-07-07 14:38:20 BST
Last Seen                     2016-07-07 14:38:20 BST
Local ID                      380da1b2-7281-45d9-9eed-3414d2c5f534

Raw Audit Messages
type=AVC msg=audit(1467898700.136:375): avc:  denied  { execute } for  pid=3563 comm="systemd-gpt-aut" name="fsck.ext4" dev="sda5" ino=2103289 scontext=system_u:system_r:systemd_gpt_generator_t:s0 tcontext=system_u:object_r:fsadm_exec_t:s0 tclass=file permissive=1


Hash: systemd-gpt-aut,systemd_gpt_generator_t,fsadm_exec_t,file,execute

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

Additional info:
reporter:       libreport-2.7.1
hashmarkername: setroubleshoot
kernel:         4.5.5-300.fc24.x86_64
reproducible:   Not sure how to reproduce the problem
type:           libreport

Comment 1 Fedora Update System 2016-08-10 12:24:34 UTC
selinux-policy-3.13.1-191.10.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-2c8a3e08c6

Comment 2 Fedora Update System 2016-08-12 19:28:28 UTC
selinux-policy-3.13.1-191.10.fc24 has been pushed to the Fedora 24 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.