summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-April/014413.html
blob: 6057c06b3d23633daed8c1ef9dd6cfa657ab4ac2 (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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
<!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=%3C4F8EACE5.3060109%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="014410.html">
   <LINK REL="Next"  HREF="014414.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=%3C4F8EACE5.3060109%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 14:00:37 CEST 2012</I>
    <P><UL>
        <LI>Previous message: <A HREF="014410.html">[Mageia-dev] Help: Please find me initscripts without LSB	headers!
</A></li>
        <LI>Next message: <A HREF="014414.html">[Mageia-dev] Help: Please find me initscripts without LSB	headers!
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#14413">[ date ]</a>
              <a href="thread.html#14413">[ thread ]</a>
              <a href="subject.html#14413">[ subject ]</a>
              <a href="author.html#14413">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>'Twas brillig, and Guillaume Rousse at 18/04/12 12:11 did gyre and gimble:
&gt;<i> Le 18/04/2012 00:48, Colin Guthrie a &#233;crit :
</I>&gt;&gt;<i> 'Twas brillig, and Pascal Terjan at 11/04/12 11:55 did gyre and gimble:
</I>&gt;&gt;&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; 
</I>&gt;&gt;&gt;<i> wrote:
</I>&gt;&gt;&gt;&gt;<i> 'Twas brillig, and Pascal Terjan at 11/04/12 11:24 did gyre and gimble:
</I>&gt;&gt;&gt;&gt;&gt;<i> On Wed, Apr 11, 2012 at 11:07, Colin
</I>&gt;&gt;&gt;&gt;&gt;<i> 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;&gt;&gt;<i> Hi,
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> I need to find all initscripts we ship that do not contain LSB header
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> information!
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> Ideally you should find them and fix the scripts, but if in doubt
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> ask me!
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> This is the result of debug work on:
</I>&gt;&gt;&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;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> Where overzealous use of priorities from non-LSB compatible
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> scripts has
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> resulted in ordering cycle deadlocks. We need to nuke these problems.
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> This can be fixed by providing proper LSB headers in initscripts
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> (likely
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> easier) or native systemd units (better if you can do it).
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> Here is a document that tracks all packages we provide which provide
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> sysvinit scripts. Please can people go through the list and fill
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> in the
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> blanks. I've started it off. The only cells to free edit are
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> either your
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> name, or notes about things. The others have data validation  -
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> i.e. a
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> drop down. I've provided links to subversion which in many cases is
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> sufficient to verify the initscripts as they are often just
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> included in
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> the SOURCES folder, not packaged upstream. For some however you will
</I>&gt;&gt;&gt;&gt;&gt;&gt;<i> need to check a bit.
</I>&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;<i> Can't this be automated?
</I>&gt;&gt;&gt;&gt;&gt;<i> Get the list of binary rpms containing initscripts with urpmf (I guess
</I>&gt;&gt;&gt;&gt;&gt;<i> that's what you did), extract the initiscripts from a local mirror,
</I>&gt;&gt;&gt;&gt;&gt;<i> grep to see if they have LSB Headers?
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> That part can be automated I guess. I don't have a handy mirror tho'.
</I>&gt;&gt;&gt;&gt;<i> Also if the script has native systemd it might be a false negative, but
</I>&gt;&gt;&gt;&gt;<i> I guess they would be suitably small to be checked by hand.
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> That said, the list isn't super long :)
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i> Just did a quick try, packages with initscripts not containing LSB
</I>&gt;&gt;&gt;<i> headers.
</I>&gt;&gt;&gt;<i> 92 initscripts in 67 packages, but there a few false positives like
</I>&gt;&gt;&gt;<i> initscripts containing /etc/init.d/functions
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i> afbackup
</I>&gt;&gt;&gt;<i> arpwatch
</I>&gt;&gt;&gt;<i> bip
</I>&gt;&gt;<i> ...
</I>&gt;&gt;&gt;<i> yum
</I>&gt;&gt;&gt;<i> zoneminder
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> I've incorporated this list into the spreadsheet. I've fixed a few of
</I>&gt;&gt;<i> them.
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> Again, if any packagers are able to help out here, Please do!!!
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> Here is the link again:
</I>&gt;&gt;<i> <A HREF="https://docs.google.com/spreadsheet/ccc?key=0AjumKqYMRG9WdHdkRWM3dUhEYms5T1BkR05KRnp6V1E">https://docs.google.com/spreadsheet/ccc?key=0AjumKqYMRG9WdHdkRWM3dUhEYms5T1BkR05KRnp6V1E</A>
</I>&gt;&gt;<i>
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> You only need to look at the ones marked &quot;Broken&quot; in bold now. If you
</I>&gt;&gt;<i> fix it, please change it to &quot;Has LSB&quot; or &quot;Native&quot; depending on your fix.
</I>
&gt;<i> Well, there is another list of migrated packages:
</I>&gt;<i> <A HREF="https://wiki.mageia.org/en/Features/Systemd">https://wiki.mageia.org/en/Features/Systemd</A>
</I>&gt;<i> It's a bit painful to maintain both lists simultaneously.
</I>
Well this isn't about migrating to native systemd specifically, but
rather ensuring it doesn't break with system. The wiki page is more for
the former, although, yes there could easily be massive overlap.

I figured using the google doc would be generally easier than editing a
wiki page, but if we prefer I can just migrate the extra data in the
google doc over to the wiki?

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