Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 846686

Summary: Add/remove user account is not synchronized well with 'Switch User' menu item visibility
Product: Red Hat Enterprise Linux 7 Reporter: Martin Simon <msimon>
Component: gnome-shellAssignee: Florian Müllner <fmuellner>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0CC: mclasen, mdomonko, tpelka, vbenes
Target Milestone: beta   
Target Release: 7.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-19 07:11:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Martin Simon 2012-08-08 12:47:50 UTC
Description of problem:
If I have only one user account, the primary one, Switch User menu item in gnome-shell menu (the right one behind my account name)

Version-Release number of selected component (if applicable):
gnome-shell-3.4.1-5.el7.x86_64
control-center-3.4.2-2.el7.x86_64

How reproducible:


Steps to Reproduce:
1. Add and remove several user accounts
2.
3.
  
Actual results:
The 'Switch User' menu item visibility is not synchronized with actual state. It's invisible after user account is removed, does not matter how many accounts left, and it's visible if there is only one (primary) account..

Expected results:
It should be visible if there is 2 or more accounts, otherwise it should be invisible, right?

Additional info:

Comment 1 Florian Müllner 2012-10-16 17:45:43 UTC
At least part of this is an AccountsService issue[0].

[0] http://cgit.freedesktop.org/accountsservice/commit/src/libaccountsservice/act-user-manager.c?id=47b5049962

Comment 3 RHEL Program Management 2014-03-22 07:05:32 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 5 Vladimir Benes 2015-05-12 13:59:28 UTC
this works well in 3.14

Comment 7 Martin Simon 2015-09-02 12:16:15 UTC
I've re-tested this with gnome-shell-3.14.4-26.el7.x86_64 and control-center-3.14.5-8.el7.x86_64. According to my results and comment 5, the behavior seems to be correct. The switch user button appears just fine.

Comment 8 errata-xmlrpc 2015-11-19 07:11:39 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-2015-2216.html