Hi all,

Some Travis builds might be failing with a permission error, the workaround is 
to add
"--privileged" option to the "docker run" command, like here
https://github.com/openSUSE/linuxrc/pull/217/commits/a2457839d53d1631f984433a3fe52b083f832270


Some details:

I have not found the real cause for this, the Docker at Travis has not been 
updated,
that should not be a problem.

But I found that the problem happens also with the official TW image:

  docker run --rm -it opensuse/tumbleweed bash -c "touch /tmp/test; ls 
/tmp/test"
  ls: cannot access '/tmp/test': Operation not permitted

So the problem is not specific only to the our YaST images. Interestingly, this
happens only in the Travis Docker, in my Leap 15.1 Docker it works as expected.

Also using the yastdevel/ruby image from Docker Hub (which is based on
opensuse/tumbleweed !!) is fine at Travis... :-o


But as both failing images are built by OBS and the images built by the Docker 
Hub
are fine (even the images based on the OBS base images!) my suspicion is that 
the
OBS images are somehow not fully compatible with all Docker clients...



--
Ladislav Slezák
YaST Developer

SUSE LINUX, s.r.o.
Corso IIa
Křižíkova 148/34
18600 Praha 8
--
To unsubscribe, e-mail: yast-devel+unsubscr...@opensuse.org
To contact the owner, e-mail: yast-devel+ow...@opensuse.org

Reply via email to