[systemd-bugs] [Bug 72957] New: systemd hangs activating encrypted swap partition

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Dec 21 12:42:12 PST 2013


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

          Priority: medium
            Bug ID: 72957
          Assignee: systemd-bugs at lists.freedesktop.org
           Summary: systemd hangs activating encrypted swap partition
        QA Contact: systemd-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: vladykin at gmail.com
          Hardware: x86-64 (AMD64)
            Status: NEW
           Version: unspecified
         Component: general
           Product: systemd

I have encrypted swap partition configured in /etc/crypttab:
> swap   /dev/sda2  /dev/urandom   swap,cipher=aes,hash=sha256,size=256

Based on this systemd generates two units:
- systemd-cryptsetup at swap.service (calls cryptsetup and mkswap)
- dev-mapper-swap.device (requires systemd-cryptsetup at swap.service).

Starting systemd-cryptsetup at swap.service succeeds, but
> systemctl start dev-mapper-swap.device
hangs indefinitely.
In the journal I see that systemd-cryptsetup at swap.service successfully executes
all commands and is marked started. But dev-mapper-swap.device does not start
and there is no clue what blocks it.

Another non-swap encrypted partition starts without any hangs or delays.

This happens on Gentoo Linux with systemd-208-r2.

-- 
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/20131221/280b02cd/attachment.html>


More information about the systemd-bugs mailing list