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

Pascal Terjan pterjan at gmail.com
Wed Apr 11 12:55:19 CEST 2012


On Wed, Apr 11, 2012 at 11:30, Colin Guthrie <mageia at colin.guthr.ie> wrote:
> '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 :)

Just did a quick try, packages with initscripts not containing LSB headers.
92 initscripts in 67 packages, but there a few false positives like
initscripts containing /etc/init.d/functions

afbackup
arpwatch
bip
bootparamd
bpalogin
canna
clusterscripts-client
cpqarrayd
dhcp-forwarder
dnotify
dropbear
ebtables
fcron
firestarter
freepops
ganglia-script
gkrellm-server
gnokii-smsd
haveged
hostapd
hylafax-server
ices
initscripts
ip-sentinel
ipvsadm
ircd-hybrid
isdn4k-utils-eurofile
jetty
keepalived
kolab
lcdproc
lighttpd
maradns
mongodb-server
mrepo
nginx
nvidia-cuda-toolkit
omniorb
perl-kolab
prboom-server
prelude-lml
pure-ftpd
quagga
quake2-ctf
quake2-server
rear
redis
routed
rp-pppoe
rrdcollect
siproxd
spread
suricata
torque
torque-client
udftools
unfs3
unimrcp
usermode-consoleonly
ushare
util-vserver-legacy
vtun
watchdog
xymon
xymon-client
yum
zoneminder


More information about the Mageia-dev mailing list