[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#402410: debian-installer: LVM setup broken if hostname/VG contains a "-" character



Package: debian-installer
Severity: important

Hi,

I just tested an install with the latest d-i image, and tried an
encrypted LVM setup within a qemu instance.

As a hostname for this testbed, I chose "qemu-test", which, as far as I
know is a valid hostname.

When d-i was creating the filesystems, it complained it wasn't able to
find /dev/mapper/qemu-test-* devices, and checking in the console showed
that the devices were indeed named /dev/mapper/qemu--test-* instead.

After working around that by moving the files in /dev/mapper, the
partitionner displays erroneous information on the VG and LV names.
It displays a VG name of qemu, and LV names all begin with test-, while
the real VG is qemu-test, (which is the reason the devices were names
/dev/mapper/qemu--test-*, actually)

I don't know if there are other characters that are treated special in
device mapper device names, but I assume "-", being the VG/LV separator
is the only one.

Note that there wouln't have been a problem if d-i was using
/dev/$VG/$LV instead of /dev/mapper/$VG-$LV ;)

Cheers,

Mike

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)



Reply to: