Comment 5 for bug 1385630

Revision history for this message
Martin Pitt (pitti) wrote : Re: [Bug 1385630] Re: systemd 215 hangs in fsck

Harry [2014-10-28 16:58 -0000]:
> Martin, do you have upstart, systemd-shim, cgmanager and libcdmanager0
> purged and are you using kernel line init=/lib/systemd/systemd ?
>
> I cannot boot at all if I remove the kernel booting line.

Well yes -- You have no package which provides /sbin/init then, so you
need to install either upstart or systemd-sysv.

> 2) with quiet (but splash dropped) in the kernel line, I can reproduce
> the hanging very often.
>
> 3) this is all there is visible in the screen when booting hangs:
> [1.490641] systemd[1]: job lvm2.service/start deleted to break ordering cycle starting with local-fs.target/start
> [1.492015] systemd-fsck[235]:/dev/sda1: clean, 86887/6111232 files, 1044303/24414062 blocks

Interesting, so mostl likely the fsck succeeded. So next thing: Can
you please add "systemd.debug-shell" to the kernel command line, and
when you get the hang press Alt+F9? There should be a root shell
there. Please run "systemctl" to see which unit is something other
than "loaded active", like "loading", or "failed", etc. For those it
would be very helpful if you could then do
"sudo systemctl -l status <servicename>", e. g.
"sudo systemctl -l status display-manager" and capture the output. You
can e. g. redirect the output to a file in /root or even /home/harry/,
if file systems are already mounted; if not, a photo camera shot will
do, too.

Please let me know if the above instructions are too hard for you (not
sure about how familiar you are with unix command line tools).

Thanks!