Description of problem: systemd still has error message for postfix's chroot-update, sort of like bug 832742 Version-Release number of selected component (if applicable): postfix-2.9.6-1.fc18.x86_64 systemd-197-1.fc18.2.x86_64 How reproducible: every time Steps to Reproduce: 1. start with postfix 2. systemctl restart postfix.service 3.systemctl status postfix.service Actual results: Process: 7822 ExecStartPre=/usr/libexec/postfix/chroot-update (code=exited, status=1/FAILURE) Expected results: no failure messages Additional info: The problem is (I think) that systemd wants each program to exit with status 0, but /usr/libexec/postfix/chroot-update exits with status one if no /etc/postfix/chroot-update exists Suggested fix: add "exit 0" to the end of /usr/libexec/postfix/chroot-update with this addition, the ugly red text goes away: Process: 8062 ExecStartPre=/usr/libexec/postfix/chroot-update (code=exited, status=0/SUCCESS) Patch: --- chroot-update- 2013-03-03 21:33:31.271219600 -0800 +++ chroot-update 2013-03-03 21:32:54.040981528 -0800 @@ -1,3 +1,4 @@ #!/bin/bash [ -x /etc/postfix/chroot-update ] && exec /etc/postfix/chroot-update +exit 0
*** Bug 959691 has been marked as a duplicate of this bug. ***
exit 0 would mask any issue in /etc/postfix/chroot-update
(In reply to Michael Scherer from comment #2) > exit 0 would mask any issue in /etc/postfix/chroot-update No it wouldn't. /etc/posfix/chroot-update would be exec'ed, which means that the shell doing it would be gone and not reach the next line to execute the exit 0.
Sjoerd's comment #3 is correct, the patch proposed in the bug report will not affect problems in chroot-update. Is there any chance of getting this one-line fix in?
Thanks, accepted.
postfix-2.10.0-2.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/postfix-2.10.0-2.fc19
postfix-2.9.6-5.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/postfix-2.9.6-5.fc18
Package postfix-2.10.0-2.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing postfix-2.10.0-2.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-9033/postfix-2.10.0-2.fc19 then log in and leave karma (feedback).
postfix-2.10.0-2.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.
postfix-2.9.6-5.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.