summaryrefslogtreecommitdiff
path: root/src/login
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-03-03 19:49:40 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-07-18 21:44:59 -0400
commit6b9732b2bf0499c5e4ea8a9d4f6051d98033f680 (patch)
treeab1b52d98a5370d8a75f83fdcdd56fd936cfe946 /src/login
parent3fb97a58fa3f233cc980cdc4ae33230a361b3c34 (diff)
Be more verbose when bind or listen fails
Also be more verbose in devnode_acl_all().
Diffstat (limited to 'src/login')
-rw-r--r--src/login/logind-acl.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/login/logind-acl.c b/src/login/logind-acl.c
index 4bbeb64e8b..af7c352ce5 100644
--- a/src/login/logind-acl.c
+++ b/src/login/logind-acl.c
@@ -277,7 +277,10 @@ int devnode_acl_all(struct udev *udev,
SET_FOREACH(n, nodes, i) {
int k;
- log_debug("Fixing up ACLs at %s for seat %s", n, seat);
+ log_debug("Changing ACLs at %s for seat %s (uid "UID_FMT"→"UID_FMT"%s%s)",
+ n, seat, old_uid, new_uid,
+ del ? " del" : "", add ? " add" : "");
+
k = devnode_acl(n, flush, del, old_uid, add, new_uid);
if (k == -ENOENT)
log_debug("Device %s disappeared while setting ACLs", n);