kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #84610
[Bug 1371310] Re: docker.io doesn't work with apparmor 3.0 RC1 kernel
I am getting the following still.
# docker run -i -t ubuntu /bin/bash
set apparmor profile docker-default: no such file or directory2014/10/13 11:05:41 Error response from daemon: Cannot start container 7981801146ab1771470fd72bc97e6582ff573fa159199f6cb86afaa7eaa74ea9: set apparmor profile docker-default: no such file or directory
Here's uname -a:
# uname -a
Linux braindead 3.16.0-22-generic #29-Ubuntu SMP Thu Oct 9 16:26:18 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
As seen above, I am running 3.16.0-22.29. Is there something I need to
do manually to fix this?
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1371310
Title:
docker.io doesn't work with apparmor 3.0 RC1 kernel
Status in “apparmor” package in Ubuntu:
Invalid
Status in “docker.io” package in Ubuntu:
Invalid
Status in “linux” package in Ubuntu:
Fix Released
Bug description:
Steps to reproduce (from
https://wiki.ubuntu.com/Process/Merges/TestPlans/AppArmor):
1. sudo apt-get install docker.io # 1.2.0~dfsg1-1
2. sudo docker pull ubuntu:trusty
3. sudo docker run ubuntu:trusty uptime
2014/09/18 15:48:48 Error response from daemon: Cannot start container fcdfaaf7945bcd9455fb5e0bde9950451152af14556880033818df7b50ddb1f4: set apparmor profile docker-default: permission denied
What is expected? uptime to return something like:
$ sudo docker run ubuntu:trusty uptime
20:31:21 up 1 min, 0 users, load average: 0.09, 0.06, 0.03
I set 'sudo sysctl -w kernel.printk_ratelimit=0' but there is nothing
apparmor related in the logs. If I boot an earlier kernel without the
3.0 RC1 patches, it works.
FYI, 3.16.0-17.23 is in utopic-proposed now and on its way to utopic,
which will affect docker.io in Ubuntu. Workaround until this bug is
fixed is to boot into 3.16.0-16.22 or earlier.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1371310/+subscriptions
References