Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 76b553c9 authored by Akilesh Kailash's avatar Akilesh Kailash
Browse files

init: Start snapuserd_proxy after early-init



When service is started prior to early init and if per-app memcg is enabled, service start will fail as the required directories for memcg isn't present viz /dev/memcg/apps.

Bug: 308818430
Test: th and CF OTA test with per-app memcg enabled
Change-Id: Ic65e8d179fbfb8e2135f2de5cc7c77d6c29ea7d2
Signed-off-by: default avatarAkilesh Kailash <akailash@google.com>
parent 7d1f582d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1085,8 +1085,8 @@ int SecondStageMain(int argc, char** argv) {
    am.QueueBuiltinAction(SetupCgroupsAction, "SetupCgroups");
    am.QueueBuiltinAction(SetKptrRestrictAction, "SetKptrRestrict");
    am.QueueBuiltinAction(TestPerfEventSelinuxAction, "TestPerfEventSelinux");
    am.QueueBuiltinAction(ConnectEarlyStageSnapuserdAction, "ConnectEarlyStageSnapuserd");
    am.QueueEventTrigger("early-init");
    am.QueueBuiltinAction(ConnectEarlyStageSnapuserdAction, "ConnectEarlyStageSnapuserd");

    // Queue an action that waits for coldboot done so we know ueventd has set up all of /dev...
    am.QueueBuiltinAction(wait_for_coldboot_done_action, "wait_for_coldboot_done");