On 05/18/2016 03:27 PM, James Hogarth
wrote:
On 18 May 2016 7:19 p.m., "Przemek Klosowski" <przemek.klosowski@xxxxxxxx>
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/rpms/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.
I believe that mongoDB has already acquired static GID and UID (184,
per https://git.fedorahosted.org/cgit/setup.git/tree/uidgid#n151)
but is only using the UID, not GID---and this is what Marek proposed
to fix. Am I mistaken?
|
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
http://lists.fedoraproject.org/admin/lists/devel@xxxxxxxxxxxxxxxxxxxxxxx