Bug 843299

Summary: poweroff, reboot missfunction
Product: [Fedora] Fedora Reporter: M. A. MacLain <mgml>
Component: systemdAssignee: systemd-maint
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 17CC: johannbg, lnykryn, metherid, msekleta, notting, plautrba, systemd-maint, vpavlin
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-08 23:45:00 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 M. A. MacLain 2012-07-26 01:27:36 UTC
Description of problem:

When "poweroff", "reboot" or "halt" is invoked from the /usr/bin/ directory, the comand is sent to "systemctl" via a link to "consolehelper".

When the command is invoked from the /usr/bin/ directory it is passed directly to "systemctl".

Thus I expected /usr/bin/poweroff to ask for authentication and /usr/sbin/poweroff execute immediatly.


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

systemd-44-17.fc17.x86_64



How reproducible: All the time.


Steps to Reproduce:

Creat keyboard shortcuts as follows:

         Key      Command
         "Alt r"   /usr/bin/reboot 
         "Alt s"   /usr/sbin/poweroff

Test 1
1. Powered off and re-start box.
2. Log User.
3. Punch "Alt s".

Test 2
1. Powered off and re-start box.
2. Log User.
3. Punch "Alt r".

Actual results:
Test 1: Request for Administrator Authentication snipet displayed.
Test 2: An immediate reboot was executed.

Expected results:
Test 1: The system was expected to power off immediatly.
Test 2: The system was expected to request for Administrator Authentication

Additional info:

Comment 1 Kay Sievers 2012-08-08 23:45:00 UTC

*** This bug has been marked as a duplicate of bug 804088 ***