Public bug reported:
It looks like the option "lxc.rootfs.options = ro" is not honored with
lxc 4.0.10-0ubuntu3 and it used to work with lxc 4.0.6-0ubuntu1 (kernel
is the same, I'm testing this with 5.13.0-13.13).
Output of the test:
09:12 ubuntu@impish$ sudo ./src/tests/lxc-test-rootfs
+ PHASE=setup
+ trap cleanup EXIT
+ lxc-destroy -n lxc-test-rootfs -f
lxc-destroy: lxc-test-rootfs: tools/lxc_destroy.c: main: 242 Container is not
defined
+ true
+ lxc-create -t busybox -n lxc-test-rootfs
+ PHASE=ro_rootfs
+ echo 'Starting phase ro_rootfs'
Starting phase ro_rootfs
+ config=/var/lib/lxc/lxc-test-rootfs/config
+ sed -i /lxc.rootfs.options/d /var/lib/lxc/lxc-test-rootfs/config
+ echo 'lxc.rootfs.options = ro'
+ lxc-start -n lxc-test-rootfs
++ lxc-info -n lxc-test-rootfs -p -H
+ pid=2147
+ ro=0
+ mkdir /proc/2147/root/rotest
+ '[' 0 -ne 0 ']'
+ cleanup
+ set +e
+ lxc-destroy -n lxc-test-rootfs -f
+ '[' ro_rootfs '!=' done ']'
+ echo 'rootfs test failed at ro_rootfs'
rootfs test failed at ro_rootfs
+ exit 1
** Affects: lxc (Ubuntu)
Importance: Undecided
Status: New
** Affects: lxc (Ubuntu Impish)
Importance: Undecided
Status: New
** Also affects: lxc (Ubuntu Impish)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1938771
Title:
lxc-test-rootfs test regression with 4.0.10-0ubuntu3
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1938771/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs