summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-August/018032.html
blob: a6f36c39e65c58e9cab84ef0a83398dcfb65ffef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-dev] latest kernels not powering off machines on	shutdown
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20latest%20kernels%20not%20powering%20off%20machines%20on%0A%09shutdown&In-Reply-To=%3C50241D65.8010805%40colin.guthr.ie%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="018030.html">
   <LINK REL="Next"  HREF="018028.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] latest kernels not powering off machines on	shutdown</H1>
    <B>Colin Guthrie</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20latest%20kernels%20not%20powering%20off%20machines%20on%0A%09shutdown&In-Reply-To=%3C50241D65.8010805%40colin.guthr.ie%3E"
       TITLE="[Mageia-dev] latest kernels not powering off machines on	shutdown">mageia at colin.guthr.ie
       </A><BR>
    <I>Thu Aug  9 22:28:21 CEST 2012</I>
    <P><UL>
        <LI>Previous message: <A HREF="018030.html">[Mageia-dev] latest kernels not powering off machines on	shutdown
</A></li>
        <LI>Next message: <A HREF="018028.html">[Mageia-dev] latest kernels not powering off machines on	shutdown
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#18032">[ date ]</a>
              <a href="thread.html#18032">[ thread ]</a>
              <a href="subject.html#18032">[ subject ]</a>
              <a href="author.html#18032">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>'Twas brillig, and Thierry Vignaud at 09/08/12 20:55 did gyre and gimble:
&gt;<i> On 9 August 2012 21:51, Colin Guthrie &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">mageia at colin.guthr.ie</A>&gt; wrote:
</I>&gt;&gt;&gt;&gt;&gt;<i> But even since I know it has changed, 10 years habits had me typing
</I>&gt;&gt;&gt;&gt;&gt;<i> halt and then saying some bad words as it meant I would not be able to
</I>&gt;&gt;&gt;&gt;&gt;<i> power it on again for a few days.
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> OK, how about a compromise, &quot;urpmi restore-broken-halt-command&quot; which
</I>&gt;&gt;&gt;&gt;<i> just contains a single file /etc/profile.d/99broken-halt-command.sh
</I>&gt;&gt;&gt;&gt;<i> which contains:
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> alias halt=poweroff
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i> Well my own machine already has halt='halt -p' since the day I lost it
</I>&gt;&gt;&gt;<i> like that :)
</I>&gt;&gt;&gt;<i> What annoys me is that I don't see the point of changing the default
</I>&gt;&gt;&gt;<i> behavior of a (quite important) command while the new default is
</I>&gt;&gt;&gt;<i> something people would only want to use in very rare cases and will
</I>&gt;&gt;&gt;<i> cause problems to most of them.
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> Well, for me personally, I always prefer to fix things that are broken
</I>&gt;&gt;<i> and not use history as an excuse for keeping broken behaviour.
</I>&gt;<i> 
</I>&gt;<i> I could counter argue that's a lame excuse for breaking existing documented
</I>&gt;<i> behavior. Scores of people rely on that behavior.
</I>&gt;<i> 
</I>&gt;<i> What's more it's an established behavior in some communauties (eg: the kernel
</I>&gt;<i> one) to not break usage for the purpose to fix things if it breaks
</I>&gt;<i> existing apps or
</I>&gt;<i> usage.
</I>
Well as I've said if you can convince upstream I'll happily go with
that. I do not want to introduce patches for this, although I will be
happy enough with a workaround.

&gt;&gt;<i> It
</I>&gt;&gt;<i> doesn't take long to adapt to new commands and the people of the future
</I>&gt;&gt;<i> will never need to learn the history behind why such a quirk exists.
</I>&gt;<i> 
</I>&gt;<i> And what about DMs that call &quot;halt&quot; ?
</I>
They can, and should be updated to call poweroff instead. Or better to
integrate into dbus and call things that way (which is needed to provide
nice warnings about other users/sessions etc. anyway).

Col

-- 

Colin Guthrie
colin(at)mageia.org
<A HREF="http://colin.guthr.ie/">http://colin.guthr.ie/</A>

Day Job:
  Tribalogic Limited <A HREF="http://www.tribalogic.net/">http://www.tribalogic.net/</A>
Open Source:
  Mageia Contributor <A HREF="http://www.mageia.org/">http://www.mageia.org/</A>
  PulseAudio Hacker <A HREF="http://www.pulseaudio.org/">http://www.pulseaudio.org/</A>
  Trac Hacker <A HREF="http://trac.edgewall.org/">http://trac.edgewall.org/</A>
</PRE>



















<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="018030.html">[Mageia-dev] latest kernels not powering off machines on	shutdown
</A></li>
	<LI>Next message: <A HREF="018028.html">[Mageia-dev] latest kernels not powering off machines on	shutdown
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#18032">[ date ]</a>
              <a href="thread.html#18032">[ thread ]</a>
              <a href="subject.html#18032">[ subject ]</a>
              <a href="author.html#18032">[ author ]</a>
         </LI>
       </UL>

<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
mailing list</a><br>
</body></html>