Bug 1337978

Summary: dictd package preinstall script contains error: uid/gid of 52 is taken by puppet
Product: [Fedora] Fedora Reporter: Wayne Pollock <pollock>
Component: dictdAssignee: Karsten Hopp <karsten>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 23CC: karsten
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: dictd-1.12.1-12.fc23 dictd-1.12.1-12.fc24 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-03 21:54:18 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 Wayne Pollock 2016-05-20 15:13:56 UTC
Description of problem:
The system user and group for dictd should be dynamically assigned, but the preinstall scripts used the "-u 52" and "-g 52" arguments to useradd and groupadd.  According to /usr/share/doc/setup/uidgid, 52 is reserved for puppet and
indeed the puppet package installs as uid/gid of 52.  However, if you install both, whichever package is installed last will fail; this could be serious if puppet is installed last.

Version-Release number of selected component (if applicable):
dictd-1.12.1-10.fc23.x86_64  (However I have confirmed this bug exists since at least Fedora 21.)


How reproducible:
Always

Steps to Reproduce:
1.dnf install dictd
2.dnf install puppet
3.

Actual results:
puppet fails to install correctly.

Expected results:
both packages install without conflict

Additional info:

dictd does not have an assigned number according to uidgid, so the preinstall script should merely install dictd with only the useradd command (without the "-u 52" argument), and the groupadd command is not needed.

I also noted the upstream package doesn't seem to be maintained any longer, so Red Hat/Fedora are the appropriate organizations to fix this.  I marked the severity as medium since puppet failing to install would be a big issue for many.

Comment 1 Fedora Update System 2016-05-24 11:51:22 UTC
dictd-1.12.1-12.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-76883d0860

Comment 2 Fedora Update System 2016-05-24 11:51:30 UTC
dictd-1.12.1-12.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-7871d853f1

Comment 3 Fedora Update System 2016-05-26 05:03:30 UTC
dictd-1.12.1-12.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-7871d853f1

Comment 4 Fedora Update System 2016-05-26 05:05:18 UTC
dictd-1.12.1-12.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-76883d0860

Comment 5 Fedora Update System 2016-06-03 21:54:16 UTC
dictd-1.12.1-12.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2016-06-18 18:59:46 UTC
dictd-1.12.1-12.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.