[PATCH v2 1/1] Dockerfile: provide kernel for libguestfs-tools

Heinrich Schuchardt xypron.glpk at gmx.de
Wed Jul 15 00:00:25 CEST 2020

Am 14. Juli 2020 23:28:21 MESZ schrieb Tom Rini <trini at konsulko.com>:
>On Tue, Jul 14, 2020 at 08:18:56AM +0200, Heinrich Schuchardt wrote:
>> The libguestfs-tools use QEMU to mount an image file. This requires a
>> kernel.
>> On Ubuntu the kernel (/boot/vmlinuz*) is not readable for normal
>> (chmod 600), cf.
>> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/759725
>> Install a kernel and make it readable for all users (chmod 644).
>> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
>This causes the tests to fail now that they're trying to use
>I did a quick change to pass in the KVM group to useradd as well, but
>that didn't catch.  I suspect that changing /dev/kvm inside the
>container won't stick either.  But that shouldn't be fatal as it's
>fast enough.

KVM requires docker --privileged according to what I read.

Tests failing that were not excercised before seems to be a step into the right direction. - But a lot of work before us.

Thanks for the update.

Best regards


More information about the U-Boot mailing list