I'm experiencing a really wired thing on a server where I run several chroot containers.
On one of them I issued accidentally a
which made the entire server shutdown, but that's not the odd thing !
What's puzzling me is that, on that one container where I ran the accidental shutdown, upon taking down sshd within it, all the sshd daemons go down (in the other containers and on the server itself).
The other containers don't do that and after recreating the damaged container it's working normally again.
The sshd for each container, and for the server itself, are all bound to separate IP address and the /var/run/sshd.pid in each container has the correct pid in it (including the container that misbehaved). The init script for sshd (/etc/init.d/sshd) are all identical.
In fact the chroot containers are all created as a minimal subset of the host OS itself and since the issue I've removed init and shutdown from the containers (that had crept in dew to dependencies requiring stuff from upstart package).
Has anyone got any idea why it was happening ?