On 2006.05.23 15:27:17 +0200, peter wrote: > Hello all, > > I have a problem with vserver. > Here my setup: > > The Host is a small Home-Server for Internet Routing and Fileserver. > > The Guest is a Desktop with running X and related (works very good). > > Both running Debian Sarge. > Now I wanted to have all this nice removable usb devices > (usb-sticks,sdcard-reader,...) and floppy/cdrom to work. > > On the Host I have setup autofs and this is running fine for the Host. > On the Guest side i configured fstab to rbind the autofs-folder. > > Now the Problem: > If I cd into the binded folder from the Guest, I see all the possible drives > (because of the --ghost automounter option). If I cd into one of these the > drive get mounted on the Host. But I cannot see any Files in this Folder from > the Guest. In the Host all is working.
That's because new mounts are not propagated into the rbind'ed mount tree. Shared subtrees solve that problem, but were added to the kernel only recently (.15? maybe .16) and are not natively supported by util-vserver yet (AFAIK). But it should be quite simple to add a pre/post start script to the vserver configuration to use it. Details on it can be found in Documentation/sharedsubtree.txt in the kernel source tree. HTH Björn _______________________________________________ Vserver mailing list [email protected] http://list.linux-vserver.org/mailman/listinfo/vserver
