← Back to team overview

kernel-packages team mailing list archive

[Bug 1543367] [NEW] nested unprileged container fails to start at mounting /proc

 

Public bug reported:

Create a trusty or xenial host.  Probably use ubuntu-lxc/daily ppa to
work around other bugs.

Create a privileged container (again either trusty or xenial will do),
and install ubuntu-lxc/daily ppa there.

Create an unprivileged container in that container.  It will fail at
mounting proc using safe_mount.  At this point it is mounting proc onto
/proc/self/fd/14 flags 14.

      lxc-start 20160208234209.189 ERROR    lxc_utils -
utils.c:safe_mount:1695 - Operation not permitted - Failed to mount proc
onto /usr/lib/x86_64-linux-gnu/lxc/proc

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: lxc (Ubuntu)
     Importance: High
         Status: Triaged

** Package changed: lxcfs (Ubuntu) => lxc (Ubuntu)

** Changed in: lxc (Ubuntu)
   Importance: Undecided => High

** Changed in: lxc (Ubuntu)
       Status: New => Triaged

** Also 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/1543367

Title:
  nested unprileged container fails to start at mounting /proc

Status in linux package in Ubuntu:
  New
Status in lxc package in Ubuntu:
  Triaged

Bug description:
  Create a trusty or xenial host.  Probably use ubuntu-lxc/daily ppa to
  work around other bugs.

  Create a privileged container (again either trusty or xenial will do),
  and install ubuntu-lxc/daily ppa there.

  Create an unprivileged container in that container.  It will fail at
  mounting proc using safe_mount.  At this point it is mounting proc
  onto /proc/self/fd/14 flags 14.

        lxc-start 20160208234209.189 ERROR    lxc_utils -
  utils.c:safe_mount:1695 - Operation not permitted - Failed to mount
  proc onto /usr/lib/x86_64-linux-gnu/lxc/proc

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


Follow ups