Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 531784 - XFCE power/volume manager under SELinux
Summary: XFCE power/volume manager under SELinux
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: SELinux (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jason Zaman
URL:
Whiteboard: sec-policy r1
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-06 08:56 UTC by Jason Zaman
Modified: 2014-12-21 14:14 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Zaman gentoo-dev 2014-12-06 08:56:31 UTC
Symptoms:
- Xfce-power-manager unable to see battery information (type, battery %, full capacity, etc)
- thunar file manager unable to see when removable drives are inserted
- Suspend / hibernate buttons missing.

AVCs:

type=USER_AVC msg=audit(1417367573.060:234): pid=3121 uid=101 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t msg='avc:  denied  { send_msg } for msgtype=signal interface=org.freedesktop.UPower member=DeviceChanged dest=org.freedesktop.DBus spid=3606 tpid=3858 scontext=system_u:system_r:devicekit_power_t tcontext=staff_u:staff_r:staff_t tclass=dbus  exe="/usr/bin/dbus-daemon"
sauid=101 hostname=? addr=? terminal=?'
    
type=USER_AVC msg=audit(1417363447.011:103525): pid=3339 uid=101 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t msg='avc:  denied  { send_msg } for msgtype=signal interface=org.freedesktop.DBus.Properties member=PropertiesChanged dest=org.freedesktop.DBus spid=4094 tpid=4090 scontext=system_u:system_r:devicekit_disk_t tcontext=staff_u:staff_r:staff_t tclass=dbus  exe="/usr/bin/dbus-daemon" sauid=101 hostname=? addr=? terminal=?'

fix:
devicekit_dbus_chat_power(staff_t)
devicekit_dbus_chat_disk(staff_t)



Reproducible: Always
Comment 1 Jason Zaman gentoo-dev 2014-12-06 09:11:47 UTC
commit 504ccfdd5b8e902defb65a4f644e8c81829afaec in master
Comment 2 Sven Vermeulen (RETIRED) gentoo-dev 2014-12-21 14:14:31 UTC
r1 is now stable