[Mageia-dev] latest kernels not powering off machines on shutdown

Colin Guthrie mageia at colin.guthr.ie
Thu Aug 9 21:51:06 CEST 2012


'Twas brillig, and Pascal Terjan at 09/08/12 20:44 did gyre and gimble:
> On Thu, Aug 9, 2012 at 8:38 PM, Colin Guthrie <mageia at colin.guthr.ie> wrote:
>> 'Twas brillig, and Pascal Terjan at 09/08/12 20:33 did gyre and gimble:
>>> But even since I know it has changed, 10 years habits had me typing
>>> halt and then saying some bad words as it meant I would not be able to
>>> power it on again for a few days.
>>
>> OK, how about a compromise, "urpmi restore-broken-halt-command" which
>> just contains a single file /etc/profile.d/99broken-halt-command.sh
>> which contains:
>>
>> alias halt=poweroff
>>
> 
> Well my own machine already has halt='halt -p' since the day I lost it
> like that :)
> What annoys me is that I don't see the point of changing the default
> behavior of a (quite important) command while the new default is
> something people would only want to use in very rare cases and will
> cause problems to most of them.

Well, for me personally, I always prefer to fix things that are broken
and not use history as an excuse for keeping broken behaviour. It
doesn't take long to adapt to new commands and the people of the future
will never need to learn the history behind why such a quirk exists.

Anyway, I very much do not want to patch systemd to change upstream
behaviour here. If we have to work around it then someone who cares
enough can create the package as I suggested above, or take the cause to
upstream systemd and get them to change the behaviour.

Col


-- 

Colin Guthrie
colin(at)mageia.org
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited http://www.tribalogic.net/
Open Source:
  Mageia Contributor http://www.mageia.org/
  PulseAudio Hacker http://www.pulseaudio.org/
  Trac Hacker http://trac.edgewall.org/


More information about the Mageia-dev mailing list