Re: /var/run/vservers/$vserver keeps disappearing
Herbert Poetzl <[email protected]> Fri, 20 Apr 2018 12:58:04 +0200
| Newsgroups | gmane.linux.vserver |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Apr 20, 2018 at 10:35:38AM +0200, Christoph Pleger wrote: > 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. Ah, yes, that explains it! Glad it could be resolved. > 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. Good to know! Thanks for the feedback! Best, Herbert > Regards > Christoph