[pkg-cryptsetup-devel] Bug#740592: cryptdisks.functions: open --plain arguments in wrong order

Dirk Griesbach spamthis at freenet.de
Mon Mar 3 09:40:56 UTC 2014


Package: cryptsetup
Version: 2:1.6.4-2
Severity: important
Tags: patch

Hello,

cryptdisks.functions now uses open --type plain instead of create but
the argument order has to be adjusted for <name> and <device> or one
gets error messages like:
,----
| device-mapper: ioctl: Unable to rename non-existent device, swap_unformatted to swap
`----
The attached patch reverses the argument order for open --type plain.

Regards,
Dirk

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (101, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.13-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cryptsetup depends on:
ii  cryptsetup-bin         2:1.6.4-2
ii  debconf [debconf-2.0]  1.5.52
ii  dmsetup                2:1.02.83-2
ii  libc6                  2.18-4

Versions of packages cryptsetup recommends:
ii  busybox                                 1:1.22.0-4
ii  console-setup                           1.104
ii  initramfs-tools [linux-initramfs-tool]  0.115
ii  kbd                                     1.15.5-1

Versions of packages cryptsetup suggests:
ii  dosfstools              3.0.16-2
pn  keyutils                <none>
ii  liblocale-gettext-perl  1.05-7+b2

-- debconf information:
  cryptsetup/prerm_active_mappings: true
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cryptdisks.functions.patch
Type: text/x-diff
Size: 757 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20140303/b49cb0af/attachment.patch>


More information about the pkg-cryptsetup-devel mailing list