Compare commits

...
Sign in to create a new pull request.

3 commits

Author SHA1 Message Date
Maxwell G
c84e333822
Rebuild for CVE-2022-{1705,32148,30631,30633,28131,30635,30632,30630,1962} in golang 2022-07-19 14:58:43 -05:00
Robert-André Mauchin
aa486d0b49 Rebuilt for CVE-2022-1996, CVE-2022-24675, CVE-2022-28327, CVE-2022-27191, CVE-2022-29526, CVE-2022-30629 2022-06-22 18:11:43 +02:00
Eduardo Lima (Etrunko)
a139ff7419 osbuilder: Fix wrong config setting
Resolves: rhbz#2097377
2022-06-15 11:51:25 -03:00
3 changed files with 15 additions and 41 deletions

View file

@ -1,25 +0,0 @@
# Custom RHEL dracut config for kata initrd/rootfs generation
# Fedora: kernel drivers we want in the initrd.
drivers+=" "
# virtio vsock
drivers+="vmw_vsock_virtio_transport "
# virtio net
drivers+="virtio_net "
# virtio fs
drivers+="virtiofs "
# virtio block
drivers+="virtio_blk "
# virtio scsi
drivers+="virtio_scsi "
# virtio serial. Could be dropped eventually, vsock covers us
drivers+="virtio_console "
# vfio
drivers+="vfio-pci vfio vfio_iommu_type1 irqbypass vfio_virqfd"
# Fedora: extra dracut modules
dracutmodules+=" "
# These aid debugging
dracutmodules+="bash rescue "

View file

@ -58,7 +58,7 @@ workload isolation and security advantages of VMs. https://katacontainers.io/.}
src/agent/README.md
Name: %{repo}
Release: 1%{?rcrel}%{?dist}
Release: 2%{?rcrel}%{?dist}.2
Summary: Kata Containers version 2.x repository
License: ASL 2.0
Url: https://%{download}
@ -66,11 +66,7 @@ Source0: https://%{download}/archive/%{version}%{?rcstr}/%{repo}-%{version}%{
Source1: https://%{download}/releases/download/%{version}/%{repo}-%{version}%{?rcstr}-vendor.tar.gz
Source2: kata-osbuilder.sh
Source3: kata-osbuilder-generate.service
%if 0%{?fedora}
Source4: 15-dracut-fedora.conf
%else
Source4: 15-dracut-rhel.conf
%endif
Source5: 50-kata
# Keep this patch downstream as it'd be hard to justify such change upstream
@ -98,9 +94,7 @@ BuildRequires: protobuf-compiler
BuildRequires: dracut
BuildRequires: kernel
%if 0%{?fedora}
BuildRequires: busybox
%endif
%if 0%{?bundled_rust_deps}
BuildRequires: cargo
@ -142,9 +136,7 @@ BuildRequires: crate(rustjail/default) >= 0.0.0
BuildRequires: crate(ttrpc/default) >= 0.0.0
%endif
%if 0%{?fedora}
Requires: busybox
%endif
Requires: dracut
Requires: kernel
@ -159,7 +151,7 @@ Conflicts: kata-runtime
Conflicts: kata-shim
# The following architectures lack the required qemu support
ExcludeArch: %{arm} %{ix86} s390
ExcludeArch: %{arm} %{ix86} s390 s390x
%description
%{common_description}
@ -171,12 +163,8 @@ ExcludeArch: %{arm} %{ix86} s390
# The machine type uses a modern default
# The kernel parameters workaround an issue with cgroupsv2 after kernel 5.3
# To-do: add BUILDFLAGS=gobuildflags when the macro becomes available
%if 0%{?fedora}
%global qemu qemu-system-%{_arch}
%global qemupath %{_bindir}/%{qemu}
%else
%global qemupath %{_libexecdir}/%{qemu}
%endif
# The machine type to be used is architecture specific:
# aarch64: virt
@ -383,6 +371,18 @@ fi
%changelog
* Tue Jul 19 2022 Maxwell G <gotmax@e.email> - 2.3.3-2.2
- Rebuild for CVE-2022-{1705,32148,30631,30633,28131,30635,30632,30630,1962} in
golang
* Wed Jun 22 2022 Robert-André Mauchin <zebob.m@gmail.com> - 2.3.3-2.1
- Rebuilt for CVE-2022-1996, CVE-2022-24675, CVE-2022-28327, CVE-2022-27191,
CVE-2022-29526, CVE-2022-30629
* Wed Mar 09 2022 Eduardo Lima (Etrunko) <etrunko@redhat.com> - 2.3.3-2
- osbuilder: Fix wrong config setting
Resolves: rhbz#2097377
* Wed Mar 09 2022 Eduardo Lima (Etrunko) <etrunko@redhat.com> - 2.3.3-1
- kata-containers-2.3.3

View file

@ -170,7 +170,7 @@ generate_rootfs()
# obuilder script inflexibility for now, which expect that some rootfs.sh
# code is called on a fully populated distro root.
local agent_dir="${AGENT_DIR_PREFIX}/usr/libexec/kata-containers/agent"
if [ -n "${TEST_MODE}" ] ; then
@ -188,7 +188,6 @@ generate_rootfs()
dracut \
--confdir "${dracut_conf_dir}" \
--no-compress \
--conf /dev/null \
${tmp_initrd} ${KVERSION}
# Extract the generated rootfs