Re: [vserver] Unable to set vshelper 3.18

From: Corey Wright <undefined_at_pobox.com>
Date: Tue 03 Feb 2015 - 16:45:52 GMT
Message-Id: <20150203104552.3d1094209edadd90541c4420@pobox.com>

On Tue, 3 Feb 2015 07:49:28 -0600
Corey Wright <undefined@pobox.com> wrote:

> On Tue, 3 Feb 2015 07:33:34 -0600
> Corey Wright <undefined@pobox.com> wrote:
>
> > On Sun, 01 Feb 2015 15:36:33 +0100
> > Oliver Welter <mail@oliwel.de> wrote:
> >
> > > Hi Bertl,
> > >
> > > with the 3.18 patch I dont have a node /proc/sys/kernel/vshelper and the
> > > vserver scripts complain about that.
> >
> > see attached patch.
>
> forget that patch.

see attached patch.

take 2, now with testing! ;)

this patch is modeled after 3.14's linux-vserver patch where vshelper is
patched in between uevent_helper and sg-big-buff entires in kern_table[].

sorry for the delay, but i had to work out the initrd error about no
permission to write to /sys/kernel/uevent_helper (ie wheezy's udev still
requires CONFIG_UEVENT_HELPER=y, though turned-off in debian's 3.18 config in
experimental).

corey

--
undefined@pobox.com
> that patch moved the vshelper array entry out of the CONFIG_COMPACTION
> preprocessor conditional but not out of the vm_table array and into
> kern_table array (to it appears under /sys/kernel and not /sys/vm).
> 
> new patch coming up (unless herbert beats me to it).
> 
> corey
> --
> undefined@pobox.com
> 
> > thanks to AlexanderS on irc for his comment that tipped me off to where the
> > problem was (which was probably a bit faster than grepping for vshelper).
> > 
> > haven't run-time tested it (been busy debugging why lxc-start mounts
> > filesystems in a container on a non-vserver kernel but not on a vserver
> > kernel, though root can do it without problem within the container), but it
> > compiles.
> > 
> > corey
> > --
> > undefined@pobox.com
> > 
> > > There is I good chance that I missed something during setting up the
> > > test system, any ideas? If that matters - I used 3.18.5 instead of
> > > 3.18.4 as base.
> > > 
> > > Oli
> > > -- 
> > > Protect your environment -  close windows and adopt a penguin!

Received on Tue Feb 3 16:46:12 2015
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 03 Feb 2015 - 16:46:12 GMT by hypermail 2.1.8