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

Re: Dependency based boot sequence conversion



On 2010-05-27 20:30:09 -0400, Joey Hess wrote:
>Sven Joachim wrote:
>>> What will the boot sequence be when I convert?
>>> Anybody know how to wring that out of insserv?
>> 
>> Try the following (you don't have to be root for that):
>> 
>> $ cp -a /etc/{init,rc?}.d /tmp/
>> $ /sbin/insserv -p /tmp/init.d/
>> 
>> And inspect the /tmp/rc?.d directories.
>
>I recently converted a fairly stock desktop system to dep based boot.
>Here's how git describes the changes (thanks to using etckeeper):
>
>[master c392728] dep based boot
> Author: root <root@localhost>
> 298 files changed, 107 insertions(+), 58 deletions(-)
> create mode 100644 init.d/.depend.boot
> create mode 100644 init.d/.depend.start
> create mode 100644 init.d/.depend.stop


I think the short answer is the rc directories will look almost
exactly the same, but the numbers change.

I changed to dependency-based booting a while back. Some time later, I
wanted to make MySQL not start at boot. I looked in the rc dirs and
thought, "What the heck? I thought these were going to change?"
They looked the same as ever.

I was expecting them to go away and be replaced by a ???
Maybe some kind of binary config file? Held only in memory??
What does it mean, this awful sounding 'dependency-based booting'?

Glad to find out it didn't change too much.

Phil


Reply to: