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 <santiago@redhat.com>
This commit is contained in:
Ed Santiago 2019-09-12 15:18:17 -06:00
parent ab172fe251
commit 20052717cb

View File

@ -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