On Monday 07 March 2016 12:41:25, Jan Kaluža wrote:
> This is needed for httpd startup with systemd when one wants to use
> particular IP address to bind. There is no way how to start httpd
> after the IP address has been configured in systemd and according
> to systemd developers, the applications should become more robust
> to handle network changes like that. The full reasoning is
> explained here [1].

This is wrong. We really want to be able to check the configuration 
for correctness at startup. If you switch to using freebind by 
default, you loose that sanity check. And using freebind for all 
systemd users is basically the same as making it the default.

Doesn't network-online.target do what you need? If no, why not?

I am not against the freebind feature as such, it's useful for 
failover solutions/VRRP/etc. But I am strictly against advertising 
this as a workaround for broken systemd design.


> 
> The patch needs latest APR-trunk currently, but it could be
> rewritten to set IP_FREEBIND directly instead of using APR API (We
> use that way for REUSEADDR socket option).
> 
> Do you think FreeListen is good name for this feature, or would you
> name/implement it differently?
> 
> [1] https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/

Reply via email to