summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* buildah: Fix CVE-2024-9675scarthgapPraveen Kumar2025-04-192-0/+114
| | | | | | | | | | | | | | | | | | A vulnerability was found in Buildah. Cache mounts do not properly validate that user-specified paths for the cache are within our cache directory, allowing a `RUN` instruction in a Container file to mount an arbitrary directory from the host (read/write) into the container as long as those files can be accessed by the user running Buildah. References: https://nvd.nist.gov/vuln/detail/CVE-2024-9675 https://security-tracker.debian.org/tracker/CVE-2024-9675 Upstream-patch: https://github.com/containers/buildah/commit/cffa820dc8be07efdb7fc4e8e8b9ff44c70aaf93 Signed-off-by: Praveen Kumar <praveen.kumar@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* docker: fix Upstream-Status formatMartin Jansa2025-04-092-4/+2
| | | | | | | | | | | | | | | | | * fixes: DEBUG: Executing python function do_qa_patch ERROR: QA Issue: Malformed Upstream-Status in patch TOPDIR/meta-virtualization/recipes-containers/docker/files/CVE-2024-36620.patch Please correct according to https://docs.yoctoproject.org/contributor-guide/recipe-style-guide.html#patch-upstream-status : Upstream-Status: [patch-status] ERROR: QA Issue: Malformed Upstream-Status in patch TOPDIR/meta-virtualization/recipes-containers/docker/files/CVE-2024-36621.patch Please correct according to https://docs.yoctoproject.org/contributor-guide/recipe-style-guide.html#patch-upstream-status : Upstream-Status: [patch-status] ERROR: Fatal QA errors were found, failing task. Signed-off-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* openvswitch: fix ptest contains reference to TMPDIR [buildpaths]Bin Lan2025-04-021-1/+10
| | | | | | | | | | | | | The EGREP in ptest/tests/atlocal contains the build paths. The CFLAGS in ptest/tests/atlocal contains the build paths. This change set fixs: - set EGREP to "grep -E" in ptest/tests/atlocal - set CFLAGS to " " in ptest/tests/atlocal by updating the patch openvswitch-add-ptest-71d553b995d0bd527d3ab1e9fbaf5a2ae34de2f3.patch. Signed-off-by: Bin Lan <bin.lan.cn@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* docker-moby: Fix CVE-2024-36621Praveen Kumar2025-04-022-0/+84
| | | | | | | | | | | | | | | | moby v25.0.5 is affected by a Race Condition in builder/builder-next/adapters/snapshot/layer.go. The vulnerability could be used to trigger concurrent builds that call the EnsureLayer function resulting in resource leaks/exhaustion. Reference: https://nvd.nist.gov/vuln/detail/CVE-2024-36621 Upstream-patch: https://github.com/moby/moby/commit/37545cc644344dcb576cba67eb7b6f51a463d31e Signed-off-by: Praveen Kumar <praveen.kumar@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* docker-moby: Fix CVE-2024-36620Praveen Kumar2025-04-022-0/+41
| | | | | | | | | | | | | | moby v25.0.0 - v26.0.2 is vulnerable to NULL Pointer Dereference via daemon/images/image_history.go. Reference: https://nvd.nist.gov/vuln/detail/CVE-2024-36620 Upstream-patch: https://github.com/moby/moby/commit/ab570ab3d62038b3d26f96a9bb585d0b6095b9b4 Signed-off-by: Praveen Kumar <praveen.kumar@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* criu: Adjust to glibc __rseq_size semantic changeGuocai He2025-04-022-1/+96
| | | | | | | | | | | On criu version 3.19.0: When use "criu restore -d -D checkpoint" to restore, the error is: 1272: Error (criu/cr-restore.c:1498): 1295 killed by signal 11: Segmentation fault The root casue is that the glibc updated and criu should adjust to glibc __rseq_size semantic change. Signed-off-by: Guocai He <guocai.he.cn@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* tini: Support posix basename from musl libcKyungjik Min2025-03-242-0/+77
| | | | | | | This fixes building with musl libc. Signed-off-by: Kyungjik Min <dpmin7@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* docker-distribution: fix CVE-2025-24976Chen Qi2025-03-062-0/+50
| | | | | | | Backport patch to fix CVE-2025-24976. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* crun: patch CVE-2025-24965Peter Marko2025-03-062-0/+46
| | | | | | | Pick commit https://github.com/containers/crun/commit/0aec82c2b686f0b1793deed43b46524fe2e8b5a7 Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* podman: fix CVE-2024-9676Chen Qi2025-01-302-0/+188
| | | | | | | Backport patch to fix CVE-2024-9676. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* buildah: fix CVE-2024-9676Chen Qi2025-01-302-0/+188
| | | | | | | Backport patch to fix CVE-2024-9676. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* cri-o: update to 1.30.8Chen Qi2025-01-301-2/+2
| | | | | | | | | The following two patches are dropped as they are in 1.30.8: - CVE-2024-5154-0001.patch - CVE-2024-5154-0002.patch Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* runc-opencontainers: upgrade 1.1.12 -> 1.1.14Hugo SIMELIERE2025-01-071-2/+2
| | | | | | | | | | | | | Alignment with runc-docker version Includes fix for CVE-2024-45310 and other bug fixes Changelog: ========== https://github.com/opencontainers/runc/blob/v1.1.14/CHANGELOG.md Signed-off-by: Bruno VERNAY <bruno.vernay@se.com> Signed-off-by: Hugo SIMELIERE <hsimeliere.opensource@witekio.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* podman-compose: Add runtime dependenciesLeonard Anderweit2025-01-071-1/+4
| | | | | | | | | Add missing runtime dependencies on python modules asyncio, json and getpass provided by unixadmin. Sort the dependencies alphabetically while at it. Signed-off-by: Leonard Anderweit <l.anderweit@phytec.de> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen.inc: python 3.12: fix datetime deprecation warningStanley Stanton2024-11-271-1/+1
| | | | | | | | | | | | | | | | | | | Parsing xen.inc with a host distro that provides python 3.12 (such as Ubuntu 24.04) generates the following deprecation warning: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC) This warning comes from the use of datetime.datetime.utcfromtimestamp() in get_build_time_vars. datetime.UTC seems to be a getter wrapper for datetime.timezone.utc, which is already available on older host distro python versions (I have tested only with python 3.10 provided by Ubuntu 22.04) so, opt to use that instead to prevent a breaking change. Signed-off-by: Stanley Stanton <stanley.stanton@taitcommunications.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* libvirt: set USERADD_DEPENDS to avoid package_write_rpm failureChen Qi2024-11-121-0/+2
| | | | | | | | | | | | | | | | | | | | When do_package uses state cache and is not re-run but do_package_write_rpm is re-run, then we get the following error: Exception: KeyError: 'getpwuid(): uid not found: 996' This is because libvirt does chown to polkitd in do_install and polkitd is from polkit. Here's an easy way to reproduce this issue: bitbake libvirt -c cleansstate && bitbake libvirt -c package && \ bitbake libvirt -c clean && bitbake libvirt -c package_write_rpm So make use of USERADD_DEPENDS to ensure polkitd exists to fix this issue. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* go-cli: use main branchMartin Jansa2024-11-121-1/+1
| | | | | | | * master was renamed to main long time ago Signed-off-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* runc-docker: upgrade 1.1.12 -> 1.1.14yocto-5.0.5scarthgap-5.0.5Divya Chellam2024-11-021-2/+2
| | | | | | | | | | | Includes fix for CVE-2024-45310 and other bug fixes Changelog: ========== https://github.com/opencontainers/runc/blob/v1.1.14/CHANGELOG.md Signed-off-by: Divya Chellam <divya.chellam@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* container-host-config: Remove centos registryLukasz Czechowski2024-11-021-1/+1
| | | | | | | | | | Update registry list by removing 'registry.centos.org' entry. This registry is no longer available. Decommissioning of the registry was announced in the thread: https://lists.centos.org/hyperkitty/list/devel@lists.centos.org/thread/EHGCQUHLDQ6LI474ZAB7MPRZFJD77P3S/ Signed-off-by: Lukasz Czechowski <lukasz.czechowski@thaumatec.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* linux-yocto_virtualization.inc: If using externalsrc adjust dependencyMark Hatle2024-10-101-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When using externalsrc, the system will disable a number of tasks such as do_validate_branches, do_unpack and do_patch. The do_kernel_metadata task is configured to run after do_validate_branches do_unpack and before do_patch. Since all of these have been removed, the task will never run. The do_kernel_metadata task is responsible for populating the recipe-sysroot-native/kcfg directory via it's own dependency to yocto-cfg-fragments-native:do_populate_sysroot. Without do_kernel_metadata running, do_kernel_configme will fail to run with errors like: ERROR: linux-xlnx-6.6.40+git-r0 do_kernel_configme: Feature '../recipe-sysroot-native/kcfg/cfg/virtio.scc' not found, this will cause configuration failures. ERROR: linux-xlnx-6.6.40+git-r0 do_kernel_configme: Check the SRC_URI for meta-data repositories or directories that may be missing ERROR: linux-xlnx-6.6.40+git-r0 do_kernel_configme: Set KERNEL_DANGLING_FEATURES_WARN_ONLY to ignore this issue Fix this issue by detecting if we're running with externalsrc, and then adding the task do_kernel_metadata (from the current recipe) as a dependency of do_kernel_configme. To reproduce th original issue: $ . ./oe-initbuild-env $ bitbake linux-yocto -c patch $ cp -r tmp/work-shared/<machine>/kernel-source linux-yocto edit the conf/local.conf adding: DISTRO_FEATURES:append = " virtualization" INHERIT += "externalsrc" EXTERNALSRC:pn-linux-yocto = "${TOPDIR}/linux-yocto" $ rm -rf tmp $ bitbake linux-yocto -c menuconfig Signed-off-by: Mark Hatle <mark.hatle@amd.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* device-tree: Rename EXTRA_OVERLAYS to EXTRA_DT_INCLUDE_FILESSandeep Gundlupet Raju2024-10-101-10/+10
| | | | | | | | | Rename EXTRA_OVERLAYS to EXTRA_DT_INCLUDE_FILES as these variables are renamed in https://github.com/Xilinx/meta-xilinx/blob/master/meta-xilinx-core/recipes-bsp/device-tree/device-tree.bb recipe. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen: port xen-tools.inc from masterBruce Ashfield2024-09-271-0/+7
| | | | | | | | | | The cherry-pick of xen-4.19 from master missed the xen-tools.inc file. This results in 9p not being packaged and a QA error during the build. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* python3-colorama: drop recipeBruce Ashfield2024-09-261-14/+0
| | | | | | | We no longer need our own pinned version of this recipe, and it causes us issues with meta-python. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen: cherry pick xen 4.19 from masterBruce Ashfield2024-09-254-0/+151
| | | | | | | | | | | Introducing the xen-4.19 release to scarthgap -stable release. Interested users can set their preferred version in their configuration as this is NOT the default in scarthgap. Any fixes must go to master before being considered here. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* u-boot-xlnx-scr.bbappend: Fix xen boot script comparisonMark Hatle2024-09-251-1/+1
| | | | | | | | | | | | Some versions of python/bitbake appear to allow 'true' and 'false', but this is incorrect, True and False are the correct boolean variables. Fixes: ERROR: ExpansionError during parsing .../meta-xilinx/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-scr.bb Signed-off-by: Mark Hatle <mark.hatle@amd.com> Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* u-boot-xlnx-scr.bbappend: Enable xen boot script using variableJohn Vicky Vykuntapu2024-09-111-2/+4
| | | | | | | | | | | | | | | Xen related boot script offset was override from meta-virtualization for non xen builds. ERROR: RD image overlaps OS image (OS=0xe00000..0x2610000) Add to include xen boot script only if ENABLE_XEN_UBOOT_SCR variable set from the configuration file and xen enabled in DISTRO_FEATURES to avoid override. Signed-off-by: John Vicky Vykuntapu <johnvicky.vykuntapu@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen-image-minimal: Add missing dependency causing intermittent failuresRichard Purdie2024-08-011-0/+1
| | | | | | | | | | | | | | | "bitbake xen-image-minimal -c do_image_wic" fails with: | ERROR: _exec_cmd: install -m 0644 tmp/deploy/images/qemux86-64/xen-qemux86-64.gz tmp/work/qemux86_64-poky-linux/xen-image-minimal/1.0/tmp-wic/hdd/boot/xen.gz returned '1' instead of 0 | output: install: cannot stat 'tmp/deploy/images/qemux86-64/xen-qemux86-64.gz': No such file or directory | | WARNING: exit code 1 from a shell command. ERROR: Task (/media/build/poky/meta-virtualization/recipes-extended/images/xen-image-minimal.bb:do_image_wic) failed with exit code '1' Add the missing dependency to avoid this. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* docker-distribution: Use dup3 for riscv64Mingli Yu2024-07-222-0/+43
| | | | | | | | | Use dup3 instead for riscv64 as there is no dup2 on riscv64 linux to fix the below build failure: vendor/github.com/bugsnag/panicwrap/dup2.go:10:9: undefined: syscall.Dup2 Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* docker-distribution: Enable support for riscv64Mingli Yu2024-07-221-2/+0
| | | | | | | | | Revert [1] to enable support for riscv64. [1] https://git.yoctoproject.org/meta-virtualization/commit/?id=3626f2c9ccd56c6a3ee51304a7da7aafb395a588 Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* lxc: Fix meson build issuePawan Badganchi2024-07-221-2/+1
| | | | | | | | | | | | | Build is failing during do_configure stage for lxc as meson does not support --with-systemdsystemunitdir config parameter. Error: meson: error: unrecognized arguments: --with-systemdsystemunitdir=/etc/systemd/system/ Hence, use -Dsystemd-unitdir config parameter instead. Signed-off-by: Pawan Badganchi <badganchipv@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* podman-compose: Switch branch to mainDaniel Schultz2024-07-101-1/+1
| | | | | | | | The podman-compose repository has no stable branch anymore and release 1.0.6 is located on main now. Signed-off-by: Daniel Schultz <d.schultz@phytec.de> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* libvirt: fix multiple CVEsHitendra Prajapati2024-07-104-0/+379
| | | | | | | | | | | Backport fixes for: * CVE-2024-1441 - Upstream-Status: Backport from https://gitlab.com/libvirt/libvirt/-/commit/c664015fe3a7bf59db26686e9ed69af011c6ebb8 * CVE-2024-2494 - Upstream-Status: Backport from https://gitlab.com/libvirt/libvirt/-/commit/8a3f8d957507c1f8223fdcf25a3ff885b15557f2 * CVE-2024-4418 - Upstream-Status: Backport from https://gitlab.com/libvirt/libvirt/-/commit/8074d64dc2eca846d6a61efe1a9b7428a0ce1dd1 Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* buildah: upgrade to 1.34.3Yogita Urade2024-05-291-2/+2
| | | | | | | | | | | | | | | | | | | | Includes fix for: CVE-2024-1753 Changelog: ========= 2db756331 (tag: v1.34.3) [release-1.34] Bump Buildah to v1.34.3 699d1ed51 [release-1.34] CVE-2024-24786 protobuf to 1.33 4ffe07267 Merge pull request #5419 from TomSweeneyRedHat/dev/tsweeney/cve-1.34 968e8ab62 [release-1.34] Bump to Buildah v1.34.3-dev 776a1463d (tag: v1.34.2) [release-1.34] Bump to Buildah v1.34.2 afc086b65 conformance tests: don't break on trailing zeroes in layer blobs 3deda1913 [release-1.34] CVE-2024-1753 container escape fix 14d60c988 Merge pull request #5365 from edsantiago/skip_unshare_on_rhel--1.34 4f775b4a1 tests: skip_if_no_unshare(): check for --setuid dbeb097c6 Merge pull request #5352 from TomSweeneyRedHat/dev/tsweeney/buildah_1_34_1 Signed-off-by: Yogita Urade <yogita.urade@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* kubernetes: Pass -trimpath to buildChangqing Li2024-05-021-0/+1
| | | | | | | | | | | | Fix following QA WARNING: WARNING: QA Issue: File /usr/bin/kubectl in package kubectl contains reference to TMPDIR [buildpaths] WARNING: QA Issue: File /usr/bin/kubeadm in package kubeadm contains reference to TMPDIR [buildpaths] WARNING: QA Issue: File /usr/bin/kube-proxy in package kube-proxy contains reference to TMPDIR [buildpaths] WARNING: QA Issue: File /usr/bin/kube-apiserver in package kubernetes-misc contains reference to TMPDIR WARNING: QA Issue: File /usr/bin/kubelet in package kubelet contains reference to TMPDIR [buildpaths] Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* containerd-opencontainers: fix wrong version displayChangqing Li2024-05-022-4/+31
| | | | | | | | | | | | | | * Update containerd to v2 to fix following containerd version: containerd github.com/containerd/containerd/v2 2.0.0-beta.0+unknown it should be like: containerd github.com/containerd/containerd/v2 v2.0.0-beta.2-204-gb1624c362.m b1624c3628954e769dd50783b63823040b2db38c.m * Remove CONTAINERD_PKG, it is not used * Update default PACKAGE in Makefile to v2 Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* cni: pass BuildVersion info to avoid runtime warningChangqing Li2024-05-021-1/+2
| | | | | | | | | | The default value of BuildVersion is 'unknown' and it requires an override at link time to embed such version info into binary. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* kubernetes: skip textrel QA warningChangqing Li2024-05-021-1/+1
| | | | | | | | | | | | | | | -buildmode=pie need cgo is enabled, but for kubernetes, some build targets are static, and cgo is disable in build script directly, refer [1]. If we add -buildmode=pie by default, will cause these static target build failed with error "-buildmode=pie requires external (cgo) linking, but cgo is not enabled". This warning is acceptable, so just skip it. [1] https://github.com/kubernetes/kubernetes/blob/master/hack/lib/golang.sh#L811 Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* podman: Fix missing brace in FILESTheodore A. Roth2024-05-021-1/+1
| | | | | | | | | When converting to use {systemd_user_unitdir}, the closing brace was omitted Signed-off-by: Theodore A. Roth <theodore_roth@trimble.com> Signed-off-by: Theodore A. Roth <troth@openavr.org> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* ceph: Add the missing Upstream-Status FieldMingli Yu2024-05-021-0/+2
| | | | | | | | | | | | Fixes: INFO: Traceback (most recent call last): File "/build/layers/oe-core/scripts/lib/checklayer/cases/common.py", line 87, in test_patches_upstream_status self.assertEqual(len(patches), 0 , \ AssertionError: 1 != 0 : Found following patches with malformed or missing upstream status: /build/layers/meta-virtualization/recipes-extended/ceph/ceph/0001-delete-install-layout-deb.patch Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* diod: Build in 32bit systems with 64bit time_tOla x Nilsson2024-04-252-0/+101
| | | | | Signed-off-by: Ola x Nilsson <olani@axis.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* podman: fix location of user systemd service unitsLukasz Czechowski2024-04-221-2/+2
| | | | | | | | | | | The value of USERSYSTEMDDIR is currently set to ${systemd_unitdir}/user, which might not be present in user unit search path. Use dedicated bitbake variable ${systemd_user_unitdir} instead. Signed-off-by: Lukasz Czechowski <lukasz.czechowski@thaumatec.com> Cc: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* kernel/cfg: update SRCREV to sync lxc optionsBruce Ashfield2024-04-101-1/+1
| | | | | | | Bumping the SRCREV to pickup the latest lxc configuration tweaks and consoliation. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* lxc: fix broken test casesXiangyu Chen2024-04-093-0/+166
| | | | | | | | Upstream dropped cgroup handling in lxc-test-usernic lxc-test-unpriv and lxc-test-apparmor-mount to fix the broken cases. Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* libvirt: add libvirt-dbusMathieu Dupré2024-04-091-0/+23
| | | | | | | | | | | libvirt-dbus provides a dBus interface for libvirt. It can be needed as dependency for some virtualization packages, such as `cockpit-machines`. Compilation tested on x86-64 and aarch64 machines. Signed-off-by: Mathieu Dupré <mathieu.dupre@savoirfairelinux.com> Signed-off-by: Paul Le Guen de Kerneizon <paul.leguendekerneizon@savoirfairelinux.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* runc-docker: update to 1.1.12Bruce Ashfield2024-04-091-2/+2
| | | | | | | | | | | | | | | | | | | | Bumping runc to version v1.1.12-2-ga9833ff3, which comprises the following commits: 29d6d873 VERSION: back to development 51d5e946 VERSION: release 1.1.12 e9665f4d init: don't special-case logrus fds 683ad2ff libcontainer: mark all non-stdio fds O_CLOEXEC before spawning init b6633f48 cgroup: plug leaks of /sys/fs/cgroup handle 284ba305 init: close internal fds before execve fbe3eed1 setns init: do explicit lookup of execve argument early 0994249a init: verify after chdir that cwd is inside the container 506552a8 Fix File to Close d0b1a374 keyring: update AkihiroSuda key expiry d561e5da keyring: update cyphar@cyphar.com key expiry 7887736f VERSION: back to development 4bccb38c VERSION: release 1.1.11 Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen-tools: adjust recommendations for qemu package splittingBruce Ashfield2024-04-041-0/+1
| | | | | | | | When vmsep is enabled the qemu packages are split based on meta-virt policy. Detect this distro feature and update our dependencies accordingly. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* docs/README: drop meta-oe priority recommendationBruce Ashfield2024-04-041-2/+0
| | | | | | | This hasn't been needed for over 10 years (and is in the wrong format for overrides). Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* podman: update to 5.0.1Bruce Ashfield2024-04-041-2/+2
| | | | | | | | | | | | | | | | | | | Bumping libpod to version v5.0.1-4-gbb81e85a4, which comprises the following commits: 63f6a78eb Packit: Enable CentOS Stream 10 update job e22c9dd65 Bump to v5.0.2-dev 946d055df Bump to v5.0.1 131f3d089 Add release notes for v5.0.1 2967eb9a2 [v5.0] libpod: restart always reconfigure the netns 92b3cda79 [v5.0] use new c/common pasta2 setup logic to fix dns b1dbd477e [v5.0] Bump Buildah to v1.35.3 ebe3f395b hyperv: error if not admin 4b54d1824 libpod: don't warn about cgroupsv1 on FreeBSD 312313872 Use built-in ssh impl for all non-pty operations 70fe2a1c9 fix remote build isolation on client side bfc63cc32 fix remote build isolation when server runs as root Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* openvswitch: 3.3.0Bruce Ashfield2024-04-041-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumping ovs to version v3.3.0-26-g1c1f173ce, which comprises the following commits: 1c1f173ce dpif-netdev: Fix crash due to tunnel offloading on recirculation. feb0fefd8 netdev-dpdk: Disable outer UDP checksum offload for ice/i40e driver. 3280d95c4 ovs-monitor-ipsec: LibreSwan autodetect paths. 4fedcae6e route-table: Avoid routes from non-standard routing tables. 9f39cd4a1 ovs-tcpdump: Fix cleanup mirror failed with twice fatal signals. 7fa40643e ofproto-dpif: Fix tunnel with different name del/add failure. 04dc9d117 ofpbuf: Prevent undefined behavior in ofpbuf_clone. 667c9eb2b netdev-dpdk: Fix tunnel type check during Tx offload preparation. 332300c36 netdev-dpdk: Fix TCP check during Tx offload preparation. e7778b371 netdev-dpdk: Clear inner packet marks if no inner offloads requested. c85158e26 netdev-dpdk: Clean up all marker flags if no offloads requested. a6bb8be42 github: Reduce ASLR entropy to be compatible with asan in llvm 14. 70dcee98f netdev-dpdk: Dump packets that fail Tx preparation. 5ae591757 bfd: Improve state change log message. efbc37b94 tests: Fix "SSL db: Implementation" test with openssl > 3.2.0. 0f1af687c conntrack: Fix flush not flushing all elements. 04f1984a4 m4: Fix linking with OpenSSL 1.1.0+ and 3+ on Windows. 8f903b598 ovs-pki: Fix file permissions on Windows. 300201065 bond: Reset stats when deleting post recirc rule. 02f0d6db1 ofproto-dpif-trace: Fix infinite recirculation tracing. e68ddb34b github: Temporarily disable SNAT with exhaustion system test. 95d4d7108 dp-packet: Don't offload inner csum if outer isn't supported. 05453d807 ofproto-dpif-xlate: Fix ignoring IPv6 local_ip for native tunnels. a0df9c85d netdev-dummy: Add local route entries for IP addresses. 2f742d7af tests: Move the non-local port as tunnel endpoint test. a6bdf7d31 Prepare for 3.3.1. 6c4da8cc2 Set release date for 3.3.0. 54ba53bfa system-traffic.at: Add tests with UDP tunneling of UDP traffic. 71a547474 netdev-native-tnl: Mark all vxlan/geneve packets as tunneled. 91a147ea8 netdev-linux: Only repair IP checksum in IPv4. 51ee4d36a netdev-linux: Favour inner packet for multi-encapsulated TSO. 0eb8d8116 rstp: Fix deadlock with patch ports. c67de08f1 dpif-netdev: Increase MAX_RECIRC_DEPTH to 8. 310247ae9 netdev-linux: Avoid deadlock in netdev_get_speed. e38ba0b0a ofproto-dpif-monitor: Remove unneeded calls to clear packets. 37f24aebc dp-packet: Include inner offsets in adjustments and checks. eead56062 bfd: Set proper offsets and flags in BFD packets. 2de9347a5 dp-packet: Validate correct offset for L4 inner size. 76144cc63 netdev-offload-tc: Check geneve metadata length. 5c8586b1a odp: ND: Follow Open Flow spec converting from OF to DP. 5cc4eedc6 faq: Update matching DPDK releases for older branches. 447d4ecd9 github: Bump Fedora version to 39. fe55ce37a github: Update versions of action dependencies (Node.js 20). 86f79063b mcast-snooping: Remove typedef from mcast_group_proto. b0cf73112 dp-packet: Reset offload/offsets when clearing a packet. c467a7a71 tests: ovsdb-server: Fix config-file same schema test. 2222dbb92 ci: Run system tests in a separate namespace. 0c9e932aa netdev-dpdk: Trigger port reconfiguration in main thread for resets. 928498aea tests: mcast-snooping: Stop time for the group protocol test. 6ffceaf14 dp-packet: Avoid checks while preparing non-offloading packets. a940a691e ovs-atomic: Fix inclusion of Clang header by GCC 14. e802fe79a Prepare for 3.3.0. 206dfaa36 AUTHORS: Add Dexia Li. 85bcbbed8 userspace: Enable tunnel tests with TSO. 084c80872 userspace: Support VXLAN and GENEVE TSO. 0edfe05e4 netdev-dummy: Add support and test for TSO. 76e2f20d5 userspace: Correct IPv6 header in software-GSO. 9e3c842d5 dp-packet: Set checksum flags during software TSO. 253d90075 python: ovs: flow: Add meter_id to controller. ea44cafae python: ovs: flow: Make check_pkt_len action a list. 32f6737b5 python: ovs: flow: Add idle_age to openflow flows. e72b7b6f1 python: tests: Refactor test_odp section testing. 5e45091ea python: ovs: flow: Add dp hash and meter actions. ab7d08961 python: ovs: flow: Add sample to nested actions. 9ef49ca85 python: tests: Add info and key tests for OFPFlows. 6bbbb7664 python: ovs: flow: Fix typo in n_packets. 603890d6a ovsdb-server: Make use of cooperative multitasking. 36bad3182 json: Add yielding json create/destroy functions. d4a15647b ovsdb: raft: Enable cooperative multitasking. 3c8a4e942 lib: Introduce cooperative multitasking module. 6ece3d57b timeval: Add internal timewarp interface. b222593bc mcast-snooping: Add group protocol to mdb/show output. 077d0bad0 mcast-snooping: Store IGMP/MLD protocol version. 8b51b2bcb ci: Add kernel and userspace ASAN/UBSAN tests. fc13c0d65 ci: Combine the ubsan and asan sanitizer runs. 48d4f6963 tests: Set handle_segv for UBSAN to allow SIGSEGV tests. d662eee09 ci: Add clang-analyze to GitHub actions. ed738eca3 util: Annotate function that will never return NULL. da093acc7 netdev-offload-dpdk: Replace action PORT_ID with REPRESENTED_PORT. bdf2f1677 tests: Fix 'long flow dump duration' failures due to large time warp. 8893e24d9 dpdk: Update to use v23.11. 65b22552a tests: ovsdb: Add configuration tests with config file. 47ddc474d tests: ovsdb: Add relay and replication execution with config file. 55140090e ovsdb-server: Allow user-provided config files. 99d7e8849 ovsdb: relay: Allow setting all jsonrpc session options. dd0947b87 ovsdb-cs: Add function to set all jsonrpc session options. 6de317c0e ovsdb: replication: Allow to set all jsonrpc options. 9a1b79c15 ovsdb: Embed jsonrpc session options into ovsdb jsonrpc options. 40ce846e8 jsonrpc: Add function to update all options at once. 37ab57b41 jsonrpc-server: Re-add remotes on role changes. 8c8a6f793 ovsdb-server: Add no-op config-file option. e76f84720 ovsdb-server: Database config isolation. c8c0e570d ovsdb: replication: Automatically switch read-only mode. 3ff980c85 ovsdb: replication: Isolate databases from each other. e56d30242 ovsdb: Extract relay string parsing into a separate function. 80414c3e1 ovsdb: Track jsonrpc options per remote. da1a4f699 jsonrpc-server: Add functions to convert jsonrpc options to/from json. ea4362174 ovsdb: Allow database itself to be read-only. 05d6f419c timeval: Add coverage counter for long poll interval events. 969b3a570 ofproto-dpif-upcall: Add flow_limit coverage counters. 92ff2a201 ofproto-dpif-upcall: Change flow dump duration message to WARN level. 60457a5e9 ovsdb: transaction: Calculate added/removed from diff. 7ab8f6f7c ovsdb: Preserve column diffs read from the storage. 67ee63087 ovsdb-idl.at: Test IDL behavior during database conversion. ac04dfa7e python: idl: Handle monitor_canceled. c8d85a0e4 AUTHORS: Add Brad Cowie 8aea66599 system-traffic.at: Test conntrack + FTP server running on a non-standard port. 8abe32f95 conntrack: Use helpers from committed connections. 14ef8b451 lib/conntrack: Only use given packet in protocol detection. 7b74454c7 system-tests: Test openflow matching for ct related packets with SNAT. 7404d25ea system-dpdk: Test with mlx5 devices. 915b97971 checkpatch.py: Load codespell dictionary. 21c61243f checkpatch: Fix personal word list storage. 2535d171a vconn: Count vconn_sent regardless of log level. 54b3eb531 backtrace: Fix error in log_backtrace() documentation. 94371c099 ovsdb: trigger: Do not allow conversion in read-only mode. e951af81c ovsdb: jsonrpc-server: Fix the DSCP value in default options. d07a3b798 jsonrpc: Sort JSON objects while printing debug messages. 0a2e16b67 tests: ovsdb: Use diff -up format for replay test. 7c3df3676 ovsdb-server.at: Enbale debug logs in active-backup tests. 0ef3ebb0c ovsdb: transaction: Don't try to diff unchanged columns. 6f11d9daa ovsdb: transaction: Avoid diffs for different type references. d51d4f42d ovsdb: Fix incorrect sharing of UUID and _version columns. 4102674b3 ovsdb-idl: Preserve change_seqno when deleting rows. 5c3810491 tests: Move MFEX tests to dpif-netdev. 98ee21ef6 system-dpdk: Use dummy-pmd port for packet injection. df5e5cf43 Documentation: Add section on inclusive language. de4cccf93 ci: Add make check-afxdp to GitHub actions ci. 67c53a89d ci: Allow make check-dpdk to run the MFEX tests. 26ffd192f ci: Fix dpdk build cache key generation. adfc3d4a3 ci: Add make check-system-tso to GitHub actions ci. 09958e081 ci: Add make check-system-userspace to GitHub actions ci. 15f179324 ci: Add make check-offloads to GitHub actions ci. e7b51b38f ci: Add make check-kernel to GitHub actions ci. a80883f76 ci: Fixed tests that show random failures through GitHub actions. 6660fccb1 ci: Exclude tests that show random failures through GitHub actions. 9dfa65dc7 ci: Update the GitHub Ubuntu runner image to Ubuntu 22.04. e07ae9a6d ci: Add make check-ovsdb-cluster tests to GitHub action ci. ee93f364b ci: Add JOBS variable to replace all the '-j4' instances. 4cbbf56e6 dpif-netdev: Add per PMD sleep config. a095794bc openflow: Allow CT flush to match on mark and labels. 386deb32c dpctl, ovs-ofctl: Unify parsing of ct-flush arguments. 62c5d32ad ofp-prop: Add helper for parsing and storing of ovs_u128. cc670e741 system-dpdk: Wait for MTU changes to be applied. 7067ed166 tests: Do not use zone 0 for CT limit system test. 27e0349e2 ct-dpif: Enforce CT zone limit protection. 1b3557f53 vswitchd, ofproto-dpif: Propagate the CT limit from database. 324883361 ovs-vsctl: Add limit to CT zone. 8f4b86237 dpctl: Allow the default CT zone limit to be deleted. 4b9eb061b ct-dpif: Handle default zone limit the same way as other limits. 6b1723588 tunnel: Do not carry source port from a previous tunnel. 472dd6642 netdev-offload-tc: Fix offload of tunnel key tp_src. a34e306a0 ofp-ct: Return error for unknown property in CT flush. 20022fbf5 editorconfig: Remove [*] section and trim_trailing_whitespace. 8b5fe2dc6 userspace: Add Generic Segmentation Offloading. e0056018c userspace: Respect tso/gso segment size. 6c59c1952 netdev-linux: Use ethtool to detect offload support. c8d494636 cirrus: Update from FreeBSD 12 to 14. cf984d5be appveyor: Use previous image to unblock CI. ceb29608d faq: Update matching DPDK releases for older branches. 3626c1744 ovs-ofctl: Correctly mark the CT flush commands. 40f651ce0 mcast-snooping: Fix comments format. 42c1e2efe mcast-snooping: Flush flood and report ports when deleting interfaces. 4990a9a27 mcast-snooping: Test per port explicit flooding. 4e90baca8 system-dpdk: Run traffic tests. 1d0ff364b system-dpdk: Rework cleanup for vhost-user client tests. 1c37d869c system-dpdk: Refactor tests using vhost-user ports. d0a6cf57d system-dpdk: Fix race in some vhost-user client MTU test. 64c1d16c6 system-dpdk: Remove tap interfaces from vport MTU tests. b561bbdc2 netdev-afxdp: Postpone libbpf logging helper registration. 818217eaf system-dpdk: Refactor OVS daemons helpers. e6dd50d61 tests: Define a macro to skip tc relying tests. ab3eca612 ci: Run DPDK tests in GitHub Actions. c488f28a0 system-dpdk: Don't require hugetlbfs. 209667c0e system-dpdk: Introduce helpers for testpmd. 7b514aba0 ofproto-dpif-trace: Improve conjunctive match tracing. c62b4ac8f ovs-ofctl: Implement compose-packet --bare [--bad-csum]. 3e0d8d1f4 checkpatch.at: Add cases to verify skip committer check. 74bfe3701 checkpatch: Add argument to skip committer signoff check. 4d74e2307 build-aux/extract-ofp-fields: Fix the number of Summary columns. 8b4265c11 release-process: Update LTS designation schedule example. c19a5b48b netdev-dpdk: Sync and clean {get, set}_config() callbacks. d614f2863 netdev-afxdp: Sync and clean {get, set}_config() callbacks. 169c6b2d4 netdev-dummy: Sync and clean {get, set}_config() callbacks. bf843fd43 checkpatch: Don't spell check Fixes tag. fdbf0bb2a flake8: Fix E721 check failures. 28f6e7602 build-aux: Enable flake8 checks for python extraction scripts. 20e6309ba build-aux/extract-ofp-msgs: Fix flake8 and syntax errors. 23fb4bd4b build-aux/extract-ofp-fields: Fix flake8 and syntax errors. 6625f6f2f build-aux/extract-ofp-errors: Fix flake8 and syntax errors. 51fb99290 build-aux/extract-ofp-actions: Fix flake8 and syntax errors. 723cd4c9b automake: Move build-aux EXTRA_DIST updates to their own file. 08212d755 netdev-offload: Fix Clang's static analyzer 'Division by zero' warnings. 979bc94b1 ovsdb: Fix Clang's static analyzer 'func null dereference' warnings. 03c8e8010 ofp-table: Fix count_common_prefix_run() function. 5b6021957 general: Fix Clang's static analyzer 'Dead assignment' warnings. 49096a0cf general: Fix Clang's static analyzer 'Dead initialization' warnings. fea52dc71 python: Remove duplicate UnixctlClient implementation. 2c841eef9 vswitch.xml: Add entry for dpdkvhostuser userspace-tso. e8914353c vswitch.xml: Add dpdkvhostuser group status. 594d14541 readthedocs: Use dirhtml builder. 34ae81c1f tests: Use ping timeout instead of deadline. 6cfb3d1ff tests/system-traffic: Ensure no name resolution for tcpdump. cc89bf8e2 README: Add documentation build status badge. e388bd73b readthedocs: Add the configuration file. a413fed99 tc: Improve logging of mismatched actions. bd86266ea ofproto-dpif-upcall: Pause revalidators when purging. d581473cb AUTHORS: Add Zengyuan Wang. 23a70e286 db-ctl-base: Fix memory leak of db commands. c29ba5401 tc: Add IPIP/GRE protocols to offload in IP rewrite. b16ef5200 tc: Add csum offload of IGMP/UDPLITE/SCTP in IP rewrite. f100e6a83 tests: Update some tests title prefix print. c92ded551 tests/tunnel.at: Add geneve options mirror test. 834bd9158 ofproto-dpif-upcall: Fix redundant mirror on geneve tunnel options. d76193008 tests: Add some tests for byteq module. 297db8056 AUTHORS: Add Jakob Meng. bb6ed2472 netdev-dpdk: Document rx-steering status options. e9ada1629 netdev-dpdk: Update docs for interface info. 8020eff9a netdev-dpdk: Document status options for VF MAC address. 0aeb06e1f netdev-offload-dpdk: Fix flushing of a physdev. b78427639 Documentation: Add CVE-2022-40982, aka Downfall reference. 155f632e7 connmgr: Fix ofconn configuration on vswitchd startup. 13dde1131 utilities: Add kernel_delay.py script to debug a busy Linux kernel. 4fc02650a ovsdb: Fix potential leak when making diff of conditions. a40c55eff hash: Add explicit typecasts to fix C++ compilation issues. 880a2bbb4 lib, ovsdb, vtep: Add various null pointer checks. 010c256ca lib: Add non-null assertions to some return values of `dp_packet_data`. 1b8fa4a66 checkpatch: Add checks for the subject line. 0896dc19e python: idl: Fix last-id update from a monitor reply. bac34b26a netlink-conntrack: Fix partial match of entries with SCTP. 563c50fba ovsdb-cluster.at: Remove extra ordinal schema and schema name operations. 154e4299d ofproto-dpif-xlate: Fix recirculation with patch port and controller. 9a8b39b70 ofproto-dpif-xlate: Don't reinstall removed XC_LEARN rule. bc79a7bf0 treewide: Add `ovs_assert` to check for null pointers. 40546cd6e lib, ovs-vsctl: Add zero-initializations. 1116459b3 conntrack: Remove nat_conn introducing key directionality. 85634fd58 ovsdb: raft: Support pre-vote mechanism to deal with disruptive server. bb61931dc netdev-dpdk: Disable net/tap Tx L4 checksum offloads. 13b874f4f tests/mfex: Don't require python cryptography. 28c0cec40 configure: Avoid deprecated AC_PROG_CC_C99 if possible. d3bdc7c91 tests: Fix time dependency in overlapping flows modification test. 9b7e1a753 netdev-dpdk: Clear IP packet type when no offload is requested. bf7e53bb5 python: Use build to generate PEP517 compatible archives. f1983a508 python: Use twine to upload sdist package to pypi.org. bb0dd1135 python: Rename build related code to ovs_build_helpers. 785e22f87 dpif-netdev: Fix length calculation of netdet_flow_key. 0e98b9924 doc: Fix description of max_len for controller action. 9842d89e5 docs: Fix rendering of VLAN Comparison Chart. 57cccb076 fatal-signal: Drop logging of failed dummy backtrace. eb344e0be AUTHORS: Add Colin Watson and Lucas Nussbaum. 6180fefa8 docs: Run tbl preprocessor in manpage-check rule. e46d45520 docs: Add `nowarn` region option to tables. f1305b5a2 tests: Add clang-analyzer-results to gitignore. d910fd8a0 ci: Add jobs to test -std=c99 builds. f0899b1fc tests: Fix order of includes in barrier/id-fpool/mpsc-queue tests. 1776aa17a sflow: Always enable _BSD_SOURCE. be2cd24b1 compiler.h: Don't use asm and typeof with non-GNU compilers. e3d561670 AUTHORS: Add Ivan Malov. de86c5bbd Set release date for 3.2.0. 41006c1b3 AUTHORS: Add gordonwwang and Xiaojie Chen. 0945e1a5f ovs.tmac: Fix troff warning in versions above groff-1.23. d80df0b86 AUTHORS: Update email for Simon Horman. bd78f0e2e AUTHORS: Add François Rigault. 77610902b connmgr: Count unsent async messages. cf11766cb ofproto-dpif-upcall: Fix push_dp_ops to handle all errors. eac54ee24 system-traffic.at: Avoid names veth0/veth1 in SRv6 tests. 21410ff80 dpif-netdev: Fix dpif_netdev_flow_put. da64d1b2f MAINTAINERS: Add Aaron Conole. b8d4619d3 cirrus: Update to FreeBSD 13.2. bbdfb332d MAINTAINERS: Add Kevin Traynor. 2f34475a9 ci: Fix OPTS not being passed to OSX builds. 269053bf2 ovsdb-tool: Fix json leak while showing clustered log. bd2a80b1d ovsdb-server: Fix excessive memory usage on DB open. d6fd6e591 tests: Add ovsdb execution cases for set size constraints. 2f1b43064 ovsdb: relay: Fix handling of XOR updates with size constraints. e062465a8 ovsdb: file: Fix diff application to a default column value. edfbd44ff ovsdb: file: Fix inability to read diffs that violate type size. aa56afb57 AUTHORS: Add Simon Jones. 20a7654d2 ovs-tcpdump: Clear auto-assigned ipv6 address of mirror port. 47520b33b ofproto-dpif: Fix removal of renamed datapath ports. d460c473e netdev-dpdk: Negotiate delivery of per-packet Rx metadata. feed7f677 ofproto-dpif-upcall: Mirror packets that are modified. f5188ff21 daemon.at: Correctly terminate ovsdb process in a backtrace test. 24520a401 vswitchd: Wait for a bridge exit before replying to exit unixctl. bffffd841 Prepare for post-3.2.0 (3.2.90). Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* docker-compose: update to v2.26.0Bruce Ashfield2024-04-044-566/+589
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumping compose to version v2.24.7-21-g33712277, which comprises the following commits: 33712277 chore(desktop): revised feature detection for file shares e9dc8201 Add Navigation Menu to compose up 39504607 Add support for volume Subpath option 3b541b07 Bump docker v26.0.0 25671ae6 introduce config --variables to list compose model variables 0191e69d Fix docs on default build image name 897d239f Bump compose-go to v2.0.2 c5a760ce add support for annotations 26f687a1 Revert "Bump compose-go to v2.0.1" ad414613 Bump compose-go to v2.0.1 db4ed895 feat(desktop): synchronized file share integration (#11614) 1b5fa3b9 feat(experiments): add experimental feature state (#11633) 4f97edf3 reduce timeout of the Otel tracing command bc5fc6ba fix `compose config --format json` f937e42a Bump compose-go v2.0.0 f46ca459 services shell completion bugfix b2d4c1b8 fix TestBuildPlatformsWithCorrectBuildxConfig 5a1ba0ef only use ToModel when --no-interpolate is set 17d4229e feat(desktop): add Docker Desktop detection and client skeleton (#11593) 4efb8970 chore(deps): upgrade go to 1.21.8 (#11578) f35449a6 ci(deps): bump moby/moby & docker/cli to v25.0.4 (#11566) 34b11c4f Add test summary for test jobs in ci c525373a make code simpler e99b8ace avoid duplicated "xx exited with code 0" message 8ab8df86 introduce --watch de178267 move code into small functions for better readability 1680f9a8 restore support for `config --no-interpolate` 5c4f3370 remove docker cli step in ci.yml 58ec0e9f get log to manage `attach` 349d9f34 bump compose-go to version v2.0.0-rc.8 697a48af use an dedicated compose file --quiet-pull e2e test 9b0d1ffc Add a fallback check of Watch pid on Windows False positives were detected when checking the previous watch process state d10a179f add support of QuietOption to create command 94246f3c pass QuietOption when starting dependencies from run command 9630cc58 when ran with ANSI disabled, force progress=plain 6c175548 Issue-11374: Modified compose up command to respect COMPOSE_REMOVE_ORPHANS environment variable 9b0e3d53 ci: bump engine version to `25.0.3` de3da829 sort containers to optimize scale down c79aabde discard stdout for laaarge log test 0aad3221 use listeners to collect include metrics b1c06770 docs: update cli reference link e330f590 docs: unify no trailing dots in docstrings and help (#11301) 16c8099c Use listener for file metadata 07bda596 fix deadlock collecting large logs d2034029 chore(watch): remove old `docker cp` implementation 894ab41c ci(deps): bump docker/cli to v25.0.3 (#11481) 3ba66453 pass All option to backend api.Service when length statuses is not equal to zero 2eca9313 Add OTEL specs: build, depends_on, capabilities (gpu/tpu) 1fea7c1b build(deps): bump github.com/opencontainers/image-spec acf2ffb0 feat(tracing): add project hash attr 0d48a93f chore(load): ensure context passed to load aaa7ef6d Include all networks in ContainerCreate call if API >= 1.44 6ef55a53 bump compose-go to v2.0.0-rc.4 a553db33 CI: docker engine version matrix 05bec55d build(deps): bump github.com/docker/cli 8fdd45cd chore(e2e): fix flaky test & standalone behavior (#11382) a0954dc5 ci(deps): replace buildkit to fix fsutil issues on Windows (#11426) 05820018 Fix canonical container name da1a34a8 don't check external network existence when swarm is enabled 8b023ae0 build(deps): bump github.com/docker/cli 8c80297c build(deps): bump github.com/docker/docker 7e991515 Add support for storage_opt d9791156 ci(deps): update DOCKER_CLI_VERSION to v25.0.1 71bebc16 bump compose-go to v2.0.0-rc.3 which fixes multiple compose files merge issues 25d16d1f build(deps): bump actions/upload-artifact from v3 to v4 ab97dcc7 update MAINTAINERS file a8bd3b7a Fix load .env from project directory when project file is set by COMPOSE_FILE 811364b4 use a custom version of fsutils that fixes a bug on Windows causing all Compose builds to fail 1551fcb4 introduce stopAndRemoveContainer to share logic scaling down eb4249ec bump compose-go to v2.0.0-rc.2 1e8241f6 ci(deps): upgrade to Moby v25.0.0 GA (#11381) 053a5604 docs: update link to use canonical URL for command 34ba0bc9 go.mod: github.com/moby/sys/mountinfo v0.7.1 56e38260 go.mod: github.com/google/uuid v1.5.0 c28bf522 bump version of compose-go to v2.0.0-rc.1 51c113b6 build(deps): bump github.com/docker/docker 7cdc7e15 remove watch command from the alpha command fb026543 build(deps): bump github.com/docker/cli d688d3bf fix(tracing): batch span exports to prevent blocking 898e1b60 signals/utils: always handle received signals f414bf78 fix engine version require to use healthcheck.start_interval 3c4593f2 Stop the resource timer after last expected event d2562029 build(deps): bump github.com/containerd/containerd from 1.7.11 to 1.7.12 (#11347) 26ed1051 build(deps): bump github.com/docker/docker from 25.0.0-rc.1+incompatible to 25.0.0-rc.2+incompatible (#11349) 191c10b9 build(deps): bump github.com/docker/cli from 25.0.0-rc.1+incompatible to 25.0.0-rc.2+incompatible (#11348) 5d05df6e update compose-go to version using immutable Project functions b621948c feat(cli): report more useful User-Agent on engine API requests f5c53c2d ci(deps): bump golangci-lint to v1.55.2 1cfeda71 ci(deps): bump golang to version v1.21.6 (#11331) 2bf2b22f Add source policies for build 575f2ed7 watch: remove requirements for tar binary and for sync target to be rw 5f4b22ed make docs dcf6bd77 make mocks 80823b77 go ahead and wire up sig-proxy and no-stdin for consistency with underlying docker container attach 2c16e16d docker compose attach via RunAttach (from docker/cli's docker container attach) d1be9caf build(deps): bump golang.org/x/sys from 0.15.0 to 0.16.0 c3c0cf3d build(deps): bump golang.org/x/sync from 0.5.0 to 0.6.0 (#11317) 27987415 gha: update DOCKER_CLI_VERSION to v24.0.7 566d2207 go.mod: github.com/docker/cli v25.0.0-rc.1 d09c39dc go.mod: github.com/docker/docker v25.0.0-rc.1 a1d36379 go.mod: github.com/klauspost/compress v1.17.4 0c55998b go.mod: github.com/felixge/httpsnoop v1.0.4 2f6ec9b7 go.mod: github.com/docker/go-connections v0.5.0 dcbf005f up: gracefully teardown when command ctx cancelled e105f165 introduce `stats` command ce5a0c65 Fix cancellable context detection in `AdaptCmd` f58f23a6 remove ServiceProxy which was introduced for archived compose-cli 9aa52326 go.mod: docker/docker and docker/cli v25.0.0-beta.3 ccd83b8a go.mod: github.com/gorilla/mux v1.8.1 9e57850c go.mod: github.com/docker/distribution v2.8.3 35d3a7ca go.mod: golang.org/x/crypto v0.17.0 6c998602 go.mod: golang.org/x/crypto v0.16.0 402f3688 go.mod: golang.org/x/text v0.14.0 30dd3e66 go.mod: golang.org/x/term v0.15.0 0c4fa017 Bump compose-go v2-beta.2 b12e23b0 build(deps): bump go.uber.org/mock from 0.3.0 to 0.4.0 17da54da introduce build --with-dependencies 1baa4f44 up: fix write/close race condition in logPrinter 7781b7c9 deps: update docker/cli to fix go version selection issue 785835b1 Add support for endpoint-specific MAC address e4fb5545 build do not require environment to be reslved 74cc0912 github.com/golang/mock is deprecated 5e61c62e collect services to build using WithServices fb3868ff add support for start_interval bdbda790 include disabled services for shell completion ae4fd791 bump golang to version 1.21.5 26aca867 avoid use of service.Name when iterating on project.Services 138facea project.Services is a map cda04f28 adopt compose-go/v2 85a1aec1 regen docs 9c29d223 use custom config type for OCI v1.0 df6fe59f tweak help message on oci version flag 07df9cc4 fix typo 7c8ff36d move around OCI logic, auto fallback/retry 1.1 -> 1.0 111ad3b0 fix(publish): add OCI 1.0 fallback support for AWS ECR 8026d0e2 adopt container.RestartPolicy* df1533a1 [lint] don't use deprecated types 8639fbae go mod tidy 56e2ad9e update to v1.25 for RunAttach ce1ddb6c fix combination of --pull always --no-build c5824702 build(deps): bump golang.org/x/sys from 0.14.0 to 0.15.0 1f148244 send out a cancel event on SIGINT/SIGTERM 9faef4ae Update README.md to use standard compose.yaml file name 59f11ecb Fix configs are mounted under /<id> 750553c8 introduce compose logs --index to select a replica container 8c964f5a Update E2E test 90ca13b7 Fix E2E test to have index in the correct position f9946127 Fix docs ddda59a1 Add index option to compose logs command e981c358 Add failing test 16c4241c log we don't expose service ports when --verbose 9025d63a bump ddev a1de0b96 Restore `Project` is ps json output caa0cbbc Introduce ps --orphans so user can include/exclude services not declared by project 29e9fdba let contributor know we might close unanswered issues c665c53c bump buildx to v0.12.0 and adapt code to changes a39cf75e build(deps): bump github.com/compose-spec/compose-go 46ba9c99 build(deps): bump github.com/spf13/cobra from 1.7.0 to 1.8.0 5c5d30c6 build(deps): bump github.com/docker/cli 36fa8d4e build(deps): bump github.com/docker/docker 2384635e build(deps): bump github.com/moby/buildkit from 0.12.2 to 0.12.3 2ba5e4c1 in watch mode force pull policy to build for services with both build and develop attributes This default behaviour will force a rebuild of the service images at watch process startup and be sure containers will be in sync with the local source code b1a26dac Assume /src/pkg/compose/testdata absolute workingdir to make tests reproducible 5e77ae92 avoir use of []types.ServiceConfig f5572201 identify services to build and don't display 'building' if none 8e1b3236 fix --remove-orphans not to consider disabled services as orphaned 7cb1f8ba introduce RuntimeVersion for code to check container runtime supports required features cb01186c push also consider build.tags 9c4efbdd Strip project prefix from docker-compose up output 8ea7c9e0 Make it context aware and add test skipping options c1694360 render quiet after filtering applied 254a94b0 bump golang to version 1.21.4 cf608fa9 bump compose-go to v1.20.1 426377a4 reject compose file using `secrets|configs.driver or template_driver` 493f6c80 skips flaky e2e tests on watch and attach 646a8fc0 fix docker/compose#11170 add newline in cmd/compose/build.go fmt.Fprint 2945532f fix --pull documentation e5cd265a improve watch configuration logging Add action associated to each managed path d646d757 lint 71237ef6 do not resolve cache dir until remote resource is in use 0d905a89 add a copyright notice with original author b847c7f5 implement runtime file selection 5e3d8f67 re-implement cache folder detection 67279088 introduce --resolve-image-digests for publish to seal service images by digest 4cd61957 fix build 0d4cbbdb fix 9631a49d ENGDOCS-1764 328ca3f2 add docs upstream validation workflow e1bbfc63 build(deps): bump go.uber.org/goleak from 1.2.1 to 1.3.0 616bba0a linter errors fixed ee6e3c2a NetworkList to NetworkInspect for ID search c7e31a3c Squashing feature branch commits in order to add signoff message. 704a9fd3 Use project.ServiceNames() if no service specified in hash d9e0e42d Add branch configuration for pull_request trigger c48e3c4a Initial codeql.yml commit dd0803db fix SIGTERM support to stop/kill stack 39008c53 align with OCI artifact best practices 6c345b37 refactor(cmd/compose/run): remove redundant `len` check 1ffa194e fail start if depependency is missing b9298101 check that the pull policy provided is a valid one or is not missing when --pull is used 3d0207eb remove uncessary return value of pullComposeFiles function 16a7c209 enable profile when down is ran with explicit service names 818bc3c3 add sync+restart action to watch attribute 38bc6d5d build(deps): bump github.com/containerd/containerd from 1.7.6 to 1.7.7 0b6ce6ee build(deps): bump github.com/google/go-cmp from 0.5.9 to 0.6.0 ae16bbbf build(deps): bump google.golang.org/grpc from 1.58.2 to 1.59.0 d13ad1f9 build(deps): bump golang.org/x/sync from 0.3.0 to 0.4.0 9b4d577c remove refrecence docs generation 14b43c1a remove cucumber tests as we haven't added new ones for a while 9dd081b9 add support of COMPOSE_ENV_FILES env variable to pass a list of env files 2c0b0232 add dry-run support for publish command 599e4b24 extract method to reduce cyclomatic complexity fe8c2780 warn user remote resource is disabled a345515f Don't delete dependent services 8967df7a Apply platform before hashing 4f694919 deps: remove deprecated github.com/pkg/errors 6ecab957 Include image name in error message 12e0ac89 pkg/compose/publish: use empty config descriptor mediaType a6b7d785 pkg/remote/oci: check artifactType instead of config.mediaType 991901f2 pkg/remote/oci: refer to the manifest as manifest 2d971fc9 update the watch warning message when no services with a develop section 78f33619 ci: enable verbose output for e2e tests (#11045) 44d21280 truncate command by default, introduce --no-trunc flag to get the full command ff2ff18c build(deps): bump google.golang.org/grpc from 1.58.1 to 1.58.2 ab81db5b config --xx don't need `env_file` being parsed 61c8be11 remove --timeout=0 flag to cleanup function of watch e2e test compose down command need the watch process to be killed to succeed 6be5f300 move watch from alpha to main command c34c306c TestWatch to use new `develop` section 5ca35c88 implement publish 805541be watch: use official `develop` section (#11026) 8f489d6d build(deps): bump github.com/opencontainers/image-spec 9ea8fbc6 build(deps): bump github.com/moby/buildkit from 0.12.1 to 0.12.2 76f150e4 build(deps): bump gotest.tools/v3 from 3.5.0 to 3.5.1 f447c809 build(deps): bump google.golang.org/grpc from 1.58.0 to 1.58.1 4587d4ba build(deps): bump github.com/containerd/containerd from 1.7.3 to 1.7.6 a697a069 introduce pull --missing flag to only pull images not present in cache 8af49ff3 resolve service reference into container based on observed state f6e31dbc don't rely on depends_on to resolve volume_from, better use observed state 6d5eb6fd update to go1.21.1 9d7e0ad6 correct scale error messages formatting 1a98a70b add scale command 19bbb12f ci: tweak restricted imports in linter (#10992) 7a134578 deps: upgrade Moby to v24.0.6 and gRPC to v1.58.0 (#10991) 13115468 cli: fix `--build` flag for `create` (#10982) e1aa4f77 otel: add args & flags to cli traces (#10974) d7b0b2bd watch: build & launch the project at start (#10957) e0f39ebb pull OCI remote resource c9d54f09 introduce publish (alpha) command 52e54ef9 doc: updated README.md to remove broken link f4f2e934 migrate to github.com/distribution/reference 32c3d0a3 Enable service explicitly requested to be restarted 1fdbcb62 build: pass BuildOptions around explicitly & fix multi-platform issues 407a0d5b up: fix various race/deadlock conditions on exit (#10934) 8caa6f1f pkg/api: replace uuid for basic random id Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>