• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Issue Missing privilege separation directory: /var/run/sshd

Jasper

New Pleskian
I've got a VPS running Ubuntu 16.04 LTS with Plesk (Web Pro Edition) 17.8.11 Update #31, as provided by my host. After rebooting the system yesterday from within the web panel, I was unable to connect to the VPS using SSH. Connecting to the web panel resulted in an error 500, which was resolved by restarting the VPS once again. I then looked at the firewall settings, figuring they must have changed for some reason, but found that the SSH port was set to open.

Investigating the issue further, I managed to find the error listed in the title; "Missing privilege separation directory: /var/run/sshd". When looking in the /etc/init/ssh.conf file, it is set to create the directory and give the appropriate permissions. When looking in the /etc/init.d/ssh file, the check_privsep_dir() method clearly checks if the directory exists, and creates it if it doesn't.

I managed to "solve" the issue by adding the following cronjob:
@Reboot mkdir -p -m0755 /var/run/sshd && systemctl restart sshd.service

I don't find the solution particularly elegant, but it does the job for now... Could anyone tell me how this issue might happen, and how I could fix this without having additional cronjobs running?
 
Back
Top