Bug 56250

Summary: sbindir in config.layout for Apache has bin instead of sbin
Product: Apache httpd-2 Reporter: Rodney Beede <business2008+issues.apache.org>
Component: BuildAssignee: Apache HTTPD Bugs Mailing List <bugs>
Status: NEW ---    
Severity: normal CC: business2008+issues.apache.org
Priority: P2    
Version: 2.4.7   
Target Milestone: ---   
Hardware: PC   
OS: Linux   

Description Rodney Beede 2014-03-12 17:39:06 UTC
sbindir as per the "configure - Configure the source tree" document states that "By default sbindir is set to EPREFIX/sbin."

However doing a fresh download and compile of httpd-2.4.7 with:

"./configure --with-included-apr"

"make"

"make install"

This results in a /usr/local/apache2 folder without any "sbin" sub-directory.  All the binaries are simply lumped into the "bin" directory.


This appears to be due to config.layout having the following:
<Layout Apache>
    prefix:        /usr/local/apache2
    exec_prefix:   ${prefix}
    bindir:        ${exec_prefix}/bin
    sbindir:       ${exec_prefix}/bin


It is expected to see:
    sbindir:       ${exec_prefix}/sbin



If this is the new default then the documentation should be updated.  If this is a mistake then the config.layout should be updated.