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

Bug#223576: More information on #223576



The problems are 2.

1) we were calling a db_stop too much that was not required
2) apache* on restart uses fd=3 that is used by debconf and the debconf
frontend. (known problem of debconf here).

for the first we removed the db_stop call, for the second we had to
nullify the output of apache* restart in modules-config. It is a
workaround but there is no better way of doing it.

On Thu, 11 Dec 2003, Peter Hawkins wrote:

> Hi...
>
> It turns out that modules-config is hanging during the call to
> db_capb backup
> in modules-config.
>
> This is the end of a trace produced by adding a set -x to the top of
> modules-config:
> ++ set -- settitle SETTITLE
> ++ eval 'db_settitle () {
>                 echo "SETTITLE $@" >&3
>                 # Set to newline to get whole line.
>                 local IFS='\''
> '\''
>                 local _LINE
>                 read -r _LINE
>                 # Disgusting, but it'\''s the only good way to split the line,
>                 # preserving all other whitespace.
>                 RET="${_LINE#[!         ][      ]}"
>                 return ${_LINE%%[       ]*}
>               }'
> ++ set -- apache-ssl enable mod_python
> ++ unset _old_opts
> + db_version 2.0
> + echo 'VERSION 2.0'
> + local 'IFS=
> '
> + local _LINE
> + read -r _LINE
> (hang)
> Both apache and apache-ssl are installed.
>
> I can't explain why this happens. The postinst script that calls
> modules-config is almost identical to that of libapache-mod-perl.
>
> =)
> Peter
>
>
>
>

-- 
Our mission: make IPv6 the default IP protocol
"We are on a mission from God" - Elwood Blues

http://www.itojun.org/paper/itojun-nanog-200210-ipv6isp/mgp00004.html



Reply to: