diff options
author | Matthew Heon <mheon@redhat.com> | 2020-01-13 11:10:10 -0500 |
---|---|---|
committer | Matthew Heon <mheon@redhat.com> | 2020-01-13 11:19:31 -0500 |
commit | 6e2ed9ad2efb16062b4d7984db91a239cd102ed9 (patch) | |
tree | 70098534fabce70ad79d1350f04155f498096b89 /libpod/pod.go | |
parent | 9e2e4d7615311b38b1e553af32a5666888ef3c96 (diff) | |
download | podman-6e2ed9ad2efb16062b4d7984db91a239cd102ed9.tar.gz podman-6e2ed9ad2efb16062b4d7984db91a239cd102ed9.tar.bz2 podman-6e2ed9ad2efb16062b4d7984db91a239cd102ed9.zip |
Do not configure CNI when slirp4netns is requested
Our networking code bakes in a lot of assumptions about how
networking should work - that CNI is *always* used with root, and
that slirp4netns is *always* used only with rootless. These are
not safe assumptions. This fixes one particular issue, which
would cause CNI to also be run when slirp4netns was requested as
root.
Fixes: #4687
Signed-off-by: Matthew Heon <mheon@redhat.com>
Diffstat (limited to 'libpod/pod.go')
0 files changed, 0 insertions, 0 deletions