On 18 May 2016 17:28, "Marek Skalický" <mskal...@redhat.com> wrote: > > Hello, > I am packaging MongoDB. It a database so it stores files and need > reserved UID and GID for it... > > Today I figured out that for more than 4 years MongoDB does not use > reserved GID. > In https://git.fedorahosted.org/cgit/setup.git/tree/uidgid#n151 UID and > GID is reserved. However MongoDB uses only UID staticaly. It is not > using preallocated GID - http://pkgs.fedoraproject.org/cgit/rpms/mongod > b.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
-- devel mailing list devel@lists.fedoraproject.org http://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org