diff --git a/init/init.cpp b/init/init.cpp index 7cd705448..4955bc5f2 100644 --- a/init/init.cpp +++ b/init/init.cpp @@ -905,7 +905,6 @@ int SecondStageMain(int argc, char** argv) { UmountDebugRamdisk(); } - SelinuxSetupKernelLogging(); PropertyInit(); // Umount second stage resources after property service has read the .prop files. @@ -920,6 +919,7 @@ int SecondStageMain(int argc, char** argv) { MountExtraFilesystems(); // Now set up SELinux for second stage. + SelinuxSetupKernelLogging(); SelabelInitialize(); SelinuxRestoreContext();