Bug 1379117

Summary: /sbin/ldconfig: relative path `1' used to build cache
Product: [Fedora] Fedora Reporter: Igor Gnatenko <ignatenko>
Component: binutilsAssignee: Nick Clifton <nickc>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: arjun.is, codonell, dj, fweimer, jakub, law, mfabian, nickc, pfrankli, siddhesh
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-26 08:47:03 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:

Description Igor Gnatenko 2016-09-25 06:33:33 UTC
/sbin/ldconfig: relative path `1' used to build cache
warning: %postun(binutils-2.27-8.fc26.x86_64) scriptlet failed, exit status 1
Non-fatal POSTUN scriptlet failure in rpm package binutils
Non-fatal POSTUN scriptlet failure in rpm package binutils

Comment 1 Nick Clifton 2016-09-26 08:47:03 UTC

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

Comment 2 Jakub Jelinek 2016-09-26 08:52:22 UTC
Why would that be a glibc bug?
ldconfig 1
means process shared libraries in directory 1
which likely doesn't exist.
To me this sounds like an rpm/dnf/yum bug, because
https://fedoraproject.org/wiki/Packaging:Scriptlets
says %postun -p /sbin/ldconfig
is recommended, so IMHO rpm/yum/dnf should special case /sbin/ldconfig and not pass the arguments to it.

Comment 3 Nick Clifton 2016-09-26 08:56:38 UTC
(In reply to Jakub Jelinek from comment #2)
> Why would that be a glibc bug?
 
Sorry - my bad.  I thought that the bug report was about ldconfig.  Only after I changed the category did I read the report properly and realise what was going on.  So I changed the category back to binutils.

Cheers
  Nick