Bug 882991

Summary: Error in dmraid %postun: /sbin/ldconfig: relative path `1' used to build cache
Product: [Fedora] Fedora Reporter: Richard W.M. Jones <rjones>
Component: dmraidAssignee: LVM and device-mapper development team <lvm-team>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: agk, bmr, dwysocha, heinzm, lvm-team, prajnoha, prockai, zkabelac
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-03 15:56:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Richard W.M. Jones 2012-12-03 15:16:47 UTC
Description of problem:

This doesn't look good ...

  Cleanup    : dmraid-1.0.0.rc16-17.fc18.x86_64                                             323/576 
/sbin/ldconfig: relative path `1' used to build cache
warning: %postun(dmraid-1.0.0.rc16-17.fc18.x86_64) scriptlet failed, exit status 1
Non-fatal POSTUN scriptlet failure in rpm package dmraid-1.0.0.rc16-17.fc18.x86_64

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

See above.

Comment 1 Richard W.M. Jones 2012-12-03 15:17:49 UTC
The scriptlet looks suspicious, although not actually wrong:

$ rpm -q --scripts dmraid
postinstall program: /sbin/ldconfig
postuninstall scriptlet (using /bin/sh):
/sbin/ldconfig

# 1. Main package


[The # 1. etc seems to be part of the %postun script]

Comment 2 Peter Rajnoha 2012-12-03 15:56:08 UTC
It should be fixed already, but the change will apply only with a future update of dmraid as %postun scriptlet is called for the old package. So once updated to dmraid-1.0.0.rc16-18.fc18, the error should not appear anymore.

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