From b1820d75a1614a4a45ecf403860105b5a13255a1 Mon Sep 17 00:00:00 2001 From: Ed Santiago Date: Mon, 26 Aug 2019 09:27:53 -0600 Subject: [PATCH] Workaround for failing rootless tests bz1740664 Systemd bug 1740664 causes /dev/net/tun to be mode 600, causing slirp4netns to fail on rootless podman. Suggested workaround is to 'modprobe tun'. Let's give that a try in the interests of making the gating tests pass. Signed-off-by: Ed Santiago --- tests/test_podman.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_podman.yml b/tests/test_podman.yml index c73bf48..ed13cc7 100644 --- a/tests/test_podman.yml +++ b/tests/test_podman.yml @@ -18,5 +18,5 @@ # running the test with su doesn't create the directory for fedora user on /run/user/ # so create it manually dir: ./ - run: mkdir /run/user/$(id -u fedora); su -c ${PWD}/test_podman.sh - fedora + run: modprobe tun;mkdir /run/user/$(id -u fedora); su -c ${PWD}/test_podman.sh - fedora timeout: 15m