[Pkg-sysvinit-devel] Bug#511565: sysv-rc: Duplicate execution of a SNNNsomething script.

Ciprian Dorin, Craciun ciprian.craciun at gmail.com
Mon Feb 2 20:35:49 UTC 2009

On Mon, Feb 2, 2009 at 1:34 PM, Kel Modderman <kel at otaku42.de> wrote:
> On Monday 12 January 2009 19:36:45 Ciprian Dorin Craciun wrote:
>> Package: sysv-rc
>> Version: 2.86.ds1-47~bpo40+1
>> Severity: normal
>> My setup is as follows: inside /etc/rcS.d I have two symlinks named S385script-a and S386script-b.
> Only a 2 digit sequence number is valid. Very limited indeed, this is
> what the dependency based boot system [0] aims to get rid of.
>> The problem is that these scripts (and only these) are runned twice.
>> I've solved the problem by renaming them as S38script-a and S39script-b.
> That is the correct way.
>> Notes: I need to name them like this, because I want them to run exactly between S37 and S39 (which are already defined)...
>> Also it is strange that this setup worked fine for a few monts, and only now it broken...
> I cannot see a bug, closing.
> Thanks, Kel.
> [0] http://wiki.debian.org/LSBInitScripts/DependencyBasedBoot

    I could agree with you (because of backward compatibility / etc.)
that only two digits should be taken into account for the start

    But unfortunately I do think there is a bug here somewhere... I
mean, the correct behaviour should be to execute the two scripts only
once (each of them), not necessarily sorted by the third digit...
There should at least be no special case for other digits after the
first two... (Just think if someone would create a package which
starts with a digit, and needs init.d initialization scripts...)

    So, maybe someone should take a look at this, and at least fix the
double start issue... (At least because Debian is a mature
distribution and should be quite stable even in corner cases...)

    Ciprian Craciun.

More information about the Pkg-sysvinit-devel mailing list