Re: [Vserver] /dev permissions issue [scanned]

From: Veit Wahlich <cru_at_zodia.de>
Date: Thu 17 Nov 2005 - 10:26:50 GMT
Message-Id: <1132223210.3428.10.camel@localhost.localdomain>

Am Donnerstag, den 17.11.2005, 13:19 +0530 schrieb sukrit:
> I have mounted the base machine's /dev/ into each VServer using:
>
> mount --bind /dev /vservers/$2/dev
>

But why?!

I do not know what your vservers are doing, but this simply looks like a
mine-deep penetrating security issue...

Besides, still ignoring that tcptty thingy, which I think is a ulimit
problem, if you are using vs2.0 and namespaces are enabled (default),
you will also need to mount using the vserver's namespace:

vnamespace -e <vserver's xid> mount --bind /dev /vservers/$2/dev

Or use the vservers fstab.

Regards,
// Veit

_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver

Received on Thu Nov 17 10:27:15 2005
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Thu 17 Nov 2005 - 10:27:20 GMT by hypermail 2.1.8