[Bug 1332518] [NEW] keyscript=passdev for keyfiles via usb does not timeout

greentigersundermydesk ineedthisnow at gmx.de
Fri Jun 20 12:36:05 UTC 2014


Public bug reported:

1.) ubuntu-release
root at ubuntu-4crypt:/var/log# lsb_release -rd
Description:	Ubuntu 14.04 LTS
Release:	14.04

2.)pkg-version
root at ubuntu-4crypt:/var/log# apt-cache policy cryptsetup
cryptsetup:
  Installiert:           2:1.6.1-1ubuntu1
  Installationskandidat: 2:1.6.1-1ubuntu1

3.)expected
root at ubuntu-4crypt:/var/log# zless /usr/share/doc/cryptsetup/README.initramfs.gz | grep timeout
The "key" part of /etc/crypttab will be interpreted as <device>:<path>[:<timeout>],
The timeout option has to be in seconds.

After timeout cryptsetup should ask for a passphrase to unlock the
encrypted filesystem.

4.)unexpected
With my keyfile the system starts as expected; however the timeout option form the documentation has no effect at all...
Others already tried to report this, eg: https://answers.launchpad.net/ubuntu/+source/cryptsetup/+question/248155

5.)no logfiles
I can not provide logfiles, as I do not know how to log information about initramfs/upstart. 
I have setup a vm to test this with lvm/sdaX_crypt.

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


** Tags: keyscript passdev

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

Title:
  keyscript=passdev for keyfiles via usb does not timeout

Status in “cryptsetup” package in Ubuntu:
  New

Bug description:
  1.) ubuntu-release
  root at ubuntu-4crypt:/var/log# lsb_release -rd
  Description:	Ubuntu 14.04 LTS
  Release:	14.04

  2.)pkg-version
  root at ubuntu-4crypt:/var/log# apt-cache policy cryptsetup
  cryptsetup:
    Installiert:           2:1.6.1-1ubuntu1
    Installationskandidat: 2:1.6.1-1ubuntu1

  3.)expected
  root at ubuntu-4crypt:/var/log# zless /usr/share/doc/cryptsetup/README.initramfs.gz | grep timeout
  The "key" part of /etc/crypttab will be interpreted as <device>:<path>[:<timeout>],
  The timeout option has to be in seconds.

  After timeout cryptsetup should ask for a passphrase to unlock the
  encrypted filesystem.

  4.)unexpected
  With my keyfile the system starts as expected; however the timeout option form the documentation has no effect at all...
  Others already tried to report this, eg: https://answers.launchpad.net/ubuntu/+source/cryptsetup/+question/248155

  5.)no logfiles
  I can not provide logfiles, as I do not know how to log information about initramfs/upstart. 
  I have setup a vm to test this with lvm/sdaX_crypt.

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



More information about the foundations-bugs mailing list