Package: red5-server
Version: 0.9.1-4squeeze1
Severity: normal

When you execute a reboot or shutdown, the system is frozen because the
stop process in red5-server init script doesn't working. It's frozen when
is executing the getent command, in the next line of init script:

    DAEMONUID=`getent passwd |grep "^$DAEMONUSER:" | awk -F : '{print $3}'`
    DAEMONGID=`getent passwd |grep "^$DAEMONUSER:" | awk -F : '{print $4}'

However, if you execute this command in the system prompt, you have a
correct result:

    # getent passwd |grep "^_red5:" | awk -F : '{print $3}'
    118

This line in the init script for check that red5 user exist is executed
always but it could be execute only in the start process. I have checked
that when I put this lines only in the start process, and it isn't in a
generic part of init script, the reboot or shutdown system is working
correctly and stop process of red5-server doesn't freeze.

Thank you

-- System Information:
Debian Release: 6.0.7
  APT prefers oldstable
  APT policy: (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8) (ignored:
LC_ALL set to es_ES.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages red5-server depends on:
ii  adduser             3.112+nmu2           add and remove users and groups
ii  default-jre-headles 1:1.6-40             Standard Java or Java
compatible R
ii  libred5-java        0.9.1-4squeeze1      remote API for Red5 flash
streamin
ii  openjdk-6-jre-headl 6b31-1.13.3-1~deb6u1 OpenJDK Java runtime, using
Hotspo
ii  sun-java6-jre [java 6.26-0squeeze1       Sun Java(TM) Runtime
Environment (

red5-server recommends no packages.

red5-server suggests no packages.

-- no debconf information

Reply via email to