mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
units: enable IgnoreOnIsolate=yes on systemd-udevd-kernel.socket
Otherwise, initrd-cleanup.service requests isolation thus the socket is stopped before switching root, and several early events after switching root may be lost.
This commit is contained in:
@@ -14,6 +14,11 @@ DefaultDependencies=no
|
||||
Before=sockets.target
|
||||
ConditionPathIsReadWrite=/sys
|
||||
|
||||
# To prevent loss of kernel events from isolate requests. This is important on
|
||||
# switching root, as otherwise the unit is stopped by initrd-cleanup.service,
|
||||
# and several early events after switching root may be lost.
|
||||
IgnoreOnIsolate=yes
|
||||
|
||||
[Socket]
|
||||
Service=systemd-udevd.service
|
||||
ReceiveBuffer=128M
|
||||
|
||||
Reference in New Issue
Block a user