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 14:47:18 +0000 (15:47 +0100)
commit52e9bbf991bfa13efc940f00fd4fedbaa87f696f
treea0c8d4e443c859711cd929bb8ca33dc17c4ddb9a
parent2be6b799851ac001378be023d1095c7540c5d46f
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)

(cherry picked from commit f992b13b0e020e75dd4d6592f8d18f0ccafe9e5f)
grml-debootstrap