On 10/06/2019 12:46, Daniel P. Berrangé wrote:
On Mon, Jun 10, 2019 at 12:28:02PM +0100, lejeczek wrote:
> hi guys
>
> in my qutest I have this:
>
> ...
>
> <filesystem type='mount' accessmode='passthrough'>
> <source dir='/home'/>
> <target dir='/home'/>
> </filesystem>
>
> ...
>
> and on the host /home/* are user home dirs which are automounted off a
> glusterfs volume.
>
> The guest starts okey, I can see dirs under /home but if I go to
> /home/userA I get:
>
> ls: cannot access /home/userA/: Too many levels of symbolic links
>
> Do you know if what I'm trying should just work a okey?
Unfortunately I don't believe the setup you describe can work.
When we passthrough /home it will be marked as a private mount
inside the container. This means that any child mounts within
it will *not* propagate into the container.
Regards,
Daniel
Is it possible (and safe) to get fuse dev into a lxc container?
many thanks, L.