Source: haproxy Severity: normal 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) root@2a75f0b07b80:/# apt install haproxy -y Reading package lists... Done Building dependency tree Reading state information... Done haproxy is already the newest version (1.8.19-1). 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Setting up haproxy (1.8.19-1) ... adduser: The user `haproxy' already exists, but is not a system user. Exiting. dpkg: error processing package haproxy (--configure): installed haproxy package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: haproxy E: Sub-process /usr/bin/dpkg returned an error code (1) root@2a75f0b07b80:/# -- System Information: Debian Release: 10.0 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.19.0-5-amd64 (SMP w/4 CPU cores) Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8), LANGUAGE=pl_PL.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled