Bug 23919 - /bin/halt doesn't shut down system
Summary: /bin/halt doesn't shut down system
Status: RESOLVED INVALID
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Neal Gompa
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-28 15:32 CET by Stig-Ørjan Smelror
Modified: 2018-11-28 15:54 CET (History)
1 user (show)

See Also:
Source RPM: systemd-236-9.mga7.src.rpm
CVE:
Status comment:


Attachments

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


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