Bug 31062

Summary: нестабильно работает service httpd2 restart
Product: Sisyphus Reporter: Sergey Y. Afonin <asy>
Component: apache2Assignee: Anton Farygin <rider>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P3 CC: evg, rider
Version: unstable   
Hardware: all   
OS: Linux   

Description Sergey Y. Afonin 2015-06-10 13:38:58 MSK
В некоторых случаях, при рестарте, старый процесс не успевает остановиться:

Starting httpd2 service:   (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down

Помогает что-то вроде вот такого:

--- httpd2.old  2015-06-10 14:38:16.000000000 +0400
+++ httpd2      2015-06-10 14:28:26.000000000 +0400
@@ -116,6 +116,7 @@
 {
        stop
        RETVAL=$?
+       sleep 2
        if [ $RETVAL -eq 0 ]; then
                conftest || exit $?
                start
Comment 1 Repository Robot 2017-10-20 10:30:49 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