[S] Change in docker-playground[master]: ttcn3-s1gw-test: start osmo-s1gw container with --user=root
fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/docker-playground/+/37277?usp=email ) Change subject: ttcn3-s1gw-test: start osmo-s1gw container with --user=root ...................................................................... ttcn3-s1gw-test: start osmo-s1gw container with --user=root For some reason, on Arch with docker 26.1.3 it implicitly starts with --user=root, while with docker 20.10.5 on Debian bookworm it starts with --user=build. This results in permission errors: + ip addr add 172.18.74.100/24 dev eth0 RTNETLINK answers: Operation not permitted + true + ip addr add 172.18.74.200/24 dev eth0 RTNETLINK answers: Operation not permitted Pass --user=root explicitly to bring consistency and fix those. Hopefully, ttcn3-s1gw-test will be passing on Jenkins with this patch. Change-Id: I5cc67d1c3192fd55560c16c8cc44b13b2c9b3e98 Fixes: 9ca9bed "ttcn3-s1gw-test: fix using unassigned addr for osmo-s1gw" --- M ttcn3-s1gw-test/jenkins.sh 1 file changed, 24 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/docker-playground refs/changes/77/37277/1 diff --git a/ttcn3-s1gw-test/jenkins.sh b/ttcn3-s1gw-test/jenkins.sh index 78a9624..f00987d 100755 --- a/ttcn3-s1gw-test/jenkins.sh +++ b/ttcn3-s1gw-test/jenkins.sh @@ -23,6 +23,7 @@ echo "Starting container with osmo-s1gw" docker run --rm \ $(docker_network_params $SUBNET 100) \ + --user=root \ --ulimit core=-1 \ --cap-add=NET_ADMIN \ -e "ERL_FLAGS=-config /data/osmo-s1gw.config" \ -- To view, visit https://gerrit.osmocom.org/c/docker-playground/+/37277?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: docker-playground Gerrit-Branch: master Gerrit-Change-Id: I5cc67d1c3192fd55560c16c8cc44b13b2c9b3e98 Gerrit-Change-Number: 37277 Gerrit-PatchSet: 1 Gerrit-Owner: fixeria <vyanitskiy@sysmocom.de> Gerrit-MessageType: newchange
participants (1)
-
fixeria