RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1110349 - avahi-ui-tools tracebacks when avahi-daemons is not running
Summary: avahi-ui-tools tracebacks when avahi-daemons is not running
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: avahi
Version: 6.7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Michal Sekletar
QA Contact: Jakub Prokes
URL:
Whiteboard:
Depends On:
Blocks: 1356056
TreeView+ depends on / blocked
 
Reported: 2014-06-17 13:22 UTC by Petr Sklenar
Modified: 2017-03-21 11:56 UTC (History)
1 user (show)

Fixed In Version: avahi-0.6.25-17.el6
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-21 11:56:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:0793 0 normal SHIPPED_LIVE avahi bug fix update 2017-03-21 12:50:39 UTC

Description Petr Sklenar 2014-06-17 13:22:25 UTC
Description of problem:
avahi-ui-tools tracebacks when avahi-daemons is not running

Version-Release number of selected component (if applicable):
# rpm -qf `which avahi-discover`
avahi-ui-tools-0.6.25-12.el6.ppc64
avahi-0.6.25-12.el6.ppc64

How reproducible:
always

Steps to Reproduce:
1.
# /etc/init.d/avahi-daemon stop
Shutting down Avahi daemon:                                [  OK  ]
2.
# avahi-discover
A new main_window has been created
Traceback (most recent call last):
  File "/usr/bin/avahi-discover", line 274, in <module>
    main()
  File "/usr/bin/avahi-discover", line 269, in main
    main_window = Main_window()
  File "/usr/bin/avahi-discover", line 63, in __init__
    SimpleGladeApp.__init__(self, path, root, domain, **kwargs)
  File "/usr/lib/python2.6/site-packages/avahi_discover/SimpleGladeApp.py", line 108, in __init__
    self.new()
  File "/usr/bin/avahi-discover", line 254, in new
    self.server = dbus.Interface(self.bus.get_object(avahi.DBUS_NAME, avahi.DBUS_PATH_SERVER), avahi.DBUS_INTERFACE_SERVER)
  File "/usr/lib/python2.6/site-packages/dbus/bus.py", line 244, in get_object
    follow_name_owner_changes=follow_name_owner_changes)
  File "/usr/lib/python2.6/site-packages/dbus/proxies.py", line 241, in __init__
    self._named_service = conn.activate_name_owner(bus_name)
  File "/usr/lib/python2.6/site-packages/dbus/bus.py", line 183, in activate_name_owner
    self.start_service_by_name(bus_name)
  File "/usr/lib/python2.6/site-packages/dbus/bus.py", line 281, in start_service_by_name
    'su', (bus_name, flags)))
  File "/usr/lib/python2.6/site-packages/dbus/connection.py", line 630, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Avahi was not provided by any .service files



Actual results:
traceback

Expected results:
nice info message that avahi-daemons needs to be started in advance

Additional info:

Comment 3 Michal Sekletar 2016-07-22 10:55:27 UTC
Never versions already produce nice error message instead of traceback. Should be easy to backport.

Comment 10 errata-xmlrpc 2017-03-21 11:56:31 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2017-0793.html


Note You need to log in before you can comment on or make changes to this bug.