On 02/21/2014 05:39 AM, Bryan Evenson wrote:
It means that busybox/examples/var_service/README is badly located, or
badly written, or both.
I found the README you were talking about. I have never used runsvdir before
and I don't have it included in my version of Busybox. I didn't realize that
Busybox was assuming you'd use runsvdir to run ifplugd, which was the start of
my confusion. And since I didn't know that's what was assumed, I didn't think
to look a couple directories up for a related README.
A little more background on my system. It's an ARM family processor and I'm
using the Yocto Project's Poky distribution on my system. The default image
for that build uses sysVinit and is setup for ifup/ifdown.
Every distro has a different take on how networking should be handled.
It isn't practical for busybox to have networking configuration examples
for every distro. If you want to make use of ifplugd, you first need to
understand the design and layout of your distro. The example configs
are only meant to help you understand how the tool works. That said,
Denys was asking what could be done to the docs to help you on this path.
So if I wanted to use ifplugd, is the suggestion that I include runsvdir and
runsv in my Busybox configuration and use it to run ifplugd? I'm unclear what
runsvdir is doing that sysVinit can't.
If you want sane networking in a non-trivial situation, I think ifup isn't the
tool.
If not ifup, what would you suggest? I'm open to ideas, just looking for the
simplest path to get to where I want to go.
While busybox clones many classic tools, there is a sentiment among many
developers and users that some of these classic tools suffer from design
flaws and shouldn't be used.
IMHO your best bet for a quick solution is to stick with your distro's
way of doing things. But if you have the time for the learning curve,
the best way to get rock-solid reliability from your system is to toss
anything having to do with ifup/ifdown or sysvinit or init scripts,
learn the actual commands and daemons needed for your system to
function, and put these bare essentials into runit-style scripts. But
this is an opinion.
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox