Skip to content

Commit

Permalink
Allow xdm dbus chat with power-profiles-daemon
Browse files Browse the repository at this point in the history
The commit addresses the following USER_AVC denial:
type=USER_AVC msg=audit(12/17/2024 13:45:50.041:5188) : pid=788 uid=dbus auid=unset ses=unset subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for  scontext=system_u:system_r:powerprofiles_t:s0 tcontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tclass=dbus permissive=1 exe=/usr/bin/dbus-broker sauid=dbus hostname=? addr=? terminal=?'
  • Loading branch information
zpytela committed Dec 20, 2024
1 parent 0d528ae commit 53b88a9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions policy/modules/contrib/powerprofiles.te
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ optional_policy(`
optional_policy(`
policykit_dbus_chat(powerprofiles_t)
')

optional_policy(`
xserver_dbus_chat_xdm(powerprofiles_t)
')
')

optional_policy(`
Expand Down

0 comments on commit 53b88a9

Please sign in to comment.