No results are shown for containers that have an underscore in the id

Bug #1607819 reported by Christopher Townsend
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
Medium
Unassigned
Libertine
Status tracked in Devel
Devel
Fix Released
Medium
Larry Price
Trunk
Fix Released
Medium
Larry Price
Libertine Scope
Invalid
Medium
Unassigned
libertine (Ubuntu)
Fix Released
Medium
Larry Price

Bug Description

Creating a container with an underscore in the id, the Libertine scope will not produce any results for that container.

Steps to reproduce:

1. Create a container that has an underscore ("_") in it's container_id.
2. Install a package in the container, such as gedit.
3. Look at the Libertine Scope

No results are shown for this particular container:(

Related branches

Changed in libertine (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
affects: libertine (Ubuntu) → libertine-scope (Ubuntu)
Revision history for this message
Larry Price (larryprice) wrote :

We should prevent any IDs that don't match the u-a-l package name regex:

    #define REGEX_PKGNAME "([a-z0-9][a-z0-9+.-]+)"

Easy fix for l-c-m.

Revision history for this message
Christopher Townsend (townsend) wrote :

Since we have to restrict the container id in libertine-container-manager, I'm marking the libertine-scope task invalid.

affects: libertine-scope (Ubuntu) → libertine (Ubuntu)
no longer affects: libertine-scope/release
no longer affects: libertine-scope/trunk
Changed in libertine-scope:
status: In Progress → Invalid
milestone: 1.4 → none
assignee: Larry Price (larryprice) → nobody
Revision history for this message
Libertine CI Bot (libertine-ci-bot) wrote :

Fix committed into lp:libertine at revision 276, 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)
Changed in canonical-devices-system-image:
status: New → Fix Committed
importance: Undecided → Medium
milestone: none → 13
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libertine - 1.3.1+16.10.20160812.3-0ubuntu1

---------------
libertine (1.3.1+16.10.20160812.3-0ubuntu1) yakkety; urgency=medium

  [ Brandon Schaefer ]
  * Update our dbus session socket path to allow for the new session bus
    address while still supporting the older way.

  [ Chris Townsend ]
  * Fix crash where /run/user/$UID/dbus-session doesn't exist when the
    update-puritine-containers click hook runs. (LP: #1606505)
  * Only install the puritine click hook stuff in the python3-libertine-chroot
    package since puritine is only a chroot and remove the unused puritine
    framework.
  * Bump version to 1.3.1.

  [ Larry Price ]
  * Enforce click requirements for container ID. (LP: #1607819)
  * Extend desktop file search to recurse directories. (LP: #1608556)
  * Remove unused dependency on pam. (LP: #1579821)
  * Create bind-mount directories based on information from xdg-user-dir,
    and only mount on container startup. (LP: #1610123)

 -- Christopher Townsend <email address hidden> Fri, 12 Aug 2016 18:58:42 +0000

Changed in libertine (Ubuntu):
status: In Progress → Fix Released
Changed in canonical-devices-system-image:
status: Fix Committed → 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.