OK I misread Stefan's comment,

checking the report again, it's using the consistent version
(1:4.0.12-0ubuntu1~20.04.1)) for both lxc and test cases (source) on
that s390x zVM.

Please find attachment for the full test log.

I will switch the bug status back to New.

** Attachment added: "test-110.log"
   
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1969905/+attachment/5582419/+files/test-110.log

** Changed in: lxc (Ubuntu)
       Status: Invalid => New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1969905

Title:
  lxc-test-no-new-privs in ubuntu_lxc failed on F-s390x zVM (lxc
  1:4.0.12-0ubuntu1~20.04.1 )

Status in ubuntu-kernel-tests:
  New
Status in lxc package in Ubuntu:
  New

Bug description:
  Issue found on F 5.4.0-108.122 s390x node kernel04

  Test failed with:
   Running '/tmp/lxc-pkg-ubuntu/src/tests/lxc-test-no-new-privs'
   + DONE=0
   + trap cleanup EXIT SIGHUP SIGINT SIGTERM
   + '[' '!' -d /etc/lxc ']'
   + lxc-create -t busybox -n c1
   + echo 'lxc.no_new_privs = 1'
   + lxc-start -n c1
   ++ lxc-info -n c1 -p -H
   + p1=65479
   + '[' 65479 '!=' -1 ']'
   + lxc-attach -n c1 --clear-env -- mkdir -p /home/ubuntu 
   + lxc-attach -n c1 --clear-env -- /bin/sh -c 'cat <> /etc/passwd
   ubuntu:x:1000:1000:ubuntu:/home/ubuntu:/bin/sh
   EOF'
   + lxc-attach -n c1 --clear-env --uid 1000 --gid 1000 -- ping -c 1 127.0.0.1
   PING 127.0.0.1 (127.0.0.1): 56 data bytes
   ping: permission denied (are you root?)
   + lxc-stop -n c1 -k
   + sed -i 's/lxc.no_new_privs = 1/lxc.no_new_privs = 0/' 
/var/lib/lxc/c1/config
   + lxc-start -n c1
   + lxc-attach -n c1 --clear-env --uid 1000 --gid 1000 -- ping -c 1 127.0.0.1
   PING 127.0.0.1 (127.0.0.1): 56 data bytes
   ping: sendto: Network is unreachable
   Managed to ping localhost
   + echo 'Managed to ping localhost'
   + false
   + cleanup
   + cd /
   + lxc-destroy -n c1 -f
   FAIL
   + '[' 0 -eq 0 ']'
   + echo FAIL
   + exit 1

  It's worthy to note that this test has passed with 5.4.0-106.120 + lxc 
1:4.0.6-0ubuntu1~20.04.1
  The test output is a bit different, I think it's because of this commit: 
https://github.com/lxc/lxc/commit/f6a53ad2c593ade2320cc357abd15e01e22b6f8d

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1969905/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to