Description of problem: There is calling useradd without specific UID in spec file Suggested fix: - %{_sbindir}/useradd -d %{_datadir}/%{name} -r -s /sbin/nologin cacti 2> /dev/null || : + getent group cacti >/dev/null || groupadd -r cacti -g 452 + getent passwd cacti >/dev/null || useradd -g cacti -u 452 -d ${_datadir}/%{name} -r -s /sbin/nologin cacti 2> /dev/null || : UID 452 for cacti is already used in Red Hat HPC product. Version-Release number of selected component (if applicable): cacti-0.8.7e-1 Expected results: Additional info:
It's acceptable to use -r last I checked. This is because there are over 500 packages that create accounts. not all of them can use static IDs.