Need help debugging shutdown issues
Michael Biebl
biebl at debian.org
Wed Nov 5 10:51:56 GMT 2014
Am 05.11.2014 um 03:35 schrieb Nikolaus Rath:
> Hello,
>
> I'm using testing with systemd as pid 1, and my system does not shut
> down (or reboot) properly.
>
> That's a lot better than not booting properly, but I'd nevertheless like
> to fix it :-).
>
> I tried following the instructions at
> http://freedesktop.org/wiki/Software/systemd/Debugging/#index2h1 and
> found that
>
> sync && reboot -f
> sync && poweroff -f
>
> work just fine. When rebooting or powering off with systemctl, however,
> the system is still active after 10 minutes of waiting.
>
>
> I then proceeded to add
>
> systemd.log_level=debug systemd.log_target=kmsg log_buf_len=1M
> enforcing=0
>
> to the kernel command line and created the
> /usr/lib/systemd/system-shutdown/debug.sh file. I noticed that the
> system-shutdown directory did not exist - does that mean this method is
> not applicable in Debian?
>
> In any case, I did not get the /shutdown-log.txt file after trying to
> shutdown, so I activated the debug shell instead.
>
> On the debug shell, I ran
>
> systemctl reboot &
> sleep 120
> dmesg > dmesg.txt
> systemctl status > systemctl-status.txt
> systemctl list-units > systemctl-units.txt
> systemctl list-jobs > systemctl-jobs.txt
>
> This gave me a huge amount of information (included below), but I don't
> really know what to do with it. For example, is it a problem if
> samba.service has status "stop running"? Or is the problem with
This is most likely a samba bug and a duplicate of [1].
I assume, you're not running samba 2:4.1.13+dfsg-2, which is supposed to
fix that issue.
Could you upgrade to that version and test again?
[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=740942
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20141105/739da231/attachment-0002.sig>
More information about the Pkg-systemd-maintainers
mailing list