<div dir="ltr">Thank you very much for your help, we will give it a try !<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-02-27 13:24 GMT+01:00 Richard W.M. Jones <span dir="ltr"><<a href="mailto:rjones@redhat.com" target="_blank">rjones@redhat.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On Tue, Feb 25, 2014 at 04:32:32PM +0100, Safa Rekik wrote:<br>
> Ah OK, and what about generating the libguestfs-live-service for centos ? I<br>
> know that they may compatibilities issues with the distribution of source<br>
> rpm for fedora >=16<br>
<br>
</div>We don't want to support libguestfs-live on RHEL, and the only way to<br>
enable it in CentOS would be to enable it in RHEL too.<br>
<br>
FWIW RHEL 6 carries the following patch:<br>
<br>
<a href="https://github.com/libguestfs/libguestfs/commit/f87bb94ce53e991dd29f0b4731c688413c5b7024" target="_blank">https://github.com/libguestfs/libguestfs/commit/f87bb94ce53e991dd29f0b4731c688413c5b7024</a><br>
<br>
You could modify the libguestfs RHEL 6 spec file, remove that patch.<br>
<br>
You'll also need to modify the spec file to add the live-service<br>
subpackage.  As an example of what to do, see the Fedora spec file:<br>
<br>
<a href="http://pkgs.fedoraproject.org/cgit/libguestfs.git/plain/libguestfs.spec" target="_blank">http://pkgs.fedoraproject.org/cgit/libguestfs.git/plain/libguestfs.spec</a><br>
and search for the string 'live-service'.<br>
<br>
Actually I just realized that uses systemd units, not sysvinit, so<br>
that's not totally simple to emulate on RHEL 6.<br>
<div class=""><br>
> Actually i prefer not have all our guests overburdened with the libguestfs<br>
> package while we just need the daemon.<br>
<br>
</div>You can compile libguestfs on one machine, and copy the<br>
libguestfs-live-service RPM to the guests.<br>
<div class=""><br>
> Beside i believe that with the live-service packege, closing the guestfs<br>
> handle does not cause the daemon to exit (correct me if i am wrong)<br>
<br>
</div>This is correct, yes.<br>
<div class=""><br>
Rich.<br>
<br>
--<br>
Richard Jones, Virtualization Group, Red Hat <a href="http://people.redhat.com/~rjones" target="_blank">http://people.redhat.com/~rjones</a><br>
</div>libguestfs lets you edit virtual machines.  Supports shell scripting,<br>
bindings from many languages.  <a href="http://libguestfs.org" target="_blank">http://libguestfs.org</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr"><span style="color:rgb(192,192,192)"></span><br>Safa REKIK<br></div>
</div>