Bug 843299 - poweroff, reboot missfunction
Summary: poweroff, reboot missfunction
Keywords:
Status: CLOSED DUPLICATE of bug 804088
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 17
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-07-26 01:27 UTC by M. A. MacLain
Modified: 2012-08-08 23:45 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-08 23:45:00 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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 ***


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