Bug 32269 - AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/httpd2/conf/sites-enabled/ports_all.conf:9
Summary: AH00548: NameVirtualHost has no effect and will be removed in the next releas...
Alias: None
Product: Sisyphus
Classification: Development
Component: apache2-base (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Anton Farygin
QA Contact: qa-sisyphus
Depends on:
Reported: 2016-07-15 01:09 MSK by Vitaly Lipatov
Modified: 2017-10-20 10:30 MSK (History)
3 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Vitaly Lipatov 2016-07-15 01:09:13 MSK
Видимо, этот файл больше не нужен
 # rpm -qf /etc/httpd2/conf/sites-available/ports_all.conf

# cat /etc/httpd2/conf/sites-available/ports_all.conf 
NameVirtualHost *
Comment 1 Alexey Shabalin 2016-10-03 22:10:34 MSK
Но надо иметь ввиду, что если в директории будет пусто, то запуск httpd2 обломится.

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

Было бы очень хорошо везде в /etc/httpd2/conf/httpd2.conf заменить Include на 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.

или это лучше отдельной багой повесить?
Comment 2 ashen 2017-10-03 03:05:32 MSK
В /etc/httpd2/conf/sites-available/ports_all.conf

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

NameVirtualHost *

и всё нормально работает.
Comment 3 Repository Robot 2017-10-20 10:30:48 MSK
apache2-1:2.4.28-alt1.S1 -> sisyphus:

Tue Oct 10 2017 Anton Farygin <rider@altlinux.ru> 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