James Hogarth píše v St 18. 05. 2016 v 20:51 +0100: > > On 18 May 2016 8:27 p.m., "James Hogarth" <james.hogarth@xxxxxxxxx> > wrote: > > > > > > On 18 May 2016 7:19 p.m., "Przemek Klosowski" <przemek.klosowski@ni > st.gov> wrote: > > > > > > On 05/18/2016 01:21 PM, James Hogarth wrote: > > >> > > >> However MongoDB uses only UID staticaly. It is not > > >> > using preallocated GID - http://pkgs.fedoraproject.org/cgit/rp > ms/mongodb.git/tree/mongodb.spec#n327 > > >> > > > >> > So I would like to ask how to fix this? > > >> > Is is OK to simply fix this in Fedora master? In current > situation GID > > >> > differs on every machine, so the wont be any breaking change > for users > > >> > I think (it is using 'getent group mongodb || ...'). Or may > there be > > >> > some problem with this? > > >> > > > >> > > > >> > > >> The relevant guidelines covering this are here: > > >> > > >> https://fedoraproject.org/wiki/Packaging:UsersAndGroups > > > > > > I think Marek is suggesting changing the groupadd command to use > specific UID (184) for new installs. > > > > > > Are you quoting the policy because it prohibits changing > UID/GIDs? Are you concerned with updates on existing systems? > > > > > > > No I'm linking the policy as it has all the relevant guidelines for > this situation along with specific example script samples and the > process that needs to be followed with FPC if not using dynamic > application and wanting a static assignment. > Forgive my infant caused sleep deprived brain... > Re-reading the OP I see my misunderstanding. I'd say just put the > approved pre scriptlet in place with the already approved UID/GID > As per design existing users won't be affected with the example > scriptlet and new users would get the FPC approved IDs. Thank you all for consulting! I will fix it in rawhide by simple adding "-g 184" to groupadd. Have a nice day, Marek > -- > devel mailing list > devel@xxxxxxxxxxxxxxxxxxxxxxx > http://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject. > org -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx http://lists.fedoraproject.org/admin/lists/devel@xxxxxxxxxxxxxxxxxxxxxxx