Richard W.M. Jones
2021-Jun-14 12:01 UTC
[Libguestfs] virt-builder fails in fedora 34 container:
On Mon, Jun 14, 2021 at 02:20:40PM +0300, Nir Soffer wrote:> On Mon, Jun 14, 2021 at 11:57 AM Martin Kletzander <mkletzan at redhat.com> wrote: > > > I've got a tiny hunch, so I must ask. Is someone, by any stroke > > of misfortune, using bazel for building that imageio container > > image? > > We build the images in quay.io, I don't know how they build them :-)The issue that Martin is hinting at is that bazel does not run %post scripts (or create an RPM database). IOW the tools is broken. If you have an RPM database in the final container then it's probably _not_ bazel. If anyone tells you to use bazel, run away! Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://people.redhat.com/~rjones/virt-top
Martin Kletzander
2021-Jun-14 16:46 UTC
[Libguestfs] virt-builder fails in fedora 34 container:
On Mon, Jun 14, 2021 at 01:01:37PM +0100, Richard W.M. Jones wrote:>On Mon, Jun 14, 2021 at 02:20:40PM +0300, Nir Soffer wrote: >> On Mon, Jun 14, 2021 at 11:57 AM Martin Kletzander <mkletzan at redhat.com> wrote: >> >> > I've got a tiny hunch, so I must ask. Is someone, by any stroke >> > of misfortune, using bazel for building that imageio container >> > image? >> >> We build the images in quay.io, I don't know how they build them :-) > >The issue that Martin is hinting at is that bazel does not run %post >scripts (or create an RPM database). IOW the tools is broken. > >If you have an RPM database in the final container then it's probably >_not_ bazel. If anyone tells you to use bazel, run away! >+1M Anyway, I can't stop thinking about what would be the reasonable way of fixing the issue at hand properly. It seems like a huge deal to depend on kernel-core, but if you need a kernel and modules during runtime, then I guess it makes sense.>Rich. > >-- >Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones >Read my programming and virtualization blog: http://rwmj.wordpress.com >virt-top is 'top' for virtual machines. Tiny program with many >powerful monitoring features, net stats, disk stats, logging, etc. >http://people.redhat.com/~rjones/virt-top >-------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: <http://listman.redhat.com/archives/libguestfs/attachments/20210614/8b4f3c37/attachment.sig>