Bug 1367430

Summary: Invocation of useradd with UID 184 - mongodb
Product: Red Hat Storage Console Reporter: Martin Kudlej <mkudlej>
Component: distributionAssignee: Nishanth Thomas <nthomas>
Status: CLOSED NOTABUG QA Contact: sds-qe-bugs
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2CC: dahorak, sankarshan
Target Milestone: ---   
Target Release: 2   
Hardware: Unspecified   
OS: Unspecified   
URL: http://brewtap.app.eng.bos.redhat.com/nvr/mongodb/2.6.5/4.1.el7
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-16 12:46:03 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:
Bug Depends On:    
Bug Blocks: 1367296    

Description Martin Kudlej 2016-08-16 11:46:24 UTC
UseraddUnknownUid

Invocation of useradd with UID 184, but there's no assigned UID for %{pkg_name} in /usr/share/doc/setup-2.8.14/uidgid (WARNING: UID 184 is assigned to mongodb
 	...in mongodb.spec:228
   useradd -r -g %{pkg_name} -u 184 -d %{_localstatedir}/lib/%{pkg_name} -s /sbin/nologin -c "MongoDB Database Server" %{pkg_name}

Comment 2 Daniel HorĂ¡k 2016-08-16 12:46:03 UTC
I checked the uidgid file on one of my RHEL 7 machines and mongodb user is listed there with the proper UID. So I think this is just issue with the BrewTap machine - using older version of setup.

# rpm -q setup
setup-2.8.71-6.el7.noarch

# grep mongod /usr/share/doc/setup-2.8.71/uidgid
mongodb	184	184	/var/lib/mongodb		/sbin/nologin	mongodb

>> CLOSED NOTABUG