❦  5 septembre 2019 12:42 +02, Marcin Juszkiewicz 
<marcin.juszkiew...@linaro.org>:

> I am using Kolla to build container images with OpenStack components.
> One of images contains haproxy. And it fails to build.
>
> Part of build is creation of users with fixed UID/GID values. Which
> works fine for most situations as packages usually are fine with user
> accounts already existing. But not haproxy ;(
>
> root@2a75f0b07b80:/# id haproxy                                               
>                                                                               
>        
> uid=42454(haproxy) gid=42454(haproxy) groups=42454(haproxy)

We are requiring the haproxy user to be a system user to avoid a clash
with a regular user. The UID range for system users is 100-999 by
default, so 42454 is outside it. There is no policy on Debian enforcing
this behaviour, but many packages follow this scheme. If you don't have
regular users, you could just extend the range in /etc/adduser.conf.
-- 
Make input easy to prepare and output self-explanatory.
            - The Elements of Programming Style (Kernighan & Plauger)

Attachment: signature.asc
Description: PGP signature

Reply via email to