Re: [hardknott][PATCH] k3s: Bump to v1.20.11+k3s2
Bruce Ashfield
We can't bump hardknott ahead of master, but as it turns out, I
toggle quoted messageShow quoted text
already have pending k*s updates for master, so I can cherry pick them to the stable branches after I'm finished testing. Bruce
On Tue, Oct 12, 2021 at 1:52 PM Diego Sueiro <diego.sueiro@...> wrote:
--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II
|
|
[hardknott][PATCH] k3s: Bump to v1.20.11+k3s2
Diego Sueiro
Signed-off-by: Diego Sueiro <diego.sueiro@...>
--- recipes-containers/k3s/k3s_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-containers/k3s/k3s_git.bb b/recipes-containers/k3s/k3s_git.bb index 2811fb8..f51d9d4 100644 --- a/recipes-containers/k3s/k3s_git.bb +++ b/recipes-containers/k3s/k3s_git.bb @@ -13,9 +13,9 @@ SRC_URI = "git://github.com/rancher/k3s.git;branch=release-1.20;name=k3s \ file://0001-Finding-host-local-in-usr-libexec.patch;patchdir=src/import \ " SRC_URI[k3s.md5sum] = "363d3a08dc0b72ba6e6577964f6e94a5" -SRCREV_k3s = "bc400f5396a3dd05584c5f45768a5ea6c43971d1" +SRCREV_k3s = "9cb5fb5716bdfb13e755206aff5688961f5bafb3" -PV = "v1.20.4+k3s1" +PV = "v1.20.11+k3s2" CNI_NETWORKING_FILES ?= "${WORKDIR}/cni-containerd-net.conf" -- 2.17.1
|
|
Re: [PATCH] xen: add missing pkgconfig inherit
Bruce Ashfield
merged.
toggle quoted messageShow quoted text
Bruce In message: [meta-virtualization] [PATCH] xen: add missing pkgconfig inherit on 12/10/2021 Ross Burton wrote:
New oe-core pulls in less default dependencies[1], so add an explicit
|
|
[PATCH] xen: add missing pkgconfig inherit
Ross Burton <ross@...>
New oe-core pulls in less default dependencies[1], so add an explicit
inherit of pkgconfig as it is needed to configure Xen. [1] https://lists.openembedded.org/g/openembedded-core/message/156185 Signed-off-by: Ross Burton <ross.burton@...> --- recipes-extended/xen/xen.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-extended/xen/xen.inc b/recipes-extended/xen/xen.inc index c0a087e..d3c7a7d 100644 --- a/recipes-extended/xen/xen.inc +++ b/recipes-extended/xen/xen.inc @@ -2,7 +2,7 @@ HOMEPAGE =3D "http://xen.org" LICENSE =3D "GPLv2" SECTION =3D "console/tools" =20 -inherit autotools-brokensep +inherit autotools-brokensep pkgconfig =20 require xen-arch.inc =20 --=20 2.25.1
|
|
Re: [hardknott][PATCH] openvswitch: Security fix for CVE-2021-36980
Xu, Yanfei
On 10/1/21 10:50 AM, Bruce Ashfield wrote:
[Please note: This e-mail is from an EXTERNAL e-mail address]Sorry for this late rely due to a long vocation. You are carrying local patches to your ovs recipe that don't match meta-virt.Thanks for remainding. I also took this as an opportunity to bump OVS in master, since I wantedI notice the ovs has been updated to 2.15.1, thanks a lot. Cheers, Yanfei Bruce"
|
|
Re: [PATCH 2/2] xen, rpi4: Use PARTUUID for rootfs discovery
Christopher Clark
On Thu, Sep 30, 2021 at 8:03 AM Bertrand Marquis <bertrand.marquis@...> wrote: Hi Luca, Thanks for posting a way of handling this. I've encountered the same unpredictable device enumeration and had been looking into whether switching the sdhci_iproc driver to PROBE_FORCE_SYNCHRONOUS instead of PROBE_PREFER_ASYNCHRONOUS would resolve it but I can't report that it does. I would prefer to have a way to get stable enumeration but without it, this is an improvement. >> Reviewed-by: Diego Sueiro <diego.sueiro@...> Reviewed-by: Bertrand Marquis <bertrand.marquis@...> Reviewed-by: Christopher Clark <christopher.w.clark@...> Tested-by: Christopher Clark <christopher.w.clark@...> Christopher
|
|
Re: [PATCH 1/2] xen, rpi4: Fix syntax in linux-yocto bbappend
Christopher Clark
On Thu, Sep 30, 2021 at 8:03 AM Bertrand Marquis <bertrand.marquis@...> wrote: Hi Luca, Reviewed-by: Diego Sueiro <diego.sueiro@...> Reviewed-by: Bertrand Marquis <bertrand.marquis@...> Reviewed-by: Christopher Clark <christopher.w.clark@...> Tested-by: Christopher Clark <christopher.w.clark@...>
Agreed! Thanks, Luca! Christopher
|
|
Re: [PATCH 1/2] xen, rpi4: Fix syntax in linux-yocto bbappend
Bruce Ashfield
FYI: Christopher is having a look at these updates.
toggle quoted messageShow quoted text
I just wanted to let everyone know that they haven't been missed. Bruce
On Thu, Sep 30, 2021 at 10:54 AM luca fancellu <luca.fancellu@...> wrote:
--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II
|
|
Re: Docker 20.10.3 breaks due to iptables v1.8.7 (legacy) incompatibility
#meta-virtualization
Adding kernel-modules did the trick, the docker daemon issued iptables command now works and supports --to-destination for dnat.
Thank-you Bruce for taking the time to explain, I've learned a ton in the process! On 01/10/2021, 13:50, "Bruce Ashfield" <bruce.ashfield@...> wrote: CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you can confirm the sender and know the content is safe. On Fri, Oct 1, 2021 at 4:35 AM Hibbert, Stephen <stephibb@...> wrote: > > Yes, you're spot on! > > Running the script reviled the following. The issue I'm having now is finding the correct way of including the configs, I tried setting them in my myKernelConfigs.cfg and IMAGE_INSTALL_append = "docker-moby-contrib kernel-module-nf-nat kernel-module-xt-conntrack kernel-module-xt-addrtype" > In the K3S recipe, we actually have finer grained RRECOMMENDS than the docker recipes (due to the way k3s was developed and integrated). In K3S, I'm currently tracking: RRECOMMENDS:${PN} = "\ kernel-module-xt-addrtype \ kernel-module-xt-nat \ kernel-module-xt-multiport \ kernel-module-xt-conntrack \ kernel-module-xt-comment \ kernel-module-xt-mark \ kernel-module-xt-connmark \ kernel-module-vxlan \ kernel-module-xt-masquerade \ " So you could try that list, or do what I normally recommend .. use the meta package "kernel-modules" and get everything that was built. Since if you are using a linux-yocto variant, you'll already be getting fragments to build the right modules as part of the kernel build. I do have a new set of tested planned for the fall that do barebones testing to ensure that we've fully listed the rdepends/rrcommends for many of the recipes in meta-virt. But for now, I'd recommend that larger package, or you can do what I did for k3s. Build a package-feed enabled image, start docker, look at the error messages, install the required module, and then repeat to get the minimum list (if a kernel module wasn't being built at all, you may need to do some rebuilding in the middle). Bruce > But running the config script still shows the output below: > > root@generic-arm64:/usr/share/docker# ./check-config.sh > info: reading kernel config from /proc/config.gz ... > Generally Necessary: > - cgroup hierarchy: properly mounted [/sys/fs/cgroup] > - CONFIG_NAMESPACES: enabled > - CONFIG_NET_NS: enabled > - CONFIG_PID_NS: enabled > - CONFIG_IPC_NS: enabled > - CONFIG_UTS_NS: enabled > - CONFIG_CGROUPS: enabled > - CONFIG_CGROUP_CPUACCT: enabled > - CONFIG_CGROUP_DEVICE: enabled > - CONFIG_CGROUP_FREEZER: missing > - CONFIG_CGROUP_SCHED: enabled > - CONFIG_CPUSETS: enabled > - CONFIG_MEMCG: enabled > - CONFIG_KEYS: enabled > - CONFIG_VETH: enabled > - CONFIG_BRIDGE: enabled (as module) > - CONFIG_BRIDGE_NETFILTER: missing > - CONFIG_NF_NAT_IPV4: missing > - CONFIG_IP_NF_FILTER: enabled (as module) > - CONFIG_IP_NF_TARGET_MASQUERADE: enabled (as module) > - CONFIG_NETFILTER_XT_MATCH_ADDRTYPE: enabled (as module) > - CONFIG_NETFILTER_XT_MATCH_CONNTRACK: enabled (as module) > - CONFIG_NETFILTER_XT_MATCH_IPVS: missing > - CONFIG_IP_NF_NAT: enabled (as module) > - CONFIG_NF_NAT: enabled (as module) > - CONFIG_NF_NAT_NEEDED: missing > - CONFIG_POSIX_MQUEUE: enabled > > On 30/09/2021, 17:48, "Bruce Ashfield" <bruce.ashfield@...> wrote: > > CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you can confirm the sender and know the content is safe. > > > > On Thu, Sep 30, 2021 at 11:40 AM Hibbert, Stephen <stephibb@...> wrote: > > > > Thanks for the reply Bruce __ Let me know if these details help? > > > > root@generic-arm64:~# uname -r > > 5.10.46-yocto-standard > > > > Only setting these two kernel configs at the moment: > > CONFIG_ENA_ETHERNET=y > > CONFIG_BLK_DEV_NVME=y > > It'll be the iptables and cgroups options that are causing issues. > > The standard layers and kernel are extensively tested with meta-virt, > so there really shouldn't be something missing. > > You can also install the docker-contrib package to your image, and run > the check-config.sh script to see if it reports any issues. > > Bruce > > > > > And these are the layers, running harknott... > > drwxrwxr-x 12 ubuntu ubuntu 4096 Sep 29 14:02 meta-arm/ > > drwxrwxr-x 8 ubuntu ubuntu 4096 Sep 29 14:00 meta-ewaol/ > > drwxrwxr-x 11 ubuntu ubuntu 4096 Sep 29 15:09 meta-openembedded/ > > drwxrwxr-x 24 ubuntu ubuntu 4096 Sep 29 14:02 meta-security/ > > drwxrwxr-x 17 ubuntu ubuntu 4096 Sep 29 14:02 meta-virtualization/ > > > > > > On 30/09/2021, 16:32, "Bruce Ashfield" <bruce.ashfield@...> wrote: > > > > CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you can confirm the sender and know the content is safe. > > > > > > > > On Thu, Sep 30, 2021 at 10:41 AM Stephen via lists.yoctoproject.org > > <stephibb=amazon.co.uk@...> wrote: > > > > > > Hello all! > > > > > > The current meta-virtualisation docker is incompatible with the legacy v1.8.7 iptables. > > > > > > Docker version 20.10.3, build 41b3ea7e47 http://layers.openembedded.org/layerindex/recipe/176817/ > > > > > > iptables v1.8.7 (legacy) https://git.yoctoproject.org/cgit.cgi/poky/plain/meta/recipes-extended/iptables/ > > > > > > level=info time=2021-09-30T08:58:56Z msg="TaskHandler: Sending task change: TaskChange: [arn:aws:ecs:eu-west-1:116589935960:task/GravitonID-ecs-ECSGra viton2DA545608-tzdG3bupgLcn/ef8d9ea15a434c298a9623551d39c6ab -> STOPPED, Known Sent: NONE, PullStartedAt: 2021-09-30 08:58:55.809460935 +0000 UTC m=+5 2315.765706001, PullStoppedAt: 2021-09-30 08:58:55.919351717 +0000 UTC m=+52315.875596782, ExecutionStoppedAt: 2021-09-30 08:58:56.159356552 +0000 UTC m=+52316.115601617, container change: arn:aws:ecs:eu-west-1:116589935960:task/GravitonID-ecs-ECSGraviton2DA545608-tzdG3bupgLcn/ef8d9ea15a434c298a9623 551d39c6ab web -> STOPPED, Reason CannotStartContainerError: Error response from daemon: driver failed programming external connectivity on endpoint e cs-GravitonIDecsTaskDefA2CA7A76-4-web-9eb9aba094eccadb1300 (db13dc1931d5be70284cac4de6899246035db8e5f9e0cf9ee3773000801a70b0): (iptables failed: ipta bles --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 8080 -j DNAT --to-destination 172.17.0.2:3000 ! -i docker0: iptables v1.8.7 (legacy): unknown optio n \"--to-destination\"\nTry `iptables -h' or 'iptables --help' for more information.\n (exit status 2)), Known Sent: NONE] sent: false" module=task_ha ndler_types.go > > > > > > Possibly linked to this issue and nftables support? https://github.com/moby/moby/issues/38099 > > > > > > Any ideas for workarounds would be very much appreciated! > > > > It's your kernel configuration, coupled with the iptables modules > > available .. but most often, it is a missing kernel module. > > > > So without knowing exactly what kernel and hardware you are running, > > it is hard to say more. > > > > Bruce > > > > > > > > > > > > > > > > > > > > -- > > - Thou shalt not follow the NULL pointer, for chaos and madness await > > thee at its end > > - "Use the force Harry" - Gandalf, Star Trek II > > > > > > > > > > Amazon Web Services EMEA SARL, 38 avenue John F. Kennedy, L-1855 Luxembourg, R.C.S. Luxembourg B186284 > > > > Amazon Web Services EMEA Sarl, UK Branch, 1 Principal Place, Worship Street, London, EC2A 2FA, United Kingdom, registered in England and Wales, UK Establishment No. BR019315 > > > > > > > -- > - Thou shalt not follow the NULL pointer, for chaos and madness await > thee at its end > - "Use the force Harry" - Gandalf, Star Trek II > > > > > Amazon Web Services EMEA SARL, 38 avenue John F. Kennedy, L-1855 Luxembourg, R.C.S. Luxembourg B186284 > > Amazon Web Services EMEA Sarl, UK Branch, 1 Principal Place, Worship Street, London, EC2A 2FA, United Kingdom, registered in England and Wales, UK Establishment No. BR019315 > > -- - Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II Amazon Web Services EMEA SARL, 38 avenue John F. Kennedy, L-1855 Luxembourg, R.C.S. Luxembourg B186284 Amazon Web Services EMEA Sarl, UK Branch, 1 Principal Place, Worship Street, London, EC2A 2FA, United Kingdom, registered in England and Wales, UK Establishment No. BR019315
|
|
Re: Docker 20.10.3 breaks due to iptables v1.8.7 (legacy) incompatibility
#meta-virtualization
Bruce Ashfield
On Fri, Oct 1, 2021 at 4:35 AM Hibbert, Stephen <stephibb@...> wrote:
In the K3S recipe, we actually have finer grained RRECOMMENDS than the docker recipes (due to the way k3s was developed and integrated). In K3S, I'm currently tracking: RRECOMMENDS:${PN} = "\ kernel-module-xt-addrtype \ kernel-module-xt-nat \ kernel-module-xt-multiport \ kernel-module-xt-conntrack \ kernel-module-xt-comment \ kernel-module-xt-mark \ kernel-module-xt-connmark \ kernel-module-vxlan \ kernel-module-xt-masquerade \ " So you could try that list, or do what I normally recommend .. use the meta package "kernel-modules" and get everything that was built. Since if you are using a linux-yocto variant, you'll already be getting fragments to build the right modules as part of the kernel build. I do have a new set of tested planned for the fall that do barebones testing to ensure that we've fully listed the rdepends/rrcommends for many of the recipes in meta-virt. But for now, I'd recommend that larger package, or you can do what I did for k3s. Build a package-feed enabled image, start docker, look at the error messages, install the required module, and then repeat to get the minimum list (if a kernel module wasn't being built at all, you may need to do some rebuilding in the middle). Bruce But running the config script still shows the output below: -- - Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II
|
|
Re: [PATCH] oath: inherit pkgconfig
Martin Jansa
I did "bitbake world" build with webOS OSE https://github.com/shr-project/build-webos/tree/honister with it's default DISTRO_FEATUREs and PNBLACKLIST, so not all of meta-virtualization was built, but most of it and this was the only failed task from there (surprisingly). But be aware that yesterday I also notice once strange issue, that a recipe "collada-dom" started to shows textrel QA issue and it was actually caused by pkgconfig not being available where do_configure "silently" failed to find system bzip2 and minizip due to missing pkgconfig and built own version instead which lead to this textrel QA issue. There might be many more recipes like this, which build something differently without pkgconfig evailable, without triggering any QA check like in this case. It might be useful to compare at least buildhistory results with and without the layer.conf change to see what else was changed unexpectedly. + RP and Khem (maybe I should report this on the layer.conf change review instead..)
On Fri, Oct 1, 2021 at 4:36 AM Bruce Ashfield <bruce.ashfield@...> wrote: I've been watching for these as well, but haven't gotten to doing
|
|
Re: Docker 20.10.3 breaks due to iptables v1.8.7 (legacy) incompatibility
#meta-virtualization
Yes, you're spot on!
Running the script reviled the following. The issue I'm having now is finding the correct way of including the configs, I tried setting them in my myKernelConfigs.cfg and IMAGE_INSTALL_append = "docker-moby-contrib kernel-module-nf-nat kernel-module-xt-conntrack kernel-module-xt-addrtype" But running the config script still shows the output below: root@generic-arm64:/usr/share/docker# ./check-config.sh info: reading kernel config from /proc/config.gz ... Generally Necessary: - cgroup hierarchy: properly mounted [/sys/fs/cgroup] - CONFIG_NAMESPACES: enabled - CONFIG_NET_NS: enabled - CONFIG_PID_NS: enabled - CONFIG_IPC_NS: enabled - CONFIG_UTS_NS: enabled - CONFIG_CGROUPS: enabled - CONFIG_CGROUP_CPUACCT: enabled - CONFIG_CGROUP_DEVICE: enabled - CONFIG_CGROUP_FREEZER: missing - CONFIG_CGROUP_SCHED: enabled - CONFIG_CPUSETS: enabled - CONFIG_MEMCG: enabled - CONFIG_KEYS: enabled - CONFIG_VETH: enabled - CONFIG_BRIDGE: enabled (as module) - CONFIG_BRIDGE_NETFILTER: missing - CONFIG_NF_NAT_IPV4: missing - CONFIG_IP_NF_FILTER: enabled (as module) - CONFIG_IP_NF_TARGET_MASQUERADE: enabled (as module) - CONFIG_NETFILTER_XT_MATCH_ADDRTYPE: enabled (as module) - CONFIG_NETFILTER_XT_MATCH_CONNTRACK: enabled (as module) - CONFIG_NETFILTER_XT_MATCH_IPVS: missing - CONFIG_IP_NF_NAT: enabled (as module) - CONFIG_NF_NAT: enabled (as module) - CONFIG_NF_NAT_NEEDED: missing - CONFIG_POSIX_MQUEUE: enabled On 30/09/2021, 17:48, "Bruce Ashfield" <bruce.ashfield@...> wrote: CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you can confirm the sender and know the content is safe. On Thu, Sep 30, 2021 at 11:40 AM Hibbert, Stephen <stephibb@...> wrote: > > Thanks for the reply Bruce __ Let me know if these details help? > > root@generic-arm64:~# uname -r > 5.10.46-yocto-standard > > Only setting these two kernel configs at the moment: > CONFIG_ENA_ETHERNET=y > CONFIG_BLK_DEV_NVME=y It'll be the iptables and cgroups options that are causing issues. The standard layers and kernel are extensively tested with meta-virt, so there really shouldn't be something missing. You can also install the docker-contrib package to your image, and run the check-config.sh script to see if it reports any issues. Bruce > > And these are the layers, running harknott... > drwxrwxr-x 12 ubuntu ubuntu 4096 Sep 29 14:02 meta-arm/ > drwxrwxr-x 8 ubuntu ubuntu 4096 Sep 29 14:00 meta-ewaol/ > drwxrwxr-x 11 ubuntu ubuntu 4096 Sep 29 15:09 meta-openembedded/ > drwxrwxr-x 24 ubuntu ubuntu 4096 Sep 29 14:02 meta-security/ > drwxrwxr-x 17 ubuntu ubuntu 4096 Sep 29 14:02 meta-virtualization/ > > > On 30/09/2021, 16:32, "Bruce Ashfield" <bruce.ashfield@...> wrote: > > CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you can confirm the sender and know the content is safe. > > > > On Thu, Sep 30, 2021 at 10:41 AM Stephen via lists.yoctoproject.org > <stephibb=amazon.co.uk@...> wrote: > > > > Hello all! > > > > The current meta-virtualisation docker is incompatible with the legacy v1.8.7 iptables. > > > > Docker version 20.10.3, build 41b3ea7e47 http://layers.openembedded.org/layerindex/recipe/176817/ > > > > iptables v1.8.7 (legacy) https://git.yoctoproject.org/cgit.cgi/poky/plain/meta/recipes-extended/iptables/ > > > > level=info time=2021-09-30T08:58:56Z msg="TaskHandler: Sending task change: TaskChange: [arn:aws:ecs:eu-west-1:116589935960:task/GravitonID-ecs-ECSGra viton2DA545608-tzdG3bupgLcn/ef8d9ea15a434c298a9623551d39c6ab -> STOPPED, Known Sent: NONE, PullStartedAt: 2021-09-30 08:58:55.809460935 +0000 UTC m=+5 2315.765706001, PullStoppedAt: 2021-09-30 08:58:55.919351717 +0000 UTC m=+52315.875596782, ExecutionStoppedAt: 2021-09-30 08:58:56.159356552 +0000 UTC m=+52316.115601617, container change: arn:aws:ecs:eu-west-1:116589935960:task/GravitonID-ecs-ECSGraviton2DA545608-tzdG3bupgLcn/ef8d9ea15a434c298a9623 551d39c6ab web -> STOPPED, Reason CannotStartContainerError: Error response from daemon: driver failed programming external connectivity on endpoint e cs-GravitonIDecsTaskDefA2CA7A76-4-web-9eb9aba094eccadb1300 (db13dc1931d5be70284cac4de6899246035db8e5f9e0cf9ee3773000801a70b0): (iptables failed: ipta bles --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 8080 -j DNAT --to-destination 172.17.0.2:3000 ! -i docker0: iptables v1.8.7 (legacy): unknown optio n \"--to-destination\"\nTry `iptables -h' or 'iptables --help' for more information.\n (exit status 2)), Known Sent: NONE] sent: false" module=task_ha ndler_types.go > > > > Possibly linked to this issue and nftables support? https://github.com/moby/moby/issues/38099 > > > > Any ideas for workarounds would be very much appreciated! > > It's your kernel configuration, coupled with the iptables modules > available .. but most often, it is a missing kernel module. > > So without knowing exactly what kernel and hardware you are running, > it is hard to say more. > > Bruce > > > > > > > > > > > > -- > - Thou shalt not follow the NULL pointer, for chaos and madness await > thee at its end > - "Use the force Harry" - Gandalf, Star Trek II > > > > > Amazon Web Services EMEA SARL, 38 avenue John F. Kennedy, L-1855 Luxembourg, R.C.S. Luxembourg B186284 > > Amazon Web Services EMEA Sarl, UK Branch, 1 Principal Place, Worship Street, London, EC2A 2FA, United Kingdom, registered in England and Wales, UK Establishment No. BR019315 > > -- - Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II Amazon Web Services EMEA SARL, 38 avenue John F. Kennedy, L-1855 Luxembourg, R.C.S. Luxembourg B186284 Amazon Web Services EMEA Sarl, UK Branch, 1 Principal Place, Worship Street, London, EC2A 2FA, United Kingdom, registered in England and Wales, UK Establishment No. BR019315
|
|
Re: [hardknott][PATCH] openvswitch: Security fix for CVE-2021-36980
Bruce Ashfield
In message: [meta-virtualization][hardknott][PATCH] openvswitch: Security fix for CVE-2021-36980
on 29/09/2021 Xu, Yanfei wrote: Open vSwitch (aka openvswitch) 2.11.0 through 2.15.0 hasYou are carrying local patches to your ovs recipe that don't match meta-virt. As such, this didn't directly apply. I fixed it up and merged it. But you should consider carrying those patches in a bbappend, so that upstream sends like this have proper context, and I can be more sure of the testing that is done on submissions. I also took this as an opportunity to bump OVS in master, since I wanted to be sure that we have the same CVE addressed there. Bruce "
|
|
Re: [PATCH] oath: inherit pkgconfig
Bruce Ashfield
I've been watching for these as well, but haven't gotten to doing
toggle quoted messageShow quoted text
my 'all' builds to trigger them. Out of curiosity, what level of coverage do you end up with on the meta-virt layers ? I'm just trying to scope out how many more of these may be lurking :D I've grabbed this, and will push it shortly. Bruce In message: [meta-virtualization][PATCH] oath: inherit pkgconfig on 30/09/2021 Martin Jansa wrote:
* Newer oe-core doesn't pull many default dependencies anymore:
|
|
Re: [PATCH] kubernetes: update sed expression
Bruce Ashfield
In message: [meta-virtualization] [PATCH] kubernetes: update sed expression
on 26/09/2021 kai wrote: From: Kai Kang <kai.kang@...>Since this wasn't actually doing anything, we could likely drop it now. I remember adding it, and without it, we'd have build issues .. so the fact that it was building without it being properly done is a good sign. That being said, since we are far along in the dev cycle, I'd rather not experiment with dropping it completely, so I've merged and pushed the change. Bruce
|
|
Re: Docker 20.10.3 breaks due to iptables v1.8.7 (legacy) incompatibility
#meta-virtualization
Bruce Ashfield
On Thu, Sep 30, 2021 at 11:40 AM Hibbert, Stephen <stephibb@...> wrote:
It'll be the iptables and cgroups options that are causing issues. The standard layers and kernel are extensively tested with meta-virt, so there really shouldn't be something missing. You can also install the docker-contrib package to your image, and run the check-config.sh script to see if it reports any issues. Bruce
-- - Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II
|
|
Re: Docker 20.10.3 breaks due to iptables v1.8.7 (legacy) incompatibility
#meta-virtualization
Thanks for the reply Bruce __ Let me know if these details help?
root@generic-arm64:~# uname -r 5.10.46-yocto-standard Only setting these two kernel configs at the moment: CONFIG_ENA_ETHERNET=y CONFIG_BLK_DEV_NVME=y And these are the layers, running harknott... drwxrwxr-x 12 ubuntu ubuntu 4096 Sep 29 14:02 meta-arm/ drwxrwxr-x 8 ubuntu ubuntu 4096 Sep 29 14:00 meta-ewaol/ drwxrwxr-x 11 ubuntu ubuntu 4096 Sep 29 15:09 meta-openembedded/ drwxrwxr-x 24 ubuntu ubuntu 4096 Sep 29 14:02 meta-security/ drwxrwxr-x 17 ubuntu ubuntu 4096 Sep 29 14:02 meta-virtualization/ On 30/09/2021, 16:32, "Bruce Ashfield" <bruce.ashfield@...> wrote: CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you can confirm the sender and know the content is safe. On Thu, Sep 30, 2021 at 10:41 AM Stephen via lists.yoctoproject.org <stephibb=amazon.co.uk@...> wrote: > > Hello all! > > The current meta-virtualisation docker is incompatible with the legacy v1.8.7 iptables. > > Docker version 20.10.3, build 41b3ea7e47 http://layers.openembedded.org/layerindex/recipe/176817/ > > iptables v1.8.7 (legacy) https://git.yoctoproject.org/cgit.cgi/poky/plain/meta/recipes-extended/iptables/ > > level=info time=2021-09-30T08:58:56Z msg="TaskHandler: Sending task change: TaskChange: [arn:aws:ecs:eu-west-1:116589935960:task/GravitonID-ecs-ECSGra viton2DA545608-tzdG3bupgLcn/ef8d9ea15a434c298a9623551d39c6ab -> STOPPED, Known Sent: NONE, PullStartedAt: 2021-09-30 08:58:55.809460935 +0000 UTC m=+5 2315.765706001, PullStoppedAt: 2021-09-30 08:58:55.919351717 +0000 UTC m=+52315.875596782, ExecutionStoppedAt: 2021-09-30 08:58:56.159356552 +0000 UTC m=+52316.115601617, container change: arn:aws:ecs:eu-west-1:116589935960:task/GravitonID-ecs-ECSGraviton2DA545608-tzdG3bupgLcn/ef8d9ea15a434c298a9623 551d39c6ab web -> STOPPED, Reason CannotStartContainerError: Error response from daemon: driver failed programming external connectivity on endpoint e cs-GravitonIDecsTaskDefA2CA7A76-4-web-9eb9aba094eccadb1300 (db13dc1931d5be70284cac4de6899246035db8e5f9e0cf9ee3773000801a70b0): (iptables failed: ipta bles --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 8080 -j DNAT --to-destination 172.17.0.2:3000 ! -i docker0: iptables v1.8.7 (legacy): unknown optio n \"--to-destination\"\nTry `iptables -h' or 'iptables --help' for more information.\n (exit status 2)), Known Sent: NONE] sent: false" module=task_ha ndler_types.go > > Possibly linked to this issue and nftables support? https://github.com/moby/moby/issues/38099 > > Any ideas for workarounds would be very much appreciated! It's your kernel configuration, coupled with the iptables modules available .. but most often, it is a missing kernel module. So without knowing exactly what kernel and hardware you are running, it is hard to say more. Bruce > > > > -- - Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II Amazon Web Services EMEA SARL, 38 avenue John F. Kennedy, L-1855 Luxembourg, R.C.S. Luxembourg B186284 Amazon Web Services EMEA Sarl, UK Branch, 1 Principal Place, Worship Street, London, EC2A 2FA, United Kingdom, registered in England and Wales, UK Establishment No. BR019315
|
|
Re: Docker 20.10.3 breaks due to iptables v1.8.7 (legacy) incompatibility
#meta-virtualization
Bruce Ashfield
On Thu, Sep 30, 2021 at 10:41 AM Stephen via lists.yoctoproject.org
<stephibb=amazon.co.uk@...> wrote: It's your kernel configuration, coupled with the iptables modules available .. but most often, it is a missing kernel module. So without knowing exactly what kernel and hardware you are running, it is hard to say more. Bruce -- - Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II
|
|
Re: [PATCH 2/2] xen, rpi4: Use PARTUUID for rootfs discovery
Bertrand Marquis
Hi Luca,
On 30 Sep 2021, at 15:54, Luca Fancellu <Luca.Fancellu@...> wrote:Reviewed-by: Bertrand Marquis <bertrand.marquis@...> Cheers Bertrand ---IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
|
|
Re: [PATCH 1/2] xen, rpi4: Fix syntax in linux-yocto bbappend
Bertrand Marquis
Hi Luca,
On 30 Sep 2021, at 15:54, Luca Fancellu <Luca.Fancellu@...> wrote:Reviewed-by: Bertrand Marquis <bertrand.marquis@...> Thanks a lot for that :-) Cheers Bertrand ---IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
|
|