[Libguestfs] W/ commit 4d2c63a9bc3accd7b852b1c8b2089c6296fee156: supermin fails to create temporary dir

Kashyap Chamarthy kchamart at redhat.com
Thu Jul 25 05:42:36 UTC 2013


>> .
>> .
>> .
>> extracting /usr/lib64/gconv/gconv-modules from glibc-2.17-11.fc19.x86_64.rpm n...
>> Fatal error: exception Unix.Unix_error(8, "mkdir",
>> "/tmp/supermin66a2e1c4c95a0e7fb53c3122f449b299.tmp/root//var/run")
>> make[2]: *** [stamp-supermin] Error 2
>> make[2]: Leaving directory `/home/kashyap/src/libguestfs/appliance'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory `/home/kashyap/src/libguestfs'
>> make: *** [all] Error 2
> 
> This is actually a supermin bug, fixed by the following commit (in
> supermin.git):
> 
> commit ee7eec04fe5be5387168e43e546ec05f1c4372fe
> Author: Richard W.M. Jones <rjones at redhat.com>
> Date:   Wed Jun 26 21:40:26 2013 +0100
> 
>     Ignore ghost non-regular files.
>     
>     RPMs in Fedora 20 contain /var/run and /var/lock, as symlinks, marked
>     %ghost.  The old code would create these as regular files which would
>     then cause a failure if something was created inside them.
>     
>     You would see an error like this:
>     
>     Fatal error: exception Unix.Unix_error(8, "mkdir", "/tmp/supermineab65b098ad
> 
> It's fixed in Fedora >= 18 if you have the supermin >= 4.1.1-2.

Thanks, I had the below version

  supermin-4.1.1-1.fc19.x86_64

Updated and re-invoked the tests.

-- 
/kashyap




More information about the Libguestfs mailing list