Bug#740139: gnome-maps fails to start

2014-03-17 Thread Simon McVittie
severity 740139 normal
thanks

On 16/03/14 11:22, Andreas Henriksson wrote:
 This makes me suspect the automatic reloading of dbus did not
 work properly and as Simon McVittie already suggested
 using dpkg triggers to be definitely sure that a reload
 happens I'm reassigning this bug report to dbus where
 I think it can be closed when the triggers has been
 implemented (which it already has?).

Yes, implemented in 1.8.0-2.

I'd still like to know why it didn't work, but since any restart
(including one to install a version of dbus with more debug info) would
hide the bug, we'll probably never know.

 (Possibly the severity of this should be lowered since
 the program will start working next time dbus is reloaded
 for some reason, like ie. a reboot.)

I agree. I don't think this should be considered RC for dbus.

S


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#740139: gnome-maps fails to start

2014-03-16 Thread Andreas Henriksson
Control: reassign -1 dbus
Control: affects -1 gnome-maps
Control: fixed -1 1.8.0-2

Hello!

I remember us discussing this on IRC, and if I'm not mistaken
the problem went away when manually reloading/restarting dbus.
This makes me suspect the automatic reloading of dbus did not
work properly and as Simon McVittie already suggested
using dpkg triggers to be definitely sure that a reload
happens I'm reassigning this bug report to dbus where
I think it can be closed when the triggers has been
implemented (which it already has?).
(Possibly the severity of this should be lowered since
the program will start working next time dbus is reloaded
for some reason, like ie. a reboot.)

Regards,
Andreas Henriksson


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#740139: gnome-maps fails to start

2014-02-26 Thread Simon McVittie
On Wed, 26 Feb 2014 at 08:38:48 +0100, Marcus Lundblad wrote:
 Trying to start gnome-maps I get the following stderr output:
 
 JS ERROR: !!!   Exception was: Gio.DBusError: Error calling
 StartServiceByName for org.freedesktop.GeoClue2:
 GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Launch helper exited
 with unknown return code 253

I don't suppose you had a locally-installed geoclue-2.0 in /usr/local or
anything like that?

Otherwise, this means dbus-daemon executed dbus-daemon-launch-helper,
instructing it to behave according to
/usr/share/dbus-1/system-services/org.freedesktop.GeoClue2.service,
and dbus-daemon-launch-helper exited 253 before the name
org.freedesktop.GeoClue2 appeared on the bus. That, in turn, probably
means that the process described in the .service file exited 253
(at least, I can't find any reason why d-d-l-h would exit 253; on success,
it uses exec() to become the target service).

That service file for reference:

[D-BUS Service]
Name=org.freedesktop.GeoClue2
Exec=/usr/lib/geoclue-2.0/geoclue -t 5
User=geoclue

 Is it somehow possible to start the geoclue2 dbus service manually to try and
 debug this?

Yes. The closest possible equivalent to what d-d-l-h does, without
actually executing it, would go something like this:

sudo -u geoclue env - \
DBUS_STARTER_ADDRESS=unix:path=/var/run/dbus/system_bus_socket \
DBUS_STARTER_BUS_TYPE=system \
/usr/lib/geoclue-2.0/geoclue -t 5

or to go via d-d-l-h, maybe something like this:

sudo -u messagebus \
/usr/lib/dbus-1.0/dbus-daemon-launch-helper \
org.freedesktop.GeoClue2

(dbus-daemon-launch-helper is setuid root so that it can switch privileges,
in this case to geoclue, and it only allows itself to be executed by
messagebus.)

From IRC:
  mlundblad I managed to get it to start by first restarting 
  dbus.service (I'm not sure if this is too be expected)

This is not meant to be necessary. If files in either /etc/dbus-1/system.d
or /usr/share/dbus-1/system-services are modified, the system dbus-daemon
is meant to reload itself automatically, using inotify (or kqueue on kFreeBSD).
You should see a syslog message like this:

Feb 26 12:42:29 archetype dbus[1328]: [system] Reloaded configuration

and I've confirmed that on my sid laptop,
`sudo touch /usr/share/dbus-1/system-services/org.freedesktop.UPower.service`
and `sudo touch /etc/dbus-1/system.d/pulseaudio-system.conf` both provoke
that message (replace with any file in the appropriate directory if you
don't have those packages installed).

Just to be safe, I'm considering adding a trigger to dbus that registers
an interest in those two directories, calls its ReloadConfig method and
waits for it to finish whenever dpkg alters those directories.

S


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#740139: gnome-maps fails to start

2014-02-25 Thread Marcus Lundblad
Package: gnome-maps
Version: 3.10.2-1
Severity: grave
Justification: renders package unusable

Trying to start gnome-maps I get the following stderr output:

JS ERROR: !!!   Exception was: Gio.DBusError: Error calling
StartServiceByName for org.freedesktop.GeoClue2:
GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Launch helper exited
with unknown return code 253
JS ERROR: !!! message = 'Error calling StartServiceByName for
org.freedesktop.GeoClue2:
GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Launch helper exited
with unknown return code 253'
JS ERROR: !!! fileName = '/usr/share/gjs-1.0/overrides/Gio.js'
JS ERROR: !!! lineNumber = '250'
JS ERROR: !!! stack = '0
anonymous(null)@/usr/share/gjs-1.0/overrides/Gio.js:250
1 anonymous(cancellable = null, asyncCallback = undefined, object =
/org/freedesktop/GeoClue2/Manager, name = org.freedesktop.GeoClue2,
bus = [object GObject_Object])@/usr/share/gjs-1.0/overrides/Gio.js:209
2 anonymous()@/usr/share/gnome-maps/js/geoclue.js:110
3 wrapper()@/usr/share/gjs-1.0/lang.js:213
4 anonymous()@/usr/share/gjs-1.0/lang.js:154
5 anonymous()@/usr/share/gjs-1.0/lang.js:248
6 anonymous(overlay = [object GObject_Object])@/usr/share/gnome-
maps/js/mapView.js:87
7 wrapper([object GObject_Object])@/usr/share/gjs-1.0/lang.js:213
8 anonymous(app = [object GObject_Object])@/usr/share/gnome-
maps/js/mainWindow.js:69
9 wrapper([object GObject_Object])@/usr/share/gjs-1.0/lang.js:213
10 anonymous([object GObject_Object])@/usr/share/gjs-1.0/lang.js:154
11 anonymous([object GObject_Object])@/usr/share/gjs-1.0/lang.js:248
12 anonymous()@/usr/share/gnome-maps/js/application.js:97
13 wrapper()@/usr/share/gjs-1.0/lang.js:213
14 anonymous()@/usr/share/gnome-maps/js/application.js:102
15 wrapper()@/usr/share/gjs-1.0/lang.js:213
16 start()@/usr/share/gnome-maps/js/main.js:28
17 TOP LEVEL@command line:1
'

Is it somehow possible to start the geoclue2 dbus service manually to try and
debug this?

Sincerly,
Marcus Lundblad



-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.12-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=sv_SE.utf8, LC_CTYPE=sv_SE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gnome-maps depends on:
ii  dconf-gsettings-backend [gsettings-backend]  0.18.0-1
ii  geoclue-2.0  2.0.0-4
ii  gir1.2-champlain-0.120.12.5-1
ii  gir1.2-clutter-1.0   1.14.4-3
ii  gir1.2-cogl-1.0  1.14.0-3
ii  gir1.2-gdkpixbuf-2.0 2.30.5-1
ii  gir1.2-geocodeglib-1.0   3.10.0-1
ii  gir1.2-glib-2.0  1.36.0-2+b1
ii  gir1.2-gtk-3.0   3.10.7-1
ii  gir1.2-gtkchamplain-0.12 0.12.5-1
ii  gir1.2-gtkclutter-1.01.4.4-3
ii  gjs  1.36.1-2

gnome-maps recommends no packages.

gnome-maps suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org