❦ 14 janvier 2016 20:37 +0100, Willy Tarreau <[email protected]> :
>> Good news, there is nothing wrong in haproxy, the "-L" option is
>> correctly applied to he loaded configuration.
>
> Great!
>
>> But the init script first checks the configuration in
>> check_haproxy_config(), which doesn't take into account EXTRAOPTS. This
>> is this part which produces the warning :
>>
>> check_haproxy_config()
>> {
>> $HAPROXY -c -f "$CONFIG" >/dev/null
>> if [ $? -eq 1 ]; then
>> log_end_msg 1
>> exit 1
>> fi
>> }
>>
>> Maybe the init script should be updated to add $EXTRAOPTS everywhere.
>
> Good catch, that explains everything indeed!
I'll add ${EXTRAOPTS} for Debian/Ubuntu packaging. As it is only a
warning, I plan to wait for 1.6.4 to do a complete rebuild of all
packages (or for another change).
--
He jests at scars who never felt a wound.
-- Shakespeare, "Romeo and Juliet, II. 2"