commit:     03979888c36ce4e953dcb4faf953522323a352bc
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 23 23:06:28 2024 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Fri Feb 23 23:06:28 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03979888

sys-libs/glibc: Add blocker for too old systemd (otherwise things in nspawns 
fail)

Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 sys-libs/glibc/glibc-2.39-r1.ebuild | 5 +++++
 sys-libs/glibc/glibc-9999.ebuild    | 5 +++++
 2 files changed, 10 insertions(+)

diff --git a/sys-libs/glibc/glibc-2.39-r1.ebuild 
b/sys-libs/glibc/glibc-2.39-r1.ebuild
index 54ddcc4bbadb..cb9a3aab0ec1 100644
--- a/sys-libs/glibc/glibc-2.39-r1.ebuild
+++ b/sys-libs/glibc/glibc-2.39-r1.ebuild
@@ -36,6 +36,10 @@ MIN_KERN_VER="3.2.0"
 # its seccomp filter!). Please double check this!
 MIN_PAX_UTILS_VER="1.3.3"
 
+# Minimum systemd version needed (which contains any new syscall changes for
+# its seccomp filter!). Please double check this!
+MIN_SYSTEMD_VER="255"
+
 if [[ ${PV} == 9999* ]]; then
        inherit git-r3
 else
@@ -130,6 +134,7 @@ DEPEND="${COMMON_DEPEND}
 "
 RDEPEND="${COMMON_DEPEND}
        !<app-misc/pax-utils-${MIN_PAX_UTILS_VER}
+       !<sys-apps/systemd-${MIN_SYSTEMD_VER}
        perl? ( dev-lang/perl )
 "
 

diff --git a/sys-libs/glibc/glibc-9999.ebuild b/sys-libs/glibc/glibc-9999.ebuild
index d48d26dff251..2b8f64f7e6ad 100644
--- a/sys-libs/glibc/glibc-9999.ebuild
+++ b/sys-libs/glibc/glibc-9999.ebuild
@@ -36,6 +36,10 @@ MIN_KERN_VER="3.2.0"
 # its seccomp filter!). Please double check this!
 MIN_PAX_UTILS_VER="1.3.3"
 
+# Minimum systemd version needed (which contains any new syscall changes for
+# its seccomp filter!). Please double check this!
+MIN_SYSTEMD_VER="255"
+
 if [[ ${PV} == 9999* ]]; then
        inherit git-r3
 else
@@ -130,6 +134,7 @@ DEPEND="${COMMON_DEPEND}
 "
 RDEPEND="${COMMON_DEPEND}
        !<app-misc/pax-utils-${MIN_PAX_UTILS_VER}
+       !<sys-apps/systemd-${MIN_SYSTEMD_VER}
        perl? ( dev-lang/perl )
 "
 

Reply via email to