diff options
author | Matthew Booth <mbooth@redhat.com> | 2010-10-28 15:19:13 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2010-10-28 16:17:38 +0100 |
commit | 38af2eaceb4c8e9d675835bcd6e598ccb67daf0f (patch) | |
tree | 512159dc71c49b91b2c58ff0c71dfecc9eb19087 /README | |
parent | cf8add59d297d196facc2d0b9af45bb1d7946344 (diff) | |
download | libguestfs-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-- | README | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -39,7 +39,7 @@ Requirements - recent QEMU >= 0.12 with virtio-serial support -- febootstrap >= 2.9 +- febootstrap >= 2.10 - fakeroot |