Re: [vserver] Problem to install a guest with patched 3.18.55 kernel on Debian

From: Corey Wright <undefined_at_pobox.com>
Date: Sun 23 Jul 2017 - 01:09:17 BST
Message-Id: <20170722190917.578f05844ca1b3a116e5ca50@pobox.com>

On Sun, 23 Jul 2017 01:16:21 +0200
"Sam Przyswa (Perso)" <przyswa.sam@free.fr> wrote:

> Hi all,
>
> I compiled a 3.18.55 kernel patched with vs2.3.7.5 on Debian, no errors
> during compilation but when I install a guest I got this error message:
>
> vshelper.init: can not determine xid of vserver
> '/etc/vservers/soleil-4'; returned value was ''
>
> This usually means that you're using an init-less init-style, but the
> guest isn't configured to start any service. Try enabling a service,
> changing the init-style, or making the contexts persistent.
>
> An error occured after executing the vserver startup sequence. This
> means that some processes may exist in the created context and the
> manual execution of
>
> /usr/sbin/vserver '/etc/vservers/soleil-4' stop
>
> is recommended to fix this.
> 'vserver ... suexec' is supported for running vservers only; aborting...

well, i'm running 3.18.62-vs2.3.7.5 with a jessie guest, so it's not
the kernel.

> Then the /proc directory become empty and the system tell me:
>
> Error, do this: mount -t proc proc /proc when I try a ps command !?
>
> There is my command too create a guest:
>
> vserver soleil-4 build -n soleil-4 --hostname soleil-4.arial-concept.com
> --interface eth0:88.191.208.158/255.255.255.224 -m debootstrap -- -d jessie
>
> What's wrong ?

do you have systemd installed in the guest (which is the default for
jessie)?

if so, then you need to either:
* reinstall jessie without systemd. see [1].
* install sysv / uninstall systemd. see [2].

[1] http://list.linux-vserver.org/archive?mss:6948:201505:jhgepajnchgkbplaigli
[2] http://without-systemd.org/wiki/index.php/How_to_remove_systemd_from_a_Debian_jessie/sid_installation

i have jessie installed in a guest and the initial installation
included systemd and didn't work, but i don't remember what the error
message was (ie compared to yours) nor do i remember how i accessed
the guest to install sysv / uninstall systemd (eg chroot), but i did
and it works.

> Thanks in advance for your help.
>
> Sam Przyswa.

corey

--
undefined@pobox.com
Received on Sun Jul 23 01:08:35 2017
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Sun 23 Jul 2017 - 01:08:35 BST by hypermail 2.1.8