Bug 661419

Summary: subscription-manager-gui: no error message when trying to open second instance
Product: Red Hat Enterprise Linux 6 Reporter: J.C. Molet <jmolet>
Component: subscription-managerAssignee: Justin Harris <jharris>
Status: CLOSED ERRATA QA Contact: J.C. Molet <jmolet>
Severity: medium Docs Contact:
Priority: low    
Version: 6.1CC: jharris, jkeck, jsefler
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-19 13:38:04 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:
Bug Depends On:    
Bug Blocks: 639436    

Description J.C. Molet 2010-12-08 19:05:49 UTC
Description of problem:

When you try to open up a second instance of the subscription-manager-gui it doesn't open (this is the correct behavior), but there is no friendly message letting you know that the program is already open in another instance.  Currently it looks like it fails without reason.

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

subscription-manager-gnome-0.93.2-1.git.91.7f89664.fc14.x86_64
subscription-manager-0.93.2-1.git.91.7f89664.fc14.x86_64

How reproducible:
always

Steps to Reproduce:
1. Install subscription-manager and subscription-manager-gui on a machine.
2. Open up one instance of subscription manager gui.
3. Open up a second instance of subscription manager gui.
  
Actual results:

The program doesn't open and no error message is given:

[root@mgmt5 ~]# subscription-manager-gui 
[root@mgmt5 ~]#

Expected results:

The program would let you know that it is already open with a message printed to the console.

Comment 1 Justin Harris 2010-12-13 14:34:48 UTC
Added a model dialog with a message that an instance is already running.

Commit 855593060f93d97f1db111d98173079fe4a4acd3

Comment 2 J.C. Molet 2010-12-13 19:17:40 UTC
version:
subscription-manager-gnome-0.93.3-1.git.19.7e709b6.fc14.x86_64
subscription-manager-0.93.3-1.git.19.7e709b6.fc14.x86_64

Test:
[root@jmolet-vm1 ~]# subscription-manager-gui &
[1] 30507
[root@jmolet-vm1 ~]# subscription-manager-gui
subscription-manager-gui is already running
[root@jmolet-vm1 ~]# 

(this is also followed by a gui pop-up saying the same thing).

Bug looks fixed.

Comment 3 John Sefler 2010-12-13 19:20:03 UTC
moving to VERIFIED on behalf of jmolet

Comment 4 errata-xmlrpc 2011-05-19 13:38:04 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-0611.html