Bug 1405283 - SELinux is preventing tlp from 'write' accesses on the file lock_tlp.
Summary: SELinux is preventing tlp from 'write' accesses on the file lock_tlp.
Keywords:
Status: CLOSED DUPLICATE of bug 1405280
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:0fe6c4e97436995837796a159e9...
: 1432514 1433114 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-16 04:01 UTC by Nate Graham
Modified: 2017-03-16 20:20 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-12-16 18:15:27 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Nate Graham 2016-12-16 04:01:52 UTC
Description of problem:
Install tlp
SELinux is preventing tlp from 'write' accesses on the file lock_tlp.

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

If you believe that tlp should be allowed write access on the lock_tlp 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 'tlp' --raw | audit2allow -M my-tlp
# semodule -X 300 -i my-tlp.pp

Additional Information:
Source Context                system_u:system_r:tlp_t:s0
Target Context                system_u:object_r:var_run_t:s0
Target Objects                lock_tlp [ file ]
Source                        tlp
Source Path                   tlp
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-225.3.fc25.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.8.13-300.fc25.x86_64 #1 SMP Fri
                              Dec 9 14:52:00 UTC 2016 x86_64 x86_64
Alert Count                   1
First Seen                    2016-12-15 20:53:13 MST
Last Seen                     2016-12-15 20:53:13 MST
Local ID                      89ce855e-e050-4b75-a011-db42dc973714

Raw Audit Messages
type=AVC msg=audit(1481860393.844:200): avc:  denied  { write } for  pid=1523 comm="tlp" name="lock_tlp" dev="tmpfs" ino=13634 scontext=system_u:system_r:tlp_t:s0 tcontext=system_u:object_r:var_run_t:s0 tclass=file permissive=1


Hash: tlp,tlp_t,var_run_t,file,write

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

Additional info:
reporter:       libreport-2.8.0
hashmarkername: setroubleshoot
kernel:         4.8.13-300.fc25.x86_64
type:           libreport

Comment 1 Daniel Walsh 2016-12-16 18:15:27 UTC

*** This bug has been marked as a duplicate of bug 1405280 ***

Comment 2 arturpolak1 2017-03-15 14:38:35 UTC
*** Bug 1432514 has been marked as a duplicate of this bug. ***

Comment 3 arturpolak1 2017-03-16 20:20:03 UTC
*** Bug 1433114 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.