mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
units/systemd-{udevd,journald}*.socket: enable DeferTrigger=
Refer to d766c75acd for the rationale
behind the udevd change.
systemd-journald.service conflicts with soft-reboot.target,
so make sure anything surviving soft-reboot and trying
to log to journal doesn't fail the socket units.
This commit is contained in:
@@ -20,6 +20,7 @@ Service=systemd-journald.service
|
||||
ReceiveBuffer=128M
|
||||
ListenNetlink=audit 1
|
||||
PassCredentials=yes
|
||||
DeferTrigger=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=sockets.target
|
||||
|
||||
@@ -26,6 +26,7 @@ Service=systemd-journald.service
|
||||
SocketMode=0666
|
||||
Symlinks=/dev/log
|
||||
Timestamping=us
|
||||
DeferTrigger=yes
|
||||
|
||||
# Increase both the send and receive buffer, so that things don't
|
||||
# block early. Note that journald internally uses the this socket both
|
||||
|
||||
@@ -27,3 +27,4 @@ ReceiveBuffer=8M
|
||||
Service=systemd-journald.service
|
||||
SocketMode=0666
|
||||
Timestamping=us
|
||||
DeferTrigger=yes
|
||||
|
||||
@@ -20,3 +20,4 @@ ListenSequentialPacket=/run/udev/control
|
||||
SocketMode=0600
|
||||
PassCredentials=yes
|
||||
RemoveOnStop=yes
|
||||
DeferTrigger=yes
|
||||
|
||||
@@ -24,3 +24,4 @@ Service=systemd-udevd.service
|
||||
ReceiveBuffer=128M
|
||||
ListenNetlink=kobject-uevent 1
|
||||
PassCredentials=yes
|
||||
DeferTrigger=yes
|
||||
|
||||
@@ -20,3 +20,4 @@ ListenStream=/run/udev/io.systemd.Udev
|
||||
FileDescriptorName=varlink
|
||||
SocketMode=0600
|
||||
RemoveOnStop=yes
|
||||
DeferTrigger=yes
|
||||
|
||||
Reference in New Issue
Block a user