[Pkg-libvirt-maintainers] Bug#702624: guestmount does not work

Holger Levsen holger at layer-acht.org
Sat Mar 9 09:25:19 UTC 2013


package: guestmount
severity: important
version: 1:1.18.1-1+deb7u1

Hi,

on jenkins.debian.net I tried to use guestmount 1:1.18.1-1+deb7u1 but it didnt 
work as I needed it to work. It has been 2 months since I made it work so my 
memory is a bit blurry on this, please excuse me for this.

I have (written) a comment that says:

 # FIXME: bugreport guestmount: -o uid doesnt work:
 # "sudo guestmount -o uid=$(id -u) -o gid=$(id -g)" would be nicer, bt it 
doesnt work: as root, the files seem to belong to jenkins, but as jenkins they 
cannot be accessed

And this is the code I'm now using:

sudo guestmount -a $NAME.raw -m /dev/vg_system/root --ro $SYSTEM_MNT 

Also, I use a patched version:

libguestfs (1:1.18.1-1+deb7u1~jdn+1) UNRELEASED; urgency=low

  * Non-maintainer upload.
  * [1cde91e] Moved installation of default configuration to the last
    position. This should fix the "libguestfs: error: FUSE not supported"
    problem reported by SharkWipf on IRC.

I'm a bit puzzled atm, whether 1:1.18.1-1+deb7u1 just has a broken -o option 
or whether also the second guestmount usage mentioned here wouldnt work with 
that version. Will find out, and if so, raise the severity to serious.

The fix is trivial in any case:

$ debdiff libguestfs_1.18.1-1+deb7u1.dsc libguestfs_1.18.1-1+deb7u1~jdn+1.dsc
diff -Nru libguestfs-1.18.1/debian/changelog 
libguestfs-1.18.1/debian/changelog
--- libguestfs-1.18.1/debian/changelog  2012-09-06 09:49:06.000000000 +0000
+++ libguestfs-1.18.1/debian/changelog  2012-12-22 00:18:48.000000000 +0000
@@ -1,3 +1,13 @@
+libguestfs (1:1.18.1-1+deb7u1~jdn+1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * [1cde91e] Moved installation of default configuration to the last
+    position. This should fix the "libguestfs: error: FUSE not supported"
+    problem reported by SharkWipf on IRC.
+ 
+
+ -- Holger Levsen <holger at debian.org>  Sat, 22 Dec 2012 00:18:03 +0000
+
 libguestfs (1:1.18.1-1+deb7u1) testing; urgency=low
 
   * [3ad62ed] Removed useless dh_python* overrides (Closes: #681587)
diff -Nru libguestfs-1.18.1/debian/rules libguestfs-1.18.1/debian/rules
--- libguestfs-1.18.1/debian/rules      2012-09-06 09:48:08.000000000 +0000
+++ libguestfs-1.18.1/debian/rules      2012-12-22 00:17:35.000000000 +0000
@@ -93,9 +93,9 @@
 # We assume that the Python version used for building the Python
 # bindings doesn't affect the outcome of those builds.
        set -e; for p in \
-               default \
                $(filter-out $(PYTHON_DEFAULT), $(PYTHONS)) \
                $(filter-out $(RUBY_DEFAULT), $(RUBIES)) \
+               default \
        ; do \
                dh_auto_install --builddir=$(CURDIR)/debian/build-$$p ; \
        done


cheers,
	Holger



More information about the Pkg-libvirt-maintainers mailing list