On Sat, 19 Sep 2015 01:16:24 +0200
Suvayu Ali <fatkasuvayu+linux(a)gmail.com> wrote:
Hi,
Ever since a recent update, when I close the lid of my thinkpad, it
does not go to sleep. When I unlock the screen, I see a desktop
notification saying something like this:
Power Manager
GDBus.Error:org.freedesktop.DBus.error.accessdenied:
SELinux policy denies access.
Strangely though, I can not find any SELinux alerts in the
troubleshooter. Looking at the updated packages, I find this:
selinux-policy-3.13.1-128.13.fc22.noarch. What is going on? How can
I debug this to file a bug report?
This has bitten a number of folks sadly. ;(
There's a systemd update that needs a newer selinux-policy.
Both of them went out around the same time, so normally that would be
fine. However, the systemd update needs the selinux-policy update to be
installed when it updates, or it gets confused and you see symptoms
like the above. ;(
It seems to be the ordering is somewhat random, and some people have
rpm install the selinux-policy update first and some have it apply
after.
You can work around it by doing a:
systemctl daemon-reexec
or just reboot as it will have the correct policy on reboot.
kevin