Bug 440482

Summary: dbus 1.0.0-6.3.el5_1 breaks virt-manager network interface selection
Product: Red Hat Enterprise Linux 5 Reporter: Adam Stokes <astokes>
Component: dbusAssignee: David Zeuthen <davidz>
Status: CLOSED DUPLICATE QA Contact: desktop-bugs <desktop-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.2CC: berrange, mclasen
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-04-08 19:16:18 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 Adam Stokes 2008-04-03 18:35:45 UTC
Description of problem:
Unable to select network device during virt-manager creation

Version-Release number of selected component (if applicable):
dbus 1.0.0-6.3.el5_1

How reproducible:
100%

Steps to Reproduce:
 - Run virt-manager
   - Create a new virtual machine
   - At the "Connect to Host" step, select "Shard physical device"
     => The list is empty
  
Actual results:
     ERROR    Unable to connect to HAL to list network devices:
'%s'dbus_bindings.DBusException A security policy in place prevents this sender
from sending this message to this recipient, see message bus configuration file
(rejected message had interface "(unset)" membe
   r "QueryCapability" error name "(unset)" destination "org.freedesktop.Hal")
   Traceback (most recent call last):
     File "/usr/share/virt-manager/virtManager/connection.py", line 104, in
detect_network_devices
       self._device_added(path)
     File "/usr/share/virt-manager/virtManager/connection.py", line 115, in
_device_added
       if obj.QueryCapability("net"):
     File "/usr/lib/python2.4/site-packages/dbus/proxies.py", line 25, in __call__
       ret = self._proxy_method (*args, **keywords)
     File "/usr/lib/python2.4/site-packages/dbus/proxies.py", line 102, in __call__
       reply_message = self._connection.send_with_reply_and_block(message, timeout)
     File "dbus_bindings.pyx", line 455, in
dbus_bindings.Connection.send_with_reply_and_block
   DBusException: A security policy in place prevents this sender from sending
this message to this recipient, see message bus configuration file (rejected
message had interface "(unset)" member "QueryCapability" error name "(unset)"
destination "org.freedesktop.Hal")

   ERROR    Unable to connect to HAL to list cdrom volumes: 'A security policy
in place prevents this sender from sending this message to this recipient, see
message bus configuration file (rejected message had interface "(unset)" member
"GetPropertyBoolean" error name "(unset)" destination "org.freedesktop.Hal")'

Expected results:
Allow to choose device

Additional info:
Seems to be a result of
       2008-02-25 22:00:00
   David Zeuthen <davidz> - 1.0.0-6.3.el5_1:
   - CVE-2008-0595: D-Bus security policy circumvention
   - Resolves: #432437

But I have no access to that BZ.

Comment 1 RHEL Program Management 2008-04-03 18:43:15 UTC
This bugzilla has Keywords: Regression.  

Since no regressions are allowed between releases, 
it is also being proposed as a blocker for this release.  

Please resolve ASAP.

Comment 2 David Zeuthen 2008-04-03 18:55:46 UTC
Talked to Dan offline and decided this needs to be fixed in virt-manager /
libvirt... Dan?

Comment 4 David Mair 2008-04-08 19:16:18 UTC

*** This bug has been marked as a duplicate of 436276 ***