UPower dbus interface unavailable with enforcing SELinux
Hi,
I am running SELinux on my debian wheezy laptop. I would like to be able to suspend in a defined amount of time, say 2h. This is useful e.g. when watching a movie and falling asleep.
Unfortunately, SELinux blocks access to UPower's dbus interface. I guess this is because programmatic access to power control is considered dangerous.
My current workaround is to disable SElinux whenever I want to use the described feature. This of course is not a desirable solution.
Is what I am trying to do possible or should I just start reading books instead of watching movies?
regard
tobias
Quoted 10 lines · Tobias Bengfort
Hi,
I am running SELinux on my debian wheezy laptop. I would like to be able to suspend in a defined amount of time, say 2h. This is useful e.g. when watching a movie and falling asleep.
Unfortunately, SELinux blocks access to UPower's dbus interface. I guess this is because programmatic access to power control is considered dangerous.
Quoted 5 lines
My current workaround is to disable SElinux whenever I want to use the described feature. This of course is not a desirable solution.
Is what I am trying to do possible or should I just start reading books instead of watching movies?
Please post the actual denials that you see in /var/log/messages or /var/log/audit/audit.log.