<div dir="ltr">Thanks john for the quick reply..<div><br></div><div>My kernel version is 4.1.51-1.19</div><div><br></div><div>Tried below logging options, but didnt help. Not able to get logs, what is blocking apparmor to play video.</div><div> echo -n "noquiet" /sys/module/apparmor/parameters/audit <br></div><div>echo 0> /sys/module/apparmor/parameters/debug <br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Oct 20, 2020 at 3:05 PM John Johansen <<a href="mailto:john.johansen@canonical.com">john.johansen@canonical.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 10/20/20 9:12 AM, swarna latha wrote:<br>
> Hi,<br>
> <br>
> We are using apparmor to generate profile for a video application running in container.<br>
> <br>
> with apparmor in complaint mode, we see the video is not streaming, and we are not getting any apparmor logs. if we disable the apparmor profile, we see video streaming.<br>
> <br>
> Can you please let us know the reason for this behaviour... is it due to any permission issue or performance issue...<br>
> <br>
> if it is due to permission issue, why we are not getting apparmor logs in this case.<br>
> <br>
<br>
It is likely a permission issue but it is possible other parts of the kernel are interacting with apparmor<br>
<br>
what is your kernel version?<br>
<br>
<br>
As root can you enable debug mode,<br>
<br>
echo 0> /sys/module/apparmor/parameters/debug<br>
<br>
this will give some logging output with extra info for so special cases.<br>
<br>
and can youturn off audit silencing<br>
<br>
echo -n "noquiet" /sys/module/apparmor/parameters/audit<br>
<br>
this turns off deny rules silencing of denials.<br>
<br>
<br>
You can toggle these values live and do it one at a time if you like.<br>
</blockquote></div>