From 20052717cbe789b04e2dbcba202582b8e6556a58 Mon Sep 17 00:00:00 2001 From: Ed Santiago Date: Thu, 12 Sep 2019 15:18:17 -0600 Subject: [PATCH] rootless: 1 step forward, 1 step back forward: rhbz1740664 (permissions on /dev/net/tun) appears to be fixed; let's remove the 'modprobe tun' workaround. back: rootless tests are failing in CI, in a way that I can't reproduce via 1minutetip. One of the errors is: cannot mkdir /run/user/1000/libpod: mkdir /run/user/1000/libpod: no such file or directory ...so let's try, after the mkdir, chowning it to fedora. 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 ed13cc7..c0c3315 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: modprobe tun;mkdir /run/user/$(id -u fedora); su -c ${PWD}/test_podman.sh - fedora + run: mkdir /run/user/$(id -u fedora); chown fedora /run/user/$(id -u fedora); su -c ${PWD}/test_podman.sh - fedora timeout: 15m