Created attachment 907713 [details] getuid patch Description of problem: Mockchain sets up the default config opts with os.getgid instead of os.getuid. Is that intentional? In some environments, a user's primary gid might differ from her uid. Furthermore, that gid might not have a corresponding uid or, even if it does, the uid that corresponds to that primary gid might not belong to the mock group. In those cases, mockchain will build rpms but will not be able to copy them to the resultdir since the rpms are not owned by that user and the resultdir is not owned by the mock group. Version-Release number of selected component (if applicable): I looks like this was added with commit 2135337301164fe3e82c75fe86eead82abeb80ff. How reproducible: Always, in an environment like the one described. Steps to Reproduce: 1. set up user that belongs to mock group but whose primary gid does not correspond to any uid 2. build a package with mockchain as that user Actual results: Mockchain builds the rpms but does not copy them to the resultdir. Expected results: Mockchain copies the rpms to the resultdir. Additional info:
Commited as fc12d16 to msuchy-work branch. Thanks for the report.
Thanks for fixing!
*** Bug 1111251 has been marked as a duplicate of this bug. ***
mock-1.1.40-2.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/mock-1.1.40-2.fc20
mock-1.1.40-2.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/mock-1.1.40-2.fc19
mock-1.1.40-2.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/mock-1.1.40-2.el6
mock-1.1.41-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/mock-1.1.41-1.fc20
mock-1.1.41-1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/mock-1.1.41-1.fc19
mock-1.1.41-1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/mock-1.1.41-1.el6
Package mock-1.1.41-1.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing mock-1.1.41-1.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-8492/mock-1.1.41-1.fc20 then log in and leave karma (feedback).
mock-1.1.41-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
mock-1.1.41-1.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.
mock-1.1.41-2.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/mock-1.1.41-2.fc19
mock-1.1.41-3.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/mock-1.1.41-3.fc19
mock-1.1.41-3.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.