[apparmor] Regarding apparmor in container

swarna latha sswarnas at gmail.com
Tue Oct 20 20:58:30 UTC 2020


Does it mean, we will not be able to get apparmor logs for applications
running in container ?

And container has its own dmesg buffer ?

Are there any  ways to use apparmor to generate profile for applications
running in containers ?

Thanks,
Swarna

On Tue, Oct 20, 2020 at 3:55 PM Simon Deziel <simon at sdeziel.info> wrote:

> On 2020-10-20 3:46 p.m., swarna latha wrote:
> > Thanks john for the quick reply..
> >
> > My kernel version is 4.1.51-1.19
> >
> > Tried below logging options, but didnt help. Not able to get logs, what
> is
> > blocking apparmor to play video.
> >  echo -n "noquiet" /sys/module/apparmor/parameters/audit
> > echo 0> /sys/module/apparmor/parameters/debug
>
> So far, what I've seen with containers is that dmesg/kernel logs are
> only visible from the host's context, not the containers themselves.
>
> HTH,
> Simon
>
> --
> AppArmor mailing list
> AppArmor at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/apparmor
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20201020/1e201d9c/attachment.html>


More information about the AppArmor mailing list