[Bug 1670454] [NEW] decrypt_keyct causes kernel-freeze

Hadmut Danisch hadmut at danisch.de
Mon Mar 6 18:20:05 UTC 2017


Public bug reported:

Hi,

I have four encrypted partitions and wanted to avoid entering the same
password four times at boot time, thus put

sdh3_crypt UUID=ef089e50-ba4e-42b3-858a-2d92294c8c19 haupt luks,keyscript=/lib/cryptsetup/scripts/decrypt_keyctl,discard
sdh2_crypt UUID=4229c341-ceda-4a47-a0d4-eb51c2edd8de haupt luks,keyscript=/lib/cryptsetup/scripts/decrypt_keyctl,discard,swap
sda_crypt  UUID=af83410f-2b2a-4271-b7ba-1ef5ccdb1bc5 haupt luks,keyscript=/lib/cryptsetup/scripts/decrypt_keyctl,initramfs
sdb_crypt  UUID=5824d863-1bb8-4e56-92f4-7866c7878097 haupt luks,keyscript=/lib/cryptsetup/scripts/decrypt_keyctl,initramfs


into /etc/crypttab.

Causes the kernel to freeze after entering the password for the first
time.

Works without the keyscript option (but asks four times).

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: cryptsetup 2:1.6.6-5ubuntu2
ProcVersionSignature: Ubuntu 4.4.0-62.83-generic 4.4.40
Uname: Linux 4.4.0-62-generic x86_64
NonfreeKernelModules: zfs zunicode zcommon znvpair zavl
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: amd64
CurrentDesktop: LXDE
Date: Mon Mar  6 19:14:20 2017
SourcePackage: cryptsetup
UpgradeStatus: No upgrade log present (probably fresh install)
crypttab:
 sdh3_crypt UUID=ef089e50-ba4e-42b3-858a-2d92294c8c19 haupt luks,discard
 sdh2_crypt UUID=4229c341-ceda-4a47-a0d4-eb51c2edd8de haupt luks,discard,swap
 sda_crypt  UUID=af83410f-2b2a-4271-b7ba-1ef5ccdb1bc5 haupt luks,initramfs
 sdb_crypt  UUID=5824d863-1bb8-4e56-92f4-7866c7878097 haupt luks,initramfs

** Affects: cryptsetup (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug xenial

-- 
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/1670454

Title:
  decrypt_keyct causes kernel-freeze

Status in cryptsetup package in Ubuntu:
  New

Bug description:
  Hi,

  I have four encrypted partitions and wanted to avoid entering the same
  password four times at boot time, thus put

  sdh3_crypt UUID=ef089e50-ba4e-42b3-858a-2d92294c8c19 haupt luks,keyscript=/lib/cryptsetup/scripts/decrypt_keyctl,discard
  sdh2_crypt UUID=4229c341-ceda-4a47-a0d4-eb51c2edd8de haupt luks,keyscript=/lib/cryptsetup/scripts/decrypt_keyctl,discard,swap
  sda_crypt  UUID=af83410f-2b2a-4271-b7ba-1ef5ccdb1bc5 haupt luks,keyscript=/lib/cryptsetup/scripts/decrypt_keyctl,initramfs
  sdb_crypt  UUID=5824d863-1bb8-4e56-92f4-7866c7878097 haupt luks,keyscript=/lib/cryptsetup/scripts/decrypt_keyctl,initramfs


  into /etc/crypttab.

  Causes the kernel to freeze after entering the password for the first
  time.

  Works without the keyscript option (but asks four times).

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: cryptsetup 2:1.6.6-5ubuntu2
  ProcVersionSignature: Ubuntu 4.4.0-62.83-generic 4.4.40
  Uname: Linux 4.4.0-62-generic x86_64
  NonfreeKernelModules: zfs zunicode zcommon znvpair zavl
  ApportVersion: 2.20.1-0ubuntu2.5
  Architecture: amd64
  CurrentDesktop: LXDE
  Date: Mon Mar  6 19:14:20 2017
  SourcePackage: cryptsetup
  UpgradeStatus: No upgrade log present (probably fresh install)
  crypttab:
   sdh3_crypt UUID=ef089e50-ba4e-42b3-858a-2d92294c8c19 haupt luks,discard
   sdh2_crypt UUID=4229c341-ceda-4a47-a0d4-eb51c2edd8de haupt luks,discard,swap
   sda_crypt  UUID=af83410f-2b2a-4271-b7ba-1ef5ccdb1bc5 haupt luks,initramfs
   sdb_crypt  UUID=5824d863-1bb8-4e56-92f4-7866c7878097 haupt luks,initramfs

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



More information about the foundations-bugs mailing list