[Nix-dev] User and group ID ranges
Christian Theune
ct at flyingcircus.io
Fri Jan 15 13:16:00 CET 2016
Hi,
one part that is still missing then is: what happens when static UIDs in nixpkgs outgrows 500?
Would it make sense to reserve some space in the 16-Bit-Area or should we allocate an area in the 32-Bit range?
(the other) Christian
> On 15 Jan 2016, at 12:10, Eelco Dolstra <eelco.dolstra at logicblox.com> wrote:
>
> Hi,
>
> On 15/01/16 09:50, Christian Kauhaus wrote:
>
>> Am 14.01.2016 um 10:55 schrieb Игорь Пашев:
>>> I use this function to get IDs:
>>
>> Thank you for the code, but this is not the problem I'm trying to solve.
>> We allocate UIDs centrally. It's more a policy question:
>>
>> Is the range 500 <= n < 1000 likely to be free in the future?
>
> Yes, I think 500-1000 is for user allocations guaranteed not to collide with
> "useradd" allocations.
>
>> What about using the range 30000 < n < 65535?
>
> You can use that. The only system stuff there is nixbld*, which is a
> historical mistake.
>
> --
> Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
--
Christian Theune · ct at flyingcircus.io · +49 345 219401 0
Flying Circus Internet Operations GmbH · http://flyingcircus.io
Forsterstraße 29 · 06112 Halle (Saale) · Deutschland
HR Stendal HRB 21169 · Geschäftsführer: Christian. Theune, Christian. Zagrodnick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20160115/2fbfbf1a/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20160115/2fbfbf1a/attachment.bin
More information about the nix-dev
mailing list