-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a112bb9
commit b65c7bd
Showing
3 changed files
with
31 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
...e_config/systemd/systemd-udevd/fix-udev-rule-may-fail-if-daemon-reload-command-runs.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# ------------------------------------------------------------------- | ||
# Patch for /lib/systemd/system/systemd-udevd.service | ||
# Fix issue: The udev rule may fail to be executed because the | ||
# daemon-reload command is executed in parallel | ||
# Github issue: https://github.com/systemd/systemd/issues/24668 | ||
# Github PR: https://github.com/systemd/systemd/pull/24673 | ||
# ------------------------------------------------------------------- | ||
@@ -16,8 +16,6 @@ | ||
ConditionPathIsReadWrite=/sys | ||
|
||
[Service] | ||
-DeviceAllow=block-* rwm | ||
-DeviceAllow=char-* rwm | ||
Type=notify | ||
# Note that udev will reset the value internally for its workers | ||
OOMScoreAdjust=-1000 | ||
@@ -29,7 +27,6 @@ | ||
KillMode=mixed | ||
TasksMax=infinity | ||
PrivateMounts=yes | ||
-ProtectClock=yes | ||
ProtectHostname=yes | ||
MemoryDenyWriteExecute=yes | ||
RestrictAddressFamilies=AF_UNIX AF_NETLINK AF_INET AF_INET6 |
37 changes: 0 additions & 37 deletions
37
files/image_config/systemd/systemd-udevd/systemd-udevd.service
This file was deleted.
Oops, something went wrong.