Skip to content

Commit

Permalink
virtme-ng-init: apply limits after mounting kernel filesystems
Browse files Browse the repository at this point in the history
We need to apply system/kernel limits after mounting all the required
kernel filesystems (e.g., procfs, sysfs).

Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
  • Loading branch information
Andrea Righi committed Feb 22, 2024
1 parent b4a404d commit 49615ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 49615ab

Please sign in to comment.