Subject: Re: [vserver] /var/run/vservers/$vserver keeps disappearing
From: Christoph Pleger <christoph.pleger@cs.uni-dortmund.de>
Date: Fri, 20 Apr 2018 10:35:38 +0200

Hello,

>> I now discovered that this is because
>> /var/run/vservers/$vserver disappear after a short vserver
>> uptime. So, I restored the files manually, but they
>> disappeared again.
> 
> Sounds strange the main question IMHO is:
> 
>  Is it just the files disappearing or does the context
>  end because the last process exits?

I got it: It was a mistake I made when copying one 
/etc/vservers/$vserver to another, I forgot to change the run link 
afterwards, so that two /etc/vservers/$vserver/run links pointed at the 
same file.

You mentioned systemd, so I want to tell that I applied the systemd 
patch for util-vserver and did not detect any problem with that so far.

Regards
   Christoph