Bug 61865 - RFE: httpd, add IP_FREEBIND support for Listen
Summary: RFE: httpd, add IP_FREEBIND support for Listen
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: Core (show other bugs)
Version: 2.4.29
Hardware: PC Linux
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
Depends on:
Reported: 2017-12-06 12:06 UTC by Lubos Uhliarik
Modified: 2017-12-06 12:06 UTC (History)
0 users

Initial patch against trunk (3.45 KB, patch)
2017-12-06 12:06 UTC, Lubos Uhliarik
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lubos Uhliarik 2017-12-06 12:06:05 UTC
Created attachment 35590 [details]
Initial patch against trunk

Currently the user behaviour for httpd enabled at boot is sub-optimal; if enabled, httpd may start before dependent network interfaces.

Steps to Reproduce:
1. add Listen to httpd.conf
2. systemctl enable httpd
3. reboot

Actual results:
httpd will fail to start if is not up

I created patch, which introduces new directive ListenFree. When using this directive, IP_FREEBIND option is set.