Need way to add/remove extra bind-mounts inside the container's home directory

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

Bug Description

Currently, only a handful of XDG directories get mapped into the container's "confined" home directory. We need to allow users to define extra bind-mounts from the regular home directory.

We should add bind-mounts in the ContainersConfig.json like this:

{
    "containerList": [
        {
            "bindMounts": [
                {
                    "mount": "Documents"
                },
                {
                    "mount": "Downloads"
                }
            ],
        etc......
}

Related branches

Changed in libertine (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Changed in libertine:
milestone: 1.2 → 1.3
Changed in libertine:
milestone: 1.3 → 1.4
Changed in libertine:
milestone: 1.4 → 1.5
Revision history for this message
Libertine CI Bot (libertine-ci-bot) wrote :

Fix committed into lp:libertine at revision 330, 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 → Larry Price (larryprice)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libertine - 1.4.4+17.04.20161205-0ubuntu1

---------------
libertine (1.4.4+17.04.20161205-0ubuntu1) zesty; urgency=medium

  [ Chris Townsend ]
  * Support arm64 based chroots and add stable overlay PPA for xenial
    based chroots. (LP: #1642324)
  * Support creating a Libertine chroot in a snap environment.
  * Need to disable seccomp for running any proot command in a chroot
    container.
  * Escape the proot XDG bind-mounts with quotes to account for '(n)'
    possibly being added to duplicate paths.
  * Redirect where the container is created when in a snap environment.
  * Exclude XDG_DATA_DIRS from being passed in to a chroot environment.
    Fixes launching some apps in a Snappy Libertine chroot container.
  * Bump version to 1.4.4.

  [ Larry Price ]
  * Immediately exit when no container specified and no default
    available.
  * Use distro name as default codename.
  * Add initial bind-mount operations to libertine-container-manager.
    (LP: #1590051)
  * Gracefully handle bad container ids in libertine-launch.
  * Dump the lxc log after a failed create.
  * Initial implementation of a libertine d-bus service.
  * Make window_manager a member variable on ChrootContainer.
  * Happy path integration tests for libertined endpoints.
  * Update translations build for cmake-extras update.

  [ Ted Gould ]
  * Remove 'LD_LIBRARY_PATH' from the env blacklist.

 -- Christopher Townsend <email address hidden> Mon, 05 Dec 2016 21:10:03 +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.