Bug#568838: Init script finishes before /dev entries created causing boot to fail
Anthony DeRobertis
anthony at derobert.net
Mon Feb 8 05:01:03 UTC 2010
Package: lvm2
Version: 2.02.54-1
Severity: important
File: /etc/init.d/lvm2
Sometimes when I boot my laptop, cryptsetup fails & then the machine
fails to boot. Config is:
lvm on bare disk
crypto on lv
ext4 on crypto
It appears this is a race condition between udev creating the devices
(after the lvm2 init script starts lvm) and cryptsetup looking for them.
I tried a few boots after adding a udevadm settle in the start action,
and that appears to fix it. But its a race condition, so its hard to
test.
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.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-2 GNU C Library: Shared libraries
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
More information about the pkg-lvm-maintainers
mailing list