[Bug 1153661] Re: The disk drive for /dev/mapper/cryptswap1 is not ready yet or not present

Sebastian Wagner 1153661 at bugs.launchpad.net
Wed May 20 14:46:15 UTC 2015


@linux-rog: Oh, yes. I could click the button "Yes, it affects me" a few
times for all the other people who complain at me.

I have written a short shell script I run every time when I need to fix
this issue:


     #!/usr/bin/env bash
     
     mkswap /dev/sda2 -U [UUID from /etc/crypttab] -L swap
     swapon /dev/sda2
     ecryptfs-setup-swap
     swapon -s

It works, but has the disadvantage that everytime it is called, a new
entry is created in both /etc/fstab and /etc/crypttab. But they do not
work anyway.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to cryptsetup in Ubuntu.
https://bugs.launchpad.net/bugs/1153661

Title:
  The disk drive for /dev/mapper/cryptswap1 is not ready yet or not
  present

Status in cryptsetup:
  New
Status in cryptsetup package in Ubuntu:
  Triaged

Bug description:
  Related to this bug
  (https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/1091792)
  mountall 2.48 is still showing most times on booting that
  /dev/mapper/cryptswap1 is not ready.

  My system was configured on installing to use ecryptfs on my home
  partition. This is why my swap partition was automatically configured
  to be encrypted with dm-crypt.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cryptsetup/+bug/1153661/+subscriptions



More information about the foundations-bugs mailing list