Description of problem: the rpm package creates rpm user using /usr/sbin/groupadd -g 37 rpm > /dev/null 2>&1 /usr/sbin/useradd -r -d /var/lib/rpm -u 37 -g 37 rpm > /dev/null 2>&1 but there is no prereq on shadow-utils which contains /usr/sbin/groupadd and /usr/sbin/useradd. Also, the "dev" package containing /dev/null is not prereq'ed. Version-Release number of selected component (if applicable): standard redhat-8.0 How reproducible: install a chrooted redhat-8.0 and install rpm-4.1 before installing shadow-utils. No dependency problem is reported, but the rpm user can't be created. Actual results: # /tmp/install-image-rpm --root /mnt/rh80 -Uvh rpm-4.1-1.06.i386.rpm warning: rpm-4.1-1.06.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e Preparing... ########################################### [100%] /var/tmp/rpm-tmp.15611: line 11: /dev/null: No such file or directory /var/tmp/rpm-tmp.15611: line 12: /dev/null: No such file or directory warning: user rpm does not exist - using root warning: group rpm does not exist - using root [...] 1:rpm ########################################### [100%] /bin/chown: `rpm.rpm': invalid user Expected results: # /tmp/install-image-rpm --root /mnt/rh80 -Uvh rpm-4.1-1.06.i386.rpm warning: rpm-4.1-1.06.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e Preparing... ########################################### [100%] 1:rpm ########################################### [100%] Additional info: chrooted installs are not important for Joe Average Home User, but are very important when doing large scale installs. Having correct prereqs is necessary for those installs (and would help Red Hat during the making of new versions, I guess).
ATM noting needs or requires rpm.rpm, it's equivalent to root.root, so adding dependencies to guarantee shadow-utils is installed Really Doesn't Matter.