moonshot-ui 1.0.6 does not work headless in Centos6

Bug #1775587 reported by Alejandro Perez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Moonshot ID Selector
Fix Committed
Medium
Jennifer Richards

Bug Description

It seems that packages for version 1.0.5 where built with IPC_DBUS_GLIB, which uses a simplified code for launching the ephemeral DBUS session, whereas packages for version 1.0.6 are built with IPC_DBUS_GLIB disabled. While this works ok for Centos 7 and Debian, in Centos 6.9 the attempt to connect to the current DBUS session (which does not exist) does not result into DBUS_GERROR_NOT_SUPPORTED, but into DBUS_GERROR_SPAWN_EXEC_FAILED. This makes that dbus_launch_moonshot is not executed hence no DBUS session is available for the client and it fails.

A simple patch that works is including this second error into the known errors that can trigger the execution of dbus_launch_moonshot().

EDITED: removed pasted patch and attach it properly.

Revision history for this message
Alejandro Perez (alejandro-perez-mendez) wrote :

Attaching properly formatted patch

description: updated
Revision history for this message
Jennifer Richards (jennifer-k) wrote :

This code may change in the upcoming release, but if not, I will include this. Thanks!

Changed in moonshot-ui:
status: New → Confirmed
status: Confirmed → In Progress
assignee: nobody → Jennifer Richards (jennifer-k)
importance: Undecided → Medium
Changed in moonshot-ui:
status: In Progress → Fix Committed
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.