diff options
Diffstat (limited to 'zarb-ml/mageia-dev/2012-April/015019.html')
-rw-r--r-- | zarb-ml/mageia-dev/2012-April/015019.html | 134 |
1 files changed, 134 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-April/015019.html b/zarb-ml/mageia-dev/2012-April/015019.html new file mode 100644 index 000000000..36999ffc0 --- /dev/null +++ b/zarb-ml/mageia-dev/2012-April/015019.html @@ -0,0 +1,134 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-dev] [soft-commits] [4311] services: Use no-block mode for service start/stop under systemd. + </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%5B4311%5D%20services%3A%20Use%20no-block%20mode%0A%20for%20service%20start/stop%20under%20systemd.&In-Reply-To=%3C4F9D321C.7000605%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="015021.html"> + <LINK REL="Next" HREF="015017.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-dev] [soft-commits] [4311] services: Use no-block mode for service start/stop under systemd.</H1> + <B>Colin Guthrie</B> + <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5Bsoft-commits%5D%20%5B4311%5D%20services%3A%20Use%20no-block%20mode%0A%20for%20service%20start/stop%20under%20systemd.&In-Reply-To=%3C4F9D321C.7000605%40colin.guthr.ie%3E" + TITLE="[Mageia-dev] [soft-commits] [4311] services: Use no-block mode for service start/stop under systemd.">mageia at colin.guthr.ie + </A><BR> + <I>Sun Apr 29 14:20:44 CEST 2012</I> + <P><UL> + <LI>Previous message: <A HREF="015021.html">[Mageia-dev] [soft-commits] [4311] services: Use no-block mode for service start/stop under systemd. +</A></li> + <LI>Next message: <A HREF="015017.html">[Mageia-dev] freeze push: drakxtools & drakx-installer-stage2 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#15019">[ date ]</a> + <a href="thread.html#15019">[ thread ]</a> + <a href="subject.html#15019">[ subject ]</a> + <a href="author.html#15019">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>'Twas brillig, and Thierry Vignaud at 29/04/12 13:05 did gyre and gimble: +><i> On 29 April 2012 13:52, <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">root at mageia.org</A>> wrote: +</I>>><i> services: Use no-block mode for service start/stop under systemd. +</I>><i> +</I>><i> Please use "(function_name)" instead of "services:" +</I>><i> +</I>><i> eg: "(_run_action) use no-block mode for service start/stop under systemd" +</I>><i> +</I>><i> This makes history clearer +</I> +No worries. + +>><i> This is perhaps the same issue as the 'cpufreq' bug on first boot, +</I>>><i> but by changing things to use systemctl directly, I have inadvertantly +</I>>><i> bypased the solution and reintroduced the bug. +</I>>><i> +</I>>><i> As there is likely no reason to block, we will simply use no-block mode +</I>>><i> unconditionally. Longer term, we may need to decide under what context +</I>>><i> we are restarting/starting a given service (i.e. in an interactive GUI +</I>>><i> vs from a script) and use the appropriate mode with appropriate user +</I>>><i> feedback. +</I>><i> +</I>><i> For the record: +</I>><i> - $::isInstall is set in the installer +</I>><i> - $::isStandalone is set in programs that load the standalone.pm module +</I>><i> (aka: "use standalone;") +</I>><i> eg: service_harddrake +</I> + +OK, so using $::isStandalone could work here. + +>><i> <A HREF="https://bugs.mageia.org/show_bug.cgi?id=4439">https://bugs.mageia.org/show_bug.cgi?id=4439</A> +</I>><i> +</I>><i> Also please use "mga#XXXX" instead of full URL. +</I>><i> Simpler, faster to read, and it's independent of any +</I>><i> URL change +</I> +I tend to (try to) use mga# format in package changelogs, but full urls +in svn/git commits for easy clicking. But really, keyword bookmarks +should make shortened versions almost as useful. + +It would be quite nice if my shell detected "keywords" replacements like +it does URLs... so it could detect mga#123, fdo#123, rhbz#123 bgo#123, +bko#123, lp#123 style formats and allowed you to "Open URL" on those too +:<i>D Might have to look at that at some point as it would certainly have +</I>geek kudos :) + +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="015021.html">[Mageia-dev] [soft-commits] [4311] services: Use no-block mode for service start/stop under systemd. +</A></li> + <LI>Next message: <A HREF="015017.html">[Mageia-dev] freeze push: drakxtools & drakx-installer-stage2 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#15019">[ date ]</a> + <a href="thread.html#15019">[ thread ]</a> + <a href="subject.html#15019">[ subject ]</a> + <a href="author.html#15019">[ 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> |