Skip to contentSkip to conversation

Update the accounts daemon

PATCH New Guido Trentalancia 1 participant 2 messages Aug 10, 2016 – Aug 13, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Update the accounts daemon

Update the accountsd module so that the daemon can be started (grant the permission to chat over dbus with user_t).

---

 policy/modulestcontrib/accountsd.te |    7 +++++++
 1 file changed, 7 insertions(+)
policy/modules/contrib/accountsd.te +7 -0
@@ -61,6 +61,13 @@ usermanage_domtrans_useradd(accountsd_t)
 usermanage_domtrans_passwd(accountsd_t)
 
 optional_policy(`
+	gen_require(`
+		type user_t;
+	')
+	accountsd_dbus_chat(user_t)
+')
+
+optional_policy(`
 	consolekit_dbus_chat(accountsd_t)
 	consolekit_read_log(accountsd_t)
 ')
#1 lore raw

PATCH 1/1 Update the accounts daemon

This patch should be dropped (see recent proposed changes for xserver and unprivuser modules).