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

Bug#645788: openssh-server: /run on tmpfs breaks sshd started from inetd




On Sat, 19 Nov 2016 19:56:11 +0000 Colin Watson <cjwatson@debian.org> wrote:
> On Sat, Nov 19, 2016 at 12:46:57PM -0500, David Lee Lambert wrote:
> > Getting the same behavior on a fresh installation of Jessie (from the
> > netinst ISO). Every time I reboot, sshd doesn't restart until I either
> > `apt-get install --reinstall openssh-server` or `mkdir /var/run/sshd`.
> >
> > I've tried to add the second command to `/etc/rc.local`, but there's some
> > other error preventing that from running properly...
>
> A fresh install of jessie presumably uses systemd by default, so the
> last few entries in this bug log (especially the one from Russ
> immediately before yours) are probably relevant. The output of
> "systemctl status systemd-tmpfiles-setup.service" might be useful, or at
> least point you in the right direction.
>
> --
> Colin Watson [cjwatson@debian.org]
 

Hi,

  In my case - systemd didn't create /var/run/sshd when /var and /usr was different mountpoint than /. When i moved both folders to the same partition as / ssh started to work.

--
COOLNET
David Ťok
senior TMNT
Aut inveniam viam aut faciam
www.coolnet.cz
david.tok@coolnet.cz



Reply to: