Created attachment 1237096 [details]
AVC denials related to TLP
Description of problem:
Changing configuration to TLP (a way to manage how laptop behaves in different situations, like e.g. unplugging from A/C, when to turn on WiFi automatically, etc.) causes many AVC denials after reboot, thus blocking the correct functionality of TLP.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install the tlp packages (with its requirements):
$ sudo dnf install tlp tlp-rdw
2. Use the configuration for TLP provided in next comment. It replaces the /etc/default/tlp file.
3. TLP should be automatically enabled by default now, only reboot is needed.
4. See the AVC denials in SELinux troubleshooter.
TLP is denied some of its core functionality.
I had to manually allowed the processes for now.
TLP runs as it should.
Created attachment 1237097 [details]
My /etc/default/tlp configuration file.
This is default configuration of TLP, updated with some of my requirements. The configuration should be self-explanatory.
This also affects me on a ThinkPad T430s running Fedora 25
Created attachment 1277670 [details]
Additional policy modules needed by tlp
These are the additional policy te files I needed to install to get tlp working on my system.
selinux-policy-3.13.1-225.16.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-9a20533d62
selinux-policy-3.13.1-225.16.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-9a20533d62
selinux-policy-3.13.1-225.16.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.