Merge "Fix selinux warning on tracefs systems" am: 0ad600bdc6 am: 3915012a46
am: 67387a3510
Change-Id: I0aa3c01e3b9ed5981dccbb2fcff1e7ea5fa96c0e
This commit is contained in:
commit
a0d26e7cdd
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue