Fix podman install issue and add required dependent packages
Merge Checklist
All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)
- [x] The toolchain has been rebuilt successfully (or no changes were made to it)
- [x] The toolchain/worker package manifests are up-to-date
- [x] Any updated packages successfully build (or no packages were changed)
- [x] Packages depending on static components modified in this PR (Golang,
*-staticsubpackages, etc.) have had theirReleasetag incremented. - [x] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
- [x] All package sources are available
- [x] cgmanifest files are up-to-date and sorted (
./cgmanifest.json,./toolkit/scripts/toolchain/cgmanifest.json,.github/workflows/cgmanifest.json) - [x] LICENSE-MAP files are up-to-date (
./LICENSES-AND-NOTICES/SPECS/data/licenses.json,./LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md,./LICENSES-AND-NOTICES/SPECS/LICENSE-EXCEPTIONS.PHOTON) - [x] All source files have up-to-date hashes in the
*.signatures.jsonfiles - [x]
sudo make go-tidy-allandsudo make go-test-coveragepass - [x] Documentation has been updated to match any changes to the build system
- [ ] Ready to merge
Summary
Fix podman install issue and add required dependent packages
Change Log
- Changed podman spec to fix install issue due to dependent package wrong version constraint
- Add new package crun
- Upgrade criu to required support version
Does this affect the toolchain?
NO
Test Methodology
- Pipeline build id: 978613
Local builds and install tests are performed. Following are the test results -
sandeep@marinerDevVM [ ~/src/azurelinux/out/RPMS/x86_64 ]$ ls crit-4.1.1-1.azl3.x86_64.rpm criu-libs-4.1.1-1.azl3.x86_64.rpm podman-5.6.1-3.azl3.x86_64.rpm python3-libmount-2.40.2-1.azl3.x86_64.rpm criu-4.1.1-1.azl3.x86_64.rpm criu-ns-4.1.1-1.azl3.x86_64.rpm podman-debuginfo-5.6.1-3.azl3.x86_64.rpm util-linux-2.40.2-1.azl3.x86_64.rpm criu-amdgpu-plugin-4.1.1-1.azl3.x86_64.rpm crun-1.24-1.x86_64.rpm podman-remote-5.6.1-3.azl3.x86_64.rpm util-linux-debuginfo-2.40.2-1.azl3.x86_64.rpm criu-cuda-plugin-4.1.1-1.azl3.x86_64.rpm crun-debuginfo-1.24-1.x86_64.rpm podman-tests-5.6.1-3.azl3.x86_64.rpm util-linux-devel-2.40.2-1.azl3.x86_64.rpm criu-debuginfo-4.1.1-1.azl3.x86_64.rpm gssdp-1.6.3-1.azl3.x86_64.rpm podmansh-5.6.1-3.azl3.x86_64.rpm util-linux-lang-2.40.2-1.azl3.x86_64.rpm criu-devel-4.1.1-1.azl3.x86_64.rpm gssdp-devel-1.6.3-1.azl3.x86_64.rpm python3-criu-4.1.1-1.azl3.x86_64.rpm util-linux-libs-2.40.2-1.azl3.x86_64.rpm sandeep@marinerDevVM [ ~/src/azurelinux/out/RPMS/x86_64 ]$ sudo tdnf install podman* [sudo] password for sandeep: Loaded plugin: tdnfrepogpgcheck Installing: apr x86_64 1.7.5-1.azl3 azurelinux-official-base 652.81k 228.15k libcontainers-common noarch 20240213-3.azl3 azurelinux-official-base 136.31k 132.15k catatonit x86_64 0.1.7-23.azl3 azurelinux-official-extended-preview 1.10M 348.75k slirp4netns x86_64 1.3.1-2.azl3 azurelinux-official-extended 110.16k 73.10k socat x86_64 1.7.4.4-2.azl3 azurelinux-official-base 655.47k 244.54k skopeo x86_64 1.14.4-6.azl3 azurelinux-official-base 33.53M 10.51M apr-util x86_64 1.6.3-2.azl3 azurelinux-official-base 227.52k 115.17k httpd-tools x86_64 2.4.65-1.azl3 azurelinux-official-base 209.65k 92.84k buildah x86_64 1.41.4-3.azl3 azurelinux-official-extended-preview 34.96M 11.83M conmon x86_64 2.1.8-1.azl3 azurelinux-official-base 341.77k 70.44k podmansh x86_64 5.6.1-3.azl3 @cmdline 1.62k 107.12k podman-tests x86_64 5.6.1-3.azl3 @cmdline 40.73M 13.80M podman-remote x86_64 5.6.1-3.azl3 @cmdline 35.96M 12.13M podman-debuginfo x86_64 5.6.1-3.azl3 @cmdline 132.36M 41.14M podman x86_64 5.6.1-3.azl3 @cmdline 54.63M 19.11M
Total installed size: 335.55M Total download size: 109.90M Is this ok [y/N]: y apr 233629 100% libcontainers-common 135324 100% catatonit 357119 100% slirp4netns 74854 100% socat 250412 100% skopeo 11019851 100% apr-util 117935 100% httpd-tools 95070 100% buildah 12402347 100% conmon 72131 100% Testing transaction Running transaction Installing/Updating: libcontainers-common-20240213-3.azl3.noarch Installing/Updating: apr-1.7.5-1.azl3.x86_64 Installing/Updating: apr-util-1.6.3-2.azl3.x86_64 Installing/Updating: httpd-tools-2.4.65-1.azl3.x86_64 Installing/Updating: skopeo-1.14.4-6.azl3.x86_64 Installing/Updating: buildah-0:1.41.4-3.azl3.x86_64 Installing/Updating: conmon-2.1.8-1.azl3.x86_64 Installing/Updating: socat-1.7.4.4-2.azl3.x86_64 Installing/Updating: slirp4netns-1.3.1-2.azl3.x86_64 Installing/Updating: catatonit-0.1.7-23.azl3.x86_64 Installing/Updating: podman-0:5.6.1-3.azl3.x86_64 Installing/Updating: podmansh-0:5.6.1-3.azl3.x86_64 Installing/Updating: podman-tests-0:5.6.1-3.azl3.x86_64 Installing/Updating: podman-debuginfo-0:5.6.1-3.azl3.x86_64 Installing/Updating: podman-remote-0:5.6.1-3.azl3.x86_64 (re)generate initramfs for all kernels, transfilertriggerin 3.0-5.azl3 Generating grub configuration file ... Found linux image: /boot/vmlinuz-6.6.104.2-1.azl3 Found initrd image: /boot/initramfs-6.6.104.2-1.azl3.img Found linux image: /boot/vmlinuz-6.6.82.1-1.azl3 Found initrd image: /boot/initramfs-6.6.82.1-1.azl3.img Found linux image: /boot/vmlinuz-6.6.104.2-1.azl3 Found initrd image: /boot/initramfs-6.6.104.2-1.azl3.img Found linux image: /boot/vmlinuz-6.6.82.1-1.azl3 Found initrd image: /boot/initramfs-6.6.82.1-1.azl3.img Warning: os-prober will not be executed to detect other bootable partitions. Systems on them will not be added to the GRUB boot configuration. Check GRUB_DISABLE_OS_PROBER documentation entry. done Reload daemon failed: Transport endpoint is not connected Failed to start jobs: Transport endpoint is not connected sandeep@marinerDevVM [ ~/src/azurelinux/out/RPMS/x86_64 ]$ sudo tdnf install python3-libmount-2.40.2-1.azl3.x86_64.rpm criu-* crun-* util-linux-libs-2.40.2-1.azl3.x86_64.rpm Loaded plugin: tdnfrepogpgcheck
Installing: libmd x86_64 1.1.0-6.azl3 azurelinux-official-base 106.73k 52.87k libbsd x86_64 0.12.2-1.azl3 azurelinux-official-extended 423.68k 137.09k protobuf x86_64 25.3-5.azl3 azurelinux-official-base 9.40M 2.92M gtest x86_64 1.14.0-1.azl3 azurelinux-official-base 537.43k 204.98k gmock x86_64 1.14.0-1.azl3 azurelinux-official-base 152.02k 64.52k abseil-cpp x86_64 20240116.0-2.azl3 azurelinux-official-base 2.95M 815.69k libdrm x86_64 2.4.120-1.azl3 azurelinux-official-base 406.52k 189.14k libnet x86_64 1.2-2.azl3 azurelinux-official-extended 131.57k 68.38k protobuf-c x86_64 1.5.0-4.azl3 azurelinux-official-base 332.13k 139.50k nftables x86_64 1.0.9-1.azl3 azurelinux-official-base 1.05M 461.76k crun-debuginfo x86_64 1.24-1 @cmdline 4.53M 1.28M crun x86_64 1.24-1 @cmdline 762.38k 343.25k criu-ns x86_64 4.1.1-1.azl3 @cmdline 11.58k 23.14k criu-libs x86_64 4.1.1-1.azl3 @cmdline 191.61k 56.76k criu-devel x86_64 4.1.1-1.azl3 @cmdline 52.81k 29.80k criu-debuginfo x86_64 4.1.1-1.azl3 @cmdline 9.00M 2.75M criu-cuda-plugin x86_64 4.1.1-1.azl3 @cmdline 30.48k 27.62k criu-amdgpu-plugin x86_64 4.1.1-1.azl3 @cmdline 107.27k 54.37k criu x86_64 4.1.1-1.azl3 @cmdline 1.73M 695.84k python3-libmount x86_64 2.40.2-1.azl3 @cmdline 132.37k 55.00k
Total installed size: 31.95M Total download size: 10.29M Is this ok [y/N]: y libmd 54141 100% libbsd 140379 100% protobuf 3066248 100% gtest 209900 100% gmock 66067 100% abseil-cpp 835265 100% libdrm 193681 100% libnet 70016 100% protobuf-c 142847 100% nftables 472840 100% Testing transaction Running transaction Installing/Updating: gtest-1.14.0-1.azl3.x86_64 Installing/Updating: gmock-1.14.0-1.azl3.x86_64 Installing/Updating: abseil-cpp-20240116.0-2.azl3.x86_64 Installing/Updating: protobuf-25.3-5.azl3.x86_64 Installing/Updating: protobuf-c-1.5.0-4.azl3.x86_64 Installing/Updating: nftables-1.0.9-1.azl3.x86_64 Installing/Updating: libnet-1.2-2.azl3.x86_64 Installing/Updating: libdrm-2.4.120-1.azl3.x86_64 Installing/Updating: libmd-1.1.0-6.azl3.x86_64 Installing/Updating: libbsd-0.12.2-1.azl3.x86_64 Installing/Updating: criu-4.1.1-1.azl3.x86_64 Installing/Updating: criu-libs-4.1.1-1.azl3.x86_64 Installing/Updating: crun-1.24-1.x86_64 Installing/Updating: criu-devel-4.1.1-1.azl3.x86_64 Installing/Updating: criu-ns-4.1.1-1.azl3.x86_64 Installing/Updating: criu-cuda-plugin-4.1.1-1.azl3.x86_64 Installing/Updating: criu-amdgpu-plugin-4.1.1-1.azl3.x86_64 Installing/Updating: python3-libmount-2.40.2-1.azl3.x86_64 Installing/Updating: criu-debuginfo-4.1.1-1.azl3.x86_64 Installing/Updating: crun-debuginfo-1.24-1.x86_64 (re)generate initramfs for all kernels, transfilertriggerin 3.0-5.azl3 Generating grub configuration file ... Found linux image: /boot/vmlinuz-6.6.104.2-1.azl3 Found initrd image: /boot/initramfs-6.6.104.2-1.azl3.img Found linux image: /boot/vmlinuz-6.6.82.1-1.azl3 Found initrd image: /boot/initramfs-6.6.82.1-1.azl3.img Found linux image: /boot/vmlinuz-6.6.104.2-1.azl3 Found initrd image: /boot/initramfs-6.6.104.2-1.azl3.img Found linux image: /boot/vmlinuz-6.6.82.1-1.azl3 Found initrd image: /boot/initramfs-6.6.82.1-1.azl3.img Warning: os-prober will not be executed to detect other bootable partitions. Systems on them will not be added to the GRUB boot configuration. Check GRUB_DISABLE_OS_PROBER documentation entry. done sandeep@marinerDevVM [ ~/src/azurelinux/out/RPMS/x86_64 ]$ sudo tdnf install netavark Loaded plugin: tdnfrepogpgcheck
Installing: netavark x86_64 1.10.3-4.azl3 azurelinux-official-base 16.03M 4.65M
Total installed size: 16.03M Total download size: 4.65M Is this ok [y/N]: y netavark 4877599 100% Testing transaction Running transaction Installing/Updating: netavark-1.10.3-4.azl3.x86_64 (re)generate initramfs for all kernels, transfilertriggerin 3.0-5.azl3 Generating grub configuration file ... Found linux image: /boot/vmlinuz-6.6.104.2-1.azl3 Found initrd image: /boot/initramfs-6.6.104.2-1.azl3.img Found linux image: /boot/vmlinuz-6.6.82.1-1.azl3 Found initrd image: /boot/initramfs-6.6.82.1-1.azl3.img Found linux image: /boot/vmlinuz-6.6.104.2-1.azl3 Found initrd image: /boot/initramfs-6.6.104.2-1.azl3.img Found linux image: /boot/vmlinuz-6.6.82.1-1.azl3 Found initrd image: /boot/initramfs-6.6.82.1-1.azl3.img Warning: os-prober will not be executed to detect other bootable partitions. Systems on them will not be added to the GRUB boot configuration. Check GRUB_DISABLE_OS_PROBER documentation entry. done sandeep@marinerDevVM [ ~/src/azurelinux/out/RPMS/x86_64 ]$ sudo podman search httpd --filter=is-official NAME DESCRIPTION docker.io/library/httpd The Apache HTTP Server Project sandeep@marinerDevVM [ ~/src/azurelinux/out/RPMS/x86_64 ]$ sandeep@marinerDevVM [ ~/src/azurelinux/out/RPMS/x86_64 ]$ sudo podman pull docker.io/library/httpd Trying to pull docker.io/library/httpd:latest... Getting image source signatures Copying blob 233dec01418c done | Copying blob d7ecded7702a done | Copying blob 4f4fb700ef54 done | Copying blob 13c22d886563 done | Copying blob fab98c44430d done | Copying blob 4870f70a8556 done | Copying config 6a4fe18d08 done | Writing manifest to image destination 6a4fe18d08d26a61b32d6aa5d17b2417c4f4de63e8460abf4cd824b911b9de88 sandeep@marinerDevVM [ ~/src/azurelinux/out/RPMS/x86_64 ]$ sudo podman images REPOSITORY TAG IMAGE ID CREATED SIZE docker.io/library/httpd latest 6a4fe18d08d2 3 days ago 120 MB sandeep@marinerDevVM [ ~/src/azurelinux/out/RPMS/x86_64 ]$ sudo podman run -dt -p 8080:80/tcp docker.io/library/httpd 6c4a8c68c243065790110de63b1e71fbb54aad7297255f23f85437610e175ca2