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 927609

Summary: Authentication required for powering off
Product: Red Hat Enterprise Linux 7 Reporter: Amit Shah <amit.shah>
Component: systemdAssignee: systemd-maint
Status: CLOSED WORKSFORME QA Contact: qe-baseos-daemons
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0CC: amit.shah, lnykryn, mschmidt, systemd-maint-list
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: 2013-11-14 10:16:45 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:
Attachments:
Description Flags
Auth dialog that comes up none

Description Amit Shah 2013-03-26 10:30:06 UTC
Created attachment 716426 [details]
Auth dialog that comes up

Description of problem:

Filing against systemd, please re-route if inappropriate.

I installed RHEL7 alpha3 from the iso in a KVM VM.  In one invocation of the VM, the system wouldn't power off, asking for root passwd as shown in the screenshot.  The session manager thinks there are other users logged in, whereas I have not created any other user accounts nor have I logged in multiple times.

If try to power off after a while, it succeeds.  Maybe this gives a clue.

Comment 2 Amit Shah 2013-03-26 10:59:35 UTC
'w' only shows the current user 'amit' logged in (twice, once the gdm-session-worker and one for gnome-terminal).

Comment 3 Michal Schmidt 2013-03-26 11:21:10 UTC
What sessions does "loginctl" show?
Try also "loginctl session-status <SESSION>".

Comment 4 Amit Shah 2013-03-28 09:56:25 UTC
This doesn't happen everytime, btw.  And that makes gathering details for this bug annoying: when it doesn't reproduce, 'power off' just switches the vm off, and I once again have to power on the vm and hope the bug would show up.

However, this bug appeared on an F18 desktop as well, loginctl only showed one session.  I couldn't grab the  session-status list on that box.  Would it be relevant to this bug if I pasted data from the other F18 box (where it appears to reproduce more often)?

Comment 5 Lukáš Nykrýn 2013-11-14 10:11:21 UTC
Is this bug still an issue and if so can you please attach output from the mentioned commands? It will be useful even if the output is from fedora.

Comment 6 Amit Shah 2013-11-14 10:16:45 UTC
The Fedora bug doesn't happen anymore.  Best to close this now.  If it recurs, I'll update here.