Bug 83294 - missing Requires: shadow-utils, needed to create "rpm" user
missing Requires: shadow-utils, needed to create "rpm" user
Status: CLOSED DEFERRED
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
8.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
Mike McLean
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-02-01 13:41 EST by Bert de Bruijn
Modified: 2007-04-18 12:50 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-02-01 14:46:03 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Bert de Bruijn 2003-02-01 13:41:27 EST
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).
Comment 1 Jeff Johnson 2003-02-01 14:46:03 EST
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.

Note You need to log in before you can comment on or make changes to this bug.