Is there any particular reason why Mock can't work when /var/cache/mock is 
bind-mounted?

I have a relatively small flash drive for the root filesystem and a big disk 
mounted on /disk/data. To avoid filling the flash drive I bind-mounted 
/disk/data/mock on /var/cache/mock. When I run "fedpkg mockbuild", Mock fails 
because /var/cache/mock/fedora-rawhide-x86_64/yum_cache doesn't exist. 
Creating that directory manually doesn't help; it seems to disappear when I 
run "fedpkg mockbuild", and /var/cache/mock/fedora-rawhide-x86_64 too. "umount 
/var/cache/mock" allowed Mock to work.

I can imagine that the file permissions might be wrong, although they seem OK 
to me, but the error is that the directory doesn't exist. Why are the 
directories removed and not re-created?

Björn Persson

Attachment: signature.asc
Description: This is a digitally signed message part.

-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Reply via email to