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

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

    <bug>
          <bug_id>4049</bug_id>
          
          <creation_ts>2004-04-28 13:57:14 +0400</creation_ts>
          <short_desc>nscd не запускается</short_desc>
          <delta_ts>2007-01-20 02:23:30 +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>nscd</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>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Renat Sabitov">r_sabitov</reporter>
          <assigned_to name="Gleb F-Malinovskiy">glebfm</assigned_to>
          <cc>glebfm</cc>
    
    <cc>ldv</cc>
    
    <cc>mike</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>13027</commentid>
    <comment_count>0</comment_count>
    <who name="Renat Sabitov">r_sabitov</who>
    <bug_when>2004-04-28 13:57:14 +0400</bug_when>
    <thetext>1) Нет прав на запуск 
$ ll /usr/sbin/nscd
-rw-r--r--  1 root root 43900 Apr 28 13:45 /usr/sbin/nscd

2) После установки прав на запуск
# service nscd restart
Service nscd is not running.[PASSED]
Starting nscd service: [ DONE ]
# service nscd restart
Service nscd is not running.[PASSED]
Starting nscd service: [ DONE ]

3) не запускается вручную
# nscd -d
11995: /var/run/nscd/socket: No such file or directory

4) После создания каталога /var/run/nscd/
# service nscd restart
Service nscd is not running.[PASSED]
Starting nscd service: [ DONE ]
# service nscd restart
Service nscd is not running.[PASSED]
Starting nscd service: /usr/sbin/nscd: already running
[FAILED]

$ cat /etc/altlinux-release 
ALT Linux Sisyphus (20040427)

$ rpm -q nscd
nscd-2.3.3.200404190147-alt1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13035</commentid>
    <comment_count>1</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2004-04-28 21:57:31 +0400</bug_when>
    <thetext>1) fixed in nscd-2.3.3.200404240000-alt1
2) unable to reproduce, please reopen and provide more info.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13194</commentid>
    <comment_count>2</comment_count>
    <who name="Renat Sabitov">r_sabitov</who>
    <bug_when>2004-04-30 14:47:55 +0400</bug_when>
    <thetext>После обновления ничего с п.2 не изменилось.

Чтобы заработало, пришлось:
1) mkdir /var/run/nscd
2) chown root.nscd /var/run/nscd
3) chmod g+s /var/run/nscd
4) изменить /etc/init.d/nscd, строка 
PIDFILE=/var/run/nscd.pid 
на
PIDFILE=/var/run/nscd/nscd.pid

Может 2,3 и не нужно, думаю хуже не будет.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13198</commentid>
    <comment_count>3</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2004-04-30 15:00:50 +0400</bug_when>
    <thetext>*** Bug 4062 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13200</commentid>
    <comment_count>4</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2004-04-30 15:15:11 +0400</bug_when>
    <thetext>Похоже что я пропустил это изменение в nscd.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13202</commentid>
    <comment_count>5</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2004-04-30 15:49:33 +0400</bug_when>
    <thetext>Попробуйте сделать
chmod 711 /var/run/nscd
chown 0:0 /var/run/nscd
service nscd restart
- должно работать не хуже, чем с теми правами, которые сделали вы.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13205</commentid>
    <comment_count>6</comment_count>
    <who name="Renat Sabitov">r_sabitov</who>
    <bug_when>2004-04-30 16:09:48 +0400</bug_when>
    <thetext>Да, с этими правами тоже все работает
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13207</commentid>
    <comment_count>7</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2004-04-30 18:18:37 +0400</bug_when>
    <thetext>Thanks, fixed in nscd-2.3.3.200404240000-alt3.
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>