Bug 6814 - ldconfig spits a postfix error while un/installing packages via the CL & urpmi
Summary: ldconfig spits a postfix error while un/installing packages via the CL & urpmi
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Daniel Lucio
QA Contact:
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-07-18 06:44 CEST by Digigold
Modified: 2012-07-28 23:00 CEST (History)
2 users (show)

See Also:
Source RPM: postfix-2.9.3-1.mga3.src.rpm
CVE:
Status comment:


Attachments
PostFix error kicked out by ldconfig during urpmi install. (21.73 KB, image/png)
2012-07-18 06:48 CEST, Digigold
Details
Patch against the mgarepo checkout to fix the problem. (968 bytes, patch)
2012-07-20 12:28 CEST, Shlomi Fish
Details | Diff

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


Note You need to log in before you can comment on or make changes to this bug.