Hello.

> > I've started (and stopped) the vserver *once*, now I can't start it
> > anymore, the error is as before:
> > -----
> > vcontext: vc_create_context(): File exists
> 
> unusual .. but I would conclude that 'somehow' your
> vserver does something with the init on your host
> so I would suggest to look for things like ...
> 
>  - devices inside the vserver which should not be there
>  - pipes/fifos leading out of the vserver

# ls -al /var/lib/vservers/phony/dev
total 1
drwxr-xr-x   3 root root  264 Apr 26 11:46 .
drwxr-xr-x  20 root root  504 Apr 26 11:46 ..
crw-rw-rw-   1 root root 1, 7 Apr 20 18:46 full
prw-------   1 root root    0 Apr 27 18:54 initctl
crw-rw-rw-   1 root root 1, 3 Apr 20 18:46 null
crw-rw-rw-   1 root root 5, 2 Apr 20 18:46 ptmx
drwxr-xr-x   2 root root   48 Apr 20 18:46 pts
crw-r--r--   1 root root 1, 8 Apr 20 18:46 random
crw-rw-rw-   1 root root 5, 0 Apr 20 18:46 tty
crw-r--r--   1 root root 1, 9 Apr 27 18:53 urandom
crw-rw-rw-   1 root root 1, 5 Apr 20 18:46 zero

Something wrong with that?

Indeed there is one pipe; should it be there or not?
How does one know whether it leads to some forbidden place?


> 99% of such strange issues are caused by bad vserver
> guest setups ... 

The vserver was built with the debootstrap method; after which
I deleted quite some supposedly not indispensable packages.
I'm in fact trying to get the cleanest possible setup so that
I can use "vserver-copy" to clone it afterwards.
[There used to be a link, somewhere on the vserver pages, to a
repository of ready-to-use vservers but it was a dangling link.
It would be interesting (?) to have such a repository with
general-purpose setups...]


Best regards,
Gilles
_______________________________________________
Vserver mailing list
[email protected]
http://list.linux-vserver.org/mailman/listinfo/vserver

Reply via email to