### SRU verification for NOBLE ###
# ------ before proposed ------
# version
ubuntu@sandbox-noble:~$ apt policy lxc
lxc:
Installed: 1:5.0.3-2ubuntu7.2
Candidate: 1:5.0.3-2ubuntu7.2
Version table:
*** 1:5.0.3-2ubuntu7.2 500
500 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64
Packages
100 /var/lib/dpkg/status
1:5.0.3-2ubuntu7 500
500 http://archive.ubuntu.com/ubuntu noble/universe amd64 Packages
# bug is reproducible
ubuntu@sandbox-noble:~$ sudo /tmp/lxc-bug-repro/run-test.sh 2000
Running up to 2000 iterations...
Expect failure within 30-100 runs (2-3% failure rate)
[...]
=== FAILED on run 1076 ===
Exit code: 1
Output:
free(): invalid pointer
lxc-start: bug-repro-116925-1076: ../src/lxc/sync.c: sync_wait: 25 Connection
reset by peer - Sync wait failure
lxc-start: bug-repro-116925-1076: ../src/lxc/start.c: __lxc_start: 2107 Failed
to spawn container "bug-repro-116925-1076"
lxc-start: bug-repro-116925-1076: ../src/lxc/tools/lxc_start.c: main: 306 The
container failed to start
lxc-start: bug-repro-116925-1076: ../src/lxc/tools/lxc_start.c: main: 311
Additional information can be obtained by setting the --logfile and
--logpriority options
Bug reproduced! Container 'bug-repro-116925-1076' failed to start.
# ------ after proposed ------
# version
ubuntu@sandbox-noble:~$ apt policy lxc
lxc:
Installed: 1:5.0.3-2ubuntu7.3
Candidate: 1:5.0.3-2ubuntu7.3
Version table:
*** 1:5.0.3-2ubuntu7.3 100
100 http://archive.ubuntu.com/ubuntu noble-proposed/universe amd64
Packages
100 /var/lib/dpkg/status
1:5.0.3-2ubuntu7.2 500
500 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64
Packages
1:5.0.3-2ubuntu7 500
500 http://archive.ubuntu.com/ubuntu noble/universe amd64 Packages
# bug is no longer reproducible (tried 100,000 iterations)
ubuntu@sandbox-noble:~$ sudo /tmp/lxc-bug-repro/run-test.sh 100000
Running up to 100000 iterations...
Expect failure within 30-100 runs (2-3% failure rate)
[...]
Completed 100000 runs without failure (100000 successes).
------
I verify this bug is fixed with lxc 1:5.0.3-2ubuntu7.3 in noble
** Tags removed: verification-needed-noble
** Tags added: verification-done-noble
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2158643
Title:
[SRU] lxc: incorrect free() of cap_to_text() result in ambient caps
setup causes intermittent startup failure
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/2158643/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs