Comment 1 for bug 1686590

Revision history for this message
slash (slash-tux) wrote :

Some other input :
# tail -f /userdata/system-data/var/log/upstart/ubuntu-location-service.log
 Diag_LSM_Init: Failed to open handle to diag driver, error = 2 Diag_LSM_Init: Failed to open handle to diag driver, error = 2Instantiating and configuring: remote::Provider
Attempted to unregister path (path[0] = com path[1] = ubuntu) which isn't registered
Attempted to unregister path (path[0] = org path[1] = freedesktop) which isn't registered
Attempted to unregister path (path[0] = org path[1] = freedesktop) which isn't registered
Attempted to unregister path (path[0] = core path[1] = trust) which isn't registered
 name -> com.ubuntu.espoo.Service.Provider
 path -> /com/ubuntu/espoo/Service/Provider
Instantiating and configuring: gps::Provider
 Diag_LSM_Init: Failed to open handle to diag driver, error = 2Instantiating and configuring: remote::Provider
Attempted to unregister path (path[0] = com path[1] = ubuntu) which isn't registered

Regarding the error msg : Diag_LSM_Init: Failed to open handle to diag driver, error = 2

I've found a similar error msg for Firefox OS and Nexus 5
https://bugzilla.mozilla.org/show_bug.cgi?id=1107742
They fixed it by the commit in the bug https://bugzilla.mozilla.org/show_bug.cgi?id=1112175

It's seems a permission issue defined in BoardConfig.mk
https://github.com/mozilla-b2g/device-hammerhead/commit/98e8bed41f06d62373146054c5e7b328d93d6582

-BOARD_KERNEL_CMDLINE := console=ttyHSL0,115200,n8 androidboot.hardware=hammerhead user_debug=31 maxcpus=2 msm_watchdog_v2.enable=1 androidboot.selinux=disabled
+BOARD_KERNEL_CMDLINE := console=ttyHSL0,115200,n8 androidboot.hardware=hammerhead user_debug=31 maxcpus=2 msm_watchdog_v2.enable=1 androidboot.selinux=permissive

It's so far out of my capabilities to assess if this is applicable or not.

Rgds