diff --git a/rootdir/init.rc b/rootdir/init.rc index e8b188259..4c49791a7 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -295,6 +295,10 @@ on post-fs # Make sure /sys/kernel/debug (if present) is labeled properly restorecon_recursive /sys/kernel/debug + # On systems with tracefs, tracing is a separate mount, so make sure + # it too is correctly labeled + restorecon_recursive /sys/kernel/debug/tracing + # We chown/chmod /cache again so because mount is run as root + defaults chown system cache /cache chmod 0770 /cache