Bug 1179585

Summary: wrong gid given to tape by setup on fresh installs
Product: [Fedora] Fedora Reporter: Trevor Cordes <fedora>
Component: setupAssignee: Ondrej Vasik <ovasik>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 21CC: ovasik, pknirsch
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: setup-2.8.71-3.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-07 08:53:44 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 Trevor Cordes 2015-01-07 07:44:34 UTC
Description of problem:
A fresh anaconda install of Fedora 21 creates group tape gid 30.
/usr/share/doc/setup/uidgid says it should use 33 (as old Fedora setups did)

Version-Release number of selected component (if applicable):
setup-2.9.0-2.fc21

How reproducible:
haven't reinstalled to test, but pretty sure it does it on every fresh (non-upgrade) install


Steps to Reproduce:
1. install a fresh F21
2. grep tape /etc/group
3. grep tape /usr/share/doc/setup/uidgid

Actual results:
tape:x:30:
tape	-	33	-		-	setup

Expected results:
tape:x:33:
tape	-	33	-		-	setup

Additional info:
uidgid file from setup seems to lag actual Fedora dev, big time.  Someone should maintain it better.  For example, all the new systemd* users/groups should be in there but they aren't, and setup/rpm is giving them random 9xx ids.  Of course, none of this really hurts anything, except the overly OCD who like their uid/gid's to match up across installs.

Comment 1 Ondrej Vasik 2015-01-07 08:39:39 UTC
Trevor, please don't create FUD. It is not about "someone should maintain it better". Toshio Kuratomi from FPC (when he was in FPC) decided to take away from me the assignments of soft uidgid reservation and they must be approved by FPC (https://fedorahosted.org/fpc/ticket/269). 
I'm monitoring these, https://fedorahosted.org/fpc/ticket/481 (systemd* users/groups) are not yet approved by FPC. So it is not my fault, actually systemd devels caused the delay there.

Actually, you are right about the tape, sorry for that, it was my typo in https://git.fedorahosted.org/cgit/setup.git/commit/?id=bf0be8a1a9fcc9cd46c58d5f54e3b458742a0b96 . I'll the default group for tape in rawhide to 33 (as this is correct one). Thanks for report.

Comment 2 Ondrej Vasik 2015-01-07 08:53:44 UTC
Unfortunately, this can't be resolved for the released Fedoras (as the group 30 is already through installation and update can't change it). I'll change it in Rawhide only - to fix this for new installations. Group 30 is fortunately unreserved now (as Gopher servers are no longer in Fedora) - so it shouldn't cause any issues. (btw. random 9xx ids are assigned by shadow-utils, not setup/rpm - standard dynamic user/group creation).
I'll create an F21 update with a note in uidgid file, so it is less confusing for users.

Fixed in setup-2.9.4-1.fc22, closing RAWHIDE.

Comment 3 Fedora Update System 2015-01-07 09:39:29 UTC
setup-2.9.0-3.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/setup-2.9.0-3.fc21

Comment 4 Fedora Update System 2015-01-07 09:45:26 UTC
setup-2.8.71-3.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/setup-2.8.71-3.fc20

Comment 5 Trevor Cordes 2015-01-07 11:06:22 UTC
Thanks for the quick fix.  No FUD intended.  As with most documentation files, I understand this one can lag reality.  I had no idea it had to pass committee before being updated.  Just trying to do my two cents to help consistency.

Thanks again.

Comment 6 Ondrej Vasik 2015-01-07 11:36:49 UTC
I try to keep it up2date as much as I can, however current process to request everything through FPC tickets (where I'm not automatically on CC) doesn't help me too much. Thanks for spotting the issue anyway - I'll need to update the setup validation script so it can catch such things at least in default setup package.

Comment 7 Fedora Update System 2015-01-26 02:36:47 UTC
setup-2.9.0-3.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2015-06-05 23:52:33 UTC
setup-2.8.71-3.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.