Mailinglist Archive: opensuse-factory (437 mails)
< Previous | Next > |
Re: [opensuse-factory] Re: [opensuse-buildservice] register static UID/GID on openSUSE?
- From: Jan Engelhardt <jengelh@xxxxxxx>
- Date: Thu, 16 Apr 2015 13:28:11 +0200 (CEST)
- Message-id: <alpine.LSU.2.20.1504161327001.30195@nerf40.vanv.qr>
On Thursday 2015-04-16 13:14, Thomas Bechtold wrote:
Context: the ceph project wants to reserve a UID/GID - being a
distributed storage cluster, it's best if the UID/GIDs remain static
across the whole cluster, and the most straightforward way to do this is
to hardcode a UID/GID in a useradd/groupadd invocation in the rpm %pre
script.
I'm not sure if that is supported by openSUSE, but there is also
systemd-sysusers (see man sysusers.d or
http://0pointer.net/blog/projects/stateless.html ) to create system
users/groups.
systemd-sysusers is just an improved version of (%pre+useradd).
It still cannot guarantee equal UIDs across all (or even just a handful
of) systems.
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx
< Previous | Next > |