All of lore.kernel.org
 help / color / mirror / Atom feed
* UPower dbus interface unavailable with enforcing SELinux
@ 2014-09-28 12:33 Tobias Bengfort
  2014-09-30 16:39 ` Stephen Smalley
  0 siblings, 1 reply; 2+ messages in thread
From: Tobias Bengfort @ 2014-09-28 12:33 UTC (permalink / raw)
  To: 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: UPower dbus interface unavailable with enforcing SELinux
  2014-09-28 12:33 UPower dbus interface unavailable with enforcing SELinux Tobias Bengfort
@ 2014-09-30 16:39 ` Stephen Smalley
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Smalley @ 2014-09-30 16:39 UTC (permalink / raw)
  To: Tobias Bengfort, SELinux

On 09/28/2014 08:33 AM, Tobias Bengfort wrote:
> 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?

Please post the actual denials that you see in /var/log/messages or
/var/log/audit/audit.log.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-09-30 16:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-28 12:33 UPower dbus interface unavailable with enforcing SELinux Tobias Bengfort
2014-09-30 16:39 ` Stephen Smalley

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.