Bug#540761: loop-aes-utils: initramfs script should wait for /dev/tty before losetup (which calls gpg)

Lionel Elie Mamane lionel at mamane.lu
Mon Aug 10 09:19:40 UTC 2009


Package: loop-aes-utils
Version: 2.13.1-4
Severity: normal
Tags: patch

In the initramfs script, when /sbin/losetup is called, it typically
will call gpg, which usually needs interaction with the user (to ask
for a passphrase) and hence needs /dev/tty.

This patch makes it wait for /dev/tty before starting losetup.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.29-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_LU.UTF-8, LC_CTYPE=fr_LU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages loop-aes-utils depends on:
ii  gnupg                       1.4.9-4      GNU privacy guard - a free PGP rep
ii  libblkid1                   1.41.6-1     block device id library
ii  libc6                       2.9-16       GNU C Library: Shared libraries
ii  libselinux1                 2.0.80-1     SELinux shared libraries
ii  libuuid1                    1.41.6-1     Universally Unique ID library
ii  mount                       2.15.1~rc1-1 Tools for mounting and manipulatin

Versions of packages loop-aes-utils recommends:
ii  sharutils                     1:4.6.3-1  shar, unshar, uuencode, uudecode

loop-aes-utils suggests no packages.

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: loopaes-initramfs-wait-tty.patch
Type: text/x-diff
Size: 349 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-loop-aes-maint/attachments/20090810/6b108e93/attachment.patch>


More information about the Pkg-loop-aes-maint mailing list