Bug 715148

Summary: 0 doesn't work on shutdown
Product: [Fedora] Fedora Reporter: Ray Todd Stevens <raytodd>
Component: systemdAssignee: Lennart Poettering <lpoetter>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: harald, johannbg, lpoetter, metherid, mschmidt, notting, plautrba
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-22 07:09:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Ray Todd Stevens 2011-06-22 02:12:00 UTC
Description of problem:


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


How reproducible:

Every time

Steps to Reproduce:

Type shutdown -r 0
  
Actual results:

error message that the 0 is not understood

Expected results:

the system starts a shutdown and reboots

Additional info:

shutdown -r gets the results expected for shutdown -r 0

Comment 1 Petr Lautrbach 2011-06-22 06:56:27 UTC
upstart and its utilities were replaced by systemd in Fedora 15. You probably call /sbin/shutdown from systemd:

 # /sbin/shutdown -r 0
Failed to parse time specification: 0

# /lib/upstart/shutdown -r 0
...
The system is going down for reboot NOW!

Comment 2 Michal Schmidt 2011-06-22 07:09:43 UTC

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