Package installation fails due to hardcoded uid?
Issue
Many packages such as the libvirt package has a hardcoded uid in its preinstall script:
getent passwd qemu >/dev/null || \
useradd -r -u 107 -g qemu -G kvm -d / -s /sbin/nologin \
-c "qemu user" qemu
The useradd command fails if the system is configured to use a naming service where this uid is already in use.
Environment
Red Hat Enterprise Linux 6.3
libvirt-0.9.10-21.el6_3.4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
