[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#440629: mydns-mysql: postinst gets into infinite loop when running with noninteractive debconf frontend



Package: mydns-mysql
Version: 1:1.1.0-7
Severity: serious

Hi,

When testing mydns-mysql with piuparts, I ran into an infinite loop.

When installing mydns-mysql under the noninteractive debconf frontend,
the /var/lib/dpkg/info/mydns-mysql.config scripts loops. After adding a
'set -x' to the script:
[...]
+ read -r _db_internal_line
+ RET='30 question skipped'
+ case ${_db_internal_line%%[ 	]*} in
+ return 30
+ true
+ db_go
+ _db_cmd 'GO '
+ IFS=' '
+ printf '%s\n' 'GO '
+ IFS='
'
+ read -r _db_internal_line
+ RET=ok
+ case ${_db_internal_line%%[ 	]*} in
+ return 0
+ db_get mydns/mysql_root_passwd
+ _db_cmd 'GET mydns/mysql_root_passwd'
+ IFS=' '
+ printf '%s\n' 'GET mydns/mysql_root_passwd'
+ IFS='
'
+ read -r _db_internal_line
+ RET=
+ case ${_db_internal_line%%[ 	]*} in
+ return 0
+ '[' '!' -z '' ']'
+ '[' 32 '!=' 0 -a 32 '!=' 6 ']'
+ case "$STATE" in
+ db_input critical mydns/mysql_root_passwd
+ _db_cmd 'INPUT critical' mydns/mysql_root_passwd
+ IFS=' '
+ printf '%s\n' 'INPUT critical mydns/mysql_root_passwd'
+ IFS='
'
+ read -r _db_internal_line
+ RET='30 question skipped'
+ case ${_db_internal_line%%[ 	]*} in
+ return 30
+ true
+ db_go
+ _db_cmd 'GO '
+ IFS=' '
+ printf '%s\n' 'GO '
+ IFS='
[...]
-- 
| Lucas Nussbaum
| lucas@lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas@nussbaum.fr             GPG: 1024D/023B3F4F |



Reply to: