[Buildroot] [PATCH 1/1] package/lxc: bump to version 4.0.11

Romain Naour romain.naour at gmail.com
Sat Feb 19 16:43:48 UTC 2022


Hello Fabrice,

Le 19/02/2022 à 16:20, Fabrice Fontaine a écrit :
> Hello,
> 
> Le sam. 19 févr. 2022 à 10:20, Romain Naour <romain.naour at gmail.com> a écrit :
>>
>> Hello,
>>
>> Le 30/01/2022 à 17:36, Romain Naour a écrit :
>>> Hello Fabrice, Joachim, All,
>>>
>>> Le 03/01/2022 à 09:41, Joachim Wiberg a écrit :
>>>> On Sat, Jan 01, 2022 at 23:59, Fabrice Fontaine <fontaine.fabrice at gmail.com> wrote:
>>>>> The LXC 4.0 branch is supported until June 2025.
>>>>> Only bugfixes and securitiy issues get included into the stable bugfix
>>>>> releases, so it's always safe and recommended to keep up and run the
>>>>> latest bugfix release.
>>>
>>> Well it also includes new features since this version bump break lxc with all
>>> kernel < 5.6 due to the broken fall back when the new mount API is not supported.
>>>
>>> We have a test for lxc using a kernel 4.19 that trigger this issue [1].
>>>
>>> See lxc.log:
>>>
>>> (kernel 5.5)
>>> DEBUG conf - conf.c:lxc_setup_devpts_child:1682 - No new devpts instance will be
>>> mounted since no pts devices are required
>>> lxc-start lxc_iperf3  DEBUG conf - conf.c:lxc_setup_dev_console:1966 - Cleared
>>> all (0) mounts from "/dev/console"
>>> lxc-start lxc_iperf3  ERROR mount_utils - mount_utils.c:mount_at:661 - No such
>>> file or directory - Failed to mount "/proc/self/fd/44" to "/proc/self/fd/43"
>>> lxc-start lxc_iperf3  ERROR conf - conf.c:lxc_setup_dev_console:1988 - No such
>>> file or directory - Failed to mount "10(/dev/pts/0)" on "43"
>>> lxc-start lxc_iperf3  ERROR conf - conf.c:lxc_setup_console:2143 - No such file
>>> or directory - Failed to setup console
>>>
>>> (kernel 5.6)
>>> lxc-start lxc_iperf3  TRACE mount_utils - mount_utils.c:can_use_mount_api:582 -
>>> Kernel supports mount api
>>> lxc-start lxc_iperf3  TRACE mount_utils - mount_utils.c:move_detached_mount:328
>>> - Attach detached mount 45 to filesystem at 43
>>> lxc-start lxc_iperf3  TRACE conf - conf.c:lxc_setup_dev_console:1990 - Setup
>>> console "/dev/pts/0"
>>>
>>> [1] https://gitlab.com/buildroot.org/buildroot/-/jobs/2006798998
>>>
>>> This issue is not yet fixed in lxc stable-4.0 branch.
>>>
>>> Can you have a look?
>>
>> ping.
> How can I reproduce the problem locally so I can open a bug on
> https://github.com/lxc/lxc/issues?
> I tried to launch run-tests from current master but it is "stuck" in
> "Building done":
> 
> ./support/testing/run-tests -o test-output/ -d test-dl/ -k
> --timeout-multiplier 10 tests.package.test_lxc.TestLxc
> 15:36:35 TestLxc                                  Starting
> 15:36:35 TestLxc                                  Building
> 15:51:04 TestLxc                                  Building done
> 
> So I opened test-output/TestLxc-run.log and found out a kernel panic:
> 
> Kernel panic - not syncing: No working init found.  Try passing init=
> option to kernel. See Linux Documentation/admin-guide/init.rst for
> guidance
> 
> I assume that qemu is not able to start the kernel.
> Do you have some advice on what could go wrong?

Weird, can you check your qemu version ?

I'm using qemu 6.1.0 from Fedora 35 and also tested qemu 5.2.0 from Debian 11.

If it still not working, you should be able to reproduce using the Docker image
used in gitlab-ci. See utils/docker-run.

Best regards,
Romain


>>
>> Best regards,
>> Romain
>>
>>>
>>> Best regards,
>>> Romain
>>>
>>>
>>>>>
>>>>> https://discuss.linuxcontainers.org/t/lxc-4-0-11-has-been-released/12427
>>>>>
>>>>> Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
>>>>
>>>> Reviewed-by: Joachim Wiberg <troglobit at gmail.com>
>>>> _______________________________________________
>>>> buildroot mailing list
>>>> buildroot at buildroot.org
>>>> https://lists.buildroot.org/mailman/listinfo/buildroot
>>>>
>>>
>>
> Best Regards,
> 
> Fabrice




More information about the buildroot mailing list