Support for dynamically-linked busybox
I understand if this is a bit "controversial" (i.e. not wanted); it's definitely a bit of a hack, but it does let virtme work in some situations where it currently doesn't.
There were some other fixes recently to help find a static busybox. Is this still needed?
"Needed" might be a bit strong; still potentially useful in some cases though. I'm not aware offhand of any distros that don't package a static build of busybox, though as seen in commit c39a1cd18f they may be under different names (e.g. on my current system it's /usr/bin/busybox.static -- note the . instead of -). We could just add another entry to the hard-coded list in find_busybox(), but trying to accommodate dynamically-linked builds might make it slightly more likely to "just work" on arbitrary/unknown other systems -- though as previously noted, the patch isn't entirely a thing of beauty, so if you'd prefer the former I wouldn't particularly mind.
Ping...any further thoughts on this?
Just noticed this, after having implemented an equivalent variant of this but using pyelftools instead of parsing ldd: https://github.com/amluto/virtme/pull/77