Gentoo Archives: gentoo-dev

From: Mike Gilbert <floppym@g.o>
To: Ulrich Mueller <ulm@g.o>
Cc: Gentoo Dev <gentoo-dev@l.g.o>
Subject: Re: [gentoo-dev] Don't use UIDs and GIDs below 100 without QA approval
Date: Thu, 11 Nov 2021 19:18:40
Message-Id: CAJ0EP41x9pr95gfw_HORo6+3rpFoCBe+S=70x=-c6d0OQcv84g@mail.gmail.com
In Reply to: Re: [gentoo-dev] Don't use UIDs and GIDs below 100 without QA approval by Ulrich Mueller
1 On Thu, Nov 11, 2021 at 2:08 PM Ulrich Mueller <ulm@g.o> wrote:
2 >
3 > >>>>> On Thu, 11 Nov 2021, Mike Gilbert wrote:
4 >
5 > >> - Open part of the range 60001..65533. Not sure if all software will be
6 > >> happy with that.
7 >
8 > > systemd has some code that special-cases ids in the "system" range.
9 > > I'm not exactly sure what impact creating system users outside above
10 > > SYS_UID_MAX (login.defs) will have.
11 >
12 > We also have some IDs below SYS_UID_MIN (= 101) which technically is
13 > outside the system account range of login.defs. Do these cause any
14 > problems with systemd?
15
16 That seems less likely to cause a problem. systemd considers any id <=
17 SYS_UID_MAX to be a system id.