[Mageia-dev] Help: Please find me initscripts without LSB headers!

Colin Guthrie mageia at colin.guthr.ie
Wed Apr 11 12:30:40 CEST 2012


'Twas brillig, and Pascal Terjan at 11/04/12 11:24 did gyre and gimble:
> On Wed, Apr 11, 2012 at 11:07, Colin Guthrie <mageia at colin.guthr.ie> wrote:
>> Hi,
>>
>> I need to find all initscripts we ship that do not contain LSB header
>> information!
>>
>> Ideally you should find them and fix the scripts, but if in doubt ask me!
>>
>> This is the result of debug work on:
>> https://bugs.mageia.org/show_bug.cgi?id=5262#c19
>>
>> Where overzealous use of priorities from non-LSB compatible scripts has
>> resulted in ordering cycle deadlocks. We need to nuke these problems.
>>
>> This can be fixed by providing proper LSB headers in initscripts (likely
>> easier) or native systemd units (better if you can do it).
>>
>> Here is a document that tracks all packages we provide which provide
>> sysvinit scripts. Please can people go through the list and fill in the
>> blanks. I've started it off. The only cells to free edit are either your
>> name, or notes about things. The others have data validation  - i.e. a
>> drop down. I've provided links to subversion which in many cases is
>> sufficient to verify the initscripts as they are often just included in
>> the SOURCES folder, not packaged upstream. For some however you will
>> need to check a bit.
> 
> Can't this be automated?
> Get the list of binary rpms containing initscripts with urpmf (I guess
> that's what you did), extract the initiscripts from a local mirror,
> grep to see if they have LSB Headers?

That part can be automated I guess. I don't have a handy mirror tho'.
Also if the script has native systemd it might be a false negative, but
I guess they would be suitably small to be checked by hand.

That said, the list isn't super long :)

Col

-- 

Colin Guthrie
colin(at)mageia.org
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited http://www.tribalogic.net/
Open Source:
  Mageia Contributor http://www.mageia.org/
  PulseAudio Hacker http://www.pulseaudio.org/
  Trac Hacker http://trac.edgewall.org/


More information about the Mageia-dev mailing list