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

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

    <bug>
          <bug_id>6813</bug_id>
          
          <creation_ts>2005-05-11 12:44:57 +0400</creation_ts>
          <short_desc>Not delete service on level 2</short_desc>
          <delta_ts>2005-12-23 01:04:09 +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>chkconfig</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>http://lists.altlinux.ru/pipermail/community/2005-May/156222.html</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="Slava Semushin">php-coder</reporter>
          <assigned_to name="placeholder@altlinux.org">placeholder</assigned_to>
          <cc>glebfm</cc>
    
    <cc>ldv</cc>
    
    <cc>placeholder</cc>
    
    <cc>vt</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>24396</commentid>
    <comment_count>0</comment_count>
    <who name="Slava Semushin">php-coder</who>
    <bug_when>2005-05-11 12:44:57 +0400</bug_when>
    <thetext>При отключении любого сервиса при помощи chkconfig сервис не полностью исчезает
из автозагрузки. Он по прежнему стартует на втором уровне. Приходится вручную
вызывать chkconfig --level 2 service_name off.

Такое поведение хоть и документировано в man chkconfig, но несколько неожиданно
и не логично. Подробнее можно прочитать в этой дискусии:
http://lists.altlinux.ru/pipermail/community/2005-May/156222.html
Steps to Reproduce:
1. chkconfig --list | grep вкл |grep service_name
2. chkconfig service_name off
3. chkconfig --list | grep вкл |grep service_name
Actual Results:  
Сервис не включен на втором уровне

Expected Results:  
Сервис должен быть выключен на втором уровне</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24398</commentid>
    <comment_count>1</comment_count>
    <who name="Sir Raorn">raorn</who>
    <bug_when>2005-05-11 12:54:43 +0400</bug_when>
    <thetext>Народ, читать умеем?

man chkconfig:

  By  default,  the on and off options affect only runlevels 3, 4, and 5,
  while reset affects all of the runlevels.  The --level  option  may  be
  used to specify which runlevels are affected.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24399</commentid>
    <comment_count>2</comment_count>
    <who name="Slava Semushin">php-coder</who>
    <bug_when>2005-05-11 14:06:12 +0400</bug_when>
    <thetext>&gt; Народ, читать умеем?
&gt; man chkconfig:
&gt;   By  default,  the on and off options affect only runlevels 3, 4, and 5,
&gt;   while reset affects all of the runlevels.  The --level  option  may  be
&gt;   used to specify which runlevels are affected.

Умею :) Прочитал. Не согласен! Если chkconfig может все-таки &quot;рулить&quot; вторым
уровнем (опция --level прямое тому доказательство), то почему она этого не делает?

По логике (моей ;)) удаление должно удалять сразу со всех уровней. И кажется тот
же update-rc.d из Дебиана делал именно так.

Вообщем нужно править поведение программы IMHO...
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>32187</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2005-10-19 13:00:29 +0400</bug_when>
    <thetext>может любым, но в 2 и 4 практически не применяются.

короче говоря, проще забить и не морочить себе и людям голову =)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34116</commentid>
    <comment_count>4</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2005-12-23 01:04:08 +0300</bug_when>
    <thetext>Fixed upstream.
Available in chkconfig-1.3.25-alt1.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>