diff options
Diffstat (limited to 'zarb-ml/mageia-dev/2012-April/014389.html')
-rw-r--r-- | zarb-ml/mageia-dev/2012-April/014389.html | 145 |
1 files changed, 145 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-April/014389.html b/zarb-ml/mageia-dev/2012-April/014389.html new file mode 100644 index 000000000..b1c507976 --- /dev/null +++ b/zarb-ml/mageia-dev/2012-April/014389.html @@ -0,0 +1,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: +><i> On Wed, Apr 11, 2012 at 11:30, Colin Guthrie <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">mageia at colin.guthr.ie</A>> wrote: +</I>>><i> 'Twas brillig, and Pascal Terjan at 11/04/12 11:24 did gyre and gimble: +</I>>>><i> On Wed, Apr 11, 2012 at 11:07, Colin Guthrie <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">mageia at colin.guthr.ie</A>> wrote: +</I>>>>><i> Hi, +</I>>>>><i> +</I>>>>><i> I need to find all initscripts we ship that do not contain LSB header +</I>>>>><i> information! +</I>>>>><i> +</I>>>>><i> Ideally you should find them and fix the scripts, but if in doubt ask me! +</I>>>>><i> +</I>>>>><i> This is the result of debug work on: +</I>>>>><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>>>>><i> +</I>>>>><i> Where overzealous use of priorities from non-LSB compatible scripts has +</I>>>>><i> resulted in ordering cycle deadlocks. We need to nuke these problems. +</I>>>>><i> +</I>>>>><i> This can be fixed by providing proper LSB headers in initscripts (likely +</I>>>>><i> easier) or native systemd units (better if you can do it). +</I>>>>><i> +</I>>>>><i> Here is a document that tracks all packages we provide which provide +</I>>>>><i> sysvinit scripts. Please can people go through the list and fill in the +</I>>>>><i> blanks. I've started it off. The only cells to free edit are either your +</I>>>>><i> name, or notes about things. The others have data validation - i.e. a +</I>>>>><i> drop down. I've provided links to subversion which in many cases is +</I>>>>><i> sufficient to verify the initscripts as they are often just included in +</I>>>>><i> the SOURCES folder, not packaged upstream. For some however you will +</I>>>>><i> need to check a bit. +</I>>>><i> +</I>>>><i> Can't this be automated? +</I>>>><i> Get the list of binary rpms containing initscripts with urpmf (I guess +</I>>>><i> that's what you did), extract the initiscripts from a local mirror, +</I>>>><i> grep to see if they have LSB Headers? +</I>>><i> +</I>>><i> That part can be automated I guess. I don't have a handy mirror tho'. +</I>>><i> Also if the script has native systemd it might be a false negative, but +</I>>><i> I guess they would be suitably small to be checked by hand. +</I>>><i> +</I>>><i> That said, the list isn't super long :) +</I>><i> +</I>><i> Just did a quick try, packages with initscripts not containing LSB headers. +</I>><i> 92 initscripts in 67 packages, but there a few false positives like +</I>><i> initscripts containing /etc/init.d/functions +</I>><i> +</I>><i> afbackup +</I>><i> arpwatch +</I>><i> bip +</I>... +><i> yum +</I>><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 "Broken" in bold now. If you +fix it, please change it to "Has LSB" or "Native" 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> |