Starting an app in an LXD type container may fail due to not finding the dbus bridge socket
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Libertine | Status tracked in Devel | |||||
Devel |
Fix Released
|
High
|
Larry Price | |||
Trunk |
Fix Released
|
High
|
Larry Price | |||
libertine (Ubuntu) |
Fix Released
|
High
|
Larry Price |
Bug Description
I have installed Terminator in my LXD based container, and it fails to start with the following:
(terminator:165): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Failed to connect to socket /run/user/
Traceback (most recent call last):
File "/usr/bin/
TERMINATOR.
File "/usr/share/
window, terminal = self.new_window()
File "/usr/share/
terminal = maker.make(
File "/usr/share/
output = func(**kwargs)
File "/usr/share/
return(
File "/usr/share/
self.
File "/usr/share/
self.
File "/usr/share/
title_font = pango.FontDescr
File "/usr/share/
'/desktop/
glib.GError: No D-BUS daemon running
Seems the /run/user/
Related branches
- Christopher Townsend (community): Approve
- Libertine CI Bot: Approve (continuous-integration)
-
Diff: 53 lines (+5/-17)1 file modifiedpython/libertine/LxdContainer.py (+5/-17)
- Larry Price: Approve
-
Diff: 927 lines (+276/-122)17 files modifiedCMakeLists.txt (+1/-1)
data/libertine-lxc.conf (+0/-1)
debian/changelog (+27/-0)
liblibertine/libertine.cpp (+2/-18)
python/libertine/ChrootContainer.py (+8/-13)
python/libertine/ContainersConfig.py (+6/-0)
python/libertine/HostInfo.py (+12/-0)
python/libertine/Libertine.py (+82/-13)
python/libertine/LxcContainer.py (+7/-8)
python/libertine/LxdContainer.py (+95/-41)
python/libertine/lifecycle/ContainerLifecycleService.py (+7/-7)
python/libertine/utils.py (+3/-11)
snapcraft.yaml (+1/-1)
tools/libertine-container-manager (+21/-4)
tools/libertine-container-manager.1 (+1/-1)
tools/libertine-lxc-manager (+1/-1)
tools/libertine-lxd-manager (+2/-2)
tags: | added: lxd |
Changed in libertine (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in libertine (Ubuntu): | |
status: | Triaged → In Progress |
assignee: | nobody → Larry Price (larryprice) |
Yup, turns out the systemd service I was setting up takes far longer to remount /run/user than I thought. We'll just run the script manually before anything else is allowed to start.