Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#4411 - dbus services not working owing to /opt/gnome [see inside for FIX]

Attached to Project: Arch Linux
Opened by Nikos Kouremenos (zeppelin) - Saturday, 08 April 2006, 18:18 GMT
Last edited by arjan timmerman (blaasvis) - Friday, 26 May 2006, 08:50 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Kieslich (tobias)
Architecture not specified
Severity Medium
Priority Normal
Reported Version 0.7.1 Noodle
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

>>> import dbus
>>> bus = dbus.SessionBus ()
>>> bus.start_service_by_name ('net.ekiga.instance')
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/lib/python2.4/site-packages/dbus/_dbus.py", line 241, in
start_service_by_name
return dbus_bindings.bus_start_service_by_name(self._connection,
named_service)
File "dbus_bindings.pyx", line 1740, in
dbus_bindings.bus_start_service_by_name
dbus_bindings.DBusException: The name net.ekiga.instance was not
provided by any .service files


but
pacman -Ql ekiga | grep service
ekiga /opt/gnome/share/dbus-1/services/
ekiga /opt/gnome/share/dbus-1/services/net.ekiga.helper.service
ekiga /opt/gnome/share/dbus-1/services/net.ekiga.instance.service



dbus server is not configured to search for .service files in
/opt/gnome/share/dbus-1/ ; see /etc/dbus-1/session.conf for the service
directories ; here it looks only in /usr/share/dbus-1/services

and also talks about:

<!-- This configuration file controls the per-user-login-session message bus.
Add a session-local.conf and edit that rather than changing this
file directly. -->

those dbus guys!! they do not say where to put that local session so
it's parsed automatically!

but anyways we should not ask the user to actually hack session-loca.conf, but instead make sure that
/etc/dbus-1/session.conf

also looks in /opt/gnome/share/dbus-1/services/ and in /opt/kde/share/dbus-1/services [such a thing may exist in the future]

more: http://www.die.net/doc/linux/man/man1/dbus-daemon-1.1.html
This task depends upon

Closed by  Tobias Kieslich (tobias)
Sunday, 04 June 2006, 02:41 GMT
Reason for closing:  Implemented
Additional comments about closing:  Implemented in all big Desktops in /opt
Comment by arjan timmerman (blaasvis) - Thursday, 25 May 2006, 10:58 GMT
whitout any change it just works ?
Comment by Nikos Kouremenos (zeppelin) - Thursday, 25 May 2006, 13:08 GMT
hm? no else I woudln't bug

the problem is you put some service files in /opt but dbus is by default only looking in /usr
Comment by arjan timmerman (blaasvis) - Thursday, 25 May 2006, 13:30 GMT
sorry i understoud wrongly, i thought ekiga didn't start. fixed it by now.
Comment by arjan timmerman (blaasvis) - Thursday, 25 May 2006, 13:31 GMT
tpowa, please add an dbus-session.conf like the one in gnome-common to kde please ?
Comment by Tobias Powalowski (tpowa) - Friday, 26 May 2006, 08:46 GMT
added to kde 3.5.3
Comment by arjan timmerman (blaasvis) - Friday, 26 May 2006, 08:51 GMT
neri, please add this to xfce4 too
Comment by Jan de Groot (JGC) - Tuesday, 30 May 2006, 12:23 GMT
Neri, please take a look at the updated files in gnome-common and kde-common, and also make sure the directory you specify in the config file exists. the new version of libxfce4util breaks dbus sessionbus.
Comment by Tobias Kieslich (tobias) - Tuesday, 30 May 2006, 16:26 GMT
Done, the whole thing is pointless for xfce4 anyway, since it is not using dbus from what I see. Maybe thunar in 4.4 will use of it. So it's more of a preparation for the new release from my side anyway.
Also My question wold be: atm this dir is owned by root. Who is supposed to be able to write into this session dir. Do we have to take care of permissions?
Comment by Tobias Kieslich (tobias) - Saturday, 03 June 2006, 00:02 GMT
Are we through this? Closing Time?

Loading...