Bug#746035: systemd: Systemd prevents to reboot

Eric Valette eric.valette at free.fr
Sun Apr 27 12:12:24 BST 2014


On 27/04/2014 12:43, Michael Biebl wrote:

> Please remove the quite kernel command line to get a more verbose log.
> I'd also suggest to enable the debug-shell.service.
> You can then switch to vt9 on shutdown and examine where the system
> hangs with systemctl list-jobs.
>
> The upstream wiki [0] has a section about "Diagnosing Shutdown Problems"
> http://freedesktop.org/wiki/Software/systemd/Debugging/
>
> Please follow those instructions and let us know at which service/unit
> the system blocks.

Actually its samba. I have a message that says something along a LSB 
startup job is running and it points to smbd and nmbd. Actually even 
with sysv init system there is a problem on shutdown as samba stop 
script seems to be called twice. Its a bug in samba start stop logic 
that was introduced with samba4 probably as I have it actaully on all my 
debian machines (more than 5...). I bet it has something to do with
network up script but cannot find where.

> There should be a timeout on shutdown, so it shouldn't block forever.

Yes indeed. But it is unusually long!

-- eric




More information about the Pkg-systemd-maintainers mailing list