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

Re: sysvinit: rc vs. r2d2 bahavior



>Roland Rosenfeld wrote:
>> I had a deep look into the rc scripts from sysvinit and file-rc as
>> well as the r2d2 script by Winfried Trümper.
>> 
>> Instead of this here's what r2d2 does:
>> 
>>   1. Run all K??-scripts in new runlevel, which are not K??-scripts in 
>>      the prevlevel. Do this in _descending_ order of the scripts
>>      (stop first, what is started last). Use "stop" as parameter.
>>   2. Run all S??-scripts in new runlevel, which are not S??-scripts in 
>>      the prevlevel. Do this in _ascending_ order of the scripts. Use
>>      "start" as parameter.

Oh this will break existing setups _horribly_.

>> So my question is the following: Why do we keep this non intuitive
>> behavior of sysvinit and file-rc instead of intuitive behavior of
>> r2d2?

Because it will break your system?

Really I've explained the backgrounds of the init system a few times here
and a few times in private email. I'm not going to do it again unless
someone puts it in a FAQ somewhere.

Mike.
-- 
Indifference will certainly be the downfall of mankind, but who cares?


Reply to: