TripwireやLogwatchでsend-mail: warning: premature end-of-input on /usr/sbin/postdrop -r while reading input attribute name
投稿者:yasu 更新日時:2010年1月15日 0時59分49秒カテゴリ:CentOS, 自宅サーバー
1月10日くらいからTripwireやLogwatchの結果メールで下記のようなメールがくるようになり困っていました。
Tripwire
send-mail: warning: premature end-of-input on /usr/sbin/postdrop -r while reading input attribute name
send-mail: fatal: root(0): unable to execute /usr/sbin/postdrop -r: Success
send-mail: fatal: root(0): unable to execute /usr/sbin/postdrop -r: Success
Logwatch
/etc/cron.daily/0logwatch:
sendmail: warning: premature end-of-input on /usr/sbin/postdrop -r while reading input attribute name
sendmail: fatal: root(0): unable to execute /usr/sbin/postdrop -r: Success
エラーメッセージをググってみたけど同様のケースで困っている方や解決したぜっていう日本の方がなかなか見つからずにいましたが、ついに同じ現象で困っている方のブログを見つけました。
INOLOG Ver.2: Logwatchがエラーになる
こちらのブログでおっしゃっているとおり、yasuの自宅CentOSサーバーも1月9日にselinux-policyやselinux-policy-targetedがアップデートされていました。
yasuは英語が苦手なので原文を読んでも意味がわかりませんでしたが、どうやらバグらしいです。
Bug 553277 – regression in selinux-policy-2.4.6-255.el5_4.3 breaks postfix /usr/sbin/sendmail interface
修正バージョンを待つしかなさそうなので、もうしばらく様子をみたいと思います。
Bug 553492 – New selinux packages broke Postfix
とりあえず原因がわかってよかったです。
INOLOG Ver.2の管理者様に感謝!

