All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/lxc: bump to version 4.0.11
@ 2022-01-01 22:59 Fabrice Fontaine
  2022-01-03  8:41 ` Joachim Wiberg
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Fabrice Fontaine @ 2022-01-01 22:59 UTC (permalink / raw)
  To: buildroot; +Cc: Fabrice Fontaine, Jérôme Pouiller

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.

https://discuss.linuxcontainers.org/t/lxc-4-0-11-has-been-released/12427

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/lxc/lxc.hash | 2 +-
 package/lxc/lxc.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/lxc/lxc.hash b/package/lxc/lxc.hash
index efd7a8e42c..2b58df2f1d 100644
--- a/package/lxc/lxc.hash
+++ b/package/lxc/lxc.hash
@@ -1,4 +1,4 @@
 # Locally calculated
-sha256  a10c518056d2e497bd600e4ffac2853bdeab1e835bf455a6d87cc8df128bfae9  lxc-4.0.10.tar.gz
+sha256  afa481e17ca9a9cf9fd3d2d7a04e42a8f6bfe60b323909326c968e852cd9f02c  lxc-4.0.11.tar.gz
 sha256  ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6  LICENSE.GPL2
 sha256  dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551  LICENSE.LGPL2.1
diff --git a/package/lxc/lxc.mk b/package/lxc/lxc.mk
index 93f6d2535f..4d63fc14cb 100644
--- a/package/lxc/lxc.mk
+++ b/package/lxc/lxc.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LXC_VERSION = 4.0.10
+LXC_VERSION = 4.0.11
 LXC_SITE = https://linuxcontainers.org/downloads/lxc
 LXC_LICENSE = GPL-2.0 (some tools), LGPL-2.1+
 LXC_LICENSE_FILES = LICENSE.GPL2 LICENSE.LGPL2.1
-- 
2.33.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/lxc: bump to version 4.0.11
  2022-01-01 22:59 [Buildroot] [PATCH 1/1] package/lxc: bump to version 4.0.11 Fabrice Fontaine
@ 2022-01-03  8:41 ` Joachim Wiberg
  2022-01-30 16:36   ` Romain Naour
  2022-01-04 17:56 ` Arnout Vandecappelle
  2022-01-26 20:07 ` Peter Korsgaard
  2 siblings, 1 reply; 9+ messages in thread
From: Joachim Wiberg @ 2022-01-03  8:41 UTC (permalink / raw)
  To: Fabrice Fontaine, buildroot; +Cc: Fabrice Fontaine, Jérôme Pouiller

On Sat, Jan 01, 2022 at 23:59, Fabrice Fontaine <fontaine.fabrice@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.
>
> https://discuss.linuxcontainers.org/t/lxc-4-0-11-has-been-released/12427
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Reviewed-by: Joachim Wiberg <troglobit@gmail.com>
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/lxc: bump to version 4.0.11
  2022-01-01 22:59 [Buildroot] [PATCH 1/1] package/lxc: bump to version 4.0.11 Fabrice Fontaine
  2022-01-03  8:41 ` Joachim Wiberg
@ 2022-01-04 17:56 ` Arnout Vandecappelle
  2022-01-26 20:07 ` Peter Korsgaard
  2 siblings, 0 replies; 9+ messages in thread
From: Arnout Vandecappelle @ 2022-01-04 17:56 UTC (permalink / raw)
  To: Fabrice Fontaine, buildroot; +Cc: Jérôme Pouiller



On 01/01/2022 23:59, Fabrice Fontaine 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.
> 
> https://discuss.linuxcontainers.org/t/lxc-4-0-11-has-been-released/12427
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

  Applied to master, thanks.

  Regards,
  Arnout

> ---
>   package/lxc/lxc.hash | 2 +-
>   package/lxc/lxc.mk   | 2 +-
>   2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/package/lxc/lxc.hash b/package/lxc/lxc.hash
> index efd7a8e42c..2b58df2f1d 100644
> --- a/package/lxc/lxc.hash
> +++ b/package/lxc/lxc.hash
> @@ -1,4 +1,4 @@
>   # Locally calculated
> -sha256  a10c518056d2e497bd600e4ffac2853bdeab1e835bf455a6d87cc8df128bfae9  lxc-4.0.10.tar.gz
> +sha256  afa481e17ca9a9cf9fd3d2d7a04e42a8f6bfe60b323909326c968e852cd9f02c  lxc-4.0.11.tar.gz
>   sha256  ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6  LICENSE.GPL2
>   sha256  dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551  LICENSE.LGPL2.1
> diff --git a/package/lxc/lxc.mk b/package/lxc/lxc.mk
> index 93f6d2535f..4d63fc14cb 100644
> --- a/package/lxc/lxc.mk
> +++ b/package/lxc/lxc.mk
> @@ -4,7 +4,7 @@
>   #
>   ################################################################################
>   
> -LXC_VERSION = 4.0.10
> +LXC_VERSION = 4.0.11
>   LXC_SITE = https://linuxcontainers.org/downloads/lxc
>   LXC_LICENSE = GPL-2.0 (some tools), LGPL-2.1+
>   LXC_LICENSE_FILES = LICENSE.GPL2 LICENSE.LGPL2.1
> 
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/lxc: bump to version 4.0.11
  2022-01-01 22:59 [Buildroot] [PATCH 1/1] package/lxc: bump to version 4.0.11 Fabrice Fontaine
  2022-01-03  8:41 ` Joachim Wiberg
  2022-01-04 17:56 ` Arnout Vandecappelle
@ 2022-01-26 20:07 ` Peter Korsgaard
  2 siblings, 0 replies; 9+ messages in thread
From: Peter Korsgaard @ 2022-01-26 20:07 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: Jérôme Pouiller, buildroot

>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > 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.

 > https://discuss.linuxcontainers.org/t/lxc-4-0-11-has-been-released/12427

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Committed to 2021.02.x and 2021.11.x, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/lxc: bump to version 4.0.11
  2022-01-03  8:41 ` Joachim Wiberg
@ 2022-01-30 16:36   ` Romain Naour
  2022-02-19  9:20     ` Romain Naour
  0 siblings, 1 reply; 9+ messages in thread
From: Romain Naour @ 2022-01-30 16:36 UTC (permalink / raw)
  To: Joachim Wiberg, Fabrice Fontaine, buildroot; +Cc: Jérôme Pouiller

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@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?

Best regards,
Romain


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

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/lxc: bump to version 4.0.11
  2022-01-30 16:36   ` Romain Naour
@ 2022-02-19  9:20     ` Romain Naour
  2022-02-19 15:20       ` Fabrice Fontaine
  0 siblings, 1 reply; 9+ messages in thread
From: Romain Naour @ 2022-02-19  9:20 UTC (permalink / raw)
  To: Joachim Wiberg, Fabrice Fontaine, buildroot; +Cc: Jérôme Pouiller

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@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.

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@gmail.com>
>>
>> Reviewed-by: Joachim Wiberg <troglobit@gmail.com>
>> _______________________________________________
>> buildroot mailing list
>> buildroot@buildroot.org
>> https://lists.buildroot.org/mailman/listinfo/buildroot
>>
> 

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/lxc: bump to version 4.0.11
  2022-02-19  9:20     ` Romain Naour
@ 2022-02-19 15:20       ` Fabrice Fontaine
  2022-02-19 16:43         ` Romain Naour
  0 siblings, 1 reply; 9+ messages in thread
From: Fabrice Fontaine @ 2022-02-19 15:20 UTC (permalink / raw)
  To: Romain Naour
  Cc: Joachim Wiberg, Jérôme Pouiller, Buildroot Mailing List

Hello,

Le sam. 19 févr. 2022 à 10:20, Romain Naour <romain.naour@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@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?
>
> 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@gmail.com>
> >>
> >> Reviewed-by: Joachim Wiberg <troglobit@gmail.com>
> >> _______________________________________________
> >> buildroot mailing list
> >> buildroot@buildroot.org
> >> https://lists.buildroot.org/mailman/listinfo/buildroot
> >>
> >
>
Best Regards,

Fabrice
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/lxc: bump to version 4.0.11
  2022-02-19 15:20       ` Fabrice Fontaine
@ 2022-02-19 16:43         ` Romain Naour
  2022-02-19 17:05           ` Fabrice Fontaine
  0 siblings, 1 reply; 9+ messages in thread
From: Romain Naour @ 2022-02-19 16:43 UTC (permalink / raw)
  To: Fabrice Fontaine
  Cc: Joachim Wiberg, Jérôme Pouiller, Buildroot Mailing List

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@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@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@gmail.com>
>>>>
>>>> Reviewed-by: Joachim Wiberg <troglobit@gmail.com>
>>>> _______________________________________________
>>>> buildroot mailing list
>>>> buildroot@buildroot.org
>>>> https://lists.buildroot.org/mailman/listinfo/buildroot
>>>>
>>>
>>
> Best Regards,
> 
> Fabrice

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/lxc: bump to version 4.0.11
  2022-02-19 16:43         ` Romain Naour
@ 2022-02-19 17:05           ` Fabrice Fontaine
  0 siblings, 0 replies; 9+ messages in thread
From: Fabrice Fontaine @ 2022-02-19 17:05 UTC (permalink / raw)
  To: Romain Naour
  Cc: Joachim Wiberg, Jérôme Pouiller, Buildroot Mailing List

Le sam. 19 févr. 2022 à 17:43, Romain Naour <romain.naour@gmail.com> a écrit :
>
> 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@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@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 on qemu 6.2.0.

>
> 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.

OK, I'll try it.

>
> 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@gmail.com>
> >>>>
> >>>> Reviewed-by: Joachim Wiberg <troglobit@gmail.com>
> >>>> _______________________________________________
> >>>> buildroot mailing list
> >>>> buildroot@buildroot.org
> >>>> https://lists.buildroot.org/mailman/listinfo/buildroot
> >>>>
> >>>
> >>
> > Best Regards,
> >
> > Fabrice
>
Best Regards,

Fabrice
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-02-19 17:05 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-01 22:59 [Buildroot] [PATCH 1/1] package/lxc: bump to version 4.0.11 Fabrice Fontaine
2022-01-03  8:41 ` Joachim Wiberg
2022-01-30 16:36   ` Romain Naour
2022-02-19  9:20     ` Romain Naour
2022-02-19 15:20       ` Fabrice Fontaine
2022-02-19 16:43         ` Romain Naour
2022-02-19 17:05           ` Fabrice Fontaine
2022-01-04 17:56 ` Arnout Vandecappelle
2022-01-26 20:07 ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.