Dmitry, > IMHO the best way to fix this problem permanently would be to add > "debian/openssh-server.ssh.tmpfile" file with the following content: > d /var/run/sshd 0755 root root
Isn't that what $ cat /usr/lib/tmpfiles.d/sshd.conf d /var/run/sshd 0755 root root is supposed to do? BTW, there are 2 similar bug reports: /run on tmpfs breaks sshd started from inetd https://bugs.debian.org/645788 systemd service does not automatically create /var/run/sshd https://bugs.debian.org/760422 -- -- Andreas :-)