summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-April/015015.html
blob: 57619c22afc29100de642d732f244d4622bac37c (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
<!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=%3CCAONrEtYOHY4Sxr2AjoucT0sck44Kr_HhjdkpP%2BaFwnjS9LYNGw%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="015012.html">
   <LINK REL="Next"  HREF="015016.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] [soft-commits] [4311] services: Use no-block mode for service start/stop under systemd.</H1>
    <B>Thierry Vignaud</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=%3CCAONrEtYOHY4Sxr2AjoucT0sck44Kr_HhjdkpP%2BaFwnjS9LYNGw%40mail.gmail.com%3E"
       TITLE="[Mageia-dev] [soft-commits] [4311] services: Use no-block mode for service start/stop under systemd.">thierry.vignaud at gmail.com
       </A><BR>
    <I>Sun Apr 29 14:05:11 CEST 2012</I>
    <P><UL>
        <LI>Previous message: <A HREF="015012.html">[Mageia-dev] Wiki page for Mageia 2 release notes
</A></li>
        <LI>Next message: <A HREF="015016.html">[Mageia-dev] [soft-commits] [4311] services: Use no-block mode for service start/stop under systemd.
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#15015">[ date ]</a>
              <a href="thread.html#15015">[ thread ]</a>
              <a href="subject.html#15015">[ subject ]</a>
              <a href="author.html#15015">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>On 29 April 2012 13:52,  &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">root at mageia.org</A>&gt; wrote:
&gt;<i> services: Use no-block mode for service start/stop under systemd.
</I>
Please use &quot;(function_name)&quot; instead of &quot;services:&quot;

eg: &quot;(_run_action) use no-block mode for service start/stop under systemd&quot;

This makes history clearer

&gt;<i> This is perhaps the same issue as the 'cpufreq' bug on first boot,
</I>&gt;<i> but by changing things to use systemctl directly, I have inadvertantly
</I>&gt;<i> bypased the solution and reintroduced the bug.
</I>&gt;<i>
</I>&gt;<i> As there is likely no reason to block, we will simply use no-block mode
</I>&gt;<i> unconditionally. Longer term, we may need to decide under what context
</I>&gt;<i> we are restarting/starting a given service (i.e. in an interactive GUI
</I>&gt;<i> vs from a script) and use the appropriate mode with appropriate user
</I>&gt;<i> feedback.
</I>
For the record:
- $::isInstall is set in the installer
- $::isStandalone is set in programs that load the standalone.pm module
  (aka: &quot;use standalone;&quot;)
  eg: service_harddrake

&gt;<i> <A HREF="https://bugs.mageia.org/show_bug.cgi?id=4439">https://bugs.mageia.org/show_bug.cgi?id=4439</A>
</I>
Also please use &quot;mga#XXXX&quot; instead of full URL.
Simpler, faster to read, and it's independent of any
URL change
</PRE>



















<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="015012.html">[Mageia-dev] Wiki page for Mageia 2 release notes
</A></li>
	<LI>Next message: <A HREF="015016.html">[Mageia-dev] [soft-commits] [4311] services: Use no-block mode for service start/stop under systemd.
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#15015">[ date ]</a>
              <a href="thread.html#15015">[ thread ]</a>
              <a href="subject.html#15015">[ subject ]</a>
              <a href="author.html#15015">[ 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>