Bug 231078

Summary: up2date RPM 'post' scriptlet has a dependancy on /sbin/restorecon
Product: Red Hat Enterprise Linux 4 Reporter: Brian Reichert <brian.reichert>
Component: up2dateAssignee: Pradeep Kilambi <pkilambi>
Status: CLOSED DUPLICATE QA Contact: Beth Nackashi <bnackash>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.4   
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: 2007-03-06 20:23:59 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 Brian Reichert 2007-03-05 23:06:15 UTC
Description of problem:

up2date RPM 'post' scriptlet has a dependancy on /sbin/restorecon.  This is
provided by the 'policycoreutils' RPM.

If this RPM is not installed, you get postinstall errors.
  

Version-Release number of selected component (if applicable):
  
  gnupg-1.2.6-6.i386.rpm


How reproducible:

  very


Steps to Reproduce:
1.  install the above RPM, without policycoreutils-1.18.1-4.9.i386.rpm installed
2.
3.
  
Actual results:

# rpm -i *.rpm
warning: gnupg-1.2.6-6.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
/var/tmp/rpm-tmp.15748: line 11: restorecon: command not found
error: %post(up2date-4.4.69-25.i386) scriptlet failed, exit status 127


Expected results:

# rpm -i gnupg-1.2.6-6.i386.rpm 
warning: gnupg-1.2.6-6.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e



Additional info:

Comment 1 Pradeep Kilambi 2007-03-06 15:01:56 UTC
This bug has been resolved for 4.5 in the following bug#:

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=201020

Comment 2 Pradeep Kilambi 2007-03-06 20:23:59 UTC

*** This bug has been marked as a duplicate of 201020 ***