You are not logged in.

#1 2013-05-28 21:32:06

SecretSauce
Member
Registered: 2013-05-28
Posts: 5

systemd migration issue

I'm having some serious issues migrating a machine to systemd. 

The first error I had was with dbus refusing to start, apparently when I did my upgrade this morning it did not add the dbus user/group. I created the user and then dbus.service starts but it crashes / gets restarted about every 30 seconds, here is the repeated entry in the journal:

May 28 16:29:07 brain dbus-daemon[1827]: dbus[1827]: [system] Failed to activate service 'org.freedesktop.Avahi': timed out
May 28 16:29:07 brain dbus-daemon[1827]: dbus[1827]: [system] Failed to activate service 'org.freedesktop.systemd1': timed out
May 28 16:29:07 brain dbus-daemon[1827]: process 1827: arguments to dbus_message_set_reply_serial() were incorrect, assertion "reply_serial != 0" failed in file dbus-message.c line 1070.
May 28 16:29:07 brain dbus-daemon[1827]: This is normally a bug in some application using the D-Bus library.
May 28 16:29:07 brain dbus-daemon[1827]: D-Bus not built with -rdynamic so unable to print a backtrace
May 28 16:29:07 brain systemd[1]: dbus.service: main process exited, code=killed, status=6/ABRT
May 28 16:29:07 brain systemd[1]: Unit dbus.service entered failed state.
May 28 16:29:07 brain systemd[1]: Starting D-Bus System Message Bus...
May 28 16:29:07 brain systemd[1]: Started D-Bus System Message Bus.
May 28 16:29:08 brain systemd[1]: RequestName() failed: Access denied
May 28 16:29:08 brain dbus-daemon[1829]: dbus[1829]: [system] Activating systemd to hand-off: service name='org.freedesktop.Avahi' unit='dbus-org.freedesktop.Avahi.service'

I followed the wiki but when I try setting the hostname I get this:

hostnamectl set-hostname brain
Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: The connection is closed (g-io-error-quark, 18)
Failed to issue method call: Connection was disconnected before a reply was received

Additionally, systemd-analyze does not work (Failed to issue method call: Connection was disconnected before a reply was received) and systemd-logind.service shows as failed

May 28 16:32:56 brain systemd-logind[1873]: Failed to fully start up daemon: Input/output error
May 28 16:32:56 brain systemd[1]: systemd-logind.service: main process exited, code=exited, status=1/FAILURE
May 28 16:32:56 brain systemd[1]: Failed to start Login Service.
-- Subject: Unit systemd-logind.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Documentation: http://www.freedesktop.org/wiki/Software/systemd/catalog/be02cf6855d2428ba40df7e9d022f03d
-- 
-- Unit systemd-logind.service has failed.
-- 
-- The result is failed.
May 28 16:32:56 brain systemd[1]: Unit systemd-logind.service entered failed state.
May 28 16:32:56 brain systemd[1]: systemd-logind.service holdoff time over, scheduling restart.
May 28 16:32:56 brain systemd[1]: Stopping Login Service...
-- Subject: Unit systemd-logind.service has begun shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit systemd-logind.service has begun shutting down.
May 28 16:32:56 brain systemd[1]: Starting Login Service...
-- Subject: Unit systemd-logind.service has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit systemd-logind.service has begun starting up.
May 28 16:32:56 brain systemd[1]: systemd-logind.service start request repeated too quickly, refusing to start.
May 28 16:32:56 brain systemd[1]: Failed to start Login Service.
-- Subject: Unit systemd-logind.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Documentation: http://www.freedesktop.org/wiki/Software/systemd/catalog/be02cf6855d2428ba40df7e9d022f03d
-- 
-- Unit systemd-logind.service has failed.

I have tried uninstalling and re-installing dbus-core, and 'cat /proc/1/comm' shows systemd. I've searched google for a few hours and haven't found anything!

Offline

#2 2013-05-28 22:28:32

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: systemd migration issue

If you are still using dbus-core, then your system is out of date.  Did you first update your entire system before trying to switch to systemd?  I kind of suspect you are just trying to install only the packages you need and do the update... if this is what you are doing then it is bound to cause problems.

Offline

#3 2013-05-28 23:44:14

SecretSauce
Member
Registered: 2013-05-28
Posts: 5

Re: systemd migration issue

WonderWoofy,

Thanks for the reply.  I updated the entire system this morning.  I must have gotten the dbus-core terminology from researching the issue, my system shows the versions as follows

dbus (1.6.10-1)
systemd (204-2)

Offline

Board footer

Powered by FluxBB