Fix missing setuidmap for podman units

This commit is contained in:
Evie Litherland-Smith 2023-10-02 07:27:48 +01:00
parent 36f386d770
commit 73fe8fa55d

View file

@ -175,7 +175,8 @@
RequiresMountsFor = "%t/containers";
};
Service = {
Environment = "PODMAN_SYSTEMD_UNIT=%n";
Environment =
[ "PODMAN_SYSTEMD_UNIT=%n" "PATH=/run/wrappers/bin/:$PATH" ];
Restart = "always";
TimeoutStopSec = 70;
ExecStart = ''
@ -213,7 +214,8 @@
RequiresMountsFor = "%t/containers";
};
Service = {
Environment = "PODMAN_SYSTEMD_UNIT=%n";
Environment =
[ "PODMAN_SYSTEMD_UNIT=%n" "PATH=/run/wrappers/bin/:$PATH" ];
Restart = "always";
TimeoutStopSec = 70;
ExecStart = ''