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

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

    <bug>
          <bug_id>11428</bug_id>
          
          <creation_ts>2007-04-09 17:53:03 +0400</creation_ts>
          <short_desc>[FR] add acpid to server</short_desc>
          <delta_ts>2008-01-25 21:53:37 +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>spt-profiles-server</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>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>12090</blocked>
    
    <blocked>14167</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Shigorin">mike</reporter>
          <assigned_to name="Nobody&apos;s working on this, feel free to take it">nobody</assigned_to>
          <cc>boyarsh</cc>
    
    <cc>lakostis</cc>
    
    <cc>rider</cc>
    
    <cc>wrar</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>48505</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2007-04-09 17:53:03 +0400</bug_when>
    <thetext>Предлагаю добавить acpid в базовую поставку server (при нежелании майнтейнера
обязываться берусь поддерживать).

Обоснование: 
- позитивный эффект выражается в корректном выключении системы при случайном или
намеренном нажатии на кнопку power;
- негативный эффекты выражается в неигнорировании случайного нажатия на кнопку
power.

На моём опыте звонок на площадку &quot;погасите сервер ... коротким нажатием кнопки
питания&quot; приводит при прочих равных быстрее и к более надёжному и предсказуемому
результату, чем просьба подключить консоль, нажать Ctrl-Alt-Del, дождаться
перезагрузки и выключить питание.

Костик, помнится, возражал (но добиться внятной аргументации не вышло).  Поэтому
enh, а не normal.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48516</commentid>
    <comment_count>1</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2007-04-09 20:00:46 +0400</bug_when>
    <thetext>Первая проблема с acpid:
$ rpmquery -p --qf &apos;%{BUILDTIME:date}\n&apos; acpid-1.0.4-alt6.src.rpm 
Thu Oct 20 16:41:02 2005</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48518</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2007-04-09 20:19:01 +0400</bug_when>
    <thetext>(In reply to comment #1)
&gt; Первая проблема с acpid: Thu Oct 20 16:41:02 2005
1.0.4 -- текущий выпуск, критичных для выпуска багов на пакете не наблюдаю.  Я
не против альтернативных вариантов обработки power button, но более простых
(надёжных) и при этом опакеченных в Sisyphus не знаю.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48587</commentid>
    <comment_count>3</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2007-04-10 16:31:19 +0400</bug_when>
    <thetext>Я тоже присоединяюсь к Мише.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49031</commentid>
    <comment_count>4</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2007-04-18 02:26:06 +0400</bug_when>
    <thetext>Added in 0.3-alt1-3-g3236eac.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50715</commentid>
    <comment_count>5</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2007-05-26 14:45:04 +0400</bug_when>
    <thetext>Спасибо, в 4.0 наблюдается.

Жаль только, что по умолчанию не устанавливается (и то ли после обновления udev,
то ли kernel-image-std-smp до 4.0 у меня и некоторых других подписчиков
community@ перестал автозагружаться модуль button).

Придётся завести привычку после установки Server 4.0 делать

apt-get install acpid; service acpid start
echo button &gt;&gt; /etc/modules; modprobe button

2 boyarsh: ну уж в десктопе-то сделаешь, &quot;как в 2.4/3.0&quot;? :)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>