Bug 1028018

Summary: Updating postfix gives chown: cannot access '/usr/lib/postfix/dict_ldap.so': No such file or directory
Product: [openSUSE] openSUSE Tumbleweed Reporter: Gerald Pfeifer <gp>
Component: BasesystemAssignee: Peter Varkoly <varkoly>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: michael, sebix+novell.com
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Gerald Pfeifer 2017-03-05 13:43:33 UTC
I just `zypper dup`-ed a Tumbleweed installation and got the following:

Installing: postfix-3.1.4-3.1.x86_64 ........[done]
Additional rpm output:
Executing upgrade-configuration.
chown: cannot access '/usr/lib/postfix/dict_ldap.so': No such file or directory
Updating /etc/sysconfig/postfix ...
Updating /etc/sysconfig/mail ...


Looking into /usr/lib/postfix indeed this file does not exist after the
upgrade.
Comment 1 Gerald Pfeifer 2017-03-05 13:52:22 UTC
*** Bug 1028020 has been marked as a duplicate of this bug. ***
Comment 2 Gerald Pfeifer 2017-03-05 14:04:06 UTC
*** Bug 1028019 has been marked as a duplicate of this bug. ***
Comment 3 Gerald Pfeifer 2017-05-05 18:59:34 UTC
*** Bug 1034308 has been marked as a duplicate of this bug. ***
Comment 4 Michael Ströder 2017-08-10 20:16:15 UTC
The culprit is /etc/postfix/dynamicmaps.cf indicating LDAP map support by external modules (possible since postfix 3.x). But AFAICS postfix 3.x is not built with separate modules in openSUSE. All the maps are statically compiled into postfix.

Especially LDAP map support works just fine.

=> I'm inclined to say "works for me" and propose to comment all lines in installed file /etc/postfix/dynamicmaps.cf

See also:
http://postfix.1071664.n5.nabble.com/Postfix-ldap-issue-td87386.html
Comment 5 Sebastian Wagner 2019-02-11 18:57:23 UTC
This is still an issue (on TW):

(1546/3674) Installing: postfix-3.3.2-3.1.x86_64 .......................................................................................................[done]
Additional rpm output:
Executing upgrade-configuration.
chown: cannot access '/usr/lib/postfix/bin//postfix-ldap.so': No such file or directory
Updating /etc/sysconfig/postfix ...
Updating /etc/sysconfig/mail ...
Comment 6 Peter Varkoly 2021-03-29 10:07:33 UTC
In the actual version 3.5.9-3.3 the problem does not exists.