nut: Set container_use_devices SELinux tunable
By default, the Fedora SELinux policy does not allow containers to access device nodes. This setting is independent of CGroup device rules.master
parent
11f9957c11
commit
47278c01e5
|
@ -20,6 +20,7 @@ Network=host
|
||||||
PodmanArgs=--device-cgroup-rule 'c 189:* rw'
|
PodmanArgs=--device-cgroup-rule 'c 189:* rw'
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
ExecStartPre=/usr/sbin/setsebool container_use_devices=1
|
||||||
ExecReload=podman exec systemd-%N upsd -c reload
|
ExecReload=podman exec systemd-%N upsd -c reload
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|
Loading…
Reference in New Issue