Subject: Re: [vserver] Problem with bind mount
From: Herbert Poetzl <herbert@13thfloor.at>
Date: Wed, 19 Aug 2009 16:55:40 +0200

On Wed, Aug 19, 2009 at 04:53:20PM +0300, Erdem Bayer wrote:
> Hi
> 
> On Wed, 19 Aug 2009 14:09:18 +0200
> Herbert Poetzl <herbert@13thfloor.at> wrote:
> 
> >  2) you can do the mount on the host _before_ the guest is
> >     started up (the guest will 'inherit' the mount)
> > 
> >     advantages: single point of administration, guest
> >       filesystem is the same as seen on the host
> >     disadvantages: mounts have to be administrated and
> >       startup sequence has to be known
> > 
> >  3) you can put the bind mount entry in the guest config's
> >     fstab (util-vserver will create the mount on startup)
> > 
> >     advantages: mounts only visible in the guest space,
> >       no capabilities required, cleanup automatic
> >     disadvantages: different views (host, guest)
> > 
> > note: John seems to be doing 2), while Erdem is doing 3)
> 
> Can you point me a direction on where to look for why secure-mount is
> failing?

get a recent util-vserver version (e.g. 0.30.216-pre2841)
and try again, it should be fine with something like:

/data	/data		none	bind,rw			0 0

best,
Herbert

> Kind Regards
> Erdem Bayer