From 09b26da17bd9e31df371855bdd48083ac4770edddb6cbe6b074ca2d6e49f3937 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 28 Mar 2023 10:28:50 +0000 Subject: [PATCH] - update to 1.8.3: * update: initialize the rt limits only on cgroup v1. * lua bindings for libcrun. * wasmedge: add current directory to preopen paths. * linux: inherit parent mount flags when making a path masked. * libcrun: custom annotation to set the scheduler for the container process. * cgroup: fallback to blkio.bfq files if blkio is not available on cgroup v1. * cgroup: initialize rt limits when using systemd. * tty: chown the tty to the exec user instead of the user specified to create the container. * cgroup: fallback to create cgroupfs as sibling of the current cgroup if there is none specified and it cannot be created in the root cgroup. OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/crun?expand=0&rev=22 --- crun-1.8.1.tar.gz | 3 --- crun-1.8.1.tar.gz.asc | 11 ----------- crun-1.8.3.tar.gz | 3 +++ crun-1.8.3.tar.gz.asc | 11 +++++++++++ crun.changes | 19 +++++++++++++++++++ crun.spec | 13 ++++++------- 6 files changed, 39 insertions(+), 21 deletions(-) delete mode 100644 crun-1.8.1.tar.gz delete mode 100644 crun-1.8.1.tar.gz.asc create mode 100644 crun-1.8.3.tar.gz create mode 100644 crun-1.8.3.tar.gz.asc diff --git a/crun-1.8.1.tar.gz b/crun-1.8.1.tar.gz deleted file mode 100644 index 4c6823e..0000000 --- a/crun-1.8.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c7f01be3afb45453429a88dc6c541f2fed13e186cc2e30c91f7c2eef039602fc -size 1661369 diff --git a/crun-1.8.1.tar.gz.asc b/crun-1.8.1.tar.gz.asc deleted file mode 100644 index 8ec3b36..0000000 --- a/crun-1.8.1.tar.gz.asc +++ /dev/null @@ -1,11 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iQEzBAABCAAdFiEEr2D8o82qberRV+o6Z+OPeouiF3IFAmP8iFgACgkQZ+OPeoui -F3KHxQgAk7ZFn/k7Vqx1iYj1Osg9VoVV9cwMtcpat9Bef43hHm94TPL3d88RhmTl -3nRdKdU3MUjeL+jkJvZ0GHcNuSvjQZePGaiY0W913X8qxjzXu2HyHCCdPmGP8t1m -OMMpR08vsdI7rSaC+1yWMGLaHAT/eE7Z8G54WUxdndtuUIh+6aZr6w7gXs/D80cq -I/DK+k/S4jV6o4vK6oKFrQajF0dyVJ2MQmyLAlWglv1/HOC2LoH692bRIQ2DF6wo -hchKgnvEy18kWnAic3sF6qD6dSvl+4S/Nexo9Pg2YV2k84tvlN6x920Xij+M0AfO -Rp7Ed+4Bv9Ya7v4n4pFnUmNzWLHmAQ== -=3bFX ------END PGP SIGNATURE----- diff --git a/crun-1.8.3.tar.gz b/crun-1.8.3.tar.gz new file mode 100644 index 0000000..93767e1 --- /dev/null +++ b/crun-1.8.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7eb2663ddf9a7bcda0b83fd88ea3dbb50f5d5827a85ebc109aec331957510b68 +size 1687700 diff --git a/crun-1.8.3.tar.gz.asc b/crun-1.8.3.tar.gz.asc new file mode 100644 index 0000000..0b50f01 --- /dev/null +++ b/crun-1.8.3.tar.gz.asc @@ -0,0 +1,11 @@ +-----BEGIN PGP SIGNATURE----- + +iQEzBAABCAAdFiEEr2D8o82qberRV+o6Z+OPeouiF3IFAmQepMgACgkQZ+OPeoui +F3JmJAgAj5R0Xbq3/aee9PltOH1oEfLUIe0mvG+hBdihpW5M+hhy2lb6UfXfrNYz +cONC9V6eAecGYwGHLrA1Cq925/tERoDf7D/tZjfSdNPiwgBAF6YM6gUfmDmegVPi +dCkrABAeEu00Z0UsuRDsKySLg13bZdbIa6Ns8sgPoClwhVzTMp46cyicWnAS2/i0 +X3maciBtQ/Cmzr5psxLegXPP2jGfkufh7Rq9pJac6jV6v72yhv+wGNN2wBe+3ATf +yLclkHinsNzpp+vMp+jpDECiXPRSTLwixkcS1Rmz6zE9UPt4HfSFescPWNmiE1K1 +WXH9Y5QAQrFAd5X38v/C8dcYrqZn7Q== +=nx71 +-----END PGP SIGNATURE----- diff --git a/crun.changes b/crun.changes index d9ed442..18c79ca 100644 --- a/crun.changes +++ b/crun.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Tue Mar 28 10:27:06 UTC 2023 - Dirk Müller + +- update to 1.8.3: + * update: initialize the rt limits only on cgroup v1. + * lua bindings for libcrun. + * wasmedge: add current directory to preopen paths. + * linux: inherit parent mount flags when making a path masked. + * libcrun: custom annotation to set the scheduler for the + container process. + * cgroup: fallback to blkio.bfq files if blkio is not available + on cgroup v1. + * cgroup: initialize rt limits when using systemd. + * tty: chown the tty to the exec user instead of the user + specified to create the container. + * cgroup: fallback to create cgroupfs as sibling of the current + cgroup if there is none specified and it cannot be created in + the root cgroup. + ------------------------------------------------------------------- Tue Feb 28 20:14:52 UTC 2023 - Niels Abspoel diff --git a/crun.spec b/crun.spec index e791a0d..e4ae96d 100644 --- a/crun.spec +++ b/crun.spec @@ -16,14 +16,14 @@ # +Name: crun +Version: 1.8.3 +Release: 0 Summary: OCI runtime written in C License: GPL-2.0-or-later -Name: crun -Version: 1.8.1 -Release: 0 +URL: https://github.com/containers/crun Source0: https://github.com/containers/crun/releases/download/%{version}/%{name}-%{version}.tar.gz Source1: https://github.com/containers/crun/releases/download/%{version}/%{name}-%{version}.tar.gz.asc -URL: https://github.com/containers/crun # We always run autogen.sh BuildRequires: autoconf BuildRequires: automake @@ -40,7 +40,7 @@ BuildRequires: make BuildRequires: python3 BuildRequires: python3-libmount BuildRequires: systemd-devel -%ifnarch %ix86 +%ifnarch %{ix86} BuildRequires: criu-devel >= 3.15 %endif %ifarch x86_64 aarch64 @@ -59,7 +59,7 @@ crun is a runtime for running OCI containers. It is built with libkrun support export LIBKRUN="--with-libkrun" %endif ./autogen.sh -%configure --disable-silent-rules $LIBKRUN CFLAGS='-I /usr/include/libseccomp' +%configure --disable-silent-rules $LIBKRUN CFLAGS='-I %{_includedir}/libseccomp' %make_build # TODO: @@ -78,7 +78,6 @@ ln -s %{_bindir}/crun %{buildroot}%{_bindir}/krun %endif %files -%defattr(-,root,root) %license COPYING %doc README.md %doc SECURITY.md