cappsule / nofear

Run any command transparently in a VM (this repo isn't part of Cappsule)
https://cappsule.github.io/nofear/
GNU General Public License v2.0
27 stars 0 forks source link

kvmtool compiled with GCC 6 will fail #6

Closed doegox closed 7 years ago

doegox commented 7 years ago

To reproduce the bug:

Have GCC >= 6.2 by default (mine was gcc (Debian 6.2.1-5) 6.2.1 20161124)

./build.sh kvmtool
sudo ./install.sh
nofear -d default
nofear
# Fatal: Fail to setup /home/foo/.lkvm/default/virt/pre_init

When compiling with v6 there is zero extra warning compared to v5.

cappsule commented 7 years ago

Thanks for the bug report, @doegox! I sent an email to the kvmtool mailing list (https://www.spinics.net/lists/kvm/msg143014.html) since the bug seems to be in kvmtool.

cappsule commented 7 years ago

The commit 3a48ecd8c9d42c4fa684d2bbe185f8f5a3725fdd fixes this issue (and the patch has also been sent upstream).