Related to Bug #26099, we may need to limit the number of connections per CM instance to avoid any leaks in tpsip. We should eventually do this anyway to limit the effect of a tpsip instance crashing. Estimate 5 hours, assuming we can use Sjoerd's code from another project to spawn dbus-daemons.
I'll take this bit.
Sjoerd contributes: #!/usr/bin/env python import subprocess import atexit import os import signal import dbus def spawnbus(): process = subprocess.Popen ( [ "dbus-daemon", "--session", "--nofork", "--print-address" ], stdout = subprocess.PIPE, ) atexit.register (lambda p: os.kill (p.pid, signal.SIGKILL), process) address = process.stdout.readline().rstrip() return dbus.bus.BusConnection (address)
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.