Bug 68611

Summary: rpm should ignore users on source packages.
Product: [Retired] Red Hat Raw Hide Reporter: Aleksey Nogin <aleksey>
Component: rpmAssignee: Jeff Johnson <jbj>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-07-11 18:18:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Aleksey Nogin 2002-07-11 18:18:14 UTC
With rpm-4.1-0.43.i386.rpm when installing a source package as non-priviledged
user, I see:

% rpm -Uvh /tmp/knetload-1.91-8mdk.src.rpm
warning: user baudens does not exist - using root
warning: user baudens does not exist - using root
warning: user baudens does not exist - using root
   1:knetload               ########################################### [100%]

I see two issues here:
- the "using root" is obviously a lie
- Shouldn't the "owner" tags in the source packages be ignored altogether (e.g.
even when installing as root and the named user does exist)?

Comment 1 Jeff Johnson 2002-07-11 18:48:57 UTC
The warning message is hardly a lie,
since it accurately indicates that, indeed,
the named user cannot be looked up and that
the uid of 0 is being substituted. You are
correct that final owner of the unpackaged
elements is not root, but that's impossible
to achieve in the situation you describe.

rpm does not "ignore" owners when installing
a package, never has.