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

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

    <bug>
          <bug_id>15763</bug_id>
          
          <creation_ts>2008-05-23 00:41:48 +0400</creation_ts>
          <short_desc>При обновлении hal, если не обновилось ядро, hald зависает</short_desc>
          <delta_ts>2008-06-14 11:08:15 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>hal</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="ruslandh">ruslandh</reporter>
          <assigned_to name="Nobody&apos;s working on this, feel free to take it">nobody</assigned_to>
          <cc>bga</cc>
    
    <cc>erthad</cc>
    
    <cc>ktirf</cc>
    
    <cc>wrar</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>70451</commentid>
    <comment_count>0</comment_count>
    <who name="ruslandh">ruslandh</who>
    <bug_when>2008-05-23 00:41:49 +0400</bug_when>
    <thetext>Собственно вот :
http://lists.altlinux.org/pipermail/sisyphus/2008-May/214934.html
Для самого Сизифа не очень актуально, но при переходн на c Branch 4.0 на Branch 
4.1 - &quot;вылезло&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70457</commentid>
    <comment_count>1</comment_count>
    <who name="Valery Inozemtsev">shrek</who>
    <bug_when>2008-05-23 12:31:44 +0400</bug_when>
    <thetext>и какие будут предложения?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70469</commentid>
    <comment_count>2</comment_count>
    <who name="ruslandh">ruslandh</who>
    <bug_when>2008-05-23 17:08:06 +0400</bug_when>
    <thetext>Ну, как минимум выдать предупреждение о необходимости обновления ядра перед 
перезапуском скрипта. Ещё-бы лучше, что-бы и не пытался перезапускать hald, 
если ядро старое - так хоть будет возможность закончить нормально dist-upgrade.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70473</commentid>
    <comment_count>3</comment_count>
    <who name="Valery Inozemtsev">shrek</who>
    <bug_when>2008-05-23 17:46:52 +0400</bug_when>
    <thetext>это не решение</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70474</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2008-05-23 18:30:43 +0400</bug_when>
    <thetext>Не решение, но по крайней мере более понятно, чем сейчас (и не так злобно, как
%post, который заведомо залипнет).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70487</commentid>
    <comment_count>5</comment_count>
    <who name="Valery Inozemtsev">shrek</who>
    <bug_when>2008-05-23 21:54:28 +0400</bug_when>
    <thetext>&quot;заведомо&quot; это спорно, да и не известно почему залипнет. для начала надо 
разобраться с этим &quot;почему&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70544</commentid>
    <comment_count>6</comment_count>
    <who name="Grigory Batalov">bga</who>
    <bug_when>2008-05-26 15:37:02 +0400</bug_when>
    <thetext>В моём случае haldaemon после апгрейда 4.0 -&gt; 4.1 не запустился, потому что упал
dbus-daemon (messagebus).

# ps ax|grep hal
28242 pts/1    S+     0:00 /bin/sh -e /usr/sbin/post_service haldaemon
28244 pts/1    S+     0:00 /bin/sh /sbin/service haldaemon condrestart
28245 pts/1    S+     0:00 /bin/sh /etc/init.d/haldaemon condrestart
28264 pts/1    S+     0:00 initlog -q -n hald -c start-stop-daemon --start -N 0 
28265 pts/1    S+     0:00 /usr/sbin/hald
28266 ?        Zs     0:00 [hald] &lt;defunct&gt;

Вклиниться в апгрейд до зависания я не успел, но в консоли потом сказал
# service messagebus restart
# service haldaemon restart

Перед этим убил /usr/sbin/hald, чтобы apt закончил транзакцию.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70551</commentid>
    <comment_count>7</comment_count>
    <who name="Valery Inozemtsev">shrek</who>
    <bug_when>2008-05-26 17:11:19 +0400</bug_when>
    <thetext>придется видимо вернуть condrestart в dbus</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70659</commentid>
    <comment_count>8</comment_count>
    <who name="Grigory Batalov">bga</who>
    <bug_when>2008-05-27 17:40:36 +0400</bug_when>
    <thetext>Сегодня успел перезапустить messagebus со второй консоли после апгрейда dbus и
до апгрейда hal. В этом случае транзакция не зависла.
Что интересно, dbus-daemon упал не сразу после обновления, а в промежутке между
следующими пакетами:
libtasn1
libgnutls
libcups
squid-helpers
perl-DBI
perl-libnet
squid-helpers-perl
squid-cachemgr
libxkbfile
setxkbmap
alterator-sysconfig
vsftpd
alterator-vsftpd
alterator-wizardface
alterator-xinetd
console-vt-tools
dhcpcd
rmt
dump
fdisk
ghostscript-common
ghostscript-classic
ghostscript
ghostscript-cups
cups
hal-info
hdparm
hwdatabase
libwireless
ifrename
libnetlink
iputils
iproute2
kbd
kbd-data
less
libedit
libpci
lvm2
net-snmp-mibs
squid-server
squid
alterator-squid
openssh
openssh-clients
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71491</commentid>
    <comment_count>9</comment_count>
    <who name="Valery Inozemtsev">shrek</who>
    <bug_when>2008-06-08 11:16:22 +0400</bug_when>
    <thetext>dbus-1.2.1-alt2 при обновлении предыдущей версии делает restart и его нужно 
переложить в branch-4.1</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>