<div dir="ltr">Oh right, I forgot that I had to do that to inject policycoreutils package into the libguestfs appliance (to support g.available(['selinuxrelabel']))<div><br></div><div>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.</div><div><br></div><div>Thanks!</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Apr 8, 2021 at 4:01 PM Richard W.M. Jones <<a href="mailto:rjones@redhat.com">rjones@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Thu, Apr 08, 2021 at 03:51:22PM +0300, Sam Eiderman wrote:<br>
> Forgive my ignorance but I am not sure how to inject the newer systemd/udev<br>
> into the appliance.<br>
<br>
If you're using supermin then it should just happen as soon as you<br>
upgrade it on the host system.<br>
<br>
> Debian is always pretty slow on adding the latest code so I'm guessing I need<br>
> to compile systemd/udev from source here (v248).<br>
> <br>
> However, will supermin use my installed binaries or will it download the<br>
> package from the apt repo?<br>
<br>
It copies the installed binaries in, but they must be known to dpkg<br>
(IOW you must build a new systemd_<VERSION>.deb file and install it).<br>
<br>
<a href="https://libguestfs.org/supermin.1.html#SUPERMIN-APPLIANCES" rel="noreferrer" target="_blank">https://libguestfs.org/supermin.1.html#SUPERMIN-APPLIANCES</a><br>
<br>
Rich.<br>
<br>
> (Of course I can just copy-in the package to the appliance post creation for<br>
> some basic testing at the moment)<br>
> <br>
> Sam<br>
> <br>
> On Thu, Apr 8, 2021 at 3:06 PM Richard W.M. Jones <<a href="mailto:rjones@redhat.com" target="_blank">rjones@redhat.com</a>> wrote:<br>
> <br>
>     On Thu, Apr 08, 2021 at 02:30:03PM +0300, Sam Eiderman wrote:<br>
>     > I think this is exactly the same issue (dmsetup's output is lost by<br>
>     udev):<br>
>     ><br>
>     > <a href="https://github.com/systemd/systemd/issues/18190" rel="noreferrer" target="_blank">https://github.com/systemd/systemd/issues/18190</a><br>
> <br>
>     Interesting - the fix is in systemd, does upgrading systemd (or udev)<br>
>     help?<br>
> <br>
>     Rich.<br>
> <br>
>     --<br>
>     Richard Jones, Virtualization Group, Red Hat <a href="http://people.redhat.com/" rel="noreferrer" target="_blank">http://people.redhat.com/</a><br>
>     ~rjones<br>
>     Read my programming and virtualization blog: <a href="http://rwmj.wordpress.com" rel="noreferrer" target="_blank">http://rwmj.wordpress.com</a><br>
>     virt-top is 'top' for virtual machines.  Tiny program with many<br>
>     powerful monitoring features, net stats, disk stats, logging, etc.<br>
>     <a href="http://people.redhat.com/~rjones/virt-top" rel="noreferrer" target="_blank">http://people.redhat.com/~rjones/virt-top</a><br>
> <br>
> <br>
<br>
-- <br>
Richard Jones, Virtualization Group, Red Hat <a href="http://people.redhat.com/~rjones" rel="noreferrer" target="_blank">http://people.redhat.com/~rjones</a><br>
Read my programming and virtualization blog: <a href="http://rwmj.wordpress.com" rel="noreferrer" target="_blank">http://rwmj.wordpress.com</a><br>
libguestfs lets you edit virtual machines.  Supports shell scripting,<br>
bindings from many languages.  <a href="http://libguestfs.org" rel="noreferrer" target="_blank">http://libguestfs.org</a><br>
<br>
</blockquote></div>