Description of problem: If $HOME/.cache directory does not exist, `virt-builder` will disable caching -- it fails to create $HOME/.cache/virt-builder directory as it assumes the parent directory $HOME/.cache/ already exists. It is desirable to have `virt-builder` to create the $HOME/.cache (if it already doesn't exist) so that the downloaded operating system templates can be cached. So, it should do something like: mkdir -p $HOME/.cache/virt-builder Version-Release number of selected component (if applicable): libguestfs-1.29.26-1.fc23 How reproducible: All the time
I have observed this too, especially for /root for some reason.
Pino posted a patch upstream, that's also ACKed https://www.redhat.com/archives/libguestfs/2015-February/msg00188.html
Fixed with https://github.com/libguestfs/libguestfs/commit/652af7a33ac769b063cadddc41786dc69bbe2792 which is libguestfs >= 1.29.27.