[Pkg-haproxy-maintainers] /etc/haproxy/haproxy.cfg

Vincent Bernat bernat at debian.org
Wed May 1 12:54:42 UTC 2013


 ❦  1 mai 2013 10:59 CEST, Vincent Bernat <bernat at luffy.cx> :

> Do you think this is a good idea to provide a default configuration file
> for haproxy like this is currently done? I don't think this is:
>
>  1. We cannot provide sensible defaults.
>
>  2. We will have bugs about this file (like the one on syslog).
>
>  3. On each modification, the user will be prompted what to do on
>     upgrades while obviously she is not interested in keeping any
>     changes of the example.
>
> I have no strong opinion, but I would suggest to remove this
> configuration file. A user could start from one of the shipped
> examples. Also, since we won't ship a configuration file by default, we
> could remove the ENABLED variable from /etc/default/haproxy and only run
> haproxy when there is a configuration file (we would still respect
> ENABLED=0, in case the user choose to keep its /etc/default on upgrade).

Well, I feel a bit dumb, but I just noticed that I wasn't subscribed to
the ML! ;-)

So, for /dev/log issue, I think this has been handled in an appropriate
way.

For the configuration file, Apollon, you are right, we need a
configuration file for chroot and /dev/log support. Therefore, I have
just commited a proposed change where I strip down the configuration
file to only the needed bits. I was feeling uncomfortable to change the
defaults for maxconn, retries, conntimeout and others: upstream should
know better than us for those defaults and we don't want to maintain
them. So I have removed them. Tell me if you think that I am wrong.
-- 
printk("??? No FDIV bug? Lucky you...\n");
	2.2.16 /usr/src/linux/include/asm-i386/bugs.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-haproxy-maintainers/attachments/20130501/ad3b8673/attachment.pgp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-haproxy-maintainers/attachments/20130501/ad3b8673/attachment-0001.pgp>


More information about the Pkg-haproxy-maintainers mailing list