[Bug 1086807] New: postfix: error about not existing file
http://bugzilla.suse.com/show_bug.cgi?id=1086807 Bug ID: 1086807 Summary: postfix: error about not existing file Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: varkoly@suse.com Reporter: kukuk@suse.com QA Contact: qa-bugs@suse.de CC: chris@computersalat.de Found By: --- Blocker: --- During update I got the following error message: # 2018-03-24 01:13:53 postfix-3.3.0-1.1.x86_64.rpm installed ok # Additional rpm output: # SysV service postfix does not exist, skipping # warning: /etc/postfix/master.cf created as /etc/postfix/master.cf.rpmnew # Executing upgrade-configuration. # chown: cannot access '/usr/lib/postfix/bin//postfix-ldap.so': No such file or directory -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1086807 John Paul Adrian Glaubitz <adrian.glaubitz@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |adrian.glaubitz@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1086807 http://bugzilla.suse.com/show_bug.cgi?id=1086807#c3 --- Comment #3 from John Paul Adrian Glaubitz <adrian.glaubitz@suse.com> --- The bug is in the "postfix" command which is invoked by the postinst script: suse-laptop:~ # /usr/sbin/postfix set-permissions postfix: Postfix is running with backwards-compatible default settings postfix: See http://www.postfix.org/COMPATIBILITY_README.html for details postfix: To disable backwards compatibility use "postconf compatibility_level=2" and "postfix reload" chown: cannot access '/usr/lib/postfix/bin//postfix-ldap.so': No such file or directory suse-laptop:~ # However, normally the path is set in shlib_directory as /usr/lib/postfix during build. So, the only source for the additional "bin/" in the path string can be from the postfix source itself. I can't reproduce the bug on Debian, however: root@kapitsa:~# postfix set-permissions postfix: Postfix is running with backwards-compatible default settings postfix: See http://www.postfix.org/COMPATIBILITY_README.html for details postfix: To disable backwards compatibility use "postconf compatibility_level=2" and "postfix reload" root@kapitsa:~# -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1086807 John Paul Adrian Glaubitz <adrian.glaubitz@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tmoldt@gmail.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1086807 Jie GONG <jgong@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jgong@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1086807 Jie GONG <jgong@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugzilla.suse.com/s | |how_bug.cgi?id=1181177 -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1086807 https://bugzilla.suse.com/show_bug.cgi?id=1086807#c5 Peter Varkoly <varkoly@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |per@computer.org --- Comment #5 from Peter Varkoly <varkoly@suse.com> --- *** Bug 1092819 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1086807 https://bugzilla.suse.com/show_bug.cgi?id=1086807#c6 Peter Varkoly <varkoly@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WORKSFORME --- Comment #6 from Peter Varkoly <varkoly@suse.com> --- Normaly /usr/lib/postfix/postfix-ldap.so will not be checked because it is in a separate package: postfix-ldap. Thats why postfix-ldap.so is commented out in /usr/lib/postfix/postfix-files: ... $shlib_directory/libpostfix-master.so:f:root:-:755 #$shlib_directory/postfix-ldap.so:f:root:-:755 $shlib_directory/postfix-lmdb.so:f:root:-:755 ... I'ev tested it on a lot of installations and I could not reproduce the problem. Please check the content of /usr/lib/postfix/postfix-files and /usr/lib/postfix/postfix-files.d/. Furthermore check the value of shlib_directory. This should be: postconf shlib_directory shlib_directory = /usr/lib/postfix -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1086807 https://bugzilla.suse.com/show_bug.cgi?id=1086807#c7 --- Comment #7 from Thomas Moldt <tmoldt@gmail.com> --- (In reply to Peter Varkoly from comment #6)
Normaly /usr/lib/postfix/postfix-ldap.so will not be checked because it is in a separate package: postfix-ldap. Thats why postfix-ldap.so is commented out in /usr/lib/postfix/postfix-files:
... $shlib_directory/libpostfix-master.so:f:root:-:755 #$shlib_directory/postfix-ldap.so:f:root:-:755 $shlib_directory/postfix-lmdb.so:f:root:-:755 ...
Interesting. This is what I get: # cat /usr/lib/postfix/postfix-files | grep shlib $shlib_directory/postfix-ldap.so:f:root:-:755 $shlib_directory/postfix-pcre.so:f:root:-:755 But yet, the error message did not occur any more in the last three updates of postfix, even though I didn't change anything: # cat /var/log/zypp/history | grep postfix ... # 2020-06-10 13:24:39 postfix-3.4.7-lp152.1.30.x86_64.rpm installed ok # chown: cannot access '/usr/lib/postfix/bin//postfix-ldap.so': No such file or directory # Updating /etc/sysconfig/postfix ... 2020-06-10 13:24:39|install|postfix|3.4.7-lp152.1.30|x86_64||repo-oss|923d7fbcd757ebe415b9bc5fe4167f3cf35b408bbf144c9d0be72b45f410d070| # /etc/permissions.d/postfix # 2020-12-13 13:33:32 postfix-3.4.7-lp152.2.3.1.x86_64.rpm installed ok # chown: cannot access '/usr/lib/postfix/bin//postfix-ldap.so': No such file or directory # Updating /etc/sysconfig/postfix ... 2020-12-13 13:33:32|install|postfix|3.4.7-lp152.2.3.1|x86_64||repo-update|e0e36e5cf4f8aae5dac118d3fb2828b319f0a278ce352d63edc046413201ca73| # 2021-02-06 19:34:03 postfix-3.4.7-lp152.2.6.1.x86_64.rpm installed ok # Editing /etc/postfix/master.cf, adding missing entry for tlsmgr service # /etc/postfix/postfix-files /etc/postfix/postfix-script # /etc/postfix/post-install # Updating /etc/sysconfig/postfix ... 2021-02-06 19:34:03|install|postfix|3.4.7-lp152.2.6.1|x86_64||repo-update|2d8ed0a5e27a2d0af2a8a0c7b9fb923208d352fcd7d0e4b3b050ad476850b077| # 2021-07-03 16:07:34 postfix-3.4.7-lp152.2.9.1.x86_64.rpm installed ok # /etc/postfix/postfix-files /etc/postfix/postfix-script # /etc/postfix/post-install # Updating /etc/sysconfig/postfix ... 2021-07-03 16:07:34|install|postfix|3.4.7-lp152.2.9.1|x86_64||repo-update|2db8e5faaba2ff10dcf2855dfe2ccf796497d0549627e54392427ffbabb00740| Apparently the error was fixed regardless of what's set in /usr/lib/postfix/postfix-files. -- You are receiving this mail because: You are on the CC list for the bug.
participants (2)
-
bugzilla_noreply@novell.com
-
bugzilla_noreply@suse.com