Re: [vserver] Jessie vserver guest issue

From: Corey Wright <undefined_at_pobox.com>
Date: Wed 04 Feb 2015 - 13:45:10 GMT
Message-Id: <20150204074510.2f067e38a9d1bef4256eb17d@pobox.com>

On Wed, 4 Feb 2015 09:31:04 +0000
Phil D <splatnix@gmail.com> wrote:

> Hmmm, started again and now have:
>
> root@jessie-test:/etc/init.d# vserver base_jessie start
> The following problem(s) were encountered while verifying vshelper
> functionality:
> * File '/proc/sys/kernel/vshelper' does not exist but is required for
> vshelper setup
>
> To fix this, you can:
> * disable vshelper entirely by executing
> | touch "/etc/vservers/.defaults/apps/vshelper/disabled"
> * disable only this message by executing
> | touch "/etc/vservers/.defaults/apps/vshelper/warning-disabled"
> * configure the util-vserver vshelper script, e.g. by adding
> | kernel.vshelper = /usr/lib/x86_64-linux-gnu/util-vserver/vshelper
> to /etc/sysctl.conf and rebooting the machine, or by executing
> | echo "/usr/lib/x86_64-linux-gnu/util-vserver/vshelper"
> >/proc/sys/kernel/vshelper
>
> yet if check for existence of that file:
>
> root@jessie-test:/etc/init.d# ls -l /proc/sys/kernel/vshelper
> ls: cannot access /proc/sys/kernel/vshelper: No such file or directory
>
> Wonder why it is not being created ?

ah, that issue is easier to address...

apply the patch i attached to
http://archives.linux-vserver.org/201502/0012.html. or, as you're using
ben's 3.18 kernel package, ask him to patch it.

corey

--
undefined@pobox.com
> On 4 February 2015 at 03:55, Corey Wright <undefined@pobox.com> wrote:
> 
> > On Tue, 3 Feb 2015 11:06:48 +0000
> > Phil D <splatnix@gmail.com> wrote:
> >
> > > 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:
> >
> > i use a vanilla wheezy system for testing and deployment.
> >
> > > 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 have 3.18.5-vs2.3.7.1 and 0.30.216-pre3097 installed.
> >
> > i previously had 0.30.216-pre3054 installed with 3.10 and 3.14, but never
> > 0.30.216-pre3062.
> >
> > > 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
> >
> > i haven't built a new guest with any recent util-vserver version as i just
> > keep using the same old (but upgraded) guest through the years, for better
> > or
> > worse.
> >
> > > 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.
> >
> > i wouldn't say "wiped out" but maybe unmounted.
> >
> > i definitely haven't had your problem.
> >
> > maybe the output of "vserver --debug base_jessie start" would reveal
> > something.
> >
> > corey
> > --
> > undefined@pobox.com
> >
> > > How may I resolve the issue please ?
> > >
> > > Thanks, Phil
Received on Wed Feb 4 13:45:33 2015
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 04 Feb 2015 - 13:45:33 GMT by hypermail 2.1.8