Bug#799781: Subject: Re: Bug#799781: device lock race condition between udev and multipathd may cause systemd to abort system boot

Tero Marttila tero.marttila at paivola.fi
Sun Sep 27 22:15:15 UTC 2015


Hi,

The slow boot with systemd-udev timeouts killing deadlocked multipath 
workers no longer occurs with 0.5.0+git0.770e6d0d-3, since multipath is 
no longer invoked from udev:

> multipath-tools (0.5.0+git0.770e6d0d-3) unstable; urgency=medium
>
>   * [fd43c41] Drop udev rule to invoke multipath per path.
>     Thanks to Apollon Oikonomopoulos (Closes: #580972)

I can confirm that a similar workaround (disabling 
/lib/udev/rules.d/60-multipath.rules) fixes slow boot times on jessie, 
synchronizing on the /etc/init.d/multipath-tools service (with #776214 
systemd Before=remote-fs-pre.target modifications) instead.

The second failure case mentioned in the patch may still be relevant, 
though?

> When multipath manages to take a lock on the device,
> udev will fail, and consequently ignore this entire event.
> Which in turn might cause the system to malfunction as it
> might have been a crucial event like 'remove' or 'link down'.

AFAIK this would be relevant if multipathd is running, and a new SCSI 
device is hotplugged...? Speculation, not testing, on my part.

  -- Tero Marttila



More information about the pkg-lvm-maintainers mailing list