b1820d75a1
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 <santiago@redhat.com>
23 lines
611 B
YAML
23 lines
611 B
YAML
---
|
|
- hosts: localhost
|
|
roles:
|
|
- role: standard-test-basic
|
|
tags:
|
|
- classic
|
|
- container
|
|
required_packages:
|
|
- bats
|
|
- podman
|
|
- podman-tests
|
|
tests:
|
|
- root-test:
|
|
dir: ./
|
|
run: ./test_podman.sh
|
|
timeout: 15m
|
|
- rootless-test:
|
|
# 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
|
|
timeout: 15m
|