Skip to contentSkip to conversation

opinions on enabling busybox's "runit" implementation to control some services?

DISCUSSION Robert P. J. Day 2 participants 2 messages Dec 14, 2016 – Dec 15, 2016

lore
Share & tools
lore
#0 lore raw

colleague needs "runit" to control one or more services that have
historically been managed that way, so a couple questions:

1) anyone with experience with busybox's implementation of runit? does it work properly? does it play nicely with others?

2) is runit actually necessary, or would it be easy to migrate said services off of runit?

i've never used runit, so have no idea what it is that makes it so
(allegedly) indispensable. if it's easily migrateable, that'd be great.

thanks muchly.

rday

Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
#1 lore raw

Robert,

Quoted 10 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Robert P. J. Day
Sent: Wednesday, December 14, 2016 5:28 AM
To: OE Core mailing list <[email protected]>
Subject: [OE-core] opinions on enabling busybox's "runit" implementation to control some services?

Quoted 6 lines

colleague needs "runit" to control one or more services that have historically
been managed that way, so a couple questions:

1) anyone with experience with busybox's implementation of runit? does it work properly? does it play nicely with others?

I have not, but this last year I was looking into what it'd take to use Busybox's runit as an alternative to SysVinit. I didn't do a complete code comparison, but Busybox's runit seems to be the same as the upstream package minus all the code that is not needed because it is present elsewhere in Busybox. I couldn't figure out how to setup the image to use runit for init before I got pulled onto other tasks.

Quoted 3 lines

2) is runit actually necessary, or would it be easy to migrate said services off of runit?

The official runit site has tons of init examples for different services and has a brief explanation on how to change a SysVInit init script to work for runit. I haven't done it myself, but I don't think it'd be that much work to go the other way.

Quoted 2 lines

i've never used runit, so have no idea what it is that makes it so
(allegedly) indispensable. if it's easily migrateable, that'd be great.

It's small and simple. Start services I parallel, monitor to make sure they are still running, and restart as necessary. Done. I like the idea of its simplicity and I'm interested in seeing if it works as well as it says it does.

If you figure out how to get runit as the system's init, I'd love to give it a try myself.

Regards,
Bryan

Quoted 22 lines

thanks muchly.

rday

--

==========================================================
==============
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday

==========================================================
==============

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core