diff options
Diffstat (limited to 'zarb-ml/mageia-dev/2012-May/015213.html')
-rw-r--r-- | zarb-ml/mageia-dev/2012-May/015213.html | 165 |
1 files changed, 165 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-May/015213.html b/zarb-ml/mageia-dev/2012-May/015213.html new file mode 100644 index 000000000..8134486ef --- /dev/null +++ b/zarb-ml/mageia-dev/2012-May/015213.html @@ -0,0 +1,165 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-dev] [soft-commits] [4379] fix shutting down + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5Bsoft-commits%5D%20%5B4379%5D%20fix%20shutting%20down&In-Reply-To=%3C4FA25102.7020600%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="015208.html"> + <LINK REL="Next" HREF="015214.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-dev] [soft-commits] [4379] fix shutting down</H1> + <B>Colin Guthrie</B> + <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5Bsoft-commits%5D%20%5B4379%5D%20fix%20shutting%20down&In-Reply-To=%3C4FA25102.7020600%40colin.guthr.ie%3E" + TITLE="[Mageia-dev] [soft-commits] [4379] fix shutting down">mageia at colin.guthr.ie + </A><BR> + <I>Thu May 3 11:33:54 CEST 2012</I> + <P><UL> + <LI>Previous message: <A HREF="015208.html">[Mageia-dev] [soft-commits] [4379] fix shutting down +</A></li> + <LI>Next message: <A HREF="015214.html">[Mageia-dev] [soft-commits] [4379] fix shutting down +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#15213">[ date ]</a> + <a href="thread.html#15213">[ thread ]</a> + <a href="subject.html#15213">[ subject ]</a> + <a href="author.html#15213">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>'Twas brillig, and Thierry Vignaud at 03/05/12 09:05 did gyre and gimble: +><i> On 3 May 2012 09:53, Guillaume Rousse <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">guillomovitch at gmail.com</A>> wrote: +</I>>>><i> please use system("/usr/bin/chvt", "1"), or system(qw(/usr/bin/chvt 1)) +</I>>>><i> instead in order to not fork useless shells. +</I>>><i> +</I>>><i> and kill is a perl builtin perl too: +</I>>><i> kill SIGRTMAX-10, 1 +</I>><i> +</I>><i> needs 'use POSIX;' though for symbolic values +</I> +Actually none of the above. Please do it in the systemd unit itself with +ExecStartPre as this actually fixes the issues, whereas the internal +approach does not (at least in my tests) :) + +I can help write this unit if you like? + +In actual fact, this shut down script could be something that the +mgalive dracut module drops into /run/systemd/systemd. This would +prevent any poking at the installed file system and maybe allows for +easier hacking - i.e. no need to actually edit the squashfs filesystem +to tweak certain things. + +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="015208.html">[Mageia-dev] [soft-commits] [4379] fix shutting down +</A></li> + <LI>Next message: <A HREF="015214.html">[Mageia-dev] [soft-commits] [4379] fix shutting down +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#15213">[ date ]</a> + <a href="thread.html#15213">[ thread ]</a> + <a href="subject.html#15213">[ subject ]</a> + <a href="author.html#15213">[ 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> |