Do not stop hosts' SSH + mdadm services in cleanup procedure
authorMichael Prokop <mika@grml.org>
Tue, 10 Mar 2015 13:49:41 +0000 (14:49 +0100)
committerMichael Prokop <mika@grml.org>
Tue, 10 Mar 2015 13:49:41 +0000 (14:49 +0100)
commitf992b13b0e020e75dd4d6592f8d18f0ccafe9e5f
treef04b4dc5f7287347e9eb2ec5760669a82661a558
parent762d9ef1fc884dfc0ee1923a22cbadb3c5a3b053
Do not stop hosts' SSH + mdadm services in cleanup procedure

The init script uses start-stop-daemon with the pidfile
/var/run/sshd.pid. We can't just stop the service from
outside the chroot because this terminates the process of the
host system instead of the process *inside* the chroot.

Thanks: Sebastian Pipping for debugging and bug report
Fixes #63 (GH-37, PR 71)
grml-debootstrap