From: Benoit des Ligneris (benoit.des.ligneris_at_revolutionlinux.com)
Date: Sun 19 Dec 2004 - 17:30:47 GMT
Hello,
Well, the vserver has some CAP : I tried initially with
CAP_NET_ADMIN and CAP_SYS_ADMIN but with no success.
After a bit of RTFS, I still believe that no additional CAP should be
necessary but maybe am I wrong ?
Any suggestion ?
Ben
* Herbert Poetzl <herbert_at_13thfloor.at> [04-12-19 11:12]:
> On Fri, Dec 17, 2004 at 11:17:29PM -0500, Benoit des Ligneris wrote:
> > Hello,
> >
> > We are trying to run an X server inside a vserver. We found some
> > messages on the mailing list but no know success ;-)
> >
> > The errror we have is the following :
> > ========= Extract of XFree86 log ==============
> > * BIOS: Failed to open /dev/mem (Operation not permitted)
> > Using vt 7
> > (--) using VT number 7
> >
> > (WW) Open APM failed (/dev/apm_bios) (No such device)
> >
> > Fatal server error:
> > xf86EnableIOPorts: Failed to set IOPL for I/O
> > ====End of Extract of XFree86 log ==============
> >
> >
> > I noticed that it is not possible to access /dev/mem from inside a
> > vserver. I think this is needed because X try to directly access the
> > memory.
> >
> > Any idea to achieve that ?
>
> hmm, did you try to give proper capabilities to that
> vserver?
>
> no need to mention that access to /dev/mem or /proc/mem
> will allow to wipe out your host machine ...
>
> best,
> Herbert
>
> > Thanks by advance,
> >
> > Ben
> >
> > --
> > Benoit des Ligneris Ph. D.
> > President de Revolution Linux http://www.revolutionlinux.com/
> > OSCAR Chair http://oscar.openclustergroup.org/
> > Chef de projet EduLinux http://www.edulinux.org/
> > _______________________________________________
> > Vserver mailing list
> > Vserver_at_list.linux-vserver.org
> > http://list.linux-vserver.org/mailman/listinfo/vserver
-- Benoit des Ligneris Ph. D. President de Revolution Linux http://www.revolutionlinux.com/ OSCAR Chair http://oscar.openclustergroup.org/ Chef de projet EduLinux http://www.edulinux.org/ _______________________________________________ Vserver mailing list Vserver_at_list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver