[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#653673: the live-config init.d script should depend on mountkernfs



Hi,

Daniel Baumann wrote (30 Dec 2011 08:41:05 GMT) :

> On 12/30/2011 07:29 AM, Andrei Purdea wrote:
>> There is a race condition between mountkernfs and user-setup

> first; /etc/init.d/live-config always has absolutely to be the first
> script that gets executed, we do depend on that, if live-config is
> not the first thing, then other things later during system start may
> not work as they should. therefore, there should never by any
> depends within the live-config initscript to another initscript.

> second; if live-config is not the first script executed, then we need to
> fix that. from my experience, it currently is always the first one. how
> do you create the case where it does not get executed first?

In my experience too, the symlinks in rcS are ordered in a way so that
live-config gets S01 and mountkernfs gets S02. All great.

However, it seems to me boot time initscripts concurrency is the
default in Squeeze, and AFAIK nothing is done to avoid mountkernfs and
live-config initscripts to run in parallel, is it? Maybe I'm missing
something obvious.

Cheers,
-- 
  intrigeri <intrigeri@boum.org>
  | GnuPG key @ https://gaffer.ptitcanardnoir.org/intrigeri/intrigeri.asc
  | OTR fingerprint @ https://gaffer.ptitcanardnoir.org/intrigeri/otr.asc
  | Did you exchange a walk on part in the war
  | for a lead role in the cage?



Reply to: