Bug#769069: systemd: Failed to start Login Service

Sjoerd Simons sjoerd at luon.net
Mon Nov 17 22:08:27 GMT 2014


On Sat, Nov 15, 2014 at 01:16:36AM +0100, Paul Menzel wrote:
> Am Freitag, den 14.11.2014, 10:18 +0000 schrieb Simon McVittie:
> > > signal 15, shutting down normally. Nov 11 07:46:16 asrock-e350m1
> > > avahi-daemon[929]: Got SIGTERM, quitting.
> > ...
> > > Nov 11 07:46:52 asrock-e350m1 NetworkManager[942]: <info> startup 
> > > complete Nov 11 07:46:52 asrock-e350m1 NetworkManager[942]: <info>
> > > exiting (success)
> > 
> > Any idea why these might have happened? They both use libdbus, so
> > getting disconnected from D-Bus with exit-on-disconnect enabled would
> > cause an _exit(1) rather than the raise(SIGTERM) you'd get from GDBus.
> > 
> > It looks vaguely as though *everything* on the system bus might have
> > been failing to connect to it?
> > 
> > Did you / do you have any unusual systemd or dbus configuration in use?
> 
> Not that I know of. I am using the packaged configuration.

Yes this indeed looks like nothing can connect to the systemd bus.
> 
> > If you can't reproduce this, then I don't think we'll be able to work
> > out what is going on from that log, sorry.
> 
> It happened again, but I forgot to add the systemd debug stuff. It
> stopped for a while after the start message of D-Bus and then continued
> until the point where the “Logind failed to start” messages were shown.

One thing stood out:
> Nov 14 23:39:05 asrock-e350m1 systemd[1]: var.mount: Directory /var to mount over is not empty, mounting anyway.

The dbus system socket is in unix:path=/var/run/dbus/system_bus_socket. So one
possible explanation might be that your just mounted a file system over the
/var/run dbus got its socket put in..

In principle this should not occur, but lets first work out if my theory is
correct. Could you:

0: Check where your final /var/run/ is pointing to (should a symlink to /run)
1: If it isn't a symlink, can you check whats in both the /var/run of your /var
   partition *and* the var of your / partition (to see if you masked out the
   dbus socket in any way)

-- 
When you know absolutely nothing about the topic, make your forecast by
asking a carefully selected probability sample of 300 others who don't
know the answer either.
		-- Edgar R. Fiedler




More information about the Pkg-systemd-maintainers mailing list