spiegel_podman/libpod/network
Paul Holzinger 31df5b78fc 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>
2021-09-29 16:39:29 -04:00
..
cni rootful: do not set XDG_RUNTIME_DIR for cni plugins 2021-09-29 16:39:29 -04:00
types Network interface 2021-08-24 12:28:03 +02:00
util Network interface 2021-08-24 12:28:03 +02:00
config.go Fix network create macvlan with subnet option 2021-05-20 13:12:01 +02:00
create.go Detect if in podman machine virtual vm 2021-04-30 13:11:05 -05:00
create_test.go bump go module to v3 2021-02-22 09:03:51 +01:00
devices.go Drop dependency on iproute 2021-09-02 10:28:08 +02:00
files.go Split libpod/network package 2021-03-15 14:01:52 +01:00
ip.go prevent unpredictable results with network create|remove 2020-10-07 10:03:21 -05:00
lock.go Move the cni lock file into the cni config dir 2021-01-21 11:50:45 +01:00
netconflist.go Fix network create macvlan with subnet option 2021-05-20 13:12:01 +02:00
netconflist_test.go Enable whitespace linter 2021-02-11 23:01:56 +01:00
network.go Drop dependency on iproute 2021-09-02 10:28:08 +02:00
network_test.go prevent unpredictable results with network create|remove 2020-10-07 10:03:21 -05:00
subnet.go Fix ip-range for classless subnet masks 2020-11-23 11:55:29 +01:00
subnet_test.go Fix ip-range for classless subnet masks 2020-11-23 11:55:29 +01:00