From 49615abce6beb3ae158893f1599b60b099ba987c Mon Sep 17 00:00:00 2001 From: Andrea Righi Date: Thu, 22 Feb 2024 10:11:09 +0100 Subject: [PATCH] virtme-ng-init: apply limits after mounting kernel filesystems We need to apply system/kernel limits after mounting all the required kernel filesystems (e.g., procfs, sysfs). Signed-off-by: Andrea Righi --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 5c5a5aa..6a1bc08 100644 --- a/src/main.rs +++ b/src/main.rs @@ -975,9 +975,9 @@ fn main() { // Basic system initialization (order is important here). configure_environment(); - configure_limits(); configure_hostname(); mount_kernel_filesystems(); + configure_limits(); mount_virtme_overlays(); mount_sys_filesystems(); mount_kernel_modules();