Bug 6814

Summary: ldconfig spits a postfix error while un/installing packages via the CL & urpmi
Product: Mageia Reporter: Digigold <digigold808>
Component: RPM PackagesAssignee: Daniel Lucio <luis.daniel.lucio>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: digigold808, shlomif
Version: CauldronKeywords: PATCH
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: postfix-2.9.3-1.mga3.src.rpm CVE:
Status comment:
Attachments: PostFix error kicked out by ldconfig during urpmi install.
Patch against the mgarepo checkout to fix the problem.

Description Digigold 2012-07-18 06:44:04 CEST
Description of problem:

~ldconfig spits a postfix error while un/installing packages via the CL & urpmi

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

~Postfix-2.9.3-1

How reproducible:


Steps to Reproduce:
1. Happens with some pkgs only
2. Must use urpmi on the CL, not rpmdrake
3. See screenshot
Comment 1 Digigold 2012-07-18 06:48:56 CEST
Created attachment 2564 [details]
PostFix error kicked out by ldconfig during urpmi install.
Digigold 2012-07-18 06:50:55 CEST

CC: (none) => digigold808

Remco Rijnders 2012-07-19 07:38:17 CEST

Assignee: bugsquad => dlucio

Comment 2 Shlomi Fish 2012-07-20 11:54:54 CEST
Yes, I can reproduce this too. I am getting:

ldconfig: /usr/lib64/libpostfix-xsasl.so.1 is not an ELF file - it has the wrong magic bytes at the start.

This happens when uninstalling a library (for example) .

I tried rebuilding the postfix package, and reinstalling but I'm still getting the error.

root@telaviv1:~$ file /usr/lib64/libpostfix-xsasl.so.1
/usr/lib64/libpostfix-xsasl.so.1: current ar archive

Regards,

-- Shlomi Fish

CC: (none) => shlomif

Comment 3 Shlomi Fish 2012-07-20 12:28:49 CEST
Created attachment 2569 [details]
Patch against the mgarepo checkout to fix the problem.

Apparently, Mandriva had the same problem and it was fixed there:

https://qa.mandriva.com/show_bug.cgi?id=65571

This patch against the mgarepo checkout (derived from a Mandriva commit) fixed the problem for me. Please consider applying it.
Manuel Hiebel 2012-07-21 02:27:48 CEST

Keywords: (none) => PATCH

Comment 4 Shlomi Fish 2012-07-28 23:00:15 CEST
This bug was already fixed by dlucio in svn+ssh://svn.mageia.org/svn/packages/cauldron/postfix/current .
Closing as resolved.

Status: NEW => RESOLVED
Resolution: (none) => FIXED