Bug 1264604 - mock does not handle group 995 already existing
Summary: mock does not handle group 995 already existing
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mock
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Suchý
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-19 02:49 UTC by Ben Boeckel
Modified: 2016-02-08 14:25 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-02-08 14:25:51 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.