Bug 122532

Summary: %postun -p /sbin/ldconfig doesn't work
Product: [Fedora] Fedora Reporter: Miloslav Trmac <mitr>
Component: rhythmboxAssignee: Colin Walters <walters>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: woodt
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-05-13 17:58:44 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 Miloslav Trmac 2004-05-05 16:01:54 UTC
Description of problem:
%postun -p /sbin/ldconfig
doesn't work, because ldconfig chokes on the parameter passed by
RPM.

If I understand RPM correctly, it will attempt to execute the
whole %postun script (the gconf schema removal in particular)
in the ldconfig "shell", which will fail too.

The fix is simple:

%postun
/sbin/ldconfig
[rest of %postun]

Version-Release number of selected component (if applicable):
rhythmbox-0.8.3-1

Steps to Reproduce:
1.rpm -Uvh rhythmbox-0.8.3-1
2.rpm -ev rhythmbox
  
Actual results:
messages about %postun scriptlet failing

Comment 1 Colin Walters 2004-05-10 21:13:15 UTC
*** Bug 122974 has been marked as a duplicate of this bug. ***

Comment 2 Colin Walters 2004-05-11 04:09:59 UTC
*** Bug 122974 has been marked as a duplicate of this bug. ***

Comment 3 Colin Walters 2004-05-13 17:58:44 UTC
Fixed in 0.8.3-4.