summaryrefslogtreecommitdiff
path: root/cmd/podman/manifest/annotate.go
diff options
context:
space:
mode:
authorPaul Holzinger <pholzing@redhat.com>2021-09-24 10:44:46 +0200
committerPaul Holzinger <pholzing@redhat.com>2021-09-24 11:25:02 +0200
commit6095c4fac0ff275d01a969d1c48aace1ac673aea (patch)
tree5ce84552942b0914dc0cdfb923871d1e4907c34b /cmd/podman/manifest/annotate.go
parent1cf66f514f82a065f4a9cb2b28242d7fe2d2950f (diff)
downloadpodman-6095c4fac0ff275d01a969d1c48aace1ac673aea.tar.gz
podman-6095c4fac0ff275d01a969d1c48aace1ac673aea.tar.bz2
podman-6095c4fac0ff275d01a969d1c48aace1ac673aea.zip
rootful: do not set XDG_RUNTIME_DIR for cni plugins
The dnsname plugin tries to use XDG_RUNTIME_DIR to store files. podman run will have XDG_RUNTIME_DIR set and thus the cni plugin can use it. The problem is that XDG_RUNTIME_DIR is unset for the conmon process for rootful users. This causes issues since the cleanup process is spawned by conmon and thus not have XDG_RUNTIME_DIR set to same value as podman run. Because of it dnsname will not find the config files and cannot correctly cleanup. To fix this we should also unset XDG_RUNTIME_DIR for the cni plugins as rootful. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Diffstat (limited to 'cmd/podman/manifest/annotate.go')
0 files changed, 0 insertions, 0 deletions