← Back to team overview

touch-packages team mailing list archive

[Bug 1504781] Re: lxc-test-ubuntu hangs forever in trusty-proposed with Linux 3.13.0-66: AppArmor denies /dev/ptmx mounting

 

Hello,

As of this morning's security roll out of the Linux 3.13.0-66 kernel,
this bug *is* effecting *live* LXC containers ;-(

(I am using Trusty 14.04 LTS - I note that recently built Trusty 14.04.3
machines are not rolling out Linux 3.13.0-66 as they have Linux
3.19.0-30-generic)

Reading between the lines of @jjohansen's comments (#8, #10), I updated
my /etc/apparmor.d/abstractions/lxc/start-container apparmor
configuration file from the existing:

>   mount options=bind /dev/pts/ptmx/ -> /dev/ptmx/,

to

>   mount options=(rw, bind) /dev/pts/ptmx/ -> /dev/ptmx/,

Unfortunately I can confirm that this *does* *not* solve the problem.
Have I misunderstood something?

I can also confirm that I have exactly the same error messages listed
above in @pitti's comment #4.

Is there any know work-around/fix?

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1504781

Title:
  lxc-test-ubuntu hangs forever in trusty-proposed with Linux 3.13.0-66:
  AppArmor denies /dev/ptmx mounting

Status in linux package in Ubuntu:
  Invalid
Status in lxc package in Ubuntu:
  Invalid
Status in linux source package in Trusty:
  Confirmed
Status in lxc source package in Trusty:
  Fix Committed

Bug description:
  We are seeing test suite failures under ADT testing with linux, linux-
  lts-utopic and linux-lts-vivid kernels:

  https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-trusty/trusty/amd64/l/lxc/20151010_103318@/log.gz
  https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-trusty/trusty/i386/l/lxc/20151010_103325@/log.gz

  https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-trusty/trusty/amd64/l/lxc/20151009_085841@/log.gz
  https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-trusty/trusty/i386/l/lxc/20151009_091723@/log.gz

  https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-trusty/trusty/amd64/l/lxc/20151010_105332@/log.gz
  https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-trusty/trusty/i386/l/lxc/20151010_114021@/log.gz

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1504781/+subscriptions


References