summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorMatthew Booth <mbooth@redhat.com>2010-10-28 15:19:13 +0100
committerRichard W.M. Jones <rjones@redhat.com>2010-10-28 16:17:38 +0100
commit38af2eaceb4c8e9d675835bcd6e598ccb67daf0f (patch)
tree512159dc71c49b91b2c58ff0c71dfecc9eb19087 /README
parentcf8add59d297d196facc2d0b9af45bb1d7946344 (diff)
downloadlibguestfs-38af2eaceb4c8e9d675835bcd6e598ccb67daf0f.tar.gz
libguestfs-38af2eaceb4c8e9d675835bcd6e598ccb67daf0f.tar.xz
libguestfs-38af2eaceb4c8e9d675835bcd6e598ccb67daf0f.zip
Call febootstrap-supermin-helper using the new -u and -g options
Use febootstrap-supermin-helper's new -u and -g command line options to setuid, rather than doing it in libguestfs. This resolves an issue with the generation of the cached appliance checksum. The checksum was being generated by a call to febootstrap-supermin-helper through popen(). Unfortunately, a bash misfeature meant that euid would be reset to uid, and the checksum was generated for uid, not euid. When virt-v2v is writing to a RHEV target, uid == 0 and euid == 36, which resulted in a cached appliance being created for root with permissions for uid 36. Note this requires febootstrap 2.10.
Diffstat (limited to 'README')
-rw-r--r--README2
1 files changed, 1 insertions, 1 deletions
diff --git a/README b/README
index e231840d..a88f4cc4 100644
--- a/README
+++ b/README
@@ -39,7 +39,7 @@ Requirements
- recent QEMU >= 0.12 with virtio-serial support
-- febootstrap >= 2.9
+- febootstrap >= 2.10
- fakeroot