[Pkg-cryptsetup-devel] Bug#393895: cut: the delimiter must be a
single character
Loïc Minier
lool at dooz.org
Wed Oct 18 10:11:16 UTC 2006
Package: cryptsetup
Version: 2:1.0.4-2
Severity: important
Hi,
(This is perhaps a serious/RC bug.)
With todays update and version 2:1.0.4-2, "update-initramfs -u" barked:
cut: the delimiter must be a single character
Try `cut --help' for more information.
This comes from /usr/share/initramfs-tools/hooks/cryptroot:
+++ echo '8,1 '
+++ cut $'-d\315\204,' -f2
cut: the delimiter must be a single character
Try `cut --help' for more information.
++ min=
+++ dmsetup info -c --noheadings -j8 -m
This is the relevant code:
maj=$(echo "$deps" | cut -d',' -f1)
min=$(echo "$deps" | cut -d̈́',' -f2)
the second "cut -d" is not written with a real "d", instead it's an
UTF-8 sequence which looks very alike to a d. (If you're using vim,
type "ga" to see the hex sequence of the first and the second "d".
Bye,
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-1-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Versions of packages cryptsetup depends on:
ii dmsetup 2:1.02.08-1 The Linux Kernel Device Mapper use
ii libc6 2.3.6.ds1-6 GNU C Library: Shared libraries
ii libdevma 2:1.02.08-1 The Linux Kernel Device Mapper use
ii libgcryp 1.2.3-2 LGPL Crypto library - runtime libr
ii libgpg-e 1.4-1 library for common error values an
ii libpopt0 1.10-3 lib for parsing cmdline parameters
ii libuuid1 1.39+1.40-WIP-2006.10.02+dfsg-1 universally unique id library
cryptsetup recommends no packages.
-- no debconf information
--
Loïc Minier <lool at dooz.org>
More information about the Pkg-cryptsetup-devel
mailing list