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:
><i> On Fri, Aug 10, 2012 at 7:04 PM, Jose Jorge <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">lists.jjorge at free.fr</A>> wrote:
</I>>><i> Le 09/08/2012 20:10, Thierry Vignaud a écrit :
</I>>><i>
</I>>>><i> I've the impression that for some time, kernels do not power off machines
</I>>>><i> anymore on shutdown.
</I>>>><i> The kernel prints "System halted." but the machine remains powered.
</I>>>><i> I've seen that with VMs and with real PCs.
</I>>>><i>
</I>>>><i> Does someone else see that?
</I>>><i>
</I>>><i> Yes, and some other distros do the same (at least Slitaz). Before Mageia 2,
</I>>><i> there was no interest in having both halt and poweroff doing the same.
</I>>><i>
</I>>><i> Now, we can do "poweroff" to cut the power after stopping the kernel, or
</I>>><i> "halt" 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 "halt, "reboot", and "poweroff" commands are only there for
backwards compatibility.
><i> How many people expect their machine to power off when they type halt?
</I>><i> How many people will want their machine to not halt and not poweroff?
</I>><i>
</I>><i> Said in another way:
</I>><i> - How many people will this change cause problem to?
</I>><i> - How many people will benefit from it?
</I>><i>
</I>><i> I would expect the ratio to be about at least 99.9/0.1 which is why I hate it.
</I>><i>
</I>><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 "the right thing", probably running
"poweroff" 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>
|