Subject: Re: [vserver] mknod inside vserver (bind error)
From: Nikolay Kichukov <hijacker@oldum.net>
Date: Tue, 24 Mar 2009 10:35:59 +0200

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,
on the host:
cp -a /dev/random /path/to/testguest/chroot/dns/dev/

HTH,
- -Nik


ADNET Ghislain wrote:
> 
>> another approach is to setup device mapping
>> properly to allow certain 'considered secure'
>> devices to be created inside a guest
>>
>> yet another (but insecure) approach is to give
>> the bcapability to create arbitrary device nodes
>> to the guest
>>
>> HTH,
>> Herbert
>>   
> you can give device mapping without the bcapability ? my last try failed
> to work with this setup. Can you give an exemple of how should work  the
> device mapping with a simple exemple of
> 
> /etc/vservers/.default
> /etc/vservers/testguest/
> 
> exemple  for /dev/random for exemple ?
> 
> 
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQEcBAEBAgAGBQJJyJtvAAoJEDFLYVOGGjgXb4IH/RbqMpxDxLCiJUfeNDnqPrpz
ySCUqYUHg7P6UNirCqzS5CMOzHQ2ZT3pyQQbUHVPliIHKBjefbEFrJIvpGA9hLu3
vA8Xj4260Q7yDOS8g25YW7hJeMN9rU4qDUpmA4qMA50K9UfQmpmwmIpAXj9sQB4U
Dx72Ntq93jDSI4UHYVj9INQ1uVT0gdqclg0DFXeYYSTAyVZOp/rzJ8sOImG2yh9c
rnxgU6r488i/qiI4bu0PvsUhpJ0tgaosyB4eAelDviKYtQtpTWaY9PLSk7oanciF
38OmJsIaesKKGnixQRXAdi/OLK/S7TDWda7iY4QvdjnQ3QGhLBaZQXTf0B71XUA=
=KExh
-----END PGP SIGNATURE-----