Bug 1645313
Summary: | SELinux is preventing tlp from 'getattr' accesses on the file /run/tlp/last_pwr. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Ryan <blackdout> |
Component: | tlp | Assignee: | Jeremy Newton <alexjnewt> |
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 29 | CC: | albin, alex.go4more, alexjnewt, dgunchev, dwalsh, fatman, fnord, gutsmv, linrunner, loye.young, lvrabec, mailinglists35, michael.scheiffler, ms, noesgaard, oliver, perja, plautrba, ramprasath1617, timur.kristof, zdenek.zikan, zpytela |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Unspecified | ||
Whiteboard: | abrt_hash:7d05830bafa69a0eac17b71d8b9d474dd55cdca94a77589c290cc9a2b13b74b3;VARIANT_ID=workstation; | ||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-05-07 13:22:43 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Ryan
2018-11-01 22:35:19 UTC
*** Bug 1639237 has been marked as a duplicate of this bug. *** *** Bug 1636576 has been marked as a duplicate of this bug. *** *** Bug 1640261 has been marked as a duplicate of this bug. *** Hi tlp folks, I need to create proper file transition here, however I don't know which process (or multiple processes) creating /run/tlp/last_pwr. Could you please help here? Description of problem: I get this message when I log on and it seems to take two tries for my pc to connect to wifi Additional info: reporter: libreport-2.9.6 hashmarkername: setroubleshoot kernel: 4.18.18-300.fc29.x86_64 type: libreport Hi Lukas, I skimmed the source code and it seems like the two binaries referencing this file is /usr/share/tlp/tlp-functions and /usr/bin/tlp-stat, both shell scripts. Neither of these actually make this file, they only read them. Perhaps the upstream maintainer can answer this (I've CC-ed him to this bug) Hi @all, upstream (me) says: *** /usr/sbin/tlp *** Reads, Creates and Writes /run/tlp/last_pwr Contexts: 1. Manually in a user shell (root or sudo) (tlp start) 2. Power supply events: udevd --> /lib/udev/rules.d/85-tlp.rules (tlp auto) 3. System startup/shutdown: systemd --> /lib/systemd/system/tlp.service (tlp init start|stop) 4. System suspend/resume: systemd --> /lib/systemd/system/tlp-sleep.service (tlp suspend|resume) *** /usr/bin/tlp-stat *** Reads /run/tlp/last_pwr Context: 1. manually in a user shell (root or sudo) (tlp-stat) Hope it helps. Description of problem: This happens regularly when waking up laptop from suspend-to-ram. Version-Release number of selected component: selinux-policy-3.14.2-42.fc29.noarch Additional info: reporter: libreport-2.9.6 hashmarkername: setroubleshoot kernel: 4.19.4-300.fc29.x86_64 type: libreport Description of problem: this happens regularly when waking up laptop from sleep (suspend-to-ram) Version-Release number of selected component: selinux-policy-3.14.2-42.fc29.noarch Additional info: reporter: libreport-2.9.6 hashmarkername: setroubleshoot kernel: 4.19.4-300.fc29.x86_64 type: libreport Description of problem: Wake up from sleep Version-Release number of selected component: selinux-policy-3.14.2-44.fc29.noarch Additional info: reporter: libreport-2.9.7 hashmarkername: setroubleshoot kernel: 4.19.10-300.fc29.x86_64 type: libreport Description of problem: sudo systemctl start tlp Version-Release number of selected component: selinux-policy-3.14.2-44.fc29.noarch Additional info: reporter: libreport-2.9.7 hashmarkername: setroubleshoot kernel: 4.20.0-0.rc7.git2.2.fc30.x86_64 type: libreport Description of problem: I see this error from SELinux when my laptop (Lenovo ThinkPad X250) wakes up from hibernate. I hibernate the laptop by holding down the power button from 1-2 seconds. Version-Release number of selected component: selinux-policy-3.14.2-44.fc29.noarch Additional info: reporter: libreport-2.9.7 hashmarkername: setroubleshoot kernel: 4.19.14-300.fc29.x86_64 type: libreport Description of problem: Woke up Laptop from suspend Version-Release number of selected component: selinux-policy-3.14.2-51.fc29.noarch Additional info: reporter: libreport-2.10.0 hashmarkername: setroubleshoot kernel: 4.20.16-200.fc29.x86_64 type: libreport Description of problem: woke up laptop from suspend Version-Release number of selected component: selinux-policy-3.14.2-51.fc29.noarch Additional info: reporter: libreport-2.10.0 hashmarkername: setroubleshoot kernel: 4.20.16-200.fc29.x86_64 type: libreport Description of problem: Wakeup from sleep Version-Release number of selected component: selinux-policy-3.14.2-51.fc29.noarch Additional info: reporter: libreport-2.10.0 hashmarkername: setroubleshoot kernel: 4.20.16-200.fc29.x86_64 type: libreport Description of problem: Just updated the kernel and rebooted... I ran 'restorecon -Rv /' and rebooted again - same problem. Version-Release number of selected component: selinux-policy-3.14.2-51.fc29.noarch Additional info: reporter: libreport-2.10.0 hashmarkername: setroubleshoot kernel: 5.0.3-200.fc29.x86_64 type: libreport Description of problem: installed tlp, started getting this error. Version-Release number of selected component: selinux-policy-3.14.2-57.fc29.noarch Additional info: reporter: libreport-2.10.0 hashmarkername: setroubleshoot kernel: 5.0.9-200.fc29.x86_64 type: libreport Description of problem: Installed tlp, started getting this error. Version-Release number of selected component: selinux-policy-3.14.2-57.fc29.noarch Additional info: reporter: libreport-2.10.0 hashmarkername: setroubleshoot kernel: 5.0.9-200.fc29.x86_64 type: libreport *** This bug has been marked as a duplicate of bug 1705246 *** |