OS update hangs up at lava-dashboard

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

Bug Description

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

Related branches

Revision history for this message
Yongqin Liu (liuyq0307) wrote :
Revision history for this message
Yongqin Liu (liuyq0307) wrote :
Revision history for this message
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"

Revision history for this message
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"

Revision history for this message
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
Revision history for this message
Zygmunt Krynicki (zyga) wrote :

Fixed in 0.8.5

Changed in django-debian:
status: Confirmed → Fix Committed
status: Fix Committed → Fix Released
Revision history for this message
Zygmunt Krynicki (zyga) wrote :

Landed in archive

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.