Mock fails when /var/cache/mock is bind-mounted.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux