FS#61260 - [systemd] Race condition in systemd-udevd + lvm2 when udev_log=debug
Attached to Project:
Arch Linux
Opened by Tapio Tallgren (TapioT) - Thursday, 03 January 2019, 08:29 GMT
Last edited by Dave Reisner (falconindy) - Friday, 04 January 2019, 17:20 GMT
Opened by Tapio Tallgren (TapioT) - Thursday, 03 January 2019, 08:29 GMT
Last edited by Dave Reisner (falconindy) - Friday, 04 January 2019, 17:20 GMT
|
Details
Description: lvm2 fails with systemd v240 when
udev_log=debug in /etc/udev/udev.conf
Additional info: * package version: systemd-240.0-1-x86_64 * /etc/udev/udev.conf has udev_log=debug systemd and udev have a race condition which causes the systemd service lvm2-pvscan@X:Y.service to fail and systemd-udevd to crash. This prevents the system from starting up normally. This happens when udevd runs more slowly than normal, eg. when udevd is writing debug messages. This is described in https://github.com/systemd/systemd/issues/11258 and there is a fix already. However, the ArchLinux testing version is affected. As a symptom, pvscan also fails. Setting udev_log=error fixed my system. Steps to reproduce: - Set udev_log=debug in /etc/udev/udev.conf - Restart systemd-udevd - Test with pvscan |
This task depends upon
Closed by Dave Reisner (falconindy)
Friday, 04 January 2019, 17:20 GMT
Reason for closing: Fixed
Additional comments about closing: testing/systemd-240.0-2
Friday, 04 January 2019, 17:20 GMT
Reason for closing: Fixed
Additional comments about closing: testing/systemd-240.0-2
https://github.com/systemd/systemd/pull/11244 which fixes
https://github.com/systemd/systemd/issues/11258
https://github.com/systemd/systemd/issues/11277
https://github.com/systemd/systemd/issues/11299
https://github.com/systemd/systemd/issues/11314
https://github.com/systemd/systemd/issues/11319
https://github.com/systemd/systemd/pull/11270 which fixes
https://github.com/systemd/systemd/issues/11255
https://github.com/systemd/systemd/pull/11265 which fixes
https://github.com/systemd/systemd/issues/11264
These were all mentioned in
FS#61177not included https://github.com/systemd/systemd/pull/11266 as it appears cosmetic or commits not pulled by upstream.