Bug 702026 - confusing warning message when rhsm-icon runs twice
Summary: confusing warning message when rhsm-icon runs twice
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: subscription-manager
Version: 5.7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Chris Duryee
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 675214 704644
TreeView+ depends on / blocked
 
Reported: 2011-05-04 15:11 UTC by Chris Duryee
Modified: 2011-07-21 12:30 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 704644 (view as bug list)
Environment:
Last Closed: 2011-07-21 08:45:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2011:1078 0 normal SHIPPED_LIVE new package: subscription-manager 2011-07-21 08:45:07 UTC

Description Chris Duryee 2011-05-04 15:11:22 UTC
Description of problem:

If you run rhsm-icon while there is already an existing copy running, you get the following message:

[beav@beav-laptop subscription-manager]$ rhsm-icon

** (rhsm-icon:9252): WARNING **: Failed to acquire com.redhat.subscription-manager.Icon

However, if you run with the "-d" option, you get a better message:

[beav@beav-laptop subscription-manager]$ rhsm-icon -d

** (rhsm-icon:9615): WARNING **: Failed to acquire com.redhat.subscription-manager.Icon
** (rhsm-icon:9615): DEBUG: rhsm-icon is already running. exiting.

It seems like the "debug" message should be a warn or fatal, and the warning should be a debug since it happens during normal operation.

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

git 9cd061c

Comment 1 Chris Duryee 2011-05-05 20:31:07 UTC
Fixed on RHEL5.7 branch in fe85799a66569ec9b2283d2d6fbc8f6ca191469d, version 0.95.5.11

Comment 2 Chris Duryee 2011-05-05 20:31:38 UTC
Fixed on master branch in 06e6199fce5d6a693ba448deb0ffcf01e8b36af3, version 0.96.2

Comment 3 John Sefler 2011-05-13 20:12:45 UTC
Verifying Version...
[root@jsefler-onprem-5server ~]# rpm -qa | grep subscription-manager
subscription-manager-gnome-0.95.5.14-1.git.3.83b3a73.el5
subscription-manager-firstboot-0.95.5.14-1.git.3.83b3a73.el5
subscription-manager-0.95.5.14-1.git.3.83b3a73.el5

[root@jsefler-onprem-5server ~]# killall rhsm-icon
[3]+  Terminated              rhsm-icon
[root@jsefler-onprem-5server ~]# rhsm-icon&
[2] 24957
[root@jsefler-onprem-5server ~]# rhsm-icon

** (rhsm-icon:24967): CRITICAL **: rhsm-icon is already running. exiting.
[root@jsefler-onprem-5server ~]# rhsm-icon -d
** (rhsm-icon:24973): DEBUG: Failed to acquire com.redhat.subscription-manager.Icon

** (rhsm-icon:24973): CRITICAL **: rhsm-icon is already running. exiting.
[root@jsefler-onprem-5server ~]# 


I agree with cduryee, this feedback is preferred for the user.

Comment 4 errata-xmlrpc 2011-07-21 08:45:53 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2011-1078.html

Comment 5 errata-xmlrpc 2011-07-21 12:30:23 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2011-1078.html


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