ssh service: set RuntimeDirectory=sshd to work with recent openssh versions
authorMichael Prokop <mika@grml.org>
Fri, 1 Dec 2017 09:51:47 +0000 (10:51 +0100)
committerMichael Prokop <mika@grml.org>
Fri, 1 Dec 2017 09:56:18 +0000 (10:56 +0100)
commite23b03b9c091c46115fdfb87810e2418c7039c76
tree7b35b10bef07c63530ee285980e98093eece03ef
parent1b8b36a9ec8242d2c6fd628d4ca25d99efb9e2f3
ssh service: set RuntimeDirectory=sshd to work with recent openssh versions

We need to set RuntimeDirectory=sshd, otherwise /run/sshd doesn't
exist and service startup fails with:

| grml sshd[1845]: Missing privilege separation directory: /run/sshd

While at it sync our ssh service file with Debian's openssh
package 1:7.6p1-2 and drop the unused ssh-bootoption.service
file (we currently start ssh service via grml-autoconfig).

Also see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=864190

Closes grml/grml#80

Thanks: sl0n for bugreport
Thanks: Darshaka Pathirana <dpat@grml.org> for feedback
etc/grml/fai/config/files/etc/systemd/system/ssh-bootoption.service/GRMLBASE [deleted file]
etc/grml/fai/config/files/etc/systemd/system/ssh.service/GRMLBASE