[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#760422: openssh-server: systemd service does not automatically create /var/run/sshd



Ximin Luo <infinity0@pwned.gg> writes:

> When switching to systemd, the directory /var/run/sshd is not
> automatically created, causing the resulting service to fail.

> A workaround is to manually create the directory with the right
> ownership, but I have not verified if this persists across restarts.

> Please automatically create the directory if it does not already exist.

You're the second person who has reported this.  The previous person found
that this was a side effect of having a configured mount in /etc/fstab
that was failing due to the directory not existing (or being a symlink; I
forget which it was).  Could this also be the case for you?

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>


Reply to: