Hide Forgot
Description of problem: (re)start of postfix results in: # service postfix restart Shutting down postfix: [ OK ] /etc/init.d/postfix: line 73: [: =: unary operator expected Starting postfix: [ OK ] Version-Release number of selected component (if applicable): postfix-2.6.6-2.2.el6_1.x86_64 How reproducible: always Steps to Reproduce: 1. remove NETWORKING=yes line from /etc/sysconfig/network - don't ask me why this entry is missing in this system here 2. (re) start postfix Expected results: No such message Additional info: Patch by quoting NETWORKING: --- /tmp/postfix.orig 2013-11-12 08:25:02.099905369 +0000 +++ /etc/init.d/postfix 2013-11-12 08:25:13.091364807 +0000 @@ -70,7 +70,7 @@ start() { [ "$EUID" != "0" ] && exit 4 # Check that networking is up. - [ ${NETWORKING} = "no" ] && exit 1 + [ "${NETWORKING}" = "no" ] && exit 1 conf_check # Start daemons. echo -n $"Starting postfix: "
Thanks for the patch.
*** This bug has been marked as a duplicate of bug 655455 ***