Apps are not terminating correctly when using LXC based containers
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Libertine | Status tracked in Devel | |||||
Devel |
Fix Released
|
High
|
Christopher Townsend | |||
Trunk |
Fix Released
|
High
|
Christopher Townsend | |||
libertine (Ubuntu) |
Fix Released
|
High
|
Christopher Townsend |
Bug Description
Environment:
Xenial 16.04
ii liblxc1 2.0.0~rc10-0ubuntu2 amd64 Linux Containers userspace tools (library)
rc lxc 1.1.4-0ubuntu1.1 amd64 Linux Containers userspace tools
ii lxc-common 2.0.0~rc10-0ubuntu2 amd64 Linux Containers userspace tools (common tools)
ii lxc-templates 2.0.0~rc10-0ubuntu2 amd64 Linux Containers userspace tools (templates)
ii lxc1 2.0.0~rc10-0ubuntu2 amd64 Linux Containers userspace tools
ii lxcfs 2.0.0~rc5-0ubuntu1 amd64 FUSE based filesystem for LXC
ii python3-
ii python3-lxc 2.0.0~rc10-0ubuntu2 amd64 Linux Containers userspace tools (Python 3.x bindings)
pc unity8-lxc 1.0.5-0~
How to reproduce:
1) Create an LXC container following https:/
2) install gedit
3) Launch gedit
4) close gedit
5) launch it again
Expected outcome:
Gedit runs
Actual outcome:
Gedit only runs exactly once every 2 tries. I run, then close, then run again, no luck, I only get the spinner.
It doesn't matter how long I wait between runs, the first time it runs, the second it fails, the third it runs again.
unity8.log of a failed run:
http://
Related branches
- Stephen M. Webb (community): Approve
- Libertine CI Bot: Approve (continuous-integration)
-
Diff: 11 lines (+4/-0)1 file modifiedpython/libertine/utils.py (+4/-0)
- Stephen M. Webb (community): Approve
-
Diff: 1203 lines (+717/-77)19 files modifieddebian/changelog (+14/-0)
libertine/ContainerArchivesList.cpp (+94/-0)
libertine/ContainerArchivesList.h (+81/-0)
libertine/ContainerConfig.cpp (+123/-17)
libertine/ContainerConfig.h (+40/-14)
libertine/ContainerConfigList.cpp (+15/-1)
libertine/ContainerConfigList.h (+4/-0)
libertine/ContainerManager.cpp (+10/-0)
libertine/ContainerManager.h (+1/-0)
libertine/libertine.cpp (+3/-0)
libertine/libertine.h (+2/-0)
libertine/qml/ConfigureContainer.qml (+34/-36)
libertine/qml/ExtraArchivesView.qml (+167/-0)
liblibertine/CMakeLists.txt (+1/-0)
python/libertine/ChrootContainer.py (+12/-3)
python/libertine/Libertine.py (+15/-4)
python/libertine/LxcContainer.py (+2/-0)
python/libertine/utils.py (+4/-0)
tools/libertine-container-manager (+95/-2)
Changed in libertine (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in libertine (Ubuntu): | |
assignee: | nobody → Christopher Townsend (townsend) |
log of a successful run: pastebin. ubuntu. com/15407908/
http://
It seems Unity8 believes that the app is still running even though it's not.
Here's what happens when I close the RUNNING app, then wait a bit, then start it again (and it fails): pastebin. ubuntu. com/15407927/
http://