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

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

    <bug>
          <bug_id>33210</bug_id>
          
          <creation_ts>2017-03-07 16:29:56 +0300</creation_ts>
          <short_desc>samba ругается на rlimit_max</short_desc>
          <delta_ts>2017-12-21 22:24:28 +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>samba</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 Novikov">sotor</reporter>
          <assigned_to name="Evgeny Sinelnikov">sin</assigned_to>
          <cc>cas</cc>
    
    <cc>rider</cc>
    
    <cc>sin</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>162320</commentid>
    <comment_count>0</comment_count>
    <who name="Sergey Novikov">sotor</who>
    <bug_when>2017-03-07 16:29:56 +0300</bug_when>
    <thetext>При тестирование конфигурационного файла samba ругается на rlimit_max:
# testparm
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Loaded services file OK.
Server role: ROLE_DOMAIN_MEMBER

Press enter to see a dump of your service definitions

Лечится редактированием файла /etc/security/limits.conf:
*                -       nofile          16384
root             -       nofile          16384</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>162321</commentid>
    <comment_count>1</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2017-03-07 16:33:18 +0300</bug_when>
    <thetext>Надо бы поднять дефолты, наверное.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>162322</commentid>
    <comment_count>2</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2017-03-07 16:37:23 +0300</bug_when>
    <thetext>самба может таскать с собой нужные лимиты.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>162326</commentid>
    <comment_count>3</comment_count>
    <who name="Evgeny Sinelnikov">sin</who>
    <bug_when>2017-03-07 17:46:58 +0300</bug_when>
    <thetext>А что, конкретно, значит &quot;с собой&quot;?
/etc/security/limits.d/90-samba.conf ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>162329</commentid>
    <comment_count>4</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2017-03-07 18:19:36 +0300</bug_when>
    <thetext>(В ответ на комментарий №3)
&gt; А что, конкретно, значит &quot;с собой&quot;?
&gt; /etc/security/limits.d/90-samba.conf ?
Да, как pam-limits-desktop</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>162336</commentid>
    <comment_count>5</comment_count>
    <who name="Evgeny Sinelnikov">sin</who>
    <bug_when>2017-03-08 03:29:43 +0300</bug_when>
    <thetext>Нужно определиться с тем, какой пакет будет тащить &quot;с собой&quot; настройку лимитов. 

$ grep &quot;increasing rlimit_max&quot; /usr/lib64/libsmbconf.so.0
Двоичный файл /usr/lib64/libsmbconf.so.0 совпадает
$ rpm -qf /usr/lib64/libsmbconf.so.0
samba-client-libs-4.6.0-alt1.M80P.1
[sin@tor samba.git]$ apt-cache whatdepends samba-client-libs
samba-client-libs-4.6.0-alt1.M80P.1
  samba-common-libs-4.6.0-alt1.M80P.1
    Требует: samba-client-libs = 4.6.0-alt1.M80P.1
  libnetapi-4.6.0-alt1.M80P.1
    Требует: samba-client-libs = 4.6.0-alt1.M80P.1
  libsmbclient-4.6.0-alt1.M80P.1
    Требует: samba-client-libs = 4.6.0-alt1.M80P.1
  libwbclient-4.6.0-alt1.M80P.1
    Требует: samba-client-libs = 4.6.0-alt1.M80P.1
  freeipa-server-trust-ad-4.3.2-alt6.M80P.1
    Требует: &lt;libsmbldap.so.0(SMBLDAP_0)(64bit)&gt;
      samba-client-libs-4.6.0-alt1.M80P.1
  freeipa-server-4.3.2-alt6.M80P.1
    Требует: &lt;libsamba-util.so.0(SAMBA_UTIL_0.0.1)(64bit)&gt;
      samba-client-libs-4.6.0-alt1.M80P.1
  sssd-pac-1.14.2-alt4.M80P.1
    Требует: &lt;libndr.so.0(NDR_0.0.1)(64bit)&gt;
      samba-client-libs-4.6.0-alt1.M80P.1
  sssd-ad-1.14.2-alt4.M80P.1
    Требует: &lt;libndr.so.0()(64bit)&gt;
      samba-client-libs-4.6.0-alt1.M80P.1
  sssd-ipa-1.14.2-alt4.M80P.1
    Требует: &lt;libndr-nbt.so.0(NDR_NBT_0.0.1)(64bit)&gt;
      samba-client-libs-4.6.0-alt1.M80P.1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>168120</commentid>
    <comment_count>6</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2017-12-21 22:24:28 +0300</bug_when>
    <thetext>samba-DC-4.6.12-alt1.S1 -&gt; sisyphus:

Thu Dec 21 2017 Evgeny Sinelnikov &lt;sin@altlinux&gt; 4.6.12-alt1.S1
- Update to first winter release with common bugfixes (closes: 33210)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>