commit:     b05fe66cb10d75cc17f9998db5fc98eee0e9a049
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 12 19:27:12 2024 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Jul 12 19:28:01 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b05fe66c

app-containers/incus: update the prlimit syntax in 6.3

Bug: https://bugs.gentoo.org/929138
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 app-containers/incus/files/incus-6.0.initd                     | 2 +-
 app-containers/incus/{incus-6.3.ebuild => incus-6.3-r1.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-containers/incus/files/incus-6.0.initd 
b/app-containers/incus/files/incus-6.0.initd
index 933badb8a074..fb0d80ee7987 100644
--- a/app-containers/incus/files/incus-6.0.initd
+++ b/app-containers/incus/files/incus-6.0.initd
@@ -17,7 +17,7 @@ start() {
 
        # Call prlimit from the init.d file instead of ulimit through rc_ulimit,
        # bgo#929138
-       prlimit -n 1048576 -l unlimited --pid=$$
+       prlimit --nofile=1048576 --memlock=unlimited --pid=$$
 
        # Fix permissions on /var/lib/incus and make sure it exists.
        # Create a log directory for incus with correct permissions.

diff --git a/app-containers/incus/incus-6.3.ebuild 
b/app-containers/incus/incus-6.3-r1.ebuild
similarity index 100%
rename from app-containers/incus/incus-6.3.ebuild
rename to app-containers/incus/incus-6.3-r1.ebuild

Reply via email to