Hi! The debian packages for libguestfs ( at http://libguestfs.org/download/binaries/debian-packages/) are a few months old, and there are some pretty important bug fixes since then. In particular, I have some cumbersome workarounds for the Python GIL bug which was fixed in April. I was wondering if anyone is working on building a new version of these? I tried to do it myself, but I don't have much experience building Debian packages and libguestfs looks like a hard package to start with. Thanks, --Igor
On Fri, Jun 03, 2011 at 08:22:11AM -0500, Igor Serebryany wrote:
Hi!
The debian packages for libguestfs ( at http://libguestfs.org/download/binaries/debian-packages/) are a few months old, and there are some pretty important bug fixes since then. In particular, I have some cumbersome workarounds for the Python GIL bug which was fixed in April.
I was wondering if anyone is working on building a new version of these? I tried to do it myself, but I don't have much experience building Debian packages and libguestfs looks like a hard package to start with.
I don't like building these too often, because every time I do that, it takes the pressure off someone stepping up to maintain them in Debian and Ubuntu. Nevertheless I've built and uploaded new Debian packages here: http://libguestfs.org/download/binaries/debian-packages/ New udev is required (I'm using udev 170-1). The new febootstrap package means these should no longer require insmod.static. It uses its own internal insmod function now (thanks Hilko). The packages are only very lightly tested, so don't throw away your old config before you've properly tested the new packages. It seems that currently there is a problem building libguestfs from git with gcc < 4.6, because the __deprecated__ syntax changed. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org
On Sat, Jun 04, 2011 at 01:26:43PM +0100, Richard W.M. Jones wrote:
On Fri, Jun 03, 2011 at 08:22:11AM -0500, Igor Serebryany wrote:
Hi!
The debian packages for libguestfs ( at http://libguestfs.org/download/binaries/debian-packages/) are a few months old, and there are some pretty important bug fixes since then. In particular, I have some cumbersome workarounds for the Python GIL bug which was fixed in April.
I was wondering if anyone is working on building a new version of these? I tried to do it myself, but I don't have much experience building Debian packages and libguestfs looks like a hard package to start with.
I don't like building these too often, because every time I do that, it takes the pressure off someone stepping up to maintain them in Debian and Ubuntu.
Nevertheless I've built and uploaded new Debian packages here: http://libguestfs.org/download/binaries/debian-packages/
New udev is required (I'm using udev 170-1).
The new febootstrap package means these should no longer require insmod.static. It uses its own internal insmod function now (thanks Hilko).
The packages are only very lightly tested, so don't throw away your old config before you've properly tested the new packages.
It seems that currently there is a problem building libguestfs from git with gcc < 4.6, because the __deprecated__ syntax changed.
Ubuntu packages also updated: http://libguestfs.org/download/binaries/ubuntu-packages/ Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into Xen guests. http://et.redhat.com/~rjones/virt-p2v
Hi Rich, On Sat, Jun 04, 2011 at 01:26:43PM +0100, Richard W.M. Jones wrote:
Nevertheless I've built and uploaded new Debian packages here: http://libguestfs.org/download/binaries/debian-packages/
I installed the new packages on a sid system, and things seem broken (at least the python bindings):
import guestfs g = guestfs.GuestFS() g.add_drive_opts('disk.img', format='raw',readonly=True) g.launch() Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/pymodules/python2.6/guestfs.py", line 188, in launch return libguestfsmod.launch (self._o) RuntimeError: unexpected end of file when reading from daemon
--Igor
* Igor Serebryany:
I installed the new packages on a sid system, and things seem broken (at least the python bindings):
import guestfs g = guestfs.GuestFS() g.add_drive_opts('disk.img', format='raw',readonly=True) g.launch() Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/pymodules/python2.6/guestfs.py", line 188, in launch return libguestfsmod.launch (self._o) RuntimeError: unexpected end of file when reading from daemon
This looks familiar. I think this message from one of the test scripts in libguestfs turned out to be caused by missing kernel modules. Could you please try if using febootstrap from git (git://git.annexia.org/git/febootstrap.git) fixes the problem for you? -Hilko
On Tue, Jun 07, 2011 at 01:36:12AM +0200, Hilko Bengen wrote:
* Igor Serebryany:
RuntimeError: unexpected end of file when reading from daemon
Actually this message just means the appliance didn't start up. There's no more detail available from the standard messages, and the only way to find out more is to enable debugging. ie: export LIBGUESTFS_DEBUG=1 or run: libguestfs-test-tool I've pushed this commit to improve the error message: http://git.annexia.org/?p=libguestfs.git;a=commitdiff;h=2f73ea343cc4a3433f20... Igor managed to fix the problem by upgrading to udev 170-1. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org
participants (3)
-
Hilko Bengen -
Igor Serebryany -
Richard W.M. Jones