You are not logged in.

#1 2012-08-05 10:39:19

madeye
Member
From: Denmark
Registered: 2006-07-19
Posts: 331
Website

[SOLVED] halt command freeze system (using systemd)

I've run into a little odd thing with a new arch linux test install. I am trying to learn a little about systemd, and thought the best way was to make a new install on my spare PC.

What I've run into is that using the halt command initiates a shutdown, however after displaying "system halt" on the screen, it just stays there.
sometimes I can hear the harddrive spinning down. That's it. Even after waiting for 8 minutes there is no change.

Using the poweroff command (as described on http://freedesktop.org/wiki/Software/sy … n_Problems ) works fine?

The reboot command works fine as well.

Looking at the journal I am not able to see anything indicating any problem. (although I may not know what to look for)


Am I overlooking something? Please let me know if you need additional information.

Last edited by madeye (2012-08-05 11:30:41)


MadEye | Registered Linux user #167944 since 2000-02-28 | Homepage

Offline

#2 2012-08-05 10:49:14

anti-destin
Member
Registered: 2009-02-14
Posts: 234

Re: [SOLVED] halt command freeze system (using systemd)

see man systemctl:

halt

Shut down and halt the system. This is mostly equivalent to start halt.target but also prints a wall message to all users. If combined with --force shutdown of all running services is skipped, however all processes are killed and all file systems are unmounted or mounted read-only, immediately followed by the system halt. If --force is specified twice the the operation is immediately executed without terminating any processes or unmounting any file systems. This may result in data loss.

poweroff

Shut down and power-off the system. This is mostly equivalent to start poweroff.target but also prints a wall message to all users. If combined with --force shutdown of all running services is skipped, however all processes are killed and all file systems are unmounted or mounted read-only, immediately followed by the powering off. If --force is specified twice the the operation is immediately executed without terminating any processes or unmounting any file systems. This may result in data loss.

Offline

#3 2012-08-05 11:11:53

65kid
Member
From: Germany
Registered: 2011-01-26
Posts: 663

Re: [SOLVED] halt command freeze system (using systemd)

halt in systemd does exactly what it is supposed to do - halt the system. Afaik this is mostly used to debug the shutdown process. If you want the machine to turn off, use poweroff.

Offline

#4 2012-08-05 11:30:24

madeye
Member
From: Denmark
Registered: 2006-07-19
Posts: 331
Website

Re: [SOLVED] halt command freeze system (using systemd)

I knew there was a logical explanation. Thanks!

I'll just have to getting used to a new command smile


MadEye | Registered Linux user #167944 since 2000-02-28 | Homepage

Offline

Board footer

Powered by FluxBB