mirror of
https://github.com/systemd/systemd.git
synced 2025-03-28 02:50:16 +03:00
udev: replace CAP_MKNOD by writable /sys condition
This commit is contained in:
parent
4b357e1587
commit
4bb3a126b7
@ -16,7 +16,7 @@ DefaultDependencies=no
|
||||
Wants=systemd-udevd.service
|
||||
After=systemd-udev-trigger.service
|
||||
Before=sysinit.target
|
||||
ConditionCapability=CAP_MKNOD
|
||||
ConditionPathIsReadWrite=/sys
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
|
@ -12,7 +12,7 @@ DefaultDependencies=no
|
||||
Wants=systemd-udevd.service
|
||||
After=systemd-udevd-kernel.socket systemd-udevd-control.socket
|
||||
Before=sysinit.target
|
||||
ConditionCapability=CAP_MKNOD
|
||||
ConditionPathIsReadWrite=/sys
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
|
@ -10,7 +10,7 @@ Description=udev Control Socket
|
||||
Documentation=man:systemd-udevd.service(8) man:udev(7)
|
||||
DefaultDependencies=no
|
||||
Before=sockets.target
|
||||
ConditionCapability=CAP_MKNOD
|
||||
ConditionPathIsReadWrite=/sys
|
||||
|
||||
[Socket]
|
||||
Service=systemd-udevd.service
|
||||
|
@ -10,7 +10,7 @@ Description=udev Kernel Socket
|
||||
Documentation=man:systemd-udevd.service(8) man:udev(7)
|
||||
DefaultDependencies=no
|
||||
Before=sockets.target
|
||||
ConditionCapability=CAP_MKNOD
|
||||
ConditionPathIsReadWrite=/sys
|
||||
|
||||
[Socket]
|
||||
Service=systemd-udevd.service
|
||||
|
Loading…
x
Reference in New Issue
Block a user