Hide Forgot
Description of problem: /opt/rh/httpd24/root/usr/sbin/apachectl has hardcoded path to httpd binary, which is a regression since httpd24-httpd-2.4.12-6.el7.1.x86_64, here is what changed since that version: # diff ~/apachect_{old,new} 96c96 < runcon -- `id -Z` $HTTPD $OPTIONS -t --- > runcon -- `id -Z` /usr/sbin/httpd $OPTIONS -t 98c98 < $HTTPD $OPTIONS -t --- > /usr/sbin/httpd $OPTIONS -t 137c137 < $HTTPD $OPTIONS "$@" --- > /usr/sbin/httpd $OPTIONS "$@" So for example "apachectl configtest" always use /usr/bin/httpd (and check /etc/httpd/*). Version-Release number of selected component (if applicable): httpd24-httpd-2.4.18-4.el7.x86_64 How reproducible: always Steps to Reproduce: 1. grep '/usr/sbin/httpd' /opt/rh/httpd24/root/usr/sbin/apachectl Actual results: HTTPD='/opt/rh/httpd24/root/usr/sbin/httpd' runcon -- `id -Z` /usr/sbin/httpd $OPTIONS -t /usr/sbin/httpd $OPTIONS -t /usr/sbin/httpd $OPTIONS "$@" Expected results: HTTPD='/opt/rh/httpd24/root/usr/sbin/httpd' Additional info:
Also affects this use case: service httpd24-httpd configtest
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:1154