[Pkg-systemd-maintainers] Bug#718190: systemd: sometimes computer doesn't boot. It seems a problem with lvm.
Antonio-M. Corbi Bellot
antonio.corbi at ua.es
Mon Aug 5 09:29:06 BST 2013
El Sun, 04 Aug 2013 19:12:42 +0200
Michael Stapelberg <stapelberg at debian.org> escribio:
> Hi Antonio-M.,
>
> "Antonio-M. Corbi Bellot" <antonio.corbi at ua.es> writes:
> > Attached are the outputs from dmesg and 'journalctl -xb' after a
> > failed boot. Hope this helps.
> Thanks! I spotted this in your log file:
>
> ago 02 12:01:42 hal9000 lvm2[316]: Setting up LVM Volume Groups...
> /run/lock/lvm/V_hal9000:aux: open failed: No existe el fichero o el
> directorio
> ago 02 12:01:42 hal9000 lvm2[316]: Can't get lock for hal9000
> ago 02 12:01:42 hal9000 lvm2[316]: failed.
>
> The directory /run/lock is created in /usr/lib/tmpfiles.d/legacy.conf,
> so my guess is that /run/lock/lvm/ is missing and lvm does not create
> it. It seems odd, but let’s just make sure whether this is the problem
> or not. Can you apply the following patch to /etc/init.d/lvm2 please?
>
> --- orig 2013-08-04 19:11:15.120273531 +0200
> +++ new 2013-08-04 19:11:35.600702987 +0200
> @@ -17,6 +17,8 @@
>
> [ -x /sbin/vgchange ] || exit 0
>
> +[ -d /run/lock/lvm ] || mkdir -p /run/lock/lvm
> +
> do_start()
> {
> modprobe dm-mod 2>/dev/null || :
>
> In case you still have broken boots, please attach the new logfiles.
Hi again Michael:
After applying the patch, rebooted the laptop and I had a failed boot
again, here are attached the logs ("dmesg", "journalctl -xb")
and /etc/init.d/lvm2.
Antonio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: boot.log.nonworking.3
Type: application/octet-stream
Size: 117089 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20130805/3dddf1f3/attachment-0006.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: journalctl.log.3
Type: application/octet-stream
Size: 199401 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20130805/3dddf1f3/attachment-0007.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lvm2
Type: application/octet-stream
Size: 932 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20130805/3dddf1f3/attachment-0008.obj>
More information about the Pkg-systemd-maintainers
mailing list