Mock fails when /var/cache/mock is bind-mounted.
bjorn at xn--rombobjrn-67a.se
Sun Feb 13 17:00:00 UTC 2011
Is there any particular reason why Mock can't work when /var/cache/mock is
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?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20110213/d53fd2c2/attachment.bin
More information about the devel