No results are shown for containers that have an underscore in the id
Bug #1607819 reported by
Christopher Townsend
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
lp:~larryprice/libertine/restrict-container-id
- Libertine CI Bot: Approve (continuous-integration)
- Christopher Townsend (community): Approve
-
Diff: 51 lines (+9/-7)2 files modifiedtools/libertine-container-manager (+8/-6)
tools/libertine-container-manager.1 (+1/-1)
lp:~townsend/libertine/release-1.3.1
- Larry Price: Approve
-
Diff: 547 lines (+131/-72)18 files modifiedCMakeLists.txt (+1/-1)
data/CMakeLists.txt (+2/-4)
data/puritine-15.04.1.framework (+0/-2)
debian/changelog (+23/-0)
debian/control (+3/-1)
debian/libertine-tools.install (+0/-2)
debian/python3-libertine-chroot.install (+1/-0)
liblibertine/CMakeLists.txt (+0/-1)
liblibertine/libertine.cpp (+14/-2)
liblibertine/libertine.h (+2/-2)
python/libertine/ChrootContainer.py (+4/-5)
python/libertine/LxcContainer.py (+16/-15)
python/libertine/utils.py (+17/-7)
tools/libertine-container-manager (+8/-6)
tools/libertine-container-manager.1 (+1/-1)
tools/libertine-lxc-manager (+12/-12)
tools/libertine-session-bridge (+7/-4)
tools/update-puritine-containers (+20/-7)
Changed in libertine (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Medium |
affects: | libertine (Ubuntu) → libertine-scope (Ubuntu) |
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 |
Changed in canonical-devices-system-image: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
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.