From: John Goerzen (jgoerzen_at_complete.org)
Date: Fri 15 Aug 2003 - 16:41:25 BST
What capabilities should I be granting it? I have been failing to find the
right thing to set S_CAPS to for this.
Thanks,
John
On Fri, Aug 15, 2003 at 05:31:45PM +0200, Herbert Pötzl wrote:
> On Fri, Aug 15, 2003 at 10:18:15AM -0500, John Goerzen wrote:
> > Hi,
>
> Hi John!
>
> > I have a program I'm trying to run under a vserver that sets up a
> > chroot environment and tries to mount /proc under there. Ideally, it
> > should be allowed to mount the same basic /proc that the master
> > vserver sees. What is the proper way to allow it to do that? Or,
> > failing that, to manually do it before the program runs?
>
> if you have sufficient priviledges (capabilities) then
> you'll be able to do a mount -t procfs none /path/to/proc within
> the vserver ...
>
> HTH,
> Herbert
>
> > Thanks,
> > John