Bug 218062

Summary: lshal: Applications must not close shared connections - see dbus_connection_close() docs. This is a bug in the application.
Product: [Fedora] Fedora Reporter: pigetak178
Component: halAssignee: David Zeuthen <davidz>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6CC: chris, covex, mclasen, pertusus
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-01-17 22:01:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description pigetak178 2006-12-01 16:56:55 UTC
Description of problem:

lshal emits error message:

lshal >/dev/null
process 29945: Applications must not close shared connections - see
dbus_connection_close() docs. This is a bug in the application.

Version-Release number of selected component (if applicable):

hal-0.5.8.1-5.fc6

How reproducible:

Steps to Reproduce:
1. lshal >/dev/null
2.
3.
  
Actual results:

process 18206: Applications must not close shared connections - see
dbus_connection_close() docs. This is a bug in the application.


Expected results:


Additional info:

Comment 1 Matt Wette 2006-12-24 03:18:09 UTC
I am getting the same error.  I believe this message started showing
up recently with the release of new dbus RPMs

# rpm -qa | grep dbus
dbus-x11-1.0.1-8.fc6
dbus-python-0.70-6
dbus-1.0.1-8.fc6
dbus-devel-1.0.1-8.fc6
dbus-glib-devel-0.70-6.fc6
dbus-glib-0.70-6.fc6

# rpm -qa | grep hal
hal-gnome-0.5.8.1-5.fc6
hal-0.5.8.1-5.fc6
hal-devel-0.5.8.1-5.fc6
hal-cups-utils-0.6.2-4.2


Comment 2 Tethys 2007-01-02 20:36:30 UTC
Yep, and it's not just lshal, either:

leto:~% hal-device >/dev/null
process 8567: Applications must not close shared connections - see
dbus_connection_close() docs. This is a bug in the application.

leto:~% rpm -q hal dbus
hal-0.5.8.1-5.fc6
dbus-1.0.1-8.fc6

Comment 3 Adam Pribyl 2007-01-16 19:54:39 UTC
Same here. x86_64 platform.

Comment 4 Patrice Dumas 2007-02-06 22:56:22 UTC
It is certainly because lshal tries to close a shared dbus connection, 
like a connection to the SYSTEM bus. It is clearly forbidden here:

http://dbus.freedesktop.org/doc/api/html/group__DBusConnection.html#ge130c33da29477897d362ab89f068191

I hadn't a look at the hal code, though.

Comment 5 Marek Mahut 2007-02-17 14:09:41 UTC
Same issue for me: 

hal-0.5.8.1-6.fc6
dbus-1.0.1-9.fc6

on different hw.


Comment 6 Patrice Dumas 2007-03-07 10:16:45 UTC
This seems to be fixed now in devel
hal-0.5.9-0.git20070218.fc7

Comment 7 Chris Rivas 2007-05-01 13:13:35 UTC
I had the same problem with hal-0.5.8.1-6.fc6 and dbus-1.0.1-9.fc6.

This was fixed in hal upstream 2006-10-23.

dbus_connection_close(conn) was removed in one place in both lshal.c and
hal-device.c.

Afaik this still is not patched in FC6, although there have been 2 updates to
hal in FC6 since upstream fixed this.  

Comment 8 Patrice Dumas 2008-01-17 22:01:53 UTC
Closing since this seems to be fixed in f7 and fc6 isn't 
supported anymore.