Bug 1442571 - SELinux is preventing umount from 'open' accesses on the file /run/mount/utab.
Summary: SELinux is preventing umount from 'open' accesses on the file /run/mount/utab.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 25
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:33b93fa84203edc84f171217216...
: 1416983 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-04-15 18:08 UTC by Frank Büttner
Modified: 2017-04-25 02:23 UTC (History)
8 users (show)

Fixed In Version: selinux-policy-3.13.1-225.13.fc25
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-04-25 02:23:37 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Frank Büttner 2017-04-15 18:08:14 UTC
Description of problem:
Boot the system
SELinux is preventing umount from 'open' accesses on the file /run/mount/utab.

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

If sie denken, dass es umount standardmäßig erlaubt sein sollte, open Zugriff auf utab file zu erhalten.
Then sie sollten dies als Fehler melden.
Um diesen Zugriff zu erlauben, können Sie ein lokales Richtlinien-Modul erstellen.
Do
allow this access for now by executing:
# ausearch -c 'umount' --raw | audit2allow -M my-umount
# semodule -X 300 -i my-umount.pp

Additional Information:
Source Context                system_u:system_r:tlp_t:s0
Target Context                system_u:object_r:mount_var_run_t:s0
Target Objects                /run/mount/utab [ file ]
Source                        umount
Source Path                   umount
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-225.11.fc25.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.10.9-200.fc25.x86_64 #1 SMP Mon
                              Apr 10 14:48:16 UTC 2017 x86_64 x86_64
Alert Count                   1
First Seen                    2017-04-15 20:06:52 CEST
Last Seen                     2017-04-15 20:06:52 CEST
Local ID                      5dcac9c6-0184-4716-94ea-8dd4d2cbdad5

Raw Audit Messages
type=AVC msg=audit(1492279612.244:204): avc:  denied  { open } for  pid=13892 comm="umount" path="/run/mount/utab" dev="tmpfs" ino=2221 scontext=system_u:system_r:tlp_t:s0 tcontext=system_u:object_r:mount_var_run_t:s0 tclass=file permissive=1


Hash: umount,tlp_t,mount_var_run_t,file,open

Version-Release number of selected component:
selinux-policy-3.13.1-225.11.fc25.noarch

Additional info:
reporter:       libreport-2.8.0
hashmarkername: setroubleshoot
kernel:         4.10.9-200.fc25.x86_64
type:           libreport

Potential duplicate: bug 1416983

Comment 1 Lukas Vrabec 2017-04-17 13:42:47 UTC
*** Bug 1416983 has been marked as a duplicate of this bug. ***

Comment 2 Fedora Update System 2017-04-19 20:36:13 UTC
selinux-policy-3.13.1-225.13.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-0af0456dcc

Comment 3 Fedora Update System 2017-04-20 18:24:57 UTC
selinux-policy-3.13.1-225.13.fc25 has been pushed to the Fedora 25 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-2017-0af0456dcc

Comment 4 Fedora Update System 2017-04-25 02:23:37 UTC
selinux-policy-3.13.1-225.13.fc25 has been pushed to the Fedora 25 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.