*** This bug is a duplicate of bug 295405 ***
    https://bugs.launchpad.net/bugs/295405

It's now 2014! I landed on this page because I saw exact error message
from my Ubuntu 21.04 box. Milan comment
(https://bugs.launchpad.net/ubuntu/+source/consolekit/+bug/475503/comments/20)
was helpful for me. But WAIT! I did not take his advice literally and I
am glad that I did that.

A while a go I was careless enough to run "sudo chown -R myuser:root
/usr". I fixed that mistake by copying ownership and permissions from
another machine, but apparently it did not fix everything. After reading
Milan's comment, I did this:

On the problematic server:
ls -lah /usr/lib/dbus-1.0/dbus-daemon-launch-helper 
-rwxr-xr-- 1 root root 287K Jun 13  2013 
/usr/lib/dbus-1.0/dbus-daemon-launch-helper

On the intact server: 
ls -lah /usr/lib/dbus-1.0/dbus-daemon-launch-helper
-rwsr-xr-- 1 root messagebus 287K Jun 13  2013 
/usr/lib/dbus-1.0/dbus-daemon-launch-helper

So a chmod command fixed it:
sudo chmod 4754 /usr/lib/dbus-1.0/dbus-daemon-launch-helper

So running "sudo find / -gid OLD_GID -exec chgrp NEW_GID '{}' \;" would be 
potentially very dangerous and time consuming too. One more WARNING: /usr is 
not really for "users". It's still a system directory that Linux does not like 
at all if you mess up with ownerships and permissions there. 
 
It's old thread but I want to write and save someone from troubles.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/475503

Title:
  D-BUS activation fails to start console-kit-daemon with error:
  "Success"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/consolekit/+bug/475503/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to