]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Remove NOFILE adjustment from nspawn settings 839/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 14 Oct 2021 13:56:58 +0000 (15:56 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 14 Oct 2021 13:56:58 +0000 (15:56 +0200)
See https://github.com/systemd/mkosi/pull/837#issuecomment-943362723

mkosi/backend.py

index 8246e496b6244d1634eb435ecec05253d28354a4..269d854cc67300ac08b2f3c78b76bfaef7a45a27 100644 (file)
@@ -558,7 +558,6 @@ def format_rlimit(rlimit: int) -> str:
 def nspawn_rlimit_params() -> Sequence[str]:
     return [
         f"--rlimit=RLIMIT_CORE={format_rlimit(resource.RLIMIT_CORE)}",
-        f"--rlimit=RLIMIT_NOFILE={format_rlimit(resource.RLIMIT_NOFILE)}",
     ]