The following does not solve the problem of init-checkconf incorrectly reporting an invalid script as valid when an unknown option is included but it does solve the problem of the script being invalid.
This is invalid,
script
exec $KAFKA_HOME/bin/kafka-server-start.sh $CONFIG_HOME/server.properties
end script
This is valid,
script
exec $KAFKA_HOME/bin/kafka-server-start.sh $CONFIG_HOME/server.properties
end script
When the whitespacing is incorrect a more useful error message would be useful.
The following does not solve the problem of init-checkconf incorrectly reporting an invalid script as valid when an unknown option is included but it does solve the problem of the script being invalid.
This is invalid,
script HOME/bin/ kafka-server- start.sh $CONFIG_ HOME/server. properties
exec $KAFKA_
end script
This is valid,
script HOME/bin/ kafka-server- start.sh $CONFIG_ HOME/server. properties
exec $KAFKA_
end script
When the whitespacing is incorrect a more useful error message would be useful.