You are not logged in.

#1 2012-09-02 11:44:58

CEPfister
Member
Registered: 2011-08-10
Posts: 68

[solved] systemd does not halt properly

Hello everyone !

I am using :

systemd 189-4
systemd-sysvcompat 189-4

After issuing halt, my system goes to shutdown but it hangs at the really end. The computer led are still lighten as well as the screen.

Thanks a lot !

Last edited by CEPfister (2012-09-02 13:52:46)

Offline

#2 2012-09-02 12:14:04

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,554
Website

Re: [solved] systemd does not halt properly

This is actually something systemd fixed.  Halt now does what it is supposed to - it HALTS only, it does not poweroff.

If you want to poweroff use "poweroff" or "shutdown"


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2012-09-02 13:44:53

KimTjik
Member
From: Sweden
Registered: 2007-08-22
Posts: 715

Re: [solved] systemd does not halt properly

The Wiki does clearly state this: Power management. Hence it deserves your "thanks".

Offline

#4 2012-09-02 13:52:23

CEPfister
Member
Registered: 2011-08-10
Posts: 68

Re: [solved] systemd does not halt properly

Yes indeed. Sorry for the inconvenience. I wasn't aware of this. Still thanks a lot !

Offline

#5 2012-09-05 17:01:01

cgo
Member
From: Paris, France
Registered: 2010-11-05
Posts: 22

Re: [solved] systemd does not halt properly

Hi,

while I agree that it's doing the Right Thing, how can one get the previous behavior ? That is, hitting the power button powers the computer off ?
I'm not yet comfortable with how to modify the defaults for certain targets, so some help will be apreciated.

I have a pure systemd install, without acpid installed.

Thanks,
--
Charles

Offline

#6 2012-09-05 18:29:25

KimTjik
Member
From: Sweden
Registered: 2007-08-22
Posts: 715

Re: [solved] systemd does not halt properly

It's actually easier and probably more reliable than before. You have this section in the wiki explaining it.

This is my /etc/systemd/logind.conf:

[Login]
#NAutoVTs=6
#KillUserProcesses=no
#KillOnlyUsers=
#KillExcludeUsers=root
#Controllers=
#ResetControllers=cpu
#InhibitDelayMaxSec=5
HandlePowerKey=always
#HandleSleepKey=tty-session
#HandleLidSwitch=off

If you as the wiki states check the man logind.conf you see this:

Can be one of off, no-session, tty-session, any-session and always.

I want it to shutoff whatever session is running. Choose what you prefer.

If you have more questions start a new thread. As the forum etiquette states:

If a thread is marked as [SOLVED], do not reply stating the equivalent of "I am having a similar issue.."; start a new thread and link to the [SOLVED] thread, if relevant.

You're question is different and thus it would be more appropriate to separate it from this thread.

Offline

Board footer

Powered by FluxBB