[PATCH runin] Port to systemd

Daniel Drake dsd at laptop.org
Mon Apr 23 13:50:15 EDT 2012


On Mon, Apr 23, 2012 at 11:12 AM, Martin Langhoff
<martin.langhoff at gmail.com> wrote:
> On Mon, Apr 23, 2012 at 1:08 PM, Daniel Drake <dsd at laptop.org> wrote:
>> ### BEGIN INIT INFO
>> # Required-Start: olpc-configure
>> ### END INIT INFO
>
> ok, and I guess that overrides the "chkconfig" lines that put runin at
> "00" and olpc-configure at "01"?

Yes, those numbers get jigged around. olpc-configure gets given code
01 and runin gets given 02.

> A naive look at the "rc.d" symlinks has kept lots of folks convinced
> that runin was first.

"ls -l /etc/rc.d/rc5.d/S*" shows that runin comes after
olpc-configure, shouldn't be too hard to convince them otherwise :)

> So upstart is parsing the runin init script, then making it wait for
> olpc-configure? Wow. That's really surprising.

My understanding is that its done by chkconfig (sysvinit) but I
haven't verified.

Daniel



More information about the Devel mailing list