Bug 1189382
Summary: | SELinux is preventing /usr/bin/systemctl from using the 'sys_resource' capabilities. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Berend De Schouwer <berend.de.schouwer> |
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: | 21 | CC: | coffeekingms, dominick.grift, dwalsh, HolyMaster, iorlov89, jmpmcmanus, lvrabec, mgrepl, plautrba, rhbugzilla |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Unspecified | ||
Whiteboard: | abrt_hash:b5a2fa74b84ec70b67ac8b915d1041e69a45643e4369f8197cb5a64390cb8d0d | ||
Fixed In Version: | selinux-policy-3.13.1-105.10.fc21 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-12-02 08:35:30 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
Berend De Schouwer
2015-02-05 07:41:39 UTC
7acd472363437a767d7efa572b3a53fdfbfdd930 fixes this in git. commit 6a06d552496e731d64d6397150e7b8d24c35b64b Author: Dan Walsh <dwalsh> Date: Thu Feb 5 11:49:35 2015 +0100 apmd needs sys_resource when shutting down the machine Back ported to F21. selinux-policy-3.13.1-105.3.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/selinux-policy-3.13.1-105.3.fc21 Package selinux-policy-3.13.1-105.3.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing selinux-policy-3.13.1-105.3.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-1768/selinux-policy-3.13.1-105.3.fc21 then log in and leave karma (feedback). Description of problem: I use Fedora 21. In gnome-tweak-tool, energy section, i set my power button to hibernate the system. Then I pressed it, then i booted again the system and SElinux alerts program started saying there was this problem. Version-Release number of selected component: selinux-policy-3.13.1-105.1.fc21.noarch Additional info: reporter: libreport-2.3.0 hashmarkername: setroubleshoot kernel: 3.18.5-201.fc21.x86_64 type: libreport Description of problem: It was after a sleep my a nootebok asus x200ma Version-Release number of selected component: selinux-policy-3.13.1-105.1.fc21.noarch Additional info: reporter: libreport-2.3.0 hashmarkername: setroubleshoot kernel: 3.18.5-201.fc21.x86_64 type: libreport selinux-policy-3.13.1-105.3.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. Description of problem: This error occurs when I put my computer in sleep mode. It can be reproduced every time I put my computer in sleep mode by pressing the off button. I have a Dell Inspiron 15 7537, and am running Fedora 21. Version-Release number of selected component: selinux-policy-3.13.1-105.3.fc21.noarch Additional info: reporter: libreport-2.3.0 hashmarkername: setroubleshoot kernel: 3.18.9-200.fc21.x86_64 type: libreport I seem to be experiencing this bug. Upon putting my machine to sleep I get the following (paraphrased) in seapplet. Process "shutdown" tried to access the following "sys_resource" The machine still sleeps, so it's just a curiosity. This is the full message from audit.log whenever an avc denial is sent. type=AVC msg=audit(1427108717.258:492): avc: denied { sys_resource } for pid=4692 comm="shutdown" capability=24 scontext=system_u:system_r:apmd_t:s0. I'm stumped but again, my machine does sleep so just wondering what might cause this. Should be dontaudited. commit 0203872e40d10dfd7ff956cfa514ebc2db923f4e Author: Lukas Vrabec <lvrabec> Date: Wed Mar 25 01:18:30 2015 +0100 apmd needs sys_resource when shutting down the machine Description of problem: pressed power button to suspend laptop Version-Release number of selected component: selinux-policy-3.13.1-105.6.fc21.noarch Additional info: reporter: libreport-2.3.0 hashmarkername: setroubleshoot kernel: 3.19.1-201.fc21.x86_64 type: libreport selinux-policy-3.13.1-105.11.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/selinux-policy-3.13.1-105.11.fc21 Package selinux-policy-3.13.1-105.11.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing selinux-policy-3.13.1-105.11.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-5478/selinux-policy-3.13.1-105.11.fc21 then log in and leave karma (feedback). This message is a reminder that Fedora 21 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 21. 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 '21'. 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 21 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 21 changed to end-of-life (EOL) status on 2015-12-01. Fedora 21 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. |