diff options
author | Paul Holzinger <pholzing@redhat.com> | 2021-09-24 10:44:46 +0200 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2021-09-29 16:39:29 -0400 |
commit | 31df5b78fcdf3a492ef063eb1b98a3b4715e5969 (patch) | |
tree | 7bf33d804cf19b7d4da0fcba0e3cd3809793ead0 /cmd | |
parent | 8c944274f902bbd439c79a8dc1ae586ad16a8bfe (diff) | |
download | podman-31df5b78fcdf3a492ef063eb1b98a3b4715e5969.tar.gz podman-31df5b78fcdf3a492ef063eb1b98a3b4715e5969.tar.bz2 podman-31df5b78fcdf3a492ef063eb1b98a3b4715e5969.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')
0 files changed, 0 insertions, 0 deletions