[Pkg-systemd-maintainers] Bug#712439: systemd: encrypted swap not brought up, delays boot

Sam Morris sam at robots.org.uk
Sat Jul 20 15:40:42 BST 2013


In the new version boot is not delayed, but neither does it finish...

        $ systemd-analyze 
        Bootup is not yet finished. Please try again later.
        
        $ systemctl list-jobs
        JOB UNIT                    TYPE  STATE  
         40 dev-mapper-swap0.device start running
        
        1 jobs listed.
        
        $ systemctl show 40
        Id=40
        State=running
        JobType=start
        Unit=dev-mapper-swap0.device
        
        $ systemctl status dev-mapper-swap0.device
        dev-mapper-swap0.device
           Loaded: loaded
          Drop-In: /run/systemd/generator/dev-mapper-swap0.device.d
                   └─50-job-timeout-sec-0.conf
           Active: inactive (dead)

And yet:

        $ ls -l /dev/mapper/swap0 /dev/dm-0 /dev/disk/by-id/dm-name-swap0 
        lrwxrwxrwx 1 root root     10 Jul 20 15:17 /dev/disk/by-id/dm-name-swap0 -> ../../dm-0
        brw-rw---- 1 root disk 254, 0 Jul 20 15:17 /dev/dm-0
        lrwxrwxrwx 1 root root      7 Jul 20 15:17 /dev/mapper/swap0 -> ../dm-0

This is with the following line in /etc/fstab:

        /dev/disk/by-id/dm-name-swap0 none swap noauto

I added 'noauto' back when using version 44 to work around this bug, but
it seems it no longer prevents systemd from attempting to bring the swap
device online.

-- 
Sam Morris <https://robots.org.uk/>
3412 EA18 1277 354B 991B  C869 B219 7FDB 5EA0 1078
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20130720/3c267c5e/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list