Red Hat Bugzilla – Bug 143287
Postfix chroot env doesn't refresh libs on upgrade, causing core dump in smtp process
Last modified: 2007-11-30 17:10:57 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (compatible; Konqueror/3.3; Linux) (KHTML,
Description of problem:
After executing an apt-get dist-upgrade from FC2 to FC3, everything
worked except postfix. The /var/spool/postfix/lib libraries did not
get upgraded from the FC2 versions to the FC3 versions. This caused
the smtp process to core dump as it was processing the mail queue
going to external email addresses. Even "ls" would core dump if you
cd /var/spool/postfix/lib and try to execute it. This probably is
connected with the nss stuff resolving uid, etc.
For googlers, the log associated with this is:
Dec 16 15:50:26 kubik postfix/qmgr: warning: premature
end-of-input on private/smtp socket while reading input attribute
Dec 16 15:50:26 kubik postfix/qmgr: warning: private/smtp
socket: malformed response
Dec 16 15:50:26 kubik postfix/qmgr: warning: transport smtp
failure -- see a previous warning/fatal/panic logfile record for the
Dec 16 15:50:26 kubik postfix/master: warning:
process /usr/libexec/postfix/smtp pid 4847 killed by signal 11
Dec 16 15:50:26 kubik postfix/master:
warning: /usr/libexec/postfix/smtp: bad command startup --
Steps to Reproduce:
1. Start with FC2 install.
2. Upgrade to FC3's version of postfix.
Actual Results: Skips update to /var/spool/postfix/lib
Expected Results: Properly update /var/spool/postfix/lib when a
version difference is detected between system libs and chroot libs.
You made that changeroot, so you have to updates it per hand.
This is not a bug.