[apparmor] A mount rule doesn't work for /

Mikhail Morfikov mmorfikov at gmail.com
Sat Dec 22 02:26:01 UTC 2018


Most of the mount rules work just fine, but I have one that doesn't really want
to work. Here's the log message:

---------
[  586.912376] audit: type=1400 audit(1545442788.976:399): apparmor="ALLOWED"
operation="mount" info="failed flags match" error=-13 profile="systemd-shutdown"
name="/" pid=12559 comm="(sd-remount)" flags="ro, remount, shared, relatime"
---------

I have the following rule for it:

---------
mount options=(ro,remount,shared,relatime) -> /,
---------

But it seems the rule doesn't really fix the problem. So what rule should be
used instead?




More information about the AppArmor mailing list