<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>32269</bug_id>
          
          <creation_ts>2016-07-15 01:09:13 +0300</creation_ts>
          <short_desc>AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/httpd2/conf/sites-enabled/ports_all.conf:9</short_desc>
          <delta_ts>2017-10-20 10:30:48 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>apache2-base</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Vitaly Lipatov">lav</reporter>
          <assigned_to name="Anton Farygin">rider</assigned_to>
          <cc>lex.shen</cc>
    
    <cc>rider</cc>
    
    <cc>shaba</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>157635</commentid>
    <comment_count>0</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2016-07-15 01:09:13 +0300</bug_when>
    <thetext>Видимо, этот файл больше не нужен
 # rpm -qf /etc/httpd2/conf/sites-available/ports_all.conf
apache2-base-2.4.18-alt3

# cat /etc/httpd2/conf/sites-available/ports_all.conf 
NameVirtualHost *</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>158964</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Shabalin">shaba</who>
    <bug_when>2016-10-03 22:10:34 +0300</bug_when>
    <thetext>Но надо иметь ввиду, что если в директории будет пусто, то запуск httpd2 обломится.

httpd2: Syntax error on line 61 of /etc/httpd2/conf/httpd2.conf: No matches for the wildcard &apos;*.conf&apos; in &apos;/etc/httpd2/conf/ports-enabled&apos;, failing (use IncludeOptional if required)

Было бы очень хорошо везде в /etc/httpd2/conf/httpd2.conf заменить Include на IncludeOptional

IncludeOptional:
This directive allows inclusion of other configuration files from within the server configuration files. It works identically to the Include directive, with the exception that if wildcards do not match any file or directory, the IncludeOptional directive will be silently ignored instead of causing an error.

или это лучше отдельной багой повесить?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>166049</commentid>
    <comment_count>2</comment_count>
    <who name="ashen">lex.shen</who>
    <bug_when>2017-10-03 03:05:32 +0300</bug_when>
    <thetext>В /etc/httpd2/conf/sites-available/ports_all.conf

Закоментировать строку

NameVirtualHost *

и всё нормально работает.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>166409</commentid>
    <comment_count>3</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2017-10-20 10:30:48 +0300</bug_when>
    <thetext>apache2-1:2.4.28-alt1.S1 -&gt; sisyphus:

Tue Oct 10 2017 Anton Farygin &lt;rider@altlinux.ru&gt; 1:2.4.28-alt1.S1
- new version 2.4.28
- disabled NameVirtualHost directive in ports_all.conf (closes: #32269)
- increased timeout for restarting httpd on SysVinit sytems (closes: #31062)
- increased LOOPSSTART and TimeoutStartSec (closes: #33978)
- fixes:
	* CVE-2017-9798 Corrupted or freed memory access</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>