[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 Tue, Oct 18, 2011 at 06:56:07PM +0200, Dirk Heinrichs wrote:
> I'm running sshd with priviledge separation enabled from inetd, but
> since some time I can't login anymore after reboot.
> 
> In /var/log/auth.log, I see the followin message:
> 
> fatal: Missing privilege separation directory: /var/run/sshd
> 
> The reason for this is that /var/run is now a symlink to /run, which
> is mounted as a tmpfs, thus it doesn't survive a reboot.

I'm not sure what I can do about this.  The init script ensures that
/var/run/sshd exists; isn't it your responsibility to make suitable
arrangements when locally configuring sshd to start from inetd?

(I suppose you could argue that the Debian packaging should set the
privsep path to /var/lib/sshd instead.  That seems quite difficult to
change now though ...)

-- 
Colin Watson                                       [cjwatson@debian.org]



Reply to: