]> git.ipfire.org Git - thirdparty/systemd.git/commit
units: kill only udev services and keep udev sockets on switching root
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 13 May 2025 17:56:21 +0000 (02:56 +0900)
committerLuca Boccassi <luca.boccassi@gmail.com>
Sat, 17 May 2025 11:47:52 +0000 (12:47 +0100)
commitd766c75acdd825abe1bcfd45406ae2e609a008b6
tree9d9e918df43b2065fa0a56867865db1666d6c574
parent13cb6641815d8fcbad26502f6972c9ecb34b3248
units: kill only udev services and keep udev sockets on switching root

This also makes initrd-cleanup.service explicitly start
initrd-switch-root.service with replace-irreversibly mode, to avoid
systemd-udevd.service being triggered by kernel events and the start
job of initrd-switch-root.service being cancelled.

Follow-ups for 676fb42aaec60281651368f083abb3cbaf3c7dc2.
Addresses https://github.com/systemd/systemd/pull/37374#issuecomment-2875990471.
units/initrd-cleanup.service
units/initrd-udevadm-cleanup-db.service
units/systemd-udevd.service.in