However, during libguestfs building I still see this line: Get:37 http://deb.debian.org/debian buster/main amd64 systemd amd64 241-7~deb10u7 [3499 kB]
So it seems that it downloads the systemd package directly from debian and not using the one installed on the host docker. Sam On Thu, Apr 8, 2021 at 4:16 PM Richard W.M. Jones <rjo...@redhat.com> wrote: > On Thu, Apr 08, 2021 at 04:06:45PM +0300, Sam Eiderman wrote: > > Oh right, I forgot that I had to do that to inject policycoreutils > package into > > the libguestfs appliance (to support g.available(['selinuxrelabel'])) > > > > So if I somehow install systemd 248 from source on my debian docker and > then > > create the appliance on it, it should just work I guess. > > If the compliation from source overwrites the Debian-installed systemd > files exactly (in the Docker build) then yes. > > Rich. > > > Thanks! > > > > On Thu, Apr 8, 2021 at 4:01 PM Richard W.M. Jones <rjo...@redhat.com> > wrote: > > > > On Thu, Apr 08, 2021 at 03:51:22PM +0300, Sam Eiderman wrote: > > > Forgive my ignorance but I am not sure how to inject the newer > systemd/ > > udev > > > into the appliance. > > > > If you're using supermin then it should just happen as soon as you > > upgrade it on the host system. > > > > > Debian is always pretty slow on adding the latest code so I'm > guessing I > > need > > > to compile systemd/udev from source here (v248). > > > > > > However, will supermin use my installed binaries or will it > download the > > > package from the apt repo? > > > > It copies the installed binaries in, but they must be known to dpkg > > (IOW you must build a new systemd_<VERSION>.deb file and install it). > > > > https://libguestfs.org/supermin.1.html#SUPERMIN-APPLIANCES > > > > Rich. > > > > > (Of course I can just copy-in the package to the appliance post > creation > > for > > > some basic testing at the moment) > > > > > > Sam > > > > > > On Thu, Apr 8, 2021 at 3:06 PM Richard W.M. Jones < > rjo...@redhat.com> > > wrote: > > > > > > On Thu, Apr 08, 2021 at 02:30:03PM +0300, Sam Eiderman wrote: > > > > I think this is exactly the same issue (dmsetup's output is > lost by > > > udev): > > > > > > > > https://github.com/systemd/systemd/issues/18190 > > > > > > Interesting - the fix is in systemd, does upgrading systemd > (or udev) > > > help? > > > > > > 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 > > > > > > > > > > -- > > Richard Jones, Virtualization Group, Red Hat > http://people.redhat.com/ > > ~rjones > > Read my programming and virtualization blog: > http://rwmj.wordpress.com > > libguestfs lets you edit virtual machines. Supports shell scripting, > > bindings from many languages. http://libguestfs.org > > > > > > -- > Richard Jones, Virtualization Group, Red Hat > http://people.redhat.com/~rjones > Read my programming and virtualization blog: http://rwmj.wordpress.com > Fedora Windows cross-compiler. Compile Windows programs, test, and > build Windows installers. Over 100 libraries supported. > http://fedoraproject.org/wiki/MinGW > >
_______________________________________________ Libguestfs mailing list Libguestfs@redhat.com https://listman.redhat.com/mailman/listinfo/libguestfs