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

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

    <bug>
          <bug_id>31062</bug_id>
          
          <creation_ts>2015-06-10 13:38:58 +0300</creation_ts>
          <short_desc>нестабильно работает service httpd2 restart</short_desc>
          <delta_ts>2017-10-20 10:30:49 +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</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="Sergey Y. Afonin">asy</reporter>
          <assigned_to name="Anton Farygin">rider</assigned_to>
          <cc>evg</cc>
    
    <cc>rider</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>151728</commentid>
    <comment_count>0</comment_count>
    <who name="Sergey Y. Afonin">asy</who>
    <bug_when>2015-06-10 13:38:58 +0300</bug_when>
    <thetext>В некоторых случаях, при рестарте, старый процесс не успевает остановиться:

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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>166410</commentid>
    <comment_count>1</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2017-10-20 10:30:49 +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>