Need help debugging shutdown issues

Nikolaus Rath Nikolaus at rath.org
Thu Nov 6 05:05:18 GMT 2014


On 11/05/2014 02:51 AM, Michael Biebl wrote:
> 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?

I'm at 2:4.1.13+dfsg-2 now, problem is still the same unfortunately.


Best,
-Nikolaus

-- 
GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F
Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F

             »Time flies like an arrow, fruit flies like a Banana.«

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 998 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20141105/6b4842b4/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list