Package: insserv
Version: 1.14.0-1
Severity: important

Under certain circumstances the kbd init script just hangs during boot. While
Ctrl-C fixes this it is a big problem if you restart a remote server
only to find out that it is no longer reachable.

Since it only started happening recently I had a look at the problem and
found out the following.

Needed config to trigger the problem:

 * run with latest insserv (1.14) version from sid and let it create the 
bootorder
 * Boot with either startpar or makefile enabled
 * Have CONSOLE_FONT set in the config of the kbd package

This results in a looping stty wth -ERESTARTSYS which is called in 
/bin/start_unicode.

Commenting CONSOLE_FONT or downgrading insserv to 1.12 and recreating the
bootorder with it fixes the problem.

So what's the difference between the two created insserv configs.
With the old version kbd is started alone

S17.....
S18kbd
S19......


With the new version it is started in parallel with other startup scripts

S18kbd
S18........
S18........

For some reasons this makes stty just loop. 

For testing purposes I put the init script on its own level (S21kbd) and
it worked. As soon as it was started in parallel with other scripts it
hung. It did not matter which scripts ran in parallel. Downgrading insserv to an
older binary KEEPING the "broken" config did not work either so I think
the problem is older it just did not trigger so far since kdb(stty) always ran
alone. 
Googling for stty -ERESTARTSYS showed that a similar problem
exists with bash as well (#547662). So maybe insserv is having the same
problem with stty now.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.34-rc6
Locale: LANG=C, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages insserv depends on:
ii  libc6                         2.10.2-6   Embedded GNU C Library: Shared lib

insserv recommends no packages.

Versions of packages insserv suggests:
ii  bootchart                0.10~svn407-3.3 Boot process performance analyser

-- debconf information:
* insserv/enable: true



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to