diff --git a/rootdir/init.rc b/rootdir/init.rc index 0eb7f0b53..ef3c8f95a 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -307,6 +307,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