Bug 23919

Summary: /bin/halt doesn't shut down system
Product: Mageia Reporter: Stig-Ørjan Smelror <smelror>
Component: RPM PackagesAssignee: Neal Gompa <ngompa13>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: Normal CC: tmb
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: systemd-236-9.mga7.src.rpm CVE:
Status comment:

Description Stig-Ørjan Smelror 2018-11-28 15:32:36 CET
Hi.

I did 2 tests as root in a VM.

1. /bin/halt
  a. Resulted in a system that was halted but would not shut down as I would expect.

2. shutdown -h now
  a. Did exactly that and worked as expected.
Comment 1 Thomas Backlund 2018-11-28 15:54:57 CET
Your expectation is wrong.


halt does exactly what the command says, halts the system.

halt =! poweroff

if you want it to power off, add the -p flag

Status: NEW => RESOLVED
Resolution: (none) => INVALID
CC: (none) => tmb