summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-August/018046.html
blob: 483bc93ce772eea4f7699e51d522cb08aec086c1 (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
<!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%20shutdown&In-Reply-To=%3Calpine.LMD.2.02.1208102114220.4766%40zem.cjw.nep%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="018045.html">
   <LINK REL="Next"  HREF="018048.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] latest kernels not powering off machines on shutdown</H1>
    <B>Christiaan Welvaart</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20latest%20kernels%20not%20powering%20off%20machines%20on%0A%20shutdown&In-Reply-To=%3Calpine.LMD.2.02.1208102114220.4766%40zem.cjw.nep%3E"
       TITLE="[Mageia-dev] latest kernels not powering off machines on shutdown">cjw at daneel.dyndns.org
       </A><BR>
    <I>Fri Aug 10 21:27:50 CEST 2012</I>
    <P><UL>
        <LI>Previous message: <A HREF="018045.html">[Mageia-dev] latest kernels not powering off machines on	shutdown
</A></li>
        <LI>Next message: <A HREF="018048.html">[Mageia-dev] latest kernels not powering off machines on	shutdown
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#18046">[ date ]</a>
              <a href="thread.html#18046">[ thread ]</a>
              <a href="subject.html#18046">[ subject ]</a>
              <a href="author.html#18046">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>On Fri, 10 Aug 2012, Pascal Terjan wrote:

&gt;<i> On Fri, Aug 10, 2012 at 7:04 PM, Jose Jorge &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">lists.jjorge at free.fr</A>&gt; wrote:
</I>&gt;&gt;<i> Le 09/08/2012 20:10, Thierry Vignaud a &#233;crit :
</I>&gt;&gt;<i>
</I>&gt;&gt;&gt;<i> I've the impression that for some time, kernels do not power off machines
</I>&gt;&gt;&gt;<i> anymore on shutdown.
</I>&gt;&gt;&gt;<i> The kernel prints &quot;System halted.&quot; but the machine remains powered.
</I>&gt;&gt;&gt;<i> I've seen that with VMs and with real PCs.
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i> Does someone else see that?
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> Yes, and some other distros do the same (at least Slitaz). Before Mageia 2,
</I>&gt;&gt;<i> there was no interest in having both halt and poweroff doing the same.
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> Now, we can do &quot;poweroff&quot; to cut the power after stopping the kernel, or
</I>&gt;&gt;<i> &quot;halt&quot; to keep  the power on.
</I>
As I said earlier, if you are looking for these system shutdown commands, 
use:
   systemctl reboot
   systemctl halt
   systemctl poweroff
directly. The &quot;halt, &quot;reboot&quot;, and &quot;poweroff&quot; commands are only there for 
backwards compatibility.

&gt;<i> How many people expect their machine to power off when they type halt?
</I>&gt;<i> How many people will want their machine to not halt and not poweroff?
</I>&gt;<i>
</I>&gt;<i> Said in another way:
</I>&gt;<i> - How many people will this change cause problem to?
</I>&gt;<i> - How many people will benefit from it?
</I>&gt;<i>
</I>&gt;<i> I would expect the ratio to be about at least 99.9/0.1 which is why I hate it.
</I>&gt;<i>
</I>&gt;<i> This change seem to be done without any consideration for users.
</I>
So fix it, no change to systemctl is needed AFAICT, just replace the 
symlink with a tool that does &quot;the right thing&quot;, probably running 
&quot;poweroff&quot; passing all arguments verbatim. Don't forget to fix the 
manpage as well.


     Christiaan
</PRE>




















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