Skip to contentSkip to conversation

UPower dbus interface unavailable with enforcing SELinux

DISCUSSION Tobias Bengfort 2 participants 2 messages Sep 28, 2014 – Sep 30, 2014 SELinux security module

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
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.