Some bind-mounts in LXC type containers are owned by nobody/nogroup

Bug #1654650 reported by Christopher Townsend
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Libertine
Status tracked in Devel
Devel
Fix Released
Medium
Christopher Townsend
Trunk
Fix Released
Medium
Christopher Townsend
libertine (Ubuntu)
Fix Released
Medium
Christopher Townsend

Bug Description

Some bind-mounts in LXC type containers are owned by nobody/nogroup in the running container such as /tmp/.X11-unix and /usr/lib/locale.

This is probably the root of the problem of why some package updates fail and should be investigated so we can potentially get rid of the umount's in container operations and also get rid of the container operations/container apps running scenarios.

Related branches

Changed in libertine (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Christopher Townsend (townsend) wrote :

I think the solution here is to remove the umounts during LxcContainer::start_container(). the /usr/lib/locale umount was removed in the MP for bug #1654648. I will propose an MP here for removing the /tmp/.X11-unix umount.

Revision history for this message
Libertine CI Bot (libertine-ci-bot) wrote :

Fix committed into lp:libertine at revision None, scheduled for release in libertine, milestone Unknown

Changed in libertine:
status: In Progress → Fix Committed
Changed in libertine (Ubuntu):
status: Triaged → In Progress
assignee: nobody → Christopher Townsend (townsend)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libertine - 1.5.1+17.04.20170118-0ubuntu1

---------------
libertine (1.5.1+17.04.20170118-0ubuntu1) zesty; urgency=medium

  [ Chris Townsend ]
  * Remove the /tmp/.X11-unix umount during LXC container start for operations
    as it seems it's not needed. (LP: #1654650)
  * Remove extra finish_application() in chroot backend.
  * Set container's locale and language based on the host including installing
    necessary language packs. (LP: #1609982)
  * Bump version to 1.5.1.

  [ Larry Price ]
  * Manually execute lxd bind mount script to fix /run/user and remove
    service. (LP: #1654647)
  * Convert results to dicts on operation/application collision in container
    lifecycle managers.
  * Stop bind-mounting /usr/lib/locale and let environment do all the work.
    (LP: #1654648)
  * Mount lxd home directory in $HOME/.local/libertine-container where it
    belongs.
  * Manually wait for lxd container to stop when specified after calling the
    service. (LP: #1655980)
  * Ask for container user password when creating lxd containers. (LP: #1655977)
  * Bind-mount lxd container applications and icons directories into user's
    home directory.

 -- Christopher Townsend <email address hidden> Wed, 18 Jan 2017 14:50:33 +0000

Changed in libertine (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.