Description of problem: According to https://fedoraproject.org/wiki/Packaging/SysVInitScript postfix component init script have a few lsb compliance issues: 1. if program is dead (stopped) and /var/spool/postfix/pid/master.pid file exists init script should return code "1" for status action # service postfix start Starting postfix: [ OK ] # ps ax | grep postfix 9659 ? Ss 0:00 /usr/libexec/postfix/master # kill -11 9659 # ls -l /var/spool/postfix/pid/master.pid -rw-------. 1 root root 33 2009-10-09 11:18 /var/spool/postfix/pid/master.pid # service postfix status ; echo $? master is stopped 3 now: 3 expected: 1 2. if program is dead (stopped) and /var/lock/subsys/postfix exists init script should return code "2" for status action # service postfix stop # touch /var/lock/subsys/postfix # service postfix status ; echo $? master is stopped 3 now: 3 expected: 2 3. Init script should return code "4" if restarting service under nonprivileged user: # su testuserqa -c "service postfix restart"; echo $? Shutting down postfix: [FAILED] Starting postfix: [FAILED] 1 now: 1 expected: 4
This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle. Changing version to '12'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
Fixed in postfix-2.6.5-3.fc13.