Subject: Re: [vserver] secure-mount, operation not permitted at start
From: "Rik Bobbaers" <rik@enzoverder.be>
Date: Fri, 15 Jan 2010 15:51:09 +0100 (CET)

i think there are 2 possible sollutions here

OR you should mount the sysfs in the fstab of the guest config and not in
the startup scripts of the guest /etc/vservers/<guest>/etc/fstab (or
something)
OR you should add mount capabilities to the guest. Check the different
capabilities settings on the site:
http://linux-vserver.org/Capabilities_and_Flags

hope that helps...

Rik Bobbaers

-- http://harry.enzoverder.be
linux/unix/system/network/security/hardware/DR admin
"If a man speaks his mind in a forest, and there's no woman to hear it ...
is he still wrong?"

> 2010/1/15 Shinkan <shinkan@gmail.com>
>
>>
>>
>> 2010/1/15 Rik Bobbaers <rik@enzoverder.be>
>>
>>> The problem i think, is that you use version 0.30.215, i think you need
>>>
>>> (one of) the latest prereleases of 0.30.216
>>>
>>> hope that helps!
>>>
>>> Rik Bobbaers
>>>
>>
>> Thanks for you relevant support. I'll try this and report where it goes.
>>
>>
> 1) secure-mounts related errors disappeared (with correct Kernel or
> /proc/sys/kernel/grsecurity/* config)
> 2) /usr/sbin/chbind related error disappeared (by using util-vserver
> 0.3.216_pre2855 instead of 0.3.215)
>
> A) I can build a Gentoo Host/Gentoo Guest VServer using this "template"
> method :
> http://linux-vserver.org/Building_Guest_Systems#Building_guests_using_the_template_build_method
> ~B) I can start a Gentoo guest Vserver built from a vanilla stage3
> template,
> BUT IT STILL DOESN'T WORK, I have this output :
>
> http://bayimg.com/PaJFHAAcL
>
> (For those who don't want to click :
> [...]
> Mounting sysfs at /sys ...
> The "mount" command failed with errors:
> permission denied
> [...])
>
> Help, please :-(
>
> --
> Pierre.
> "Sometimes when I'm talking, my words can't keep up with my thoughts. I
> wonder why we think faster than we speak. Probably so we can think twice."
> -
> Bill Watterson
>