You are not logged in.

#1 2012-08-11 21:53:47

yucht
Member
Registered: 2012-08-11
Posts: 20

[Solved] Systemd: Activated service 'org.freedesktop.systemd1' failed

I just installed systemd on my laptop, following the instructions on the wiki. The system starts mostly fine, with the exception of how it starts dbus. It is clear that dbus is starting:

 ps -e | grep dbus
  754 tty1     00:00:00 dbus-launch
  764 ?        00:00:00 dbus-daemon
 3236 ?        00:00:00 dbus-daemon

However, I get the following error when trying to see services started by systemd:

 systemd --all --full
Failed to get D-Bus connection: No connection to service manager

I also tried running systemd-analyze, which suggests another possible issue:

 systemd-analyze
Traceback (most recent call last):
  File "/usr/bin/systemd-analyze", line 284, in <module>
    bus = dbus.SystemBus()
  File "/usr/lib/python2.7/site-packages/dbus/_dbus.py", line 194, in __new__
    private=private)
  File "/usr/lib/python2.7/site-packages/dbus/_dbus.py", line 100, in __new__
    bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
  File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 122, in __new__
    bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.FileNotFound: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory

Looking in the /run directory, there is no dbus subdirectory, let alone the socket for dbus. The titular message,

Aug 11 16:52:00 miles dbus[749]: [system] Activated service 'org.freedesktop.systemd1' failed: Launch helper exited with unknown return code 1

was in my kernel.log. How can I fix this?

Last edited by yucht (2012-08-12 02:07:49)

Offline

#2 2012-08-12 02:07:39

yucht
Member
Registered: 2012-08-11
Posts: 20

Re: [Solved] Systemd: Activated service 'org.freedesktop.systemd1' failed

Ok, so this is going to sound really dumb, but: I solved the problem, but I don't know exactly what I did to solve it. I believe that it was due to not having installed the aur/systemd-sysvinit, because I was running bootchart from the AUR but without pidof, which is provided by that package. Now, things work normally.

Offline

Board footer

Powered by FluxBB