mirror of
https://github.com/systemd/systemd.git
synced 2025-01-30 01:47:42 +03:00
systemd: use ConditionCapability=CAP_MKNOD instead of ConditionVirtualization=!container
This commit is contained in:
parent
54da62909f
commit
9371e6f3e0
@ -1,7 +1,7 @@
|
||||
[Unit]
|
||||
Description=udev Control Socket
|
||||
DefaultDependencies=no
|
||||
ConditionVirtualization=!container
|
||||
ConditionCapability=CAP_MKNOD
|
||||
|
||||
[Socket]
|
||||
Service=udev.service
|
||||
|
@ -1,7 +1,7 @@
|
||||
[Unit]
|
||||
Description=udev Kernel Socket
|
||||
DefaultDependencies=no
|
||||
ConditionVirtualization=!container
|
||||
ConditionCapability=CAP_MKNOD
|
||||
|
||||
[Socket]
|
||||
Service=udev.service
|
||||
|
@ -4,7 +4,7 @@ Wants=udev-control.socket udev-kernel.socket
|
||||
After=udev-control.socket udev-kernel.socket
|
||||
Before=basic.target
|
||||
DefaultDependencies=no
|
||||
ConditionVirtualization=!container
|
||||
ConditionCapability=CAP_MKNOD
|
||||
|
||||
[Service]
|
||||
Type=notify
|
||||
|
Loading…
x
Reference in New Issue
Block a user