lxc-test-rootfs test regression with 4.0.10-0ubuntu3
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxc (Ubuntu) |
Fix Released
|
Undecided
|
Christian Brauner | ||
Impish |
Won't Fix
|
Undecided
|
Christian Brauner |
Bug Description
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/
+ PHASE=setup
+ trap cleanup EXIT
+ lxc-destroy -n lxc-test-rootfs -f
lxc-destroy: lxc-test-rootfs: tools/lxc_
+ true
+ lxc-create -t busybox -n lxc-test-rootfs
+ PHASE=ro_rootfs
+ echo 'Starting phase ro_rootfs'
Starting phase ro_rootfs
+ config=
+ sed -i /lxc.rootfs.
+ 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/
+ '[' 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
Changed in lxc (Ubuntu Impish): | |
status: | In Progress → Fix Committed |
Thanks for reporting this. I've fixed this in: /github. com/lxc/ lxc/pull/ 3921
https:/