Subject: Jessie vserver guest issue
From: Phil D <splatnix@gmail.com>
Date: Tue, 3 Feb 2015 11:06:48 +0000
Tue, 3 Feb 2015 11:06:48 +0000
Hello all:

have started testing out the Jessie build but hit an issue.  First, here is
what I have installed on a vanilla Jessie system:

root@jessie-test:~# dpkg -l  |grep vserver
ii  libvserver0                         0.30.216-pre3062-jessie0.1-1 amd64
       dynamic libraries for util-vserver
ii  linux-headers-vserver-3.18-beng     3.18.4-2.3.7.1+jessie1       amd64
       A metapackage which installs the latest Linux-Vserver patched 3.18
linux-headers package, BenG's build.
ii  linux-image-vserver-3.18-beng       3.18.4-2.3.7.1+jessie1       amd64
       A metapackage which installs the latest Linux-Vserver patched 3.18
linux-image package, BenG's build.
ii  util-vserver                        0.30.216-pre3062-jessie0.1-1 amd64
       utilities for managing Linux-VServer guests
ii  util-vserver-build                  0.30.216-pre3062-jessie0.1-1 amd64
       tools which can be used to build vservers
ii  util-vserver-core                   0.30.216-pre3062-jessie0.1-1 amd64
       core utilities of util-vserver
ii  util-vserver-sysv                   0.30.216-pre3062-jessie0.1-1 amd64
       initscripts for util-vserver
ii  vserver-debiantools                 0.8.1                        all
       Tools to manage Debian virtual servers

I then rebooted the system and vserver-stat responded okay.  Then went on
to build a guest:

vserver base_jessie build \
 -m debootstrap \
 --context 40001 \
 --hostname vserver1.mydomain.com \
 --interface eth0:192.168.1.84/24 \
 -- -d jessie -m http://ftp.de.debian.org/debian

that completed fine so I then went on to start it and this is what happens:

root@jessie-test:~# vserver base_jessie start
Using makefile-style concurrent boot in runlevel 3.
Starting enhanced syslogd: rsyslogd.
Starting periodic command scheduler: cron.

root@jessie-test:~# vserver-stat
WARNING: can not access /proc/uptime. Usually, this is caused by
         procfs-security. Please read the FAQ for more details
         http://linux-vserver.org/Proc-Security
open("/proc/uptime"): No such file or directory
root@jessie-test:~# uptime
Error: /proc must be mounted
  To mount /proc at boot you need an /etc/fstab line like:
      proc   /proc   proc    defaults
  In the meantime, run "mount proc /proc -t proc"

Would appear that /proc is being wiped out.  How may I resolve the issue
please ?

Thanks, Phil


Hello all:

have started testing out the Jessie build but hit an issue.  First, here is what I have installed on a vanilla Jessie system:

root@jessie-test:~# dpkg -l  |grep vserver
ii  libvserver0                         0.30.216-pre3062-jessie0.1-1 amd64        dynamic libraries for util-vserver
ii  linux-headers-vserver-3.18-beng     3.18.4-2.3.7.1+jessie1       amd64        A metapackage which installs the latest Linux-Vserver patched 3.18 linux-headers package, BenG's build.
ii  linux-image-vserver-3.18-beng       3.18.4-2.3.7.1+jessie1       amd64        A metapackage which installs the latest Linux-Vserver patched 3.18 linux-image package, BenG's build.
ii  util-vserver                        0.30.216-pre3062-jessie0.1-1 amd64        utilities for managing Linux-VServer guests
ii  util-vserver-build                  0.30.216-pre3062-jessie0.1-1 amd64        tools which can be used to build vservers
ii  util-vserver-core                   0.30.216-pre3062-jessie0.1-1 amd64        core utilities of util-vserver
ii  util-vserver-sysv                   0.30.216-pre3062-jessie0.1-1 amd64        initscripts for util-vserver
ii  vserver-debiantools                 0.8.1                        all          Tools to manage Debian virtual servers

I then rebooted the system and vserver-stat responded okay.  Then went on to build a guest:

vserver base jessie build \
 -m debootstrap \
 --context 40001 \
 --hostname vserver1.mydomain.com \
 --interface eth0:192.168.1.84/24 \
 -- -d jessie -m http://ftp.de.debian.org/debian

that completed fine so I then went on to start it and this is what happens:

root@jessie-test:~# vserver base jessie start
Using makefile-style concurrent boot in runlevel 3.
Starting enhanced syslogd: rsyslogd.
Starting periodic command scheduler: cron.

root@jessie-test:~# vserver-stat
WARNING: can not access /proc/uptime. Usually, this is caused by
         procfs-security. Please read the FAQ for more details
         http://linux-vserver.org/Proc-Security
open("/proc/uptime"): No such file or directory
root@jessie-test:~# uptime
Error: /proc must be mounted
  To mount /proc at boot you need an /etc/fstab line like:
      proc   /proc   proc    defaults
  In the meantime, run "mount proc /proc -t proc"

Would appear that /proc is being wiped out.  How may I resolve the issue please ?

Thanks, Phil