[lxc-users] Apparmor DENIED messages in the logs

Andrey Repin anrdaemon at yandex.ru
Thu Aug 18 15:46:43 UTC 2016


Greetings, Andrey Repin!

> [ 5408.633325] type=1400 audit(1471009220.304:57): apparmor="DENIED"
> operation="mount" info="failed flags match" error=-13
> profile="lxc-container-default" name="/" pid=12887 comm="mount" flags="ro, remount"

> Host: Ubuntu 12.04
> Guests: 12.04 and 14.04
> LXC: 2.0.3

> I'm getting quite a bit of these lines in the logs.
> Is this normal?

> Container configurations are quite trivial, I've even removed all questionable
> binds.

Host: 14.04.5 amd64
Guest: 14.04.5 i686
LXC: 2.0.3

# lld /home/mc-superflat/dynmap/web
drwxr-x--x+ 7 mc-superflat nogroup 4096 июня  16 11:00 /home/mc-superflat/dynmap/web
root at daemon1:screen:1:/home/mc-superflat
# tail -20 /var/log/upstart/lxc-instance-hosting.log
lxc-start: utils.c: safe_mount: 1692 No such device - Failed to mount /home/mc-superflat/dynmap/web onto /usr/lib/x86_64-linux-gnu/lxc/home/mc-superflat/htdocs
lxc-start: conf.c: mount_entry: 1650 No such device - failed to mount '/home/mc-superflat/dynmap/web' on '/usr/lib/x86_64-linux-gnu/lxc/home/mc-superflat/htdocs'
lxc-start: conf.c: lxc_setup: 3726 failed to setup the mounts for 'hosting'
lxc-start: start.c: do_start: 833 failed to setup the container
lxc-start: sync.c: __sync_wait: 57 An error occurred in another process (expected sequence number 3)
lxc-start: start.c: __lxc_start: 1353 failed to spawn 'hosting'
lxc-start: lxc_start.c: main: 344 The container failed to start.
lxc-start: lxc_start.c: main: 348 Additional information can be obtained by setting the --logfile and --logpriority options.


-- 
With best regards,
Andrey Repin
Thursday, August 18, 2016 18:40:14

Sorry for my terrible english...


More information about the lxc-users mailing list