Bug#981856: RuntimeDirectoryPreserve does not work as advertised
Ansgar
ansgar at debian.org
Thu Feb 4 16:21:44 GMT 2021
On Thu, 2021-02-04 at 17:12 +0100, Marc Haber wrote:
> to work around /run/sshd being deleted when I log out of my
> socket-activated ssh server, I have dropped an overlay setting
> RuntimeDirectoryPreserve=yes.
Socket-activated as using ssh at .service instead of ssh.service where one
sshd process is spawned for each incoming connection by systemd?
> > [2/4997]mh at salida:~ $ ls -al
> > /etc/systemd/system/ssh.service.d/runtime_directory_preserve.conf
If that is the case, you probably need to put it in ssh at .service.d.
Ansgar
More information about the Pkg-systemd-maintainers
mailing list