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

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

    <bug>
          <bug_id>30368</bug_id>
          
          <creation_ts>2014-10-01 20:02:41 +0400</creation_ts>
          <short_desc>Unusable config file</short_desc>
          <delta_ts>2024-11-18 18:41:52 +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>stunnel4-inetd</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>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Nikolay A. Fetisov">naf</reporter>
          <assigned_to name="Konstantin A Lepikhov (L.A. Kostis)">lakostis</assigned_to>
          <cc>lakostis</cc>
    
    <cc>legion</cc>
    
    <cc>slazav</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>147964</commentid>
    <comment_count>0</comment_count>
    <who name="Nikolay A. Fetisov">naf</who>
    <bug_when>2014-10-01 20:02:41 +0400</bug_when>
    <thetext>Для stunnel4-inetd-4.56-alt1 в /etc/xinet.d/stunnel :

1. слишком маленькое значение rlimit_as . Как минимум для x86_64 нужно не менее 48M, с текущим 16M выдаётся сообщение вида 

error while loading shared libraries: libc.so.6: failed to map segment from shared object: Cannot allocate memory


2. Ошибка в строке 
server_args             = &quot;/etc/stunnel/stunnel.conf&quot;

Имя файла конфигурации должно быть без кавычек - в текущим варианте stunnel получает их как часть имени:

Reading configuration from file &quot;/etc/stunnel/stunnel.conf&quot;
Cannot read configuration



3. Хорошо бы ещё добавить типовое

only_from   += 127.0.0.0/32

Поскольку эту строку всё едино добавлять с нужным содержимым.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>254686</commentid>
    <comment_count>1</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2024-11-18 18:41:52 +0300</bug_when>
    <thetext>stunnel4-5.73-alt2 -&gt; sisyphus:

 Mon Nov 18 2024 L.A. Kostis &lt;lakostis@altlinux.ru&gt; 5.73-alt2
 - inetd: set rlimit_as to 64Mb (closes #30368).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>