View previous topic :: View next topic |
Author |
Message |
asm n00b
Joined: 10 Nov 2005 Posts: 1
|
Posted: Thu Nov 10, 2005 11:30 pm Post subject: [TIP] Starting bind in vserver enviroment |
|
|
It's quite simple.
Make an file named bcapabilities in /etc/vservers/<vserver name>
Example:
Code: | nano /etc/vservers/ns/bcapabilities |
Then add the following line into it:
Save (Ctrl-X in nano) and restart with:
Code: | vserver <vserver name> restart |
This capability actually gives the virtual host the following permisions:
Quote: | The CAP_SYS_RESOURCE capability
* Override resource limits. Set resource limits.
* Override quota limits.
* Override reserved space on ext2 filesystem
* NOTE: ext2 honors fsuid when checking for resource overrides, so you can override using fsuid too
* Override size restrictions on IPC message queues
* Allow more than 64hz interrupts from the real-time clock
* Override max number of consoles on console allocation
* Override max number of keymaps
|
Remarks:
* tested with vserver-sources 2.6.14-vserver-2.0.1
* tested with bind 9.3.1 and 9.3.2_beta2
* tested with threads enabled in bind
P.S.:
tip seen in linux-vserver.org mailing list
Full list of linux capabilities can be found here:
http://www.lids.org/lids-howto/node34.html |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|