lxc start permissions for /run


Renowned Member
Jan 15, 2014
Screen users cant start screen because '/run/screen - no such directory'

But /run comes up 755 - so anything that doesnt suid cant put it's pid file or create its /run directory hierarchy. How to mitigate this?

/etc/init.d/screen-cleanup is supposed to create the directory properly, and used to just fine under openvz, but moving the container to lxc has caused this issue.
Last edited:

what Distribution this container is?
And do you use privileged containers?
yes priviledged always because of many issues without it (such as postfix not working), distribution is debian 8.11

though I've seen it in debian 7 as well.

I should put some debug statements into the screen init.d script to see what's going on, its skipping creating it 775 as root:utmp /run/screen


The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!