OS update hangs up at lava-dashboard

Bug #817304 reported by Yongqin Liu on 2011-07-28
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
LAVA Dashboard (deprecated)
Invalid
Undecided
Unassigned
django-debian
Critical
Unassigned

Bug Description

when OS(10.04LTS) updates, the update window hangs up at preparation of lava-dashboard

Related branches

Yongqin Liu (liuyq0307) wrote :
Yongqin Liu (liuyq0307) wrote :
Yongqin Liu (liuyq0307) wrote :

about the hanged process, it seems to be " /usr/share/debconf/frontend /var/lib/dpkg/info/lava-dashboard.postinst configure 0.6-0ubuntu0~lava1"

16:09:45 liuyq:~$ pstree -ap 2119
bash,2119
  └─apt-get,2330 install mumble
      └─dpkg,2335 --status-fd 31 --configure man-db lava-server lava-dashboard
          └─frontend,3815 -w /usr/share/debconf/frontend /var/lib/dpkg/info/lava-dashboard.postinst configure 0.6-0ubuntu0~lava1
              └─(lava-dashboard.,3886)
16:09:49 liuyq:~$ sudo kill -9 3815

but when execute "lava-dashboard.postinst", it will do as follows:
16:25:22 liuyq:~$ sudo sh -x /var/lib/dpkg/info/lava-dashboard.postinst configure 0.6-0ubuntu0~lava1
+ set -e
+ '[' -f /usr/share/debconf/confmodule ']'
+ . /usr/share/debconf/confmodule
++ '[' '!' '' ']'
++ PERL_DL_NONLAZY=1
++ export PERL_DL_NONLAZY
++ '[' '' ']'
++ exec /usr/share/debconf/frontend /var/lib/dpkg/info/lava-dashboard.postinst configure 0.6-0ubuntu0~lava1

it will call "/usr/share/debconf/frontend /var/lib/dpkg/info/lava-dashboard.postinst" again, this cause an infinite loop.

may be it's either a bug of "/var/lib/dpkg/info/lava-dashboard.postinst" or a bug of "/usr/share/perl5/Debconf/ConfModule.pm"

Yongqin Liu (liuyq0307) wrote :

when i comment the three lines in lava-dashboard.postinst as below:
# Source debconf library
#if [ -f /usr/share/debconf/confmodule ]; then
# . /usr/share/debconf/confmodule
#fi

it seems to work, at least i can install mumble with command "sudo apt-get install mumble"

Zygmunt Krynicki (zyga) wrote :

This bug is in django-debian

Changed in lava-dashboard:
status: New → Invalid
Changed in django-debian:
status: New → Confirmed
importance: Undecided → Critical
Zygmunt Krynicki (zyga) wrote :

Fixed in 0.8.5

Changed in django-debian:
status: Confirmed → Fix Committed
status: Fix Committed → Fix Released
Zygmunt Krynicki (zyga) wrote :

Landed in archive

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers