Bug 1264604

Summary: mock does not handle group 995 already existing
Product: [Fedora] Fedora Reporter: Ben Boeckel <fedora>
Component: mockAssignee: Miroslav Suchý <msuchy>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: fedora, jdisnard, mebrown, msimacek, msuchy, praiskup, williams
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-08 14:25:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ben Boeckel 2015-09-19 02:49:07 UTC
Description of problem:
My install is old and I have a mock group with gid 995. When running mock, it fails when trying to create the mockbuild group with gid 995.

Mock should be more resilient against group 995 already existing as a different name (or claim it during install of the mock package).

Comment 1 Miroslav Suchý 2015-12-22 00:52:51 UTC
Well rpm package has in %pre:
getent group mock > /dev/null || groupadd -f -g 135 -r mock

mockbuild group is created only in chroot. Which should be cleared after each build.

Can you elaborate what is you problem exactly?

Comment 2 Miroslav Suchý 2016-02-08 14:25:51 UTC
No information provided.