[SOLVED] snapd lxc - container ubuntu 18.04 problems Error message

redjohn

Renowned Member
Apr 22, 2016
132
4
83
28
Hello everyone,

I have a ubuntu lxc - container with ubuntu 18.04 and installed snapd, but with problems. In my lxc config I have the following lines added:

Code:
features: nesting=1,fuse=1,mount=nfs
lxc.cap.drop:

I can start the snapd container with rocketchat server but in syslog I have the following error:

Code:
 audit: type=1400 audit(1567013721.993:14130357): apparmor="DENIED" operation="open" namespace="root//lxc-111_<-var-lib-lxc>" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/549/net/netstat" pid=2002 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0

Code:
audit: type=1400 audit(1567013803.088:14130495): apparmor="STATUS" operation="profile_load" label="lxc-111_</var/lib/lxc>//&:lxc-111_<-var-lib-lxc>:unconfined" name="/usr/bin/man" pid=26358 comm="apparmor_parser"

Code:
audit: type=1400 audit(1567013816.156:14130559): apparmor="DENIED" operation="ptrace" namespace="root//lxc-111_<-var-lib-lxc>" profile="snap.rocketchat-server.rocketchat-server" pid=27441 comm="ps" requested_mask="trace" denied_mask="trace" peer="unconfined"

I don't know what I can do, my syslog have thousand of this entrys how can I stop or fix it?

Regards,

Oliver
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!