summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-April/014389.html
blob: b1c507976af3b03f5acbf9e4a20863fca9762fa2 (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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-dev] Help: Please find me initscripts without LSB	headers!
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Help%3A%20Please%20find%20me%20initscripts%20without%20LSB%0A%09headers%21&In-Reply-To=%3C4F8DF333.90908%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="014190.html">
   <LINK REL="Next"  HREF="014410.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] Help: Please find me initscripts without LSB	headers!</H1>
    <B>Colin Guthrie</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Help%3A%20Please%20find%20me%20initscripts%20without%20LSB%0A%09headers%21&In-Reply-To=%3C4F8DF333.90908%40colin.guthr.ie%3E"
       TITLE="[Mageia-dev] Help: Please find me initscripts without LSB	headers!">mageia at colin.guthr.ie
       </A><BR>
    <I>Wed Apr 18 00:48:19 CEST 2012</I>
    <P><UL>
        <LI>Previous message: <A HREF="014190.html">[Mageia-dev] Help: Please find me initscripts without LSB	headers!
</A></li>
        <LI>Next message: <A HREF="014410.html">[Mageia-dev] Help: Please find me initscripts without LSB	headers!
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#14389">[ date ]</a>
              <a href="thread.html#14389">[ thread ]</a>
              <a href="subject.html#14389">[ subject ]</a>
              <a href="author.html#14389">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>'Twas brillig, and Pascal Terjan at 11/04/12 11:55 did gyre and gimble:
&gt;<i> On Wed, Apr 11, 2012 at 11:30, Colin Guthrie &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">mageia at colin.guthr.ie</A>&gt; wrote:
</I>&gt;&gt;<i> 'Twas brillig, and Pascal Terjan at 11/04/12 11:24 did gyre and gimble:
</I>&gt;&gt;&gt;<i> On Wed, Apr 11, 2012 at 11:07, Colin Guthrie &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">mageia at colin.guthr.ie</A>&gt; wrote:
</I>&gt;&gt;&gt;&gt;<i> Hi,
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> I need to find all initscripts we ship that do not contain LSB header
</I>&gt;&gt;&gt;&gt;<i> information!
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> Ideally you should find them and fix the scripts, but if in doubt ask me!
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> This is the result of debug work on:
</I>&gt;&gt;&gt;&gt;<i> <A HREF="https://bugs.mageia.org/show_bug.cgi?id=5262#c19">https://bugs.mageia.org/show_bug.cgi?id=5262#c19</A>
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> Where overzealous use of priorities from non-LSB compatible scripts has
</I>&gt;&gt;&gt;&gt;<i> resulted in ordering cycle deadlocks. We need to nuke these problems.
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> This can be fixed by providing proper LSB headers in initscripts (likely
</I>&gt;&gt;&gt;&gt;<i> easier) or native systemd units (better if you can do it).
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> Here is a document that tracks all packages we provide which provide
</I>&gt;&gt;&gt;&gt;<i> sysvinit scripts. Please can people go through the list and fill in the
</I>&gt;&gt;&gt;&gt;<i> blanks. I've started it off. The only cells to free edit are either your
</I>&gt;&gt;&gt;&gt;<i> name, or notes about things. The others have data validation  - i.e. a
</I>&gt;&gt;&gt;&gt;<i> drop down. I've provided links to subversion which in many cases is
</I>&gt;&gt;&gt;&gt;<i> sufficient to verify the initscripts as they are often just included in
</I>&gt;&gt;&gt;&gt;<i> the SOURCES folder, not packaged upstream. For some however you will
</I>&gt;&gt;&gt;&gt;<i> need to check a bit.
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i> Can't this be automated?
</I>&gt;&gt;&gt;<i> Get the list of binary rpms containing initscripts with urpmf (I guess
</I>&gt;&gt;&gt;<i> that's what you did), extract the initiscripts from a local mirror,
</I>&gt;&gt;&gt;<i> grep to see if they have LSB Headers?
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> That part can be automated I guess. I don't have a handy mirror tho'.
</I>&gt;&gt;<i> Also if the script has native systemd it might be a false negative, but
</I>&gt;&gt;<i> I guess they would be suitably small to be checked by hand.
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> That said, the list isn't super long :)
</I>&gt;<i> 
</I>&gt;<i> Just did a quick try, packages with initscripts not containing LSB headers.
</I>&gt;<i> 92 initscripts in 67 packages, but there a few false positives like
</I>&gt;<i> initscripts containing /etc/init.d/functions
</I>&gt;<i> 
</I>&gt;<i> afbackup
</I>&gt;<i> arpwatch
</I>&gt;<i> bip
</I>...
&gt;<i> yum
</I>&gt;<i> zoneminder
</I>
I've incorporated this list into the spreadsheet. I've fixed a few of them.

Again, if any packagers are able to help out here, Please do!!!

Here is the link again:
<A HREF="https://docs.google.com/spreadsheet/ccc?key=0AjumKqYMRG9WdHdkRWM3dUhEYms5T1BkR05KRnp6V1E">https://docs.google.com/spreadsheet/ccc?key=0AjumKqYMRG9WdHdkRWM3dUhEYms5T1BkR05KRnp6V1E</A>

You only need to look at the ones marked &quot;Broken&quot; in bold now. If you
fix it, please change it to &quot;Has LSB&quot; or &quot;Native&quot; depending on your fix.

Some of the broken ones may have native systemd units anyway (might
contain some false positives).

Cheers

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="014190.html">[Mageia-dev] Help: Please find me initscripts without LSB	headers!
</A></li>
	<LI>Next message: <A HREF="014410.html">[Mageia-dev] Help: Please find me initscripts without LSB	headers!
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#14389">[ date ]</a>
              <a href="thread.html#14389">[ thread ]</a>
              <a href="subject.html#14389">[ subject ]</a>
              <a href="author.html#14389">[ 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>