[Lxc-users] Ubuntu /etc/init.d/xinetd kills container's xinetd

Papp Tamas tompos at martos.bme.hu
Wed Oct 5 18:28:23 UTC 2011


On 10/05/2011 06:43 PM, Ulli Horlacher wrote:
> I have an Ubuntu LXC hosts with several containers running internet
> services via xinetd.
>
> Sometimes the container services died without any reason and no logfile
> entry.  First, I thought LXC is not that stable as I hoped, but now I
> found the bug inside /etc/init.d/xinetd !
>
> The problem is: when I stop xinetd on the host with command
> "/etc/init.d/xinetd stop"
> this stops all LXC container xinetd processes, too!
>
> /etc/init.d/xinetd contains bad code which does not respect the xinetd
> pidfile. See "man man start-stop-daemon":
>
>    Note: unless --pidfile is specified, start-stop-daemon behaves similar
>    to killall(1).  start-stop-daemon will scan the process table looking
>    for any processes which match the process name (...)
>

There are several other services, like this. For example nrpe.

tamas




More information about the lxc-users mailing list