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
|
<!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=%3CCA%2BCX%2Bbhy3-1UDNeQhiMWmM9SZ%2BkSrKxQcFaUk477W6GA_cCVYg%40mail.gmail.com%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="018020.html">
<LINK REL="Next" HREF="018017.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] latest kernels not powering off machines on shutdown</H1>
<B>Pascal Terjan</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=%3CCA%2BCX%2Bbhy3-1UDNeQhiMWmM9SZ%2BkSrKxQcFaUk477W6GA_cCVYg%40mail.gmail.com%3E"
TITLE="[Mageia-dev] latest kernels not powering off machines on shutdown">pterjan at gmail.com
</A><BR>
<I>Thu Aug 9 21:32:04 CEST 2012</I>
<P><UL>
<LI>Previous message: <A HREF="018020.html">[Mageia-dev] latest kernels not powering off machines on shutdown
</A></li>
<LI>Next message: <A HREF="018017.html">[Mageia-dev] latest kernels not powering off machines on shutdown
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#18022">[ date ]</a>
<a href="thread.html#18022">[ thread ]</a>
<a href="subject.html#18022">[ subject ]</a>
<a href="author.html#18022">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>On Thu, Aug 9, 2012 at 8:25 PM, Colin Guthrie <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">mageia at colin.guthr.ie</A>> wrote:
><i> 'Twas brillig, and Thierry Vignaud at 09/08/12 19:29 did gyre and gimble:
</I>>><i> On 9 August 2012 20:18, Thierry Vignaud <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">thierry.vignaud at gmail.com</A>> wrote:
</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> Humm, in fact it looks like halt == shutdown -H now whereas in the
</I>>>><i> old days it was equivalent to "shudown -P" (which still works OK).
</I>>>><i>
</I>>>><i> Since "halt" is now provided by systemd, this is were the regression
</I>>>><i> come from...
</I>>><i>
</I>>><i> I would suggests sg like this in order to restore previous behaviour
</I>><i>
</I>><i>
</I>><i> This has already been reported and I've simply closed the bugs and said
</I>><i> that I will not fix this.
</I>><i>
</I>><i> What is the point in having two commands if they both do the same thing?
</I>><i> I actually find the halt command useful for ensuring the correct thing
</I>><i> happens on shutdown (e.g. that we re-enter the initrd and pivot root out
</I>><i> of the main filesystem to ensure /usr us unmounted and LVM/raid etc.
</I>><i> properly tidied up). If you cannot issue a halt, it's nigh on impossible
</I>><i> to debug these things, so a patch to systemd would be IMO be a very bad
</I>><i> idea. I wouldn't necessarily be completely against a patch that made
</I>><i> running "halt" work differently to "systemctl halt", but such a patch
</I>><i> would likely be ugly and it's certainly not going to be accepted
</I>><i> upstream and it means inconsistent behaviour and as a result I'd rather
</I>><i> just let people adapt to the current (and IMO correct) behaviour - I
</I>><i> still maintain the old behaviour was broken and this that systemd simply
</I>><i> restores what the behaviour should have been all along.
</I>
The behavior has been incorrect for more than 10 years and everyone
uses it like that.
What is the point of changing the behavior in a way that will make it
do something bad and annoying for most users?
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="018020.html">[Mageia-dev] latest kernels not powering off machines on shutdown
</A></li>
<LI>Next message: <A HREF="018017.html">[Mageia-dev] latest kernels not powering off machines on shutdown
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#18022">[ date ]</a>
<a href="thread.html#18022">[ thread ]</a>
<a href="subject.html#18022">[ subject ]</a>
<a href="author.html#18022">[ 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>
|