[systemd-bugs] [Bug 89376] New: systemd stops all services but does not poweroff most of the time (race-condition?)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Mar 1 08:03:12 PST 2015


https://bugs.freedesktop.org/show_bug.cgi?id=89376

            Bug ID: 89376
           Summary: systemd stops all services but does not poweroff most
                    of the time (race-condition?)
           Product: systemd
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
          Assignee: systemd-bugs at lists.freedesktop.org
          Reporter: fzacarias3k at gmail.com
        QA Contact: systemd-bugs at lists.freedesktop.org

Created attachment 113898
  --> https://bugs.freedesktop.org/attachment.cgi?id=113898&action=edit
Shutdown sequence saved to /shutdown-log.txt by debug.sh

I'm running Debian Jessie. After the migration from sysvinit to systemd
(version 215), my laptop does not poweroff anymore. All services stop and
screen goes black but it won't turn off the power, no matter how long I wait.
*Seldomly* it does work, which makes me guess a race-condition. Reverting to
sysvinit fixes the issue, so there is a problem with systemd.

I followed the steps described here [1] to try to debug the problem myself. As
described there, the command `sync && poweroff -f` works perfectly fine,
further pointing into systemd's as the source of the problem.

I enabled the specified boot params but I don't get much log messages in dmesg
anyway. See the attachement for the output of my laptop's poweroff sequence. As
you can see, looks like systemd is trying to unmount the encrypted volume
before other file-systems.

Note that my laptop's file-system layout is just the standard full-disk
encryption employed by most (if not all) linux distros: unencrypted /boot
partition + another big partition encrypted via dmcrypt, which contains a few
LVM volumes (/, /home and swap).

I opened a bug for this on Debian's bugzilla some weeks ago [2] but it has not
been updated in a while.
Please help!

[1] http://freedesktop.org/wiki/Software/systemd/Debugging/#index2h1
[2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=770090

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20150301/84024efc/attachment.html>


More information about the systemd-bugs mailing list