| Summary: | SELinux is preventing ethtool from 'write' accesses on the file /run/tlp/lock_tlp. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Alex <alex.vizor> |
| Component: | selinux-policy | Assignee: | Lukas Vrabec <lvrabec> |
| Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 25 | CC: | alex.go4more, ben.r.xiao, bugzilla, charles-henri, c.steinseifer, dominick.grift, dwalsh, joseluismantilla, lam, lvrabec, marcvanwageningen, mgrepl, plautrba, taylorgminton, thaeronline |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:f25f8bb1b997805501f0ba7d8e7f216a34763b967ebdef7ef1599171ce31e9a5;VARIANT_ID=workstation; | ||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-12-12 10:15:04 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Description of problem: Just comes up after starting a new session Version-Release number of selected component: selinux-policy-3.13.1-214.fc25.noarch Additional info: reporter: libreport-2.8.0 hashmarkername: setroubleshoot kernel: 4.8.0-0.rc6.git0.1.fc25.x86_64 type: libreport Getting this issue every time I disconnect from my Lenovo dock as well. I am running Fedora 24, not 25. I have the same issue that written by Benjamin Xiao(In reply to Benjamin Xiao from comment #2) > Getting this issue every time I disconnect from my Lenovo dock as well. I am > running Fedora 24, not 25. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. Description of problem: Woke my laptop (Lenovo t420) from sleep. As the screen turned on I recieved the SEalert notification in the gdm lock screen notification area. Version-Release number of selected component: selinux-policy-3.13.1-224.fc25.noarch Additional info: reporter: libreport-2.8.0 hashmarkername: setroubleshoot kernel: 4.8.6-300.fc25.x86_64 type: libreport I have the same issue with my Asus K55V + Fedora 25. Additionally, I don't know why I can save more power with tlp on fedora 23 that fedora 25 using the same laptop? -- I have wondered why you take out the "laptop-mode-tools" from fedora 25 repo --. I remember my tlp on fedora 23 I have had 3h:45m and now I have 3:05 and after 6min 2:42min with full charge --I have installed Fedora 25 since 2 weeks ago using the same laptop but on Fedora 25 the time of charge has a discount very strange. I have configured tuned with powersave profile + disable some services but with it I have almost the same 3 hours --these additional packages seems don't improve anything but if you remove tlp package and use only tuned with powersave profile + powertop applying recommendations, you will have almost the same time saving. I think tlp should be checked, update and improved. However, the last update on fedora was 18.08.2016 and the project says "Latest commit 20c6460 20 hours ago" and all their file have changed -- I think we will have a better version in a few weeks. Same problem with Lenovo B560 and Fedora24. This issue comes from release to release since FC21... Any plans to have a solution? Description of problem: It's a regression in selinux-policy-3.13.1-225.20.fc25.noarch (never seen this in 3.13.1-225.16) Additional info: reporter: libreport-2.8.0 hashmarkername: setroubleshoot kernel: 4.12.8-200.fc25.x86_64 type: libreport This message is a reminder that Fedora 25 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 25. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '25'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 25 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. Fedora 25 changed to end-of-life (EOL) status on 2017-12-12. Fedora 25 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. BTW, as a work-around it's enough to dnf remove tlp It also removes some kernel-tools package along with tlp, but I found no issues from lack of those two. |
Description of problem: SELinux is preventing ethtool from 'write' accesses on the file /run/tlp/lock_tlp. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that ethtool 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 'ethtool' --raw | audit2allow -M my-ethtool # semodule -X 300 -i my-ethtool.pp Additional Information: Source Context system_u:system_r:ifconfig_t:s0-s0:c0.c1023 Target Context system_u:object_r:var_run_t:s0 Target Objects /run/tlp/lock_tlp [ file ] Source ethtool Source Path ethtool Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.13.1-212.fc25.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.8.0-0.rc5.git1.1.fc25.x86_64 #1 SMP Tue Sep 6 15:52:10 UTC 2016 x86_64 x86_64 Alert Count 1 First Seen 2016-09-09 18:40:02 BST Last Seen 2016-09-09 18:40:02 BST Local ID 809098f6-8af1-49e2-9818-0d6af2debf76 Raw Audit Messages type=AVC msg=audit(1473442802.296:335): avc: denied { write } for pid=13385 comm="ethtool" path="/run/tlp/lock_tlp" dev="tmpfs" ino=27827 scontext=system_u:system_r:ifconfig_t:s0-s0:c0.c1023 tcontext=system_u:object_r:var_run_t:s0 tclass=file permissive=0 Hash: ethtool,ifconfig_t,var_run_t,file,write Version-Release number of selected component: selinux-policy-3.13.1-212.fc25.noarch Additional info: reporter: libreport-2.7.2 hashmarkername: setroubleshoot kernel: 4.8.0-0.rc5.git1.1.fc25.x86_64 type: libreport