Bug#566965: No way to boot using UUIDs

martin f krafft madduck at debian.org
Tue Jan 26 07:37:49 UTC 2010

Package: lvm2
Version: 2.02.54-1
Severity: normal

The lvm2 initramfs scripts insist on the root= argument to the
kernel following certain patterns. Specifically, if the device is
not (fe[0-9]*|/dev/root|/dev/mapper/*) then the script will exit
without running vgchange. This makes it impossible to specify the
root device using either the UUID=* or /dev/disk/by-uuid/* notation.

Unless there are good reasons why not, I would suggest to just run
vgchange -ay unconditionally. lvm already (unfortunately) comes with
quite a bit of wizardry in terms of autodetection and trying to do
the right thing and adding shell script logic around it just seems
like creating more trouble.

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

Kernel: Linux 2.6.32-trunk-686 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lvm2 depends on:
ii  dmsetup                      2:1.02.39-1 The Linux Kernel Device Mapper use
ii  libc6                        2.10.2-5    Embedded GNU C Library: Shared lib
ii  libdevmapper1.02.1           2:1.02.39-1 The Linux Kernel Device Mapper use
ii  libreadline5                 5.2-7       GNU readline and history libraries
ii  lsb-base                     3.2-23      Linux Standard Base 3.2 init scrip

lvm2 recommends no packages.

lvm2 suggests no packages.

-- no debconf information

 .''`.   martin f. krafft <madduck at d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/)
URL: <http://lists.alioth.debian.org/pipermail/pkg-lvm-maintainers/attachments/20100126/e0d518e7/attachment.pgp>

More information about the pkg-lvm-maintainers mailing list