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

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

    <bug>
          <bug_id>31925</bug_id>
          
          <creation_ts>2016-03-27 20:31:03 +0300</creation_ts>
          <short_desc>Не даёт залогиниться с ошибкой libgcc_s.so.1 must be installed for pthread_cancel to work</short_desc>
          <delta_ts>2020-12-19 22:06:55 +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>vsftpd</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>https://bugzilla.redhat.com/show_bug.cgi?id=913519</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="Alexey Shabalin">shaba</assigned_to>
          <cc>mike</cc>
    
    <cc>shaba</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>155888</commentid>
    <comment_count>0</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2016-03-27 20:31:03 +0300</bug_when>
    <thetext>$ ftp vbox
Connected to vbox (192.168.0.23).
220 Welcome to Etersoft VirtualBox FTP service.
Name (vbox:lav): anonymous

331 Please specify the password.
Password:
libgcc_s.so.1 must be installed for pthread_cancel to work
Login failed.
421 Service not available, remote server has closed connection

При отслеживании vsftpd через strace:
[pid 16997] open(&quot;/lib64/libgcc_s.so.1&quot;, O_RDONLY|O_CLOEXEC) = 4&lt;/lib64/libgcc_s.so.1&gt;
[pid 16997] read(4&lt;/lib64/libgcc_s.so.1&gt;, &quot;\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0&gt;\0\1\0\0\0\240,\0\0\0\0\0\0&quot;..., 832) = 832
[pid 16997] mmap(NULL, 134217728, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = -1 ENOMEM (Cannot allocate memory)
[pid 16997] mmap(NULL, 67108864, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = -1 ENOMEM (Cannot allocate memory)
[pid 16997] mmap(NULL, 134217728, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = -1 ENOMEM (Cannot allocate memory)
[pid 16997] mmap(NULL, 67108864, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = -1 ENOMEM (Cannot allocate memory)
[pid 16997] close(4&lt;/lib64/libgcc_s.so.1&gt;) = 0

Проблема вызвана недостатком доступной процессу виртуальной памяти:
https://bugzilla.redhat.com/show_bug.cgi?id=913519

В качестве решения предлагается:
+-#define VSFTP_AS_LIMIT          100UL * 1024 * 1024
++#define VSFTP_AS_LIMIT          200UL * 1024 * 1024

Обходной способ: запустить сервис nscd, что уберёт подключение библиотек, ответственных за получение пользователей.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>195070</commentid>
    <comment_count>1</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2020-12-19 22:06:55 +0300</bug_when>
    <thetext>This was fixed in 3.0.3-alt1.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>