[Buildroot] [PATCH] package/openrc: new init package OpenRC (0.38.3)

michal.lyszczek at bofc.pl michal.lyszczek at bofc.pl
Thu Mar 7 08:53:42 UTC 2019


On 2019-03-06 19:12:21, Yann E. MORIN wrote:
> Michał, Arnout, All,
> 
> On 2019-03-06 18:36 +0100, Yann E. MORIN spake thusly:
> > Maybe we're taking the problem in the wrong way, then?
> 
> And actually, I think we are. As per [0]:
> 
>     Since 0.25 OpenRC includes openrc-init, which can replace /sbin/init
> 
> Also, the 0.25 release notes contain:
> 
>     This version contains an OpenRC-specific implementation of init for
>     Linux which can be used in place of sysvinit or any other init process.
> 
> I checked, and it looks like this is still the case in OpenRC's master
> branch.
> 
> So, I believe we should aim for this solution, because it drastically
> simplifies things.

I did quick audit of openrc-init, it's *very* simple init. It starts openrc,
which starts all services, opens fifo to handle shutdown/reboot, and reaps
zombies. So it does what it really is suppose to do and I don't see a way for it
to crash once it's started. So I am ok with using openrc-init as PID1
/sbin/init
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20190307/0a8ed584/attachment-0002.asc>


More information about the buildroot mailing list