kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #140810
[Bug 1507959] [NEW] Regression: Kernel update breaks all lxc-containers lxc-start failing with (apparmor="DENIED" operation="mount")
Public bug reported:
Hello,
The following recent kernel update completely break our lxc-start usage on precise both with precise original kernel 3.2 + also the trusty-lts-stack using 3.13
After installing those new kernel updates all lxc-start of a container fail with:
"Permission denied - mount failed '/dev/pts/ptmx'->'/dev/ptmx'"
with strace pointing to:
13695 mount("/dev/pts/ptmx", "/dev/ptmx", 0x7f4d68c85d37, MS_BIND, NULL) = -1 EACCES (Permission denied)
and dmesg showing:
Oct 20 10:59:00 titan226 kernel: [ 663.508664] type=1400
audit(1445331540.807:29): apparmor="DENIED" operation="mount"
info="failed type match" error=-13 profile="/usr/bin/lxc-start"
name="/dev/ptmx" pid=2897 comm="lxc-start"
srcname="/dev/pts/ptmx" flags="rw, bind"
After downgrading kernel version the problem immediately dissappeared
and the lxc-start for containers works again as before.
Bad versions:
ii linux-image-3.13.0-66-generic 3.13.0-66.108~precise1 Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii linux-image-3.2.0-92-generic 3.2.0-92.130 Linux kernel image for version 3.2.0 on 64 bit x86 SMP
Good versions:
ii linux-image-3.13.0-61-generic 3.13.0-61.100~precise1 Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii linux-image-3.2.0-88-generic 3.2.0-88.126 Linux kernel image for version 3.2.0 on 64 bit x86 SMP
>From kernel changelog maybe this other issue here maybe causing it but not verified:
* SAUCE: (no-up) apparmor: fix mount not handling disconnected paths
- LP: #1496430
** Affects: linux (Ubuntu)
Importance: Undecided
Status: New
--
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/1507959
Title:
Regression: Kernel update breaks all lxc-containers lxc-start failing
with (apparmor="DENIED" operation="mount")
Status in linux package in Ubuntu:
New
Bug description:
Hello,
The following recent kernel update completely break our lxc-start usage on precise both with precise original kernel 3.2 + also the trusty-lts-stack using 3.13
After installing those new kernel updates all lxc-start of a container fail with:
"Permission denied - mount failed '/dev/pts/ptmx'->'/dev/ptmx'"
with strace pointing to:
13695 mount("/dev/pts/ptmx", "/dev/ptmx", 0x7f4d68c85d37, MS_BIND, NULL) = -1 EACCES (Permission denied)
and dmesg showing:
Oct 20 10:59:00 titan226 kernel: [ 663.508664] type=1400
audit(1445331540.807:29): apparmor="DENIED" operation="mount"
info="failed type match" error=-13 profile="/usr/bin/lxc-start"
name="/dev/ptmx" pid=2897 comm="lxc-start"
srcname="/dev/pts/ptmx" flags="rw, bind"
After downgrading kernel version the problem immediately dissappeared
and the lxc-start for containers works again as before.
Bad versions:
ii linux-image-3.13.0-66-generic 3.13.0-66.108~precise1 Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii linux-image-3.2.0-92-generic 3.2.0-92.130 Linux kernel image for version 3.2.0 on 64 bit x86 SMP
Good versions:
ii linux-image-3.13.0-61-generic 3.13.0-61.100~precise1 Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii linux-image-3.2.0-88-generic 3.2.0-88.126 Linux kernel image for version 3.2.0 on 64 bit x86 SMP
From kernel changelog maybe this other issue here maybe causing it but not verified:
* SAUCE: (no-up) apparmor: fix mount not handling disconnected paths
- LP: #1496430
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1507959/+subscriptions
Follow ups
-
[Bug 1507959] Re: Regression: Kernel update breaks all lxc-containers lxc-start failing with (apparmor="DENIED" operation="mount")
From: Kirils Solovjovs, 2015-11-22
-
[Bug 1507959] Re: Regression: Kernel update breaks all lxc-containers lxc-start failing with (apparmor="DENIED" operation="mount")
From: tapczan, 2015-10-27
-
[Bug 1507959] Re: Regression: Kernel update breaks all lxc-containers lxc-start failing with (apparmor="DENIED" operation="mount")
From: Christoph Mitasch, 2015-10-21
-
[Bug 1507959] Re: Regression: Kernel update breaks all lxc-containers lxc-start failing with (apparmor="DENIED" operation="mount")
From: Jan Groenewald, 2015-10-20
-
[Bug 1507959] Re: Regression: Kernel update breaks all lxc-containers lxc-start failing with (apparmor="DENIED" operation="mount")
From: Daniel, 2015-10-20
-
[Bug 1507959] Re: Regression: Kernel update breaks all lxc-containers lxc-start failing with (apparmor="DENIED" operation="mount")
From: Doug C, 2015-10-20
-
[Bug 1507959] Re: Regression: Kernel update breaks all lxc-containers lxc-start failing with (apparmor="DENIED" operation="mount")
From: Marc Reymann, 2015-10-20
-
[Bug 1507959] Re: Regression: Kernel update breaks all lxc-containers lxc-start failing with (apparmor="DENIED" operation="mount")
From: Stefan Huehner, 2015-10-20
-
[Bug 1507959] WifiSyslog.txt
From: Stefan Huehner, 2015-10-20
-
[Bug 1507959] UdevLog.txt
From: Stefan Huehner, 2015-10-20
-
[Bug 1507959] UdevDb.txt
From: Stefan Huehner, 2015-10-20
-
[Bug 1507959] ProcModules.txt
From: Stefan Huehner, 2015-10-20
-
[Bug 1507959] ProcInterrupts.txt
From: Stefan Huehner, 2015-10-20
-
[Bug 1507959] ProcCpuinfo.txt
From: Stefan Huehner, 2015-10-20
-
[Bug 1507959] PciMultimedia.txt
From: Stefan Huehner, 2015-10-20
-
[Bug 1507959] Lsusb.txt
From: Stefan Huehner, 2015-10-20
-
[Bug 1507959] Lspci.txt
From: Stefan Huehner, 2015-10-20
-
[Bug 1507959] CurrentDmesg.txt
From: Stefan Huehner, 2015-10-20
-
[Bug 1507959] Card0.Codecs.codec.0.txt
From: Stefan Huehner, 2015-10-20
-
[Bug 1507959] BootDmesg.txt
From: Stefan Huehner, 2015-10-20
-
[Bug 1507959] AlsaDevices.txt
From: Stefan Huehner, 2015-10-20
-
[Bug 1507959] Re: Regression: Kernel update breaks all lxc-containers lxc-start failing with (apparmor="DENIED" operation="mount")
From: Stefan Huehner, 2015-10-20
-
[Bug 1507959] Missing required logs.
From: Brad Figg, 2015-10-20