When upgrading from postfix-1.1.4-3 (what shipped in beta3) to postfix-1.1.5-3 (current in rawhide), I get the following: /etc/init.d/postfix: restart: command not found The problem is that the postfix RPMs do: postuninstall scriptlet (through /bin/sh): if [ "$1" != 0 ]; then /sbin/service postfix condrestart 2>&1 > /dev/null fi exit 0 This service command fails b/c the postscript init script does not correctly support condrestart: [kaboom@skuld foo]$ sudo service postfix condrestart /etc/init.d/postfix: restart: command not found [kaboom@skuld foo]$
This can be fixed by adding a restart function to /etc/init.d/postfix, something like: restart() { stop start } or by changing condrestart to if [ -f ] then
Oops, somehow hit return... At any rate, an if [ -f /var/lock/subsys/postfix ] ; then stop start fi should also work
Fixed in 1.1.7-2