<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://linux-vserver.at/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://linux-vserver.at/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Gebura</id>
		<title>Linux-VServer - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://linux-vserver.at/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Gebura"/>
		<link rel="alternate" type="text/html" href="http://linux-vserver.at/Special:Contributions/Gebura"/>
		<updated>2026-04-10T03:33:25Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.20.2</generator>

	<entry>
		<id>http://linux-vserver.at/VServer_Hosting</id>
		<title>VServer Hosting</title>
		<link rel="alternate" type="text/html" href="http://linux-vserver.at/VServer_Hosting"/>
				<updated>2010-11-20T19:44:31Z</updated>
		
		<summary type="html">&lt;p&gt;Gebura: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Here is a list of '''Companies''' utilizing '''Linux-VServer''' technology '''for Hosting'''...&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: 97%&amp;quot;&lt;br /&gt;
! style=&amp;quot;width: 25%&amp;quot; | Company &lt;br /&gt;
! rowspan=&amp;quot;2&amp;quot; | Description&lt;br /&gt;
|-&lt;br /&gt;
| Location&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
! [http://www.gigatux.com GigaTux ]&lt;br /&gt;
| [https://www.gigatux.com/virtual.php Virtual Private Servers]&lt;br /&gt;
* Linux VPSs based in Maidenhead, near London, UK&lt;br /&gt;
* Offers Debian Etch 2.6.18 Xen and Vserver kernel as a standard install option&lt;br /&gt;
* Also allows users to use custom kernels&lt;br /&gt;
* Users have commented on the stability of the Etch VServer kernel&lt;br /&gt;
|-&lt;br /&gt;
| Location - United Kingdom &lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
! [http://www.lvpshosting.com LVPSHosting Europe ]&lt;br /&gt;
&lt;br /&gt;
| [https://www.lvpshosting.com/vpshosting.html Virtual Private Server ]&lt;br /&gt;
* Cluster systems in Rotterdam, Netherlands&lt;br /&gt;
* Virtual Private Servers&lt;br /&gt;
*NEW - cPanel to all VPS packages can be added &lt;br /&gt;
* CentOS 4, CentOS 5, Fedora 10, Fedora 11, Fedora 12, Fedora 13, Ubuntu 8.04 LTS, Ubuntu 9.04, Debian Etch, Debian Lenny&lt;br /&gt;
* We have VPS starting from $18.85 (the cheapest you will get)&lt;br /&gt;
* Use Code 55CUT (at checkout) to get 55% less for your first month.&lt;br /&gt;
* Everything from mainstream adult allow, monitoring systems Nagios and Cacti, application hosting, blog hosting&lt;br /&gt;
* Costume VPS's available &lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Location - Europe - Netherlands&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.danec.net DANEC Germany]&lt;br /&gt;
Virtual Server Cluster Services&lt;br /&gt;
| [https://www.danec.net/customer DANEC Orderpanel]&lt;br /&gt;
* Cluster systems in Nuremberg and Frankfurt&lt;br /&gt;
* KVM and OpenVZ systems avaiable&lt;br /&gt;
* Virtual PBX systems&lt;br /&gt;
* Debian, CentOS and Unbutu avaiable&lt;br /&gt;
&lt;br /&gt;
* We have expanded our CoLocation services with&lt;br /&gt;
* VPS servers avaiable from 5 euro per month&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
! [http://rentahost.ch Switzerland]&lt;br /&gt;
Virtual Cluster Hosting&lt;br /&gt;
| [http://rentahost.ch rentAhost.ch]&lt;br /&gt;
* fully virtualized environment&lt;br /&gt;
* Build upon our own hardware production&lt;br /&gt;
* Using our wonderfull stable Linux Distribution [http://weblinux.ch WebLinux]&lt;br /&gt;
&lt;br /&gt;
* We offer specialized and stable Linux VServer Solutions&lt;br /&gt;
* flexible on its most, if needed, stable as rock&lt;br /&gt;
&lt;br /&gt;
* [http://prounix.ch proUnix.ch] - Consultant - Borovcnik Peter&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.dreamhostps.com/ DreamHost P.S.]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Debian servers&lt;br /&gt;
* Guaranteed CPU and RAM availability&lt;br /&gt;
* Web-based account administration&lt;br /&gt;
* On-the-fly web-based VServer configuration tools&lt;br /&gt;
|-&lt;br /&gt;
| Los Angeles, California, USA&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.wessexnetworks.com Wessex Networks]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Linux VServer Dedicated Managed Virtual Servers&lt;br /&gt;
* Debian-based / dedicated IP address&lt;br /&gt;
* RAID Storage, Additional Backup, 100Mbit Burst&lt;br /&gt;
* Host servers at [http://www.telecityredbus.com/uk/manchester Telecity Redbus Manchester]&lt;br /&gt;
|-&lt;br /&gt;
| United Kingdom&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.datakompaniet.no DataKompaniet]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* We offer affordable Linux VServers on a 100Mbit fiber Internet connection&lt;br /&gt;
* Gentoo based / firewalled / 2.6 kernel / private or (optional) public IP&lt;br /&gt;
* VServers have been offered since 2004&lt;br /&gt;
* Host servers are RAID5 equipped, and have historically had extremly good uptimes&lt;br /&gt;
* Host servers are located in a professional server room, in the same building as Uninett Norid (Norway's TLD (.no) Registry)&lt;br /&gt;
|-&lt;br /&gt;
| Norway&lt;br /&gt;
|-&lt;br /&gt;
! [http://lylix.net LYLIX]&lt;br /&gt;
VPS Hosting&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Virtual private servers based on '''2.6 kernel and 2.2.0 VServer'''.&lt;br /&gt;
* Several different userlands are available in 32 and 64 bit, including '''Gentoo, Debian, Slackware, Fedora Core, CentOS, Arch Linux, OpenSuSE'''.&lt;br /&gt;
* Custom images also accepted!&lt;br /&gt;
* '''Asterisk PBX and Trixbox supported''', including Meetme, MOH, and IAX.&lt;br /&gt;
* '''Three regional datacenter locations''': Northeast, West, and South USA.&lt;br /&gt;
* Each primary host backed by secondary host via '''high-availability data replication''' for emergency recovery&lt;br /&gt;
* '''&amp;quot;Dedicated&amp;quot; VPS service''' available for guaranteed minimum CPU&lt;br /&gt;
* Comprehensive customer portal w/ VPS management and statistics&lt;br /&gt;
|-&lt;br /&gt;
| United States of America&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.sns.ro SNS] &lt;br /&gt;
System &amp;amp; Network Solutions&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* We are using vservers in most of our setups and on hundreds of servers that offer public services - such as web, mail, dns, sql. &lt;br /&gt;
* We also do local evangelisation for the project (just because it kicks ass). &lt;br /&gt;
|-&lt;br /&gt;
| Romania&lt;br /&gt;
|-&lt;br /&gt;
! [http://netflow.ru Sky Media]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
|-&lt;br /&gt;
| Russia&lt;br /&gt;
|-&lt;br /&gt;
! [http://acewebhosting.com Ace WebHosting]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* We provide affordable virtual private servers. We also use vservers for shared hosting.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.tpg.com.au TPG Internet]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Currently using vservers for providing Gaming services.&lt;br /&gt;
|-&lt;br /&gt;
| Australia&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.expio.co.nz EXPIO Communications]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Specialising in Linux Virtual Server hosting solutions.&lt;br /&gt;
* Running the FreeVPS platform, which is based on linux-vserver, integrated with H-Sphere control panel.&lt;br /&gt;
* Providing virtual server hosting since 1998.&lt;br /&gt;
|-&lt;br /&gt;
| New Zealand&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.hostix.it HostiX]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Italian hosting provider has been offering the service since the early versions of vserver.&lt;br /&gt;
* Currenly using the stable version but has beta program for the new 2.6 kernels.&lt;br /&gt;
* High availability vservers on request too.&lt;br /&gt;
|-&lt;br /&gt;
| Italy&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.virtualinfrastructure.nl Virtualinfrastructure.nl]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Dutch consultancy and development company LinIT Technologies started a site about Linux vserver technology, also offering consultancy and support for Vserver.&lt;br /&gt;
|-&lt;br /&gt;
| The Netherlands&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.virtuaserver.com.br VirtuaServer]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Affordable virtual private servers in Brazil.&lt;br /&gt;
* The first company in Brazil to introduce vserver hosting.&lt;br /&gt;
* We offer our customers an exclusive control panel which allows them to monitor their servers, easily setup firewall rules and backup their data.&lt;br /&gt;
* Running kernel 2.6 and hosting Debian, Fedora, Mandrake, Slackware, Conectiva and CentOS virtual servers.&lt;br /&gt;
|-&lt;br /&gt;
| Brazil&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.neoisis.net www.neoisis.net]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
*  Internet service infrastructure and hosting: domain names, web sites, email systems, virtual servers. Bulk delivery for resellers. Custom-made solutions developed in cooperation with the client.&lt;br /&gt;
* Planning and strategy for ICT organization and leadership.&lt;br /&gt;
* Research and analysis.&lt;br /&gt;
* Tailored systems and programming services. Functional analysis, testing, debugging.&lt;br /&gt;
* Usability.&lt;br /&gt;
* General ICT consulting.&lt;br /&gt;
* Linux-VServer -based virtual servers available with several different distributions.&lt;br /&gt;
|-&lt;br /&gt;
| Finland&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.prosite.de/v_server/virtual_server_uebersicht.html Prosite V-Server]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* High performance v servers on systems with constant performance monitoring&lt;br /&gt;
* Leistungsfähige virtuelle Server mit ständiger Performance-Überwachung&lt;br /&gt;
* Guaranteed and scalable CPU and RAM use&lt;br /&gt;
* Web-based and automated v server administration&lt;br /&gt;
* Online web-based VServer configuration tools (image setup, Backup, Rescue)&lt;br /&gt;
|-&lt;br /&gt;
| Germany&lt;br /&gt;
|-&lt;br /&gt;
! [http://webhosting.lycos.co.uk/expert/comparevds/ Lycos Europe]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* active cooperation with VServer project since 2004&lt;br /&gt;
* High performance and quality VDS Solutions based on Linux-VServer Technology&lt;br /&gt;
* low prices and free trials&lt;br /&gt;
* Web Administration panel to monitor and use main functions of your Vserver&lt;br /&gt;
* Control Panel to monitor your account data etc.&lt;br /&gt;
* Hosted in professional certified datacenter in Germany&lt;br /&gt;
|-&lt;br /&gt;
| Germany&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.v-server.cz/ FinalTek.com]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Linux kernel 2.6 based vservers / Dual Intel P4 or Xeon platform.&lt;br /&gt;
* Providing payed vserver hosting. Starting from 9 EUR per month.&lt;br /&gt;
* Distributions: Debian, Centos, Redhat, Fedora, Ubuntu and others on demand.&lt;br /&gt;
* Start specs: 400MHz CPU, 192MB RAM, 5GB HDD space, unlimited traffic.&lt;br /&gt;
|-&lt;br /&gt;
| Germany&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.greatnet.de/cms/front_content.php?idcat=5 Greatnet VServer]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Linux V-Server from Greatnet with Controlpanel (Confixx) included&lt;br /&gt;
* Virtual Server start 5,99 Euro each month&lt;br /&gt;
* Distributions: Debian, Centos, Gentoo, Fedora, Ubuntu, OpenSuse, Slackware&lt;br /&gt;
* Controlpanel (rescue, reinstall, reboot, bandwith usage and many more)&lt;br /&gt;
|-&lt;br /&gt;
| Czech Republic&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.vserver-hosting.cz/ vServer-Hosting.cz]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Linux kernel 2.6&lt;br /&gt;
* Intel Xeon platform&lt;br /&gt;
* Distributions: Debian, Ubuntu and others&lt;br /&gt;
* Unlimited traffic&lt;br /&gt;
|-&lt;br /&gt;
| Czech Republic&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.ikse.net Ikse]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Ikse provide Virtual Dedicated Server on Debian and Fedora Core, empty, or with a free 'hosting pack'.&lt;br /&gt;
* Convert your existing &amp;quot;real Linux server&amp;quot; to Ikse Virtual Dedicated Server is also possible.&lt;br /&gt;
|-&lt;br /&gt;
| France&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.odsol.com ODSOL Premium Web Hosting]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* We specialise in [http://www.odsol.com ecommerce hosting] using virtual private server technology.&lt;br /&gt;
* We offer both Linux-vserver [http://www.odsol.com/virtual_private_server/ virtual dedicated server] and Virtuozzo based [http://www.odsol.com/virtual_private_server/ virtual private server], Cpanel and DirectAdmin control panel included.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.ip-cracks.ch ip-cracks GmbH]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* We offer Linux-VServers in different flavours to our customers. The product range starts with the Sandbox Private for residential customers up to the Sandbox Pro for business customers with high expectations. We have a set of new products in the queue which have a strong focus for the small and medium business companies as for an example a centralised DMS. Many services are based on the Linux-vServer technology.&lt;br /&gt;
|-&lt;br /&gt;
| Switzerland&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.acox.de/ ACOX Corporation]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* ACOX Corporation offers low-cost virtual servers based on the linux-vserver.org project.&lt;br /&gt;
|-&lt;br /&gt;
| Germany&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.winprofi.de/ WINPROFI]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* WINPROFI offers cheap virtual servers situated in Munich, Germany.&lt;br /&gt;
|-&lt;br /&gt;
| Germany&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.studio-51.net/ Studio 51]&lt;br /&gt;
Internet Solutions&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Studio 51 offers virtual servers based on the linux-vserver.org project.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.conexim.com.au/ Conexim web hosting]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Australian quality hosting company offering general hosting, virtual-servers and dedicated, managed hosting services.&lt;br /&gt;
|-&lt;br /&gt;
| Australia&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.liquidweb.com Liquid Web Inc.]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Liquid Web uses linux-vserver to offer CPanel based hosting services. &lt;br /&gt;
* We service hundreds of clients running linux-vserver in our Datacenter located in Lansing, Michigan (USA.)&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.electronicbox.net Electronicbox Communications]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* We are using Linux-VServer since 2001 and have test it under high load for mission critical services and Linux-VServer was definitively the best software.&lt;br /&gt;
* We are providing secure environment with vserver to companies around the world who look for always online servers.&lt;br /&gt;
* This is very important for us to have a good software who can process the high load of data we are having daily on the network.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.openhosting.com/ OpenHosting, Inc.]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Inexpensive VServer-based Virtual Servers.&lt;br /&gt;
* Sponsors of the [http://www.openvps.org/ OpenVPS] project.&lt;br /&gt;
* Now using kernel 2.6 and vserver 1.9.x!&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.dievo.org/ Digital Evolution] &lt;br /&gt;
(wargames.unix.se)&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Digital Evolution is the largest wargaming-site on the net, content-wise.&lt;br /&gt;
* We use vserver for all wargames (more than a dozen right now) and all other services as well.&lt;br /&gt;
* The stability, ease of use and performance is unrivaled, migrating our servers to vserver is most definately one of the best decisions we've ever made. It happily serves all people (who, after all, try to break our security) logged in on our shellbased wargames and shells out hunderedes of thousands connections to other services each day.&lt;br /&gt;
|-&lt;br /&gt;
| Sweden&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.nine.ch/ Nine Internet Solutions AG]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Offering VServers to customers&lt;br /&gt;
* We provide [http://nine.ch/vserver/ vServer] with own IP adress. Optionally you can choose between OpenSUSE, Fedora, Ubuntu, Gentoo or CentOS and 32bit. &lt;br /&gt;
* On request we install LAMP with Apache, MySQL and PHP as well as ispCP as control panel. &lt;br /&gt;
* 70 Dual-Xeon machines with several GB RAM running with Debian Lenny 64bit and linux-vserver-kernel.&lt;br /&gt;
* We use VServer as an alternative between the shared webhosting and (managed) dedicated server.&lt;br /&gt;
|-&lt;br /&gt;
| Switzerland&lt;br /&gt;
|-&lt;br /&gt;
! [http://vps.at clusterhosting mit system]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* highavailable vps-servers on cluster&lt;br /&gt;
* linux solutions  - system, analyse &amp;amp; programming&lt;br /&gt;
* docu &amp;amp; infos: http://vps.at&lt;br /&gt;
* running 3 machines ( Poweredge 4x400 / 4 gb Ram )&lt;br /&gt;
* #-&amp;gt; Linux pe-6300-3 2.6.18-1.2849.fc6.vs2.0.2.1 SMP&lt;br /&gt;
|-&lt;br /&gt;
| Austria&lt;br /&gt;
|-&lt;br /&gt;
! [http://AcornHosting.net Acorn Hosting]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Running 6 machines (Mostly P4 2GHz) with vservers, various kernel versions.  Since Jul '02.&lt;br /&gt;
* Customers love vservers because they can run any software version in them, instead of getting stuck with mychoices.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.tu-braunschweig.de/rz/services/sys/divdienst/vserver TU Braunschweig]&lt;br /&gt;
Rechenzentrum &lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Running two machines, mainly webserver for customers from inside the university.&lt;br /&gt;
* One additional machine for a number of services i refuse to run on standalone machines because it is wasted cpu-power.&lt;br /&gt;
* One machine for various tests and future developements.&lt;br /&gt;
|-&lt;br /&gt;
| Germany&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.lunarix.de LUNARIX]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* LUNARIX offers high quality hosting, including:&lt;br /&gt;
* Colocation, Dedicated Server, Tower Housing, 19&amp;quot; Housing, Webhosting, vServer, Webspace, Gameserver, Domains.&lt;br /&gt;
* We also setup / implement HA (high availability) cluster and load-balacing solutions.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.wwip.de W)W)ip High Quality Network]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Offering VServers to customers&lt;br /&gt;
* Offering PBVSC PHP Based Interface to administrate the vservers - PBVSC is back!&lt;br /&gt;
* Running since Nov. 2003 stable (Various versions, first we started with vs1.0 now we have 1.22 and kernel 2.4.24 running stable)&lt;br /&gt;
* We use VServer too as an alternative between the shared webhosting and serverhousing or rent dedicated server. Customers need a flexible and stable server surroundings and vserver from this projekt is the best we seen out there. Support and community plays hand in hand, not as any commercial products out there. Any other system servers are now in his own vserver on only one big server and it works great. Lower costs on server and therefore lower IT costing. Our IT leader and IT employee in private surroundings, test and use vserver with enthusiasm ;)&lt;br /&gt;
|-&lt;br /&gt;
| Germany&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.traffic4all.com Traffic4All.com]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Offering VServers to customers&lt;br /&gt;
* Server: AMD Athlon(tm) XP 2800+ - 1,5 GB DDR Ram&lt;br /&gt;
* Linux t4a3 2.4.23-vs1.22 #12 Thu Jan 1 16:11:12 CET 2004 i686 AMD Athlon(tm) XP 2800+ AuthenticAMD GNU/Linux&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.infoteck.qc.ca Infoteck Internet]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Offering VServers to customers&lt;br /&gt;
* Servers: Multiple HP LH4 (4 x XEON) and LH6000 (6 x XEON) w/ 4Gb RAM per servers.&lt;br /&gt;
* 1.2Tb of shared storage (RAID50)&lt;br /&gt;
* Backbone: 2 x 100Mbps backbone (Dual homing/BGP)&lt;br /&gt;
|-&lt;br /&gt;
| Turkey&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.natro.com Natro Web Hosting Services]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Offering secure Virtual Dedicated Server environments on Debian &amp;amp; Ubuntu hosts with several choices of guests including control panel integration&lt;br /&gt;
* Also providing linux hosting services on linux-vserver powered servers&lt;br /&gt;
* Clustering of mission critical services&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.omnis.com.tr Omnis Internet Services]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* We use it on our hosting servers, it gives extra security and managment for us.&lt;br /&gt;
* It is life saver product.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.zylon.net/ Zylon Internet Services]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* We use it on our hosting servers to provide an extra layer of security for our customers.&lt;br /&gt;
* We do not provide full vservers, we only provide 'standard' webhosting facilities.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.isp4p.net ISP4P]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* see also http://www.isp4player.net&lt;br /&gt;
* Allround ISP 4 Professionals&lt;br /&gt;
* Dedicated Server, Tower Housing, 19&amp;quot; Housing, Webhosting, vServer, vServer Reselling, Domains&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.rootbash.com Nauck IT KG]&lt;br /&gt;
(rootbash.com)&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
|-&lt;br /&gt;
| Germany&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.star-hosting.de Star-Hosting]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* see also http://www.vserver4free.de&lt;br /&gt;
* Get dedicated Servers, vServers and many more services with a very high traffic-contingent!!&lt;br /&gt;
|-&lt;br /&gt;
| Germany&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.planet-lab.org/ PlanetLab]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* PlanetLab is an open, globally distributed platform for developing, deploying and accessing planetary-scale network services.&lt;br /&gt;
* PlanetLab nodes support both short-term experiments and long-running network services.&lt;br /&gt;
* To date, more than 200 research projects at top academic institutions have used PlanetLab to experiment with such diverse topics as distributed storage, network mapping, peer-to-peer systems, distributed hash tables, and distributed query processing. See http://www.planet-lab.org/ for more details.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.dsvr.co.uk/ Designer Servers Ltd]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Offering effective Linux vserver-protected hosting to web professionals in the UK and beyond.&lt;br /&gt;
|-&lt;br /&gt;
| United Kingdom&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.rosehosting.com Rose Web Services L.L.C.]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Founded in April 2001, located in St. Louis, Missouri, USA, Rose Hosting provides all kinds of hosting solutions, including [http://www.rosehosting.com Linux VPS Hosting], based on Linux-VServer Technology.&lt;br /&gt;
|-&lt;br /&gt;
| USA&lt;br /&gt;
|-&lt;br /&gt;
! [http://sandino.net/ Sandino Networks]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Offering VServers to customers&lt;br /&gt;
* Dual core servers hardened with GR Security &lt;br /&gt;
* Choice of different operating systems: Gentoo, CentOS, Debian, Ubuntu, Slackware, Fedora....&lt;br /&gt;
* Choice of different vserver sizes&lt;br /&gt;
|-&lt;br /&gt;
| México&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.turnkeyinternet.net TurnKeyInternet.NET]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Coast to Coast Datacenter replicated Linux Virtual Private Server packages that are fully mirrored providing 100% uptime.&lt;br /&gt;
* Packages include fully managed service and support.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! [http://vlinux.biz vlinux.biz]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* vservers with RAID1/QuadCore/8GB host (512MB guaranteed)&lt;br /&gt;
* multihomed location in germany with 4x 1 Gbit uplink.&lt;br /&gt;
* Starting with 11.90 EUR / month for a 40GB Raid1 disk, 100 GB traffic p.M. with Gbit Connection (1 IP)&lt;br /&gt;
* this ISP also offers a large variety of [http://www.smart-weblications.de/rootserver/ root servers] and also offers server homing.&lt;br /&gt;
|-&lt;br /&gt;
| Germany&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.cityservers.net/ CityServers.Net]&lt;br /&gt;
Dedicated Servers&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Offering dedicated servers and economic Fedora vServers hosting to IT professionals in the EU.&lt;br /&gt;
* Packages include fully managed service and support.&lt;br /&gt;
|-&lt;br /&gt;
| Poland&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.vps2go.com/ VPS2GO]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Currenly using the stable version but will be upgraded to new 2.6 kernel + vs2.0 soon. &lt;br /&gt;
|-&lt;br /&gt;
| Japan&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.net-lab.net net-lab] &lt;br /&gt;
vserver/web-hosting&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Currently run our first testing host on kernel 2.6 + vs2.0 is running. Server Location: Frankfurt, near DE-CIX.&lt;br /&gt;
* Commercial offer for vserver accounts soon available.&lt;br /&gt;
|-&lt;br /&gt;
| Germany&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.stepping-stone.ch stepping stone GmbH]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Our whole ISP infrastructure (Mail, Web, Directories, ...) is built upon the 2.0 vServer series on the 2.6 Linux kernel, running Gentoo Linux.&lt;br /&gt;
* We provide [http://www.stepping-stone.ch/en/products/vserver/linux-vserver-starter/ Gentoo and Debian vServers].&lt;br /&gt;
* iptables/netfilter rules are implemented free of charge on the carrier as part of our service.&lt;br /&gt;
* As a speciality, you can run [http://www.asterisk.org/ Asterisk] in our vServers! &lt;br /&gt;
* Furthermore we're specialized in providing high availability solutions in combination with [[Welcome_to_Linux-VServer.org|Linux VServer]] and [http://www.drbd.org/ DRBD].&lt;br /&gt;
|-&lt;br /&gt;
| Switzerland&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.vroutix.com vRoutix]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Offering kernel 2.6 Vservers in Argentina. Compaq Xeon/Sun Ultrasparc Servers (with Raid1).&lt;br /&gt;
* Very affordable prices.&lt;br /&gt;
* Starter: Very low price !&lt;br /&gt;
* Lite: Low end users&lt;br /&gt;
* Standard: small bussiness&lt;br /&gt;
* Pro: mid-size bussiness&lt;br /&gt;
* Control panel to monitor your vServer performance, processes, storage, traffic, account data, etc.&lt;br /&gt;
* vServers demo accounts for Free. Try out one of our vServers !!!.&lt;br /&gt;
* Now with iptables support inside your vServer !!!&lt;br /&gt;
|-&lt;br /&gt;
| Argentina&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.mpexnetworks.de MPeXnetworks] &lt;br /&gt;
MPeX.net GmbH&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* High performance virtual servers on RAID1 Hosts&lt;br /&gt;
* Leistungsfähige virtuelle Server für Ihr Unternehmen.&lt;br /&gt;
* MPeXnetworks is offering three vserver packets.&lt;br /&gt;
* Our systems have a low customer density, resulting in more power for everyone.&lt;br /&gt;
* Nagios monitoring and free e-mail notification is included.&lt;br /&gt;
* All VServer offers include a 30 day money-back-guarantee.&lt;br /&gt;
|-&lt;br /&gt;
| Berlin/Germany&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.sentiensystems.com SentienSystems]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* High performance, quality, and secure Virtual Private Servers&lt;br /&gt;
* SentienSystems(.com/.net) proudly utilizes and promotes open source software such as Linux-VServer on the secure and performance-intensive Gentoo Linux platform.&lt;br /&gt;
|-&lt;br /&gt;
| Austin, Texas, USA&lt;br /&gt;
|-&lt;br /&gt;
! [http://new.pipni.cz/vindex.phtml PIPNI s.r.o]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Linux 2.6 Vservers on Intel Xeon platform&lt;br /&gt;
* Providing free and payed vServer hosting. Freehosting has no guarantee, payed are guaranted.&lt;br /&gt;
* You can select from Slackware, Gentoo or Debian hosting.&lt;br /&gt;
* Freehosting specs: 333 MHz CPU, 128 MB RAM, 2 GB HDD space, 10 GB traffic.&lt;br /&gt;
|-&lt;br /&gt;
| Czech Republic&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.croup.de croup.de]&lt;br /&gt;
crossmedia solutions&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* We provide individual VServer installations for our customers in Germany using Gentoo Linux.&lt;br /&gt;
|-&lt;br /&gt;
| Germany&lt;br /&gt;
|-&lt;br /&gt;
! [http://hosting.media72.co.uk Media72 hosting]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Red Hat Enterprise Linux solutions&lt;br /&gt;
* We provide custom hosting solutions starting from £2.08 a year. Virus and spam protection as standard on all accounts.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| United Kingdom&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.centrodedatos.com Centrodedatos]&lt;br /&gt;
Dedicated Servers / Colocation / Housing&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Dedicated Servers and Server Clusters based on Linux VServer. Totally personalized solutions.&lt;br /&gt;
* Servidores Dedicados y Clusters de Servidores basados en Linux VServer. Soluciones a medida.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Spain - Barcelona.&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.condalis.es Condalis]&lt;br /&gt;
VPS and Shared Hosting&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Centos, Debian, Fedora, Gentoo, Mandrake, Redhat, Slackware, Suse, Ubuntu in your VPS Linux-VServer to web professionals in Spain.&lt;br /&gt;
* Centos 5 + WHM/Cpanel + RVSkin + Fantastico available for Hosting resellers!&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Spain - Barcelona.&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.upfrontsystems.co.za/hosting/ploneserver Upfront Systems]&lt;br /&gt;
| rowspan=&amp;quot;2&amp;quot; |&lt;br /&gt;
* Servers in Germany and South Africa&lt;br /&gt;
* Debian stable hosts based on linux vserver&lt;br /&gt;
* Dedicated (but not limited to) Zope and Plone hosting&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| South Africa&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.notjusthosting.com NotJustHosting]&lt;br /&gt;
NotJustHosting&lt;br /&gt;
| rowspan=&amp;quot;2&amp;quot; |&lt;br /&gt;
* Servers in Germany&lt;br /&gt;
* Debian stable hosts based on linux vserver, individual solutions&lt;br /&gt;
* Fully managed and self-managed packages&lt;br /&gt;
* Ruby on Rails, Zope&lt;br /&gt;
|-&lt;br /&gt;
| Germany - Berlin&lt;br /&gt;
|-&lt;br /&gt;
! [http://vege.net/vserver vege.net GmbH]&lt;br /&gt;
web-hosting / vserver &lt;br /&gt;
| rowspan=&amp;quot;2&amp;quot; |&lt;br /&gt;
* Linux VServer hosting including OpenVCP, DRBD, LVM snapshots&lt;br /&gt;
* Servers located in Germany&lt;br /&gt;
|-&lt;br /&gt;
| Germany - Bremen&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
! [http://www.netcup.de/vserver/ netcup vServer]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Guaranteed CPU and RAM availability&lt;br /&gt;
* Web-based account administration&lt;br /&gt;
* On-the-fly web-based VServer configuration tools&lt;br /&gt;
* Prepared Images with SysCP or Confixx&lt;br /&gt;
* Rescue-System&lt;br /&gt;
* Firewall&lt;br /&gt;
* Backup- / Snapshot-System (Backup / Restore per Click)&lt;br /&gt;
|-&lt;br /&gt;
| Germany - Karlsruhe&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
! [http://www.vserver.si Vserver.si]&lt;br /&gt;
| rowspan=&amp;quot;2&amp;quot; |&lt;br /&gt;
* Virtual Private Servers&lt;br /&gt;
* Managed Servers&lt;br /&gt;
* Hosting&lt;br /&gt;
* Domain registration&lt;br /&gt;
* Colocation&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Slovenia&lt;br /&gt;
|- &lt;br /&gt;
&lt;br /&gt;
! [http://www.alvotech.de/vserver/ Alvotech GmbH - vServer]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Guaranteed RAM and CPU availability&lt;br /&gt;
* Fully Online administration&lt;br /&gt;
* On-the-fly web-based VServer configuration tools &lt;br /&gt;
* Prepared Images with Confixx&lt;br /&gt;
* Firewall&lt;br /&gt;
|-&lt;br /&gt;
| Germany - Düsseldorf&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
! [http://www.topnetworks.de Topnetworks e.K.]&lt;br /&gt;
| [http://www.topnetworks.de/vserver.html Linux VServer]&lt;br /&gt;
* Linux Kernel 2.6 based vServers&lt;br /&gt;
* Fully Online administration&lt;br /&gt;
* Hosted in professional certified datacenter in Germany&lt;br /&gt;
* Distributions: Debian, Ubuntu, RedHat, Fedora Core, CentOS, Asterisk&lt;br /&gt;
* Firewall&lt;br /&gt;
* Providing payed vserver hosting. Starting from 1.99 EUR per month.&lt;br /&gt;
* Supported Linux VServer project since 2007&lt;br /&gt;
|-&lt;br /&gt;
| Germany - Düsseldorf&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
! [http://www.toile-libre.org Toile-libre ! ]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Non profit Organization offering Vservers with 256Mo of RAM, 10Go of Disk, 1 IPv4 address (IPv6 planned), a guaranteed part of the CPUs ...&lt;br /&gt;
* ... at free price (you decide how much you want/can pay) !&lt;br /&gt;
* Hosted by http://as48920.net in France ; Contact us by mail: contact@toile-libre.org ;&lt;br /&gt;
|-&lt;br /&gt;
| France&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Gebura</name></author>	</entry>

	<entry>
		<id>http://linux-vserver.at/VServer_Hosting</id>
		<title>VServer Hosting</title>
		<link rel="alternate" type="text/html" href="http://linux-vserver.at/VServer_Hosting"/>
				<updated>2010-11-20T19:42:37Z</updated>
		
		<summary type="html">&lt;p&gt;Gebura: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Here is a list of '''Companies''' utilizing '''Linux-VServer''' technology '''for Hosting'''...&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: 97%&amp;quot;&lt;br /&gt;
! style=&amp;quot;width: 25%&amp;quot; | Company &lt;br /&gt;
! rowspan=&amp;quot;2&amp;quot; | Description&lt;br /&gt;
|-&lt;br /&gt;
| Location&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
! [http://www.gigatux.com GigaTux ]&lt;br /&gt;
| [https://www.gigatux.com/virtual.php Virtual Private Servers]&lt;br /&gt;
* Linux VPSs based in Maidenhead, near London, UK&lt;br /&gt;
* Offers Debian Etch 2.6.18 Xen and Vserver kernel as a standard install option&lt;br /&gt;
* Also allows users to use custom kernels&lt;br /&gt;
* Users have commented on the stability of the Etch VServer kernel&lt;br /&gt;
|-&lt;br /&gt;
| Location - United Kingdom &lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
! [http://www.lvpshosting.com LVPSHosting Europe ]&lt;br /&gt;
&lt;br /&gt;
| [https://www.lvpshosting.com/vpshosting.html Virtual Private Server ]&lt;br /&gt;
* Cluster systems in Rotterdam, Netherlands&lt;br /&gt;
* Virtual Private Servers&lt;br /&gt;
*NEW - cPanel to all VPS packages can be added &lt;br /&gt;
* CentOS 4, CentOS 5, Fedora 10, Fedora 11, Fedora 12, Fedora 13, Ubuntu 8.04 LTS, Ubuntu 9.04, Debian Etch, Debian Lenny&lt;br /&gt;
* We have VPS starting from $18.85 (the cheapest you will get)&lt;br /&gt;
* Use Code 55CUT (at checkout) to get 55% less for your first month.&lt;br /&gt;
* Everything from mainstream adult allow, monitoring systems Nagios and Cacti, application hosting, blog hosting&lt;br /&gt;
* Costume VPS's available &lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Location - Europe - Netherlands&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.danec.net DANEC Germany]&lt;br /&gt;
Virtual Server Cluster Services&lt;br /&gt;
| [https://www.danec.net/customer DANEC Orderpanel]&lt;br /&gt;
* Cluster systems in Nuremberg and Frankfurt&lt;br /&gt;
* KVM and OpenVZ systems avaiable&lt;br /&gt;
* Virtual PBX systems&lt;br /&gt;
* Debian, CentOS and Unbutu avaiable&lt;br /&gt;
&lt;br /&gt;
* We have expanded our CoLocation services with&lt;br /&gt;
* VPS servers avaiable from 5 euro per month&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
! [http://rentahost.ch Switzerland]&lt;br /&gt;
Virtual Cluster Hosting&lt;br /&gt;
| [http://rentahost.ch rentAhost.ch]&lt;br /&gt;
* fully virtualized environment&lt;br /&gt;
* Build upon our own hardware production&lt;br /&gt;
* Using our wonderfull stable Linux Distribution [http://weblinux.ch WebLinux]&lt;br /&gt;
&lt;br /&gt;
* We offer specialized and stable Linux VServer Solutions&lt;br /&gt;
* flexible on its most, if needed, stable as rock&lt;br /&gt;
&lt;br /&gt;
* [http://prounix.ch proUnix.ch] - Consultant - Borovcnik Peter&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.dreamhostps.com/ DreamHost P.S.]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Debian servers&lt;br /&gt;
* Guaranteed CPU and RAM availability&lt;br /&gt;
* Web-based account administration&lt;br /&gt;
* On-the-fly web-based VServer configuration tools&lt;br /&gt;
|-&lt;br /&gt;
| Los Angeles, California, USA&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.wessexnetworks.com Wessex Networks]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Linux VServer Dedicated Managed Virtual Servers&lt;br /&gt;
* Debian-based / dedicated IP address&lt;br /&gt;
* RAID Storage, Additional Backup, 100Mbit Burst&lt;br /&gt;
* Host servers at [http://www.telecityredbus.com/uk/manchester Telecity Redbus Manchester]&lt;br /&gt;
|-&lt;br /&gt;
| United Kingdom&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.datakompaniet.no DataKompaniet]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* We offer affordable Linux VServers on a 100Mbit fiber Internet connection&lt;br /&gt;
* Gentoo based / firewalled / 2.6 kernel / private or (optional) public IP&lt;br /&gt;
* VServers have been offered since 2004&lt;br /&gt;
* Host servers are RAID5 equipped, and have historically had extremly good uptimes&lt;br /&gt;
* Host servers are located in a professional server room, in the same building as Uninett Norid (Norway's TLD (.no) Registry)&lt;br /&gt;
|-&lt;br /&gt;
| Norway&lt;br /&gt;
|-&lt;br /&gt;
! [http://lylix.net LYLIX]&lt;br /&gt;
VPS Hosting&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Virtual private servers based on '''2.6 kernel and 2.2.0 VServer'''.&lt;br /&gt;
* Several different userlands are available in 32 and 64 bit, including '''Gentoo, Debian, Slackware, Fedora Core, CentOS, Arch Linux, OpenSuSE'''.&lt;br /&gt;
* Custom images also accepted!&lt;br /&gt;
* '''Asterisk PBX and Trixbox supported''', including Meetme, MOH, and IAX.&lt;br /&gt;
* '''Three regional datacenter locations''': Northeast, West, and South USA.&lt;br /&gt;
* Each primary host backed by secondary host via '''high-availability data replication''' for emergency recovery&lt;br /&gt;
* '''&amp;quot;Dedicated&amp;quot; VPS service''' available for guaranteed minimum CPU&lt;br /&gt;
* Comprehensive customer portal w/ VPS management and statistics&lt;br /&gt;
|-&lt;br /&gt;
| United States of America&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.sns.ro SNS] &lt;br /&gt;
System &amp;amp; Network Solutions&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* We are using vservers in most of our setups and on hundreds of servers that offer public services - such as web, mail, dns, sql. &lt;br /&gt;
* We also do local evangelisation for the project (just because it kicks ass). &lt;br /&gt;
|-&lt;br /&gt;
| Romania&lt;br /&gt;
|-&lt;br /&gt;
! [http://netflow.ru Sky Media]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
|-&lt;br /&gt;
| Russia&lt;br /&gt;
|-&lt;br /&gt;
! [http://acewebhosting.com Ace WebHosting]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* We provide affordable virtual private servers. We also use vservers for shared hosting.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.tpg.com.au TPG Internet]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Currently using vservers for providing Gaming services.&lt;br /&gt;
|-&lt;br /&gt;
| Australia&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.expio.co.nz EXPIO Communications]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Specialising in Linux Virtual Server hosting solutions.&lt;br /&gt;
* Running the FreeVPS platform, which is based on linux-vserver, integrated with H-Sphere control panel.&lt;br /&gt;
* Providing virtual server hosting since 1998.&lt;br /&gt;
|-&lt;br /&gt;
| New Zealand&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.hostix.it HostiX]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Italian hosting provider has been offering the service since the early versions of vserver.&lt;br /&gt;
* Currenly using the stable version but has beta program for the new 2.6 kernels.&lt;br /&gt;
* High availability vservers on request too.&lt;br /&gt;
|-&lt;br /&gt;
| Italy&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.virtualinfrastructure.nl Virtualinfrastructure.nl]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Dutch consultancy and development company LinIT Technologies started a site about Linux vserver technology, also offering consultancy and support for Vserver.&lt;br /&gt;
|-&lt;br /&gt;
| The Netherlands&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.virtuaserver.com.br VirtuaServer]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Affordable virtual private servers in Brazil.&lt;br /&gt;
* The first company in Brazil to introduce vserver hosting.&lt;br /&gt;
* We offer our customers an exclusive control panel which allows them to monitor their servers, easily setup firewall rules and backup their data.&lt;br /&gt;
* Running kernel 2.6 and hosting Debian, Fedora, Mandrake, Slackware, Conectiva and CentOS virtual servers.&lt;br /&gt;
|-&lt;br /&gt;
| Brazil&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.neoisis.net www.neoisis.net]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
*  Internet service infrastructure and hosting: domain names, web sites, email systems, virtual servers. Bulk delivery for resellers. Custom-made solutions developed in cooperation with the client.&lt;br /&gt;
* Planning and strategy for ICT organization and leadership.&lt;br /&gt;
* Research and analysis.&lt;br /&gt;
* Tailored systems and programming services. Functional analysis, testing, debugging.&lt;br /&gt;
* Usability.&lt;br /&gt;
* General ICT consulting.&lt;br /&gt;
* Linux-VServer -based virtual servers available with several different distributions.&lt;br /&gt;
|-&lt;br /&gt;
| Finland&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.prosite.de/v_server/virtual_server_uebersicht.html Prosite V-Server]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* High performance v servers on systems with constant performance monitoring&lt;br /&gt;
* Leistungsfähige virtuelle Server mit ständiger Performance-Überwachung&lt;br /&gt;
* Guaranteed and scalable CPU and RAM use&lt;br /&gt;
* Web-based and automated v server administration&lt;br /&gt;
* Online web-based VServer configuration tools (image setup, Backup, Rescue)&lt;br /&gt;
|-&lt;br /&gt;
| Germany&lt;br /&gt;
|-&lt;br /&gt;
! [http://webhosting.lycos.co.uk/expert/comparevds/ Lycos Europe]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* active cooperation with VServer project since 2004&lt;br /&gt;
* High performance and quality VDS Solutions based on Linux-VServer Technology&lt;br /&gt;
* low prices and free trials&lt;br /&gt;
* Web Administration panel to monitor and use main functions of your Vserver&lt;br /&gt;
* Control Panel to monitor your account data etc.&lt;br /&gt;
* Hosted in professional certified datacenter in Germany&lt;br /&gt;
|-&lt;br /&gt;
| Germany&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.v-server.cz/ FinalTek.com]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Linux kernel 2.6 based vservers / Dual Intel P4 or Xeon platform.&lt;br /&gt;
* Providing payed vserver hosting. Starting from 9 EUR per month.&lt;br /&gt;
* Distributions: Debian, Centos, Redhat, Fedora, Ubuntu and others on demand.&lt;br /&gt;
* Start specs: 400MHz CPU, 192MB RAM, 5GB HDD space, unlimited traffic.&lt;br /&gt;
|-&lt;br /&gt;
| Germany&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.greatnet.de/cms/front_content.php?idcat=5 Greatnet VServer]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Linux V-Server from Greatnet with Controlpanel (Confixx) included&lt;br /&gt;
* Virtual Server start 5,99 Euro each month&lt;br /&gt;
* Distributions: Debian, Centos, Gentoo, Fedora, Ubuntu, OpenSuse, Slackware&lt;br /&gt;
* Controlpanel (rescue, reinstall, reboot, bandwith usage and many more)&lt;br /&gt;
|-&lt;br /&gt;
| Czech Republic&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.vserver-hosting.cz/ vServer-Hosting.cz]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Linux kernel 2.6&lt;br /&gt;
* Intel Xeon platform&lt;br /&gt;
* Distributions: Debian, Ubuntu and others&lt;br /&gt;
* Unlimited traffic&lt;br /&gt;
|-&lt;br /&gt;
| Czech Republic&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.ikse.net Ikse]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Ikse provide Virtual Dedicated Server on Debian and Fedora Core, empty, or with a free 'hosting pack'.&lt;br /&gt;
* Convert your existing &amp;quot;real Linux server&amp;quot; to Ikse Virtual Dedicated Server is also possible.&lt;br /&gt;
|-&lt;br /&gt;
| France&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.odsol.com ODSOL Premium Web Hosting]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* We specialise in [http://www.odsol.com ecommerce hosting] using virtual private server technology.&lt;br /&gt;
* We offer both Linux-vserver [http://www.odsol.com/virtual_private_server/ virtual dedicated server] and Virtuozzo based [http://www.odsol.com/virtual_private_server/ virtual private server], Cpanel and DirectAdmin control panel included.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.ip-cracks.ch ip-cracks GmbH]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* We offer Linux-VServers in different flavours to our customers. The product range starts with the Sandbox Private for residential customers up to the Sandbox Pro for business customers with high expectations. We have a set of new products in the queue which have a strong focus for the small and medium business companies as for an example a centralised DMS. Many services are based on the Linux-vServer technology.&lt;br /&gt;
|-&lt;br /&gt;
| Switzerland&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.acox.de/ ACOX Corporation]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* ACOX Corporation offers low-cost virtual servers based on the linux-vserver.org project.&lt;br /&gt;
|-&lt;br /&gt;
| Germany&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.winprofi.de/ WINPROFI]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* WINPROFI offers cheap virtual servers situated in Munich, Germany.&lt;br /&gt;
|-&lt;br /&gt;
| Germany&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.studio-51.net/ Studio 51]&lt;br /&gt;
Internet Solutions&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Studio 51 offers virtual servers based on the linux-vserver.org project.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.conexim.com.au/ Conexim web hosting]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Australian quality hosting company offering general hosting, virtual-servers and dedicated, managed hosting services.&lt;br /&gt;
|-&lt;br /&gt;
| Australia&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.liquidweb.com Liquid Web Inc.]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Liquid Web uses linux-vserver to offer CPanel based hosting services. &lt;br /&gt;
* We service hundreds of clients running linux-vserver in our Datacenter located in Lansing, Michigan (USA.)&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.electronicbox.net Electronicbox Communications]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* We are using Linux-VServer since 2001 and have test it under high load for mission critical services and Linux-VServer was definitively the best software.&lt;br /&gt;
* We are providing secure environment with vserver to companies around the world who look for always online servers.&lt;br /&gt;
* This is very important for us to have a good software who can process the high load of data we are having daily on the network.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.openhosting.com/ OpenHosting, Inc.]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Inexpensive VServer-based Virtual Servers.&lt;br /&gt;
* Sponsors of the [http://www.openvps.org/ OpenVPS] project.&lt;br /&gt;
* Now using kernel 2.6 and vserver 1.9.x!&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.dievo.org/ Digital Evolution] &lt;br /&gt;
(wargames.unix.se)&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Digital Evolution is the largest wargaming-site on the net, content-wise.&lt;br /&gt;
* We use vserver for all wargames (more than a dozen right now) and all other services as well.&lt;br /&gt;
* The stability, ease of use and performance is unrivaled, migrating our servers to vserver is most definately one of the best decisions we've ever made. It happily serves all people (who, after all, try to break our security) logged in on our shellbased wargames and shells out hunderedes of thousands connections to other services each day.&lt;br /&gt;
|-&lt;br /&gt;
| Sweden&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.nine.ch/ Nine Internet Solutions AG]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Offering VServers to customers&lt;br /&gt;
* We provide [http://nine.ch/vserver/ vServer] with own IP adress. Optionally you can choose between OpenSUSE, Fedora, Ubuntu, Gentoo or CentOS and 32bit. &lt;br /&gt;
* On request we install LAMP with Apache, MySQL and PHP as well as ispCP as control panel. &lt;br /&gt;
* 70 Dual-Xeon machines with several GB RAM running with Debian Lenny 64bit and linux-vserver-kernel.&lt;br /&gt;
* We use VServer as an alternative between the shared webhosting and (managed) dedicated server.&lt;br /&gt;
|-&lt;br /&gt;
| Switzerland&lt;br /&gt;
|-&lt;br /&gt;
! [http://vps.at clusterhosting mit system]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* highavailable vps-servers on cluster&lt;br /&gt;
* linux solutions  - system, analyse &amp;amp; programming&lt;br /&gt;
* docu &amp;amp; infos: http://vps.at&lt;br /&gt;
* running 3 machines ( Poweredge 4x400 / 4 gb Ram )&lt;br /&gt;
* #-&amp;gt; Linux pe-6300-3 2.6.18-1.2849.fc6.vs2.0.2.1 SMP&lt;br /&gt;
|-&lt;br /&gt;
| Austria&lt;br /&gt;
|-&lt;br /&gt;
! [http://AcornHosting.net Acorn Hosting]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Running 6 machines (Mostly P4 2GHz) with vservers, various kernel versions.  Since Jul '02.&lt;br /&gt;
* Customers love vservers because they can run any software version in them, instead of getting stuck with mychoices.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.tu-braunschweig.de/rz/services/sys/divdienst/vserver TU Braunschweig]&lt;br /&gt;
Rechenzentrum &lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Running two machines, mainly webserver for customers from inside the university.&lt;br /&gt;
* One additional machine for a number of services i refuse to run on standalone machines because it is wasted cpu-power.&lt;br /&gt;
* One machine for various tests and future developements.&lt;br /&gt;
|-&lt;br /&gt;
| Germany&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.lunarix.de LUNARIX]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* LUNARIX offers high quality hosting, including:&lt;br /&gt;
* Colocation, Dedicated Server, Tower Housing, 19&amp;quot; Housing, Webhosting, vServer, Webspace, Gameserver, Domains.&lt;br /&gt;
* We also setup / implement HA (high availability) cluster and load-balacing solutions.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.wwip.de W)W)ip High Quality Network]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Offering VServers to customers&lt;br /&gt;
* Offering PBVSC PHP Based Interface to administrate the vservers - PBVSC is back!&lt;br /&gt;
* Running since Nov. 2003 stable (Various versions, first we started with vs1.0 now we have 1.22 and kernel 2.4.24 running stable)&lt;br /&gt;
* We use VServer too as an alternative between the shared webhosting and serverhousing or rent dedicated server. Customers need a flexible and stable server surroundings and vserver from this projekt is the best we seen out there. Support and community plays hand in hand, not as any commercial products out there. Any other system servers are now in his own vserver on only one big server and it works great. Lower costs on server and therefore lower IT costing. Our IT leader and IT employee in private surroundings, test and use vserver with enthusiasm ;)&lt;br /&gt;
|-&lt;br /&gt;
| Germany&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.traffic4all.com Traffic4All.com]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Offering VServers to customers&lt;br /&gt;
* Server: AMD Athlon(tm) XP 2800+ - 1,5 GB DDR Ram&lt;br /&gt;
* Linux t4a3 2.4.23-vs1.22 #12 Thu Jan 1 16:11:12 CET 2004 i686 AMD Athlon(tm) XP 2800+ AuthenticAMD GNU/Linux&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.infoteck.qc.ca Infoteck Internet]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Offering VServers to customers&lt;br /&gt;
* Servers: Multiple HP LH4 (4 x XEON) and LH6000 (6 x XEON) w/ 4Gb RAM per servers.&lt;br /&gt;
* 1.2Tb of shared storage (RAID50)&lt;br /&gt;
* Backbone: 2 x 100Mbps backbone (Dual homing/BGP)&lt;br /&gt;
|-&lt;br /&gt;
| Turkey&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.natro.com Natro Web Hosting Services]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Offering secure Virtual Dedicated Server environments on Debian &amp;amp; Ubuntu hosts with several choices of guests including control panel integration&lt;br /&gt;
* Also providing linux hosting services on linux-vserver powered servers&lt;br /&gt;
* Clustering of mission critical services&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.omnis.com.tr Omnis Internet Services]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* We use it on our hosting servers, it gives extra security and managment for us.&lt;br /&gt;
* It is life saver product.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.zylon.net/ Zylon Internet Services]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* We use it on our hosting servers to provide an extra layer of security for our customers.&lt;br /&gt;
* We do not provide full vservers, we only provide 'standard' webhosting facilities.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.isp4p.net ISP4P]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* see also http://www.isp4player.net&lt;br /&gt;
* Allround ISP 4 Professionals&lt;br /&gt;
* Dedicated Server, Tower Housing, 19&amp;quot; Housing, Webhosting, vServer, vServer Reselling, Domains&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.rootbash.com Nauck IT KG]&lt;br /&gt;
(rootbash.com)&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
|-&lt;br /&gt;
| Germany&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.star-hosting.de Star-Hosting]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* see also http://www.vserver4free.de&lt;br /&gt;
* Get dedicated Servers, vServers and many more services with a very high traffic-contingent!!&lt;br /&gt;
|-&lt;br /&gt;
| Germany&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.planet-lab.org/ PlanetLab]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* PlanetLab is an open, globally distributed platform for developing, deploying and accessing planetary-scale network services.&lt;br /&gt;
* PlanetLab nodes support both short-term experiments and long-running network services.&lt;br /&gt;
* To date, more than 200 research projects at top academic institutions have used PlanetLab to experiment with such diverse topics as distributed storage, network mapping, peer-to-peer systems, distributed hash tables, and distributed query processing. See http://www.planet-lab.org/ for more details.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.dsvr.co.uk/ Designer Servers Ltd]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Offering effective Linux vserver-protected hosting to web professionals in the UK and beyond.&lt;br /&gt;
|-&lt;br /&gt;
| United Kingdom&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.rosehosting.com Rose Web Services L.L.C.]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Founded in April 2001, located in St. Louis, Missouri, USA, Rose Hosting provides all kinds of hosting solutions, including [http://www.rosehosting.com Linux VPS Hosting], based on Linux-VServer Technology.&lt;br /&gt;
|-&lt;br /&gt;
| USA&lt;br /&gt;
|-&lt;br /&gt;
! [http://sandino.net/ Sandino Networks]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Offering VServers to customers&lt;br /&gt;
* Dual core servers hardened with GR Security &lt;br /&gt;
* Choice of different operating systems: Gentoo, CentOS, Debian, Ubuntu, Slackware, Fedora....&lt;br /&gt;
* Choice of different vserver sizes&lt;br /&gt;
|-&lt;br /&gt;
| México&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.turnkeyinternet.net TurnKeyInternet.NET]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Coast to Coast Datacenter replicated Linux Virtual Private Server packages that are fully mirrored providing 100% uptime.&lt;br /&gt;
* Packages include fully managed service and support.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! [http://vlinux.biz vlinux.biz]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* vservers with RAID1/QuadCore/8GB host (512MB guaranteed)&lt;br /&gt;
* multihomed location in germany with 4x 1 Gbit uplink.&lt;br /&gt;
* Starting with 11.90 EUR / month for a 40GB Raid1 disk, 100 GB traffic p.M. with Gbit Connection (1 IP)&lt;br /&gt;
* this ISP also offers a large variety of [http://www.smart-weblications.de/rootserver/ root servers] and also offers server homing.&lt;br /&gt;
|-&lt;br /&gt;
| Germany&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.cityservers.net/ CityServers.Net]&lt;br /&gt;
Dedicated Servers&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Offering dedicated servers and economic Fedora vServers hosting to IT professionals in the EU.&lt;br /&gt;
* Packages include fully managed service and support.&lt;br /&gt;
|-&lt;br /&gt;
| Poland&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.vps2go.com/ VPS2GO]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Currenly using the stable version but will be upgraded to new 2.6 kernel + vs2.0 soon. &lt;br /&gt;
|-&lt;br /&gt;
| Japan&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.net-lab.net net-lab] &lt;br /&gt;
vserver/web-hosting&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Currently run our first testing host on kernel 2.6 + vs2.0 is running. Server Location: Frankfurt, near DE-CIX.&lt;br /&gt;
* Commercial offer for vserver accounts soon available.&lt;br /&gt;
|-&lt;br /&gt;
| Germany&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.stepping-stone.ch stepping stone GmbH]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Our whole ISP infrastructure (Mail, Web, Directories, ...) is built upon the 2.0 vServer series on the 2.6 Linux kernel, running Gentoo Linux.&lt;br /&gt;
* We provide [http://www.stepping-stone.ch/en/products/vserver/linux-vserver-starter/ Gentoo and Debian vServers].&lt;br /&gt;
* iptables/netfilter rules are implemented free of charge on the carrier as part of our service.&lt;br /&gt;
* As a speciality, you can run [http://www.asterisk.org/ Asterisk] in our vServers! &lt;br /&gt;
* Furthermore we're specialized in providing high availability solutions in combination with [[Welcome_to_Linux-VServer.org|Linux VServer]] and [http://www.drbd.org/ DRBD].&lt;br /&gt;
|-&lt;br /&gt;
| Switzerland&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.vroutix.com vRoutix]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Offering kernel 2.6 Vservers in Argentina. Compaq Xeon/Sun Ultrasparc Servers (with Raid1).&lt;br /&gt;
* Very affordable prices.&lt;br /&gt;
* Starter: Very low price !&lt;br /&gt;
* Lite: Low end users&lt;br /&gt;
* Standard: small bussiness&lt;br /&gt;
* Pro: mid-size bussiness&lt;br /&gt;
* Control panel to monitor your vServer performance, processes, storage, traffic, account data, etc.&lt;br /&gt;
* vServers demo accounts for Free. Try out one of our vServers !!!.&lt;br /&gt;
* Now with iptables support inside your vServer !!!&lt;br /&gt;
|-&lt;br /&gt;
| Argentina&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.mpexnetworks.de MPeXnetworks] &lt;br /&gt;
MPeX.net GmbH&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* High performance virtual servers on RAID1 Hosts&lt;br /&gt;
* Leistungsfähige virtuelle Server für Ihr Unternehmen.&lt;br /&gt;
* MPeXnetworks is offering three vserver packets.&lt;br /&gt;
* Our systems have a low customer density, resulting in more power for everyone.&lt;br /&gt;
* Nagios monitoring and free e-mail notification is included.&lt;br /&gt;
* All VServer offers include a 30 day money-back-guarantee.&lt;br /&gt;
|-&lt;br /&gt;
| Berlin/Germany&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.sentiensystems.com SentienSystems]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* High performance, quality, and secure Virtual Private Servers&lt;br /&gt;
* SentienSystems(.com/.net) proudly utilizes and promotes open source software such as Linux-VServer on the secure and performance-intensive Gentoo Linux platform.&lt;br /&gt;
|-&lt;br /&gt;
| Austin, Texas, USA&lt;br /&gt;
|-&lt;br /&gt;
! [http://new.pipni.cz/vindex.phtml PIPNI s.r.o]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Linux 2.6 Vservers on Intel Xeon platform&lt;br /&gt;
* Providing free and payed vServer hosting. Freehosting has no guarantee, payed are guaranted.&lt;br /&gt;
* You can select from Slackware, Gentoo or Debian hosting.&lt;br /&gt;
* Freehosting specs: 333 MHz CPU, 128 MB RAM, 2 GB HDD space, 10 GB traffic.&lt;br /&gt;
|-&lt;br /&gt;
| Czech Republic&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.croup.de croup.de]&lt;br /&gt;
crossmedia solutions&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* We provide individual VServer installations for our customers in Germany using Gentoo Linux.&lt;br /&gt;
|-&lt;br /&gt;
| Germany&lt;br /&gt;
|-&lt;br /&gt;
! [http://hosting.media72.co.uk Media72 hosting]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Red Hat Enterprise Linux solutions&lt;br /&gt;
* We provide custom hosting solutions starting from £2.08 a year. Virus and spam protection as standard on all accounts.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| United Kingdom&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.centrodedatos.com Centrodedatos]&lt;br /&gt;
Dedicated Servers / Colocation / Housing&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Dedicated Servers and Server Clusters based on Linux VServer. Totally personalized solutions.&lt;br /&gt;
* Servidores Dedicados y Clusters de Servidores basados en Linux VServer. Soluciones a medida.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Spain - Barcelona.&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.condalis.es Condalis]&lt;br /&gt;
VPS and Shared Hosting&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Centos, Debian, Fedora, Gentoo, Mandrake, Redhat, Slackware, Suse, Ubuntu in your VPS Linux-VServer to web professionals in Spain.&lt;br /&gt;
* Centos 5 + WHM/Cpanel + RVSkin + Fantastico available for Hosting resellers!&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Spain - Barcelona.&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.upfrontsystems.co.za/hosting/ploneserver Upfront Systems]&lt;br /&gt;
| rowspan=&amp;quot;2&amp;quot; |&lt;br /&gt;
* Servers in Germany and South Africa&lt;br /&gt;
* Debian stable hosts based on linux vserver&lt;br /&gt;
* Dedicated (but not limited to) Zope and Plone hosting&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| South Africa&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.notjusthosting.com NotJustHosting]&lt;br /&gt;
NotJustHosting&lt;br /&gt;
| rowspan=&amp;quot;2&amp;quot; |&lt;br /&gt;
* Servers in Germany&lt;br /&gt;
* Debian stable hosts based on linux vserver, individual solutions&lt;br /&gt;
* Fully managed and self-managed packages&lt;br /&gt;
* Ruby on Rails, Zope&lt;br /&gt;
|-&lt;br /&gt;
| Germany - Berlin&lt;br /&gt;
|-&lt;br /&gt;
! [http://vege.net/vserver vege.net GmbH]&lt;br /&gt;
web-hosting / vserver &lt;br /&gt;
| rowspan=&amp;quot;2&amp;quot; |&lt;br /&gt;
* Linux VServer hosting including OpenVCP, DRBD, LVM snapshots&lt;br /&gt;
* Servers located in Germany&lt;br /&gt;
|-&lt;br /&gt;
| Germany - Bremen&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
! [http://www.netcup.de/vserver/ netcup vServer]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Guaranteed CPU and RAM availability&lt;br /&gt;
* Web-based account administration&lt;br /&gt;
* On-the-fly web-based VServer configuration tools&lt;br /&gt;
* Prepared Images with SysCP or Confixx&lt;br /&gt;
* Rescue-System&lt;br /&gt;
* Firewall&lt;br /&gt;
* Backup- / Snapshot-System (Backup / Restore per Click)&lt;br /&gt;
|-&lt;br /&gt;
| Germany - Karlsruhe&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
! [http://www.vserver.si Vserver.si]&lt;br /&gt;
| rowspan=&amp;quot;2&amp;quot; |&lt;br /&gt;
* Virtual Private Servers&lt;br /&gt;
* Managed Servers&lt;br /&gt;
* Hosting&lt;br /&gt;
* Domain registration&lt;br /&gt;
* Colocation&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Slovenia&lt;br /&gt;
|- &lt;br /&gt;
&lt;br /&gt;
! [http://www.alvotech.de/vserver/ Alvotech GmbH - vServer]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Guaranteed RAM and CPU availability&lt;br /&gt;
* Fully Online administration&lt;br /&gt;
* On-the-fly web-based VServer configuration tools &lt;br /&gt;
* Prepared Images with Confixx&lt;br /&gt;
* Firewall&lt;br /&gt;
|-&lt;br /&gt;
| Germany - Düsseldorf&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
! [http://www.topnetworks.de Topnetworks e.K.]&lt;br /&gt;
| [http://www.topnetworks.de/vserver.html Linux VServer]&lt;br /&gt;
* Linux Kernel 2.6 based vServers&lt;br /&gt;
* Fully Online administration&lt;br /&gt;
* Hosted in professional certified datacenter in Germany&lt;br /&gt;
* Distributions: Debian, Ubuntu, RedHat, Fedora Core, CentOS, Asterisk&lt;br /&gt;
* Firewall&lt;br /&gt;
* Providing payed vserver hosting. Starting from 1.99 EUR per month.&lt;br /&gt;
* Supported Linux VServer project since 2007&lt;br /&gt;
|-&lt;br /&gt;
| Germany - Düsseldorf&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
! [http://www.toile-libre.org Toile-libre ! ]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Vservers with 256Mo of RAM, 10Go of Disk, 1 IPv4 address (IPv6 planned), a guaranteed part of the CPUs ... at free price (you decide how much you want/can pay) !&lt;br /&gt;
* Hosted by http://as48920.net in France ; Contact us by mail: contact@toile-libre.org ;&lt;br /&gt;
|-&lt;br /&gt;
| France&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Gebura</name></author>	</entry>

	<entry>
		<id>http://linux-vserver.at/VServer_Hosting</id>
		<title>VServer Hosting</title>
		<link rel="alternate" type="text/html" href="http://linux-vserver.at/VServer_Hosting"/>
				<updated>2010-11-20T19:41:16Z</updated>
		
		<summary type="html">&lt;p&gt;Gebura: added toile-libre.org vserver hosting.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Here is a list of '''Companies''' utilizing '''Linux-VServer''' technology '''for Hosting'''...&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: 97%&amp;quot;&lt;br /&gt;
! style=&amp;quot;width: 25%&amp;quot; | Company &lt;br /&gt;
! rowspan=&amp;quot;2&amp;quot; | Description&lt;br /&gt;
|-&lt;br /&gt;
| Location&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
! [http://www.gigatux.com GigaTux ]&lt;br /&gt;
| [https://www.gigatux.com/virtual.php Virtual Private Servers]&lt;br /&gt;
* Linux VPSs based in Maidenhead, near London, UK&lt;br /&gt;
* Offers Debian Etch 2.6.18 Xen and Vserver kernel as a standard install option&lt;br /&gt;
* Also allows users to use custom kernels&lt;br /&gt;
* Users have commented on the stability of the Etch VServer kernel&lt;br /&gt;
|-&lt;br /&gt;
| Location - United Kingdom &lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
! [http://www.lvpshosting.com LVPSHosting Europe ]&lt;br /&gt;
&lt;br /&gt;
| [https://www.lvpshosting.com/vpshosting.html Virtual Private Server ]&lt;br /&gt;
* Cluster systems in Rotterdam, Netherlands&lt;br /&gt;
* Virtual Private Servers&lt;br /&gt;
*NEW - cPanel to all VPS packages can be added &lt;br /&gt;
* CentOS 4, CentOS 5, Fedora 10, Fedora 11, Fedora 12, Fedora 13, Ubuntu 8.04 LTS, Ubuntu 9.04, Debian Etch, Debian Lenny&lt;br /&gt;
* We have VPS starting from $18.85 (the cheapest you will get)&lt;br /&gt;
* Use Code 55CUT (at checkout) to get 55% less for your first month.&lt;br /&gt;
* Everything from mainstream adult allow, monitoring systems Nagios and Cacti, application hosting, blog hosting&lt;br /&gt;
* Costume VPS's available &lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Location - Europe - Netherlands&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.danec.net DANEC Germany]&lt;br /&gt;
Virtual Server Cluster Services&lt;br /&gt;
| [https://www.danec.net/customer DANEC Orderpanel]&lt;br /&gt;
* Cluster systems in Nuremberg and Frankfurt&lt;br /&gt;
* KVM and OpenVZ systems avaiable&lt;br /&gt;
* Virtual PBX systems&lt;br /&gt;
* Debian, CentOS and Unbutu avaiable&lt;br /&gt;
&lt;br /&gt;
* We have expanded our CoLocation services with&lt;br /&gt;
* VPS servers avaiable from 5 euro per month&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
! [http://rentahost.ch Switzerland]&lt;br /&gt;
Virtual Cluster Hosting&lt;br /&gt;
| [http://rentahost.ch rentAhost.ch]&lt;br /&gt;
* fully virtualized environment&lt;br /&gt;
* Build upon our own hardware production&lt;br /&gt;
* Using our wonderfull stable Linux Distribution [http://weblinux.ch WebLinux]&lt;br /&gt;
&lt;br /&gt;
* We offer specialized and stable Linux VServer Solutions&lt;br /&gt;
* flexible on its most, if needed, stable as rock&lt;br /&gt;
&lt;br /&gt;
* [http://prounix.ch proUnix.ch] - Consultant - Borovcnik Peter&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.dreamhostps.com/ DreamHost P.S.]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Debian servers&lt;br /&gt;
* Guaranteed CPU and RAM availability&lt;br /&gt;
* Web-based account administration&lt;br /&gt;
* On-the-fly web-based VServer configuration tools&lt;br /&gt;
|-&lt;br /&gt;
| Los Angeles, California, USA&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.wessexnetworks.com Wessex Networks]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Linux VServer Dedicated Managed Virtual Servers&lt;br /&gt;
* Debian-based / dedicated IP address&lt;br /&gt;
* RAID Storage, Additional Backup, 100Mbit Burst&lt;br /&gt;
* Host servers at [http://www.telecityredbus.com/uk/manchester Telecity Redbus Manchester]&lt;br /&gt;
|-&lt;br /&gt;
| United Kingdom&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.datakompaniet.no DataKompaniet]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* We offer affordable Linux VServers on a 100Mbit fiber Internet connection&lt;br /&gt;
* Gentoo based / firewalled / 2.6 kernel / private or (optional) public IP&lt;br /&gt;
* VServers have been offered since 2004&lt;br /&gt;
* Host servers are RAID5 equipped, and have historically had extremly good uptimes&lt;br /&gt;
* Host servers are located in a professional server room, in the same building as Uninett Norid (Norway's TLD (.no) Registry)&lt;br /&gt;
|-&lt;br /&gt;
| Norway&lt;br /&gt;
|-&lt;br /&gt;
! [http://lylix.net LYLIX]&lt;br /&gt;
VPS Hosting&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Virtual private servers based on '''2.6 kernel and 2.2.0 VServer'''.&lt;br /&gt;
* Several different userlands are available in 32 and 64 bit, including '''Gentoo, Debian, Slackware, Fedora Core, CentOS, Arch Linux, OpenSuSE'''.&lt;br /&gt;
* Custom images also accepted!&lt;br /&gt;
* '''Asterisk PBX and Trixbox supported''', including Meetme, MOH, and IAX.&lt;br /&gt;
* '''Three regional datacenter locations''': Northeast, West, and South USA.&lt;br /&gt;
* Each primary host backed by secondary host via '''high-availability data replication''' for emergency recovery&lt;br /&gt;
* '''&amp;quot;Dedicated&amp;quot; VPS service''' available for guaranteed minimum CPU&lt;br /&gt;
* Comprehensive customer portal w/ VPS management and statistics&lt;br /&gt;
|-&lt;br /&gt;
| United States of America&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.sns.ro SNS] &lt;br /&gt;
System &amp;amp; Network Solutions&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* We are using vservers in most of our setups and on hundreds of servers that offer public services - such as web, mail, dns, sql. &lt;br /&gt;
* We also do local evangelisation for the project (just because it kicks ass). &lt;br /&gt;
|-&lt;br /&gt;
| Romania&lt;br /&gt;
|-&lt;br /&gt;
! [http://netflow.ru Sky Media]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
|-&lt;br /&gt;
| Russia&lt;br /&gt;
|-&lt;br /&gt;
! [http://acewebhosting.com Ace WebHosting]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* We provide affordable virtual private servers. We also use vservers for shared hosting.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.tpg.com.au TPG Internet]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Currently using vservers for providing Gaming services.&lt;br /&gt;
|-&lt;br /&gt;
| Australia&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.expio.co.nz EXPIO Communications]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Specialising in Linux Virtual Server hosting solutions.&lt;br /&gt;
* Running the FreeVPS platform, which is based on linux-vserver, integrated with H-Sphere control panel.&lt;br /&gt;
* Providing virtual server hosting since 1998.&lt;br /&gt;
|-&lt;br /&gt;
| New Zealand&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.hostix.it HostiX]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Italian hosting provider has been offering the service since the early versions of vserver.&lt;br /&gt;
* Currenly using the stable version but has beta program for the new 2.6 kernels.&lt;br /&gt;
* High availability vservers on request too.&lt;br /&gt;
|-&lt;br /&gt;
| Italy&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.virtualinfrastructure.nl Virtualinfrastructure.nl]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Dutch consultancy and development company LinIT Technologies started a site about Linux vserver technology, also offering consultancy and support for Vserver.&lt;br /&gt;
|-&lt;br /&gt;
| The Netherlands&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.virtuaserver.com.br VirtuaServer]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Affordable virtual private servers in Brazil.&lt;br /&gt;
* The first company in Brazil to introduce vserver hosting.&lt;br /&gt;
* We offer our customers an exclusive control panel which allows them to monitor their servers, easily setup firewall rules and backup their data.&lt;br /&gt;
* Running kernel 2.6 and hosting Debian, Fedora, Mandrake, Slackware, Conectiva and CentOS virtual servers.&lt;br /&gt;
|-&lt;br /&gt;
| Brazil&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.neoisis.net www.neoisis.net]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
*  Internet service infrastructure and hosting: domain names, web sites, email systems, virtual servers. Bulk delivery for resellers. Custom-made solutions developed in cooperation with the client.&lt;br /&gt;
* Planning and strategy for ICT organization and leadership.&lt;br /&gt;
* Research and analysis.&lt;br /&gt;
* Tailored systems and programming services. Functional analysis, testing, debugging.&lt;br /&gt;
* Usability.&lt;br /&gt;
* General ICT consulting.&lt;br /&gt;
* Linux-VServer -based virtual servers available with several different distributions.&lt;br /&gt;
|-&lt;br /&gt;
| Finland&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.prosite.de/v_server/virtual_server_uebersicht.html Prosite V-Server]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* High performance v servers on systems with constant performance monitoring&lt;br /&gt;
* Leistungsfähige virtuelle Server mit ständiger Performance-Überwachung&lt;br /&gt;
* Guaranteed and scalable CPU and RAM use&lt;br /&gt;
* Web-based and automated v server administration&lt;br /&gt;
* Online web-based VServer configuration tools (image setup, Backup, Rescue)&lt;br /&gt;
|-&lt;br /&gt;
| Germany&lt;br /&gt;
|-&lt;br /&gt;
! [http://webhosting.lycos.co.uk/expert/comparevds/ Lycos Europe]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* active cooperation with VServer project since 2004&lt;br /&gt;
* High performance and quality VDS Solutions based on Linux-VServer Technology&lt;br /&gt;
* low prices and free trials&lt;br /&gt;
* Web Administration panel to monitor and use main functions of your Vserver&lt;br /&gt;
* Control Panel to monitor your account data etc.&lt;br /&gt;
* Hosted in professional certified datacenter in Germany&lt;br /&gt;
|-&lt;br /&gt;
| Germany&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.v-server.cz/ FinalTek.com]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Linux kernel 2.6 based vservers / Dual Intel P4 or Xeon platform.&lt;br /&gt;
* Providing payed vserver hosting. Starting from 9 EUR per month.&lt;br /&gt;
* Distributions: Debian, Centos, Redhat, Fedora, Ubuntu and others on demand.&lt;br /&gt;
* Start specs: 400MHz CPU, 192MB RAM, 5GB HDD space, unlimited traffic.&lt;br /&gt;
|-&lt;br /&gt;
| Germany&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.greatnet.de/cms/front_content.php?idcat=5 Greatnet VServer]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Linux V-Server from Greatnet with Controlpanel (Confixx) included&lt;br /&gt;
* Virtual Server start 5,99 Euro each month&lt;br /&gt;
* Distributions: Debian, Centos, Gentoo, Fedora, Ubuntu, OpenSuse, Slackware&lt;br /&gt;
* Controlpanel (rescue, reinstall, reboot, bandwith usage and many more)&lt;br /&gt;
|-&lt;br /&gt;
| Czech Republic&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.vserver-hosting.cz/ vServer-Hosting.cz]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Linux kernel 2.6&lt;br /&gt;
* Intel Xeon platform&lt;br /&gt;
* Distributions: Debian, Ubuntu and others&lt;br /&gt;
* Unlimited traffic&lt;br /&gt;
|-&lt;br /&gt;
| Czech Republic&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.ikse.net Ikse]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Ikse provide Virtual Dedicated Server on Debian and Fedora Core, empty, or with a free 'hosting pack'.&lt;br /&gt;
* Convert your existing &amp;quot;real Linux server&amp;quot; to Ikse Virtual Dedicated Server is also possible.&lt;br /&gt;
|-&lt;br /&gt;
| France&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.odsol.com ODSOL Premium Web Hosting]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* We specialise in [http://www.odsol.com ecommerce hosting] using virtual private server technology.&lt;br /&gt;
* We offer both Linux-vserver [http://www.odsol.com/virtual_private_server/ virtual dedicated server] and Virtuozzo based [http://www.odsol.com/virtual_private_server/ virtual private server], Cpanel and DirectAdmin control panel included.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.ip-cracks.ch ip-cracks GmbH]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* We offer Linux-VServers in different flavours to our customers. The product range starts with the Sandbox Private for residential customers up to the Sandbox Pro for business customers with high expectations. We have a set of new products in the queue which have a strong focus for the small and medium business companies as for an example a centralised DMS. Many services are based on the Linux-vServer technology.&lt;br /&gt;
|-&lt;br /&gt;
| Switzerland&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.acox.de/ ACOX Corporation]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* ACOX Corporation offers low-cost virtual servers based on the linux-vserver.org project.&lt;br /&gt;
|-&lt;br /&gt;
| Germany&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.winprofi.de/ WINPROFI]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* WINPROFI offers cheap virtual servers situated in Munich, Germany.&lt;br /&gt;
|-&lt;br /&gt;
| Germany&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.studio-51.net/ Studio 51]&lt;br /&gt;
Internet Solutions&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Studio 51 offers virtual servers based on the linux-vserver.org project.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.conexim.com.au/ Conexim web hosting]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Australian quality hosting company offering general hosting, virtual-servers and dedicated, managed hosting services.&lt;br /&gt;
|-&lt;br /&gt;
| Australia&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.liquidweb.com Liquid Web Inc.]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Liquid Web uses linux-vserver to offer CPanel based hosting services. &lt;br /&gt;
* We service hundreds of clients running linux-vserver in our Datacenter located in Lansing, Michigan (USA.)&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.electronicbox.net Electronicbox Communications]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* We are using Linux-VServer since 2001 and have test it under high load for mission critical services and Linux-VServer was definitively the best software.&lt;br /&gt;
* We are providing secure environment with vserver to companies around the world who look for always online servers.&lt;br /&gt;
* This is very important for us to have a good software who can process the high load of data we are having daily on the network.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.openhosting.com/ OpenHosting, Inc.]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Inexpensive VServer-based Virtual Servers.&lt;br /&gt;
* Sponsors of the [http://www.openvps.org/ OpenVPS] project.&lt;br /&gt;
* Now using kernel 2.6 and vserver 1.9.x!&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.dievo.org/ Digital Evolution] &lt;br /&gt;
(wargames.unix.se)&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Digital Evolution is the largest wargaming-site on the net, content-wise.&lt;br /&gt;
* We use vserver for all wargames (more than a dozen right now) and all other services as well.&lt;br /&gt;
* The stability, ease of use and performance is unrivaled, migrating our servers to vserver is most definately one of the best decisions we've ever made. It happily serves all people (who, after all, try to break our security) logged in on our shellbased wargames and shells out hunderedes of thousands connections to other services each day.&lt;br /&gt;
|-&lt;br /&gt;
| Sweden&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.nine.ch/ Nine Internet Solutions AG]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Offering VServers to customers&lt;br /&gt;
* We provide [http://nine.ch/vserver/ vServer] with own IP adress. Optionally you can choose between OpenSUSE, Fedora, Ubuntu, Gentoo or CentOS and 32bit. &lt;br /&gt;
* On request we install LAMP with Apache, MySQL and PHP as well as ispCP as control panel. &lt;br /&gt;
* 70 Dual-Xeon machines with several GB RAM running with Debian Lenny 64bit and linux-vserver-kernel.&lt;br /&gt;
* We use VServer as an alternative between the shared webhosting and (managed) dedicated server.&lt;br /&gt;
|-&lt;br /&gt;
| Switzerland&lt;br /&gt;
|-&lt;br /&gt;
! [http://vps.at clusterhosting mit system]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* highavailable vps-servers on cluster&lt;br /&gt;
* linux solutions  - system, analyse &amp;amp; programming&lt;br /&gt;
* docu &amp;amp; infos: http://vps.at&lt;br /&gt;
* running 3 machines ( Poweredge 4x400 / 4 gb Ram )&lt;br /&gt;
* #-&amp;gt; Linux pe-6300-3 2.6.18-1.2849.fc6.vs2.0.2.1 SMP&lt;br /&gt;
|-&lt;br /&gt;
| Austria&lt;br /&gt;
|-&lt;br /&gt;
! [http://AcornHosting.net Acorn Hosting]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Running 6 machines (Mostly P4 2GHz) with vservers, various kernel versions.  Since Jul '02.&lt;br /&gt;
* Customers love vservers because they can run any software version in them, instead of getting stuck with mychoices.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.tu-braunschweig.de/rz/services/sys/divdienst/vserver TU Braunschweig]&lt;br /&gt;
Rechenzentrum &lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Running two machines, mainly webserver for customers from inside the university.&lt;br /&gt;
* One additional machine for a number of services i refuse to run on standalone machines because it is wasted cpu-power.&lt;br /&gt;
* One machine for various tests and future developements.&lt;br /&gt;
|-&lt;br /&gt;
| Germany&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.lunarix.de LUNARIX]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* LUNARIX offers high quality hosting, including:&lt;br /&gt;
* Colocation, Dedicated Server, Tower Housing, 19&amp;quot; Housing, Webhosting, vServer, Webspace, Gameserver, Domains.&lt;br /&gt;
* We also setup / implement HA (high availability) cluster and load-balacing solutions.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.wwip.de W)W)ip High Quality Network]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Offering VServers to customers&lt;br /&gt;
* Offering PBVSC PHP Based Interface to administrate the vservers - PBVSC is back!&lt;br /&gt;
* Running since Nov. 2003 stable (Various versions, first we started with vs1.0 now we have 1.22 and kernel 2.4.24 running stable)&lt;br /&gt;
* We use VServer too as an alternative between the shared webhosting and serverhousing or rent dedicated server. Customers need a flexible and stable server surroundings and vserver from this projekt is the best we seen out there. Support and community plays hand in hand, not as any commercial products out there. Any other system servers are now in his own vserver on only one big server and it works great. Lower costs on server and therefore lower IT costing. Our IT leader and IT employee in private surroundings, test and use vserver with enthusiasm ;)&lt;br /&gt;
|-&lt;br /&gt;
| Germany&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.traffic4all.com Traffic4All.com]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Offering VServers to customers&lt;br /&gt;
* Server: AMD Athlon(tm) XP 2800+ - 1,5 GB DDR Ram&lt;br /&gt;
* Linux t4a3 2.4.23-vs1.22 #12 Thu Jan 1 16:11:12 CET 2004 i686 AMD Athlon(tm) XP 2800+ AuthenticAMD GNU/Linux&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.infoteck.qc.ca Infoteck Internet]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Offering VServers to customers&lt;br /&gt;
* Servers: Multiple HP LH4 (4 x XEON) and LH6000 (6 x XEON) w/ 4Gb RAM per servers.&lt;br /&gt;
* 1.2Tb of shared storage (RAID50)&lt;br /&gt;
* Backbone: 2 x 100Mbps backbone (Dual homing/BGP)&lt;br /&gt;
|-&lt;br /&gt;
| Turkey&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.natro.com Natro Web Hosting Services]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Offering secure Virtual Dedicated Server environments on Debian &amp;amp; Ubuntu hosts with several choices of guests including control panel integration&lt;br /&gt;
* Also providing linux hosting services on linux-vserver powered servers&lt;br /&gt;
* Clustering of mission critical services&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.omnis.com.tr Omnis Internet Services]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* We use it on our hosting servers, it gives extra security and managment for us.&lt;br /&gt;
* It is life saver product.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.zylon.net/ Zylon Internet Services]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* We use it on our hosting servers to provide an extra layer of security for our customers.&lt;br /&gt;
* We do not provide full vservers, we only provide 'standard' webhosting facilities.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.isp4p.net ISP4P]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* see also http://www.isp4player.net&lt;br /&gt;
* Allround ISP 4 Professionals&lt;br /&gt;
* Dedicated Server, Tower Housing, 19&amp;quot; Housing, Webhosting, vServer, vServer Reselling, Domains&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.rootbash.com Nauck IT KG]&lt;br /&gt;
(rootbash.com)&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
|-&lt;br /&gt;
| Germany&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.star-hosting.de Star-Hosting]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* see also http://www.vserver4free.de&lt;br /&gt;
* Get dedicated Servers, vServers and many more services with a very high traffic-contingent!!&lt;br /&gt;
|-&lt;br /&gt;
| Germany&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.planet-lab.org/ PlanetLab]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* PlanetLab is an open, globally distributed platform for developing, deploying and accessing planetary-scale network services.&lt;br /&gt;
* PlanetLab nodes support both short-term experiments and long-running network services.&lt;br /&gt;
* To date, more than 200 research projects at top academic institutions have used PlanetLab to experiment with such diverse topics as distributed storage, network mapping, peer-to-peer systems, distributed hash tables, and distributed query processing. See http://www.planet-lab.org/ for more details.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.dsvr.co.uk/ Designer Servers Ltd]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Offering effective Linux vserver-protected hosting to web professionals in the UK and beyond.&lt;br /&gt;
|-&lt;br /&gt;
| United Kingdom&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.rosehosting.com Rose Web Services L.L.C.]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Founded in April 2001, located in St. Louis, Missouri, USA, Rose Hosting provides all kinds of hosting solutions, including [http://www.rosehosting.com Linux VPS Hosting], based on Linux-VServer Technology.&lt;br /&gt;
|-&lt;br /&gt;
| USA&lt;br /&gt;
|-&lt;br /&gt;
! [http://sandino.net/ Sandino Networks]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Offering VServers to customers&lt;br /&gt;
* Dual core servers hardened with GR Security &lt;br /&gt;
* Choice of different operating systems: Gentoo, CentOS, Debian, Ubuntu, Slackware, Fedora....&lt;br /&gt;
* Choice of different vserver sizes&lt;br /&gt;
|-&lt;br /&gt;
| México&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.turnkeyinternet.net TurnKeyInternet.NET]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Coast to Coast Datacenter replicated Linux Virtual Private Server packages that are fully mirrored providing 100% uptime.&lt;br /&gt;
* Packages include fully managed service and support.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! [http://vlinux.biz vlinux.biz]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* vservers with RAID1/QuadCore/8GB host (512MB guaranteed)&lt;br /&gt;
* multihomed location in germany with 4x 1 Gbit uplink.&lt;br /&gt;
* Starting with 11.90 EUR / month for a 40GB Raid1 disk, 100 GB traffic p.M. with Gbit Connection (1 IP)&lt;br /&gt;
* this ISP also offers a large variety of [http://www.smart-weblications.de/rootserver/ root servers] and also offers server homing.&lt;br /&gt;
|-&lt;br /&gt;
| Germany&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.cityservers.net/ CityServers.Net]&lt;br /&gt;
Dedicated Servers&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Offering dedicated servers and economic Fedora vServers hosting to IT professionals in the EU.&lt;br /&gt;
* Packages include fully managed service and support.&lt;br /&gt;
|-&lt;br /&gt;
| Poland&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.vps2go.com/ VPS2GO]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Currenly using the stable version but will be upgraded to new 2.6 kernel + vs2.0 soon. &lt;br /&gt;
|-&lt;br /&gt;
| Japan&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.net-lab.net net-lab] &lt;br /&gt;
vserver/web-hosting&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Currently run our first testing host on kernel 2.6 + vs2.0 is running. Server Location: Frankfurt, near DE-CIX.&lt;br /&gt;
* Commercial offer for vserver accounts soon available.&lt;br /&gt;
|-&lt;br /&gt;
| Germany&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.stepping-stone.ch stepping stone GmbH]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Our whole ISP infrastructure (Mail, Web, Directories, ...) is built upon the 2.0 vServer series on the 2.6 Linux kernel, running Gentoo Linux.&lt;br /&gt;
* We provide [http://www.stepping-stone.ch/en/products/vserver/linux-vserver-starter/ Gentoo and Debian vServers].&lt;br /&gt;
* iptables/netfilter rules are implemented free of charge on the carrier as part of our service.&lt;br /&gt;
* As a speciality, you can run [http://www.asterisk.org/ Asterisk] in our vServers! &lt;br /&gt;
* Furthermore we're specialized in providing high availability solutions in combination with [[Welcome_to_Linux-VServer.org|Linux VServer]] and [http://www.drbd.org/ DRBD].&lt;br /&gt;
|-&lt;br /&gt;
| Switzerland&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.vroutix.com vRoutix]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Offering kernel 2.6 Vservers in Argentina. Compaq Xeon/Sun Ultrasparc Servers (with Raid1).&lt;br /&gt;
* Very affordable prices.&lt;br /&gt;
* Starter: Very low price !&lt;br /&gt;
* Lite: Low end users&lt;br /&gt;
* Standard: small bussiness&lt;br /&gt;
* Pro: mid-size bussiness&lt;br /&gt;
* Control panel to monitor your vServer performance, processes, storage, traffic, account data, etc.&lt;br /&gt;
* vServers demo accounts for Free. Try out one of our vServers !!!.&lt;br /&gt;
* Now with iptables support inside your vServer !!!&lt;br /&gt;
|-&lt;br /&gt;
| Argentina&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.mpexnetworks.de MPeXnetworks] &lt;br /&gt;
MPeX.net GmbH&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* High performance virtual servers on RAID1 Hosts&lt;br /&gt;
* Leistungsfähige virtuelle Server für Ihr Unternehmen.&lt;br /&gt;
* MPeXnetworks is offering three vserver packets.&lt;br /&gt;
* Our systems have a low customer density, resulting in more power for everyone.&lt;br /&gt;
* Nagios monitoring and free e-mail notification is included.&lt;br /&gt;
* All VServer offers include a 30 day money-back-guarantee.&lt;br /&gt;
|-&lt;br /&gt;
| Berlin/Germany&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.sentiensystems.com SentienSystems]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* High performance, quality, and secure Virtual Private Servers&lt;br /&gt;
* SentienSystems(.com/.net) proudly utilizes and promotes open source software such as Linux-VServer on the secure and performance-intensive Gentoo Linux platform.&lt;br /&gt;
|-&lt;br /&gt;
| Austin, Texas, USA&lt;br /&gt;
|-&lt;br /&gt;
! [http://new.pipni.cz/vindex.phtml PIPNI s.r.o]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Linux 2.6 Vservers on Intel Xeon platform&lt;br /&gt;
* Providing free and payed vServer hosting. Freehosting has no guarantee, payed are guaranted.&lt;br /&gt;
* You can select from Slackware, Gentoo or Debian hosting.&lt;br /&gt;
* Freehosting specs: 333 MHz CPU, 128 MB RAM, 2 GB HDD space, 10 GB traffic.&lt;br /&gt;
|-&lt;br /&gt;
| Czech Republic&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.croup.de croup.de]&lt;br /&gt;
crossmedia solutions&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* We provide individual VServer installations for our customers in Germany using Gentoo Linux.&lt;br /&gt;
|-&lt;br /&gt;
| Germany&lt;br /&gt;
|-&lt;br /&gt;
! [http://hosting.media72.co.uk Media72 hosting]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Red Hat Enterprise Linux solutions&lt;br /&gt;
* We provide custom hosting solutions starting from £2.08 a year. Virus and spam protection as standard on all accounts.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| United Kingdom&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.centrodedatos.com Centrodedatos]&lt;br /&gt;
Dedicated Servers / Colocation / Housing&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Dedicated Servers and Server Clusters based on Linux VServer. Totally personalized solutions.&lt;br /&gt;
* Servidores Dedicados y Clusters de Servidores basados en Linux VServer. Soluciones a medida.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Spain - Barcelona.&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.condalis.es Condalis]&lt;br /&gt;
VPS and Shared Hosting&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Centos, Debian, Fedora, Gentoo, Mandrake, Redhat, Slackware, Suse, Ubuntu in your VPS Linux-VServer to web professionals in Spain.&lt;br /&gt;
* Centos 5 + WHM/Cpanel + RVSkin + Fantastico available for Hosting resellers!&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Spain - Barcelona.&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.upfrontsystems.co.za/hosting/ploneserver Upfront Systems]&lt;br /&gt;
| rowspan=&amp;quot;2&amp;quot; |&lt;br /&gt;
* Servers in Germany and South Africa&lt;br /&gt;
* Debian stable hosts based on linux vserver&lt;br /&gt;
* Dedicated (but not limited to) Zope and Plone hosting&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| South Africa&lt;br /&gt;
|-&lt;br /&gt;
! [http://www.notjusthosting.com NotJustHosting]&lt;br /&gt;
NotJustHosting&lt;br /&gt;
| rowspan=&amp;quot;2&amp;quot; |&lt;br /&gt;
* Servers in Germany&lt;br /&gt;
* Debian stable hosts based on linux vserver, individual solutions&lt;br /&gt;
* Fully managed and self-managed packages&lt;br /&gt;
* Ruby on Rails, Zope&lt;br /&gt;
|-&lt;br /&gt;
| Germany - Berlin&lt;br /&gt;
|-&lt;br /&gt;
! [http://vege.net/vserver vege.net GmbH]&lt;br /&gt;
web-hosting / vserver &lt;br /&gt;
| rowspan=&amp;quot;2&amp;quot; |&lt;br /&gt;
* Linux VServer hosting including OpenVCP, DRBD, LVM snapshots&lt;br /&gt;
* Servers located in Germany&lt;br /&gt;
|-&lt;br /&gt;
| Germany - Bremen&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
! [http://www.netcup.de/vserver/ netcup vServer]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Guaranteed CPU and RAM availability&lt;br /&gt;
* Web-based account administration&lt;br /&gt;
* On-the-fly web-based VServer configuration tools&lt;br /&gt;
* Prepared Images with SysCP or Confixx&lt;br /&gt;
* Rescue-System&lt;br /&gt;
* Firewall&lt;br /&gt;
* Backup- / Snapshot-System (Backup / Restore per Click)&lt;br /&gt;
|-&lt;br /&gt;
| Germany - Karlsruhe&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
! [http://www.vserver.si Vserver.si]&lt;br /&gt;
| rowspan=&amp;quot;2&amp;quot; |&lt;br /&gt;
* Virtual Private Servers&lt;br /&gt;
* Managed Servers&lt;br /&gt;
* Hosting&lt;br /&gt;
* Domain registration&lt;br /&gt;
* Colocation&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| Slovenia&lt;br /&gt;
|- &lt;br /&gt;
&lt;br /&gt;
! [http://www.alvotech.de/vserver/ Alvotech GmbH - vServer]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Guaranteed RAM and CPU availability&lt;br /&gt;
* Fully Online administration&lt;br /&gt;
* On-the-fly web-based VServer configuration tools &lt;br /&gt;
* Prepared Images with Confixx&lt;br /&gt;
* Firewall&lt;br /&gt;
|-&lt;br /&gt;
| Germany - Düsseldorf&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
! [http://www.topnetworks.de Topnetworks e.K.]&lt;br /&gt;
| [http://www.topnetworks.de/vserver.html Linux VServer]&lt;br /&gt;
* Linux Kernel 2.6 based vServers&lt;br /&gt;
* Fully Online administration&lt;br /&gt;
* Hosted in professional certified datacenter in Germany&lt;br /&gt;
* Distributions: Debian, Ubuntu, RedHat, Fedora Core, CentOS, Asterisk&lt;br /&gt;
* Firewall&lt;br /&gt;
* Providing payed vserver hosting. Starting from 1.99 EUR per month.&lt;br /&gt;
* Supported Linux VServer project since 2007&lt;br /&gt;
|-&lt;br /&gt;
| Germany - Düsseldorf&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
! [http://www.toile-libre.org Toile-libre ! ]&lt;br /&gt;
| rowspan=2 |&lt;br /&gt;
* Vservers with 256Mo of RAM, 10Go of Disk, 1 IPv4 address (IPv6 planned) ...&lt;br /&gt;
* ... at free price (you decide how much you want/can pay) !&lt;br /&gt;
* Hosted by http://as48920.net in France ; Contact us by mail: contact@toile-libre.org&lt;br /&gt;
|-&lt;br /&gt;
| France&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Gebura</name></author>	</entry>

	<entry>
		<id>http://linux-vserver.at/Installation_on_Debian</id>
		<title>Installation on Debian</title>
		<link rel="alternate" type="text/html" href="http://linux-vserver.at/Installation_on_Debian"/>
				<updated>2009-10-26T15:10:49Z</updated>
		
		<summary type="html">&lt;p&gt;Gebura: /* vserver's /proc/mounts issue */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This guide is written against Debian Etch (4.0) and works on Lenny (5.0) as well. Both releases include kernel '''linux-image-vserver-686''', so no manual patching is needed. Hence, Installation on Debian Etch/Lenny is pretty easy and straightforward.&lt;br /&gt;
&lt;br /&gt;
If you need to compile your own kernel, you need to apply the vserver-version.patch. [http://www.kwu.hu/vserver.txt Details at 2007/May/04]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Packages installation ==&lt;br /&gt;
The packages required by Linux-VServer are:&lt;br /&gt;
* '''linux-image-vserver-686''' - This is the current kernel, use '''linux-image-vserver-amd64''' on 64-bit systems, you can still create 32-bit guests&lt;br /&gt;
* '''util-vserver''' - These are the utilities used to administer the guests&lt;br /&gt;
* '''ssh''' - This is probably already installed, but just in case it isn't&lt;br /&gt;
&lt;br /&gt;
All the packages you need can be obtained via&lt;br /&gt;
&amp;lt;pre&amp;gt;aptitude install linux-image-vserver-686 util-vserver ssh&amp;lt;/pre&amp;gt;&lt;br /&gt;
so run this as ''root'' and reboot.&lt;br /&gt;
To check out wherever everything went fine you may run&lt;br /&gt;
&amp;lt;pre&amp;gt;uname -r&amp;lt;/pre&amp;gt;&lt;br /&gt;
and check that kernel version contains '''vserver''', e.g. '''2.6.18-4-vserver-686'''. That's it.&lt;br /&gt;
&lt;br /&gt;
Now that the host system is ready, you can proceed with [[Building Guest Systems|building guests]].&lt;br /&gt;
&lt;br /&gt;
=== Install util-vserver by source ===&lt;br /&gt;
Occasionally, Debian's util-vserver package can be too old. So, we'll need to compile from [http://people.linux-vserver.org/~dhozac/t/uv-testing/ source].&lt;br /&gt;
&lt;br /&gt;
First, install the required packages for util-vserver to compile.&lt;br /&gt;
&amp;lt;pre&amp;gt;apt-get install vlan dietlibc-dev pkg-config libnss3-dev&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, we configure util-vserver&lt;br /&gt;
&amp;lt;pre&amp;gt;./configure --prefix=/usr --enable-release --mandir=/usr/share/man \&lt;br /&gt;
--infodir=/usr/share/info --sysconfdir=/etc --enable-dietlibc \&lt;br /&gt;
--localstatedir=/var --with-vrootdir=/home&amp;lt;/pre&amp;gt;&lt;br /&gt;
Note: You should change ''--with-vrootdir'' accordingly&lt;br /&gt;
&lt;br /&gt;
Finally, we run make to finalise the installation&lt;br /&gt;
&amp;lt;pre&amp;gt;make &amp;amp;&amp;amp; make install debian &amp;amp;&amp;amp; make install install-distribution&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Running ''vserver-info'' will show you that the proper util-vserver is installed. :)&lt;br /&gt;
&lt;br /&gt;
Debian likes to be funny, so we need to enable the following,&lt;br /&gt;
* echo /usr/lib/util-vserver/vshelper &amp;gt;| /proc/sys/kernel/vshelper&lt;br /&gt;
* echo kernel.vshelper = /usr/lib/util-vserver/vshelper &amp;gt;&amp;gt; /etc/sysctl.conf&lt;br /&gt;
* update-rc.d vprocunhide defaults&lt;br /&gt;
* update-rc.d vservers-default defaults &lt;br /&gt;
&lt;br /&gt;
== Versions ==&lt;br /&gt;
Debian already contains vservers kernels, so no manual patching and compiling is needed. &lt;br /&gt;
{|class=&amp;quot;wikitablenowrap&amp;quot;&lt;br /&gt;
!Debian release &lt;br /&gt;
!Kernel version&lt;br /&gt;
!VServer version&lt;br /&gt;
|-&lt;br /&gt;
| Etch&lt;br /&gt;
| 2.6.18+6&lt;br /&gt;
| 2.0.2.2-rc9&lt;br /&gt;
|-&lt;br /&gt;
| Lenny&lt;br /&gt;
| 2.6.26+17&lt;br /&gt;
| 2.3.0.35&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Issues with the current 2.6.26 Kernel ==&lt;br /&gt;
&lt;br /&gt;
=== Hard CPU scheduling ===&lt;br /&gt;
&lt;br /&gt;
This will not work in the Debian 'Lenny' Kernel, the patch used simply does not contain any of this functionality.&lt;br /&gt;
&lt;br /&gt;
=== Problems due to Xattrs ===&lt;br /&gt;
&lt;br /&gt;
There are two sets of issues within the Lenny kernel caused by the change in value of the Xattrs (extended attributes) applied to file in Vserver setups. The patch used in Debian Lenny uses Xattr flags which are set in positions which differ from the flags set by Debian kernels as well as most of the mainline Vserver patches. This result is that Xattrs of files in a non lenny system appear to have completely different flags in Lenny and vice versa. Since these flags are crucial to vserver hashification and chroot security, they can have devastating effects on Vserver guests and on host system security. If you have recently moved to or away from the stock Lenny Vserver kernel, have look at the symptoms below to see if any match your experiences, and apply the fixes/use another kernel as you see fit.&lt;br /&gt;
&lt;br /&gt;
As of writing these issue has not been corrected within the Debian archive.   These fixes must be applied whenever moving vserver guest '''from''' or '''to''' the Debian 'Lenny's vserver kernel. For more details and a more concise explanation see [http://irc.13thfloor.at/LOG/2009-05/LOG_2009-05-12.txt Bertls IRC explanation ].&lt;br /&gt;
&lt;br /&gt;
==== Chroot Security Problems ====&lt;br /&gt;
&lt;br /&gt;
Linux-Vserver uses file Xattrs to protect guest superusers from being able to view files above their root, preventing access to host file. This creates issues for anyone who:&lt;br /&gt;
&lt;br /&gt;
* has created a guest with a Debian 2.6.26-*-vserver kernel and wishes to use it with another kernel.&lt;br /&gt;
* has created a guest with a different kernel and wishes to use it on a Debian 2.6.26-*-vserver kernel based host.&lt;br /&gt;
&lt;br /&gt;
In effect, the barrier normally in place for guest servers is not recognised by the kernel (the chroot problem) in the situation above and/or immutable links will not function correctly (the unification problem)failing to break when overwritten) in a unified guest setup. Symptoms suffered may include:&lt;br /&gt;
&lt;br /&gt;
* the possibility of vserver guest processes escaping their chroots and accessing other parts of the filesystem&lt;br /&gt;
* guest not starting&lt;br /&gt;
&lt;br /&gt;
To fix the barrier flags for a current kernel, see [[Secure_chroot_Barrier#Solution:_Secure_Barrier | these instructions]]. Note that on some setups a barrier flags will appear on all directories under the guest hierarchy, and need to be unset in order to allow the servers to run. Use showattr to reveal the state of play for your guests and fix appropriately.&lt;br /&gt;
&lt;br /&gt;
==== Unification Problems ====&lt;br /&gt;
&lt;br /&gt;
There is a discrepancy between the immutable-unlink flag used for file unification, the process used in vhashify. This creates considerable issues for anyone who:&lt;br /&gt;
&lt;br /&gt;
* has unified guests with a Debian 2.6.26-*-vserver kernel and wishes to use them with another kernel.&lt;br /&gt;
* has unified guests with a different kernel and wishes to then it on a Debian 2.6.26-*-vserver kernel based host.&lt;br /&gt;
&lt;br /&gt;
Symptoms suffered may include:&lt;br /&gt;
&lt;br /&gt;
* file that cannot be deleted&lt;br /&gt;
* any process involving the writing of files in guests not working&lt;br /&gt;
* files not being unlinked on write&lt;br /&gt;
&lt;br /&gt;
To fix the problem each file must be unlinked then the unification re-applied, or one could try this script submitted to [http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=508523 bugs.debian.org].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== /proc/mounts issue ===&lt;br /&gt;
&lt;br /&gt;
The vserver's /proc/mounts let appear the vserver path on the host. lsof (for example) is able to print it.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
* Linux-VServer HOWTO by Daniel15: http://howtoforge.com/linux_vserver_debian_etch&lt;/div&gt;</summary>
		<author><name>Gebura</name></author>	</entry>

	<entry>
		<id>http://linux-vserver.at/Installation_on_Debian</id>
		<title>Installation on Debian</title>
		<link rel="alternate" type="text/html" href="http://linux-vserver.at/Installation_on_Debian"/>
				<updated>2009-10-26T15:10:26Z</updated>
		
		<summary type="html">&lt;p&gt;Gebura: added /proc/mounts issue&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This guide is written against Debian Etch (4.0) and works on Lenny (5.0) as well. Both releases include kernel '''linux-image-vserver-686''', so no manual patching is needed. Hence, Installation on Debian Etch/Lenny is pretty easy and straightforward.&lt;br /&gt;
&lt;br /&gt;
If you need to compile your own kernel, you need to apply the vserver-version.patch. [http://www.kwu.hu/vserver.txt Details at 2007/May/04]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Packages installation ==&lt;br /&gt;
The packages required by Linux-VServer are:&lt;br /&gt;
* '''linux-image-vserver-686''' - This is the current kernel, use '''linux-image-vserver-amd64''' on 64-bit systems, you can still create 32-bit guests&lt;br /&gt;
* '''util-vserver''' - These are the utilities used to administer the guests&lt;br /&gt;
* '''ssh''' - This is probably already installed, but just in case it isn't&lt;br /&gt;
&lt;br /&gt;
All the packages you need can be obtained via&lt;br /&gt;
&amp;lt;pre&amp;gt;aptitude install linux-image-vserver-686 util-vserver ssh&amp;lt;/pre&amp;gt;&lt;br /&gt;
so run this as ''root'' and reboot.&lt;br /&gt;
To check out wherever everything went fine you may run&lt;br /&gt;
&amp;lt;pre&amp;gt;uname -r&amp;lt;/pre&amp;gt;&lt;br /&gt;
and check that kernel version contains '''vserver''', e.g. '''2.6.18-4-vserver-686'''. That's it.&lt;br /&gt;
&lt;br /&gt;
Now that the host system is ready, you can proceed with [[Building Guest Systems|building guests]].&lt;br /&gt;
&lt;br /&gt;
=== Install util-vserver by source ===&lt;br /&gt;
Occasionally, Debian's util-vserver package can be too old. So, we'll need to compile from [http://people.linux-vserver.org/~dhozac/t/uv-testing/ source].&lt;br /&gt;
&lt;br /&gt;
First, install the required packages for util-vserver to compile.&lt;br /&gt;
&amp;lt;pre&amp;gt;apt-get install vlan dietlibc-dev pkg-config libnss3-dev&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, we configure util-vserver&lt;br /&gt;
&amp;lt;pre&amp;gt;./configure --prefix=/usr --enable-release --mandir=/usr/share/man \&lt;br /&gt;
--infodir=/usr/share/info --sysconfdir=/etc --enable-dietlibc \&lt;br /&gt;
--localstatedir=/var --with-vrootdir=/home&amp;lt;/pre&amp;gt;&lt;br /&gt;
Note: You should change ''--with-vrootdir'' accordingly&lt;br /&gt;
&lt;br /&gt;
Finally, we run make to finalise the installation&lt;br /&gt;
&amp;lt;pre&amp;gt;make &amp;amp;&amp;amp; make install debian &amp;amp;&amp;amp; make install install-distribution&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Running ''vserver-info'' will show you that the proper util-vserver is installed. :)&lt;br /&gt;
&lt;br /&gt;
Debian likes to be funny, so we need to enable the following,&lt;br /&gt;
* echo /usr/lib/util-vserver/vshelper &amp;gt;| /proc/sys/kernel/vshelper&lt;br /&gt;
* echo kernel.vshelper = /usr/lib/util-vserver/vshelper &amp;gt;&amp;gt; /etc/sysctl.conf&lt;br /&gt;
* update-rc.d vprocunhide defaults&lt;br /&gt;
* update-rc.d vservers-default defaults &lt;br /&gt;
&lt;br /&gt;
== Versions ==&lt;br /&gt;
Debian already contains vservers kernels, so no manual patching and compiling is needed. &lt;br /&gt;
{|class=&amp;quot;wikitablenowrap&amp;quot;&lt;br /&gt;
!Debian release &lt;br /&gt;
!Kernel version&lt;br /&gt;
!VServer version&lt;br /&gt;
|-&lt;br /&gt;
| Etch&lt;br /&gt;
| 2.6.18+6&lt;br /&gt;
| 2.0.2.2-rc9&lt;br /&gt;
|-&lt;br /&gt;
| Lenny&lt;br /&gt;
| 2.6.26+17&lt;br /&gt;
| 2.3.0.35&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Issues with the current 2.6.26 Kernel ==&lt;br /&gt;
&lt;br /&gt;
=== Hard CPU scheduling ===&lt;br /&gt;
&lt;br /&gt;
This will not work in the Debian 'Lenny' Kernel, the patch used simply does not contain any of this functionality.&lt;br /&gt;
&lt;br /&gt;
=== Problems due to Xattrs ===&lt;br /&gt;
&lt;br /&gt;
There are two sets of issues within the Lenny kernel caused by the change in value of the Xattrs (extended attributes) applied to file in Vserver setups. The patch used in Debian Lenny uses Xattr flags which are set in positions which differ from the flags set by Debian kernels as well as most of the mainline Vserver patches. This result is that Xattrs of files in a non lenny system appear to have completely different flags in Lenny and vice versa. Since these flags are crucial to vserver hashification and chroot security, they can have devastating effects on Vserver guests and on host system security. If you have recently moved to or away from the stock Lenny Vserver kernel, have look at the symptoms below to see if any match your experiences, and apply the fixes/use another kernel as you see fit.&lt;br /&gt;
&lt;br /&gt;
As of writing these issue has not been corrected within the Debian archive.   These fixes must be applied whenever moving vserver guest '''from''' or '''to''' the Debian 'Lenny's vserver kernel. For more details and a more concise explanation see [http://irc.13thfloor.at/LOG/2009-05/LOG_2009-05-12.txt Bertls IRC explanation ].&lt;br /&gt;
&lt;br /&gt;
==== Chroot Security Problems ====&lt;br /&gt;
&lt;br /&gt;
Linux-Vserver uses file Xattrs to protect guest superusers from being able to view files above their root, preventing access to host file. This creates issues for anyone who:&lt;br /&gt;
&lt;br /&gt;
* has created a guest with a Debian 2.6.26-*-vserver kernel and wishes to use it with another kernel.&lt;br /&gt;
* has created a guest with a different kernel and wishes to use it on a Debian 2.6.26-*-vserver kernel based host.&lt;br /&gt;
&lt;br /&gt;
In effect, the barrier normally in place for guest servers is not recognised by the kernel (the chroot problem) in the situation above and/or immutable links will not function correctly (the unification problem)failing to break when overwritten) in a unified guest setup. Symptoms suffered may include:&lt;br /&gt;
&lt;br /&gt;
* the possibility of vserver guest processes escaping their chroots and accessing other parts of the filesystem&lt;br /&gt;
* guest not starting&lt;br /&gt;
&lt;br /&gt;
To fix the barrier flags for a current kernel, see [[Secure_chroot_Barrier#Solution:_Secure_Barrier | these instructions]]. Note that on some setups a barrier flags will appear on all directories under the guest hierarchy, and need to be unset in order to allow the servers to run. Use showattr to reveal the state of play for your guests and fix appropriately.&lt;br /&gt;
&lt;br /&gt;
==== Unification Problems ====&lt;br /&gt;
&lt;br /&gt;
There is a discrepancy between the immutable-unlink flag used for file unification, the process used in vhashify. This creates considerable issues for anyone who:&lt;br /&gt;
&lt;br /&gt;
* has unified guests with a Debian 2.6.26-*-vserver kernel and wishes to use them with another kernel.&lt;br /&gt;
* has unified guests with a different kernel and wishes to then it on a Debian 2.6.26-*-vserver kernel based host.&lt;br /&gt;
&lt;br /&gt;
Symptoms suffered may include:&lt;br /&gt;
&lt;br /&gt;
* file that cannot be deleted&lt;br /&gt;
* any process involving the writing of files in guests not working&lt;br /&gt;
* files not being unlinked on write&lt;br /&gt;
&lt;br /&gt;
To fix the problem each file must be unlinked then the unification re-applied, or one could try this script submitted to [http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=508523 bugs.debian.org].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== vserver's /proc/mounts issue ===&lt;br /&gt;
&lt;br /&gt;
The vserver's /proc/mounts let appear the vserver path on the host. lsof (for example) is able to print it.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
* Linux-VServer HOWTO by Daniel15: http://howtoforge.com/linux_vserver_debian_etch&lt;/div&gt;</summary>
		<author><name>Gebura</name></author>	</entry>

	<entry>
		<id>http://linux-vserver.at/Frequently_Asked_Questions</id>
		<title>Frequently Asked Questions</title>
		<link rel="alternate" type="text/html" href="http://linux-vserver.at/Frequently_Asked_Questions"/>
				<updated>2009-10-20T19:06:43Z</updated>
		
		<summary type="html">&lt;p&gt;Gebura: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div style=&amp;quot;margin: 2em auto 2em auto; padding: 10px; background-color: #F9ECCD; border: 1px solid #004433; text-align: center;&amp;quot;&amp;gt;&lt;br /&gt;
[[Image:Icon-Caution.png|left]]&lt;br /&gt;
We currently migrate to MediaWiki from our old installation, but not all content has been migrated yet. Take a look at the [[Wiki Team]] page for instructions how to help or look at the [http://oldwiki.linux-vserver.org old wiki] to find the information not migrated yet.&lt;br /&gt;
&lt;br /&gt;
'''To ease migration we created a [[List of old Documentation pages]].'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
CURRENTLY THE CONTENT OF THE OLD WIKI FAQ (AND MORE) IS BEING MIGRATED TO THIS PAGE (TASK: DERJOHN)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== General ==&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=What is a 'Guest'?&lt;br /&gt;
||Details=To talk about stuff, we need some naming. The physical machine is called 'Host' and the 'main' context running the Host Distro is called 'Host Context'. The virtual machine/distro is called 'Guest' and basically is a Distribution (Userspace) running inside a 'Guest Context'.&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=What kind of Operating System (OS) can I run as guest?&lt;br /&gt;
||Details= With VServer you can only run Linux guests. The trick is that a guest does not run a kernel on its own (as XEN and UML do), it merely uses a virtualized host kernel-interface. VServer offers so called security contexts which make it possible to separate one guest from each other, i.e. they cannot get data from each other. Imagine it as a chroot environment with much more security and features.&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=Is this a new project? When was it started?&lt;br /&gt;
||Details=The first public occurrence of Linux-VServer was Oct 2001. The initial mail can be found here: http://www.cs.helsinki.fi/linux/linux-kernel/2001-40/1065.html&lt;br /&gt;
So you can expect a mature software product which does its magic quite well (And hey, we have a version &amp;gt; 2.0!)&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=Which distributions did you test?&lt;br /&gt;
||Details=Some. Check out the wiki for ready-made guest images. But you can easily build own guest images, e.g. with Debian's debootstrap. Checkout [[Building Guest Systems]] how to do that.&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=Is VServer comparable to XEN/UML/QEMU?&lt;br /&gt;
||Details=Nope. XEN/UML/QEMU and VServer are just good friends. Because you ask, you probably know what XEN/UML/QEMU are. VServer in contrary to XEN/UML/QEMU does not &amp;quot;emulate&amp;quot; any hardware you run a kernel on. The purpose of Linux VServer is to isolate (groups of) applications.  The isolation is done by the kernel (see [[Overview]] for a more detailed comparison). You can run a VServer kernel in a XEN/UML/QEMU guest. This is confirmed to work at least with Linux 2.6/vs2.0.&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=With which version should I begin?&lt;br /&gt;
||Details=If you are new to VServer I recommend to try the latest stable kernel patch, and the latest util-vserver &amp;quot;alpha&amp;quot; release.&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=Is VServer secure?&lt;br /&gt;
||Details=We hope so. It should be as least as secure as Linux is. We consider it much much more secure though.&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=Performance?&lt;br /&gt;
||Details=For a single guest, we basically have native performance. Some tests showed insignificant overhead (about 1-2%) others ran faster than on an unpatched kernel. This is IMVHO significantly less than other solutions waste, especially if you have more than a single guest (because of the resource sharing).&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=What is the &amp;quot;great flower page&amp;quot;?&lt;br /&gt;
||Details=Well, [http://www.nongnu.org/util-vserver/doc/conf/configuration.html this page] contains all configuration options for util-vserver. The name of the page is derived from the stylesheet(s) it contains.&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Resources usage ==&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=Resource sharing?&lt;br /&gt;
||Details=Yes ....&lt;br /&gt;
* memory: Dynamically.&lt;br /&gt;
* CPU usage: Dynamically (token bucket)&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=Resource limiting?&lt;br /&gt;
||Details=You can put limits per guest on different subsystems.&lt;br /&gt;
* using ulimits and rlimits (rlimit is a new feature of kernel 2.6/vs2.0.) per guest, to limit the memory consumption, the number of processes or file-handles, ... : see [[Resource Limits]]&lt;br /&gt;
* CPU usage : see [[CPU Scheduler]]&lt;br /&gt;
* disk space usage : see [[Disk Limits and Quota]]&lt;br /&gt;
Note that you can only offer guaranteed resource availability with some ticks at the time.&lt;br /&gt;
|Signature=derjohn&amp;amp;xm}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=How do I limit a guests RAM? I want to prevent OOM situations on the host!&lt;br /&gt;
||Details=First you can read [http://linux-vserver.org/Memory+Allocation] and [[Memory Limits]].&lt;br /&gt;
If you want a recipe, do this:&lt;br /&gt;
# Check the size of memory pages. On x86 and x86_64 is usually 4 KB per page.&lt;br /&gt;
# Create /etc/vserver/&amp;lt;guest&amp;gt;/rlimits/&lt;br /&gt;
# Check your physical memory size on the host, e.g. with &amp;quot;free -m&amp;quot;. maxram = kilobytes/pagesize.&lt;br /&gt;
# Limit the guests physical RAM to value smaller then maxram:&amp;lt;pre&amp;gt;echo %%insertYourPagesHereSmallerThanMaxram%% &amp;gt; /etc/vserver/&amp;lt;guest&amp;gt;/rlimits/rss &amp;lt;/pre&amp;gt;&lt;br /&gt;
# Check your swapspace, e.g. with 'swapon -s'. maxswap = swapkilobytes/pagesize.&lt;br /&gt;
# Limit the guest's maximum number of as pages to a value smaller than (maxram+maxswap): &amp;lt;pre&amp;gt; echo %%desiredvalue%% &amp;gt; /etc/vserver/&amp;lt;guest&amp;gt;/rlimits/as &amp;lt;/pre&amp;gt;&lt;br /&gt;
# Correctly display the memory information inside the guest:&amp;lt;pre&amp;gt;echo &amp;quot;VIRT_MEM&amp;quot; &amp;gt;&amp;gt; /etc/vservers/&amp;lt;guest&amp;gt;/flags&amp;lt;/pre&amp;gt;&lt;br /&gt;
It should be clear this can still lead to OOM situations. Example: You have two guests and your as limit per guest is greater than 50% of (maxram+maxswap). If both guests request their maximum at the same point in time, there will be not enough mem .....&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=Disk I/O limiting? Is that possible?&lt;br /&gt;
||Details=Well, since vs2.1.1 Linux-VServer supports a mechanism called 'I/O scheduling', which appeared in the 2.6 mainline some time ago. The mainline kernel offers several I/O schedulers:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cat /sys/block/hdc/queue/scheduler&lt;br /&gt;
noop [anticipatory] deadline cfq&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The default is anticipatory a.k.a. &amp;quot;AS&amp;quot;. When running several guests on a host you probably want the I/O performance shared in a fair way among the different guests. The kernel comes with a &amp;quot;completely fair queueing&amp;quot; scheduler, CFQ, which can do that. (More on schedulers can be found at http://lwn.net/Articles/114770/)&lt;br /&gt;
This is how to set the scheduler to &amp;quot;cfq&amp;quot; manually:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
root# echo &amp;quot;cfq&amp;quot; &amp;gt; /sys/block/hdc/queue/scheduler&lt;br /&gt;
root# cat /sys/block/hdc/queue/scheduler&lt;br /&gt;
noop anticipatory deadline [cfq]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Keep in mind that you have to do it on all physical discs. So if you run an md-softraid, do it to all physical /dev/hdXYZ discs!&lt;br /&gt;
If you run Debian there is a predefined way to set the /sys values at boot-time:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# apt-get install sysfsutils&lt;br /&gt;
[...]&lt;br /&gt;
&lt;br /&gt;
# grep cfq /etc/sysfs.conf&lt;br /&gt;
block/sda/queue/scheduler = cfq&lt;br /&gt;
block/sdc/queue/scheduler = cfq&lt;br /&gt;
&lt;br /&gt;
# /etc/init.d/sysfsutils restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For non-vserver processes and CFQ you can set by which key the kernel decides about the fairness:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cat /sys/block/hdc/queue/iosched/key_type&lt;br /&gt;
pgid [tgid] uid gid&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Hint: The 'key_type'-feature has been removed in the mainline kernel recently. Don't look for it any longer :(&lt;br /&gt;
&lt;br /&gt;
The default is tgid, which means to share fairly among process groups. Think every guest is treated like a own process group. It's not possible to set a scheduler strategy within a guest. All processes belonging to the same guest are treated like &amp;quot;noop&amp;quot; within the guest. So: If you run apache and some ftp-server within the _same_ guest, there is no fair scheduling between them, but there is fair scheduling between the whole guest and all other guests.&lt;br /&gt;
&lt;br /&gt;
And: It's possible to tune the scheduler parameters in several ways. Have a look at /sys/block/hdc/queue/....&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=Nice disk I/O scheduling, is that possible?&lt;br /&gt;
||Details=Well, since linux 2.6.13 processess have another priority next to the cpu nice scheduling hint, it's called io nice.&lt;br /&gt;
It's split into three groups, called real-time, best effort and idle. The default is best-effort, but within best-effort, you can have a niceness from 0 to and including 7.&lt;br /&gt;
You can set this niceness by the tool ionice, which for debian is either in the package util-linux or schedutils.&lt;br /&gt;
To change the io-niceness you need the &amp;lt;tt&amp;gt;CAP_SYS_NICE&amp;lt;/tt&amp;gt;, '''and''' need to have the same uid as the processe you want to ionice.&lt;br /&gt;
&lt;br /&gt;
:'''Note:''' If you want to use any schedulung other than best-effort you will also need the &amp;lt;tt&amp;gt;CAP_SYS_ADMIN&amp;lt;/tt&amp;gt;-flag. Be warned that this gives quite some capabilities to the vserver, not just for I/O scheduling!&lt;br /&gt;
&lt;br /&gt;
If you want to increase the niceness of an I/O hogging process within a vserver you need to do:&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
chcontext --xid sponlp1 sudo -u '#2089' ionice -c2 -n5 -p24409&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
with sudo and ionice installed on the root server to increase the *nice*ness of pid 24409, with uid 2089&lt;br /&gt;
|Signature=Groteblup}}&lt;br /&gt;
&lt;br /&gt;
== Unification ==&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=What is unification (vunify)?&lt;br /&gt;
||Details=Unification is Hard Links on Steroids. Guests can 'share' common files (usually binaries and libraries) in a secure way, by creating hard links with special properties (immutable but unlinkable (removable)). The tool to identify common files and to unify them is called vunify.&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=What is vhashify?&lt;br /&gt;
||Details=The successor of vunify, a tool which does unification based on hash values (which allows to find common files in arbitrary paths.)&lt;br /&gt;
It creates hardlinks to files named after a hash of the content of the file. If you have a recent version of the vserver patch (2.2+), with CONFIG_VSERVER_COWBL enabled, you can even modify the hardlinked files inside the vservers and the links will be broken automatically.&lt;br /&gt;
There seems to be a catch when a hashified file has multiple hardlinks inside a guest, or when another internal hardlink is added after hashification. Link breaking will remove all the internal hardlinks too, so the guest will end up with different copies of the original file. The correct solution would be to not hashify files that have multiple links prior to hashification, and to break the link to the hashified version when a new internal hardlink is created. Apparently, this is not implemented yet (?).&lt;br /&gt;
|Signature=Guy-}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=How do I manage a multi-guest setup with vhashify?&lt;br /&gt;
||Details=For 'vhashify', just do these once:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir /etc/vservers/.defaults/apps/vunify/hash /vservers/.hash&lt;br /&gt;
ln -s /vservers/.hash /etc/vservers/.defaults/apps/vunify/hash/root&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then, do this one line per vserver:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir /etc/vservers/&amp;lt;vservername&amp;gt;/apps/vunify   # vhashify reuses vunify configuration&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
To hashify a running vserver, do (possibly from a cronjob):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
vserver name-of-guest hashify&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The guest needs to be running because vhashify tries to figure out what files not to hashify by calling the package manager of the guest via &amp;lt;tt&amp;gt;vserver enter&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In order for the OS cache to benefit from the hardlinking, you'll have to restart the vservers.&lt;br /&gt;
&lt;br /&gt;
To clean up hashified files that are no longer referenced by any vserver, do (possibly from a cronjob):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find /vservers/.hash -type f -links 1 -print0 | xargs -0 rm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Until you do this, the files still take up place even though no vservers need them.&lt;br /&gt;
|Signature=Guy-}}&lt;br /&gt;
&lt;br /&gt;
== Filesystem usage ==&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=Is there a way to implement &amp;quot;user/group quota&amp;quot; per VServer?&lt;br /&gt;
||Details=Yes, but not on a shared partition for now. You need to put the guest on a separate partition, setup a vroot device (to make the quota access secure), copy that into the guest, and adjust the mtab line inside the guest.&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=What about &amp;quot;Quota&amp;quot; for a context? Howto limit disk usage?&lt;br /&gt;
||Details=Context quotas are now called Disk Limits (so that we can tell them apart from the user/group quotas :). They are supported out of the box (with vs2.0+) for all major filesystems (ext2/3, ReiserFS, JFS). You need to tag the FS with XID (see below). Please read [[Disk Limits and Quota]] for more information.&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=How do I tag a guest's directory with xid?&lt;br /&gt;
||Details=Tagging the guest's files gives you several advantages, e.g. the accounting will work properly.&lt;br /&gt;
Filesystem XID tagging only works on supported filesystem. Those are currently: ext2/3, reiserfs/reiser3, xfs and jfs.&lt;br /&gt;
To activate the XID tagging you have to mount the filesystem with &amp;quot;-o tag&amp;quot; (former tagxid is outdated since VS2.2). Attention: It's _not_ possible to &amp;quot;-o remount,tag&amp;quot;, you have to mount it freshly. The guests will tag their files automatiaclly. If you copy files in from the host, you have to tag them manually like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
chxid -c xid -R /var/lib/vservers/&amp;lt;guest&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Note: Context 0 and 1 will see all files, guests will only be able to access untagged files and their own XID. They can see other XID files but no information about the file, e.g. no owner, no group, no permissions.&lt;br /&gt;
Note: It is not advised to tag the root filesystem, as [http://www.paul.sladen.org/vserver/archives/200602/0020.html explained by Herbert] : trying to do so will expose you to some troubles !&lt;br /&gt;
|Signature=derjohn_and_gonzo_and_are}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=How can I copy anything from host to guest partition, normally unvisible on host?&lt;br /&gt;
||Details=You should just change namespace, e.g.:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
vnamespace --enter &amp;lt;xid&amp;gt; -- /bin/bash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and then use standard cp or rsync programs.&lt;br /&gt;
|Signature=SergiuszPawlowicz}}&lt;br /&gt;
&lt;br /&gt;
== Network ==&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=Does it support IPv6?&lt;br /&gt;
||Details=Currently it requires an additional patch, but the functionality should be available in 2.3+ soon. [[IPv6]] has more information.&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=I can't do all I want with the network interfaces inside the guest?&lt;br /&gt;
||Details=For now the networking is 'Host Business' -- the host is a router, and each guest is a server. You can set the capability ICMP_RAW in the context of the guest, or even the capability CAP_NET_RAW (which would even allow to sniff interfaces of other guests!). Likely to change with ngnet.&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=How do I add several IPs to a vserver?&lt;br /&gt;
||Details=First of all a single guest vserver only supports up to 16 IPs (There is a 64-IP patch available, which is in &amp;quot;derjohn's kernel&amp;quot;).&lt;br /&gt;
Here is a little helper-script that adds a list of IPs defined in a text file, one per line.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
j=1&lt;br /&gt;
for i in `cat myiplist`; do&lt;br /&gt;
        j=$(($j+1))&lt;br /&gt;
        mkdir $j&lt;br /&gt;
        echo $i &amp;gt; $j/ip&lt;br /&gt;
        echo &amp;quot;24&amp;quot; &amp;gt; $j/prefix&lt;br /&gt;
done&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=How do I assign a new IP address to a running guest?&lt;br /&gt;
||Details=This is done from the host server:&lt;br /&gt;
* add the ip on the host, for example&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ip addr add 194.169.123.23/24 dev eth0 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* add the ip to the guest's network context (a guests NID is the same as the XID {context ID})&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
naddress --add --nid &amp;lt;nid&amp;gt; --ip 194.169.123.23/24 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* enter the guest (best via ssh) &lt;br /&gt;
* restart the services that need to make use of the new address if required &lt;br /&gt;
* update the config in ''/etc/vserver/&amp;lt;servername&amp;gt;/interfaces'' to reflect the changes for the next guest restart (if desired)&lt;br /&gt;
|Signature=BenjaminGreen}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=If my host has only one a single public IP, can I use RFC1918 IP (e.g. 192.168.foo.bar) for the guest vservers?&lt;br /&gt;
||Details=Yes, use iptables with SNAT to masquerade it. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
iptables -t nat -I POSTROUTING -s $VSERVER_NETZ  ! -d $VSERVER_NETZ -j SNAT --to $EXT_IP&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
See: [[HowtoPrivateNetworking]] and &lt;br /&gt;
http://www.tgunkel.de/it/software/doc/linux_server.en#h3-VServer_Masquerading_SNAT (THX, [MUPPETS]Gonzo)&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=If I shut down my vserver guest, the whole Internet interface ethX on the host is shut down.  What happened?&lt;br /&gt;
||Details=When you shut down a guest (''i.e. vserver foo stop''), the IP is brought down on the host also. If this IP happens to be the primary IP of the host, the kernel will not only bring down the primary IP, but also all secondary IP addresses. But in very recent kernels, there is an option ''settable'' which prevents that nasty feature. It's called &amp;quot;alias promotion&amp;quot;. You may set it via sysctl by adding ''net.ipv4.conf.all.promote_secondaries=1'' in /etc/sysctl.conf or via sysctl command line.&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=Can I run an OpenVPN Server in a guest?&lt;br /&gt;
||Details=&lt;br /&gt;
Yes. To get a OpenVPN Server running in a guest, all networking setup has to be done on the host. This answer describes the common case and shows some pitfalls, for detailled information about OpenVPN, please consult the appropriate documentation on the OpenVPN homepage.&lt;br /&gt;
This is the minimal OpenVPN configuration for the Server which will be used to demonstrate how to get it running in a client:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Networking setup&lt;br /&gt;
server 192.168.16.0     255.255.255.0&lt;br /&gt;
dev tun16&lt;br /&gt;
ifconfig-noexec&lt;br /&gt;
comp-lzo&lt;br /&gt;
# Certificates&lt;br /&gt;
dh ...&lt;br /&gt;
ca ...&lt;br /&gt;
cert ...&lt;br /&gt;
key ...&lt;br /&gt;
# Management&lt;br /&gt;
persist-key&lt;br /&gt;
keepalive 10 60&lt;br /&gt;
verb 4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
First of all you have to prepare the host with a persistent interface in the right mode and with the right settings. This is easily done by using openvpn and the ip and route tools.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# openvpn --mktun --dev tun16&lt;br /&gt;
# ip link set dev tun16 txqueuelen 100&lt;br /&gt;
# ifconfig tun16 192.168.16.1 pointopoint 192.168.16.2 mtu 1500&lt;br /&gt;
# route add -net 192.168.16.0 netmask 255.255.255.0 gw 192.168.16.2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you need different settings, openvpn will tell you the ifconfig and route commands it uses to configure the interface when being started on the host with the original config file, but without ifconfig-noexec.&lt;br /&gt;
Additionally, the guest needs /dev/net/tun to make OpenVPN happy. This can be created with MAKEDEV:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cd /var/lib/vserver/&amp;lt;myopenvpnserver&amp;gt;/dev/&lt;br /&gt;
# ./MAKEDEV tun&lt;br /&gt;
  (creates the dev/net/tun device accessible by the guest - even a tap interface needs /dev/net/tun !)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Finally, the guest needs to have the tun device assigned:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# head /etc/vservers/&amp;lt;myopenvpnserver&amp;gt;/interfaces/1/*&lt;br /&gt;
==&amp;gt; /etc/vservers/&amp;lt;myopenvpnserver&amp;gt;/interfaces/1/ip &amp;lt;==&lt;br /&gt;
192.168.16.1&lt;br /&gt;
&lt;br /&gt;
==&amp;gt; /etc/vservers/&amp;lt;myopenvpnserver&amp;gt;/interfaces/1/nodev &amp;lt;==&lt;br /&gt;
tun16&lt;br /&gt;
&lt;br /&gt;
==&amp;gt; /etc/vservers/&amp;lt;myopenvpnserver&amp;gt;/interfaces/1/prefix &amp;lt;==&lt;br /&gt;
24&lt;br /&gt;
#&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The client's conf may look like that:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Basic setup&lt;br /&gt;
client&lt;br /&gt;
proto tcp-client&lt;br /&gt;
dev tun&lt;br /&gt;
remote &amp;lt;ipaddress&amp;gt;&lt;br /&gt;
comp-lzo&lt;br /&gt;
verb 4&lt;br /&gt;
&lt;br /&gt;
# Certificate&lt;br /&gt;
ca ...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[ Based on derJohn's original answer, all errors mine ] &lt;br /&gt;
|Signature=DavidS}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=Trying to connect to a vserver from the host or another vserver on the same host fails&lt;br /&gt;
||Details=strace shows&lt;br /&gt;
&amp;lt;pre&amp;gt; &lt;br /&gt;
sin_addr=inet_addr(&amp;quot;xx.xx.xx.xx&amp;quot;)}, yy) = -1 EINVAL (Invalid argument)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
A: The host/guest cannot communicate with another guest on same host.&lt;br /&gt;
* check all netmasks on all interfaces (do they overlap) ?&lt;br /&gt;
* check policy routing (disable it temporary) ?&lt;br /&gt;
* check that lo is up (Networking within a host/guest always uses lo interface)&lt;br /&gt;
|Signature=CommonProblems}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=Can I use iptables ?&lt;br /&gt;
||Details=Yes but right now only on the host (rootserver). Please realize that all traffic is local and will not touch the forward chain.&lt;br /&gt;
|Signature=BeginnerFAQ}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=Is it possible to prevent guest from bringing down primary ip?&lt;br /&gt;
||Details=Yes. Remove /etc/vservers/&amp;lt;guest&amp;gt;/interfaces/X/dev, and touch /etc/vservers/&amp;lt;guest&amp;gt;/interfaces/X/nodev&lt;br /&gt;
|Signature=Daniel&amp;amp;Serge}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Administration tools ==&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=Which guest vservers are running?&lt;br /&gt;
||Details=Use vserver-stat to find out.  Example output:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
CTX   PROC    VSZ    RSS  userTIME   sysTIME    UPTIME NAME&lt;br /&gt;
0       77 965.1M 334.6M  14m14s18   2m28s69   1h33m46 root server&lt;br /&gt;
49152    7    14M   5.2M   0m00s40   0m00s30   1h30m15 chiffon&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=Is there a web-based interface for vserver that will allow creation/deletion/configuration etc. of vserver guests?&lt;br /&gt;
||Details=&lt;br /&gt;
* http://OpenVPS.org which is a set of scripts with a web-interface for webhosters/ISPs&lt;br /&gt;
* http://Openvcp.org which is a distributed system (agent!) with a web-interface, with which you can build/remove guests&lt;br /&gt;
* http://vsmon.revolutionlinux.com/ is a distributed monitoring-only solution that allows you to search for a particular vserver in your park.&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
== Hosting foreign distributions ==&lt;br /&gt;
 &lt;br /&gt;
{{Question&lt;br /&gt;
|Question=I run a Debian host and want to build an Ubuntu guest. Howto?&lt;br /&gt;
||Details=Simple ;) Assume you want to build a breezy guest on a sid host with IP 192.168.0.2 and hostname vubuntu, then do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
vserver vubuntu build --force -m debootstrap --hostname vubuntu.myvservers.net --netdev eth0 --interface 192.168.0.2/24 \&lt;br /&gt;
--context 42 -- -d breezy -m http://de.archive.ubuntu.com/ubuntu&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[UPDATE] Currently there are problems in building breezy under unclear circumstances, which seems to have to do with udev. If the above didnt work, try:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
vserver vubuntu build --force -m debootstrap --hostname vubuntu.myvservers.net --netdev eth0 --interface 192.168.0.2/24 \&lt;br /&gt;
--context 42 -- -d breezy -m http://de.archive.ubuntu.com/ubuntu -- --exclude=udev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
In very recent versions of the utils, the problem should not occur anymore (it has to do with the 'secure-mount' if you look in the MLs)&lt;br /&gt;
&lt;br /&gt;
Well, sid's debootstrap knows how to bootstrap Ubuntu linux. Make sure to have a current debootstrap package: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apt-get update&lt;br /&gt;
apt-get install debootstrap&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 The knowledge how to build ubuntu 'breezy badger' (which you probably want to be your guest at the time of writing) has been added recently.&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=I want to build a Gentoo guest. Howto?&lt;br /&gt;
||Details=Even simpler ;) See http://www.gentoo.org/proj/en/vps/vserver-howto.xml#doc_chap3 .&lt;br /&gt;
|Signature=gcc}}&lt;br /&gt;
&lt;br /&gt;
== Application level problems ==&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=I did everything right, but the application foo does not start. What's up there?&lt;br /&gt;
||Details=Before asking on the IRC channel, please check out the 'problematic programs' page:&lt;br /&gt;
[[Problematic Programs]]&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=When I try to ssh to the guest, I log into the host, even if I installed sshd on the guest. What's wrong here?&lt;br /&gt;
||Details=Look at /etc/ssh/sshd_config of the host:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Port 22&lt;br /&gt;
# Use these options to restrict which interfaces/protocols sshd will bind to&lt;br /&gt;
#ListenAddress ::&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And now change the setting to &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Port 22&lt;br /&gt;
# Use these options to restrict which interfaces/protocols sshd will bind to&lt;br /&gt;
ListenAddress your.hosts.ip.here  # not the guests IP! &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then '/etc/init.d/ssh restart' on the host, after that on the guest (if you did apt-get install ssh on the guest already.)&lt;br /&gt;
Do I have to explain more? If the hosts sshd binds all available IP addresses on port 22 (The hosts 'sees' even all addresses of the guests!). So if the guest starts its sshd, it can't bind to port 22 any more. You need to change that setting only on the host. &lt;br /&gt;
(BTW: A similar approach has to be done for a lot of daemons, e.g. Apache. If the daemon does not support an explicit bind, you may use the chbind command to 'hide' IP addresses from the daemon before starting.)|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=Bind9 does not like to start in my guest.&lt;br /&gt;
||Details=Check out the [[Problematic Programs]] page and/or get my [http://linux-vserver.derjohn.de/bind9-packages/bind9-capacheck_9.3.2-2_i386.deb vserver-guest-ready Debian package] for Debian Sid guests and check out the [http://linux-vserver.derjohn.de/bind9-packages/README.txt readme]. (Hint: This is fresh stuff. Please give me feedback)&lt;br /&gt;
 &lt;br /&gt;
[UPDATE] Since VServer Devel 2.1.1-rc18 you do not need to patch the userland tools anymore. The capabilities are masked.&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=My mysqld running in a guest behaves strangely and is awfully slow/locks up&lt;br /&gt;
||Details=This can be related to /tmp being too small. mysqld stores temporary tables in /tmp and as such, if a lot of queries happen and /tmp runs full this can cause one query to lock up whilst creating the tmp table and all other queries waiting to acquire the lock. There are two possible solutions to that problem: a.) Modify /etc/vservers/vserver-name/fstab and assign more memory to the tmpfs of /tmp and b.) remove the /tmp entry from /etc/vservers/vserver-name/fstab completly. Especially on database servers with a rather high load the second one might be the preferred method.|Signature=sp}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=Pure-FTP does not run inside a VServer?&lt;br /&gt;
||Details=That's because it has capabilities enabled, make sure you rebuild your distro's package passing also the `--without-capabilities` flag to configure.&lt;br /&gt;
|Signature=Pedro Algarvio, aka, s0undt3ch}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=Why do neither sshd nor crond (vixie-cron) work correctly in my CentOS / Fedora guest? I get 'pam_loginuid(crond:session): set_loginuid failed opening loginuid' and similar lines in my logs.&lt;br /&gt;
||Details=Took me a while to figure this out, and it turned out to be mentioned in the old wiki. Here is the solution on how to solve a common problem with sshd / crond, somehow related to selinux and auditing:&lt;br /&gt;
&lt;br /&gt;
pam authentication (also used with openssh) enables &amp;quot;pam_loginuid.so&amp;quot; in the /etc/pam.d/* files. Comment those out as they are not necessary and will not load within a guest anyway. This probably is also necessary on updates later on, if the configs get changed. You therefore may add the following command line to a cronjob file or your software update script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/bin/sed --in-place -e &amp;quot;s/^session.*required.*pam_loginuid.so/# session\trequired\tpam_loginuid.so/g&amp;quot; /etc/pam.d/*&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
|Signature=patrick}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=How do i install nagios-plugins on a Gentoo guest?&lt;br /&gt;
||Details=Unfortunately, the nagios-plugins ./configure scripts wants to ping 127.0.0.1 which is not available inside a guest. Therefore you have to build nagios-plugins outside the guest.&lt;br /&gt;
The easiest way to do this from the host (assuming the guest is running) is:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
vnamespace -e &amp;lt;xid&amp;gt; -- chroot /vservers/&amp;lt;name&amp;gt; emerge nagios-plugins -va&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
|Signature=Hollow}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=Somebody runs ntpd in guest and you can't use ntpdate in host?&lt;br /&gt;
||Details=Try to run ntpdate with options -u :&lt;br /&gt;
 ntpdate -u ntp.domain.xy&lt;br /&gt;
or you can use command:&lt;br /&gt;
 chbind --nid 42 --ip 1.2.3.4 -- ntpdate ntp.domain.xy&lt;br /&gt;
where IP will be the IP of host.&lt;br /&gt;
|Signature=Punkie/Bertl}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Start / Stop a VServer ==&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=How do I make a vserver guest start by default?&lt;br /&gt;
||Details=At least on Debian, I can tell you how to do it with the new-style config. If your guest is called &amp;quot;derjohn&amp;quot; and you want it to be started somewhere at the of your bootstrap process, then do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
echo &amp;quot;default&amp;quot; &amp;gt; /etc/vservers/derjohn/apps/init/mark&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you want to start it earlier, please read the init script &amp;quot;/etc/init.d/util-vserver&amp;quot; to find out how to do it. In most cases you don't need to change this. On Debian the vservers are started at &amp;quot;20&amp;quot;, so after most other stuff is up (networking etc.).&lt;br /&gt;
&lt;br /&gt;
Besides that I created a small helper script for managing the autostart foo: ((vserver-autostart))|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=My host works, but when I start a guest it says that it has a problem with chbind.&lt;br /&gt;
||Details=You are probably using util-vserver &amp;lt;= 0.30.209, which does use dynamic network contexts internally (With 0.30.210 this fact changed). So if you compiled your kernel without dynamic contexts, you may start guests, but you can't use the network context.The solution is either to switch to .210 util (or Hollow's toolset) or compile the kernel with dynamic network contexts.&lt;br /&gt;
SE Keyword: invalid option `nid' testme.sh&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=What is old-style and new-style config?&lt;br /&gt;
||Details=Old-style config refers to a single text-file that contains all the configuration settings. With new-style config the configuration is split into several directories and files. You should probably go for new-style config if you are asking.&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=How can I reboot/halt guests?&lt;br /&gt;
||Details=It depends. &lt;br /&gt;
For legacy Linux-VServer (i.e. 1.2.x), you have to replace /sbin/halt in the guests with vreboot and start rebootmgr in the host. You also need to have a &amp;lt;guest&amp;gt;.conf file in /etc/vservers for each guest. Please have a look at /etc/init.d/rebootmgr.&lt;br /&gt;
For Linux-VServer 2.0+, sys_reboot has been virtualized to do the right thing. No changes are needed in guests. Please note that some things depend on the init style used by the guest : read [[util-vserver:InitStyles]]&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=What is the initial PATH?&lt;br /&gt;
||Details=By default, vserver uses the 'sysv' startup style, which mimics the init process by running the 3rd runlevel through '/etc/init.d/rc 3' (or '/etc/rc.d/rc 3'). Usually this 'rc' script uses a hard-coded PATH. In the case it doesn't, util-vserver also mimics init's default PATH through /etc/vservers/.defaults/apps/init/environment, or if not present /usr/local/lib/util-vserver/defaults/environment. Beware that all those default PATH usually do not include /usr/local.&lt;br /&gt;
|Signature=daniel_hozac&amp;amp;Beuc}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=When I try to start a guest i get this message &amp;quot;/proc/uptime can not be accessed. Usually, this is caused by procfs-security. Please read the FAQ for more details&amp;quot;?&lt;br /&gt;
||Details=After a reboot you need to run the vprocunhide script. If running this script causes many errors to print on the screen, try checking the kernel you have booted with (perhaps it does not have the linux-vserver extensions enabled).&lt;br /&gt;
|Signature=mattzerah}}&lt;br /&gt;
&lt;br /&gt;
== Kernel ==&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=Is SMP Supported?&lt;br /&gt;
||Details=Yes, on all SMP capable kernel architectures.&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=Do I really need the legacy-interfaces? What are these legacy-interfaces?&lt;br /&gt;
||Details=Since Linux-VServer is an ongoing project, new features might replace old ones, some might require a development version. Legacy-interfaces are available for backward compability (which might be removed someday) with Linux-VServer 1.2.x.&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=I have a vserver running on a Linux kernel with preemption. Is VServer &amp;quot;preempt&amp;quot; safe?&lt;br /&gt;
||Details=There are no known issues about running vserver on a preemption enabled kernel. I would like to add, that the vserver kernelhackers would probably exclude that option in 'make menuconfig' if there would be an incompatibility. Just my $.02 :)&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=32 vs 64 Bit? What should I take?&lt;br /&gt;
||Details=If you have the choice make the host a 64 bit one. You can run a guest as 32 bit or as 64 bit on a 64 bit host. To run it as 32 bit, you need to compile the x86_64 (a.k.a. AMD64) with the following options:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[*] Kernel support for ELF binaries&lt;br /&gt;
&amp;lt;M&amp;gt; Kernel support for MISC binaries&lt;br /&gt;
[*] IA32 Emulation &amp;lt;---- without that, the entire 32bit API is not present&lt;br /&gt;
&amp;lt;M&amp;gt;   IA32 a.out support  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You can force the guest to behave like a 32 environment like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
echo linux_32bit &amp;gt; /etc/vservers/$NAME/personality&lt;br /&gt;
echo i686 &amp;gt; /etc/vservers/$NAME/uts/machine&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
(thanks cehteh for the hint!)&lt;br /&gt;
&lt;br /&gt;
But you can force debootstrap to put 32 bit binaries into the guest by 'export ARCH=i386';&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export ARCH=i386 ; vserver build .... &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On debian when using the newvserver script &amp;quot;export ARCH=i386&amp;quot; has no effect, just use:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
newvserver --arch i386 ...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Distribution specific questions ==&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=VServer is included in the stable Debian GNU/Linux for years now. What VS version did they include?&lt;br /&gt;
||Details=At the time of writing, Debian Lenny is the stable release of Debian and includes a 2.6.26 based kernel-package called 2.6.26-2-vserver-ARCH. This currently contains VServer 2.3.0.35 (according to changelog.Debian.gz in the Debian package).&lt;br /&gt;
|Signature=scientes}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=Were can I get newer versions of VServer as ready made packages for Debian?&lt;br /&gt;
||Details=Here you go: http://linux-vserver.derjohn.de/ . There is also some stuff on backports.org, but my kernels are always 'devel' branch.&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Misc ==&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=Why isn't there a device /dev/xyz within a guest?&lt;br /&gt;
||Details=Device nodes allow userspace to access hardware (or virtual resources). Creating a device node inside the guest's namespace will give access to that device, so for security reasons, the number of 'given' devices is small.&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=I want to (re)mount a partition in a running guest ... but the guest has no rights (capability) to (re)mount?&lt;br /&gt;
||Details=I'll explain. I take as example your /tmp partition within the guest is too small, what will be likely the case if you stay with the 16MB default (vserver build mounts /tmp as 16 MB tmpfs!).&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# vnamespace -e XID  mount -t tmpfs -o remount,size=256m,mode=1777 none /var/lib/vservers/&amp;lt;guest&amp;gt;/tmp/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
(if there's a problem, try expanding the symlinks in the mount path)&lt;br /&gt;
Be warned that the guest will not recognize the change, as the /etc/mtab file is not updated when you mount like this. To permanently change the mount, edit /etc/vserver/&amp;lt;guest&amp;gt;/fstab on the host.&lt;br /&gt;
&lt;br /&gt;
If you get:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mount: can't find /var/lib/vservers/&amp;lt;guest&amp;gt;/tmp in /etc/fstab or /etc/mtab&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
then try instead:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
vnamespace -e builder chroot /var/lib/vservers/&amp;lt;guest&amp;gt;/ mount -o remount,size=64m,mode=1777 /tmp&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that this not work for adding a bindmount (&amp;lt;tt&amp;gt;-o bind&amp;lt;/tt&amp;gt;) of a directory outside of a vserver into the vserver. For this, there is no alternative but restarting the vserver.&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=Does anyone know how to increase the size of /tmp within a vserver w/o restarting?&lt;br /&gt;
||Details=Use the remount option for mount.&lt;br /&gt;
 # vnamespace -e XID mount -n -t tmpfs -o remount,size=32m tmpfs /&amp;lt;vdir&amp;gt;/&amp;lt;guest&amp;gt;/tmp&lt;br /&gt;
or something like that.  The arguments are needed since mount is not going to be using /etc/fstab for the information and the version of /proc/mounts is best understood by&lt;br /&gt;
 # vnamespace -e XID cat /proc/mounts.&lt;br /&gt;
See [[Frequently_Asked_Questions#I want to (re)mount a partition in a running guest ... but the guest has no rights (capability) to (re)mount?]]&lt;br /&gt;
|Signature=derjohn/dhozac}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=#1 ERROR:  capset(): Operation not permitted&lt;br /&gt;
||Details=capabilities are not enabled in kernel-setup&lt;br /&gt;
please check that CONFIG_SECURITY_CAPABILITIES is loaded or included in the kernel. ( check with &amp;quot;cat /path_to_kernel/.config | grep -i cap &amp;quot;) &lt;br /&gt;
(2.6.11.5-vs-1.9.5 + 0.30-205)&lt;br /&gt;
|Signature=IrcQuestions}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=How can I make 'vserver start' mount the root filesystem?&lt;br /&gt;
||Details=Mount it via /etc/vservers/vserver-name/fstab, make sure to set the option 'dev' e.g.:&lt;br /&gt;
&amp;lt;pre&amp;gt;/dev/drbd0     /       xfs     rw,dev          0 0&amp;lt;/pre&amp;gt;&lt;br /&gt;
|Signature=AdrianReyer}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=I deleted a guest's directory without shutting it down. Now I have a &amp;quot;ghost&amp;quot; running. Is there any possibility to get it out of proc without rebooting?&lt;br /&gt;
||Details=&lt;br /&gt;
 vkill --xid &amp;lt;xid&amp;gt; -s 15; sleep 2; vkill --xid &amp;lt;xid&amp;gt; -s 9&lt;br /&gt;
&lt;br /&gt;
You will also need to remove guest's ip, for example with:&lt;br /&gt;
 ip addr del &amp;lt;ip&amp;gt; dev eth0&lt;br /&gt;
|Signature=daniel_hozac &amp;amp; gebura }}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=When using nice and su (for example, in the updatedb cron job), I get: su: Permission denied. What does it mean?&lt;br /&gt;
||Details=A guest cannot lower its nice value - and that's what 'su' does through pam_limits which sets a nice value of 0. You can see it through strace:&lt;br /&gt;
 $ strace nice su nobody&lt;br /&gt;
 [...]&lt;br /&gt;
 setpriority(PRIO_PROCESS, 0, 0)         = -1 EACCES (Permission denied)&lt;br /&gt;
You can use 'su nobody -c nice some_cmd' instead.&lt;br /&gt;
(Now there's the question of why a guest process cannot lower its nice value.)&lt;br /&gt;
|Signature=daniel_hozac&amp;amp;Beuc}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=How do I handle NFS mounts within in a guest?&lt;br /&gt;
||Details=There are three ways. &lt;br /&gt;
&lt;br /&gt;
'''1)''' Mount the NFS share from the host OS and let vserver guest access it as part of it's file system.&lt;br /&gt;
&lt;br /&gt;
''mount --bind'' may also be beneficial in this scenario.&lt;br /&gt;
&lt;br /&gt;
'''2)''' Use util-vserver and create a ''fstab.remote'' file in the /etc/vserver/&amp;lt;vserver_name&amp;gt; directory. Populate this with the NFS shares and they will be mounted in the context of the vserver guest.&lt;br /&gt;
&lt;br /&gt;
See http://www.nongnu.org/util-vserver/doc/conf/configuration.html&lt;br /&gt;
&lt;br /&gt;
'''3)''' Add capabilities to the vserver guest instance to grant sufficient rights to allow NFS mounts.&lt;br /&gt;
&lt;br /&gt;
Add the following to /etc/vserver/&amp;lt;vserver_name&amp;gt;/bcapabilities&lt;br /&gt;
 SYS_ADMIN&lt;br /&gt;
Add the following to /etc/vserver/&amp;lt;vserver_name&amp;gt;/ccapabilities&lt;br /&gt;
 SECURE_MOUNT&lt;br /&gt;
 BINARY_MOUNT&lt;br /&gt;
&lt;br /&gt;
See [[Capabilities_and_Flags]] for more information about vserver capabilities.&lt;br /&gt;
&lt;br /&gt;
If you want the NFS shares to be mounted when the guest starts, add them to /etc/vserver/&amp;lt;vserver_name&amp;gt;/fstab&lt;br /&gt;
&lt;br /&gt;
||Signature=martindk}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=vserver start/stop/enter fails with something like &amp;quot;vnamespace: execvp(&amp;quot;/usr/sbin/vserver&amp;quot;): No such file or directory&amp;quot; ?&lt;br /&gt;
||Details=Check whether ''/usr'' is mounted in the namespace you are working with.&lt;br /&gt;
&amp;lt;pre&amp;gt;vnamespace -e &amp;lt;guest&amp;gt; cat /proc/mounts&amp;lt;/pre&amp;gt;&lt;br /&gt;
If there is no ''/usr'', you can fix your problem with simply mounting it using the following command:&lt;br /&gt;
&amp;lt;pre&amp;gt;vnamespace -e &amp;lt;guest&amp;gt; mount /dev/&amp;lt;device&amp;gt; /usr&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
||Signature=sim0n}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=The command vserver &amp;lt;$server&amp;gt; start gives '/etc/init.d/rc: line 74: /etc/default/rcS: No such file or directory', what do I do? &lt;br /&gt;
||Details=The vserver has not been correctly installed, this has several reasons&lt;br /&gt;
check your install log and it should tell you something about that your server didn't get installed properly&lt;br /&gt;
* use stable distribution of debian as server (debootstrap may be different over the versions)&lt;br /&gt;
* deny_mount, deny_caps and deny_pivot should be off if your running grsec.&lt;br /&gt;
&lt;br /&gt;
||Signature=Dude}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=How could I rename a vserver directory?&lt;br /&gt;
||Details=Please note : this procedure renames the '''directory''', not the '''hostname''' !&lt;br /&gt;
#Stop the vserver in question&lt;br /&gt;
#rename the &amp;lt;tt&amp;gt;/vservers/&amp;lt;server name&amp;gt;&amp;lt;/tt&amp;gt; directory&lt;br /&gt;
#rename the &amp;lt;tt&amp;gt;/etc/vservers/&amp;lt;server name&amp;gt;&amp;lt;/tt&amp;gt; directory&lt;br /&gt;
#update link: &amp;lt;tt&amp;gt;/etc/vservers/&amp;lt;server name&amp;gt;/run&amp;lt;/tt&amp;gt; → &amp;lt;tt&amp;gt;/var/run/vservers/&amp;lt;server name&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
#update link: &amp;lt;tt&amp;gt;/etc/vservers/&amp;lt;server name&amp;gt;/vdir&amp;lt;/tt&amp;gt; → &amp;lt;tt&amp;gt;/etc/vservers/.defaults/vdirbase/&amp;lt;server name&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
#update link: &amp;lt;tt&amp;gt;/etc/vservers/&amp;lt;server name&amp;gt;/cache&amp;lt;/tt&amp;gt; → &amp;lt;tt&amp;gt;/etc/vservers/.defaults/cachebase/&amp;lt;server name&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
#update link: &amp;lt;tt&amp;gt;/var/run/vservers.rev/&amp;lt;server XID&amp;gt;&amp;lt;/tt&amp;gt; → &amp;lt;tt&amp;gt;/etc/vservers/&amp;lt;server name&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
#Start the vserver in question. It should start properly.&lt;br /&gt;
&lt;br /&gt;
|Signature=FlorianD (from ''hillct'' page in old wiki)}}&lt;br /&gt;
&lt;br /&gt;
== Upgrade from 2.0 to 2.2 ==&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=I now get errors like &amp;quot;ncontext: vc_net_create(): Invalid argument; dynamic contexts disabled.&amp;quot; on startup. Vservers are not started&lt;br /&gt;
||Details=Dynamic context are disabled by default and are deprecated. For example, tagxid and network checks won't be useable with dynamic ids. Now you should manually assign a explicit context to your vservers, like&lt;br /&gt;
 echo 101 &amp;gt; /etc/vservers/myvserv/context&lt;br /&gt;
ADDENDUM: please consider that valid static contexts are between 2 and 49151 ( daniel_hozac on IRC ) otherwise you will end up with unexplainable error &amp;quot;ncontext: vc_net_migrate(): No such process&amp;quot; when trying to start the vserver.&lt;br /&gt;
&lt;br /&gt;
|Signature=daniel_hozac&amp;amp;Beuc}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=How do I assign a static context to an existing vserver?&lt;br /&gt;
||Details=Simple ;) See the answer above. &lt;br /&gt;
|Signature=gcc}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=Since upgrading to a newer VS version my guest complains about &amp;quot;vsched: non-numeric value specified for '--priority_bias&amp;quot; at start time. What's wrong?&lt;br /&gt;
||Details=The scheduler paramters changed.You can use this (ugly) script to convert them or do it by hand:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cat /usr/local/sbin/vserver-convert-schedule-to-scheddir&lt;br /&gt;
#/bin/sh&lt;br /&gt;
mkdir /etc/vservers/$1/sched&lt;br /&gt;
sed -e 1p -n /etc/vservers/$1/schedule &amp;gt; /etc/vservers/$1/sched/fill-rate&lt;br /&gt;
sed -e 2p -n /etc/vservers/$1/schedule &amp;gt; /etc/vservers/$1/sched/interval&lt;br /&gt;
sed -e 3p -n /etc/vservers/$1/schedule &amp;gt; /etc/vservers/$1/sched/tokens&lt;br /&gt;
sed -e 4p -n /etc/vservers/$1/schedule &amp;gt; /etc/vservers/$1/sched/tokens-min&lt;br /&gt;
sed -e 5p -n /etc/vservers/$1/schedule &amp;gt; /etc/vservers/$1/sched/tokens-max&lt;br /&gt;
&lt;br /&gt;
mv /etc/vservers/$1/schedule /etc/vservers/$1/schedule.converted.see.scheddir&lt;br /&gt;
&lt;br /&gt;
# see: http://oldwiki.linux-vserver.org/Scheduler+Parameters&lt;br /&gt;
# see: http://www.nongnu.org/util-vserver/doc/conf/configuration.html#sched&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
||Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=Since upgrading to a newer VS version my guest doesn't have the amount of shared memory (SHM / SHMMAX / SHMALL ) as it had in the former version. What changed?&lt;br /&gt;
||Details=Every VS version that runs on a kernel &amp;gt;= 2.6.19 offers sysctl values per guest. This has to do with the 'ipc namespace' feature that was added to the mainline kernel in version 2.6.19. Linux-VServer uses that feature to give each guest a separate 'ipc namespace' and thus 'own' sysctl values per guest. Because shmmax is such a sysctl value, you have to set it per guest.&lt;br /&gt;
Here is an example how to do so:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# mkdir /etc/vservers/&amp;lt;vserver&amp;gt;/sysctl/0 -p&lt;br /&gt;
# echo kernel.shmall &amp;gt; /etc/vservers/&amp;lt;vserver&amp;gt;/sysctl/0/setting&lt;br /&gt;
# echo 134217728 &amp;gt; /etc/vservers/&amp;lt;vserver&amp;gt;/sysctl/0/value&lt;br /&gt;
# mkdir /etc/vservers/&amp;lt;vserver&amp;gt;/sysctl/1 -p&lt;br /&gt;
# echo kernel.shmmax &amp;gt; /etc/vservers/&amp;lt;vserver&amp;gt;/sysctl/1/setting&lt;br /&gt;
# echo 134217728 &amp;gt; /etc/vservers/&amp;lt;vserver&amp;gt;/sysctl/1/value&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
It's also explained on the geat flower page:&lt;br /&gt;
# see: http://www.nongnu.org/util-vserver/doc/conf/configuration.html -&amp;gt; Look for &amp;quot;sysctl&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
After changing those values, restart your guest, enter it and check if the values are set:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# sysctl -a | grep shm&lt;br /&gt;
...&lt;br /&gt;
kernel.shmall = 134217728&lt;br /&gt;
kernel.shmmax = 134217728&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
||Signature=derjohn}}&lt;/div&gt;</summary>
		<author><name>Gebura</name></author>	</entry>

	<entry>
		<id>http://linux-vserver.at/Frequently_Asked_Questions</id>
		<title>Frequently Asked Questions</title>
		<link rel="alternate" type="text/html" href="http://linux-vserver.at/Frequently_Asked_Questions"/>
				<updated>2009-10-20T19:05:45Z</updated>
		
		<summary type="html">&lt;p&gt;Gebura: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div style=&amp;quot;margin: 2em auto 2em auto; padding: 10px; background-color: #F9ECCD; border: 1px solid #004433; text-align: center;&amp;quot;&amp;gt;&lt;br /&gt;
[[Image:Icon-Caution.png|left]]&lt;br /&gt;
We currently migrate to MediaWiki from our old installation, but not all content has been migrated yet. Take a look at the [[Wiki Team]] page for instructions how to help or look at the [http://oldwiki.linux-vserver.org old wiki] to find the information not migrated yet.&lt;br /&gt;
&lt;br /&gt;
'''To ease migration we created a [[List of old Documentation pages]].'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
CURRENTLY THE CONTENT OF THE OLD WIKI FAQ (AND MORE) IS BEING MIGRATED TO THIS PAGE (TASK: DERJOHN)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== General ==&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=What is a 'Guest'?&lt;br /&gt;
||Details=To talk about stuff, we need some naming. The physical machine is called 'Host' and the 'main' context running the Host Distro is called 'Host Context'. The virtual machine/distro is called 'Guest' and basically is a Distribution (Userspace) running inside a 'Guest Context'.&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=What kind of Operating System (OS) can I run as guest?&lt;br /&gt;
||Details= With VServer you can only run Linux guests. The trick is that a guest does not run a kernel on its own (as XEN and UML do), it merely uses a virtualized host kernel-interface. VServer offers so called security contexts which make it possible to separate one guest from each other, i.e. they cannot get data from each other. Imagine it as a chroot environment with much more security and features.&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=Is this a new project? When was it started?&lt;br /&gt;
||Details=The first public occurrence of Linux-VServer was Oct 2001. The initial mail can be found here: http://www.cs.helsinki.fi/linux/linux-kernel/2001-40/1065.html&lt;br /&gt;
So you can expect a mature software product which does its magic quite well (And hey, we have a version &amp;gt; 2.0!)&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=Which distributions did you test?&lt;br /&gt;
||Details=Some. Check out the wiki for ready-made guest images. But you can easily build own guest images, e.g. with Debian's debootstrap. Checkout [[Building Guest Systems]] how to do that.&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=Is VServer comparable to XEN/UML/QEMU?&lt;br /&gt;
||Details=Nope. XEN/UML/QEMU and VServer are just good friends. Because you ask, you probably know what XEN/UML/QEMU are. VServer in contrary to XEN/UML/QEMU does not &amp;quot;emulate&amp;quot; any hardware you run a kernel on. The purpose of Linux VServer is to isolate (groups of) applications.  The isolation is done by the kernel (see [[Overview]] for a more detailed comparison). You can run a VServer kernel in a XEN/UML/QEMU guest. This is confirmed to work at least with Linux 2.6/vs2.0.&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=With which version should I begin?&lt;br /&gt;
||Details=If you are new to VServer I recommend to try the latest stable kernel patch, and the latest util-vserver &amp;quot;alpha&amp;quot; release.&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=Is VServer secure?&lt;br /&gt;
||Details=We hope so. It should be as least as secure as Linux is. We consider it much much more secure though.&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=Performance?&lt;br /&gt;
||Details=For a single guest, we basically have native performance. Some tests showed insignificant overhead (about 1-2%) others ran faster than on an unpatched kernel. This is IMVHO significantly less than other solutions waste, especially if you have more than a single guest (because of the resource sharing).&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=What is the &amp;quot;great flower page&amp;quot;?&lt;br /&gt;
||Details=Well, [http://www.nongnu.org/util-vserver/doc/conf/configuration.html this page] contains all configuration options for util-vserver. The name of the page is derived from the stylesheet(s) it contains.&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Resources usage ==&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=Resource sharing?&lt;br /&gt;
||Details=Yes ....&lt;br /&gt;
* memory: Dynamically.&lt;br /&gt;
* CPU usage: Dynamically (token bucket)&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=Resource limiting?&lt;br /&gt;
||Details=You can put limits per guest on different subsystems.&lt;br /&gt;
* using ulimits and rlimits (rlimit is a new feature of kernel 2.6/vs2.0.) per guest, to limit the memory consumption, the number of processes or file-handles, ... : see [[Resource Limits]]&lt;br /&gt;
* CPU usage : see [[CPU Scheduler]]&lt;br /&gt;
* disk space usage : see [[Disk Limits and Quota]]&lt;br /&gt;
Note that you can only offer guaranteed resource availability with some ticks at the time.&lt;br /&gt;
|Signature=derjohn&amp;amp;xm}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=How do I limit a guests RAM? I want to prevent OOM situations on the host!&lt;br /&gt;
||Details=First you can read [http://linux-vserver.org/Memory+Allocation] and [[Memory Limits]].&lt;br /&gt;
If you want a recipe, do this:&lt;br /&gt;
# Check the size of memory pages. On x86 and x86_64 is usually 4 KB per page.&lt;br /&gt;
# Create /etc/vserver/&amp;lt;guest&amp;gt;/rlimits/&lt;br /&gt;
# Check your physical memory size on the host, e.g. with &amp;quot;free -m&amp;quot;. maxram = kilobytes/pagesize.&lt;br /&gt;
# Limit the guests physical RAM to value smaller then maxram:&amp;lt;pre&amp;gt;echo %%insertYourPagesHereSmallerThanMaxram%% &amp;gt; /etc/vserver/&amp;lt;guest&amp;gt;/rlimits/rss &amp;lt;/pre&amp;gt;&lt;br /&gt;
# Check your swapspace, e.g. with 'swapon -s'. maxswap = swapkilobytes/pagesize.&lt;br /&gt;
# Limit the guest's maximum number of as pages to a value smaller than (maxram+maxswap): &amp;lt;pre&amp;gt; echo %%desiredvalue%% &amp;gt; /etc/vserver/&amp;lt;guest&amp;gt;/rlimits/as &amp;lt;/pre&amp;gt;&lt;br /&gt;
# Correctly display the memory information inside the guest:&amp;lt;pre&amp;gt;echo &amp;quot;VIRT_MEM&amp;quot; &amp;gt;&amp;gt; /etc/vservers/&amp;lt;guest&amp;gt;/flags&amp;lt;/pre&amp;gt;&lt;br /&gt;
It should be clear this can still lead to OOM situations. Example: You have two guests and your as limit per guest is greater than 50% of (maxram+maxswap). If both guests request their maximum at the same point in time, there will be not enough mem .....&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=Disk I/O limiting? Is that possible?&lt;br /&gt;
||Details=Well, since vs2.1.1 Linux-VServer supports a mechanism called 'I/O scheduling', which appeared in the 2.6 mainline some time ago. The mainline kernel offers several I/O schedulers:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cat /sys/block/hdc/queue/scheduler&lt;br /&gt;
noop [anticipatory] deadline cfq&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The default is anticipatory a.k.a. &amp;quot;AS&amp;quot;. When running several guests on a host you probably want the I/O performance shared in a fair way among the different guests. The kernel comes with a &amp;quot;completely fair queueing&amp;quot; scheduler, CFQ, which can do that. (More on schedulers can be found at http://lwn.net/Articles/114770/)&lt;br /&gt;
This is how to set the scheduler to &amp;quot;cfq&amp;quot; manually:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
root# echo &amp;quot;cfq&amp;quot; &amp;gt; /sys/block/hdc/queue/scheduler&lt;br /&gt;
root# cat /sys/block/hdc/queue/scheduler&lt;br /&gt;
noop anticipatory deadline [cfq]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Keep in mind that you have to do it on all physical discs. So if you run an md-softraid, do it to all physical /dev/hdXYZ discs!&lt;br /&gt;
If you run Debian there is a predefined way to set the /sys values at boot-time:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# apt-get install sysfsutils&lt;br /&gt;
[...]&lt;br /&gt;
&lt;br /&gt;
# grep cfq /etc/sysfs.conf&lt;br /&gt;
block/sda/queue/scheduler = cfq&lt;br /&gt;
block/sdc/queue/scheduler = cfq&lt;br /&gt;
&lt;br /&gt;
# /etc/init.d/sysfsutils restart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For non-vserver processes and CFQ you can set by which key the kernel decides about the fairness:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cat /sys/block/hdc/queue/iosched/key_type&lt;br /&gt;
pgid [tgid] uid gid&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Hint: The 'key_type'-feature has been removed in the mainline kernel recently. Don't look for it any longer :(&lt;br /&gt;
&lt;br /&gt;
The default is tgid, which means to share fairly among process groups. Think every guest is treated like a own process group. It's not possible to set a scheduler strategy within a guest. All processes belonging to the same guest are treated like &amp;quot;noop&amp;quot; within the guest. So: If you run apache and some ftp-server within the _same_ guest, there is no fair scheduling between them, but there is fair scheduling between the whole guest and all other guests.&lt;br /&gt;
&lt;br /&gt;
And: It's possible to tune the scheduler parameters in several ways. Have a look at /sys/block/hdc/queue/....&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=Nice disk I/O scheduling, is that possible?&lt;br /&gt;
||Details=Well, since linux 2.6.13 processess have another priority next to the cpu nice scheduling hint, it's called io nice.&lt;br /&gt;
It's split into three groups, called real-time, best effort and idle. The default is best-effort, but within best-effort, you can have a niceness from 0 to and including 7.&lt;br /&gt;
You can set this niceness by the tool ionice, which for debian is either in the package util-linux or schedutils.&lt;br /&gt;
To change the io-niceness you need the &amp;lt;tt&amp;gt;CAP_SYS_NICE&amp;lt;/tt&amp;gt;, '''and''' need to have the same uid as the processe you want to ionice.&lt;br /&gt;
&lt;br /&gt;
:'''Note:''' If you want to use any schedulung other than best-effort you will also need the &amp;lt;tt&amp;gt;CAP_SYS_ADMIN&amp;lt;/tt&amp;gt;-flag. Be warned that this gives quite some capabilities to the vserver, not just for I/O scheduling!&lt;br /&gt;
&lt;br /&gt;
If you want to increase the niceness of an I/O hogging process within a vserver you need to do:&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
chcontext --xid sponlp1 sudo -u '#2089' ionice -c2 -n5 -p24409&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
with sudo and ionice installed on the root server to increase the *nice*ness of pid 24409, with uid 2089&lt;br /&gt;
|Signature=Groteblup}}&lt;br /&gt;
&lt;br /&gt;
== Unification ==&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=What is unification (vunify)?&lt;br /&gt;
||Details=Unification is Hard Links on Steroids. Guests can 'share' common files (usually binaries and libraries) in a secure way, by creating hard links with special properties (immutable but unlinkable (removable)). The tool to identify common files and to unify them is called vunify.&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=What is vhashify?&lt;br /&gt;
||Details=The successor of vunify, a tool which does unification based on hash values (which allows to find common files in arbitrary paths.)&lt;br /&gt;
It creates hardlinks to files named after a hash of the content of the file. If you have a recent version of the vserver patch (2.2+), with CONFIG_VSERVER_COWBL enabled, you can even modify the hardlinked files inside the vservers and the links will be broken automatically.&lt;br /&gt;
There seems to be a catch when a hashified file has multiple hardlinks inside a guest, or when another internal hardlink is added after hashification. Link breaking will remove all the internal hardlinks too, so the guest will end up with different copies of the original file. The correct solution would be to not hashify files that have multiple links prior to hashification, and to break the link to the hashified version when a new internal hardlink is created. Apparently, this is not implemented yet (?).&lt;br /&gt;
|Signature=Guy-}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=How do I manage a multi-guest setup with vhashify?&lt;br /&gt;
||Details=For 'vhashify', just do these once:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir /etc/vservers/.defaults/apps/vunify/hash /vservers/.hash&lt;br /&gt;
ln -s /vservers/.hash /etc/vservers/.defaults/apps/vunify/hash/root&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then, do this one line per vserver:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir /etc/vservers/&amp;lt;vservername&amp;gt;/apps/vunify   # vhashify reuses vunify configuration&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
To hashify a running vserver, do (possibly from a cronjob):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
vserver name-of-guest hashify&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The guest needs to be running because vhashify tries to figure out what files not to hashify by calling the package manager of the guest via &amp;lt;tt&amp;gt;vserver enter&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In order for the OS cache to benefit from the hardlinking, you'll have to restart the vservers.&lt;br /&gt;
&lt;br /&gt;
To clean up hashified files that are no longer referenced by any vserver, do (possibly from a cronjob):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find /vservers/.hash -type f -links 1 -print0 | xargs -0 rm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Until you do this, the files still take up place even though no vservers need them.&lt;br /&gt;
|Signature=Guy-}}&lt;br /&gt;
&lt;br /&gt;
== Filesystem usage ==&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=Is there a way to implement &amp;quot;user/group quota&amp;quot; per VServer?&lt;br /&gt;
||Details=Yes, but not on a shared partition for now. You need to put the guest on a separate partition, setup a vroot device (to make the quota access secure), copy that into the guest, and adjust the mtab line inside the guest.&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=What about &amp;quot;Quota&amp;quot; for a context? Howto limit disk usage?&lt;br /&gt;
||Details=Context quotas are now called Disk Limits (so that we can tell them apart from the user/group quotas :). They are supported out of the box (with vs2.0+) for all major filesystems (ext2/3, ReiserFS, JFS). You need to tag the FS with XID (see below). Please read [[Disk Limits and Quota]] for more information.&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=How do I tag a guest's directory with xid?&lt;br /&gt;
||Details=Tagging the guest's files gives you several advantages, e.g. the accounting will work properly.&lt;br /&gt;
Filesystem XID tagging only works on supported filesystem. Those are currently: ext2/3, reiserfs/reiser3, xfs and jfs.&lt;br /&gt;
To activate the XID tagging you have to mount the filesystem with &amp;quot;-o tag&amp;quot; (former tagxid is outdated since VS2.2). Attention: It's _not_ possible to &amp;quot;-o remount,tag&amp;quot;, you have to mount it freshly. The guests will tag their files automatiaclly. If you copy files in from the host, you have to tag them manually like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
chxid -c xid -R /var/lib/vservers/&amp;lt;guest&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Note: Context 0 and 1 will see all files, guests will only be able to access untagged files and their own XID. They can see other XID files but no information about the file, e.g. no owner, no group, no permissions.&lt;br /&gt;
Note: It is not advised to tag the root filesystem, as [http://www.paul.sladen.org/vserver/archives/200602/0020.html explained by Herbert] : trying to do so will expose you to some troubles !&lt;br /&gt;
|Signature=derjohn_and_gonzo_and_are}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=How can I copy anything from host to guest partition, normally unvisible on host?&lt;br /&gt;
||Details=You should just change namespace, e.g.:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
vnamespace --enter &amp;lt;xid&amp;gt; -- /bin/bash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and then use standard cp or rsync programs.&lt;br /&gt;
|Signature=SergiuszPawlowicz}}&lt;br /&gt;
&lt;br /&gt;
== Network ==&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=Does it support IPv6?&lt;br /&gt;
||Details=Currently it requires an additional patch, but the functionality should be available in 2.3+ soon. [[IPv6]] has more information.&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=I can't do all I want with the network interfaces inside the guest?&lt;br /&gt;
||Details=For now the networking is 'Host Business' -- the host is a router, and each guest is a server. You can set the capability ICMP_RAW in the context of the guest, or even the capability CAP_NET_RAW (which would even allow to sniff interfaces of other guests!). Likely to change with ngnet.&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=How do I add several IPs to a vserver?&lt;br /&gt;
||Details=First of all a single guest vserver only supports up to 16 IPs (There is a 64-IP patch available, which is in &amp;quot;derjohn's kernel&amp;quot;).&lt;br /&gt;
Here is a little helper-script that adds a list of IPs defined in a text file, one per line.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
j=1&lt;br /&gt;
for i in `cat myiplist`; do&lt;br /&gt;
        j=$(($j+1))&lt;br /&gt;
        mkdir $j&lt;br /&gt;
        echo $i &amp;gt; $j/ip&lt;br /&gt;
        echo &amp;quot;24&amp;quot; &amp;gt; $j/prefix&lt;br /&gt;
done&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=How do I assign a new IP address to a running guest?&lt;br /&gt;
||Details=This is done from the host server:&lt;br /&gt;
* add the ip on the host, for example&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ip addr add 194.169.123.23/24 dev eth0 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* add the ip to the guest's network context (a guests NID is the same as the XID {context ID})&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
naddress --add --nid &amp;lt;nid&amp;gt; --ip 194.169.123.23/24 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* enter the guest (best via ssh) &lt;br /&gt;
* restart the services that need to make use of the new address if required &lt;br /&gt;
* update the config in ''/etc/vserver/&amp;lt;servername&amp;gt;/interfaces'' to reflect the changes for the next guest restart (if desired)&lt;br /&gt;
|Signature=BenjaminGreen}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=If my host has only one a single public IP, can I use RFC1918 IP (e.g. 192.168.foo.bar) for the guest vservers?&lt;br /&gt;
||Details=Yes, use iptables with SNAT to masquerade it. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
iptables -t nat -I POSTROUTING -s $VSERVER_NETZ  ! -d $VSERVER_NETZ -j SNAT --to $EXT_IP&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
See: [[HowtoPrivateNetworking]] and &lt;br /&gt;
http://www.tgunkel.de/it/software/doc/linux_server.en#h3-VServer_Masquerading_SNAT (THX, [MUPPETS]Gonzo)&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=If I shut down my vserver guest, the whole Internet interface ethX on the host is shut down.  What happened?&lt;br /&gt;
||Details=When you shut down a guest (''i.e. vserver foo stop''), the IP is brought down on the host also. If this IP happens to be the primary IP of the host, the kernel will not only bring down the primary IP, but also all secondary IP addresses. But in very recent kernels, there is an option ''settable'' which prevents that nasty feature. It's called &amp;quot;alias promotion&amp;quot;. You may set it via sysctl by adding ''net.ipv4.conf.all.promote_secondaries=1'' in /etc/sysctl.conf or via sysctl command line.&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=Can I run an OpenVPN Server in a guest?&lt;br /&gt;
||Details=&lt;br /&gt;
Yes. To get a OpenVPN Server running in a guest, all networking setup has to be done on the host. This answer describes the common case and shows some pitfalls, for detailled information about OpenVPN, please consult the appropriate documentation on the OpenVPN homepage.&lt;br /&gt;
This is the minimal OpenVPN configuration for the Server which will be used to demonstrate how to get it running in a client:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Networking setup&lt;br /&gt;
server 192.168.16.0     255.255.255.0&lt;br /&gt;
dev tun16&lt;br /&gt;
ifconfig-noexec&lt;br /&gt;
comp-lzo&lt;br /&gt;
# Certificates&lt;br /&gt;
dh ...&lt;br /&gt;
ca ...&lt;br /&gt;
cert ...&lt;br /&gt;
key ...&lt;br /&gt;
# Management&lt;br /&gt;
persist-key&lt;br /&gt;
keepalive 10 60&lt;br /&gt;
verb 4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
First of all you have to prepare the host with a persistent interface in the right mode and with the right settings. This is easily done by using openvpn and the ip and route tools.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# openvpn --mktun --dev tun16&lt;br /&gt;
# ip link set dev tun16 txqueuelen 100&lt;br /&gt;
# ifconfig tun16 192.168.16.1 pointopoint 192.168.16.2 mtu 1500&lt;br /&gt;
# route add -net 192.168.16.0 netmask 255.255.255.0 gw 192.168.16.2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you need different settings, openvpn will tell you the ifconfig and route commands it uses to configure the interface when being started on the host with the original config file, but without ifconfig-noexec.&lt;br /&gt;
Additionally, the guest needs /dev/net/tun to make OpenVPN happy. This can be created with MAKEDEV:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cd /var/lib/vserver/&amp;lt;myopenvpnserver&amp;gt;/dev/&lt;br /&gt;
# ./MAKEDEV tun&lt;br /&gt;
  (creates the dev/net/tun device accessible by the guest - even a tap interface needs /dev/net/tun !)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Finally, the guest needs to have the tun device assigned:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# head /etc/vservers/&amp;lt;myopenvpnserver&amp;gt;/interfaces/1/*&lt;br /&gt;
==&amp;gt; /etc/vservers/&amp;lt;myopenvpnserver&amp;gt;/interfaces/1/ip &amp;lt;==&lt;br /&gt;
192.168.16.1&lt;br /&gt;
&lt;br /&gt;
==&amp;gt; /etc/vservers/&amp;lt;myopenvpnserver&amp;gt;/interfaces/1/nodev &amp;lt;==&lt;br /&gt;
tun16&lt;br /&gt;
&lt;br /&gt;
==&amp;gt; /etc/vservers/&amp;lt;myopenvpnserver&amp;gt;/interfaces/1/prefix &amp;lt;==&lt;br /&gt;
24&lt;br /&gt;
#&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The client's conf may look like that:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Basic setup&lt;br /&gt;
client&lt;br /&gt;
proto tcp-client&lt;br /&gt;
dev tun&lt;br /&gt;
remote &amp;lt;ipaddress&amp;gt;&lt;br /&gt;
comp-lzo&lt;br /&gt;
verb 4&lt;br /&gt;
&lt;br /&gt;
# Certificate&lt;br /&gt;
ca ...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[ Based on derJohn's original answer, all errors mine ] &lt;br /&gt;
|Signature=DavidS}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=Trying to connect to a vserver from the host or another vserver on the same host fails&lt;br /&gt;
||Details=strace shows&lt;br /&gt;
&amp;lt;pre&amp;gt; &lt;br /&gt;
sin_addr=inet_addr(&amp;quot;xx.xx.xx.xx&amp;quot;)}, yy) = -1 EINVAL (Invalid argument)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
A: The host/guest cannot communicate with another guest on same host.&lt;br /&gt;
* check all netmasks on all interfaces (do they overlap) ?&lt;br /&gt;
* check policy routing (disable it temporary) ?&lt;br /&gt;
* check that lo is up (Networking within a host/guest always uses lo interface)&lt;br /&gt;
|Signature=CommonProblems}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=Can I use iptables ?&lt;br /&gt;
||Details=Yes but right now only on the host (rootserver). Please realize that all traffic is local and will not touch the forward chain.&lt;br /&gt;
|Signature=BeginnerFAQ}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=Is it possible to prevent guest from bringing down primary ip?&lt;br /&gt;
||Details=Yes. Remove /etc/vservers/&amp;lt;guest&amp;gt;/interfaces/X/dev, and touch /etc/vservers/&amp;lt;guest&amp;gt;/interfaces/X/nodev&lt;br /&gt;
|Signature=Daniel&amp;amp;Serge}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Administration tools ==&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=Which guest vservers are running?&lt;br /&gt;
||Details=Use vserver-stat to find out.  Example output:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
CTX   PROC    VSZ    RSS  userTIME   sysTIME    UPTIME NAME&lt;br /&gt;
0       77 965.1M 334.6M  14m14s18   2m28s69   1h33m46 root server&lt;br /&gt;
49152    7    14M   5.2M   0m00s40   0m00s30   1h30m15 chiffon&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=Is there a web-based interface for vserver that will allow creation/deletion/configuration etc. of vserver guests?&lt;br /&gt;
||Details=&lt;br /&gt;
* http://OpenVPS.org which is a set of scripts with a web-interface for webhosters/ISPs&lt;br /&gt;
* http://Openvcp.org which is a distributed system (agent!) with a web-interface, with which you can build/remove guests&lt;br /&gt;
* http://vsmon.revolutionlinux.com/ is a distributed monitoring-only solution that allows you to search for a particular vserver in your park.&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
== Hosting foreign distributions ==&lt;br /&gt;
 &lt;br /&gt;
{{Question&lt;br /&gt;
|Question=I run a Debian host and want to build an Ubuntu guest. Howto?&lt;br /&gt;
||Details=Simple ;) Assume you want to build a breezy guest on a sid host with IP 192.168.0.2 and hostname vubuntu, then do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
vserver vubuntu build --force -m debootstrap --hostname vubuntu.myvservers.net --netdev eth0 --interface 192.168.0.2/24 \&lt;br /&gt;
--context 42 -- -d breezy -m http://de.archive.ubuntu.com/ubuntu&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[UPDATE] Currently there are problems in building breezy under unclear circumstances, which seems to have to do with udev. If the above didnt work, try:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
vserver vubuntu build --force -m debootstrap --hostname vubuntu.myvservers.net --netdev eth0 --interface 192.168.0.2/24 \&lt;br /&gt;
--context 42 -- -d breezy -m http://de.archive.ubuntu.com/ubuntu -- --exclude=udev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
In very recent versions of the utils, the problem should not occur anymore (it has to do with the 'secure-mount' if you look in the MLs)&lt;br /&gt;
&lt;br /&gt;
Well, sid's debootstrap knows how to bootstrap Ubuntu linux. Make sure to have a current debootstrap package: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apt-get update&lt;br /&gt;
apt-get install debootstrap&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 The knowledge how to build ubuntu 'breezy badger' (which you probably want to be your guest at the time of writing) has been added recently.&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=I want to build a Gentoo guest. Howto?&lt;br /&gt;
||Details=Even simpler ;) See http://www.gentoo.org/proj/en/vps/vserver-howto.xml#doc_chap3 .&lt;br /&gt;
|Signature=gcc}}&lt;br /&gt;
&lt;br /&gt;
== Application level problems ==&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=I did everything right, but the application foo does not start. What's up there?&lt;br /&gt;
||Details=Before asking on the IRC channel, please check out the 'problematic programs' page:&lt;br /&gt;
[[Problematic Programs]]&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=When I try to ssh to the guest, I log into the host, even if I installed sshd on the guest. What's wrong here?&lt;br /&gt;
||Details=Look at /etc/ssh/sshd_config of the host:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Port 22&lt;br /&gt;
# Use these options to restrict which interfaces/protocols sshd will bind to&lt;br /&gt;
#ListenAddress ::&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And now change the setting to &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Port 22&lt;br /&gt;
# Use these options to restrict which interfaces/protocols sshd will bind to&lt;br /&gt;
ListenAddress your.hosts.ip.here  # not the guests IP! &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then '/etc/init.d/ssh restart' on the host, after that on the guest (if you did apt-get install ssh on the guest already.)&lt;br /&gt;
Do I have to explain more? If the hosts sshd binds all available IP addresses on port 22 (The hosts 'sees' even all addresses of the guests!). So if the guest starts its sshd, it can't bind to port 22 any more. You need to change that setting only on the host. &lt;br /&gt;
(BTW: A similar approach has to be done for a lot of daemons, e.g. Apache. If the daemon does not support an explicit bind, you may use the chbind command to 'hide' IP addresses from the daemon before starting.)|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=Bind9 does not like to start in my guest.&lt;br /&gt;
||Details=Check out the [[Problematic Programs]] page and/or get my [http://linux-vserver.derjohn.de/bind9-packages/bind9-capacheck_9.3.2-2_i386.deb vserver-guest-ready Debian package] for Debian Sid guests and check out the [http://linux-vserver.derjohn.de/bind9-packages/README.txt readme]. (Hint: This is fresh stuff. Please give me feedback)&lt;br /&gt;
 &lt;br /&gt;
[UPDATE] Since VServer Devel 2.1.1-rc18 you do not need to patch the userland tools anymore. The capabilities are masked.&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=My mysqld running in a guest behaves strangely and is awfully slow/locks up&lt;br /&gt;
||Details=This can be related to /tmp being too small. mysqld stores temporary tables in /tmp and as such, if a lot of queries happen and /tmp runs full this can cause one query to lock up whilst creating the tmp table and all other queries waiting to acquire the lock. There are two possible solutions to that problem: a.) Modify /etc/vservers/vserver-name/fstab and assign more memory to the tmpfs of /tmp and b.) remove the /tmp entry from /etc/vservers/vserver-name/fstab completly. Especially on database servers with a rather high load the second one might be the preferred method.|Signature=sp}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=Pure-FTP does not run inside a VServer?&lt;br /&gt;
||Details=That's because it has capabilities enabled, make sure you rebuild your distro's package passing also the `--without-capabilities` flag to configure.&lt;br /&gt;
|Signature=Pedro Algarvio, aka, s0undt3ch}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=Why do neither sshd nor crond (vixie-cron) work correctly in my CentOS / Fedora guest? I get 'pam_loginuid(crond:session): set_loginuid failed opening loginuid' and similar lines in my logs.&lt;br /&gt;
||Details=Took me a while to figure this out, and it turned out to be mentioned in the old wiki. Here is the solution on how to solve a common problem with sshd / crond, somehow related to selinux and auditing:&lt;br /&gt;
&lt;br /&gt;
pam authentication (also used with openssh) enables &amp;quot;pam_loginuid.so&amp;quot; in the /etc/pam.d/* files. Comment those out as they are not necessary and will not load within a guest anyway. This probably is also necessary on updates later on, if the configs get changed. You therefore may add the following command line to a cronjob file or your software update script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/bin/sed --in-place -e &amp;quot;s/^session.*required.*pam_loginuid.so/# session\trequired\tpam_loginuid.so/g&amp;quot; /etc/pam.d/*&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
|Signature=patrick}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=How do i install nagios-plugins on a Gentoo guest?&lt;br /&gt;
||Details=Unfortunately, the nagios-plugins ./configure scripts wants to ping 127.0.0.1 which is not available inside a guest. Therefore you have to build nagios-plugins outside the guest.&lt;br /&gt;
The easiest way to do this from the host (assuming the guest is running) is:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
vnamespace -e &amp;lt;xid&amp;gt; -- chroot /vservers/&amp;lt;name&amp;gt; emerge nagios-plugins -va&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
|Signature=Hollow}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=Somebody runs ntpd in guest and you can't use ntpdate in host?&lt;br /&gt;
||Details=Try to run ntpdate with options -u :&lt;br /&gt;
 ntpdate -u ntp.domain.xy&lt;br /&gt;
or you can use command:&lt;br /&gt;
 chbind --nid 42 --ip 1.2.3.4 -- ntpdate ntp.domain.xy&lt;br /&gt;
where IP will be the IP of host.&lt;br /&gt;
|Signature=Punkie/Bertl}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Start / Stop a VServer ==&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=How do I make a vserver guest start by default?&lt;br /&gt;
||Details=At least on Debian, I can tell you how to do it with the new-style config. If your guest is called &amp;quot;derjohn&amp;quot; and you want it to be started somewhere at the of your bootstrap process, then do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
echo &amp;quot;default&amp;quot; &amp;gt; /etc/vservers/derjohn/apps/init/mark&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you want to start it earlier, please read the init script &amp;quot;/etc/init.d/util-vserver&amp;quot; to find out how to do it. In most cases you don't need to change this. On Debian the vservers are started at &amp;quot;20&amp;quot;, so after most other stuff is up (networking etc.).&lt;br /&gt;
&lt;br /&gt;
Besides that I created a small helper script for managing the autostart foo: ((vserver-autostart))|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=My host works, but when I start a guest it says that it has a problem with chbind.&lt;br /&gt;
||Details=You are probably using util-vserver &amp;lt;= 0.30.209, which does use dynamic network contexts internally (With 0.30.210 this fact changed). So if you compiled your kernel without dynamic contexts, you may start guests, but you can't use the network context.The solution is either to switch to .210 util (or Hollow's toolset) or compile the kernel with dynamic network contexts.&lt;br /&gt;
SE Keyword: invalid option `nid' testme.sh&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=What is old-style and new-style config?&lt;br /&gt;
||Details=Old-style config refers to a single text-file that contains all the configuration settings. With new-style config the configuration is split into several directories and files. You should probably go for new-style config if you are asking.&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=How can I reboot/halt guests?&lt;br /&gt;
||Details=It depends. &lt;br /&gt;
For legacy Linux-VServer (i.e. 1.2.x), you have to replace /sbin/halt in the guests with vreboot and start rebootmgr in the host. You also need to have a &amp;lt;guest&amp;gt;.conf file in /etc/vservers for each guest. Please have a look at /etc/init.d/rebootmgr.&lt;br /&gt;
For Linux-VServer 2.0+, sys_reboot has been virtualized to do the right thing. No changes are needed in guests. Please note that some things depend on the init style used by the guest : read [[util-vserver:InitStyles]]&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=What is the initial PATH?&lt;br /&gt;
||Details=By default, vserver uses the 'sysv' startup style, which mimics the init process by running the 3rd runlevel through '/etc/init.d/rc 3' (or '/etc/rc.d/rc 3'). Usually this 'rc' script uses a hard-coded PATH. In the case it doesn't, util-vserver also mimics init's default PATH through /etc/vservers/.defaults/apps/init/environment, or if not present /usr/local/lib/util-vserver/defaults/environment. Beware that all those default PATH usually do not include /usr/local.&lt;br /&gt;
|Signature=daniel_hozac&amp;amp;Beuc}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=When I try to start a guest i get this message &amp;quot;/proc/uptime can not be accessed. Usually, this is caused by procfs-security. Please read the FAQ for more details&amp;quot;?&lt;br /&gt;
||Details=After a reboot you need to run the vprocunhide script. If running this script causes many errors to print on the screen, try checking the kernel you have booted with (perhaps it does not have the linux-vserver extensions enabled).&lt;br /&gt;
|Signature=mattzerah}}&lt;br /&gt;
&lt;br /&gt;
== Kernel ==&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=Is SMP Supported?&lt;br /&gt;
||Details=Yes, on all SMP capable kernel architectures.&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=Do I really need the legacy-interfaces? What are these legacy-interfaces?&lt;br /&gt;
||Details=Since Linux-VServer is an ongoing project, new features might replace old ones, some might require a development version. Legacy-interfaces are available for backward compability (which might be removed someday) with Linux-VServer 1.2.x.&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=I have a vserver running on a Linux kernel with preemption. Is VServer &amp;quot;preempt&amp;quot; safe?&lt;br /&gt;
||Details=There are no known issues about running vserver on a preemption enabled kernel. I would like to add, that the vserver kernelhackers would probably exclude that option in 'make menuconfig' if there would be an incompatibility. Just my $.02 :)&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=32 vs 64 Bit? What should I take?&lt;br /&gt;
||Details=If you have the choice make the host a 64 bit one. You can run a guest as 32 bit or as 64 bit on a 64 bit host. To run it as 32 bit, you need to compile the x86_64 (a.k.a. AMD64) with the following options:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[*] Kernel support for ELF binaries&lt;br /&gt;
&amp;lt;M&amp;gt; Kernel support for MISC binaries&lt;br /&gt;
[*] IA32 Emulation &amp;lt;---- without that, the entire 32bit API is not present&lt;br /&gt;
&amp;lt;M&amp;gt;   IA32 a.out support  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You can force the guest to behave like a 32 environment like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
echo linux_32bit &amp;gt; /etc/vservers/$NAME/personality&lt;br /&gt;
echo i686 &amp;gt; /etc/vservers/$NAME/uts/machine&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
(thanks cehteh for the hint!)&lt;br /&gt;
&lt;br /&gt;
But you can force debootstrap to put 32 bit binaries into the guest by 'export ARCH=i386';&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export ARCH=i386 ; vserver build .... &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On debian when using the newvserver script &amp;quot;export ARCH=i386&amp;quot; has no effect, just use:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
newvserver --arch i386 ...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Distribution specific questions ==&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=VServer is included in the stable Debian GNU/Linux for years now. What VS version did they include?&lt;br /&gt;
||Details=At the time of writing, Debian Lenny is the stable release of Debian and includes a 2.6.26 based kernel-package called 2.6.26-2-vserver-ARCH. This currently contains VServer 2.3.0.35 (according to changelog.Debian.gz in the Debian package).&lt;br /&gt;
|Signature=scientes}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=Were can I get newer versions of VServer as ready made packages for Debian?&lt;br /&gt;
||Details=Here you go: http://linux-vserver.derjohn.de/ . There is also some stuff on backports.org, but my kernels are always 'devel' branch.&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Misc ==&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=Why isn't there a device /dev/xyz within a guest?&lt;br /&gt;
||Details=Device nodes allow userspace to access hardware (or virtual resources). Creating a device node inside the guest's namespace will give access to that device, so for security reasons, the number of 'given' devices is small.&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=I want to (re)mount a partition in a running guest ... but the guest has no rights (capability) to (re)mount?&lt;br /&gt;
||Details=I'll explain. I take as example your /tmp partition within the guest is too small, what will be likely the case if you stay with the 16MB default (vserver build mounts /tmp as 16 MB tmpfs!).&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# vnamespace -e XID  mount -t tmpfs -o remount,size=256m,mode=1777 none /var/lib/vservers/&amp;lt;guest&amp;gt;/tmp/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
(if there's a problem, try expanding the symlinks in the mount path)&lt;br /&gt;
Be warned that the guest will not recognize the change, as the /etc/mtab file is not updated when you mount like this. To permanently change the mount, edit /etc/vserver/&amp;lt;guest&amp;gt;/fstab on the host.&lt;br /&gt;
&lt;br /&gt;
If you get:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mount: can't find /var/lib/vservers/&amp;lt;guest&amp;gt;/tmp in /etc/fstab or /etc/mtab&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
then try instead:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
vnamespace -e builder chroot /var/lib/vservers/&amp;lt;guest&amp;gt;/ mount -o remount,size=64m,mode=1777 /tmp&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that this not work for adding a bindmount (&amp;lt;tt&amp;gt;-o bind&amp;lt;/tt&amp;gt;) of a directory outside of a vserver into the vserver. For this, there is no alternative but restarting the vserver.&lt;br /&gt;
|Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=Does anyone know how to increase the size of /tmp within a vserver w/o restarting?&lt;br /&gt;
||Details=Use the remount option for mount.&lt;br /&gt;
 # vnamespace -e XID mount -n -t tmpfs -o remount,size=32m tmpfs /&amp;lt;vdir&amp;gt;/&amp;lt;guest&amp;gt;/tmp&lt;br /&gt;
or something like that.  The arguments are needed since mount is not going to be using /etc/fstab for the information and the version of /proc/mounts is best understood by&lt;br /&gt;
 # vnamespace -e XID cat /proc/mounts.&lt;br /&gt;
See [[Frequently_Asked_Questions#I want to (re)mount a partition in a running guest ... but the guest has no rights (capability) to (re)mount?]]&lt;br /&gt;
|Signature=derjohn/dhozac}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=#1 ERROR:  capset(): Operation not permitted&lt;br /&gt;
||Details=capabilities are not enabled in kernel-setup&lt;br /&gt;
please check that CONFIG_SECURITY_CAPABILITIES is loaded or included in the kernel. ( check with &amp;quot;cat /path_to_kernel/.config | grep -i cap &amp;quot;) &lt;br /&gt;
(2.6.11.5-vs-1.9.5 + 0.30-205)&lt;br /&gt;
|Signature=IrcQuestions}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=How can I make 'vserver start' mount the root filesystem?&lt;br /&gt;
||Details=Mount it via /etc/vservers/vserver-name/fstab, make sure to set the option 'dev' e.g.:&lt;br /&gt;
&amp;lt;pre&amp;gt;/dev/drbd0     /       xfs     rw,dev          0 0&amp;lt;/pre&amp;gt;&lt;br /&gt;
|Signature=AdrianReyer}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=I deleted a guest's directory without shutting it down. Now I have a &amp;quot;ghost&amp;quot; running. Is there any possibility to get it out of proc without rebooting?&lt;br /&gt;
||Details=&lt;br /&gt;
 vkill --xid &amp;lt;xid&amp;gt; -s 15; sleep 2; vkill --xid &amp;lt;xid&amp;gt; -s 9&lt;br /&gt;
&lt;br /&gt;
You will also need to remove guests ip, for example with:&lt;br /&gt;
 ip addr del &amp;lt;ip&amp;gt; dev eth0&lt;br /&gt;
|Signature=daniel_hozac &amp;amp; gebura }}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=When using nice and su (for example, in the updatedb cron job), I get: su: Permission denied. What does it mean?&lt;br /&gt;
||Details=A guest cannot lower its nice value - and that's what 'su' does through pam_limits which sets a nice value of 0. You can see it through strace:&lt;br /&gt;
 $ strace nice su nobody&lt;br /&gt;
 [...]&lt;br /&gt;
 setpriority(PRIO_PROCESS, 0, 0)         = -1 EACCES (Permission denied)&lt;br /&gt;
You can use 'su nobody -c nice some_cmd' instead.&lt;br /&gt;
(Now there's the question of why a guest process cannot lower its nice value.)&lt;br /&gt;
|Signature=daniel_hozac&amp;amp;Beuc}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=How do I handle NFS mounts within in a guest?&lt;br /&gt;
||Details=There are three ways. &lt;br /&gt;
&lt;br /&gt;
'''1)''' Mount the NFS share from the host OS and let vserver guest access it as part of it's file system.&lt;br /&gt;
&lt;br /&gt;
''mount --bind'' may also be beneficial in this scenario.&lt;br /&gt;
&lt;br /&gt;
'''2)''' Use util-vserver and create a ''fstab.remote'' file in the /etc/vserver/&amp;lt;vserver_name&amp;gt; directory. Populate this with the NFS shares and they will be mounted in the context of the vserver guest.&lt;br /&gt;
&lt;br /&gt;
See http://www.nongnu.org/util-vserver/doc/conf/configuration.html&lt;br /&gt;
&lt;br /&gt;
'''3)''' Add capabilities to the vserver guest instance to grant sufficient rights to allow NFS mounts.&lt;br /&gt;
&lt;br /&gt;
Add the following to /etc/vserver/&amp;lt;vserver_name&amp;gt;/bcapabilities&lt;br /&gt;
 SYS_ADMIN&lt;br /&gt;
Add the following to /etc/vserver/&amp;lt;vserver_name&amp;gt;/ccapabilities&lt;br /&gt;
 SECURE_MOUNT&lt;br /&gt;
 BINARY_MOUNT&lt;br /&gt;
&lt;br /&gt;
See [[Capabilities_and_Flags]] for more information about vserver capabilities.&lt;br /&gt;
&lt;br /&gt;
If you want the NFS shares to be mounted when the guest starts, add them to /etc/vserver/&amp;lt;vserver_name&amp;gt;/fstab&lt;br /&gt;
&lt;br /&gt;
||Signature=martindk}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=vserver start/stop/enter fails with something like &amp;quot;vnamespace: execvp(&amp;quot;/usr/sbin/vserver&amp;quot;): No such file or directory&amp;quot; ?&lt;br /&gt;
||Details=Check whether ''/usr'' is mounted in the namespace you are working with.&lt;br /&gt;
&amp;lt;pre&amp;gt;vnamespace -e &amp;lt;guest&amp;gt; cat /proc/mounts&amp;lt;/pre&amp;gt;&lt;br /&gt;
If there is no ''/usr'', you can fix your problem with simply mounting it using the following command:&lt;br /&gt;
&amp;lt;pre&amp;gt;vnamespace -e &amp;lt;guest&amp;gt; mount /dev/&amp;lt;device&amp;gt; /usr&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
||Signature=sim0n}}&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=The command vserver &amp;lt;$server&amp;gt; start gives '/etc/init.d/rc: line 74: /etc/default/rcS: No such file or directory', what do I do? &lt;br /&gt;
||Details=The vserver has not been correctly installed, this has several reasons&lt;br /&gt;
check your install log and it should tell you something about that your server didn't get installed properly&lt;br /&gt;
* use stable distribution of debian as server (debootstrap may be different over the versions)&lt;br /&gt;
* deny_mount, deny_caps and deny_pivot should be off if your running grsec.&lt;br /&gt;
&lt;br /&gt;
||Signature=Dude}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=How could I rename a vserver directory?&lt;br /&gt;
||Details=Please note : this procedure renames the '''directory''', not the '''hostname''' !&lt;br /&gt;
#Stop the vserver in question&lt;br /&gt;
#rename the &amp;lt;tt&amp;gt;/vservers/&amp;lt;server name&amp;gt;&amp;lt;/tt&amp;gt; directory&lt;br /&gt;
#rename the &amp;lt;tt&amp;gt;/etc/vservers/&amp;lt;server name&amp;gt;&amp;lt;/tt&amp;gt; directory&lt;br /&gt;
#update link: &amp;lt;tt&amp;gt;/etc/vservers/&amp;lt;server name&amp;gt;/run&amp;lt;/tt&amp;gt; → &amp;lt;tt&amp;gt;/var/run/vservers/&amp;lt;server name&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
#update link: &amp;lt;tt&amp;gt;/etc/vservers/&amp;lt;server name&amp;gt;/vdir&amp;lt;/tt&amp;gt; → &amp;lt;tt&amp;gt;/etc/vservers/.defaults/vdirbase/&amp;lt;server name&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
#update link: &amp;lt;tt&amp;gt;/etc/vservers/&amp;lt;server name&amp;gt;/cache&amp;lt;/tt&amp;gt; → &amp;lt;tt&amp;gt;/etc/vservers/.defaults/cachebase/&amp;lt;server name&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
#update link: &amp;lt;tt&amp;gt;/var/run/vservers.rev/&amp;lt;server XID&amp;gt;&amp;lt;/tt&amp;gt; → &amp;lt;tt&amp;gt;/etc/vservers/&amp;lt;server name&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
#Start the vserver in question. It should start properly.&lt;br /&gt;
&lt;br /&gt;
|Signature=FlorianD (from ''hillct'' page in old wiki)}}&lt;br /&gt;
&lt;br /&gt;
== Upgrade from 2.0 to 2.2 ==&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=I now get errors like &amp;quot;ncontext: vc_net_create(): Invalid argument; dynamic contexts disabled.&amp;quot; on startup. Vservers are not started&lt;br /&gt;
||Details=Dynamic context are disabled by default and are deprecated. For example, tagxid and network checks won't be useable with dynamic ids. Now you should manually assign a explicit context to your vservers, like&lt;br /&gt;
 echo 101 &amp;gt; /etc/vservers/myvserv/context&lt;br /&gt;
ADDENDUM: please consider that valid static contexts are between 2 and 49151 ( daniel_hozac on IRC ) otherwise you will end up with unexplainable error &amp;quot;ncontext: vc_net_migrate(): No such process&amp;quot; when trying to start the vserver.&lt;br /&gt;
&lt;br /&gt;
|Signature=daniel_hozac&amp;amp;Beuc}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=How do I assign a static context to an existing vserver?&lt;br /&gt;
||Details=Simple ;) See the answer above. &lt;br /&gt;
|Signature=gcc}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=Since upgrading to a newer VS version my guest complains about &amp;quot;vsched: non-numeric value specified for '--priority_bias&amp;quot; at start time. What's wrong?&lt;br /&gt;
||Details=The scheduler paramters changed.You can use this (ugly) script to convert them or do it by hand:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cat /usr/local/sbin/vserver-convert-schedule-to-scheddir&lt;br /&gt;
#/bin/sh&lt;br /&gt;
mkdir /etc/vservers/$1/sched&lt;br /&gt;
sed -e 1p -n /etc/vservers/$1/schedule &amp;gt; /etc/vservers/$1/sched/fill-rate&lt;br /&gt;
sed -e 2p -n /etc/vservers/$1/schedule &amp;gt; /etc/vservers/$1/sched/interval&lt;br /&gt;
sed -e 3p -n /etc/vservers/$1/schedule &amp;gt; /etc/vservers/$1/sched/tokens&lt;br /&gt;
sed -e 4p -n /etc/vservers/$1/schedule &amp;gt; /etc/vservers/$1/sched/tokens-min&lt;br /&gt;
sed -e 5p -n /etc/vservers/$1/schedule &amp;gt; /etc/vservers/$1/sched/tokens-max&lt;br /&gt;
&lt;br /&gt;
mv /etc/vservers/$1/schedule /etc/vservers/$1/schedule.converted.see.scheddir&lt;br /&gt;
&lt;br /&gt;
# see: http://oldwiki.linux-vserver.org/Scheduler+Parameters&lt;br /&gt;
# see: http://www.nongnu.org/util-vserver/doc/conf/configuration.html#sched&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
||Signature=derjohn}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question&lt;br /&gt;
|Question=Since upgrading to a newer VS version my guest doesn't have the amount of shared memory (SHM / SHMMAX / SHMALL ) as it had in the former version. What changed?&lt;br /&gt;
||Details=Every VS version that runs on a kernel &amp;gt;= 2.6.19 offers sysctl values per guest. This has to do with the 'ipc namespace' feature that was added to the mainline kernel in version 2.6.19. Linux-VServer uses that feature to give each guest a separate 'ipc namespace' and thus 'own' sysctl values per guest. Because shmmax is such a sysctl value, you have to set it per guest.&lt;br /&gt;
Here is an example how to do so:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# mkdir /etc/vservers/&amp;lt;vserver&amp;gt;/sysctl/0 -p&lt;br /&gt;
# echo kernel.shmall &amp;gt; /etc/vservers/&amp;lt;vserver&amp;gt;/sysctl/0/setting&lt;br /&gt;
# echo 134217728 &amp;gt; /etc/vservers/&amp;lt;vserver&amp;gt;/sysctl/0/value&lt;br /&gt;
# mkdir /etc/vservers/&amp;lt;vserver&amp;gt;/sysctl/1 -p&lt;br /&gt;
# echo kernel.shmmax &amp;gt; /etc/vservers/&amp;lt;vserver&amp;gt;/sysctl/1/setting&lt;br /&gt;
# echo 134217728 &amp;gt; /etc/vservers/&amp;lt;vserver&amp;gt;/sysctl/1/value&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
It's also explained on the geat flower page:&lt;br /&gt;
# see: http://www.nongnu.org/util-vserver/doc/conf/configuration.html -&amp;gt; Look for &amp;quot;sysctl&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
After changing those values, restart your guest, enter it and check if the values are set:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# sysctl -a | grep shm&lt;br /&gt;
...&lt;br /&gt;
kernel.shmall = 134217728&lt;br /&gt;
kernel.shmmax = 134217728&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
||Signature=derjohn}}&lt;/div&gt;</summary>
		<author><name>Gebura</name></author>	</entry>

	<entry>
		<id>http://linux-vserver.at/Disk_Limits_and_Quota</id>
		<title>Disk Limits and Quota</title>
		<link rel="alternate" type="text/html" href="http://linux-vserver.at/Disk_Limits_and_Quota"/>
				<updated>2009-10-19T15:47:31Z</updated>
		
		<summary type="html">&lt;p&gt;Gebura: Some content has been removed by a bot :( re-added it&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
We call ''Disk Limit'' a disk space limit in a filesystem for one context (i.e. VServer). If you are interested in using user/group quotas inside a VServer, this is not the right place, look at the [[Quotas]] page.&lt;br /&gt;
&lt;br /&gt;
Of course, you can also use a dedicated partition (or logical volume) for each guest, which is another way to limit disk space usage per guest.&lt;br /&gt;
&lt;br /&gt;
== Activating disk limits ==&lt;br /&gt;
&lt;br /&gt;
For VServer version 2.0, please read http://oldwiki.linux-vserver.org/Disk+Limits&lt;br /&gt;
&lt;br /&gt;
For VServer 2.2+, the procedure is nearly the same, only the mount option has changed:&lt;br /&gt;
&lt;br /&gt;
# Activate the XID tagging on the filesystem hosting the VServer, using the ''tag'' mount option. You cannot use the ''remount'' option to add the tag on an already mounted filesystem. '''Be warn''', it is not advised to use it on the root filesystem! In the next example, we use the &amp;lt;tt&amp;gt;/dev/sdb1&amp;lt;/tt&amp;gt; partition to host all the guests, under the &amp;lt;tt&amp;gt;/vservers&amp;lt;/tt&amp;gt; directory &amp;lt;pre&amp;gt;mount -o tag /dev/sdb1 /vservers&amp;lt;/pre&amp;gt;&lt;br /&gt;
# Consider modifying your &amp;lt;tt&amp;gt;/etc/fstab&amp;lt;/tt&amp;gt; file if necessary, to make the mount option persist across reboots&lt;br /&gt;
# Tag the files belonging to the VServer with its XID &amp;lt;pre&amp;gt;chxid -URx -c vs_name /vservers/vs_name &amp;lt;/pre&amp;gt;&lt;br /&gt;
# Write the limits under the &amp;lt;tt&amp;gt;/etc/vservers/vs_name/dlimits&amp;lt;/tt&amp;gt; directory :&lt;br /&gt;
## Create this directory if necesary&lt;br /&gt;
## Create one sub-directory for each filesystem (in most cases, you should have only one), using any identifier (for example &amp;lt;tt&amp;gt;root&amp;lt;/tt&amp;gt;)&lt;br /&gt;
## Under &amp;lt;tt&amp;gt;/etc/vservers/vs_name/dlimits/root/&amp;lt;/tt&amp;gt; create the following files :&lt;br /&gt;
### &amp;lt;tt&amp;gt;directory&amp;lt;/tt&amp;gt; : contains the directory to which the limit should be applied&lt;br /&gt;
### &amp;lt;tt&amp;gt;inodes_total&amp;lt;/tt&amp;gt; : the amount of inodes this vserver should be limited to&lt;br /&gt;
### &amp;lt;tt&amp;gt;reserved&amp;lt;/tt&amp;gt; : how much space (percentage-wise) should be reserved for the root user&lt;br /&gt;
### &amp;lt;tt&amp;gt;space_total&amp;lt;/tt&amp;gt; : the amount of space this vserver should be limited to (measured in blocks of 1024 bytes)&lt;br /&gt;
&lt;br /&gt;
== Controling disk limits ==	 &lt;br /&gt;
			&lt;br /&gt;
After starting your VServer, you can control the actual limit using the ''vdlimit'' command (in this example, 300 is the context number associated with ''vs_name'') :	 &lt;br /&gt;
# vdlimit --xid vs_name /vservers	 &lt;br /&gt;
300 /vservers	 &lt;br /&gt;
space_used=154604	 &lt;br /&gt;
space_total=204800	 &lt;br /&gt;
inodes_used=7834	 &lt;br /&gt;
inodes_total=100000	 &lt;br /&gt;
reserved=5	 &lt;br /&gt;
		 &lt;br /&gt;
You can also use the ''vdu'' command to count space or inodes used by a specific guest	 &lt;br /&gt;
# vdu --xid vs_name --space /vservers	 &lt;br /&gt;
/vservers 154604	 &lt;br /&gt;
# vdu --xid vs_name --inodes /vservers	 &lt;br /&gt;
/vservers 7834	 &lt;br /&gt;
		 &lt;br /&gt;
If you just want to update disk usage of a guest activating disk limits, then you can use this script.	 &lt;br /&gt;
It will count the usage of all files and update the limits:	&lt;br /&gt;
&amp;lt;pre&amp;gt; &lt;br /&gt;
#/bin/sh	 &lt;br /&gt;
_dir=/var/lib/vservers	 &lt;br /&gt;
if [ ! -d $_dir/$1 ]; then	 &lt;br /&gt;
	echo no such vserver	 &lt;br /&gt;
	exit 1;	 &lt;br /&gt;
fi;	 &lt;br /&gt;
chxid -URx -c $1 $_dir/$1	 &lt;br /&gt;
vdlimit --xid $1 -s space_used=$(vdu --xid $1 --space $_dir/$1 | cut -d&amp;quot; &amp;quot; -f2) $_dir/$1	 &lt;br /&gt;
vdlimit --xid $1 -s inodes_used=$(vdu --xid $1 --inode $_dir/$1 | cut -d&amp;quot; &amp;quot; -f2) $_dir/$1	 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
	 &lt;br /&gt;
== Removing disk limits ==	 &lt;br /&gt;
To remove disk limits, remove the &amp;lt;tt&amp;gt;/etc/vservers/vs_name/dlimits/root&amp;lt;/tt&amp;gt; directory '''and''' remove the limits with the following command 	 &lt;br /&gt;
# vdlimit --xid vs_name --remove /vservers&lt;br /&gt;
&lt;br /&gt;
== More information ==&lt;br /&gt;
* See also ''dlimits'' on the util-vserver homepage http://www.nongnu.org/util-vserver/doc/conf/configuration.html&lt;br /&gt;
* For information about limiting diskspace with XFS, please see the [[XFS]] page.&lt;/div&gt;</summary>
		<author><name>Gebura</name></author>	</entry>

	<entry>
		<id>http://linux-vserver.at/Disk_Limits_and_Quota</id>
		<title>Disk Limits and Quota</title>
		<link rel="alternate" type="text/html" href="http://linux-vserver.at/Disk_Limits_and_Quota"/>
				<updated>2009-10-19T15:46:28Z</updated>
		
		<summary type="html">&lt;p&gt;Gebura: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
We call ''Disk Limit'' a disk space limit in a filesystem for one context (i.e. VServer). If you are interested in using user/group quotas inside a VServer, this is not the right place, look at the [[Quotas]] page.&lt;br /&gt;
&lt;br /&gt;
Of course, you can also use a dedicated partition (or logical volume) for each guest, which is another way to limit disk space usage per guest.&lt;br /&gt;
&lt;br /&gt;
== Activating disk limits ==&lt;br /&gt;
&lt;br /&gt;
For VServer version 2.0, please read http://oldwiki.linux-vserver.org/Disk+Limits&lt;br /&gt;
&lt;br /&gt;
For VServer 2.2+, the procedure is nearly the same, only the mount option has changed:&lt;br /&gt;
&lt;br /&gt;
# Activate the XID tagging on the filesystem hosting the VServer, using the ''tag'' mount option. You cannot use the ''remount'' option to add the tag on an already mounted filesystem. '''Be warn''', it is not advised to use it on the root filesystem! In the next example, we use the &amp;lt;tt&amp;gt;/dev/sdb1&amp;lt;/tt&amp;gt; partition to host all the guests, under the &amp;lt;tt&amp;gt;/vservers&amp;lt;/tt&amp;gt; directory &amp;lt;pre&amp;gt;mount -o tag /dev/sdb1 /vservers&amp;lt;/pre&amp;gt;&lt;br /&gt;
# Consider modifying your &amp;lt;tt&amp;gt;/etc/fstab&amp;lt;/tt&amp;gt; file if necessary, to make the mount option persist across reboots&lt;br /&gt;
# Tag the files belonging to the VServer with its XID &amp;lt;pre&amp;gt;chxid -URx -c vs_name /vservers/vs_name &amp;lt;/pre&amp;gt;&lt;br /&gt;
# Write the limits under the &amp;lt;tt&amp;gt;/etc/vservers/vs_name/dlimits&amp;lt;/tt&amp;gt; directory :&lt;br /&gt;
## Create this directory if necesary&lt;br /&gt;
## Create one sub-directory for each filesystem (in most cases, you should have only one), using any identifier (for example &amp;lt;tt&amp;gt;root&amp;lt;/tt&amp;gt;)&lt;br /&gt;
## Under &amp;lt;tt&amp;gt;/etc/vservers/vs_name/dlimits/root/&amp;lt;/tt&amp;gt; create the following files :&lt;br /&gt;
### &amp;lt;tt&amp;gt;directory&amp;lt;/tt&amp;gt; : contains the directory to which the limit should be applied&lt;br /&gt;
### &amp;lt;tt&amp;gt;inodes_total&amp;lt;/tt&amp;gt; : the amount of inodes this vserver should be limited to&lt;br /&gt;
### &amp;lt;tt&amp;gt;reserved&amp;lt;/tt&amp;gt; : how much space (percentage-wise) should be reserved for the root user&lt;br /&gt;
### &amp;lt;tt&amp;gt;space_total&amp;lt;/tt&amp;gt; : the amount of space this vserver should be limited to (measured in blocks of 1024 bytes)&lt;br /&gt;
&lt;br /&gt;
== Controling disk limits ==	 &lt;br /&gt;
			&lt;br /&gt;
After starting your VServer, you can control the actual limit using the ''vdlimit'' command (in this example, 300 is the context number associated with ''vs_name'') :	 &lt;br /&gt;
# vdlimit --xid vs_name /vservers	 &lt;br /&gt;
300 /vservers	 &lt;br /&gt;
space_used=154604	 &lt;br /&gt;
space_total=204800	 &lt;br /&gt;
inodes_used=7834	 &lt;br /&gt;
inodes_total=100000	 &lt;br /&gt;
reserved=5	 &lt;br /&gt;
		 &lt;br /&gt;
You can also use the ''vdu'' command to count space or inodes used by a specific guest	 &lt;br /&gt;
# vdu --xid vs_name --space /vservers	 &lt;br /&gt;
/vservers 154604	 &lt;br /&gt;
# vdu --xid vs_name --inodes /vservers	 &lt;br /&gt;
/vservers 7834	 &lt;br /&gt;
		 &lt;br /&gt;
If you just want to update disk usage of a guest activating disk limits, then you can use this script.	 &lt;br /&gt;
It will count the usage of all files and update the limits:	 &lt;br /&gt;
#/bin/sh	 &lt;br /&gt;
_dir=/var/lib/vservers	 &lt;br /&gt;
if [ ! -d $_dir/$1 ]; then	 &lt;br /&gt;
	echo no such vserver	 &lt;br /&gt;
	exit 1;	 &lt;br /&gt;
fi;	 &lt;br /&gt;
chxid -URx -c $1 $_dir/$1	 &lt;br /&gt;
vdlimit --xid $1 -s space_used=$(vdu --xid $1 --space $_dir/$1 | cut -d&amp;quot; &amp;quot; -f2) $_dir/$1	 &lt;br /&gt;
vdlimit --xid $1 -s inodes_used=$(vdu --xid $1 --inode $_dir/$1 | cut -d&amp;quot; &amp;quot; -f2) $_dir/$1	 &lt;br /&gt;
	 &lt;br /&gt;
== Removing disk limits ==	 &lt;br /&gt;
To remove disk limits, remove the &amp;lt;tt&amp;gt;/etc/vservers/vs_name/dlimits/root&amp;lt;/tt&amp;gt; directory '''and''' remove the limits with the following command 	 &lt;br /&gt;
# vdlimit --xid vs_name --remove /vservers&lt;br /&gt;
&lt;br /&gt;
== More information ==&lt;br /&gt;
* See also ''dlimits'' on the util-vserver homepage http://www.nongnu.org/util-vserver/doc/conf/configuration.html&lt;br /&gt;
* For information about limiting diskspace with XFS, please see the [[XFS]] page.&lt;/div&gt;</summary>
		<author><name>Gebura</name></author>	</entry>

	<entry>
		<id>http://linux-vserver.at/util-vserver:Capabilities_and_Flags</id>
		<title>util-vserver:Capabilities and Flags</title>
		<link rel="alternate" type="text/html" href="http://linux-vserver.at/util-vserver:Capabilities_and_Flags"/>
				<updated>2009-10-19T15:43:59Z</updated>
		
		<summary type="html">&lt;p&gt;Gebura: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page discusses how to set capabilities and flags for a util-vserver guest. Also check http://www.nongnu.org/util-vserver/doc/conf/configuration.html for additional information.&lt;br /&gt;
A couple of general rules applies to all of the files described on this page:&lt;br /&gt;
* The filenames are all relative to the guest's configuration directory, which typically is &amp;lt;code&amp;gt;/etc/vservers/&amp;lt;em&amp;gt;&amp;lt;guest&amp;gt;&amp;lt;/em&amp;gt;&amp;lt;/code&amp;gt; but by default &amp;lt;code&amp;gt;/usr/local/etc/vservers/&amp;lt;em&amp;gt;&amp;lt;guest&amp;gt;&amp;lt;/em&amp;gt;&amp;lt;/code&amp;gt; when built from source.&lt;br /&gt;
* One capability/flag per line&lt;br /&gt;
* To remove something set by default, prefix it with ~, for instance:&lt;br /&gt;
 echo ~SET_UTSNAME &amp;gt;&amp;gt; ccapabilities&lt;br /&gt;
* Comments can be added with #:&lt;br /&gt;
 echo \# Disable utsname configuration &amp;gt;&amp;gt; ccapabilities&lt;br /&gt;
* To set a specific bit which does not yet have a name in util-vserver, you can use the following notation to set bit 6:&lt;br /&gt;
 echo ^6 &amp;gt;&amp;gt; ncapabilities&lt;br /&gt;
&lt;br /&gt;
=== Setting context capabilities (ccaps) ===&lt;br /&gt;
* Add the capabilities to a file named &amp;lt;code&amp;gt;ccapabilities&amp;lt;/code&amp;gt;:&lt;br /&gt;
 echo SYSLOG &amp;gt;&amp;gt; ccapabilities&lt;br /&gt;
* The default ccaps are:&lt;br /&gt;
 SET_UTSNAME&lt;br /&gt;
 RAW_ICMP&lt;br /&gt;
&lt;br /&gt;
=== Setting context flags (cflags) ===&lt;br /&gt;
* Add the flags to a file named &amp;lt;code&amp;gt;flags&amp;lt;/code&amp;gt;:&lt;br /&gt;
 echo VIRT_MEM &amp;gt;&amp;gt; flags&lt;br /&gt;
* The default cflags are (in addition to the defaults set by the kernel):&lt;br /&gt;
 HIDE_NETIF&lt;br /&gt;
&lt;br /&gt;
=== Setting network flags (nflags) ===&lt;br /&gt;
* Add the flags to a file named &amp;lt;code&amp;gt;nflags&amp;lt;/code&amp;gt;:&lt;br /&gt;
 echo HIDE_NETIF &amp;gt;&amp;gt; nflags&lt;br /&gt;
* The default nflags are:&lt;br /&gt;
 HIDE_NETIF&lt;br /&gt;
&lt;br /&gt;
=== Setting POSIX capabilities (bcaps) ===&lt;br /&gt;
* Add the capabilities to a file named &amp;lt;code&amp;gt;bcapabilities&amp;lt;/code&amp;gt;:&lt;br /&gt;
 echo CHOWN &amp;gt;&amp;gt; bcapabilities&lt;br /&gt;
* The default bcaps are:&lt;br /&gt;
 CHOWN&lt;br /&gt;
 DAC_OVERRIDE&lt;br /&gt;
 DAC_READ_SEARCH&lt;br /&gt;
 FOWNER&lt;br /&gt;
 FSETID&lt;br /&gt;
 KILL&lt;br /&gt;
 SETGID&lt;br /&gt;
 SETUID&lt;br /&gt;
 NET_BIND_SERVICE&lt;br /&gt;
 SYS_CHROOT&lt;br /&gt;
 SYS_PTRACE&lt;br /&gt;
 SYS_BOOT&lt;br /&gt;
 SYS_TTY_CONFIG&lt;br /&gt;
 LEASE&lt;br /&gt;
 AUDIT_WRITE&lt;br /&gt;
&lt;br /&gt;
=== Setting network capabilities (ncaps) ===&lt;br /&gt;
* Add the capabilities to a file named &amp;lt;code&amp;gt;ncapabilities&amp;lt;/code&amp;gt;:&lt;br /&gt;
 echo ^12 &amp;gt;&amp;gt; ncapabilities&lt;br /&gt;
* There are no default ncaps.&lt;br /&gt;
&lt;br /&gt;
=== Modify flags without restarting the vservers ===&lt;br /&gt;
If you would like to edit those flags without restarting the vservers, you can use vattribute and nattribute. See [[util-vserver:Cheatsheet]]&lt;/div&gt;</summary>
		<author><name>Gebura</name></author>	</entry>

	<entry>
		<id>http://linux-vserver.at/Capabilities_and_Flags</id>
		<title>Capabilities and Flags</title>
		<link rel="alternate" type="text/html" href="http://linux-vserver.at/Capabilities_and_Flags"/>
				<updated>2009-10-19T15:42:12Z</updated>
		
		<summary type="html">&lt;p&gt;Gebura: added vattribute,nattribute, link to util-vserver:Cheatsheet&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In computer science, a capability is a token used by a process to prove that it is allowed to perform an operation on an object. The Linux Capability System is based on &amp;quot;POSIX Capabilities&amp;quot;, a somewhat different concept, designed to split up the all powerful root privilege into a set of distinct privileges.&lt;br /&gt;
&lt;br /&gt;
== The Capability/Flag System ==&lt;br /&gt;
&lt;br /&gt;
=== POSIX Capabilities ===&lt;br /&gt;
&lt;br /&gt;
A process has three sets of bitmaps called the inheritable(I), permitted(P), and effective(E) capabilities. Each capability is implemented as a bit in each of these bitmaps that is either set or unset.&lt;br /&gt;
&lt;br /&gt;
When a process tries to do a privileged operation, the operating system will check the appropriate bit in the effective set of the process (instead of checking whether the effective uid of the process is 0 as is normally done). &lt;br /&gt;
&lt;br /&gt;
For example, when a process tries to set the clock, the Linux kernel will check that the process has the CAP_SYS_TIME bit (which is currently bit 25) set in its effective set. &lt;br /&gt;
&lt;br /&gt;
The permitted set of the process indicates the capabilities the process can use. The process can have capabilities set in the permitted set that are not in the effective set. &lt;br /&gt;
&lt;br /&gt;
This indicates that the process has temporarily disabled this capability. A process is allowed to set a bit in its effective set only if it is available in the permitted set. The distinction between effective and permitted exists so that processes can &amp;quot;bracket&amp;quot; operations that need privilege.&lt;br /&gt;
&lt;br /&gt;
The inheritable capabilities are the capabilities of the current process that should be inherited by a program executed by the current process. The permitted set of a process is masked against the inheritable set during exec(). Nothing special happens during fork() or clone(). Child processes and threads are given an exact copy of the capabilities of the parent process.&lt;br /&gt;
&lt;br /&gt;
The implementation in Linux stopped at this point, whereas POSIX Capabilities require the addition of capability sets to files too, to replace the SUID flag (at least for executables)&lt;br /&gt;
&lt;br /&gt;
=== Upper Bound for Capabilities ===&lt;br /&gt;
&lt;br /&gt;
Because the current Linux Capability system does not implement the filesystem related portions of POSIX Capabilities which would make setuid and setgid executables secure, and because it is much safer to have a secure upper bound for all processes within a context, an additional per-context capability mask has been added to limit all processes belonging to that context to this mask. &lt;br /&gt;
The meaning of the individual caps (bits) of the capability bound mask is exactly the same as with the permitted capability set.&lt;br /&gt;
&lt;br /&gt;
=== Context Capabilities ===&lt;br /&gt;
&lt;br /&gt;
As the Linux capabilities have almost reached the maximum number that is possible without heavy modifications to the kernel, it was a natural step to add a context-specific capability system.&lt;br /&gt;
&lt;br /&gt;
The Linux-VServer context capability set acts as a mechanism to fine tune existing Linux capabilities. It is not visible to the processes within a context, as they would not know how to modify or verify it.&lt;br /&gt;
&lt;br /&gt;
In general there are two ways to use those capabilities:&lt;br /&gt;
* Require one or a number of context capabilities to be set in addition to a given Linux capability, each one controlling a distinct part of the functionality. For example the CAP_NET_ADMIN could be split into RAW and PACKET sockets, so you could take away each of them separately by not providing the required context capability.&lt;br /&gt;
* Consider the context capability sufficient for a specified functionality, even if the Linux Capability says something different. For example mount() requires CAP_SYS_ADMIN which adds a dozen other things we do not want, so we define VXC_SECURE_MOUNT to allow mounts for certain contexts. &lt;br /&gt;
&lt;br /&gt;
The difference between the context flags and the context capabilities is more an abstract logical separation than a functional one, because they are handled in a very similar way.&lt;br /&gt;
&lt;br /&gt;
== List of capabilities/flags ==&lt;br /&gt;
&lt;br /&gt;
Below is a list of capabilities and flags used for contexts and processes within. The tables contain the following information:&lt;br /&gt;
&lt;br /&gt;
; Bit : The bit number to enable the capability/flag&lt;br /&gt;
; Mask : The bit number in hexadecimal notation&lt;br /&gt;
; Name : Human readable identifier used in userspace utilities&lt;br /&gt;
; Tag : Special capability/flag code to denote special behaviour, legacy usage and others (see below)&lt;br /&gt;
; Description : Description of capability/flag effects&lt;br /&gt;
&lt;br /&gt;
=== Special capability/flags codes ===&lt;br /&gt;
&lt;br /&gt;
The tag column may contain one or more of the following tags:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable_inline&amp;quot;&lt;br /&gt;
! Tag&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| I&lt;br /&gt;
| Internal use only&lt;br /&gt;
|-&lt;br /&gt;
| L&lt;br /&gt;
| Only supported with legacy enabled&lt;br /&gt;
|-&lt;br /&gt;
| O&lt;br /&gt;
| One time capability/flag (once it's cleared, it can't be re-enabled again)&lt;br /&gt;
|-&lt;br /&gt;
| U&lt;br /&gt;
| Unsupported&lt;br /&gt;
|-&lt;br /&gt;
| X&lt;br /&gt;
| Slightly different meaning in legacy&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Context capabilities (ccaps) ===&lt;br /&gt;
&lt;br /&gt;
The set of available context capabilities is specific to Linux-VServer and applied to all processes contained within a context. Below is a list of capabilities currently available in 2.1.1 and above.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable_list&amp;quot;&lt;br /&gt;
! Bit&lt;br /&gt;
! Mask&lt;br /&gt;
! Name&lt;br /&gt;
! Tag&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 0&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x00000001&lt;br /&gt;
| SET_UTSNAME&lt;br /&gt;
|&lt;br /&gt;
| Allow setdomainname(2) and sethostname(2)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 1&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x00000002&lt;br /&gt;
| SET_RLIMIT&lt;br /&gt;
|&lt;br /&gt;
| Allow setrlimit(2)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 8&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x00000100&lt;br /&gt;
| RAW_ICMP&lt;br /&gt;
|&lt;br /&gt;
| Allow usage of raw ICMP sockets&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 12&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x00001000&lt;br /&gt;
| SYSLOG&lt;br /&gt;
|&lt;br /&gt;
| Allow syslog(2)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 16&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x00010000&lt;br /&gt;
| SECURE_MOUNT&lt;br /&gt;
|&lt;br /&gt;
| Allow secure mount(2)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 17&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x00020000&lt;br /&gt;
| SECURE_REMOUNT&lt;br /&gt;
|&lt;br /&gt;
| Allow secure remount&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 18&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x00040000&lt;br /&gt;
| BINARY_MOUNT&lt;br /&gt;
|&lt;br /&gt;
| Allow binary/network mounts&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 20&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x00100000&lt;br /&gt;
| QUOTA_CTL&lt;br /&gt;
|&lt;br /&gt;
| Allow quota ioctls&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 21&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x00200000&lt;br /&gt;
| ADMIN_MAPPER&lt;br /&gt;
|&lt;br /&gt;
| Allow access to device mapper&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 22&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x00400000&lt;br /&gt;
| ADMIN_CLOOP&lt;br /&gt;
|&lt;br /&gt;
| Allow access to loop devices&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 24&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x01000000&lt;br /&gt;
| KTHREAD&lt;br /&gt;
|&lt;br /&gt;
| Allow creating kernel threads&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Context flags (cflags) ===&lt;br /&gt;
&lt;br /&gt;
The set of available context flags is specific to Linux-VServer and applied to all processes contained within a context. Below is a list of flags available in 2.1.1 and above.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable_list&amp;quot;&lt;br /&gt;
! Bit&lt;br /&gt;
! Mask&lt;br /&gt;
! Name&lt;br /&gt;
! Tag&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 0&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x00000001&lt;br /&gt;
| INFO_LOCK&lt;br /&gt;
| L&lt;br /&gt;
| Prohibit further context migration&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 1&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x00000002&lt;br /&gt;
| INFO_SCHED&lt;br /&gt;
| L&lt;br /&gt;
| Account all processes as one&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 2&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x00000004&lt;br /&gt;
| INFO_NPROC&lt;br /&gt;
| L&lt;br /&gt;
| Apply process limits to context&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 3&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x00000008&lt;br /&gt;
| INFO_PRIVATE&lt;br /&gt;
| L&lt;br /&gt;
| Context cannot be entered&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 4&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x00000010&lt;br /&gt;
| INFO_INIT&lt;br /&gt;
| X&lt;br /&gt;
| Show a fake init process&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 5&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x00000020&lt;br /&gt;
| INFO_HIDE&lt;br /&gt;
| X&lt;br /&gt;
| Hide context information in task status&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 6&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x00000040&lt;br /&gt;
| INFO_ULIMIT&lt;br /&gt;
| L&lt;br /&gt;
| Apply ulimits to context&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 7&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x00000080&lt;br /&gt;
| INFO_NSPACE&lt;br /&gt;
| L&lt;br /&gt;
| Use private namespace&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 8&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x00000100&lt;br /&gt;
| SCHED_HARD&lt;br /&gt;
|&lt;br /&gt;
| Enable hard scheduler&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 9&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x00000200&lt;br /&gt;
| SCHED_PRIO&lt;br /&gt;
|&lt;br /&gt;
| Enable priority scheduler&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 10&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x00000400&lt;br /&gt;
| SCHED_PAUSE&lt;br /&gt;
|&lt;br /&gt;
| Pause context (unschedule)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 20&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x00010000&lt;br /&gt;
| VIRT_MEM&lt;br /&gt;
|&lt;br /&gt;
| Virtualize memory information&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 21&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x00020000&lt;br /&gt;
| VIRT_UPTIME&lt;br /&gt;
|&lt;br /&gt;
| Virtualize uptime information&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 22&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x00040000&lt;br /&gt;
| VIRT_CPU&lt;br /&gt;
|&lt;br /&gt;
| Virtualize cpu usage information&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 23&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x00080000&lt;br /&gt;
| VIRT_LOAD&lt;br /&gt;
|&lt;br /&gt;
| Virtualize load average information&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 24&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x00100000&lt;br /&gt;
| VIRT_TIME&lt;br /&gt;
|&lt;br /&gt;
| Allow per guest time offsets&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 28&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x01000000&lt;br /&gt;
| HIDE_MOUNT&lt;br /&gt;
|&lt;br /&gt;
| Hide entries in /proc/$pid/mounts&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 29&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x02000000&lt;br /&gt;
| HIDE_NETIF&lt;br /&gt;
|&lt;br /&gt;
| Hide foreign network interfaces&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 30&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x04000000&lt;br /&gt;
| HIDE_VINFO&lt;br /&gt;
|&lt;br /&gt;
| Hide context information in task status&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 32&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x0001&amp;lt;&amp;lt;32&lt;br /&gt;
| STATE_SETUP&lt;br /&gt;
| IO&lt;br /&gt;
| Enable setup state&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 33&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x0002&amp;lt;&amp;lt;32&lt;br /&gt;
| STATE_INIT&lt;br /&gt;
| IO&lt;br /&gt;
| Enable init state&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 34&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x0004&amp;lt;&amp;lt;32&lt;br /&gt;
| STATE_ADMIN&lt;br /&gt;
| O&lt;br /&gt;
| Enable admin state&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 36&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x0010&amp;lt;&amp;lt;32&lt;br /&gt;
| SC_HELPER&lt;br /&gt;
| I&lt;br /&gt;
| Enable state change helper&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 37&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x0020&amp;lt;&amp;lt;32&lt;br /&gt;
| REBOOT_KILL&lt;br /&gt;
|&lt;br /&gt;
| Kill all processes on reboot(2)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 38&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x0040&amp;lt;&amp;lt;32&lt;br /&gt;
| PERSISTENT&lt;br /&gt;
|&lt;br /&gt;
| Make context persistent&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 48&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x0001&amp;lt;&amp;lt;48&lt;br /&gt;
| FORK_RSS&lt;br /&gt;
|&lt;br /&gt;
| Block fork when RSS limit is exceeded&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 49&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x0002&amp;lt;&amp;lt;48&lt;br /&gt;
| PROLIFIC&lt;br /&gt;
|&lt;br /&gt;
| Allow context to create new contexts&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 52&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x0010&amp;lt;&amp;lt;48&lt;br /&gt;
| IGNEG_NICE&lt;br /&gt;
|&lt;br /&gt;
| Ignore priority raise&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Network context flags (nflags) ===&lt;br /&gt;
&lt;br /&gt;
The set of available network context flags is specific to Linux-VServer and applied to all processes contained within a network context. Below is a list of flags available in 2.1.1 and above.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable_list&amp;quot;&lt;br /&gt;
! Bit&lt;br /&gt;
! Mask&lt;br /&gt;
! Name&lt;br /&gt;
! Tag&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 0&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x00000001&lt;br /&gt;
| INFO_LOCK&lt;br /&gt;
|&lt;br /&gt;
| Prohibit further context migration&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 8&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x00000100&lt;br /&gt;
| SINGLE_IP&lt;br /&gt;
|&lt;br /&gt;
| Enable special handling of network contexts with a single IP only&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 9&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x00000200&lt;br /&gt;
| LBACK_REMAP&lt;br /&gt;
|&lt;br /&gt;
| use loopback-virtualisation (will only work in 2.3.0.xx or greater)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 10&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x00000400&lt;br /&gt;
| LBACK_ALLOW&lt;br /&gt;
|&lt;br /&gt;
| if set, allows guests without LBACK_REMAP to connect to 127.0.0.0/8&lt;br /&gt;
|- &lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 29&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x02000000&lt;br /&gt;
| HIDE_NETIF&lt;br /&gt;
|&lt;br /&gt;
| Hide foreign network interfaces&lt;br /&gt;
|- &lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 30&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x04000000&lt;br /&gt;
| HIDE_LBACK&lt;br /&gt;
|&lt;br /&gt;
| hides the real loopback-address from the guest (rewrites to 127.0.0.1) (will only work in 2.3.0.xx or greater)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 32&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x0001&amp;lt;&amp;lt;32&lt;br /&gt;
| STATE_SETUP&lt;br /&gt;
| IO&lt;br /&gt;
| Enable setup state&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 34&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x0004&amp;lt;&amp;lt;32&lt;br /&gt;
| STATE_ADMIN&lt;br /&gt;
| O&lt;br /&gt;
| Enable admin state&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 36&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x0010&amp;lt;&amp;lt;32&lt;br /&gt;
| SC_HELPER&lt;br /&gt;
| I&lt;br /&gt;
| Enable state change helper&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 38&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x0040&amp;lt;&amp;lt;32&lt;br /&gt;
| PERSISTENT&lt;br /&gt;
|&lt;br /&gt;
| Make network context persistent&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== System capabilities (bcaps) ===&lt;br /&gt;
&lt;br /&gt;
The set of available system capabilities is inherited from the Linux kernel and applied to all processes contained within a context. Below is a list of capabilities currently available in the vanilla kernel.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;color: red; font-weight: bold;&amp;quot;&amp;gt;&lt;br /&gt;
BIG FAT WARNING: Adding any system capability to your virtual server WILL reduce security. Do not change the default values unless you absolutely know what you are doing!&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable_list&amp;quot;&lt;br /&gt;
! Bit&lt;br /&gt;
! Mask&lt;br /&gt;
! Name&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 0&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x00000001&lt;br /&gt;
| CHOWN&lt;br /&gt;
| In a system with the [_POSIX_CHOWN_RESTRICTED] option defined, this overrides the restriction of changing file ownership and group ownership.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 1&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x00000002&lt;br /&gt;
| DAC_OVERRIDE&lt;br /&gt;
| Override all DAC access, including ACL execute access if [_POSIX_ACL] is defined. Excluding DAC access covered by CAP_LINUX_IMMUTABLE.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 2&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x00000004&lt;br /&gt;
| DAC_READ_SEARCH&lt;br /&gt;
| Overrides all DAC restrictions regarding read and search on files and directories, including ACL restrictions if [_POSIX_ACL] is defined. Excluding DAC access covered by CAP_LINUX_IMMUTABLE.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 3&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x00000008&lt;br /&gt;
| FOWNER&lt;br /&gt;
| Overrides all restrictions about allowed operations on files, where file owner ID must be equal to the user ID, except where CAP_FSETID is applicable. It doesn't override MAC and DAC restrictions.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 4&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x00000010&lt;br /&gt;
| FSETID&lt;br /&gt;
| Overrides the following restrictions that the effective user ID shall match the file owner ID when setting the S_ISUID and S_ISGID bits on that file; that the effective group ID (or one of the supplementary group IDs) shall match the file owner ID when setting the S_ISGID bit on that file; that the S_ISUID and S_ISGID bits are cleared on successful return from chown(2) (not implemented).&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 5&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x00000020&lt;br /&gt;
| KILL&lt;br /&gt;
| Overrides the restriction that the real or effective user ID of a process sending a signal must match the real or effective user ID of the process receiving the signal.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 6&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x00000040&lt;br /&gt;
| SETGID&lt;br /&gt;
|&lt;br /&gt;
* Allows setgid(2) manipulation&lt;br /&gt;
* Allows setgroups(2)&lt;br /&gt;
* Allows forged gids on socket credentials passing.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 7&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x00000080&lt;br /&gt;
| SETUID&lt;br /&gt;
|&lt;br /&gt;
* Allows set*uid(2) manipulation (including fsuid).&lt;br /&gt;
* Allows forged pids on socket credentials passing.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 8&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x00000100&lt;br /&gt;
| SETPCAP&lt;br /&gt;
| Transfer any capability in your permitted set to any pid, remove any capability in your permitted set from any pid&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 9&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x00000200&lt;br /&gt;
| LINUX_IMMUTABLE&lt;br /&gt;
| Allow modification of S_IMMUTABLE and S_APPEND file attributes&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 10&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x00000400&lt;br /&gt;
| NET_BIND_SERVICE&lt;br /&gt;
|&lt;br /&gt;
* Allows binding to TCP/UDP sockets below 1024&lt;br /&gt;
* Allows binding to ATM VCIs below 32&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 11&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x00000800&lt;br /&gt;
| NET_BROADCAST&lt;br /&gt;
| Allow broadcasting, listen to multicast&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 12&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x00001000&lt;br /&gt;
| NET_ADMIN&lt;br /&gt;
|&lt;br /&gt;
* Allow interface configuration&lt;br /&gt;
* Allow administration of IP firewall, masquerading and accounting&lt;br /&gt;
* Allow setting debug option on sockets&lt;br /&gt;
* Allow modification of routing tables&lt;br /&gt;
* Allow setting arbitrary process / process group ownership on sockets&lt;br /&gt;
* Allow binding to any address for transparent proxying&lt;br /&gt;
* Allow setting TOS (type of service)&lt;br /&gt;
* Allow setting promiscuous mode&lt;br /&gt;
* Allow clearing driver statistics&lt;br /&gt;
* Allow multicasting&lt;br /&gt;
* Allow read/write of device-specific registers&lt;br /&gt;
* Allow activation of ATM control sockets&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 13&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x00002000&lt;br /&gt;
| NET_RAW&lt;br /&gt;
|&lt;br /&gt;
* Allow use of RAW sockets&lt;br /&gt;
* Allow use of PACKET sockets&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 14&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x00004000&lt;br /&gt;
| IPC_LOCK&lt;br /&gt;
|&lt;br /&gt;
* Allow locking of shared memory segments&lt;br /&gt;
* Allow mlock and mlockall (which doesn't really have anything to do with IPC)&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 15&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x00008000&lt;br /&gt;
| IPC_OWNER&lt;br /&gt;
| Override IPC ownership checks&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 16&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x00010000&lt;br /&gt;
| SYS_MODULE&lt;br /&gt;
|&lt;br /&gt;
* Insert and remove kernel modules - modify kernel without limit&lt;br /&gt;
* Modify cap_bset&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 17&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x00020000&lt;br /&gt;
| SYS_RAWIO&lt;br /&gt;
|&lt;br /&gt;
* Allow ioperm/iopl access&lt;br /&gt;
* Allow sending USB messages to any device via /proc/bus/usb&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 18&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x00040000&lt;br /&gt;
| SYS_CHROOT&lt;br /&gt;
| Allow use of chroot()&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 19&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x00080000&lt;br /&gt;
| SYS_PTRACE&lt;br /&gt;
| Allow ptrace() of any process&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 20&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x00100000&lt;br /&gt;
| SYS_PACCT&lt;br /&gt;
| Allow configuration of process accounting&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 21&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x00200000&lt;br /&gt;
| SYS_ADMIN&lt;br /&gt;
|&lt;br /&gt;
* Allow configuration of the secure attention key&lt;br /&gt;
* Allow administration of the random device&lt;br /&gt;
* Allow examination and configuration of disk quotas&lt;br /&gt;
* Allow configuring the kernel's syslog (printk behaviour)&lt;br /&gt;
* Allow setting the domainname&lt;br /&gt;
* Allow setting the hostname&lt;br /&gt;
* Allow calling bdflush()&lt;br /&gt;
* Allow mount() and umount(), setting up new smb connection&lt;br /&gt;
* Allow some autofs root ioctls&lt;br /&gt;
* Allow nfsservctl&lt;br /&gt;
* Allow VM86_REQUEST_IRQ&lt;br /&gt;
* Allow to read/write pci config on alpha&lt;br /&gt;
* Allow irix_prctl on mips (setstacksize)&lt;br /&gt;
* Allow flushing all cache on m68k (sys_cacheflush)&lt;br /&gt;
* Allow removing semaphores (Used instead of CAP_CHOWN to &amp;quot;chown&amp;quot; IPC message queues, semaphores and shared memory)&lt;br /&gt;
* Allow locking/unlocking of shared memory segment&lt;br /&gt;
* Allow turning swap on/off&lt;br /&gt;
* Allow forged pids on socket credentials passing&lt;br /&gt;
* Allow setting readahead and flushing buffers on block devices&lt;br /&gt;
* Allow setting geometry in floppy driver&lt;br /&gt;
* Allow turning DMA on/off in xd driver&lt;br /&gt;
* Allow administration of md devices (mostly the above, but some extra ioctls)&lt;br /&gt;
* Allow tuning the ide driver&lt;br /&gt;
* Allow access to the nvram device&lt;br /&gt;
* Allow administration of apm_bios, serial and bttv (TV) device&lt;br /&gt;
* Allow manufacturer commands in isdn CAPI support driver&lt;br /&gt;
* Allow reading non-standardized portions of pci configuration space&lt;br /&gt;
* Allow DDI debug ioctl on sbpcd driver&lt;br /&gt;
* Allow setting up serial ports&lt;br /&gt;
* Allow sending raw qic-117 commands&lt;br /&gt;
* Allow enabling/disabling tagged queuing on SCSI controllers and sending arbitrary SCSI commands&lt;br /&gt;
* Allow setting encryption key on loopback filesystem&lt;br /&gt;
* Allow setting zone reclaim policy&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 22&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x00400000&lt;br /&gt;
| SYS_BOOT&lt;br /&gt;
| Allow use of reboot()&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 23&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x00800000&lt;br /&gt;
| SYS_NICE&lt;br /&gt;
|&lt;br /&gt;
* Allow raising priority and setting priority on other (different UID) processes&lt;br /&gt;
* Allow use of FIFO and round-robin (realtime) scheduling on own processes and setting the scheduling algorithm used by another process.&lt;br /&gt;
* Allow setting cpu affinity on other processes&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 24&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x01000000&lt;br /&gt;
| SYS_RESOURCE&lt;br /&gt;
|&lt;br /&gt;
* Override resource limits. Set resource limits.&lt;br /&gt;
* Override quota limits.&lt;br /&gt;
* Override reserved space on ext2 filesystem&lt;br /&gt;
* Modify data journaling mode on ext3 filesystem (uses journaling resources)&lt;br /&gt;
* ''NOTE:'' ext2 honors fsuid when checking for resource overrides, so you can override using fsuid too&lt;br /&gt;
* Override size restrictions on IPC message queues&lt;br /&gt;
* Allow more than 64hz interrupts from the real-time clock&lt;br /&gt;
* Override max number of consoles on console allocation&lt;br /&gt;
* Override max number of keymaps&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 25&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x02000000&lt;br /&gt;
| SYS_TIME&lt;br /&gt;
|&lt;br /&gt;
* Allow manipulation of system clock&lt;br /&gt;
* Allow irix_stime on mips&lt;br /&gt;
* Allow setting the real-time clock&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 26&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x04000000&lt;br /&gt;
| SYS_TTY_CONFIG&lt;br /&gt;
|&lt;br /&gt;
* Allow configuration of tty devices&lt;br /&gt;
* Allow vhangup() of tty&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 27&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x08000000&lt;br /&gt;
| MKNOD&lt;br /&gt;
| Allow the privileged aspects of mknod()&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 28&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x10000000&lt;br /&gt;
| LEASE&lt;br /&gt;
| Allow taking of leases on files&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 29&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x20000000&lt;br /&gt;
| AUDIT_WRITE&lt;br /&gt;
| ??&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: right&amp;quot; | 30&lt;br /&gt;
| style=&amp;quot;font-family: monospace&amp;quot; | 0x40000000&lt;br /&gt;
| AUDIT_CONTROL&lt;br /&gt;
| ??&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Setting flags and capabilities ==&lt;br /&gt;
To see how to set the flags and capabilities, see [[util-vserver:Capabilities and Flags]] if you're using util-vserver.&lt;br /&gt;
&lt;br /&gt;
If you would like to edit those flags without restarting the vservers, you can use vattribute and nattribute. See [[util-vserver:Cheatsheet]]&lt;/div&gt;</summary>
		<author><name>Gebura</name></author>	</entry>

	<entry>
		<id>http://linux-vserver.at/Virtualization_Overhead</id>
		<title>Virtualization Overhead</title>
		<link rel="alternate" type="text/html" href="http://linux-vserver.at/Virtualization_Overhead"/>
				<updated>2009-10-01T11:20:29Z</updated>
		
		<summary type="html">&lt;p&gt;Gebura: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Why is there no article here?&lt;br /&gt;
&lt;br /&gt;
-- because noone wrote one.&lt;br /&gt;
&lt;br /&gt;
PlanetLab guys have done some measurements: http://www.cs.princeton.edu/~mef/research/vserver/paper.pdf&lt;/div&gt;</summary>
		<author><name>Gebura</name></author>	</entry>

	<entry>
		<id>http://linux-vserver.at/Disk_Limits_and_Quota</id>
		<title>Disk Limits and Quota</title>
		<link rel="alternate" type="text/html" href="http://linux-vserver.at/Disk_Limits_and_Quota"/>
				<updated>2009-05-18T14:14:35Z</updated>
		
		<summary type="html">&lt;p&gt;Gebura: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
We call ''Disk Limit'' a disk space limit in a filesystem for one context (i.e. VServer). If you are interested in using user/group quotas inside a VServer, this is not the right place, look at the [[Quotas]] page.&lt;br /&gt;
&lt;br /&gt;
Of course, you can also use a dedicated partition (or logical volume) for each guest, which is another way to limit disk space usage per guest.&lt;br /&gt;
&lt;br /&gt;
== Activating disk limits ==&lt;br /&gt;
&lt;br /&gt;
For VServer version 2.0, please read http://oldwiki.linux-vserver.org/Disk+Limits&lt;br /&gt;
&lt;br /&gt;
For VServer 2.2+, the procedure is nearly the same, only the mount option has changed:&lt;br /&gt;
&lt;br /&gt;
# Activate the XID tagging on the filesystem hosting the VServer, using the ''tag'' mount option. You cannot use the ''remount'' option to add the tag on an already mounted filesystem. '''Be warn''', it is not advised to use it on the root filesystem! In the next example, we use the &amp;lt;tt&amp;gt;/dev/sdb1&amp;lt;/tt&amp;gt; partition to host all the guests, under the &amp;lt;tt&amp;gt;/vservers&amp;lt;/tt&amp;gt; directory &amp;lt;pre&amp;gt;mount -o tag /dev/sdb1 /vservers&amp;lt;/pre&amp;gt;&lt;br /&gt;
# Consider modifying your &amp;lt;tt&amp;gt;/etc/fstab&amp;lt;/tt&amp;gt; file if necessary, to make the mount option persist across reboots&lt;br /&gt;
# Tag the files belonging to the VServer with its XID &amp;lt;pre&amp;gt;chxid -URx -c vs_name /vservers/vs_name &amp;lt;/pre&amp;gt;&lt;br /&gt;
# Write the limits under the &amp;lt;tt&amp;gt;/etc/vservers/vs_name/dlimits&amp;lt;/tt&amp;gt; directory :&lt;br /&gt;
## Create this directory if necesary&lt;br /&gt;
## Create one sub-directory for each filesystem (in most cases, you should have only one), using any identifier (for example &amp;lt;tt&amp;gt;root&amp;lt;/tt&amp;gt;)&lt;br /&gt;
## Under &amp;lt;tt&amp;gt;/etc/vservers/vs_name/dlimits/root/&amp;lt;/tt&amp;gt; create the following files :&lt;br /&gt;
### &amp;lt;tt&amp;gt;directory&amp;lt;/tt&amp;gt; : contains the directory to which the limit should be applied&lt;br /&gt;
### &amp;lt;tt&amp;gt;inodes_total&amp;lt;/tt&amp;gt; : the amount of inodes this vserver should be limited to&lt;br /&gt;
### &amp;lt;tt&amp;gt;reserved&amp;lt;/tt&amp;gt; : how much space (percentage-wise) should be reserved for the root user&lt;br /&gt;
### &amp;lt;tt&amp;gt;space_total&amp;lt;/tt&amp;gt; : the amount of space this vserver should be limited to (measured in blocks of 1024 bytes)&lt;br /&gt;
&lt;br /&gt;
== Controling disk limits ==&lt;br /&gt;
&lt;br /&gt;
After starting your VServer, you can control the actual limit using the ''vdlimit'' command (in this example, 300 is the context number associated with ''vs_name'') :&lt;br /&gt;
  # vdlimit --xid vs_name /vservers&lt;br /&gt;
  300 /vservers&lt;br /&gt;
  space_used=154604&lt;br /&gt;
  space_total=204800&lt;br /&gt;
  inodes_used=7834&lt;br /&gt;
  inodes_total=100000&lt;br /&gt;
  reserved=5&lt;br /&gt;
&lt;br /&gt;
You can also use the ''vdu'' command to count space or inodes used by a specific guest&lt;br /&gt;
  # vdu --xid vs_name --space /vservers&lt;br /&gt;
  /vservers 154604&lt;br /&gt;
  # vdu --xid vs_name --inodes /vservers&lt;br /&gt;
  /vservers 7834&lt;br /&gt;
&lt;br /&gt;
If you just want to update disk usage of a guest activating disk limits, then you can use this script.&lt;br /&gt;
It will count the usage of all files and update the limits:&lt;br /&gt;
  #/bin/sh&lt;br /&gt;
  _dir=/var/lib/vservers&lt;br /&gt;
  if [ ! -d $_dir/$1 ]; then&lt;br /&gt;
      echo no such vserver&lt;br /&gt;
      exit 1;&lt;br /&gt;
    fi;&lt;br /&gt;
  chxid -URx -c $1 $_dir/$1&lt;br /&gt;
  vdlimit --xid $1 -s space_used=$(vdu --xid $1 --space $_dir/$1 | cut -d&amp;quot; &amp;quot; -f2) $_dir/$1&lt;br /&gt;
  vdlimit --xid $1 -s inodes_used=$(vdu --xid $1 --inode $_dir/$1 | cut -d&amp;quot; &amp;quot; -f2) $_dir/$1&lt;br /&gt;
&lt;br /&gt;
== Removing disk limits ==&lt;br /&gt;
To remove disk limits, remove the &amp;lt;tt&amp;gt;/etc/vservers/vs_name/dlimits/root&amp;lt;/tt&amp;gt; directory '''and''' remove the limits with the following command &lt;br /&gt;
  # vdlimit --xid vs_name --remove /vservers&lt;br /&gt;
&lt;br /&gt;
== More information ==&lt;br /&gt;
* See also ''dlimits'' on the util-vserver homepage http://www.nongnu.org/util-vserver/doc/conf/configuration.html&lt;br /&gt;
* For information about limiting diskspace with XFS, please see the [[XFS]] page.&lt;/div&gt;</summary>
		<author><name>Gebura</name></author>	</entry>

	<entry>
		<id>http://linux-vserver.at/Disk_Limits_and_Quota</id>
		<title>Disk Limits and Quota</title>
		<link rel="alternate" type="text/html" href="http://linux-vserver.at/Disk_Limits_and_Quota"/>
				<updated>2009-05-18T14:13:49Z</updated>
		
		<summary type="html">&lt;p&gt;Gebura: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
We call ''Disk Limit'' a disk space limit in a filesystem for one context (i.e. VServer). If you are interested in using user/group quotas inside a VServer, this is not the right place, look at the [[Quotas]] page.&lt;br /&gt;
&lt;br /&gt;
Of course, you can also use a dedicated partition (or logical volume) for each guest, which is another way to limit disk space usage per guest.&lt;br /&gt;
&lt;br /&gt;
== Activating disk limits ==&lt;br /&gt;
&lt;br /&gt;
For VServer version 2.0, please read http://oldwiki.linux-vserver.org/Disk+Limits&lt;br /&gt;
&lt;br /&gt;
For VServer 2.2+, the procedure is nearly the same, only the mount option has changed:&lt;br /&gt;
&lt;br /&gt;
# Activate the XID tagging on the filesystem hosting the VServer, using the ''tag'' mount option. You cannot use the ''remount'' option to add the tag on an already mounted filesystem. '''Be warn''', it is not advised to use it on the root filesystem! In the next example, we use the &amp;lt;tt&amp;gt;/dev/sdb1&amp;lt;/tt&amp;gt; partition to host all the guests, under the &amp;lt;tt&amp;gt;/vservers&amp;lt;/tt&amp;gt; directory &amp;lt;pre&amp;gt;mount -o tag /dev/sdb1 /vservers&amp;lt;/pre&amp;gt;&lt;br /&gt;
# Consider modifying your &amp;lt;tt&amp;gt;/etc/fstab&amp;lt;/tt&amp;gt; file if necessary, to make the mount option persist across reboots&lt;br /&gt;
# Tag the files belonging to the VServer with its XID &amp;lt;pre&amp;gt;chxid -URx -c vs_name /vservers/vs_name &amp;lt;/pre&amp;gt;&lt;br /&gt;
# Write the limits under the &amp;lt;tt&amp;gt;/etc/vservers/vs_name/dlimits&amp;lt;/tt&amp;gt; directory :&lt;br /&gt;
## Create this directory if necesary&lt;br /&gt;
## Create one sub-directory for each filesystem (in most cases, you should have only one), using any identifier (for example &amp;lt;tt&amp;gt;root&amp;lt;/tt&amp;gt;)&lt;br /&gt;
## Under &amp;lt;tt&amp;gt;/etc/vservers/vs_name/dlimits/root/&amp;lt;/tt&amp;gt; create the following files :&lt;br /&gt;
### &amp;lt;tt&amp;gt;directory&amp;lt;/tt&amp;gt; : contains the directory to which the limit should be applied&lt;br /&gt;
### &amp;lt;tt&amp;gt;inodes_total&amp;lt;/tt&amp;gt; : the amount of inodes this vserver should be limited to&lt;br /&gt;
### &amp;lt;tt&amp;gt;reserved&amp;lt;/tt&amp;gt; : how much space (percentage-wise) should be reserved for the root user&lt;br /&gt;
### &amp;lt;tt&amp;gt;space_total&amp;lt;/tt&amp;gt; : the amount of space this vserver should be limited to (measured in blocks of 1024 bytes)&lt;br /&gt;
&lt;br /&gt;
== Controling disk limits ==&lt;br /&gt;
&lt;br /&gt;
After starting your VServer, you can control the actual limit using the ''vdlimit'' command (in this example, 300 is the context number associated with ''vs_name'') :&lt;br /&gt;
  # vdlimit --xid vs_name /vservers&lt;br /&gt;
  300 /vservers&lt;br /&gt;
  space_used=154604&lt;br /&gt;
  space_total=204800&lt;br /&gt;
  inodes_used=7834&lt;br /&gt;
  inodes_total=100000&lt;br /&gt;
  reserved=5&lt;br /&gt;
&lt;br /&gt;
You can also use the ''vdu'' command to count space or inodes used by a specific guest&lt;br /&gt;
  # vdu --xid vs_name --space /vservers&lt;br /&gt;
  /vservers 154604&lt;br /&gt;
  # vdu --xid vs_name --inodes /vservers&lt;br /&gt;
  /vservers 7834&lt;br /&gt;
&lt;br /&gt;
If you just want update disk usage of a guest activating disk limits, then you can use this script.&lt;br /&gt;
It will count the usage of all files and update the limits:&lt;br /&gt;
  #/bin/sh&lt;br /&gt;
  _dir=/var/lib/vservers&lt;br /&gt;
  if [ ! -d $_dir/$1 ]; then&lt;br /&gt;
      echo no such vserver&lt;br /&gt;
      exit 1;&lt;br /&gt;
    fi;&lt;br /&gt;
  chxid -URx -c $1 $_dir/$1&lt;br /&gt;
  vdlimit --xid $1 -s space_used=$(vdu --xid $1 --space $_dir/$1 | cut -d&amp;quot; &amp;quot; -f2) $_dir/$1&lt;br /&gt;
  vdlimit --xid $1 -s inodes_used=$(vdu --xid $1 --inode $_dir/$1 | cut -d&amp;quot; &amp;quot; -f2) $_dir/$1&lt;br /&gt;
&lt;br /&gt;
== Removing disk limits ==&lt;br /&gt;
To remove disk limits, remove the &amp;lt;tt&amp;gt;/etc/vservers/vs_name/dlimits/root&amp;lt;/tt&amp;gt; directory '''and''' remove the limits with the following command &lt;br /&gt;
  # vdlimit --xid vs_name --remove /vservers&lt;br /&gt;
&lt;br /&gt;
== More information ==&lt;br /&gt;
* See also ''dlimits'' on the util-vserver homepage http://www.nongnu.org/util-vserver/doc/conf/configuration.html&lt;br /&gt;
* For information about limiting diskspace with XFS, please see the [[XFS]] page.&lt;/div&gt;</summary>
		<author><name>Gebura</name></author>	</entry>

	<entry>
		<id>http://linux-vserver.at/Disk_Limits_and_Quota</id>
		<title>Disk Limits and Quota</title>
		<link rel="alternate" type="text/html" href="http://linux-vserver.at/Disk_Limits_and_Quota"/>
				<updated>2009-05-18T14:11:25Z</updated>
		
		<summary type="html">&lt;p&gt;Gebura: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
We call ''Disk Limit'' a disk space limit in a filesystem for one context (i.e. VServer). If you are interested in using user/group quotas inside a VServer, this is not the right place, look at the [[Quotas]] page.&lt;br /&gt;
&lt;br /&gt;
Of course, you can also use a dedicated partition (or logical volume) for each guest, which is another way to limit disk space usage per guest.&lt;br /&gt;
&lt;br /&gt;
== Activating disk limits ==&lt;br /&gt;
&lt;br /&gt;
For VServer version 2.0, please read http://oldwiki.linux-vserver.org/Disk+Limits&lt;br /&gt;
&lt;br /&gt;
For VServer 2.2+, the procedure is nearly the same, only the mount option has changed:&lt;br /&gt;
&lt;br /&gt;
# Activate the XID tagging on the filesystem hosting the VServer, using the ''tag'' mount option. You cannot use the ''remount'' option to add the tag on an already mounted filesystem. '''Be warn''', it is not advised to use it on the root filesystem! In the next example, we use the &amp;lt;tt&amp;gt;/dev/sdb1&amp;lt;/tt&amp;gt; partition to host all the guests, under the &amp;lt;tt&amp;gt;/vservers&amp;lt;/tt&amp;gt; directory &amp;lt;pre&amp;gt;mount -o tag /dev/sdb1 /vservers&amp;lt;/pre&amp;gt;&lt;br /&gt;
# Consider modifying your &amp;lt;tt&amp;gt;/etc/fstab&amp;lt;/tt&amp;gt; file if necessary, to make the mount option persist across reboots&lt;br /&gt;
# Tag the files belonging to the VServer with its XID &amp;lt;pre&amp;gt;chxid -URx -c vs_name /vservers/vs_name &amp;lt;/pre&amp;gt;&lt;br /&gt;
# Write the limits under the &amp;lt;tt&amp;gt;/etc/vservers/vs_name/dlimits&amp;lt;/tt&amp;gt; directory :&lt;br /&gt;
## Create this directory if necesary&lt;br /&gt;
## Create one sub-directory for each filesystem (in most cases, you should have only one), using any identifier (for example &amp;lt;tt&amp;gt;root&amp;lt;/tt&amp;gt;)&lt;br /&gt;
## Under &amp;lt;tt&amp;gt;/etc/vservers/vs_name/dlimits/root/&amp;lt;/tt&amp;gt; create the following files :&lt;br /&gt;
### &amp;lt;tt&amp;gt;directory&amp;lt;/tt&amp;gt; : contains the directory to which the limit should be applied&lt;br /&gt;
### &amp;lt;tt&amp;gt;inodes_total&amp;lt;/tt&amp;gt; : the amount of inodes this vserver should be limited to&lt;br /&gt;
### &amp;lt;tt&amp;gt;reserved&amp;lt;/tt&amp;gt; : how much space (percentage-wise) should be reserved for the root user&lt;br /&gt;
### &amp;lt;tt&amp;gt;space_total&amp;lt;/tt&amp;gt; : the amount of space this vserver should be limited to (measured in blocks of 1024 bytes)&lt;br /&gt;
&lt;br /&gt;
== Controling disk limits ==&lt;br /&gt;
&lt;br /&gt;
After starting your VServer, you can control the actual limit using the ''vdlimit'' command (in this example, 300 is the context number associated with ''vs_name'') :&lt;br /&gt;
  # vdlimit --xid vs_name /vservers&lt;br /&gt;
  300 /vservers&lt;br /&gt;
  space_used=154604&lt;br /&gt;
  space_total=204800&lt;br /&gt;
  inodes_used=7834&lt;br /&gt;
  inodes_total=100000&lt;br /&gt;
  reserved=5&lt;br /&gt;
&lt;br /&gt;
You can also use the ''vdu'' command to count space or inodes used by a specific guest&lt;br /&gt;
  # vdu --xid vs_name --space /vservers&lt;br /&gt;
  /vservers 154604&lt;br /&gt;
  # vdu --xid vs_name --inodes /vservers&lt;br /&gt;
  /vservers 7834&lt;br /&gt;
&lt;br /&gt;
If you just want update disk usage of a guest after setting the limits you can use this script.&lt;br /&gt;
It will count usage of all files and update the limits:&lt;br /&gt;
  #/bin/sh&lt;br /&gt;
  _dir=/var/lib/vservers&lt;br /&gt;
  if [ ! -d $_dir/$1 ]; then&lt;br /&gt;
      echo no such vserver&lt;br /&gt;
      exit 1;&lt;br /&gt;
    fi;&lt;br /&gt;
  chxid -URx -c $1 $_dir/$1&lt;br /&gt;
  vdlimit --xid $1 -s space_used=$(vdu --xid $1 --space $_dir/$1 | cut -d&amp;quot; &amp;quot; -f2) $_dir/$1&lt;br /&gt;
  vdlimit --xid $1 -s inodes_used=$(vdu --xid $1 --inode $_dir/$1 | cut -d&amp;quot; &amp;quot; -f2) $_dir/$1&lt;br /&gt;
&lt;br /&gt;
== Removing disk limits ==&lt;br /&gt;
To remove disk limits, remove the &amp;lt;tt&amp;gt;/etc/vservers/vs_name/dlimits/root&amp;lt;/tt&amp;gt; directory '''and''' remove the limits with the following command &lt;br /&gt;
  # vdlimit --xid vs_name --remove /vservers&lt;br /&gt;
&lt;br /&gt;
== More information ==&lt;br /&gt;
* See also ''dlimits'' on the util-vserver homepage http://www.nongnu.org/util-vserver/doc/conf/configuration.html&lt;br /&gt;
* For information about limiting diskspace with XFS, please see the [[XFS]] page.&lt;/div&gt;</summary>
		<author><name>Gebura</name></author>	</entry>

	<entry>
		<id>http://linux-vserver.at/Disk_Limits_and_Quota</id>
		<title>Disk Limits and Quota</title>
		<link rel="alternate" type="text/html" href="http://linux-vserver.at/Disk_Limits_and_Quota"/>
				<updated>2009-05-18T14:10:47Z</updated>
		
		<summary type="html">&lt;p&gt;Gebura: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
We call ''Disk Limit'' a disk space limit in a filesystem for one context (i.e. VServer). If you are interested in using user/group quotas inside a VServer, this is not the right place, look at the [[Quotas]] page.&lt;br /&gt;
&lt;br /&gt;
Of course, you can also use a dedicated partition (or logical volume) for each guest, which is another way to limit disk space usage per guest.&lt;br /&gt;
&lt;br /&gt;
== Activating disk limits ==&lt;br /&gt;
&lt;br /&gt;
For VServer version 2.0, please read http://oldwiki.linux-vserver.org/Disk+Limits&lt;br /&gt;
&lt;br /&gt;
For VServer 2.2+, the procedure is nearly the same, only the mount option has changed:&lt;br /&gt;
&lt;br /&gt;
# Activate the XID tagging on the filesystem hosting the VServer, using the ''tag'' mount option. You cannot use the ''remount'' option to add the tag on an already mounted filesystem. '''Be warn''', it is not advised to use it on the root filesystem! In the next example, we use the &amp;lt;tt&amp;gt;/dev/sdb1&amp;lt;/tt&amp;gt; partition to host all the guests, under the &amp;lt;tt&amp;gt;/vservers&amp;lt;/tt&amp;gt; directory &amp;lt;pre&amp;gt;mount -o tag /dev/sdb1 /vservers&amp;lt;/pre&amp;gt;&lt;br /&gt;
# Consider modifying your &amp;lt;tt&amp;gt;/etc/fstab&amp;lt;/tt&amp;gt; file if necessary, to make the mount option persist across reboots&lt;br /&gt;
# Tag the files belonging to the VServer with its XID &amp;lt;pre&amp;gt;chxid -URx -c vs_name /vservers/vs_name &amp;lt;/pre&amp;gt;&lt;br /&gt;
# Write the limits under the &amp;lt;tt&amp;gt;/etc/vservers/vs_name/dlimits&amp;lt;/tt&amp;gt; directory :&lt;br /&gt;
## Create this directory if necesary&lt;br /&gt;
## Create one sub-directory for each filesystem (in most cases, you should have only one), using any identifier (for example &amp;lt;tt&amp;gt;root&amp;lt;/tt&amp;gt;)&lt;br /&gt;
## Under &amp;lt;tt&amp;gt;/etc/vservers/vs_name/dlimits/root/&amp;lt;/tt&amp;gt; create the following files :&lt;br /&gt;
### &amp;lt;tt&amp;gt;directory&amp;lt;/tt&amp;gt; : contains the directory to which the limit should be applied&lt;br /&gt;
### &amp;lt;tt&amp;gt;inodes_total&amp;lt;/tt&amp;gt; : the amount of inodes this vserver should be limited to&lt;br /&gt;
### &amp;lt;tt&amp;gt;reserved&amp;lt;/tt&amp;gt; : how much space (percentage-wise) should be reserved for the root user&lt;br /&gt;
### &amp;lt;tt&amp;gt;space_total&amp;lt;/tt&amp;gt; : the amount of space this vserver should be limited to (measured in blocks of 1024 bytes)&lt;br /&gt;
&lt;br /&gt;
== Controling disk limits ==&lt;br /&gt;
&lt;br /&gt;
After starting your VServer, you can control the actual limit using the ''vdlimit'' command (in this example, 300 is the context number associated with ''vs_name'') :&lt;br /&gt;
  # vdlimit --xid vs_name /vservers&lt;br /&gt;
  300 /vservers&lt;br /&gt;
  space_used=154604&lt;br /&gt;
  space_total=204800&lt;br /&gt;
  inodes_used=7834&lt;br /&gt;
  inodes_total=100000&lt;br /&gt;
  reserved=5&lt;br /&gt;
&lt;br /&gt;
You can also use the ''vdu'' command to count space or inodes used by a specific guest&lt;br /&gt;
  # vdu --xid vs_name --space /vservers&lt;br /&gt;
  /vservers 154604&lt;br /&gt;
  # vdu --xid vs_name --inodes /vservers&lt;br /&gt;
  /vservers 7834&lt;br /&gt;
&lt;br /&gt;
If you just want update disk usage of a guest after setting the limits you can use this script:&lt;br /&gt;
It will count usage of all files and update the limits&lt;br /&gt;
  #/bin/sh&lt;br /&gt;
  _dir=/var/lib/vservers&lt;br /&gt;
  if [ ! -d $_dir/$1 ]; then&lt;br /&gt;
      echo no such vserver&lt;br /&gt;
      exit 1;&lt;br /&gt;
    fi;&lt;br /&gt;
  chxid -URx -c $1 $_dir/$1&lt;br /&gt;
  vdlimit --xid $1 -s space_used=$(vdu --xid $1 --space $_dir/$1 | cut -d&amp;quot; &amp;quot; -f2) $_dir/$1&lt;br /&gt;
  vdlimit --xid $1 -s inodes_used=$(vdu --xid $1 --inode $_dir/$1 | cut -d&amp;quot; &amp;quot; -f2) $_dir/$1&lt;br /&gt;
&lt;br /&gt;
== Removing disk limits ==&lt;br /&gt;
To remove disk limits, remove the &amp;lt;tt&amp;gt;/etc/vservers/vs_name/dlimits/root&amp;lt;/tt&amp;gt; directory '''and''' remove the limits with the following command &lt;br /&gt;
  # vdlimit --xid vs_name --remove /vservers&lt;br /&gt;
&lt;br /&gt;
== More information ==&lt;br /&gt;
* See also ''dlimits'' on the util-vserver homepage http://www.nongnu.org/util-vserver/doc/conf/configuration.html&lt;br /&gt;
* For information about limiting diskspace with XFS, please see the [[XFS]] page.&lt;/div&gt;</summary>
		<author><name>Gebura</name></author>	</entry>

	<entry>
		<id>http://linux-vserver.at/Disk_Limits_and_Quota</id>
		<title>Disk Limits and Quota</title>
		<link rel="alternate" type="text/html" href="http://linux-vserver.at/Disk_Limits_and_Quota"/>
				<updated>2009-05-18T14:01:25Z</updated>
		
		<summary type="html">&lt;p&gt;Gebura: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
We call ''Disk Limit'' a disk space limit in a filesystem for one context (i.e. VServer). If you are interested in using user/group quotas inside a VServer, this is not the right place, look at the [[Quotas]] page.&lt;br /&gt;
&lt;br /&gt;
Of course, you can also use a dedicated partition (or logical volume) for each guest, which is another way to limit disk space usage per guest.&lt;br /&gt;
&lt;br /&gt;
== Activating disk limits ==&lt;br /&gt;
&lt;br /&gt;
For VServer version 2.0, please read http://oldwiki.linux-vserver.org/Disk+Limits&lt;br /&gt;
&lt;br /&gt;
For VServer 2.2+, the procedure is nearly the same, only the mount option has changed:&lt;br /&gt;
&lt;br /&gt;
# Activate the XID tagging on the filesystem hosting the VServer, using the ''tag'' mount option. You cannot use the ''remount'' option to add the tag on an already mounted filesystem. '''Be warn''', it is not advised to use it on the root filesystem! In the next example, we use the &amp;lt;tt&amp;gt;/dev/sdb1&amp;lt;/tt&amp;gt; partition to host all the guests, under the &amp;lt;tt&amp;gt;/vservers&amp;lt;/tt&amp;gt; directory &amp;lt;pre&amp;gt;mount -o tag /dev/sdb1 /vservers&amp;lt;/pre&amp;gt;&lt;br /&gt;
# Consider modifying your &amp;lt;tt&amp;gt;/etc/fstab&amp;lt;/tt&amp;gt; file if necessary, to make the mount option persist across reboots&lt;br /&gt;
# Tag the files belonging to the VServer with its XID &amp;lt;pre&amp;gt;chxid -URx -c vs_name /vservers/vs_name &amp;lt;/pre&amp;gt;&lt;br /&gt;
# Write the limits under the &amp;lt;tt&amp;gt;/etc/vservers/vs_name/dlimits&amp;lt;/tt&amp;gt; directory :&lt;br /&gt;
## Create this directory if necesary&lt;br /&gt;
## Create one sub-directory for each filesystem (in most cases, you should have only one), using any identifier (for example &amp;lt;tt&amp;gt;root&amp;lt;/tt&amp;gt;)&lt;br /&gt;
## Under &amp;lt;tt&amp;gt;/etc/vservers/vs_name/dlimits/root/&amp;lt;/tt&amp;gt; create the following files :&lt;br /&gt;
### &amp;lt;tt&amp;gt;directory&amp;lt;/tt&amp;gt; : contains the directory to which the limit should be applied&lt;br /&gt;
### &amp;lt;tt&amp;gt;inodes_total&amp;lt;/tt&amp;gt; : the amount of inodes this vserver should be limited to&lt;br /&gt;
### &amp;lt;tt&amp;gt;reserved&amp;lt;/tt&amp;gt; : how much space (percentage-wise) should be reserved for the root user&lt;br /&gt;
### &amp;lt;tt&amp;gt;space_total&amp;lt;/tt&amp;gt; : the amount of space this vserver should be limited to (measured in blocks of 1024 bytes)&lt;br /&gt;
&lt;br /&gt;
== Controling disk limits ==&lt;br /&gt;
&lt;br /&gt;
After starting your VServer, you can control the actual limit using the ''vdlimit'' command (in this example, 300 is the context number associated with ''vs_name'') :&lt;br /&gt;
  # vdlimit --xid vs_name /vservers&lt;br /&gt;
  300 /vservers&lt;br /&gt;
  space_used=154604&lt;br /&gt;
  space_total=204800&lt;br /&gt;
  inodes_used=7834&lt;br /&gt;
  inodes_total=100000&lt;br /&gt;
  reserved=5&lt;br /&gt;
&lt;br /&gt;
You can also use the ''vdu'' command to count space or inodes used by a specific guest&lt;br /&gt;
  # vdu --xid vs_name --space /vservers&lt;br /&gt;
  /vservers 154604&lt;br /&gt;
  # vdu --xid vs_name --inodes /vservers&lt;br /&gt;
  /vservers 7834&lt;br /&gt;
&lt;br /&gt;
If you just want update disk usage of a guest after setting the limits you can use this script:&lt;br /&gt;
  #/bin/sh&lt;br /&gt;
  _dir=/var/lib/vservers&lt;br /&gt;
  if [ ! -d $_dir/$1 ]; then&lt;br /&gt;
      echo no such vserver&lt;br /&gt;
      exit 1;&lt;br /&gt;
    fi;&lt;br /&gt;
  chxid -URx -c $1 $_dir/$1&lt;br /&gt;
  vdlimit --xid $1 -s space_used=$(vdu --xid $1 --space $_dir/$1 | cut -d&amp;quot; &amp;quot; -f2) $_dir/$1&lt;br /&gt;
  vdlimit --xid $1 -s inodes_used=$(vdu --xid $1 --inode $_dir/$1 | cut -d&amp;quot; &amp;quot; -f2) $_dir/$1&lt;br /&gt;
&lt;br /&gt;
== Removing disk limits ==&lt;br /&gt;
To remove disk limits, remove the &amp;lt;tt&amp;gt;/etc/vservers/vs_name/dlimits/root&amp;lt;/tt&amp;gt; directory '''and''' remove the limits with the following command &lt;br /&gt;
  # vdlimit --xid vs_name --remove /vservers&lt;br /&gt;
&lt;br /&gt;
== More information ==&lt;br /&gt;
* See also ''dlimits'' on the util-vserver homepage http://www.nongnu.org/util-vserver/doc/conf/configuration.html&lt;br /&gt;
* For information about limiting diskspace with XFS, please see the [[XFS]] page.&lt;/div&gt;</summary>
		<author><name>Gebura</name></author>	</entry>

	<entry>
		<id>http://linux-vserver.at/Disk_Limits_and_Quota</id>
		<title>Disk Limits and Quota</title>
		<link rel="alternate" type="text/html" href="http://linux-vserver.at/Disk_Limits_and_Quota"/>
				<updated>2009-05-18T14:01:05Z</updated>
		
		<summary type="html">&lt;p&gt;Gebura: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
We call ''Disk Limit'' a disk space limit in a filesystem for one context (i.e. VServer). If you are interested in using user/group quotas inside a VServer, this is not the right place, look at the [[Quotas]] page.&lt;br /&gt;
&lt;br /&gt;
Of course, you can also use a dedicated partition (or logical volume) for each guest, which is another way to limit disk space usage per guest.&lt;br /&gt;
&lt;br /&gt;
== Activating disk limits ==&lt;br /&gt;
&lt;br /&gt;
For VServer version 2.0, please read http://oldwiki.linux-vserver.org/Disk+Limits&lt;br /&gt;
&lt;br /&gt;
For VServer 2.2+, the procedure is nearly the same, only the mount option has changed:&lt;br /&gt;
&lt;br /&gt;
# Activate the XID tagging on the filesystem hosting the VServer, using the ''tag'' mount option. You cannot use the ''remount'' option to add the tag on an already mounted filesystem. '''Be warn''', it is not advised to use it on the root filesystem! In the next example, we use the &amp;lt;tt&amp;gt;/dev/sdb1&amp;lt;/tt&amp;gt; partition to host all the guests, under the &amp;lt;tt&amp;gt;/vservers&amp;lt;/tt&amp;gt; directory &amp;lt;pre&amp;gt;mount -o tag /dev/sdb1 /vservers&amp;lt;/pre&amp;gt;&lt;br /&gt;
# Consider modifying your &amp;lt;tt&amp;gt;/etc/fstab&amp;lt;/tt&amp;gt; file if necessary, to make the mount option persist across reboots&lt;br /&gt;
# Tag the files belonging to the VServer with its XID &amp;lt;pre&amp;gt;chxid -URx -c vs_name /vservers/vs_name &amp;lt;/pre&amp;gt;&lt;br /&gt;
# Write the limits under the &amp;lt;tt&amp;gt;/etc/vservers/vs_name/dlimits&amp;lt;/tt&amp;gt; directory :&lt;br /&gt;
## Create this directory if necesary&lt;br /&gt;
## Create one sub-directory for each filesystem (in most cases, you should have only one), using any identifier (for example &amp;lt;tt&amp;gt;root&amp;lt;/tt&amp;gt;)&lt;br /&gt;
## Under &amp;lt;tt&amp;gt;/etc/vservers/vs_name/dlimits/root/&amp;lt;/tt&amp;gt; create the following files :&lt;br /&gt;
### &amp;lt;tt&amp;gt;directory&amp;lt;/tt&amp;gt; : contains the directory to which the limit should be applied&lt;br /&gt;
### &amp;lt;tt&amp;gt;inodes_total&amp;lt;/tt&amp;gt; : the amount of inodes this vserver should be limited to&lt;br /&gt;
### &amp;lt;tt&amp;gt;reserved&amp;lt;/tt&amp;gt; : how much space (percentage-wise) should be reserved for the root user&lt;br /&gt;
### &amp;lt;tt&amp;gt;space_total&amp;lt;/tt&amp;gt; : the amount of space this vserver should be limited to (measured in blocks of 1024 bytes)&lt;br /&gt;
&lt;br /&gt;
== Controling disk limits ==&lt;br /&gt;
&lt;br /&gt;
After starting your VServer, you can control the actual limit using the ''vdlimit'' command (in this example, 300 is the context number associated with ''vs_name'') :&lt;br /&gt;
  # vdlimit --xid vs_name /vservers&lt;br /&gt;
  300 /vservers&lt;br /&gt;
  space_used=154604&lt;br /&gt;
  space_total=204800&lt;br /&gt;
  inodes_used=7834&lt;br /&gt;
  inodes_total=100000&lt;br /&gt;
  reserved=5&lt;br /&gt;
&lt;br /&gt;
You can also use the ''vdu'' command to count space or inodes used by a specific guest&lt;br /&gt;
  # vdu --xid vs_name --space /vservers&lt;br /&gt;
  /vservers 154604&lt;br /&gt;
  # vdu --xid vs_name --inodes /vservers&lt;br /&gt;
  /vservers 7834&lt;br /&gt;
&lt;br /&gt;
If you just want update disk usage of a guest after setting the limits you can use:&lt;br /&gt;
  #/bin/sh&lt;br /&gt;
  _dir=/var/lib/vservers&lt;br /&gt;
&lt;br /&gt;
  if [ ! -d $_dir/$1 ]; then&lt;br /&gt;
      echo no such vserver&lt;br /&gt;
      exit 1;&lt;br /&gt;
    fi;&lt;br /&gt;
&lt;br /&gt;
  chxid -URx -c $1 $_dir/$1&lt;br /&gt;
  vdlimit --xid $1 -s space_used=$(vdu --xid $1 --space $_dir/$1 | cut -d&amp;quot; &amp;quot; -f2) $_dir/$1&lt;br /&gt;
  vdlimit --xid $1 -s inodes_used=$(vdu --xid $1 --inode $_dir/$1 | cut -d&amp;quot; &amp;quot; -f2) $_dir/$1&lt;br /&gt;
&lt;br /&gt;
== Removing disk limits ==&lt;br /&gt;
To remove disk limits, remove the &amp;lt;tt&amp;gt;/etc/vservers/vs_name/dlimits/root&amp;lt;/tt&amp;gt; directory '''and''' remove the limits with the following command &lt;br /&gt;
  # vdlimit --xid vs_name --remove /vservers&lt;br /&gt;
&lt;br /&gt;
== More information ==&lt;br /&gt;
* See also ''dlimits'' on the util-vserver homepage http://www.nongnu.org/util-vserver/doc/conf/configuration.html&lt;br /&gt;
* For information about limiting diskspace with XFS, please see the [[XFS]] page.&lt;/div&gt;</summary>
		<author><name>Gebura</name></author>	</entry>

	<entry>
		<id>http://linux-vserver.at/Frequently_Asked_Questions_scratch</id>
		<title>Frequently Asked Questions scratch</title>
		<link rel="alternate" type="text/html" href="http://linux-vserver.at/Frequently_Asked_Questions_scratch"/>
				<updated>2009-05-15T15:58:50Z</updated>
		
		<summary type="html">&lt;p&gt;Gebura: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== A. General ==&lt;br /&gt;
{{Question|Question=Credits||Details=&lt;br /&gt;
This FAQ includes information taken from the FAQs of Jacques GÃ©linas and Paul Sladen.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Are there other FAQs available?||Details=&lt;br /&gt;
Yes. There are other (mostly older) FAQ's available:&lt;br /&gt;
*[http://www.solucorp.qc.ca/howto.hc?projet=vserver Jacques GÃ©linas FAQ]&lt;br /&gt;
*[http://www.paul.sladen.org/vserver/faq/ Paul Sladen's vserver FAQ]&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Where can I find a overview of Linux-VServer?||Details=&lt;br /&gt;
*((short presentation))&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Linux-VServer Wikipedia Article]&lt;br /&gt;
*ProjectOverview (an introduction to the VServer Project, by ChuckD)&lt;br /&gt;
*[http://www.solucorp.qc.ca/miscprj/s_context.hc?prjstate=1&amp;amp;nodoc=0 Introduction by Jacques GÃ©linas]&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=How to verify that a setup is working properly?||Details=&lt;br /&gt;
*To verify that your setup works properly, there are some test scripts to check basic functionality.&lt;br /&gt;
 primarily [http://vserver.13thfloor.at/Stuff/SCRIPT/testme.sh testme.sh] and [http://vserver.13thfloor.at/Stuff/SCRIPT/testfs.sh testfs.sh] (see ((TestScripts)) for more details)|Signature=Linux-Vserver FAQ}}&lt;br /&gt;
&lt;br /&gt;
== B. Requirements ==&lt;br /&gt;
{{Question|Question=What hardware is supported by linux-vserver?||Details=&lt;br /&gt;
The following platforms are supported in the stable versions of linux-vserver.&lt;br /&gt;
*alpha&lt;br /&gt;
*i386 and higher (and compatible)&lt;br /&gt;
*ia32 / ia64&lt;br /&gt;
*mips / mips64&lt;br /&gt;
*hppa / hppa64&lt;br /&gt;
*ppc / ppc64&lt;br /&gt;
*sparc / sparc64&lt;br /&gt;
*s390 / s390x&lt;br /&gt;
*x86_64 (AMD64)&lt;br /&gt;
*uml/xen&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Which kernel versions are supported?||Details=&lt;br /&gt;
 recent 2.4 and 2.6 kernels (stable), recent 2.6 kernels (development). &lt;br /&gt;
 Some ancient versions of Linux-VServer are backported to 2.2.x kernels. You can find more information [http://vserver.digitalangel.com.au/ here].&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Can I run Linux-vserver on my favorite distribution?||Details=&lt;br /&gt;
Linux-VServer was originally developed on Red Hat/Mandriva, but it is rather distribution independent. It runs fine with other distributions (Debian, SuSE). Some distributions run a patched kernel, which can make it a bit harder to build a new kernel with Linux-VServer support|Signature=Linux-Vserver FAQ}}&lt;br /&gt;
&lt;br /&gt;
== C. Versions ==&lt;br /&gt;
{{Question|Question=What's the latest version of Linux-VServer?||Details=&lt;br /&gt;
You can find the [http://www.13thfloor.at/vserver/s_release latest stable 2.4 release] or [http://www.13thfloor.at/vserver/s_rel26 latest stable 2.6 release] as well as the [http://www.13thfloor.at/vserver/d_rel26 latest development release] at [http://www.13thfloor.at/vserver/ http://www.13thfloor.at/vserver/]&lt;br /&gt;
Check out the ((Release FAQ)) for information on releases and version numbering&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Where can I find prereleases and release candidates?||Details=&lt;br /&gt;
Check the [http://vserver.13thfloor.at/Experimental experimental area] for new patches.|Signature=Linux-Vserver FAQ}}&lt;br /&gt;
&lt;br /&gt;
== D. Tools (util-vserver and vserver) ==&lt;br /&gt;
{{Question|Question=What do I need them for?||Details=&lt;br /&gt;
These are the userspace tools for Linux-VServer. You need them to use the functionality of Linux-VServer.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=What's the difference between vserver and util-vserver?||Details=&lt;br /&gt;
The vserver package are the 'legacy utilities', written by Jacques GÃ©linas. &lt;br /&gt;
The util-vserver package is a reimplementation of these tools in C by Enrico Scholz, which follows the kernel development more closely. &lt;br /&gt;
util-vserver tools are currently considered the mainstream tools (You can't use both packages on the same machine.)&lt;br /&gt;
Both packages have their own version numbering. Don't let the version numbering confuse you.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Which version of the tools packages do I need? Do I have to upgrade?||Details=&lt;br /&gt;
*:It can be useful to have a recent version of the tools package installed on your box. It's a good idea to upgrade your tools when you upgrade your kernel. In the next list you find the versions you need to have at least, but it's a good idea to use more recent versions.&lt;br /&gt;
*linux-vserver 1.00&lt;br /&gt;
**vserver 0.26&lt;br /&gt;
**util-vserver 0.24&lt;br /&gt;
*linux-vserver 1.20&lt;br /&gt;
**vserver 0.28&lt;br /&gt;
**util-vserver 0.25&lt;br /&gt;
*linux-vserver 2.00&lt;br /&gt;
**util-vserver 0.30 or 0.30.209|Signature=Linux-Vserver FAQ}}&lt;br /&gt;
&lt;br /&gt;
== E. Download ==&lt;br /&gt;
{{Question|Question=Where can I dowload the latest version of:||Details=&lt;br /&gt;
*[http://www.13thfloor.at/vserver/ The kernel patch]&lt;br /&gt;
*[http://dns.solucorp.qc.ca/miscprj/s_context.hc?prjstate=1&amp;amp;nodoc=1 vserver]&lt;br /&gt;
*[http://savannah.nongnu.org/files/?group=util-vserver util-vserver]&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Distribution specific packages||Details=&lt;br /&gt;
*Red Hat&lt;br /&gt;
**[http://dns.solucorp.qc.ca/miscprj/s_context.hc?prjstate=1&amp;amp;nodoc=1 vserver]&lt;br /&gt;
*Mandrake&lt;br /&gt;
**[http://www.13thfloor.at/vserver/s_release/v1.00/ vserver]&lt;br /&gt;
*Debian&lt;br /&gt;
**[http://packages.debian.org/cgi-bin/search_packages.pl?keywords=vserver&amp;amp;searchon=names&amp;amp;subword=1&amp;amp;version=all&amp;amp;release=all vserver] - All Linux-VServer-related Debian-packages (Probably slow, +100 results).&lt;br /&gt;
**[http://packages.debian.org/cgi-bin/search_packages.pl?keywords=linux-image-2.6-vserver&amp;amp;searchon=names&amp;amp;subword=1&amp;amp;version=all&amp;amp;release=all Official precompiled kernels] - These are the official Debian kernels compiled with Linux-VServer-support.&lt;br /&gt;
**[http://packages.debian.org/cgi-bin/search_packages.pl?keywords=vserver-debiantools&amp;amp;searchon=names&amp;amp;subword=1&amp;amp;version=all&amp;amp;release=all vserver-debiantools] - These scripts install Debian straight off the web from Debian.org's world-wide network of mirrors.&lt;br /&gt;
*Gentoo&lt;br /&gt;
**[http://dev.croup.de/proj/gentoo-vps/wiki/VserverHowto vserver]|Signature=Linux-Vserver FAQ}}&lt;br /&gt;
&lt;br /&gt;
== F. Network Usage? ==&lt;br /&gt;
{{Question|Question=Is IPv6 supported?||Details=&lt;br /&gt;
At this moment, only IPv4 (the current most frequently used standard) is supported.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Can I put my vservers in different networks?||Details=&lt;br /&gt;
Yes you can. You have to bind your vserver to a interface on the host machine, but you can choose the interface in the configuration file of your vserver (in /etc/vservers/SERVER.conf). Make sure your host server does have an interface in the network you need on your vserver.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Is it possible for a vserver to have a other default gateway than the host machine does use?||Details=&lt;br /&gt;
Yes. Use iproute2 to set the default gateway.&lt;br /&gt;
You can find more information on routing in linux-vserver in [http://archives.linux-vserver.org/200311/0470.html this posting] on the mailinglist.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Can I use more than one IP address in a vserver||Details=&lt;br /&gt;
Yes you can. Edit the configuration file of the vserver (/etc/vservers/SERVER.conf).&lt;br /&gt;
In case you want to use example IP addresses on one interface&lt;br /&gt;
IPROOT=&amp;quot;10.1.2.3 10.1.2.12&amp;quot;&lt;br /&gt;
IPROOTDEV=&amp;quot;eth0&amp;quot;&lt;br /&gt;
In case you want to use 2 or more interfaces&lt;br /&gt;
IPROOT=&amp;quot;eth0:10.1.2.3 eth1:10.1.2.12&amp;quot;&lt;br /&gt;
IPROOTDEV=&amp;quot;&amp;quot;&lt;br /&gt;
In case you want to use IP-number in different subnets&lt;br /&gt;
IPROOT=&amp;quot;eth0:10.1.2.3/255.255.255.0 eth0:10.1.3.12/255.255.0.0&amp;quot;&lt;br /&gt;
IPROOTDEV=&amp;quot;&amp;quot;&lt;br /&gt;
If you are using vserver 2.0+ you have to create subdirectories in /etc/vserver/&amp;lt;vserver-name&amp;gt;/interfaces/ &lt;br /&gt;
for each IP you want to use, i.e.&lt;br /&gt;
/etc/vserver/&amp;lt;vserver-name&amp;gt;/interfaces/0&lt;br /&gt;
/etc/vserver/&amp;lt;vserver-name&amp;gt;/interfaces/1&lt;br /&gt;
These subdirectories have to contain files with the options you want to set. See the [[VServerConfiguration]] or [http://www.nongnu.org/util-vserver/doc/conf/configuration.html Flower page] for more info&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Is it possible to use the real device (eth0, eth1) instead of the device alias created by vserver?||Details=&lt;br /&gt;
Yes. Set up the IP aliases yourself on the host server&lt;br /&gt;
*Set IPROOT= to those IPs&lt;br /&gt;
*Unset IPROOTDEV so the vserver script won't try to setup the IP aliases.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Can I modify the behavior of my vservers?||Details=&lt;br /&gt;
There are a number of capabilities and flags that you can modify listed [http://linux-vserver.org/Caps+and+Flags here] (and [http://savannah.nongnu.org/cgi-bin/viewcvs/util-vserver/util-vserver/lib/cflags-v13.c?rev=HEAD here (cflags-v13.c)]).&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Were can I find more information on networking in Linux-VServer?||Details=&lt;br /&gt;
You can find more information on the internals of networking in Linux-VServer [http://vserver.13thfloor.at/Stuff/VServer-IP-Setup-0.1.txt here].|Signature=Linux-Vserver FAQ}}&lt;br /&gt;
&lt;br /&gt;
== G. Software compatibility ==&lt;br /&gt;
{{Question|Question=Bind does not work in a vserver||Details=&lt;br /&gt;
* capset failed&lt;br /&gt;
* The bind package expect to have the capability CAP_SYS_RESOURCE. &lt;br /&gt;
 It expects this because it was compiled this way on Linux and to increase its ulimit. &lt;br /&gt;
* By default, a vserver does not have this capability for a good reason, you may have a    look at 'man capabilities' to see how much control that capability allows. &lt;br /&gt;
* A vserver starts with some ulimit values and can only reduce them, not enlarge them.&lt;br /&gt;
* If you know what you are doing, you can give the capability to the vserver running bind.&lt;br /&gt;
* A securer solution is to compile bind without that requirement by specifying './configure --disable-linux-caps' &lt;br /&gt;
 It looks like you only can run bind as root once you compile bind with this option, but this should be fine inside a vserver.&lt;br /&gt;
* bind does not respond to queries&lt;br /&gt;
* Bind seems to have problems with a query socket check. Bind believes the query is comming on a non-query socket, and doesn't answer the request.&lt;br /&gt;
* putting &amp;quot;query-source address YOUR_VSERVER_IP;&amp;quot; in your named.conf solves this problem.&lt;br /&gt;
&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Is DHCP possible in a vserver?||Details=&lt;br /&gt;
It's possible to run a DHCP server inside a vserver, but it required a CAP_NET_RAW capability. &lt;br /&gt;
The solution for 2.6 kernel with new-style config is to add CAP_NET_RAW entry in the /etc/vserver/&amp;lt;vserver-name&amp;gt;/bcapabilities file, and it might be unnecessary to add 255.255.255.255 into bcast file, please read [[VServerConfiguration]] or [http://www.nongnu.org/util-vserver/doc/conf/configuration.html The Great Flower Page] for more details. If you are still use the legacy config, please read the answer below.&lt;br /&gt;
It's possible to run a DHCP server inside a vserver, but there is a catch. The set_ipv4root assigns one IP and one broadcast address to a vserver. UDP service listening to 0.0.0.0 (bind any) in a vserver are indeed listening to the vserver IP and vserver broadcast. &lt;br /&gt;
This is all they will get. This is fine for most services. &lt;br /&gt;
Unfortunately, dhcpd is receiving special broadcasts. Its clients are unaware of their IP number, so they are using special broadcast 255.255.255.255 address. &lt;br /&gt;
A vserver generally runs with the broadcast address of the network device (the one used to setup the IP alias). This network device has a broadcast address which is never 255.255.255.255. Those special broadcast are not sent to the vserver. The solution is to set the IPROOTBCAST entry in the vserver configuration file like this  IPROOTBCAST=255.255.255.255&lt;br /&gt;
Restart your vserver and dhcpd will work. There is a catch (at least with 2.4.18ctx-9). If you are using other services in the save vserver, also relying on broadcast for proper operation (samba for one), they won't operate properly. &lt;br /&gt;
One solution would be to enhance the semantics a little: A vserver would listen for its IP address, its broadcast address and also for 255.255.255.255. &lt;br /&gt;
The dhcpd case is probably very specific though. &lt;br /&gt;
&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=NFS-server||Details=&lt;br /&gt;
It's not posible to run a NFS-kernel server inside a vserver, to work securely this would need a lot of work. &lt;br /&gt;
You can try to run the NFS userspace server, the traditional Linux user space NFS server and UNFS3 are both reported to work.&lt;br /&gt;
take a look at ((NFS and portmap)) if you have problems with your portmap&lt;br /&gt;
&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Run Level Based Distributions as Ververs (Red Hat and such ....)||Details=&lt;br /&gt;
 If you see errors after the command vserver &amp;lt;name&amp;gt; stop like these:&lt;br /&gt;
&lt;br /&gt;
 Syncing hardware clock to system time hwclock is unable to get I/O port access:  the iopl(3) call failed FAILED]&lt;br /&gt;
 Turning off swap:  Not superuser.    [FAILED]&lt;br /&gt;
 Turning off quotas:  quotaoff: Can't stat() mounted device /dev/hdv1: No such file or directory&lt;br /&gt;
 Unmounting file systems:  umount2: No such file or directory umount: /vservers: not found&lt;br /&gt;
&lt;br /&gt;
 Then look for S* links in /etc/rc6.d/ and remove the one responsible for the errors. In RH9 it is called S01reboot&lt;br /&gt;
 A 'normal' server does some stuff on shutdown, like saving the time to the hwclock, or storing random pool data and finally invokes the reboot. Some of those actions are just not allowed in a vserver.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Vservers and X Windows||Details=&lt;br /&gt;
 Please see the ((Vservers and X)) page for information about this.&lt;br /&gt;
&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=sshd with X11-Forwarding in a vserver||Details=&lt;br /&gt;
 add ```'X11UseLocalhost no'``` to your sshd_config&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=See also: [ProblematicPrograms]||Details=&lt;br /&gt;
== H. Help ==&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Where can I find more information on the Linux-VServer project?||Details=&lt;br /&gt;
First have a look at the ((documentation)) section of the website. In case you can't find the answer here, have a look at the mailinglist archives. If this doesn't help jou, there is still a mailinglist and a IRC channel were you can ask for help.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Does the Linux-VServer project have a mailing list?||Details=&lt;br /&gt;
Yes. You can subscribe [http://list.linux-vserver.org/mailman/listinfo/vserver here]. Archives are located [http://list.linux-vserver.org/archive/vserver/ here].&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Is there a IRC channel ||Details=&lt;br /&gt;
Yes, join #vserver on irc.oftc.net.|Signature=Linux-Vserver FAQ}}&lt;br /&gt;
&lt;br /&gt;
== I. Issues ==&lt;br /&gt;
{{Question|Question=When starting or entering a vserver I get &amp;quot;''Error: /proc must be mounted''&amp;quot;. 'vserver-stat' and 'vps' are failing with &amp;quot;''open(&amp;quot;/proc/uptime&amp;quot;): No such file or directory''&amp;quot;.  Sometimes, other files in /proc are mentioned. What can I do?||Details=&lt;br /&gt;
Make sure that in devel and experimental the required proc entries are visible inside a vserver. With alpha utilities, execute the ||Details=vprocunhide||Details= script. See ((Proc-Security)) also.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Inside a vserver I can still use mknod to create devices, even without CAP_MKNOD capability. What's wrong? (this probably applies to all other capabilities but that was not tested)||Details=&lt;br /&gt;
This is probably a problem in your kernel configuration. If you include &amp;quot;Enable different security models&amp;quot; (CONFIG_SECURITY), then make sure to also include &amp;quot;Default Linux Capabilities&amp;quot; (CONFIG_SECURITY_CAPABILITIES) or compile it as a module. In this latter case you must insert the 'capability' module into the kernel. This is for example true for current (2.6.8.1) debian kernel configurations.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=After stopping/restarting a vserver my network is gone! What the hell?||Details=&lt;br /&gt;
 See above.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Only root can access any files in the vserver||Details=&lt;br /&gt;
 Check the permissions of the vserver's / directory. The 2.4 branch's chroot-escape blocker (chmod 0000 and chattr +t) is meant to be applied to the directory containing the vservers (for example /vservers) not the vservers' root directories themselves. If you revoked all permissions for a vserver's root directory, re-grant them with &amp;quot;chmod 0755 /path/to/vserver-root&amp;quot;.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=&amp;quot;daemon() failed: Success&amp;quot; - What? Succesfully failing?||Details=&lt;br /&gt;
 Not really vserver related but here's the answer: Somebody replaced your /dev/null with a regular file, create a real /dev/null and it will start working again. We got no idea why the error message happens to be so funny(?).&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=When I start a vserver, &amp;quot;FATAL: kernel too old&amp;quot; message appears and vserver can't be started||Details=&lt;br /&gt;
Edit your /etc/vservers/&amp;lt;vsname&amp;gt;/uts/release and define a value greater than kernel version&lt;br /&gt;
example, if you have a kernel &amp;quot;2.6.11&amp;quot;, set &amp;quot;2005&amp;quot; for example  :-)&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=I switched from old to new configuration and now all my ip addresses are gone!||Details=&lt;br /&gt;
They are not, ifconfig just doesn't show them. The new tools use 'iproute' instead of 'ifconfig' which allows you to use multiple interface addresses with the same label. In such cases, ifconfig shows only the first address for each label, which probably isn't available in the vserver. Unless you specify a name for an ip address, it will be given the interface name as label, eg. eth0, and ifconfig breaks. You can assign names to your interface addresses in the vserver configuration, see [[VServerConfiguration]] or [http://www.nongnu.org/util-vserver/doc/conf/configuration.html The Great Flower Page] for details.&lt;br /&gt;
Earlier, we said that the interface addresses were &amp;quot;nameless&amp;quot;, this was wrong. As said above, the addresses in question actually all have the same name/label. Knowing this we could actually virtualize the ioctl interface which ifconfig uses in a meaningful way, making ifconfig show the vserver's ip addresses as expected, even when it shares its label with other ip addresses (of course only if there aren't multiple ip addresses in the same vserver that share the same label, but that's an ifconfig limitation, not a vserver bug). The [http://www.13thfloor.at/~doener/vserver/patches/diff-2.6.16.5-vs2.0.2-rc16-devinet_ioctl.diff patch] should apply to most Linux-VServer versions for kernel 2.6 and will probably be included in future versions.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=When I enter/ssh into a vserver I can see all of the interfaces and interface aliases with ifconfig.||Details=&lt;br /&gt;
I experienced this after upgrading from a 2.4 to 2.6 kernel with vs-2.0 patch using legacy-method .conf files.  Upgrading from legacy-method to the new one (see [http://linux-vserver.org/Legacy-To-Newstyle-Config Converting From Legacy to New]) caused the problem to go away.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=I keep my vserver roots on their own devices.  I can unmount them but the device (like drbd or lvm) remains in use until all of my vservers are killed off (&amp;quot;Someone has opened the device for RW access&amp;quot;).||Details=&lt;br /&gt;
 When you mount something it is recorded in the current namespace.  When you start a vserver it makes copy of the namespace.  You can then unmount in the original  namespace without any problems, however the device is still in use.  This is because the device is still mounted in the new namespace.  You can do something like this: &amp;quot;vnamespace -e runningVserver umount /mnt/point&amp;quot;. After this you should be able to remove the device (drbdadm secondary /dev/drbd0 or whatever).&lt;br /&gt;
More information:&lt;br /&gt;
*[http://linux-vserver.org/Namespaces About Namespaces]&lt;br /&gt;
*[http://linux-vserver.org/advanced+DRBD+mount+issues DRBD Mount Issues]&lt;br /&gt;
*[http://list.linux-vserver.org/archive/vserver/msg11444.html This thread], which deals with the same issue.&lt;br /&gt;
*[http://list.linux-vserver.org/archive/vserver/msg10415.html This thread], terse but helpful.&lt;br /&gt;
*[http://www.gossamer-threads.com/lists/drbd/users/9282?page=last And this], a thread of related stuff.&lt;br /&gt;
WARNING: if you use the kernel cleanup feature then make sure you know what you are doing.  I didn't, it was ugly.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=When I stop a vserver its network alias does not go away, I am getting 'RTNETLINK answers: Cannot assign requested address||Details='&lt;br /&gt;
Try running 'ip addr' and see if the interface names are being truncated (note: I came across a thread that seems to suggest that this might happen even if the interface name is not being truncated?).  The function that kills the interface specifies its name, if it is truncated then 'ip' will not be able to find the interface.&lt;br /&gt;
Another cause might be that the IP was added (or already present at startup) with a different netmask, and therfore can not be removed properly&lt;br /&gt;
My solution to this is very, very gross.  Open up your vserver.functions file and find the disableInterfaces function.  If you change&lt;br /&gt;
IP_ADDR)            $_IP addr  del &amp;quot;$@&amp;quot;;;&lt;br /&gt;
to&lt;br /&gt;
IP_ADDR)            $(echo $_IP addr  del &amp;quot;$@&amp;quot;|sed 's/broadcast + label [^[:space:]]\+//');;&lt;br /&gt;
then ip will try to delete the interface by its IP alone.&lt;br /&gt;
Anyone with a better solution is strongly encouraged to modify this entry.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Why does the vserver run on a BSD fs (ufs) ?!||Details=&lt;br /&gt;
* I see something like: /dev/hdv1 / ufs defaults 0 0&lt;br /&gt;
The ufs part is correct and it is so to trick the quota tools to not try to lowlevel access the fs. The entry is FAKE anyway, ufs just solved this quota userland issue nicely (more or less).&lt;br /&gt;
* For details see: [http://list.linux-vserver.org/archive/vserver/msg09133.html] and [http://archives.linux-vserver.org/200401/0232.html]&lt;br /&gt;
* When I issue a ping it returns:&lt;br /&gt;
 [root@VServerGuest /]# ping 123.123.123.123&lt;br /&gt;
 connect: Invalid argument&lt;br /&gt;
* When I issue a DNS lookup it returns:&lt;br /&gt;
 [root@VServerGuest /]# host www.yahoo.ca&lt;br /&gt;
 socket.c: internal_send: 222.222.222.222#53: Invalid argument&lt;br /&gt;
 ;; connection timed out; no servers could be reached&lt;br /&gt;
* When I try to run vyum it returns:&lt;br /&gt;
 [root@VServerGuest /]# vyum VServerGuest -- check-update&lt;br /&gt;
 Cannot find a valid baseurl for repo: core&lt;br /&gt;
 Error: Cannot find a valid baseurl for repo: core&lt;br /&gt;
 Make sure that you have either a Public IP setup on the VServer Guest, or that you have a proper SNAT/DNAT rules setup on your VServer Host. After that, restart the vserver guest with the verbose option to see what your ipv4root is set to:&lt;br /&gt;
 [root@VServerGuest  /]# vserver -v VServerGuest start&lt;br /&gt;
 ipv4root is now 127.0.0.10 111.111.111.111&lt;br /&gt;
 New security context is 49156&lt;br /&gt;
 You must make sure the order of the interfaces are correct. The very first Interface (decided upon by alphabetical order of the interface directory name) for the VServer is the default IP used for all network connections. This must be either a public IP or an IP that has been D/SNAT'd.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== G. Problematic Programs ==&lt;br /&gt;
Some programs do things that might work on a normal host but not inside a V-Server. This is often not a fault of V-Server itself, the programs are doing automagic things which fail and no proper error handling is done. Also sometimes the actions need special rights which are not permitted by default in V-Servers. Allowing CAPs is often not necessary since those special CAPs are only required once (e.g. when the program initializes the directories/settings/whatever).&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=OpenGroupware Apache Module&lt;br /&gt;
||Details=If your V-Server doesn't have access to localhost, then the connection to the !OpenGroupware server will fail with a &amp;quot;Internal Server Error&amp;quot;.&lt;br /&gt;
The apache module for !OpenGroupware called mod_ngobjweb uses a hardcoded &amp;quot;127.0.0.1&amp;quot; IP address in the source (handler.c line 339), this line you need to change to the IP address that should be used (the IP of the V-Server that runs the OpenGroupware server)|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Hylafax (with CAPI)|Details=&lt;br /&gt;
:If you want to run hylafax in a V-Server, you will get a CAP and device problem which can be easily solved. First you need your capi20 devices in your V-Server, which can't be created by ./MAKEDEV (requires special CAPs) so copy the devices into the V-Server, like this (command run on the host):&lt;br /&gt;
:cp -aR /dev/capi* /vservers/your_vserver/dev&lt;br /&gt;
:Now hylafax can access your CAPI ISDN card but will exit after a few seconds, the problem is it tries to create a /dev/null nod in the hylafax chroot. This fails because of missing  CAPs, so lets help hylafax again with copying the nod into the hylafax chroot in the V-Server. Like this (command run on the host):&lt;br /&gt;
:cp -aR /dev/null /vservers/your_vserver/var/spool/hylafax/dev&lt;br /&gt;
:Allright, now hylafax should have CAPI access and run properly.|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Links inside screen inside a V-Server|Details=&lt;br /&gt;
:Don't know why, but links crashes systematically being inside a screen session inside a V-Server started outside a V-Server. (please elaborate!)|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=screen inside a VServer|Details=&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[root@ge root]# vserver zoe enter&lt;br /&gt;
&lt;br /&gt;
zoe:/# screen&lt;br /&gt;
Cannot open your terminal '/dev/pts/5' - please check.&lt;br /&gt;
&lt;br /&gt;
zoe:/# strace screen &lt;br /&gt;
...&lt;br /&gt;
stat64(&amp;quot;/dev/pts/5&amp;quot;, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 5), ...}) = 0&lt;br /&gt;
open(&amp;quot;/dev/pts/5&amp;quot;, O_RDWR|O_NONBLOCK)   = -1 EACCES (Permission denied)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:is neither a bug nor an issue with screen, it just shows that a vserver context is not allowed to mess with host terminals. either use ssh/telnet to reach the 'guest' or start the screen session before you do the 'enter' (i.e. on the host)|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=!OpenLDAP Startup|Details=&lt;br /&gt;
:slapd needs name resolution available in order to start up, otherwise it appears to hang. Make sure you have working DNS (or whatever) available to your vserver before starting one with slapd. This behavior is confirmed in my setup, no confirmation from others yet. My Setup: vservers all bind to an interface on a DMZ-like network segment, BIND runs on a vserver. slapd would hang at startup if the BIND vserver had not been started first.|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=rndc|Details=&lt;br /&gt;
:Bind's rndc has a hardcoded 127.0.0.1 somewhere so any command to rndc will fail with connection refused.&lt;br /&gt;
:You should have a reachable localhost address defined in /etc/hosts and then you can use rndc -s localhost command&lt;br /&gt;
:You can make a rndc.conf and set the default-server option, like that the '-s localhost' isn't necessary.|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Asterisk|Details=&lt;br /&gt;
:Since some version of Asterisk (at least since 1.0.2), it will not run anymore. On start it fails with: &amp;quot;Unable to set high priority&amp;quot;&lt;br /&gt;
:This can be solved by allowing CAP_SYS_NICE for that VServer.&lt;br /&gt;
:You can also not run Asterisk with the realtime priority :&lt;br /&gt;
:Just pass the '-p' command ligne argument to disable the read-time priority.&lt;br /&gt;
:.&lt;br /&gt;
:Good doc on setting up Asterisk devices in the vserver:&lt;br /&gt;
:http://www.telephreak.org/papers/vpa/|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Open/!FreeSwan|Details=&lt;br /&gt;
:Fails because of writing to /proc (requires patch)&lt;br /&gt;
:TODO: write me|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Samba|Details=&lt;br /&gt;
:Oplocks don't work as smbd insists on receiving break requests from 127.0.0.1 \\&lt;br /&gt;
Just patch source/smbd/oplock.c (commenting paranoid code)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
+++ oplock.c.orig       2005-02-14 14:27:51.000000000 +0200&lt;br /&gt;
--- oplock.c    2005-02-02 12:27:50.000000000 +0200&lt;br /&gt;
@@ -181,14 +181,12 @@&lt;br /&gt;
                return False;&lt;br /&gt;
        }&lt;br /&gt;
&lt;br /&gt;
+#if 0&lt;br /&gt;
     /* Validate message from address (must be localhost). */&lt;br /&gt;
        if(from.sin_addr.s_addr != htonl(INADDR_LOOPBACK)) {&lt;br /&gt;
                DEBUG(0,(&amp;quot;receive_local_message: invalid 'from' address \&lt;br /&gt;
 (was %lx should be 127.0.0.1)\n&amp;quot;, (long)from.sin_addr.s_addr));&lt;br /&gt;
                return False;&lt;br /&gt;
        }&lt;br /&gt;
+#endif&lt;br /&gt;
&lt;br /&gt;
        /* Setup the message header */&lt;br /&gt;
        SIVAL(buffer,OPBRK_CMD_LEN_OFFSET,msg_len);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
or if you don't want to patch the samba source code you can disable oplock in Samba and it will work too!&lt;br /&gt;
Just put the following in your smb.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
kernel oplocks = no&lt;br /&gt;
oplocks = no&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: The Vserver using Samba should also listen on the broadcast address. Thereby you will not be able to have two samba servers in the same net (on the same broadcast). |Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Samba from Debian 3.1|Details=&lt;br /&gt;
The samba deb in sarge (3.1) provided file sharing.  The only oddity observed is that the vserver guest running samba did not appear in a windows box's 'My Network Places'&lt;br /&gt;
    Use a WINS server. The SMB browsing protocol relies heavily on broadcasts on the local net, which are problematic with vservers. WINS resolution on the other hand is unicast and works flawlessly under vserver.|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Samba printer and file server with cups|Details=&lt;br /&gt;
:Samba runs correctly in a Mandriva (Mdk) 10.1 Vserver, (Apart from the above oplock problem ?).&lt;br /&gt;
: \\&lt;br /&gt;
First, edit your {{/etc/sysconfig/network}} file, and set {{networking}} to {{yes}} (This will solve problems for other services !):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cat /etc/sysconfig/network&lt;br /&gt;
NETWORKING=yes&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
Some more tweaking is needeed in {{/etc/smb.conf}}:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cat /etc/smb.conf&lt;br /&gt;
...&lt;br /&gt;
  # YOUR VSERVER IP/MASK HERE&lt;br /&gt;
  interfaces = xxx.xxx.xxx.xxx/mask&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
That's all !!!&lt;br /&gt;
: \\&lt;br /&gt;
But if you're using Samba + Cups to provide printing for Windows clients, AND if you want to use the {{Point and Print}} feature, there is more: In the {{[printers]}} section of your {{smb.conf}}, you should have the {{use client drivers}} directive set to {{no}}, or the driver upload procedure will fail !&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cat /etc/smb.conf&lt;br /&gt;
...&lt;br /&gt;
  use client driver = no&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
So, here is a full {{smb.conf}} file:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cat /etc/samba/smb.conf | awk '!/^$/ &amp;amp;&amp;amp; !/^\s*(#|;)/ {print $0}'&lt;br /&gt;
[global]&lt;br /&gt;
   workgroup = MYDOMAIN&lt;br /&gt;
   netbios name = MYHOSTNAME&lt;br /&gt;
   server string = MYCOMMENT (Samba %v)&lt;br /&gt;
   printcap name = cups&lt;br /&gt;
   load printers = yes&lt;br /&gt;
   printing = cups&lt;br /&gt;
   printer admin = @adm&lt;br /&gt;
   log file = /var/log/samba/log.%m&lt;br /&gt;
   max log size = 50&lt;br /&gt;
   map to guest = bad user&lt;br /&gt;
   security = domain&lt;br /&gt;
   password server = *&lt;br /&gt;
   encrypt passwords = yes&lt;br /&gt;
   smb passwd file = /etc/samba/smbpasswd&lt;br /&gt;
   username map = /etc/samba/smbusers&lt;br /&gt;
   idmap uid = 10000-20000&lt;br /&gt;
   idmap gid = 10000-20000&lt;br /&gt;
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192&lt;br /&gt;
   interfaces = 127. MYVSERVERIP/MYVSERVERMASK&lt;br /&gt;
   wins server = MYWINSIP&lt;br /&gt;
   dns proxy = no&lt;br /&gt;
   # for french users:&lt;br /&gt;
   dos charset = 850&lt;br /&gt;
   unix charset = ISO8859-1&lt;br /&gt;
[homes]&lt;br /&gt;
   comment = Home Directories&lt;br /&gt;
   browseable = no&lt;br /&gt;
   writable = no&lt;br /&gt;
[printers]&lt;br /&gt;
   comment = All Printers&lt;br /&gt;
   path = /var/spool/samba&lt;br /&gt;
   browseable = no&lt;br /&gt;
   guest ok = no&lt;br /&gt;
   writable = no&lt;br /&gt;
   printable = yes&lt;br /&gt;
   create mode = 0700&lt;br /&gt;
   print command = lpr-cups -P %p -o raw %s -r   # using client side printer drivers.&lt;br /&gt;
   use client driver = no&lt;br /&gt;
[print$]&lt;br /&gt;
   path = /var/lib/samba/printers&lt;br /&gt;
   browseable = yes&lt;br /&gt;
   write list = @adm root&lt;br /&gt;
   guest ok = yes&lt;br /&gt;
   inherit permissions = yes&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
...And a working smbusers:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Unix_name = SMB_name1 SMB_name2 ...&lt;br /&gt;
root = administrator MYDOMAIN\administrator&lt;br /&gt;
nobody = guest pcguest smbguest&lt;br /&gt;
&amp;lt;/pre&amp;gt;|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Cups print server|Details=&lt;br /&gt;
: Symptoms: The Cups init script exits with:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Starting CUPS printing system: cupsd: Child exited with status 98!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
And the logs ({{/var/log/cups/error_log}}) show:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
E [date:hour...] StartListening: Unable to bind socket for address 0.0.0.0:631 - Address already in use.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:...Or something like this.&lt;br /&gt;
: \\&lt;br /&gt;
With a correct &amp;quot;cupsd.conf file&amp;quot; (Tested version 1.1.21-0.rc1.7mdk, on Mandrake 10.1 - Now Mandriva), it works; All we need is to remove references to {{127.0.0.1}} or {{localhost}} from the file, as well as correctly unsetting the {{Listen}} directive:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
LogLevel info&lt;br /&gt;
TempDir /var/spool/cups/tmp&lt;br /&gt;
# No 'Listen' directive !&lt;br /&gt;
Port 631&lt;br /&gt;
BrowseAddress @LOCAL&lt;br /&gt;
BrowseDeny All&lt;br /&gt;
BrowseAllow @LOCAL&lt;br /&gt;
BrowseOrder deny,allow&lt;br /&gt;
&amp;lt;Location /&amp;gt;&lt;br /&gt;
  Order Deny,Allow&lt;br /&gt;
  Deny From All&lt;br /&gt;
  Allow From @LOCAL&lt;br /&gt;
&amp;lt;/Location&amp;gt;&lt;br /&gt;
&amp;lt;Location /admin&amp;gt;&lt;br /&gt;
  AuthType Basic&lt;br /&gt;
  AuthClass System&lt;br /&gt;
  Order Deny,Allow&lt;br /&gt;
  Deny From All&lt;br /&gt;
  Allow From YOUR_NETWORK_ADDRESS/YOUR_NETMASK # Example: 172.16.0.0/24&lt;br /&gt;
# Or&lt;br /&gt;
  Allow From @LOCAL&lt;br /&gt;
&amp;lt;/Location&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
Then you'll need to modify the {{/etc/init.d/cups}} script, to comment any section referring to {{127.0.0.1}} lookup and configuration. This section exists at least on Mandrake 10.1, and is pretty long (Lines 35 to 55 and/or 79), and additionnaly four &amp;quot;{{else...if}}&amp;quot; lines must be commented far below (Lines 161 to 164) !&lt;br /&gt;
: \\&lt;br /&gt;
Remember to stop any Cupsd running in the host server, or to start it ''via'' a wrapper {{/etc/init.d/v_cups}} script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
# chkconfig: 2345 15 60&lt;br /&gt;
# description: Wrapper to start cups bound to a single IP&lt;br /&gt;
USR_LIB_VSERVER=/usr/lib/util-vserver&lt;br /&gt;
exec $USR_LIB_VSERVER/vsysvwrapper cups $*&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
Do not forget to give a password to the root user, if you want to ba able to manage your printers from the web interface (http://yourcupsvserver:631)!&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# passwd root&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
If you use Mandriva 10.1 (And maybe some other distros), you&amp;amp;#8217;ll need to add the printers drivers for Cups, and reload it:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# urpmi --root /vservers/yourcupsvserver/ cups-drivers&lt;br /&gt;
# /etc/init.d/cups reload&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
&amp;amp;#8230;It added 67 Mb of packages for me.&lt;br /&gt;
: \\&lt;br /&gt;
Then use {{/etc/init.d/v_cups (re)start}} to launch Cups on the host server.&lt;br /&gt;
:You will now be able to make Cupsd start in the vserver , but more tweaking on the ACLs may be necessary to avoid authentification problems...|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Bind9 on Debian GNU/Linux Woody (3.0) and Sarge (3.1)|Details=&lt;br /&gt;
:named provided by the bind9 binary packages fails to start because it is compiled with CAPs option.&lt;br /&gt;
: \\&lt;br /&gt;
The debian way is to build** your own package without CAPs:&lt;br /&gt;
: \\&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
su -&lt;br /&gt;
cd /usr/src&lt;br /&gt;
apt-get build-dep bind9&lt;br /&gt;
apt-get source bind9&lt;br /&gt;
cd bind9-x.x.x&lt;br /&gt;
vi debian/rules&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
Insert the following line after &amp;quot;./configure --prefix=/usr \&amp;quot;:&lt;br /&gt;
: \\&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--disable-linux-caps \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
On a NPTL-enabled system you alse have to replace \\&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--enable-threads \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: with \\&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--disable-threads \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: or bind might refuse to run with an other user than root.&lt;br /&gt;
: \\&lt;br /&gt;
Save the file and go ahead with compiling/installing:&lt;br /&gt;
: \\&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
dpkg-buildpackage&lt;br /&gt;
dpkg -i ../bind9-x.x.x.deb&lt;br /&gt;
echo &amp;quot;bind9 hold&amp;quot; | dpkg --set-selections&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
The last line is to set the package &amp;quot;on hold&amp;quot;, so it is not touched by the update process. you have to take care of security holes by yourself now!&lt;br /&gt;
: \\&lt;br /&gt;
The Xs in &amp;quot;bind9-x.x.x&amp;quot; denote the version number of bind9.&lt;br /&gt;
: \\&lt;br /&gt;
&lt;br /&gt;
** Alternatively you can allow the CAP_SYS_RESOURCE for that V-Server.&lt;br /&gt;
&lt;br /&gt;
The best way would be to fix bind, which is somehow broken when it comes to capabilities.&lt;br /&gt;
Daniel Hokka Zakrisson repaired it. His patch is to be found here:&lt;br /&gt;
&lt;br /&gt;
[http://daniel.hozac.com/stuff/bind-9.3.2-caps-when-available.patch bind-9.3.2-caps-when-available.patch]&lt;br /&gt;
So, if you recompile, it would be the cleanest way to apply that patch. Thanks Daniel!&lt;br /&gt;
&lt;br /&gt;
It would be also nice, if someone submits that patch to the bind people or maybe to your distribution's package maintainers in the first step.&lt;br /&gt;
&lt;br /&gt;
Get my [http://linux-vserver.derjohn.de/bind9-packages/bind9-capacheck_9.3.2-2_i386.deb vserver-guest-ready Debian bind9 package] for Debian Sid guests. Feedback welcome: aj@net-lab.net|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Postfix 2.1.5 (Debian Sarge)|Details=&lt;br /&gt;
:On a vserver with two interfaces (lo and eth0), and a postfix 2.1.5 listening on lo, postfix can't send emails : &amp;quot;Invalid argument&amp;quot;... Setting smtp_bind_address (http://www.postfix.org/postconf.5.html#smtp_bind_address) to the external address solves the issue.|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Zimbra Mail|Details=&lt;br /&gt;
Zimbra is many applications (including Postfix and MySQL and OpenLDAP and more) which try to take over the interfaces, and depend a lot on binding from 127.0.0.1 - it is not hard to change, but there is a couple of tricks - it is documented here - http://wiki.zimbra.com/index.php?title=Install_VServer|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=xine|Details=&lt;br /&gt;
xine won't start with no error message.&lt;br /&gt;
&amp;quot;xine --verbose&amp;quot; shows this.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ERROR: Could not determine network interfaces, you must use a interfaces config line&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This happens if you have the xineplug_inp_smb.so plugin. Delete it and everything is fine.|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=127.0.0.1 issues|Details=&lt;br /&gt;
I had problems with an application that wanted me to access it on 127.0.0.1 and AS 127.0.0.1 to be able to do its configuration. A simple tweak solved the problem. I renamed the default interface directory &amp;quot;0&amp;quot; in /etc/vservers/server/interfaces to &amp;quot;1&amp;quot; and created interface 0 as :&lt;br /&gt;
:dev lo&lt;br /&gt;
:ip 127.0.0.1&lt;br /&gt;
:mask 255.0.0.0&lt;br /&gt;
:name lo&lt;br /&gt;
&lt;br /&gt;
now interface &amp;quot;1&amp;quot; is the default created interface by the vserver build script with a local adress like 192.168.1.2 and interface &amp;quot;0&amp;quot; is the loopback. I can now telnet on 127.0.0.1 and it sees that im connecting to 127.0.0.1 from 127.0.0.1&lt;br /&gt;
&lt;br /&gt;
Compiling nagios-1.4 within a vserver requires this, otherwise it hangs during the configure with &amp;quot;checking for ICMP ping syntax...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font size=&amp;quot;+1&amp;quot; color=&amp;quot;red&amp;quot;&amp;gt; /!\ BIG FAT WARNING: DON'T DO THIS: THE VSERVER WILL HAVE ACCESS TO THE 127.0.0.1 OF THE HOST (quoting Bertl from irc) &amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Hula-project|Details=&lt;br /&gt;
Does not want to start :(|Signature=ProblematicPrograms}}&lt;/div&gt;</summary>
		<author><name>Gebura</name></author>	</entry>

	<entry>
		<id>http://linux-vserver.at/Frequently_Asked_Questions_scratch</id>
		<title>Frequently Asked Questions scratch</title>
		<link rel="alternate" type="text/html" href="http://linux-vserver.at/Frequently_Asked_Questions_scratch"/>
				<updated>2009-05-15T15:53:27Z</updated>
		
		<summary type="html">&lt;p&gt;Gebura: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== A. General ==&lt;br /&gt;
{{Question|Question=Credits||Details=&lt;br /&gt;
This FAQ includes information taken from the FAQs of Jacques GÃ©linas and Paul Sladen.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Are there other FAQs available?||Details=&lt;br /&gt;
Yes. There are other (mostly older) FAQ's available:&lt;br /&gt;
*[http://www.solucorp.qc.ca/howto.hc?projet=vserver Jacques GÃ©linas FAQ]&lt;br /&gt;
*[http://www.paul.sladen.org/vserver/faq/ Paul Sladen's vserver FAQ]&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Where can I find a overview of Linux-VServer?||Details=&lt;br /&gt;
*((short presentation))&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Linux-VServer Wikipedia Article]&lt;br /&gt;
*ProjectOverview (an introduction to the VServer Project, by ChuckD)&lt;br /&gt;
*[http://www.solucorp.qc.ca/miscprj/s_context.hc?prjstate=1&amp;amp;nodoc=0 Introduction by Jacques GÃ©linas]&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=How to verify that a setup is working properly?||Details=&lt;br /&gt;
*To verify that your setup works properly, there are some test scripts to check basic functionality.&lt;br /&gt;
 primarily [http://vserver.13thfloor.at/Stuff/SCRIPT/testme.sh testme.sh] and [http://vserver.13thfloor.at/Stuff/SCRIPT/testfs.sh testfs.sh] (see ((TestScripts)) for more details)|Signature=Linux-Vserver FAQ}}&lt;br /&gt;
&lt;br /&gt;
== B. Requirements ==&lt;br /&gt;
{{Question|Question=What hardware is supported by linux-vserver?||Details=&lt;br /&gt;
The following platforms are supported in the stable versions of linux-vserver.&lt;br /&gt;
*alpha&lt;br /&gt;
*i386 and higher (and compatible)&lt;br /&gt;
*ia32 / ia64&lt;br /&gt;
*mips / mips64&lt;br /&gt;
*hppa / hppa64&lt;br /&gt;
*ppc / ppc64&lt;br /&gt;
*sparc / sparc64&lt;br /&gt;
*s390 / s390x&lt;br /&gt;
*x86_64 (AMD64)&lt;br /&gt;
*uml/xen&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Which kernel versions are supported?||Details=&lt;br /&gt;
 recent 2.4 and 2.6 kernels (stable), recent 2.6 kernels (development). &lt;br /&gt;
 Some ancient versions of Linux-VServer are backported to 2.2.x kernels. You can find more information [http://vserver.digitalangel.com.au/ here].&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Can I run Linux-vserver on my favorite distribution?||Details=&lt;br /&gt;
Linux-VServer was originally developed on Red Hat/Mandriva, but it is rather distribution independent. It runs fine with other distributions (Debian, SuSE). Some distributions run a patched kernel, which can make it a bit harder to build a new kernel with Linux-VServer support|Signature=Linux-Vserver FAQ}}&lt;br /&gt;
&lt;br /&gt;
== C. Versions ==&lt;br /&gt;
{{Question|Question=What's the latest version of Linux-VServer?||Details=&lt;br /&gt;
You can find the [http://www.13thfloor.at/vserver/s_release latest stable 2.4 release] or [http://www.13thfloor.at/vserver/s_rel26 latest stable 2.6 release] as well as the [http://www.13thfloor.at/vserver/d_rel26 latest development release] at [http://www.13thfloor.at/vserver/ http://www.13thfloor.at/vserver/]&lt;br /&gt;
Check out the ((Release FAQ)) for information on releases and version numbering&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Where can I find prereleases and release candidates?||Details=&lt;br /&gt;
Check the [http://vserver.13thfloor.at/Experimental experimental area] for new patches.|Signature=Linux-Vserver FAQ}}&lt;br /&gt;
&lt;br /&gt;
== D. Tools (util-vserver and vserver) ==&lt;br /&gt;
{{Question|Question=What do I need them for?||Details=&lt;br /&gt;
These are the userspace tools for Linux-VServer. You need them to use the functionality of Linux-VServer.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=What's the difference between vserver and util-vserver?||Details=&lt;br /&gt;
The vserver package are the 'legacy utilities', written by Jacques GÃ©linas. &lt;br /&gt;
The util-vserver package is a reimplementation of these tools in C by Enrico Scholz, which follows the kernel development more closely. &lt;br /&gt;
util-vserver tools are currently considered the mainstream tools (You can't use both packages on the same machine.)&lt;br /&gt;
Both packages have their own version numbering. Don't let the version numbering confuse you.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Which version of the tools packages do I need? Do I have to upgrade?||Details=&lt;br /&gt;
*:It can be useful to have a recent version of the tools package installed on your box. It's a good idea to upgrade your tools when you upgrade your kernel. In the next list you find the versions you need to have at least, but it's a good idea to use more recent versions.&lt;br /&gt;
*linux-vserver 1.00&lt;br /&gt;
**vserver 0.26&lt;br /&gt;
**util-vserver 0.24&lt;br /&gt;
*linux-vserver 1.20&lt;br /&gt;
**vserver 0.28&lt;br /&gt;
**util-vserver 0.25&lt;br /&gt;
*linux-vserver 2.00&lt;br /&gt;
**util-vserver 0.30 or 0.30.209|Signature=Linux-Vserver FAQ}}&lt;br /&gt;
&lt;br /&gt;
== E. Download ==&lt;br /&gt;
{{Question|Question=Where can I dowload the latest version of:||Details=&lt;br /&gt;
*[http://www.13thfloor.at/vserver/ The kernel patch]&lt;br /&gt;
*[http://dns.solucorp.qc.ca/miscprj/s_context.hc?prjstate=1&amp;amp;nodoc=1 vserver]&lt;br /&gt;
*[http://savannah.nongnu.org/files/?group=util-vserver util-vserver]&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Distribution specific packages||Details=&lt;br /&gt;
*Red Hat&lt;br /&gt;
**[http://dns.solucorp.qc.ca/miscprj/s_context.hc?prjstate=1&amp;amp;nodoc=1 vserver]&lt;br /&gt;
*Mandrake&lt;br /&gt;
**[http://www.13thfloor.at/vserver/s_release/v1.00/ vserver]&lt;br /&gt;
*Debian&lt;br /&gt;
**[http://packages.debian.org/cgi-bin/search_packages.pl?keywords=vserver&amp;amp;searchon=names&amp;amp;subword=1&amp;amp;version=all&amp;amp;release=all vserver] - All Linux-VServer-related Debian-packages (Probably slow, +100 results).&lt;br /&gt;
**[http://packages.debian.org/cgi-bin/search_packages.pl?keywords=linux-image-2.6-vserver&amp;amp;searchon=names&amp;amp;subword=1&amp;amp;version=all&amp;amp;release=all Official precompiled kernels] - These are the official Debian kernels compiled with Linux-VServer-support.&lt;br /&gt;
**[http://packages.debian.org/cgi-bin/search_packages.pl?keywords=vserver-debiantools&amp;amp;searchon=names&amp;amp;subword=1&amp;amp;version=all&amp;amp;release=all vserver-debiantools] - These scripts install Debian straight off the web from Debian.org's world-wide network of mirrors.&lt;br /&gt;
*Gentoo&lt;br /&gt;
**[http://dev.croup.de/proj/gentoo-vps/wiki/VserverHowto vserver]|Signature=Linux-Vserver FAQ}}&lt;br /&gt;
&lt;br /&gt;
== F. Network Usage? ==&lt;br /&gt;
{{Question|Question=Is IPv6 supported?||Details=&lt;br /&gt;
At this moment, only IPv4 (the current most frequently used standard) is supported.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Can I put my vservers in different networks?||Details=&lt;br /&gt;
Yes you can. You have to bind your vserver to a interface on the host machine, but you can choose the interface in the configuration file of your vserver (in /etc/vservers/SERVER.conf). Make sure your host server does have an interface in the network you need on your vserver.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Is it possible for a vserver to have a other default gateway than the host machine does use?||Details=&lt;br /&gt;
Yes. Use iproute2 to set the default gateway.&lt;br /&gt;
You can find more information on routing in linux-vserver in [http://archives.linux-vserver.org/200311/0470.html this posting] on the mailinglist.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Can I use more than one IP address in a vserver||Details=&lt;br /&gt;
Yes you can. Edit the configuration file of the vserver (/etc/vservers/SERVER.conf).&lt;br /&gt;
In case you want to use example IP addresses on one interface&lt;br /&gt;
IPROOT=&amp;quot;10.1.2.3 10.1.2.12&amp;quot;&lt;br /&gt;
IPROOTDEV=&amp;quot;eth0&amp;quot;&lt;br /&gt;
In case you want to use 2 or more interfaces&lt;br /&gt;
IPROOT=&amp;quot;eth0:10.1.2.3 eth1:10.1.2.12&amp;quot;&lt;br /&gt;
IPROOTDEV=&amp;quot;&amp;quot;&lt;br /&gt;
In case you want to use IP-number in different subnets&lt;br /&gt;
IPROOT=&amp;quot;eth0:10.1.2.3/255.255.255.0 eth0:10.1.3.12/255.255.0.0&amp;quot;&lt;br /&gt;
IPROOTDEV=&amp;quot;&amp;quot;&lt;br /&gt;
If you are using vserver 2.0+ you have to create subdirectories in /etc/vserver/&amp;lt;vserver-name&amp;gt;/interfaces/ &lt;br /&gt;
for each IP you want to use, i.e.&lt;br /&gt;
/etc/vserver/&amp;lt;vserver-name&amp;gt;/interfaces/0&lt;br /&gt;
/etc/vserver/&amp;lt;vserver-name&amp;gt;/interfaces/1&lt;br /&gt;
These subdirectories have to contain files with the options you want to set. See the [[VServerConfiguration]] or [http://www.nongnu.org/util-vserver/doc/conf/configuration.html Flower page] for more info&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Is it possible to use the real device (eth0, eth1) instead of the device alias created by vserver?||Details=&lt;br /&gt;
Yes. Set up the IP aliases yourself on the host server&lt;br /&gt;
*Set IPROOT= to those IPs&lt;br /&gt;
*Unset IPROOTDEV so the vserver script won't try to setup the IP aliases.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Can I modify the behavior of my vservers?||Details=&lt;br /&gt;
There are a number of capabilities and flags that you can modify listed [http://linux-vserver.org/Caps+and+Flags here] (and [http://savannah.nongnu.org/cgi-bin/viewcvs/util-vserver/util-vserver/lib/cflags-v13.c?rev=HEAD here (cflags-v13.c)]).&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Were can I find more information on networking in Linux-VServer?||Details=&lt;br /&gt;
You can find more information on the internals of networking in Linux-VServer [http://vserver.13thfloor.at/Stuff/VServer-IP-Setup-0.1.txt here].|Signature=Linux-Vserver FAQ}}&lt;br /&gt;
&lt;br /&gt;
== G. Software compatibility ==&lt;br /&gt;
{{Question|Question=Bind does not work in a vserver||Details=&lt;br /&gt;
* capset failed&lt;br /&gt;
* The bind package expect to have the capability CAP_SYS_RESOURCE. &lt;br /&gt;
 It expects this because it was compiled this way on Linux and to increase its ulimit. &lt;br /&gt;
* By default, a vserver does not have this capability for a good reason, you may have a    look at 'man capabilities' to see how much control that capability allows. &lt;br /&gt;
* A vserver starts with some ulimit values and can only reduce them, not enlarge them.&lt;br /&gt;
* If you know what you are doing, you can give the capability to the vserver running bind.&lt;br /&gt;
* A securer solution is to compile bind without that requirement by specifying './configure --disable-linux-caps' &lt;br /&gt;
 It looks like you only can run bind as root once you compile bind with this option, but this should be fine inside a vserver.&lt;br /&gt;
* bind does not respond to queries&lt;br /&gt;
* Bind seems to have problems with a query socket check. Bind believes the query is comming on a non-query socket, and doesn't answer the request.&lt;br /&gt;
* putting &amp;quot;query-source address YOUR_VSERVER_IP;&amp;quot; in your named.conf solves this problem.&lt;br /&gt;
&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Is DHCP possible in a vserver?||Details=&lt;br /&gt;
It's possible to run a DHCP server inside a vserver, but it required a CAP_NET_RAW capability. &lt;br /&gt;
The solution for 2.6 kernel with new-style config is to add CAP_NET_RAW entry in the /etc/vserver/&amp;lt;vserver-name&amp;gt;/bcapabilities file, and it might be unnecessary to add 255.255.255.255 into bcast file, please read [[VServerConfiguration]] or [http://www.nongnu.org/util-vserver/doc/conf/configuration.html The Great Flower Page] for more details. If you are still use the legacy config, please read the answer below.&lt;br /&gt;
It's possible to run a DHCP server inside a vserver, but there is a catch. The set_ipv4root assigns one IP and one broadcast address to a vserver. UDP service listening to 0.0.0.0 (bind any) in a vserver are indeed listening to the vserver IP and vserver broadcast. &lt;br /&gt;
This is all they will get. This is fine for most services. &lt;br /&gt;
Unfortunately, dhcpd is receiving special broadcasts. Its clients are unaware of their IP number, so they are using special broadcast 255.255.255.255 address. &lt;br /&gt;
A vserver generally runs with the broadcast address of the network device (the one used to setup the IP alias). This network device has a broadcast address which is never 255.255.255.255. Those special broadcast are not sent to the vserver. The solution is to set the IPROOTBCAST entry in the vserver configuration file like this  IPROOTBCAST=255.255.255.255&lt;br /&gt;
Restart your vserver and dhcpd will work. There is a catch (at least with 2.4.18ctx-9). If you are using other services in the save vserver, also relying on broadcast for proper operation (samba for one), they won't operate properly. &lt;br /&gt;
One solution would be to enhance the semantics a little: A vserver would listen for its IP address, its broadcast address and also for 255.255.255.255. &lt;br /&gt;
The dhcpd case is probably very specific though. &lt;br /&gt;
&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=NFS-server||Details=&lt;br /&gt;
It's not posible to run a NFS-kernel server inside a vserver, to work securely this would need a lot of work. &lt;br /&gt;
You can try to run the NFS userspace server, the traditional Linux user space NFS server and UNFS3 are both reported to work.&lt;br /&gt;
take a look at ((NFS and portmap)) if you have problems with your portmap&lt;br /&gt;
&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Run Level Based Distributions as Ververs (Red Hat and such ....)||Details=&lt;br /&gt;
 If you see errors after the command vserver &amp;lt;name&amp;gt; stop like these:&lt;br /&gt;
&lt;br /&gt;
 Syncing hardware clock to system time hwclock is unable to get I/O port access:  the iopl(3) call failed FAILED]&lt;br /&gt;
 Turning off swap:  Not superuser.    [FAILED]&lt;br /&gt;
 Turning off quotas:  quotaoff: Can't stat() mounted device /dev/hdv1: No such file or directory&lt;br /&gt;
 Unmounting file systems:  umount2: No such file or directory umount: /vservers: not found&lt;br /&gt;
&lt;br /&gt;
 Then look for S* links in /etc/rc6.d/ and remove the one responsible for the errors. In RH9 it is called S01reboot&lt;br /&gt;
 A 'normal' server does some stuff on shutdown, like saving the time to the hwclock, or storing random pool data and finally invokes the reboot. Some of those actions are just not allowed in a vserver.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Vservers and X Windows||Details=&lt;br /&gt;
 Please see the ((Vservers and X)) page for information about this.&lt;br /&gt;
&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=sshd with X11-Forwarding in a vserver||Details=&lt;br /&gt;
 add ```'X11UseLocalhost no'``` to your sshd_config&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=See also: [ProblematicPrograms]||Details=&lt;br /&gt;
== H. Help ==&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Where can I find more information on the Linux-VServer project?||Details=&lt;br /&gt;
First have a look at the ((documentation)) section of the website. In case you can't find the answer here, have a look at the mailinglist archives. If this doesn't help jou, there is still a mailinglist and a IRC channel were you can ask for help.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Does the Linux-VServer project have a mailing list?||Details=&lt;br /&gt;
Yes. You can subscribe [http://list.linux-vserver.org/mailman/listinfo/vserver here]. Archives are located [http://list.linux-vserver.org/archive/vserver/ here].&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Is there a IRC channel ||Details=&lt;br /&gt;
Yes, join #vserver on irc.oftc.net.|Signature=Linux-Vserver FAQ}}&lt;br /&gt;
&lt;br /&gt;
== I. Issues ==&lt;br /&gt;
{{Question|Question=When starting or entering a vserver I get &amp;quot;''Error: /proc must be mounted''&amp;quot;. 'vserver-stat' and 'vps' are failing with &amp;quot;''open(&amp;quot;/proc/uptime&amp;quot;): No such file or directory''&amp;quot;.  Sometimes, other files in /proc are mentioned. What can I do?||Details=&lt;br /&gt;
Make sure that in devel and experimental the required proc entries are visible inside a vserver. With alpha utilities, execute the ||Details=vprocunhide||Details= script. See ((Proc-Security)) also.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Inside a vserver I can still use mknod to create devices, even without CAP_MKNOD capability. What's wrong? (this probably applies to all other capabilities but that was not tested)||Details=&lt;br /&gt;
This is probably a problem in your kernel configuration. If you include &amp;quot;Enable different security models&amp;quot; (CONFIG_SECURITY), then make sure to also include &amp;quot;Default Linux Capabilities&amp;quot; (CONFIG_SECURITY_CAPABILITIES) or compile it as a module. In this latter case you must insert the 'capability' module into the kernel. This is for example true for current (2.6.8.1) debian kernel configurations.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=After stopping/restarting a vserver my network is gone! What the hell?||Details=&lt;br /&gt;
 See above.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Only root can access any files in the vserver||Details=&lt;br /&gt;
 Check the permissions of the vserver's / directory. The 2.4 branch's chroot-escape blocker (chmod 0000 and chattr +t) is meant to be applied to the directory containing the vservers (for example /vservers) not the vservers' root directories themselves. If you revoked all permissions for a vserver's root directory, re-grant them with &amp;quot;chmod 0755 /path/to/vserver-root&amp;quot;.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=&amp;quot;daemon() failed: Success&amp;quot; - What? Succesfully failing?||Details=&lt;br /&gt;
 Not really vserver related but here's the answer: Somebody replaced your /dev/null with a regular file, create a real /dev/null and it will start working again. We got no idea why the error message happens to be so funny(?).&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=When I start a vserver, &amp;quot;FATAL: kernel too old&amp;quot; message appears and vserver can't be started||Details=&lt;br /&gt;
Edit your /etc/vservers/&amp;lt;vsname&amp;gt;/uts/release and define a value greater than kernel version&lt;br /&gt;
example, if you have a kernel &amp;quot;2.6.11&amp;quot;, set &amp;quot;2005&amp;quot; for example  :-)&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=I switched from old to new configuration and now all my ip addresses are gone!||Details=&lt;br /&gt;
They are not, ifconfig just doesn't show them. The new tools use 'iproute' instead of 'ifconfig' which allows you to use multiple interface addresses with the same label. In such cases, ifconfig shows only the first address for each label, which probably isn't available in the vserver. Unless you specify a name for an ip address, it will be given the interface name as label, eg. eth0, and ifconfig breaks. You can assign names to your interface addresses in the vserver configuration, see [[VServerConfiguration]] or [http://www.nongnu.org/util-vserver/doc/conf/configuration.html The Great Flower Page] for details.&lt;br /&gt;
Earlier, we said that the interface addresses were &amp;quot;nameless&amp;quot;, this was wrong. As said above, the addresses in question actually all have the same name/label. Knowing this we could actually virtualize the ioctl interface which ifconfig uses in a meaningful way, making ifconfig show the vserver's ip addresses as expected, even when it shares its label with other ip addresses (of course only if there aren't multiple ip addresses in the same vserver that share the same label, but that's an ifconfig limitation, not a vserver bug). The [http://www.13thfloor.at/~doener/vserver/patches/diff-2.6.16.5-vs2.0.2-rc16-devinet_ioctl.diff patch] should apply to most Linux-VServer versions for kernel 2.6 and will probably be included in future versions.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=When I enter/ssh into a vserver I can see all of the interfaces and interface aliases with ifconfig.||Details=&lt;br /&gt;
I experienced this after upgrading from a 2.4 to 2.6 kernel with vs-2.0 patch using legacy-method .conf files.  Upgrading from legacy-method to the new one (see [http://linux-vserver.org/Legacy-To-Newstyle-Config Converting From Legacy to New]) caused the problem to go away.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=I keep my vserver roots on their own devices.  I can unmount them but the device (like drbd or lvm) remains in use until all of my vservers are killed off (&amp;quot;Someone has opened the device for RW access&amp;quot;).||Details=&lt;br /&gt;
 When you mount something it is recorded in the current namespace.  When you start a vserver it makes copy of the namespace.  You can then unmount in the original  namespace without any problems, however the device is still in use.  This is because the device is still mounted in the new namespace.  You can do something like this: &amp;quot;vnamespace -e runningVserver umount /mnt/point&amp;quot;. After this you should be able to remove the device (drbdadm secondary /dev/drbd0 or whatever).&lt;br /&gt;
More information:&lt;br /&gt;
*[http://linux-vserver.org/Namespaces About Namespaces]&lt;br /&gt;
*[http://linux-vserver.org/advanced+DRBD+mount+issues DRBD Mount Issues]&lt;br /&gt;
*[http://list.linux-vserver.org/archive/vserver/msg11444.html This thread], which deals with the same issue.&lt;br /&gt;
*[http://list.linux-vserver.org/archive/vserver/msg10415.html This thread], terse but helpful.&lt;br /&gt;
*[http://www.gossamer-threads.com/lists/drbd/users/9282?page=last And this], a thread of related stuff.&lt;br /&gt;
WARNING: if you use the kernel cleanup feature then make sure you know what you are doing.  I didn't, it was ugly.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=When I stop a vserver its network alias does not go away, I am getting 'RTNETLINK answers: Cannot assign requested address||Details='&lt;br /&gt;
Try running 'ip addr' and see if the interface names are being truncated (note: I came across a thread that seems to suggest that this might happen even if the interface name is not being truncated?).  The function that kills the interface specifies its name, if it is truncated then 'ip' will not be able to find the interface.&lt;br /&gt;
Another cause might be that the IP was added (or already present at startup) with a different netmask, and therfore can not be removed properly&lt;br /&gt;
My solution to this is very, very gross.  Open up your vserver.functions file and find the disableInterfaces function.  If you change&lt;br /&gt;
IP_ADDR)            $_IP addr  del &amp;quot;$@&amp;quot;;;&lt;br /&gt;
to&lt;br /&gt;
IP_ADDR)            $(echo $_IP addr  del &amp;quot;$@&amp;quot;|sed 's/broadcast + label [^[:space:]]\+//');;&lt;br /&gt;
then ip will try to delete the interface by its IP alone.&lt;br /&gt;
Anyone with a better solution is strongly encouraged to modify this entry.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Why does the vserver run on a BSD fs (ufs) ?!||Details=&lt;br /&gt;
* I see something like: /dev/hdv1 / ufs defaults 0 0&lt;br /&gt;
The ufs part is correct and it is so to trick the quota tools to not try to lowlevel access the fs. The entry is FAKE anyway, ufs just solved this quota userland issue nicely (more or less).&lt;br /&gt;
* For details see: [http://list.linux-vserver.org/archive/vserver/msg09133.html] and [http://archives.linux-vserver.org/200401/0232.html]&lt;br /&gt;
* When I issue a ping it returns:&lt;br /&gt;
 [root@VServerGuest /]# ping 123.123.123.123&lt;br /&gt;
 connect: Invalid argument&lt;br /&gt;
* When I issue a DNS lookup it returns:&lt;br /&gt;
 [root@VServerGuest /]# host www.yahoo.ca&lt;br /&gt;
 socket.c: internal_send: 222.222.222.222#53: Invalid argument&lt;br /&gt;
 ;; connection timed out; no servers could be reached&lt;br /&gt;
* When I try to run vyum it returns:&lt;br /&gt;
 [root@VServerGuest /]# vyum VServerGuest -- check-update&lt;br /&gt;
 Cannot find a valid baseurl for repo: core&lt;br /&gt;
 Error: Cannot find a valid baseurl for repo: core&lt;br /&gt;
 Make sure that you have either a Public IP setup on the VServer Guest, or that you have a proper SNAT/DNAT rules setup on your VServer Host. After that, restart the vserver guest with the verbose option to see what your ipv4root is set to:&lt;br /&gt;
 [root@VServerGuest  /]# vserver -v VServerGuest start&lt;br /&gt;
 ipv4root is now 127.0.0.10 111.111.111.111&lt;br /&gt;
 New security context is 49156&lt;br /&gt;
 You must make sure the order of the interfaces are correct. The very first Interface (decided upon by alphabetical order of the interface directory name) for the VServer is the default IP used for all network connections. This must be either a public IP or an IP that has been D/SNAT'd.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== G. Problematic Programs ==&lt;br /&gt;
Some programs do things that might work on a normal host but not inside a V-Server. This is often not a fault of V-Server itself, the programs are doing automagic things which fail and no proper error handling is done. Also sometimes the actions need special rights which are not permitted by default in V-Servers. Allowing CAPs is often not necessary since those special CAPs are only required once (e.g. when the program initializes the directories/settings/whatever).&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=OpenGroupware Apache Module&lt;br /&gt;
||Details=If your V-Server doesn't have access to localhost, then the connection to the !OpenGroupware server will fail with a &amp;quot;Internal Server Error&amp;quot;.&lt;br /&gt;
The apache module for !OpenGroupware called mod_ngobjweb uses a hardcoded &amp;quot;127.0.0.1&amp;quot; IP address in the source (handler.c line 339), this line you need to change to the IP address that should be used (the IP of the V-Server that runs the OpenGroupware server)|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Hylafax (with CAPI)|Details=&lt;br /&gt;
:If you want to run hylafax in a V-Server, you will get a CAP and device problem which can be easily solved. First you need your capi20 devices in your V-Server, which can't be created by ./MAKEDEV (requires special CAPs) so copy the devices into the V-Server, like this (command run on the host):&lt;br /&gt;
:cp -aR /dev/capi* /vservers/your_vserver/dev&lt;br /&gt;
:Now hylafax can access your CAPI ISDN card but will exit after a few seconds, the problem is it tries to create a /dev/null nod in the hylafax chroot. This fails because of missing  CAPs, so lets help hylafax again with copying the nod into the hylafax chroot in the V-Server. Like this (command run on the host):&lt;br /&gt;
:cp -aR /dev/null /vservers/your_vserver/var/spool/hylafax/dev&lt;br /&gt;
:Allright, now hylafax should have CAPI access and run properly.|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Links inside screen inside a V-Server|Details=&lt;br /&gt;
:Don't know why, but links crashes systematically being inside a screen session inside a V-Server started outside a V-Server. (please elaborate!)|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=screen inside a VServer|Details=&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[root@ge root]# vserver zoe enter&lt;br /&gt;
&lt;br /&gt;
zoe:/# screen&lt;br /&gt;
Cannot open your terminal '/dev/pts/5' - please check.&lt;br /&gt;
&lt;br /&gt;
zoe:/# strace screen &lt;br /&gt;
...&lt;br /&gt;
stat64(&amp;quot;/dev/pts/5&amp;quot;, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 5), ...}) = 0&lt;br /&gt;
open(&amp;quot;/dev/pts/5&amp;quot;, O_RDWR|O_NONBLOCK)   = -1 EACCES (Permission denied)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:is neither a bug nor an issue with screen, it just shows that a vserver context is not allowed to mess with host terminals. either use ssh/telnet to reach the 'guest' or start the screen session before you do the 'enter' (i.e. on the host)|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=!OpenLDAP Startup|Details=&lt;br /&gt;
:slapd needs name resolution available in order to start up, otherwise it appears to hang. Make sure you have working DNS (or whatever) available to your vserver before starting one with slapd. This behavior is confirmed in my setup, no confirmation from others yet. My Setup: vservers all bind to an interface on a DMZ-like network segment, BIND runs on a vserver. slapd would hang at startup if the BIND vserver had not been started first.|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=rndc|Details=&lt;br /&gt;
:Bind's rndc has a hardcoded 127.0.0.1 somewhere so any command to rndc will fail with connection refused.&lt;br /&gt;
:You should have a reachable localhost address defined in /etc/hosts and then you can use rndc -s localhost command&lt;br /&gt;
:You can make a rndc.conf and set the default-server option, like that the '-s localhost' isn't necessary.|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Asterisk|Details=&lt;br /&gt;
:Since some version of Asterisk (at least since 1.0.2), it will not run anymore. On start it fails with: &amp;quot;Unable to set high priority&amp;quot;&lt;br /&gt;
:This can be solved by allowing CAP_SYS_NICE for that VServer.&lt;br /&gt;
:You can also not run Asterisk with the realtime priority :&lt;br /&gt;
:Just pass the '-p' command ligne argument to disable the read-time priority.&lt;br /&gt;
:.&lt;br /&gt;
:Good doc on setting up Asterisk devices in the vserver:&lt;br /&gt;
:http://www.telephreak.org/papers/vpa/|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Open/!FreeSwan|Details=&lt;br /&gt;
:Fails because of writing to /proc (requires patch)&lt;br /&gt;
:TODO: write me|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Samba|Details=&lt;br /&gt;
:Oplocks don't work as smbd insists on receiving break requests from 127.0.0.1 \\&lt;br /&gt;
Just patch source/smbd/oplock.c (commenting paranoid code)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
+++ oplock.c.orig       2005-02-14 14:27:51.000000000 +0200&lt;br /&gt;
--- oplock.c    2005-02-02 12:27:50.000000000 +0200&lt;br /&gt;
@@ -181,14 +181,12 @@&lt;br /&gt;
                return False;&lt;br /&gt;
        }&lt;br /&gt;
&lt;br /&gt;
+#if 0&lt;br /&gt;
     /* Validate message from address (must be localhost). */&lt;br /&gt;
        if(from.sin_addr.s_addr != htonl(INADDR_LOOPBACK)) {&lt;br /&gt;
                DEBUG(0,(&amp;quot;receive_local_message: invalid 'from' address \&lt;br /&gt;
 (was %lx should be 127.0.0.1)\n&amp;quot;, (long)from.sin_addr.s_addr));&lt;br /&gt;
                return False;&lt;br /&gt;
        }&lt;br /&gt;
+#endif&lt;br /&gt;
&lt;br /&gt;
        /* Setup the message header */&lt;br /&gt;
        SIVAL(buffer,OPBRK_CMD_LEN_OFFSET,msg_len);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
or if you don't want to patch the samba source code you can disable oplock in Samba and it will work too!&lt;br /&gt;
Just put the following in your smb.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
kernel oplocks = no&lt;br /&gt;
oplocks = no&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: The Vserver using Samba should also listen on the broadcast address. Thereby you will not be able to have two samba servers in the same net (on the same broadcast). |Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Samba from Debian 3.1|Details=&lt;br /&gt;
The samba deb in sarge (3.1) provided file sharing.  The only oddity observed is that the vserver guest running samba did not appear in a windows box's 'My Network Places'&lt;br /&gt;
    Use a WINS server. The SMB browsing protocol relies heavily on broadcasts on the local net, which are problematic with vservers. WINS resolution on the other hand is unicast and works flawlessly under vserver.|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Samba printer and file server with cups|Details=&lt;br /&gt;
:Samba runs correctly in a Mandriva (Mdk) 10.1 Vserver, (Apart from the above oplock problem ?).&lt;br /&gt;
: \\&lt;br /&gt;
First, edit your {{/etc/sysconfig/network}} file, and set {{networking}} to {{yes}} (This will solve problems for other services !):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cat /etc/sysconfig/network&lt;br /&gt;
NETWORKING=yes&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
Some more tweaking is needeed in {{/etc/smb.conf}}:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cat /etc/smb.conf&lt;br /&gt;
...&lt;br /&gt;
  # YOUR VSERVER IP/MASK HERE&lt;br /&gt;
  interfaces = xxx.xxx.xxx.xxx/mask&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
That's all !!!&lt;br /&gt;
: \\&lt;br /&gt;
But if you're using Samba + Cups to provide printing for Windows clients, AND if you want to use the {{Point and Print}} feature, there is more: In the {{[printers]}} section of your {{smb.conf}}, you should have the {{use client drivers}} directive set to {{no}}, or the driver upload procedure will fail !&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cat /etc/smb.conf&lt;br /&gt;
...&lt;br /&gt;
  use client driver = no&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
So, here is a full {{smb.conf}} file:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cat /etc/samba/smb.conf | awk '!/^$/ &amp;amp;&amp;amp; !/^\s*(#|;)/ {print $0}'&lt;br /&gt;
[global]&lt;br /&gt;
   workgroup = MYDOMAIN&lt;br /&gt;
   netbios name = MYHOSTNAME&lt;br /&gt;
   server string = MYCOMMENT (Samba %v)&lt;br /&gt;
   printcap name = cups&lt;br /&gt;
   load printers = yes&lt;br /&gt;
   printing = cups&lt;br /&gt;
   printer admin = @adm&lt;br /&gt;
   log file = /var/log/samba/log.%m&lt;br /&gt;
   max log size = 50&lt;br /&gt;
   map to guest = bad user&lt;br /&gt;
   security = domain&lt;br /&gt;
   password server = *&lt;br /&gt;
   encrypt passwords = yes&lt;br /&gt;
   smb passwd file = /etc/samba/smbpasswd&lt;br /&gt;
   username map = /etc/samba/smbusers&lt;br /&gt;
   idmap uid = 10000-20000&lt;br /&gt;
   idmap gid = 10000-20000&lt;br /&gt;
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192&lt;br /&gt;
   interfaces = 127. MYVSERVERIP/MYVSERVERMASK&lt;br /&gt;
   wins server = MYWINSIP&lt;br /&gt;
   dns proxy = no&lt;br /&gt;
   # for french users:&lt;br /&gt;
   dos charset = 850&lt;br /&gt;
   unix charset = ISO8859-1&lt;br /&gt;
[homes]&lt;br /&gt;
   comment = Home Directories&lt;br /&gt;
   browseable = no&lt;br /&gt;
   writable = no&lt;br /&gt;
[printers]&lt;br /&gt;
   comment = All Printers&lt;br /&gt;
   path = /var/spool/samba&lt;br /&gt;
   browseable = no&lt;br /&gt;
   guest ok = no&lt;br /&gt;
   writable = no&lt;br /&gt;
   printable = yes&lt;br /&gt;
   create mode = 0700&lt;br /&gt;
   print command = lpr-cups -P %p -o raw %s -r   # using client side printer drivers.&lt;br /&gt;
   use client driver = no&lt;br /&gt;
[print$]&lt;br /&gt;
   path = /var/lib/samba/printers&lt;br /&gt;
   browseable = yes&lt;br /&gt;
   write list = @adm root&lt;br /&gt;
   guest ok = yes&lt;br /&gt;
   inherit permissions = yes&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
...And a working smbusers:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Unix_name = SMB_name1 SMB_name2 ...&lt;br /&gt;
root = administrator MYDOMAIN\administrator&lt;br /&gt;
nobody = guest pcguest smbguest&lt;br /&gt;
&amp;lt;/pre&amp;gt;|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Cups print server|Details=&lt;br /&gt;
: Symptoms: The Cups init script exits with:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Starting CUPS printing system: cupsd: Child exited with status 98!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
And the logs ({{/var/log/cups/error_log}}) show:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
E [date:hour...] StartListening: Unable to bind socket for address 0.0.0.0:631 - Address already in use.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:...Or something like this.&lt;br /&gt;
: \\&lt;br /&gt;
With a correct &amp;quot;cupsd.conf file&amp;quot; (Tested version 1.1.21-0.rc1.7mdk, on Mandrake 10.1 - Now Mandriva), it works; All we need is to remove references to {{127.0.0.1}} or {{localhost}} from the file, as well as correctly unsetting the {{Listen}} directive:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
LogLevel info&lt;br /&gt;
TempDir /var/spool/cups/tmp&lt;br /&gt;
# No 'Listen' directive !&lt;br /&gt;
Port 631&lt;br /&gt;
BrowseAddress @LOCAL&lt;br /&gt;
BrowseDeny All&lt;br /&gt;
BrowseAllow @LOCAL&lt;br /&gt;
BrowseOrder deny,allow&lt;br /&gt;
&amp;lt;Location /&amp;gt;&lt;br /&gt;
  Order Deny,Allow&lt;br /&gt;
  Deny From All&lt;br /&gt;
  Allow From @LOCAL&lt;br /&gt;
&amp;lt;/Location&amp;gt;&lt;br /&gt;
&amp;lt;Location /admin&amp;gt;&lt;br /&gt;
  AuthType Basic&lt;br /&gt;
  AuthClass System&lt;br /&gt;
  Order Deny,Allow&lt;br /&gt;
  Deny From All&lt;br /&gt;
  Allow From YOUR_NETWORK_ADDRESS/YOUR_NETMASK # Example: 172.16.0.0/24&lt;br /&gt;
# Or&lt;br /&gt;
  Allow From @LOCAL&lt;br /&gt;
&amp;lt;/Location&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
Then you'll need to modify the {{/etc/init.d/cups}} script, to comment any section referring to {{127.0.0.1}} lookup and configuration. This section exists at least on Mandrake 10.1, and is pretty long (Lines 35 to 55 and/or 79), and additionnaly four &amp;quot;{{else...if}}&amp;quot; lines must be commented far below (Lines 161 to 164) !&lt;br /&gt;
: \\&lt;br /&gt;
Remember to stop any Cupsd running in the host server, or to start it ''via'' a wrapper {{/etc/init.d/v_cups}} script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
# chkconfig: 2345 15 60&lt;br /&gt;
# description: Wrapper to start cups bound to a single IP&lt;br /&gt;
USR_LIB_VSERVER=/usr/lib/util-vserver&lt;br /&gt;
exec $USR_LIB_VSERVER/vsysvwrapper cups $*&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
Do not forget to give a password to the root user, if you want to ba able to manage your printers from the web interface (http://yourcupsvserver:631)!&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# passwd root&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
If you use Mandriva 10.1 (And maybe some other distros), you&amp;amp;#8217;ll need to add the printers drivers for Cups, and reload it:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# urpmi --root /vservers/yourcupsvserver/ cups-drivers&lt;br /&gt;
# /etc/init.d/cups reload&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
&amp;amp;#8230;It added 67 Mb of packages for me.&lt;br /&gt;
: \\&lt;br /&gt;
Then use {{/etc/init.d/v_cups (re)start}} to launch Cups on the host server.&lt;br /&gt;
:You will now be able to make Cupsd start in the vserver , but more tweaking on the ACLs may be necessary to avoid authentification problems...|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Bind9 on Debian GNU/Linux Woody (3.0) and Sarge (3.1)|Details=&lt;br /&gt;
:named provided by the bind9 binary packages fails to start because it is compiled with CAPs option.&lt;br /&gt;
: \\&lt;br /&gt;
The debian way is to build** your own package without CAPs:&lt;br /&gt;
: \\&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
su -&lt;br /&gt;
cd /usr/src&lt;br /&gt;
apt-get build-dep bind9&lt;br /&gt;
apt-get source bind9&lt;br /&gt;
cd bind9-x.x.x&lt;br /&gt;
vi debian/rules&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
Insert the following line after &amp;quot;./configure --prefix=/usr \&amp;quot;:&lt;br /&gt;
: \\&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--disable-linux-caps \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
On a NPTL-enabled system you alse have to replace \\&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--enable-threads \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: with \\&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--disable-threads \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: or bind might refuse to run with an other user than root.&lt;br /&gt;
: \\&lt;br /&gt;
Save the file and go ahead with compiling/installing:&lt;br /&gt;
: \\&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
dpkg-buildpackage&lt;br /&gt;
dpkg -i ../bind9-x.x.x.deb&lt;br /&gt;
echo &amp;quot;bind9 hold&amp;quot; | dpkg --set-selections&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
The last line is to set the package &amp;quot;on hold&amp;quot;, so it is not touched by the update process. you have to take care of security holes by yourself now!&lt;br /&gt;
: \\&lt;br /&gt;
The Xs in &amp;quot;bind9-x.x.x&amp;quot; denote the version number of bind9.&lt;br /&gt;
: \\&lt;br /&gt;
&lt;br /&gt;
** Alternatively you can allow the CAP_SYS_RESOURCE for that V-Server.&lt;br /&gt;
&lt;br /&gt;
The best way would be to fix bind, which is somehow broken when it comes to capabilities.&lt;br /&gt;
Daniel Hokka Zakrisson repaired it. His patch is to be found here:&lt;br /&gt;
&lt;br /&gt;
[http://daniel.hozac.com/stuff/bind-9.3.2-caps-when-available.patch bind-9.3.2-caps-when-available.patch]&lt;br /&gt;
So, if you recompile, it would be the cleanest way to apply that patch. Thanks Daniel!&lt;br /&gt;
&lt;br /&gt;
It would be also nice, if someone submits that patch to the bind people or maybe to your distribution's package maintainers in the first step.&lt;br /&gt;
&lt;br /&gt;
Get my [http://linux-vserver.derjohn.de/bind9-packages/bind9-capacheck_9.3.2-2_i386.deb vserver-guest-ready Debian bind9 package] for Debian Sid guests. Feedback welcome: aj@net-lab.net|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Postfix 2.1.5 (Debian Sarge)|Details=&lt;br /&gt;
:On a vserver with two interfaces (lo and eth0), and a postfix 2.1.5 listening on lo, postfix can't send emails : &amp;quot;Invalid argument&amp;quot;... Setting smtp_bind_address (http://www.postfix.org/postconf.5.html#smtp_bind_address) to the external address solves the issue.|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Zimbra Mail|Details=&lt;br /&gt;
Zimbra is many applications (including Postfix and MySQL and OpenLDAP and more) which try to take over the interfaces, and depend a lot on binding from 127.0.0.1 - it is not hard to change, but there is a couple of tricks - it is documented here - http://wiki.zimbra.com/index.php?title=Install_VServer|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=xine|Details=&lt;br /&gt;
xine won't start with no error message.&lt;br /&gt;
&amp;quot;xine --verbose&amp;quot; shows this.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ERROR: Could not determine network interfaces, you must use a interfaces config line&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This happens if you have the xineplug_inp_smb.so plugin. Delete it and everything is fine.|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=127.0.0.1 issues|Details=&lt;br /&gt;
I had problems with an application that wanted me to access it on 127.0.0.1 and AS 127.0.0.1 to be able to do its configuration. A simple tweak solved the problem. I renamed the default interface directory &amp;quot;0&amp;quot; in /etc/vservers/server/interfaces to &amp;quot;1&amp;quot; and created interface 0 as :&lt;br /&gt;
:dev lo&lt;br /&gt;
:ip 127.0.0.1&lt;br /&gt;
:mask 255.0.0.0&lt;br /&gt;
:name lo&lt;br /&gt;
&lt;br /&gt;
now interface &amp;quot;1&amp;quot; is the default created interface by the vserver build script with a local adress like 192.168.1.2 and interface &amp;quot;0&amp;quot; is the loopback. I can now telnet on 127.0.0.1 and it sees that im connecting to 127.0.0.1 from 127.0.0.1&lt;br /&gt;
&lt;br /&gt;
Compiling nagios-1.4 within a vserver requires this, otherwise it hangs during the configure with &amp;quot;checking for ICMP ping syntax...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font size=&amp;quot;+1&amp;quot; color=&amp;quot;red&amp;quot;&amp;gt; /!\ BIG FAT WARNING: DON'T DO THIS IT WILL ADD VSERVER ACCESS TO THE 127.0.0.1 OF THE HOST (quoting Bertl from irc) &amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Hula-project|Details=&lt;br /&gt;
Does not want to start :(|Signature=ProblematicPrograms}}&lt;/div&gt;</summary>
		<author><name>Gebura</name></author>	</entry>

	<entry>
		<id>http://linux-vserver.at/Frequently_Asked_Questions_scratch</id>
		<title>Frequently Asked Questions scratch</title>
		<link rel="alternate" type="text/html" href="http://linux-vserver.at/Frequently_Asked_Questions_scratch"/>
				<updated>2009-05-15T15:52:15Z</updated>
		
		<summary type="html">&lt;p&gt;Gebura: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== A. General ==&lt;br /&gt;
{{Question|Question=Credits||Details=&lt;br /&gt;
This FAQ includes information taken from the FAQs of Jacques GÃ©linas and Paul Sladen.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Are there other FAQs available?||Details=&lt;br /&gt;
Yes. There are other (mostly older) FAQ's available:&lt;br /&gt;
*[http://www.solucorp.qc.ca/howto.hc?projet=vserver Jacques GÃ©linas FAQ]&lt;br /&gt;
*[http://www.paul.sladen.org/vserver/faq/ Paul Sladen's vserver FAQ]&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Where can I find a overview of Linux-VServer?||Details=&lt;br /&gt;
*((short presentation))&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Linux-VServer Wikipedia Article]&lt;br /&gt;
*ProjectOverview (an introduction to the VServer Project, by ChuckD)&lt;br /&gt;
*[http://www.solucorp.qc.ca/miscprj/s_context.hc?prjstate=1&amp;amp;nodoc=0 Introduction by Jacques GÃ©linas]&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=How to verify that a setup is working properly?||Details=&lt;br /&gt;
*To verify that your setup works properly, there are some test scripts to check basic functionality.&lt;br /&gt;
 primarily [http://vserver.13thfloor.at/Stuff/SCRIPT/testme.sh testme.sh] and [http://vserver.13thfloor.at/Stuff/SCRIPT/testfs.sh testfs.sh] (see ((TestScripts)) for more details)|Signature=Linux-Vserver FAQ}}&lt;br /&gt;
&lt;br /&gt;
== B. Requirements ==&lt;br /&gt;
{{Question|Question=What hardware is supported by linux-vserver?||Details=&lt;br /&gt;
The following platforms are supported in the stable versions of linux-vserver.&lt;br /&gt;
*alpha&lt;br /&gt;
*i386 and higher (and compatible)&lt;br /&gt;
*ia32 / ia64&lt;br /&gt;
*mips / mips64&lt;br /&gt;
*hppa / hppa64&lt;br /&gt;
*ppc / ppc64&lt;br /&gt;
*sparc / sparc64&lt;br /&gt;
*s390 / s390x&lt;br /&gt;
*x86_64 (AMD64)&lt;br /&gt;
*uml/xen&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Which kernel versions are supported?||Details=&lt;br /&gt;
 recent 2.4 and 2.6 kernels (stable), recent 2.6 kernels (development). &lt;br /&gt;
 Some ancient versions of Linux-VServer are backported to 2.2.x kernels. You can find more information [http://vserver.digitalangel.com.au/ here].&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Can I run Linux-vserver on my favorite distribution?||Details=&lt;br /&gt;
Linux-VServer was originally developed on Red Hat/Mandriva, but it is rather distribution independent. It runs fine with other distributions (Debian, SuSE). Some distributions run a patched kernel, which can make it a bit harder to build a new kernel with Linux-VServer support|Signature=Linux-Vserver FAQ}}&lt;br /&gt;
&lt;br /&gt;
== C. Versions ==&lt;br /&gt;
{{Question|Question=What's the latest version of Linux-VServer?||Details=&lt;br /&gt;
You can find the [http://www.13thfloor.at/vserver/s_release latest stable 2.4 release] or [http://www.13thfloor.at/vserver/s_rel26 latest stable 2.6 release] as well as the [http://www.13thfloor.at/vserver/d_rel26 latest development release] at [http://www.13thfloor.at/vserver/ http://www.13thfloor.at/vserver/]&lt;br /&gt;
Check out the ((Release FAQ)) for information on releases and version numbering&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Where can I find prereleases and release candidates?||Details=&lt;br /&gt;
Check the [http://vserver.13thfloor.at/Experimental experimental area] for new patches.|Signature=Linux-Vserver FAQ}}&lt;br /&gt;
&lt;br /&gt;
== D. Tools (util-vserver and vserver) ==&lt;br /&gt;
{{Question|Question=What do I need them for?||Details=&lt;br /&gt;
These are the userspace tools for Linux-VServer. You need them to use the functionality of Linux-VServer.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=What's the difference between vserver and util-vserver?||Details=&lt;br /&gt;
The vserver package are the 'legacy utilities', written by Jacques GÃ©linas. &lt;br /&gt;
The util-vserver package is a reimplementation of these tools in C by Enrico Scholz, which follows the kernel development more closely. &lt;br /&gt;
util-vserver tools are currently considered the mainstream tools (You can't use both packages on the same machine.)&lt;br /&gt;
Both packages have their own version numbering. Don't let the version numbering confuse you.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Which version of the tools packages do I need? Do I have to upgrade?||Details=&lt;br /&gt;
*:It can be useful to have a recent version of the tools package installed on your box. It's a good idea to upgrade your tools when you upgrade your kernel. In the next list you find the versions you need to have at least, but it's a good idea to use more recent versions.&lt;br /&gt;
*linux-vserver 1.00&lt;br /&gt;
**vserver 0.26&lt;br /&gt;
**util-vserver 0.24&lt;br /&gt;
*linux-vserver 1.20&lt;br /&gt;
**vserver 0.28&lt;br /&gt;
**util-vserver 0.25&lt;br /&gt;
*linux-vserver 2.00&lt;br /&gt;
**util-vserver 0.30 or 0.30.209|Signature=Linux-Vserver FAQ}}&lt;br /&gt;
&lt;br /&gt;
== E. Download ==&lt;br /&gt;
{{Question|Question=Where can I dowload the latest version of:||Details=&lt;br /&gt;
*[http://www.13thfloor.at/vserver/ The kernel patch]&lt;br /&gt;
*[http://dns.solucorp.qc.ca/miscprj/s_context.hc?prjstate=1&amp;amp;nodoc=1 vserver]&lt;br /&gt;
*[http://savannah.nongnu.org/files/?group=util-vserver util-vserver]&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Distribution specific packages||Details=&lt;br /&gt;
*Red Hat&lt;br /&gt;
**[http://dns.solucorp.qc.ca/miscprj/s_context.hc?prjstate=1&amp;amp;nodoc=1 vserver]&lt;br /&gt;
*Mandrake&lt;br /&gt;
**[http://www.13thfloor.at/vserver/s_release/v1.00/ vserver]&lt;br /&gt;
*Debian&lt;br /&gt;
**[http://packages.debian.org/cgi-bin/search_packages.pl?keywords=vserver&amp;amp;searchon=names&amp;amp;subword=1&amp;amp;version=all&amp;amp;release=all vserver] - All Linux-VServer-related Debian-packages (Probably slow, +100 results).&lt;br /&gt;
**[http://packages.debian.org/cgi-bin/search_packages.pl?keywords=linux-image-2.6-vserver&amp;amp;searchon=names&amp;amp;subword=1&amp;amp;version=all&amp;amp;release=all Official precompiled kernels] - These are the official Debian kernels compiled with Linux-VServer-support.&lt;br /&gt;
**[http://packages.debian.org/cgi-bin/search_packages.pl?keywords=vserver-debiantools&amp;amp;searchon=names&amp;amp;subword=1&amp;amp;version=all&amp;amp;release=all vserver-debiantools] - These scripts install Debian straight off the web from Debian.org's world-wide network of mirrors.&lt;br /&gt;
*Gentoo&lt;br /&gt;
**[http://dev.croup.de/proj/gentoo-vps/wiki/VserverHowto vserver]|Signature=Linux-Vserver FAQ}}&lt;br /&gt;
&lt;br /&gt;
== F. Network Usage? ==&lt;br /&gt;
{{Question|Question=Is IPv6 supported?||Details=&lt;br /&gt;
At this moment, only IPv4 (the current most frequently used standard) is supported.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Can I put my vservers in different networks?||Details=&lt;br /&gt;
Yes you can. You have to bind your vserver to a interface on the host machine, but you can choose the interface in the configuration file of your vserver (in /etc/vservers/SERVER.conf). Make sure your host server does have an interface in the network you need on your vserver.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Is it possible for a vserver to have a other default gateway than the host machine does use?||Details=&lt;br /&gt;
Yes. Use iproute2 to set the default gateway.&lt;br /&gt;
You can find more information on routing in linux-vserver in [http://archives.linux-vserver.org/200311/0470.html this posting] on the mailinglist.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Can I use more than one IP address in a vserver||Details=&lt;br /&gt;
Yes you can. Edit the configuration file of the vserver (/etc/vservers/SERVER.conf).&lt;br /&gt;
In case you want to use example IP addresses on one interface&lt;br /&gt;
IPROOT=&amp;quot;10.1.2.3 10.1.2.12&amp;quot;&lt;br /&gt;
IPROOTDEV=&amp;quot;eth0&amp;quot;&lt;br /&gt;
In case you want to use 2 or more interfaces&lt;br /&gt;
IPROOT=&amp;quot;eth0:10.1.2.3 eth1:10.1.2.12&amp;quot;&lt;br /&gt;
IPROOTDEV=&amp;quot;&amp;quot;&lt;br /&gt;
In case you want to use IP-number in different subnets&lt;br /&gt;
IPROOT=&amp;quot;eth0:10.1.2.3/255.255.255.0 eth0:10.1.3.12/255.255.0.0&amp;quot;&lt;br /&gt;
IPROOTDEV=&amp;quot;&amp;quot;&lt;br /&gt;
If you are using vserver 2.0+ you have to create subdirectories in /etc/vserver/&amp;lt;vserver-name&amp;gt;/interfaces/ &lt;br /&gt;
for each IP you want to use, i.e.&lt;br /&gt;
/etc/vserver/&amp;lt;vserver-name&amp;gt;/interfaces/0&lt;br /&gt;
/etc/vserver/&amp;lt;vserver-name&amp;gt;/interfaces/1&lt;br /&gt;
These subdirectories have to contain files with the options you want to set. See the [[VServerConfiguration]] or [http://www.nongnu.org/util-vserver/doc/conf/configuration.html Flower page] for more info&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Is it possible to use the real device (eth0, eth1) instead of the device alias created by vserver?||Details=&lt;br /&gt;
Yes. Set up the IP aliases yourself on the host server&lt;br /&gt;
*Set IPROOT= to those IPs&lt;br /&gt;
*Unset IPROOTDEV so the vserver script won't try to setup the IP aliases.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Can I modify the behavior of my vservers?||Details=&lt;br /&gt;
There are a number of capabilities and flags that you can modify listed [http://linux-vserver.org/Caps+and+Flags here] (and [http://savannah.nongnu.org/cgi-bin/viewcvs/util-vserver/util-vserver/lib/cflags-v13.c?rev=HEAD here (cflags-v13.c)]).&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Were can I find more information on networking in Linux-VServer?||Details=&lt;br /&gt;
You can find more information on the internals of networking in Linux-VServer [http://vserver.13thfloor.at/Stuff/VServer-IP-Setup-0.1.txt here].|Signature=Linux-Vserver FAQ}}&lt;br /&gt;
&lt;br /&gt;
== G. Software compatibility ==&lt;br /&gt;
{{Question|Question=Bind does not work in a vserver||Details=&lt;br /&gt;
* capset failed&lt;br /&gt;
* The bind package expect to have the capability CAP_SYS_RESOURCE. &lt;br /&gt;
 It expects this because it was compiled this way on Linux and to increase its ulimit. &lt;br /&gt;
* By default, a vserver does not have this capability for a good reason, you may have a    look at 'man capabilities' to see how much control that capability allows. &lt;br /&gt;
* A vserver starts with some ulimit values and can only reduce them, not enlarge them.&lt;br /&gt;
* If you know what you are doing, you can give the capability to the vserver running bind.&lt;br /&gt;
* A securer solution is to compile bind without that requirement by specifying './configure --disable-linux-caps' &lt;br /&gt;
 It looks like you only can run bind as root once you compile bind with this option, but this should be fine inside a vserver.&lt;br /&gt;
* bind does not respond to queries&lt;br /&gt;
* Bind seems to have problems with a query socket check. Bind believes the query is comming on a non-query socket, and doesn't answer the request.&lt;br /&gt;
* putting &amp;quot;query-source address YOUR_VSERVER_IP;&amp;quot; in your named.conf solves this problem.&lt;br /&gt;
&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Is DHCP possible in a vserver?||Details=&lt;br /&gt;
It's possible to run a DHCP server inside a vserver, but it required a CAP_NET_RAW capability. &lt;br /&gt;
The solution for 2.6 kernel with new-style config is to add CAP_NET_RAW entry in the /etc/vserver/&amp;lt;vserver-name&amp;gt;/bcapabilities file, and it might be unnecessary to add 255.255.255.255 into bcast file, please read [[VServerConfiguration]] or [http://www.nongnu.org/util-vserver/doc/conf/configuration.html The Great Flower Page] for more details. If you are still use the legacy config, please read the answer below.&lt;br /&gt;
It's possible to run a DHCP server inside a vserver, but there is a catch. The set_ipv4root assigns one IP and one broadcast address to a vserver. UDP service listening to 0.0.0.0 (bind any) in a vserver are indeed listening to the vserver IP and vserver broadcast. &lt;br /&gt;
This is all they will get. This is fine for most services. &lt;br /&gt;
Unfortunately, dhcpd is receiving special broadcasts. Its clients are unaware of their IP number, so they are using special broadcast 255.255.255.255 address. &lt;br /&gt;
A vserver generally runs with the broadcast address of the network device (the one used to setup the IP alias). This network device has a broadcast address which is never 255.255.255.255. Those special broadcast are not sent to the vserver. The solution is to set the IPROOTBCAST entry in the vserver configuration file like this  IPROOTBCAST=255.255.255.255&lt;br /&gt;
Restart your vserver and dhcpd will work. There is a catch (at least with 2.4.18ctx-9). If you are using other services in the save vserver, also relying on broadcast for proper operation (samba for one), they won't operate properly. &lt;br /&gt;
One solution would be to enhance the semantics a little: A vserver would listen for its IP address, its broadcast address and also for 255.255.255.255. &lt;br /&gt;
The dhcpd case is probably very specific though. &lt;br /&gt;
&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=NFS-server||Details=&lt;br /&gt;
It's not posible to run a NFS-kernel server inside a vserver, to work securely this would need a lot of work. &lt;br /&gt;
You can try to run the NFS userspace server, the traditional Linux user space NFS server and UNFS3 are both reported to work.&lt;br /&gt;
take a look at ((NFS and portmap)) if you have problems with your portmap&lt;br /&gt;
&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Run Level Based Distributions as Ververs (Red Hat and such ....)||Details=&lt;br /&gt;
 If you see errors after the command vserver &amp;lt;name&amp;gt; stop like these:&lt;br /&gt;
&lt;br /&gt;
 Syncing hardware clock to system time hwclock is unable to get I/O port access:  the iopl(3) call failed FAILED]&lt;br /&gt;
 Turning off swap:  Not superuser.    [FAILED]&lt;br /&gt;
 Turning off quotas:  quotaoff: Can't stat() mounted device /dev/hdv1: No such file or directory&lt;br /&gt;
 Unmounting file systems:  umount2: No such file or directory umount: /vservers: not found&lt;br /&gt;
&lt;br /&gt;
 Then look for S* links in /etc/rc6.d/ and remove the one responsible for the errors. In RH9 it is called S01reboot&lt;br /&gt;
 A 'normal' server does some stuff on shutdown, like saving the time to the hwclock, or storing random pool data and finally invokes the reboot. Some of those actions are just not allowed in a vserver.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Vservers and X Windows||Details=&lt;br /&gt;
 Please see the ((Vservers and X)) page for information about this.&lt;br /&gt;
&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=sshd with X11-Forwarding in a vserver||Details=&lt;br /&gt;
 add ```'X11UseLocalhost no'``` to your sshd_config&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=See also: [ProblematicPrograms]||Details=&lt;br /&gt;
== H. Help ==&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Where can I find more information on the Linux-VServer project?||Details=&lt;br /&gt;
First have a look at the ((documentation)) section of the website. In case you can't find the answer here, have a look at the mailinglist archives. If this doesn't help jou, there is still a mailinglist and a IRC channel were you can ask for help.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Does the Linux-VServer project have a mailing list?||Details=&lt;br /&gt;
Yes. You can subscribe [http://list.linux-vserver.org/mailman/listinfo/vserver here]. Archives are located [http://list.linux-vserver.org/archive/vserver/ here].&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Is there a IRC channel ||Details=&lt;br /&gt;
Yes, join #vserver on irc.oftc.net.|Signature=Linux-Vserver FAQ}}&lt;br /&gt;
&lt;br /&gt;
== I. Issues ==&lt;br /&gt;
{{Question|Question=When starting or entering a vserver I get &amp;quot;''Error: /proc must be mounted''&amp;quot;. 'vserver-stat' and 'vps' are failing with &amp;quot;''open(&amp;quot;/proc/uptime&amp;quot;): No such file or directory''&amp;quot;.  Sometimes, other files in /proc are mentioned. What can I do?||Details=&lt;br /&gt;
Make sure that in devel and experimental the required proc entries are visible inside a vserver. With alpha utilities, execute the ||Details=vprocunhide||Details= script. See ((Proc-Security)) also.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Inside a vserver I can still use mknod to create devices, even without CAP_MKNOD capability. What's wrong? (this probably applies to all other capabilities but that was not tested)||Details=&lt;br /&gt;
This is probably a problem in your kernel configuration. If you include &amp;quot;Enable different security models&amp;quot; (CONFIG_SECURITY), then make sure to also include &amp;quot;Default Linux Capabilities&amp;quot; (CONFIG_SECURITY_CAPABILITIES) or compile it as a module. In this latter case you must insert the 'capability' module into the kernel. This is for example true for current (2.6.8.1) debian kernel configurations.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=After stopping/restarting a vserver my network is gone! What the hell?||Details=&lt;br /&gt;
 See above.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Only root can access any files in the vserver||Details=&lt;br /&gt;
 Check the permissions of the vserver's / directory. The 2.4 branch's chroot-escape blocker (chmod 0000 and chattr +t) is meant to be applied to the directory containing the vservers (for example /vservers) not the vservers' root directories themselves. If you revoked all permissions for a vserver's root directory, re-grant them with &amp;quot;chmod 0755 /path/to/vserver-root&amp;quot;.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=&amp;quot;daemon() failed: Success&amp;quot; - What? Succesfully failing?||Details=&lt;br /&gt;
 Not really vserver related but here's the answer: Somebody replaced your /dev/null with a regular file, create a real /dev/null and it will start working again. We got no idea why the error message happens to be so funny(?).&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=When I start a vserver, &amp;quot;FATAL: kernel too old&amp;quot; message appears and vserver can't be started||Details=&lt;br /&gt;
Edit your /etc/vservers/&amp;lt;vsname&amp;gt;/uts/release and define a value greater than kernel version&lt;br /&gt;
example, if you have a kernel &amp;quot;2.6.11&amp;quot;, set &amp;quot;2005&amp;quot; for example  :-)&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=I switched from old to new configuration and now all my ip addresses are gone!||Details=&lt;br /&gt;
They are not, ifconfig just doesn't show them. The new tools use 'iproute' instead of 'ifconfig' which allows you to use multiple interface addresses with the same label. In such cases, ifconfig shows only the first address for each label, which probably isn't available in the vserver. Unless you specify a name for an ip address, it will be given the interface name as label, eg. eth0, and ifconfig breaks. You can assign names to your interface addresses in the vserver configuration, see [[VServerConfiguration]] or [http://www.nongnu.org/util-vserver/doc/conf/configuration.html The Great Flower Page] for details.&lt;br /&gt;
Earlier, we said that the interface addresses were &amp;quot;nameless&amp;quot;, this was wrong. As said above, the addresses in question actually all have the same name/label. Knowing this we could actually virtualize the ioctl interface which ifconfig uses in a meaningful way, making ifconfig show the vserver's ip addresses as expected, even when it shares its label with other ip addresses (of course only if there aren't multiple ip addresses in the same vserver that share the same label, but that's an ifconfig limitation, not a vserver bug). The [http://www.13thfloor.at/~doener/vserver/patches/diff-2.6.16.5-vs2.0.2-rc16-devinet_ioctl.diff patch] should apply to most Linux-VServer versions for kernel 2.6 and will probably be included in future versions.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=When I enter/ssh into a vserver I can see all of the interfaces and interface aliases with ifconfig.||Details=&lt;br /&gt;
I experienced this after upgrading from a 2.4 to 2.6 kernel with vs-2.0 patch using legacy-method .conf files.  Upgrading from legacy-method to the new one (see [http://linux-vserver.org/Legacy-To-Newstyle-Config Converting From Legacy to New]) caused the problem to go away.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=I keep my vserver roots on their own devices.  I can unmount them but the device (like drbd or lvm) remains in use until all of my vservers are killed off (&amp;quot;Someone has opened the device for RW access&amp;quot;).||Details=&lt;br /&gt;
 When you mount something it is recorded in the current namespace.  When you start a vserver it makes copy of the namespace.  You can then unmount in the original  namespace without any problems, however the device is still in use.  This is because the device is still mounted in the new namespace.  You can do something like this: &amp;quot;vnamespace -e runningVserver umount /mnt/point&amp;quot;. After this you should be able to remove the device (drbdadm secondary /dev/drbd0 or whatever).&lt;br /&gt;
More information:&lt;br /&gt;
*[http://linux-vserver.org/Namespaces About Namespaces]&lt;br /&gt;
*[http://linux-vserver.org/advanced+DRBD+mount+issues DRBD Mount Issues]&lt;br /&gt;
*[http://list.linux-vserver.org/archive/vserver/msg11444.html This thread], which deals with the same issue.&lt;br /&gt;
*[http://list.linux-vserver.org/archive/vserver/msg10415.html This thread], terse but helpful.&lt;br /&gt;
*[http://www.gossamer-threads.com/lists/drbd/users/9282?page=last And this], a thread of related stuff.&lt;br /&gt;
WARNING: if you use the kernel cleanup feature then make sure you know what you are doing.  I didn't, it was ugly.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=When I stop a vserver its network alias does not go away, I am getting 'RTNETLINK answers: Cannot assign requested address||Details='&lt;br /&gt;
Try running 'ip addr' and see if the interface names are being truncated (note: I came across a thread that seems to suggest that this might happen even if the interface name is not being truncated?).  The function that kills the interface specifies its name, if it is truncated then 'ip' will not be able to find the interface.&lt;br /&gt;
Another cause might be that the IP was added (or already present at startup) with a different netmask, and therfore can not be removed properly&lt;br /&gt;
My solution to this is very, very gross.  Open up your vserver.functions file and find the disableInterfaces function.  If you change&lt;br /&gt;
IP_ADDR)            $_IP addr  del &amp;quot;$@&amp;quot;;;&lt;br /&gt;
to&lt;br /&gt;
IP_ADDR)            $(echo $_IP addr  del &amp;quot;$@&amp;quot;|sed 's/broadcast + label [^[:space:]]\+//');;&lt;br /&gt;
then ip will try to delete the interface by its IP alone.&lt;br /&gt;
Anyone with a better solution is strongly encouraged to modify this entry.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Why does the vserver run on a BSD fs (ufs) ?!||Details=&lt;br /&gt;
* I see something like: /dev/hdv1 / ufs defaults 0 0&lt;br /&gt;
The ufs part is correct and it is so to trick the quota tools to not try to lowlevel access the fs. The entry is FAKE anyway, ufs just solved this quota userland issue nicely (more or less).&lt;br /&gt;
* For details see: [http://list.linux-vserver.org/archive/vserver/msg09133.html] and [http://archives.linux-vserver.org/200401/0232.html]&lt;br /&gt;
* When I issue a ping it returns:&lt;br /&gt;
 [root@VServerGuest /]# ping 123.123.123.123&lt;br /&gt;
 connect: Invalid argument&lt;br /&gt;
* When I issue a DNS lookup it returns:&lt;br /&gt;
 [root@VServerGuest /]# host www.yahoo.ca&lt;br /&gt;
 socket.c: internal_send: 222.222.222.222#53: Invalid argument&lt;br /&gt;
 ;; connection timed out; no servers could be reached&lt;br /&gt;
* When I try to run vyum it returns:&lt;br /&gt;
 [root@VServerGuest /]# vyum VServerGuest -- check-update&lt;br /&gt;
 Cannot find a valid baseurl for repo: core&lt;br /&gt;
 Error: Cannot find a valid baseurl for repo: core&lt;br /&gt;
 Make sure that you have either a Public IP setup on the VServer Guest, or that you have a proper SNAT/DNAT rules setup on your VServer Host. After that, restart the vserver guest with the verbose option to see what your ipv4root is set to:&lt;br /&gt;
 [root@VServerGuest  /]# vserver -v VServerGuest start&lt;br /&gt;
 ipv4root is now 127.0.0.10 111.111.111.111&lt;br /&gt;
 New security context is 49156&lt;br /&gt;
 You must make sure the order of the interfaces are correct. The very first Interface (decided upon by alphabetical order of the interface directory name) for the VServer is the default IP used for all network connections. This must be either a public IP or an IP that has been D/SNAT'd.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== G. Problematic Programs ==&lt;br /&gt;
Some programs do things that might work on a normal host but not inside a V-Server. This is often not a fault of V-Server itself, the programs are doing automagic things which fail and no proper error handling is done. Also sometimes the actions need special rights which are not permitted by default in V-Servers. Allowing CAPs is often not necessary since those special CAPs are only required once (e.g. when the program initializes the directories/settings/whatever).&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=OpenGroupware Apache Module&lt;br /&gt;
||Details=If your V-Server doesn't have access to localhost, then the connection to the !OpenGroupware server will fail with a &amp;quot;Internal Server Error&amp;quot;.&lt;br /&gt;
The apache module for !OpenGroupware called mod_ngobjweb uses a hardcoded &amp;quot;127.0.0.1&amp;quot; IP address in the source (handler.c line 339), this line you need to change to the IP address that should be used (the IP of the V-Server that runs the OpenGroupware server)|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Hylafax (with CAPI)|Details=&lt;br /&gt;
:If you want to run hylafax in a V-Server, you will get a CAP and device problem which can be easily solved. First you need your capi20 devices in your V-Server, which can't be created by ./MAKEDEV (requires special CAPs) so copy the devices into the V-Server, like this (command run on the host):&lt;br /&gt;
:cp -aR /dev/capi* /vservers/your_vserver/dev&lt;br /&gt;
:Now hylafax can access your CAPI ISDN card but will exit after a few seconds, the problem is it tries to create a /dev/null nod in the hylafax chroot. This fails because of missing  CAPs, so lets help hylafax again with copying the nod into the hylafax chroot in the V-Server. Like this (command run on the host):&lt;br /&gt;
:cp -aR /dev/null /vservers/your_vserver/var/spool/hylafax/dev&lt;br /&gt;
:Allright, now hylafax should have CAPI access and run properly.|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Links inside screen inside a V-Server|Details=&lt;br /&gt;
:Don't know why, but links crashes systematically being inside a screen session inside a V-Server started outside a V-Server. (please elaborate!)|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=screen inside a VServer|Details=&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[root@ge root]# vserver zoe enter&lt;br /&gt;
&lt;br /&gt;
zoe:/# screen&lt;br /&gt;
Cannot open your terminal '/dev/pts/5' - please check.&lt;br /&gt;
&lt;br /&gt;
zoe:/# strace screen &lt;br /&gt;
...&lt;br /&gt;
stat64(&amp;quot;/dev/pts/5&amp;quot;, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 5), ...}) = 0&lt;br /&gt;
open(&amp;quot;/dev/pts/5&amp;quot;, O_RDWR|O_NONBLOCK)   = -1 EACCES (Permission denied)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:is neither a bug nor an issue with screen, it just shows that a vserver context is not allowed to mess with host terminals. either use ssh/telnet to reach the 'guest' or start the screen session before you do the 'enter' (i.e. on the host)|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=!OpenLDAP Startup|Details=&lt;br /&gt;
:slapd needs name resolution available in order to start up, otherwise it appears to hang. Make sure you have working DNS (or whatever) available to your vserver before starting one with slapd. This behavior is confirmed in my setup, no confirmation from others yet. My Setup: vservers all bind to an interface on a DMZ-like network segment, BIND runs on a vserver. slapd would hang at startup if the BIND vserver had not been started first.|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=rndc|Details=&lt;br /&gt;
:Bind's rndc has a hardcoded 127.0.0.1 somewhere so any command to rndc will fail with connection refused.&lt;br /&gt;
:You should have a reachable localhost address defined in /etc/hosts and then you can use rndc -s localhost command&lt;br /&gt;
:You can make a rndc.conf and set the default-server option, like that the '-s localhost' isn't necessary.|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Asterisk|Details=&lt;br /&gt;
:Since some version of Asterisk (at least since 1.0.2), it will not run anymore. On start it fails with: &amp;quot;Unable to set high priority&amp;quot;&lt;br /&gt;
:This can be solved by allowing CAP_SYS_NICE for that VServer.&lt;br /&gt;
:You can also not run Asterisk with the realtime priority :&lt;br /&gt;
:Just pass the '-p' command ligne argument to disable the read-time priority.&lt;br /&gt;
:.&lt;br /&gt;
:Good doc on setting up Asterisk devices in the vserver:&lt;br /&gt;
:http://www.telephreak.org/papers/vpa/|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Open/!FreeSwan|Details=&lt;br /&gt;
:Fails because of writing to /proc (requires patch)&lt;br /&gt;
:TODO: write me|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Samba|Details=&lt;br /&gt;
:Oplocks don't work as smbd insists on receiving break requests from 127.0.0.1 \\&lt;br /&gt;
Just patch source/smbd/oplock.c (commenting paranoid code)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
+++ oplock.c.orig       2005-02-14 14:27:51.000000000 +0200&lt;br /&gt;
--- oplock.c    2005-02-02 12:27:50.000000000 +0200&lt;br /&gt;
@@ -181,14 +181,12 @@&lt;br /&gt;
                return False;&lt;br /&gt;
        }&lt;br /&gt;
&lt;br /&gt;
+#if 0&lt;br /&gt;
     /* Validate message from address (must be localhost). */&lt;br /&gt;
        if(from.sin_addr.s_addr != htonl(INADDR_LOOPBACK)) {&lt;br /&gt;
                DEBUG(0,(&amp;quot;receive_local_message: invalid 'from' address \&lt;br /&gt;
 (was %lx should be 127.0.0.1)\n&amp;quot;, (long)from.sin_addr.s_addr));&lt;br /&gt;
                return False;&lt;br /&gt;
        }&lt;br /&gt;
+#endif&lt;br /&gt;
&lt;br /&gt;
        /* Setup the message header */&lt;br /&gt;
        SIVAL(buffer,OPBRK_CMD_LEN_OFFSET,msg_len);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
or if you don't want to patch the samba source code you can disable oplock in Samba and it will work too!&lt;br /&gt;
Just put the following in your smb.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
kernel oplocks = no&lt;br /&gt;
oplocks = no&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: The Vserver using Samba should also listen on the broadcast address. Thereby you will not be able to have two samba servers in the same net (on the same broadcast). |Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Samba from Debian 3.1|Details=&lt;br /&gt;
The samba deb in sarge (3.1) provided file sharing.  The only oddity observed is that the vserver guest running samba did not appear in a windows box's 'My Network Places'&lt;br /&gt;
    Use a WINS server. The SMB browsing protocol relies heavily on broadcasts on the local net, which are problematic with vservers. WINS resolution on the other hand is unicast and works flawlessly under vserver.|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Samba printer and file server with cups|Details=&lt;br /&gt;
:Samba runs correctly in a Mandriva (Mdk) 10.1 Vserver, (Apart from the above oplock problem ?).&lt;br /&gt;
: \\&lt;br /&gt;
First, edit your {{/etc/sysconfig/network}} file, and set {{networking}} to {{yes}} (This will solve problems for other services !):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cat /etc/sysconfig/network&lt;br /&gt;
NETWORKING=yes&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
Some more tweaking is needeed in {{/etc/smb.conf}}:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cat /etc/smb.conf&lt;br /&gt;
...&lt;br /&gt;
  # YOUR VSERVER IP/MASK HERE&lt;br /&gt;
  interfaces = xxx.xxx.xxx.xxx/mask&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
That's all !!!&lt;br /&gt;
: \\&lt;br /&gt;
But if you're using Samba + Cups to provide printing for Windows clients, AND if you want to use the {{Point and Print}} feature, there is more: In the {{[printers]}} section of your {{smb.conf}}, you should have the {{use client drivers}} directive set to {{no}}, or the driver upload procedure will fail !&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cat /etc/smb.conf&lt;br /&gt;
...&lt;br /&gt;
  use client driver = no&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
So, here is a full {{smb.conf}} file:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cat /etc/samba/smb.conf | awk '!/^$/ &amp;amp;&amp;amp; !/^\s*(#|;)/ {print $0}'&lt;br /&gt;
[global]&lt;br /&gt;
   workgroup = MYDOMAIN&lt;br /&gt;
   netbios name = MYHOSTNAME&lt;br /&gt;
   server string = MYCOMMENT (Samba %v)&lt;br /&gt;
   printcap name = cups&lt;br /&gt;
   load printers = yes&lt;br /&gt;
   printing = cups&lt;br /&gt;
   printer admin = @adm&lt;br /&gt;
   log file = /var/log/samba/log.%m&lt;br /&gt;
   max log size = 50&lt;br /&gt;
   map to guest = bad user&lt;br /&gt;
   security = domain&lt;br /&gt;
   password server = *&lt;br /&gt;
   encrypt passwords = yes&lt;br /&gt;
   smb passwd file = /etc/samba/smbpasswd&lt;br /&gt;
   username map = /etc/samba/smbusers&lt;br /&gt;
   idmap uid = 10000-20000&lt;br /&gt;
   idmap gid = 10000-20000&lt;br /&gt;
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192&lt;br /&gt;
   interfaces = 127. MYVSERVERIP/MYVSERVERMASK&lt;br /&gt;
   wins server = MYWINSIP&lt;br /&gt;
   dns proxy = no&lt;br /&gt;
   # for french users:&lt;br /&gt;
   dos charset = 850&lt;br /&gt;
   unix charset = ISO8859-1&lt;br /&gt;
[homes]&lt;br /&gt;
   comment = Home Directories&lt;br /&gt;
   browseable = no&lt;br /&gt;
   writable = no&lt;br /&gt;
[printers]&lt;br /&gt;
   comment = All Printers&lt;br /&gt;
   path = /var/spool/samba&lt;br /&gt;
   browseable = no&lt;br /&gt;
   guest ok = no&lt;br /&gt;
   writable = no&lt;br /&gt;
   printable = yes&lt;br /&gt;
   create mode = 0700&lt;br /&gt;
   print command = lpr-cups -P %p -o raw %s -r   # using client side printer drivers.&lt;br /&gt;
   use client driver = no&lt;br /&gt;
[print$]&lt;br /&gt;
   path = /var/lib/samba/printers&lt;br /&gt;
   browseable = yes&lt;br /&gt;
   write list = @adm root&lt;br /&gt;
   guest ok = yes&lt;br /&gt;
   inherit permissions = yes&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
...And a working smbusers:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Unix_name = SMB_name1 SMB_name2 ...&lt;br /&gt;
root = administrator MYDOMAIN\administrator&lt;br /&gt;
nobody = guest pcguest smbguest&lt;br /&gt;
&amp;lt;/pre&amp;gt;|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Cups print server|Details=&lt;br /&gt;
: Symptoms: The Cups init script exits with:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Starting CUPS printing system: cupsd: Child exited with status 98!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
And the logs ({{/var/log/cups/error_log}}) show:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
E [date:hour...] StartListening: Unable to bind socket for address 0.0.0.0:631 - Address already in use.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:...Or something like this.&lt;br /&gt;
: \\&lt;br /&gt;
With a correct &amp;quot;cupsd.conf file&amp;quot; (Tested version 1.1.21-0.rc1.7mdk, on Mandrake 10.1 - Now Mandriva), it works; All we need is to remove references to {{127.0.0.1}} or {{localhost}} from the file, as well as correctly unsetting the {{Listen}} directive:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
LogLevel info&lt;br /&gt;
TempDir /var/spool/cups/tmp&lt;br /&gt;
# No 'Listen' directive !&lt;br /&gt;
Port 631&lt;br /&gt;
BrowseAddress @LOCAL&lt;br /&gt;
BrowseDeny All&lt;br /&gt;
BrowseAllow @LOCAL&lt;br /&gt;
BrowseOrder deny,allow&lt;br /&gt;
&amp;lt;Location /&amp;gt;&lt;br /&gt;
  Order Deny,Allow&lt;br /&gt;
  Deny From All&lt;br /&gt;
  Allow From @LOCAL&lt;br /&gt;
&amp;lt;/Location&amp;gt;&lt;br /&gt;
&amp;lt;Location /admin&amp;gt;&lt;br /&gt;
  AuthType Basic&lt;br /&gt;
  AuthClass System&lt;br /&gt;
  Order Deny,Allow&lt;br /&gt;
  Deny From All&lt;br /&gt;
  Allow From YOUR_NETWORK_ADDRESS/YOUR_NETMASK # Example: 172.16.0.0/24&lt;br /&gt;
# Or&lt;br /&gt;
  Allow From @LOCAL&lt;br /&gt;
&amp;lt;/Location&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
Then you'll need to modify the {{/etc/init.d/cups}} script, to comment any section referring to {{127.0.0.1}} lookup and configuration. This section exists at least on Mandrake 10.1, and is pretty long (Lines 35 to 55 and/or 79), and additionnaly four &amp;quot;{{else...if}}&amp;quot; lines must be commented far below (Lines 161 to 164) !&lt;br /&gt;
: \\&lt;br /&gt;
Remember to stop any Cupsd running in the host server, or to start it ''via'' a wrapper {{/etc/init.d/v_cups}} script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
# chkconfig: 2345 15 60&lt;br /&gt;
# description: Wrapper to start cups bound to a single IP&lt;br /&gt;
USR_LIB_VSERVER=/usr/lib/util-vserver&lt;br /&gt;
exec $USR_LIB_VSERVER/vsysvwrapper cups $*&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
Do not forget to give a password to the root user, if you want to ba able to manage your printers from the web interface (http://yourcupsvserver:631)!&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# passwd root&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
If you use Mandriva 10.1 (And maybe some other distros), you&amp;amp;#8217;ll need to add the printers drivers for Cups, and reload it:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# urpmi --root /vservers/yourcupsvserver/ cups-drivers&lt;br /&gt;
# /etc/init.d/cups reload&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
&amp;amp;#8230;It added 67 Mb of packages for me.&lt;br /&gt;
: \\&lt;br /&gt;
Then use {{/etc/init.d/v_cups (re)start}} to launch Cups on the host server.&lt;br /&gt;
:You will now be able to make Cupsd start in the vserver , but more tweaking on the ACLs may be necessary to avoid authentification problems...|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Bind9 on Debian GNU/Linux Woody (3.0) and Sarge (3.1)|Details=&lt;br /&gt;
:named provided by the bind9 binary packages fails to start because it is compiled with CAPs option.&lt;br /&gt;
: \\&lt;br /&gt;
The debian way is to build** your own package without CAPs:&lt;br /&gt;
: \\&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
su -&lt;br /&gt;
cd /usr/src&lt;br /&gt;
apt-get build-dep bind9&lt;br /&gt;
apt-get source bind9&lt;br /&gt;
cd bind9-x.x.x&lt;br /&gt;
vi debian/rules&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
Insert the following line after &amp;quot;./configure --prefix=/usr \&amp;quot;:&lt;br /&gt;
: \\&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--disable-linux-caps \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
On a NPTL-enabled system you alse have to replace \\&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--enable-threads \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: with \\&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--disable-threads \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: or bind might refuse to run with an other user than root.&lt;br /&gt;
: \\&lt;br /&gt;
Save the file and go ahead with compiling/installing:&lt;br /&gt;
: \\&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
dpkg-buildpackage&lt;br /&gt;
dpkg -i ../bind9-x.x.x.deb&lt;br /&gt;
echo &amp;quot;bind9 hold&amp;quot; | dpkg --set-selections&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
The last line is to set the package &amp;quot;on hold&amp;quot;, so it is not touched by the update process. you have to take care of security holes by yourself now!&lt;br /&gt;
: \\&lt;br /&gt;
The Xs in &amp;quot;bind9-x.x.x&amp;quot; denote the version number of bind9.&lt;br /&gt;
: \\&lt;br /&gt;
&lt;br /&gt;
** Alternatively you can allow the CAP_SYS_RESOURCE for that V-Server.&lt;br /&gt;
&lt;br /&gt;
The best way would be to fix bind, which is somehow broken when it comes to capabilities.&lt;br /&gt;
Daniel Hokka Zakrisson repaired it. His patch is to be found here:&lt;br /&gt;
&lt;br /&gt;
[http://daniel.hozac.com/stuff/bind-9.3.2-caps-when-available.patch bind-9.3.2-caps-when-available.patch]&lt;br /&gt;
So, if you recompile, it would be the cleanest way to apply that patch. Thanks Daniel!&lt;br /&gt;
&lt;br /&gt;
It would be also nice, if someone submits that patch to the bind people or maybe to your distribution's package maintainers in the first step.&lt;br /&gt;
&lt;br /&gt;
Get my [http://linux-vserver.derjohn.de/bind9-packages/bind9-capacheck_9.3.2-2_i386.deb vserver-guest-ready Debian bind9 package] for Debian Sid guests. Feedback welcome: aj@net-lab.net|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Postfix 2.1.5 (Debian Sarge)|Details=&lt;br /&gt;
:On a vserver with two interfaces (lo and eth0), and a postfix 2.1.5 listening on lo, postfix can't send emails : &amp;quot;Invalid argument&amp;quot;... Setting smtp_bind_address (http://www.postfix.org/postconf.5.html#smtp_bind_address) to the external address solves the issue.|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Zimbra Mail|Details=&lt;br /&gt;
Zimbra is many applications (including Postfix and MySQL and OpenLDAP and more) which try to take over the interfaces, and depend a lot on binding from 127.0.0.1 - it is not hard to change, but there is a couple of tricks - it is documented here - http://wiki.zimbra.com/index.php?title=Install_VServer|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=xine|Details=&lt;br /&gt;
xine won't start with no error message.&lt;br /&gt;
&amp;quot;xine --verbose&amp;quot; shows this.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ERROR: Could not determine network interfaces, you must use a interfaces config line&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This happens if you have the xineplug_inp_smb.so plugin. Delete it and everything is fine.|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=127.0.0.1 issues|Details=&lt;br /&gt;
I had problems with an application that wanted me to access it on 127.0.0.1 and AS 127.0.0.1 to be able to do its configuration. A simple tweak solved the problem. I renamed the default interface directory &amp;quot;0&amp;quot; in /etc/vservers/server/interfaces to &amp;quot;1&amp;quot; and created interface 0 as :&lt;br /&gt;
:dev lo&lt;br /&gt;
:ip 127.0.0.1&lt;br /&gt;
:mask 255.0.0.0&lt;br /&gt;
:name lo&lt;br /&gt;
&lt;br /&gt;
now interface &amp;quot;1&amp;quot; is the default created interface by the vserver build script with a local adress like 192.168.1.2 and interface &amp;quot;0&amp;quot; is the loopback. I can now telnet on 127.0.0.1 and it sees that im connecting to 127.0.0.1 from 127.0.0.1&lt;br /&gt;
&lt;br /&gt;
Compiling nagios-1.4 within a vserver requires this, otherwise it hangs during the configure with &amp;quot;checking for ICMP ping syntax...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font size=&amp;quot;+1&amp;quot; color=&amp;quot;red&amp;quot;&amp;gt; /!\ BIG FAT WARNING: DON'T DO THIS IT WILL ADD VSERVER ACCESS TO THE 127.0.0.1 OF THE HOST (quoting Bertl on irc) &amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Hula-project|Details=&lt;br /&gt;
Does not want to start :(|Signature=ProblematicPrograms}}&lt;/div&gt;</summary>
		<author><name>Gebura</name></author>	</entry>

	<entry>
		<id>http://linux-vserver.at/Frequently_Asked_Questions_scratch</id>
		<title>Frequently Asked Questions scratch</title>
		<link rel="alternate" type="text/html" href="http://linux-vserver.at/Frequently_Asked_Questions_scratch"/>
				<updated>2009-05-15T15:51:02Z</updated>
		
		<summary type="html">&lt;p&gt;Gebura: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== A. General ==&lt;br /&gt;
{{Question|Question=Credits||Details=&lt;br /&gt;
This FAQ includes information taken from the FAQs of Jacques GÃ©linas and Paul Sladen.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Are there other FAQs available?||Details=&lt;br /&gt;
Yes. There are other (mostly older) FAQ's available:&lt;br /&gt;
*[http://www.solucorp.qc.ca/howto.hc?projet=vserver Jacques GÃ©linas FAQ]&lt;br /&gt;
*[http://www.paul.sladen.org/vserver/faq/ Paul Sladen's vserver FAQ]&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Where can I find a overview of Linux-VServer?||Details=&lt;br /&gt;
*((short presentation))&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Linux-VServer Wikipedia Article]&lt;br /&gt;
*ProjectOverview (an introduction to the VServer Project, by ChuckD)&lt;br /&gt;
*[http://www.solucorp.qc.ca/miscprj/s_context.hc?prjstate=1&amp;amp;nodoc=0 Introduction by Jacques GÃ©linas]&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=How to verify that a setup is working properly?||Details=&lt;br /&gt;
*To verify that your setup works properly, there are some test scripts to check basic functionality.&lt;br /&gt;
 primarily [http://vserver.13thfloor.at/Stuff/SCRIPT/testme.sh testme.sh] and [http://vserver.13thfloor.at/Stuff/SCRIPT/testfs.sh testfs.sh] (see ((TestScripts)) for more details)|Signature=Linux-Vserver FAQ}}&lt;br /&gt;
&lt;br /&gt;
== B. Requirements ==&lt;br /&gt;
{{Question|Question=What hardware is supported by linux-vserver?||Details=&lt;br /&gt;
The following platforms are supported in the stable versions of linux-vserver.&lt;br /&gt;
*alpha&lt;br /&gt;
*i386 and higher (and compatible)&lt;br /&gt;
*ia32 / ia64&lt;br /&gt;
*mips / mips64&lt;br /&gt;
*hppa / hppa64&lt;br /&gt;
*ppc / ppc64&lt;br /&gt;
*sparc / sparc64&lt;br /&gt;
*s390 / s390x&lt;br /&gt;
*x86_64 (AMD64)&lt;br /&gt;
*uml/xen&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Which kernel versions are supported?||Details=&lt;br /&gt;
 recent 2.4 and 2.6 kernels (stable), recent 2.6 kernels (development). &lt;br /&gt;
 Some ancient versions of Linux-VServer are backported to 2.2.x kernels. You can find more information [http://vserver.digitalangel.com.au/ here].&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Can I run Linux-vserver on my favorite distribution?||Details=&lt;br /&gt;
Linux-VServer was originally developed on Red Hat/Mandriva, but it is rather distribution independent. It runs fine with other distributions (Debian, SuSE). Some distributions run a patched kernel, which can make it a bit harder to build a new kernel with Linux-VServer support|Signature=Linux-Vserver FAQ}}&lt;br /&gt;
&lt;br /&gt;
== C. Versions ==&lt;br /&gt;
{{Question|Question=What's the latest version of Linux-VServer?||Details=&lt;br /&gt;
You can find the [http://www.13thfloor.at/vserver/s_release latest stable 2.4 release] or [http://www.13thfloor.at/vserver/s_rel26 latest stable 2.6 release] as well as the [http://www.13thfloor.at/vserver/d_rel26 latest development release] at [http://www.13thfloor.at/vserver/ http://www.13thfloor.at/vserver/]&lt;br /&gt;
Check out the ((Release FAQ)) for information on releases and version numbering&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Where can I find prereleases and release candidates?||Details=&lt;br /&gt;
Check the [http://vserver.13thfloor.at/Experimental experimental area] for new patches.|Signature=Linux-Vserver FAQ}}&lt;br /&gt;
&lt;br /&gt;
== D. Tools (util-vserver and vserver) ==&lt;br /&gt;
{{Question|Question=What do I need them for?||Details=&lt;br /&gt;
These are the userspace tools for Linux-VServer. You need them to use the functionality of Linux-VServer.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=What's the difference between vserver and util-vserver?||Details=&lt;br /&gt;
The vserver package are the 'legacy utilities', written by Jacques GÃ©linas. &lt;br /&gt;
The util-vserver package is a reimplementation of these tools in C by Enrico Scholz, which follows the kernel development more closely. &lt;br /&gt;
util-vserver tools are currently considered the mainstream tools (You can't use both packages on the same machine.)&lt;br /&gt;
Both packages have their own version numbering. Don't let the version numbering confuse you.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Which version of the tools packages do I need? Do I have to upgrade?||Details=&lt;br /&gt;
*:It can be useful to have a recent version of the tools package installed on your box. It's a good idea to upgrade your tools when you upgrade your kernel. In the next list you find the versions you need to have at least, but it's a good idea to use more recent versions.&lt;br /&gt;
*linux-vserver 1.00&lt;br /&gt;
**vserver 0.26&lt;br /&gt;
**util-vserver 0.24&lt;br /&gt;
*linux-vserver 1.20&lt;br /&gt;
**vserver 0.28&lt;br /&gt;
**util-vserver 0.25&lt;br /&gt;
*linux-vserver 2.00&lt;br /&gt;
**util-vserver 0.30 or 0.30.209|Signature=Linux-Vserver FAQ}}&lt;br /&gt;
&lt;br /&gt;
== E. Download ==&lt;br /&gt;
{{Question|Question=Where can I dowload the latest version of:||Details=&lt;br /&gt;
*[http://www.13thfloor.at/vserver/ The kernel patch]&lt;br /&gt;
*[http://dns.solucorp.qc.ca/miscprj/s_context.hc?prjstate=1&amp;amp;nodoc=1 vserver]&lt;br /&gt;
*[http://savannah.nongnu.org/files/?group=util-vserver util-vserver]&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Distribution specific packages||Details=&lt;br /&gt;
*Red Hat&lt;br /&gt;
**[http://dns.solucorp.qc.ca/miscprj/s_context.hc?prjstate=1&amp;amp;nodoc=1 vserver]&lt;br /&gt;
*Mandrake&lt;br /&gt;
**[http://www.13thfloor.at/vserver/s_release/v1.00/ vserver]&lt;br /&gt;
*Debian&lt;br /&gt;
**[http://packages.debian.org/cgi-bin/search_packages.pl?keywords=vserver&amp;amp;searchon=names&amp;amp;subword=1&amp;amp;version=all&amp;amp;release=all vserver] - All Linux-VServer-related Debian-packages (Probably slow, +100 results).&lt;br /&gt;
**[http://packages.debian.org/cgi-bin/search_packages.pl?keywords=linux-image-2.6-vserver&amp;amp;searchon=names&amp;amp;subword=1&amp;amp;version=all&amp;amp;release=all Official precompiled kernels] - These are the official Debian kernels compiled with Linux-VServer-support.&lt;br /&gt;
**[http://packages.debian.org/cgi-bin/search_packages.pl?keywords=vserver-debiantools&amp;amp;searchon=names&amp;amp;subword=1&amp;amp;version=all&amp;amp;release=all vserver-debiantools] - These scripts install Debian straight off the web from Debian.org's world-wide network of mirrors.&lt;br /&gt;
*Gentoo&lt;br /&gt;
**[http://dev.croup.de/proj/gentoo-vps/wiki/VserverHowto vserver]|Signature=Linux-Vserver FAQ}}&lt;br /&gt;
&lt;br /&gt;
== F. Network Usage? ==&lt;br /&gt;
{{Question|Question=Is IPv6 supported?||Details=&lt;br /&gt;
At this moment, only IPv4 (the current most frequently used standard) is supported.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Can I put my vservers in different networks?||Details=&lt;br /&gt;
Yes you can. You have to bind your vserver to a interface on the host machine, but you can choose the interface in the configuration file of your vserver (in /etc/vservers/SERVER.conf). Make sure your host server does have an interface in the network you need on your vserver.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Is it possible for a vserver to have a other default gateway than the host machine does use?||Details=&lt;br /&gt;
Yes. Use iproute2 to set the default gateway.&lt;br /&gt;
You can find more information on routing in linux-vserver in [http://archives.linux-vserver.org/200311/0470.html this posting] on the mailinglist.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Can I use more than one IP address in a vserver||Details=&lt;br /&gt;
Yes you can. Edit the configuration file of the vserver (/etc/vservers/SERVER.conf).&lt;br /&gt;
In case you want to use example IP addresses on one interface&lt;br /&gt;
IPROOT=&amp;quot;10.1.2.3 10.1.2.12&amp;quot;&lt;br /&gt;
IPROOTDEV=&amp;quot;eth0&amp;quot;&lt;br /&gt;
In case you want to use 2 or more interfaces&lt;br /&gt;
IPROOT=&amp;quot;eth0:10.1.2.3 eth1:10.1.2.12&amp;quot;&lt;br /&gt;
IPROOTDEV=&amp;quot;&amp;quot;&lt;br /&gt;
In case you want to use IP-number in different subnets&lt;br /&gt;
IPROOT=&amp;quot;eth0:10.1.2.3/255.255.255.0 eth0:10.1.3.12/255.255.0.0&amp;quot;&lt;br /&gt;
IPROOTDEV=&amp;quot;&amp;quot;&lt;br /&gt;
If you are using vserver 2.0+ you have to create subdirectories in /etc/vserver/&amp;lt;vserver-name&amp;gt;/interfaces/ &lt;br /&gt;
for each IP you want to use, i.e.&lt;br /&gt;
/etc/vserver/&amp;lt;vserver-name&amp;gt;/interfaces/0&lt;br /&gt;
/etc/vserver/&amp;lt;vserver-name&amp;gt;/interfaces/1&lt;br /&gt;
These subdirectories have to contain files with the options you want to set. See the [[VServerConfiguration]] or [http://www.nongnu.org/util-vserver/doc/conf/configuration.html Flower page] for more info&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Is it possible to use the real device (eth0, eth1) instead of the device alias created by vserver?||Details=&lt;br /&gt;
Yes. Set up the IP aliases yourself on the host server&lt;br /&gt;
*Set IPROOT= to those IPs&lt;br /&gt;
*Unset IPROOTDEV so the vserver script won't try to setup the IP aliases.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Can I modify the behavior of my vservers?||Details=&lt;br /&gt;
There are a number of capabilities and flags that you can modify listed [http://linux-vserver.org/Caps+and+Flags here] (and [http://savannah.nongnu.org/cgi-bin/viewcvs/util-vserver/util-vserver/lib/cflags-v13.c?rev=HEAD here (cflags-v13.c)]).&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Were can I find more information on networking in Linux-VServer?||Details=&lt;br /&gt;
You can find more information on the internals of networking in Linux-VServer [http://vserver.13thfloor.at/Stuff/VServer-IP-Setup-0.1.txt here].|Signature=Linux-Vserver FAQ}}&lt;br /&gt;
&lt;br /&gt;
== G. Software compatibility ==&lt;br /&gt;
{{Question|Question=Bind does not work in a vserver||Details=&lt;br /&gt;
* capset failed&lt;br /&gt;
* The bind package expect to have the capability CAP_SYS_RESOURCE. &lt;br /&gt;
 It expects this because it was compiled this way on Linux and to increase its ulimit. &lt;br /&gt;
* By default, a vserver does not have this capability for a good reason, you may have a    look at 'man capabilities' to see how much control that capability allows. &lt;br /&gt;
* A vserver starts with some ulimit values and can only reduce them, not enlarge them.&lt;br /&gt;
* If you know what you are doing, you can give the capability to the vserver running bind.&lt;br /&gt;
* A securer solution is to compile bind without that requirement by specifying './configure --disable-linux-caps' &lt;br /&gt;
 It looks like you only can run bind as root once you compile bind with this option, but this should be fine inside a vserver.&lt;br /&gt;
* bind does not respond to queries&lt;br /&gt;
* Bind seems to have problems with a query socket check. Bind believes the query is comming on a non-query socket, and doesn't answer the request.&lt;br /&gt;
* putting &amp;quot;query-source address YOUR_VSERVER_IP;&amp;quot; in your named.conf solves this problem.&lt;br /&gt;
&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Is DHCP possible in a vserver?||Details=&lt;br /&gt;
It's possible to run a DHCP server inside a vserver, but it required a CAP_NET_RAW capability. &lt;br /&gt;
The solution for 2.6 kernel with new-style config is to add CAP_NET_RAW entry in the /etc/vserver/&amp;lt;vserver-name&amp;gt;/bcapabilities file, and it might be unnecessary to add 255.255.255.255 into bcast file, please read [[VServerConfiguration]] or [http://www.nongnu.org/util-vserver/doc/conf/configuration.html The Great Flower Page] for more details. If you are still use the legacy config, please read the answer below.&lt;br /&gt;
It's possible to run a DHCP server inside a vserver, but there is a catch. The set_ipv4root assigns one IP and one broadcast address to a vserver. UDP service listening to 0.0.0.0 (bind any) in a vserver are indeed listening to the vserver IP and vserver broadcast. &lt;br /&gt;
This is all they will get. This is fine for most services. &lt;br /&gt;
Unfortunately, dhcpd is receiving special broadcasts. Its clients are unaware of their IP number, so they are using special broadcast 255.255.255.255 address. &lt;br /&gt;
A vserver generally runs with the broadcast address of the network device (the one used to setup the IP alias). This network device has a broadcast address which is never 255.255.255.255. Those special broadcast are not sent to the vserver. The solution is to set the IPROOTBCAST entry in the vserver configuration file like this  IPROOTBCAST=255.255.255.255&lt;br /&gt;
Restart your vserver and dhcpd will work. There is a catch (at least with 2.4.18ctx-9). If you are using other services in the save vserver, also relying on broadcast for proper operation (samba for one), they won't operate properly. &lt;br /&gt;
One solution would be to enhance the semantics a little: A vserver would listen for its IP address, its broadcast address and also for 255.255.255.255. &lt;br /&gt;
The dhcpd case is probably very specific though. &lt;br /&gt;
&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=NFS-server||Details=&lt;br /&gt;
It's not posible to run a NFS-kernel server inside a vserver, to work securely this would need a lot of work. &lt;br /&gt;
You can try to run the NFS userspace server, the traditional Linux user space NFS server and UNFS3 are both reported to work.&lt;br /&gt;
take a look at ((NFS and portmap)) if you have problems with your portmap&lt;br /&gt;
&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Run Level Based Distributions as Ververs (Red Hat and such ....)||Details=&lt;br /&gt;
 If you see errors after the command vserver &amp;lt;name&amp;gt; stop like these:&lt;br /&gt;
&lt;br /&gt;
 Syncing hardware clock to system time hwclock is unable to get I/O port access:  the iopl(3) call failed FAILED]&lt;br /&gt;
 Turning off swap:  Not superuser.    [FAILED]&lt;br /&gt;
 Turning off quotas:  quotaoff: Can't stat() mounted device /dev/hdv1: No such file or directory&lt;br /&gt;
 Unmounting file systems:  umount2: No such file or directory umount: /vservers: not found&lt;br /&gt;
&lt;br /&gt;
 Then look for S* links in /etc/rc6.d/ and remove the one responsible for the errors. In RH9 it is called S01reboot&lt;br /&gt;
 A 'normal' server does some stuff on shutdown, like saving the time to the hwclock, or storing random pool data and finally invokes the reboot. Some of those actions are just not allowed in a vserver.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Vservers and X Windows||Details=&lt;br /&gt;
 Please see the ((Vservers and X)) page for information about this.&lt;br /&gt;
&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=sshd with X11-Forwarding in a vserver||Details=&lt;br /&gt;
 add ```'X11UseLocalhost no'``` to your sshd_config&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=See also: [ProblematicPrograms]||Details=&lt;br /&gt;
== H. Help ==&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Where can I find more information on the Linux-VServer project?||Details=&lt;br /&gt;
First have a look at the ((documentation)) section of the website. In case you can't find the answer here, have a look at the mailinglist archives. If this doesn't help jou, there is still a mailinglist and a IRC channel were you can ask for help.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Does the Linux-VServer project have a mailing list?||Details=&lt;br /&gt;
Yes. You can subscribe [http://list.linux-vserver.org/mailman/listinfo/vserver here]. Archives are located [http://list.linux-vserver.org/archive/vserver/ here].&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Is there a IRC channel ||Details=&lt;br /&gt;
Yes, join #vserver on irc.oftc.net.|Signature=Linux-Vserver FAQ}}&lt;br /&gt;
&lt;br /&gt;
== I. Issues ==&lt;br /&gt;
{{Question|Question=When starting or entering a vserver I get &amp;quot;''Error: /proc must be mounted''&amp;quot;. 'vserver-stat' and 'vps' are failing with &amp;quot;''open(&amp;quot;/proc/uptime&amp;quot;): No such file or directory''&amp;quot;.  Sometimes, other files in /proc are mentioned. What can I do?||Details=&lt;br /&gt;
Make sure that in devel and experimental the required proc entries are visible inside a vserver. With alpha utilities, execute the ||Details=vprocunhide||Details= script. See ((Proc-Security)) also.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Inside a vserver I can still use mknod to create devices, even without CAP_MKNOD capability. What's wrong? (this probably applies to all other capabilities but that was not tested)||Details=&lt;br /&gt;
This is probably a problem in your kernel configuration. If you include &amp;quot;Enable different security models&amp;quot; (CONFIG_SECURITY), then make sure to also include &amp;quot;Default Linux Capabilities&amp;quot; (CONFIG_SECURITY_CAPABILITIES) or compile it as a module. In this latter case you must insert the 'capability' module into the kernel. This is for example true for current (2.6.8.1) debian kernel configurations.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=After stopping/restarting a vserver my network is gone! What the hell?||Details=&lt;br /&gt;
 See above.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Only root can access any files in the vserver||Details=&lt;br /&gt;
 Check the permissions of the vserver's / directory. The 2.4 branch's chroot-escape blocker (chmod 0000 and chattr +t) is meant to be applied to the directory containing the vservers (for example /vservers) not the vservers' root directories themselves. If you revoked all permissions for a vserver's root directory, re-grant them with &amp;quot;chmod 0755 /path/to/vserver-root&amp;quot;.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=&amp;quot;daemon() failed: Success&amp;quot; - What? Succesfully failing?||Details=&lt;br /&gt;
 Not really vserver related but here's the answer: Somebody replaced your /dev/null with a regular file, create a real /dev/null and it will start working again. We got no idea why the error message happens to be so funny(?).&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=When I start a vserver, &amp;quot;FATAL: kernel too old&amp;quot; message appears and vserver can't be started||Details=&lt;br /&gt;
Edit your /etc/vservers/&amp;lt;vsname&amp;gt;/uts/release and define a value greater than kernel version&lt;br /&gt;
example, if you have a kernel &amp;quot;2.6.11&amp;quot;, set &amp;quot;2005&amp;quot; for example  :-)&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=I switched from old to new configuration and now all my ip addresses are gone!||Details=&lt;br /&gt;
They are not, ifconfig just doesn't show them. The new tools use 'iproute' instead of 'ifconfig' which allows you to use multiple interface addresses with the same label. In such cases, ifconfig shows only the first address for each label, which probably isn't available in the vserver. Unless you specify a name for an ip address, it will be given the interface name as label, eg. eth0, and ifconfig breaks. You can assign names to your interface addresses in the vserver configuration, see [[VServerConfiguration]] or [http://www.nongnu.org/util-vserver/doc/conf/configuration.html The Great Flower Page] for details.&lt;br /&gt;
Earlier, we said that the interface addresses were &amp;quot;nameless&amp;quot;, this was wrong. As said above, the addresses in question actually all have the same name/label. Knowing this we could actually virtualize the ioctl interface which ifconfig uses in a meaningful way, making ifconfig show the vserver's ip addresses as expected, even when it shares its label with other ip addresses (of course only if there aren't multiple ip addresses in the same vserver that share the same label, but that's an ifconfig limitation, not a vserver bug). The [http://www.13thfloor.at/~doener/vserver/patches/diff-2.6.16.5-vs2.0.2-rc16-devinet_ioctl.diff patch] should apply to most Linux-VServer versions for kernel 2.6 and will probably be included in future versions.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=When I enter/ssh into a vserver I can see all of the interfaces and interface aliases with ifconfig.||Details=&lt;br /&gt;
I experienced this after upgrading from a 2.4 to 2.6 kernel with vs-2.0 patch using legacy-method .conf files.  Upgrading from legacy-method to the new one (see [http://linux-vserver.org/Legacy-To-Newstyle-Config Converting From Legacy to New]) caused the problem to go away.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=I keep my vserver roots on their own devices.  I can unmount them but the device (like drbd or lvm) remains in use until all of my vservers are killed off (&amp;quot;Someone has opened the device for RW access&amp;quot;).||Details=&lt;br /&gt;
 When you mount something it is recorded in the current namespace.  When you start a vserver it makes copy of the namespace.  You can then unmount in the original  namespace without any problems, however the device is still in use.  This is because the device is still mounted in the new namespace.  You can do something like this: &amp;quot;vnamespace -e runningVserver umount /mnt/point&amp;quot;. After this you should be able to remove the device (drbdadm secondary /dev/drbd0 or whatever).&lt;br /&gt;
More information:&lt;br /&gt;
*[http://linux-vserver.org/Namespaces About Namespaces]&lt;br /&gt;
*[http://linux-vserver.org/advanced+DRBD+mount+issues DRBD Mount Issues]&lt;br /&gt;
*[http://list.linux-vserver.org/archive/vserver/msg11444.html This thread], which deals with the same issue.&lt;br /&gt;
*[http://list.linux-vserver.org/archive/vserver/msg10415.html This thread], terse but helpful.&lt;br /&gt;
*[http://www.gossamer-threads.com/lists/drbd/users/9282?page=last And this], a thread of related stuff.&lt;br /&gt;
WARNING: if you use the kernel cleanup feature then make sure you know what you are doing.  I didn't, it was ugly.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=When I stop a vserver its network alias does not go away, I am getting 'RTNETLINK answers: Cannot assign requested address||Details='&lt;br /&gt;
Try running 'ip addr' and see if the interface names are being truncated (note: I came across a thread that seems to suggest that this might happen even if the interface name is not being truncated?).  The function that kills the interface specifies its name, if it is truncated then 'ip' will not be able to find the interface.&lt;br /&gt;
Another cause might be that the IP was added (or already present at startup) with a different netmask, and therfore can not be removed properly&lt;br /&gt;
My solution to this is very, very gross.  Open up your vserver.functions file and find the disableInterfaces function.  If you change&lt;br /&gt;
IP_ADDR)            $_IP addr  del &amp;quot;$@&amp;quot;;;&lt;br /&gt;
to&lt;br /&gt;
IP_ADDR)            $(echo $_IP addr  del &amp;quot;$@&amp;quot;|sed 's/broadcast + label [^[:space:]]\+//');;&lt;br /&gt;
then ip will try to delete the interface by its IP alone.&lt;br /&gt;
Anyone with a better solution is strongly encouraged to modify this entry.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Why does the vserver run on a BSD fs (ufs) ?!||Details=&lt;br /&gt;
* I see something like: /dev/hdv1 / ufs defaults 0 0&lt;br /&gt;
The ufs part is correct and it is so to trick the quota tools to not try to lowlevel access the fs. The entry is FAKE anyway, ufs just solved this quota userland issue nicely (more or less).&lt;br /&gt;
* For details see: [http://list.linux-vserver.org/archive/vserver/msg09133.html] and [http://archives.linux-vserver.org/200401/0232.html]&lt;br /&gt;
* When I issue a ping it returns:&lt;br /&gt;
 [root@VServerGuest /]# ping 123.123.123.123&lt;br /&gt;
 connect: Invalid argument&lt;br /&gt;
* When I issue a DNS lookup it returns:&lt;br /&gt;
 [root@VServerGuest /]# host www.yahoo.ca&lt;br /&gt;
 socket.c: internal_send: 222.222.222.222#53: Invalid argument&lt;br /&gt;
 ;; connection timed out; no servers could be reached&lt;br /&gt;
* When I try to run vyum it returns:&lt;br /&gt;
 [root@VServerGuest /]# vyum VServerGuest -- check-update&lt;br /&gt;
 Cannot find a valid baseurl for repo: core&lt;br /&gt;
 Error: Cannot find a valid baseurl for repo: core&lt;br /&gt;
 Make sure that you have either a Public IP setup on the VServer Guest, or that you have a proper SNAT/DNAT rules setup on your VServer Host. After that, restart the vserver guest with the verbose option to see what your ipv4root is set to:&lt;br /&gt;
 [root@VServerGuest  /]# vserver -v VServerGuest start&lt;br /&gt;
 ipv4root is now 127.0.0.10 111.111.111.111&lt;br /&gt;
 New security context is 49156&lt;br /&gt;
 You must make sure the order of the interfaces are correct. The very first Interface (decided upon by alphabetical order of the interface directory name) for the VServer is the default IP used for all network connections. This must be either a public IP or an IP that has been D/SNAT'd.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== G. Problematic Programs ==&lt;br /&gt;
Some programs do things that might work on a normal host but not inside a V-Server. This is often not a fault of V-Server itself, the programs are doing automagic things which fail and no proper error handling is done. Also sometimes the actions need special rights which are not permitted by default in V-Servers. Allowing CAPs is often not necessary since those special CAPs are only required once (e.g. when the program initializes the directories/settings/whatever).&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=OpenGroupware Apache Module&lt;br /&gt;
||Details=If your V-Server doesn't have access to localhost, then the connection to the !OpenGroupware server will fail with a &amp;quot;Internal Server Error&amp;quot;.&lt;br /&gt;
The apache module for !OpenGroupware called mod_ngobjweb uses a hardcoded &amp;quot;127.0.0.1&amp;quot; IP address in the source (handler.c line 339), this line you need to change to the IP address that should be used (the IP of the V-Server that runs the OpenGroupware server)|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Hylafax (with CAPI)|Details=&lt;br /&gt;
:If you want to run hylafax in a V-Server, you will get a CAP and device problem which can be easily solved. First you need your capi20 devices in your V-Server, which can't be created by ./MAKEDEV (requires special CAPs) so copy the devices into the V-Server, like this (command run on the host):&lt;br /&gt;
:cp -aR /dev/capi* /vservers/your_vserver/dev&lt;br /&gt;
:Now hylafax can access your CAPI ISDN card but will exit after a few seconds, the problem is it tries to create a /dev/null nod in the hylafax chroot. This fails because of missing  CAPs, so lets help hylafax again with copying the nod into the hylafax chroot in the V-Server. Like this (command run on the host):&lt;br /&gt;
:cp -aR /dev/null /vservers/your_vserver/var/spool/hylafax/dev&lt;br /&gt;
:Allright, now hylafax should have CAPI access and run properly.|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Links inside screen inside a V-Server|Details=&lt;br /&gt;
:Don't know why, but links crashes systematically being inside a screen session inside a V-Server started outside a V-Server. (please elaborate!)|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=screen inside a VServer|Details=&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[root@ge root]# vserver zoe enter&lt;br /&gt;
&lt;br /&gt;
zoe:/# screen&lt;br /&gt;
Cannot open your terminal '/dev/pts/5' - please check.&lt;br /&gt;
&lt;br /&gt;
zoe:/# strace screen &lt;br /&gt;
...&lt;br /&gt;
stat64(&amp;quot;/dev/pts/5&amp;quot;, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 5), ...}) = 0&lt;br /&gt;
open(&amp;quot;/dev/pts/5&amp;quot;, O_RDWR|O_NONBLOCK)   = -1 EACCES (Permission denied)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:is neither a bug nor an issue with screen, it just shows that a vserver context is not allowed to mess with host terminals. either use ssh/telnet to reach the 'guest' or start the screen session before you do the 'enter' (i.e. on the host)|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=!OpenLDAP Startup|Details=&lt;br /&gt;
:slapd needs name resolution available in order to start up, otherwise it appears to hang. Make sure you have working DNS (or whatever) available to your vserver before starting one with slapd. This behavior is confirmed in my setup, no confirmation from others yet. My Setup: vservers all bind to an interface on a DMZ-like network segment, BIND runs on a vserver. slapd would hang at startup if the BIND vserver had not been started first.|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=rndc|Details=&lt;br /&gt;
:Bind's rndc has a hardcoded 127.0.0.1 somewhere so any command to rndc will fail with connection refused.&lt;br /&gt;
:You should have a reachable localhost address defined in /etc/hosts and then you can use rndc -s localhost command&lt;br /&gt;
:You can make a rndc.conf and set the default-server option, like that the '-s localhost' isn't necessary.|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Asterisk|Details=&lt;br /&gt;
:Since some version of Asterisk (at least since 1.0.2), it will not run anymore. On start it fails with: &amp;quot;Unable to set high priority&amp;quot;&lt;br /&gt;
:This can be solved by allowing CAP_SYS_NICE for that VServer.&lt;br /&gt;
:You can also not run Asterisk with the realtime priority :&lt;br /&gt;
:Just pass the '-p' command ligne argument to disable the read-time priority.&lt;br /&gt;
:.&lt;br /&gt;
:Good doc on setting up Asterisk devices in the vserver:&lt;br /&gt;
:http://www.telephreak.org/papers/vpa/|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Open/!FreeSwan|Details=&lt;br /&gt;
:Fails because of writing to /proc (requires patch)&lt;br /&gt;
:TODO: write me|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Samba|Details=&lt;br /&gt;
:Oplocks don't work as smbd insists on receiving break requests from 127.0.0.1 \\&lt;br /&gt;
Just patch source/smbd/oplock.c (commenting paranoid code)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
+++ oplock.c.orig       2005-02-14 14:27:51.000000000 +0200&lt;br /&gt;
--- oplock.c    2005-02-02 12:27:50.000000000 +0200&lt;br /&gt;
@@ -181,14 +181,12 @@&lt;br /&gt;
                return False;&lt;br /&gt;
        }&lt;br /&gt;
&lt;br /&gt;
+#if 0&lt;br /&gt;
     /* Validate message from address (must be localhost). */&lt;br /&gt;
        if(from.sin_addr.s_addr != htonl(INADDR_LOOPBACK)) {&lt;br /&gt;
                DEBUG(0,(&amp;quot;receive_local_message: invalid 'from' address \&lt;br /&gt;
 (was %lx should be 127.0.0.1)\n&amp;quot;, (long)from.sin_addr.s_addr));&lt;br /&gt;
                return False;&lt;br /&gt;
        }&lt;br /&gt;
+#endif&lt;br /&gt;
&lt;br /&gt;
        /* Setup the message header */&lt;br /&gt;
        SIVAL(buffer,OPBRK_CMD_LEN_OFFSET,msg_len);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
or if you don't want to patch the samba source code you can disable oplock in Samba and it will work too!&lt;br /&gt;
Just put the following in your smb.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
kernel oplocks = no&lt;br /&gt;
oplocks = no&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: The Vserver using Samba should also listen on the broadcast address. Thereby you will not be able to have two samba servers in the same net (on the same broadcast). |Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Samba from Debian 3.1|Details=&lt;br /&gt;
The samba deb in sarge (3.1) provided file sharing.  The only oddity observed is that the vserver guest running samba did not appear in a windows box's 'My Network Places'&lt;br /&gt;
    Use a WINS server. The SMB browsing protocol relies heavily on broadcasts on the local net, which are problematic with vservers. WINS resolution on the other hand is unicast and works flawlessly under vserver.|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Samba printer and file server with cups|Details=&lt;br /&gt;
:Samba runs correctly in a Mandriva (Mdk) 10.1 Vserver, (Apart from the above oplock problem ?).&lt;br /&gt;
: \\&lt;br /&gt;
First, edit your {{/etc/sysconfig/network}} file, and set {{networking}} to {{yes}} (This will solve problems for other services !):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cat /etc/sysconfig/network&lt;br /&gt;
NETWORKING=yes&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
Some more tweaking is needeed in {{/etc/smb.conf}}:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cat /etc/smb.conf&lt;br /&gt;
...&lt;br /&gt;
  # YOUR VSERVER IP/MASK HERE&lt;br /&gt;
  interfaces = xxx.xxx.xxx.xxx/mask&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
That's all !!!&lt;br /&gt;
: \\&lt;br /&gt;
But if you're using Samba + Cups to provide printing for Windows clients, AND if you want to use the {{Point and Print}} feature, there is more: In the {{[printers]}} section of your {{smb.conf}}, you should have the {{use client drivers}} directive set to {{no}}, or the driver upload procedure will fail !&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cat /etc/smb.conf&lt;br /&gt;
...&lt;br /&gt;
  use client driver = no&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
So, here is a full {{smb.conf}} file:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cat /etc/samba/smb.conf | awk '!/^$/ &amp;amp;&amp;amp; !/^\s*(#|;)/ {print $0}'&lt;br /&gt;
[global]&lt;br /&gt;
   workgroup = MYDOMAIN&lt;br /&gt;
   netbios name = MYHOSTNAME&lt;br /&gt;
   server string = MYCOMMENT (Samba %v)&lt;br /&gt;
   printcap name = cups&lt;br /&gt;
   load printers = yes&lt;br /&gt;
   printing = cups&lt;br /&gt;
   printer admin = @adm&lt;br /&gt;
   log file = /var/log/samba/log.%m&lt;br /&gt;
   max log size = 50&lt;br /&gt;
   map to guest = bad user&lt;br /&gt;
   security = domain&lt;br /&gt;
   password server = *&lt;br /&gt;
   encrypt passwords = yes&lt;br /&gt;
   smb passwd file = /etc/samba/smbpasswd&lt;br /&gt;
   username map = /etc/samba/smbusers&lt;br /&gt;
   idmap uid = 10000-20000&lt;br /&gt;
   idmap gid = 10000-20000&lt;br /&gt;
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192&lt;br /&gt;
   interfaces = 127. MYVSERVERIP/MYVSERVERMASK&lt;br /&gt;
   wins server = MYWINSIP&lt;br /&gt;
   dns proxy = no&lt;br /&gt;
   # for french users:&lt;br /&gt;
   dos charset = 850&lt;br /&gt;
   unix charset = ISO8859-1&lt;br /&gt;
[homes]&lt;br /&gt;
   comment = Home Directories&lt;br /&gt;
   browseable = no&lt;br /&gt;
   writable = no&lt;br /&gt;
[printers]&lt;br /&gt;
   comment = All Printers&lt;br /&gt;
   path = /var/spool/samba&lt;br /&gt;
   browseable = no&lt;br /&gt;
   guest ok = no&lt;br /&gt;
   writable = no&lt;br /&gt;
   printable = yes&lt;br /&gt;
   create mode = 0700&lt;br /&gt;
   print command = lpr-cups -P %p -o raw %s -r   # using client side printer drivers.&lt;br /&gt;
   use client driver = no&lt;br /&gt;
[print$]&lt;br /&gt;
   path = /var/lib/samba/printers&lt;br /&gt;
   browseable = yes&lt;br /&gt;
   write list = @adm root&lt;br /&gt;
   guest ok = yes&lt;br /&gt;
   inherit permissions = yes&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
...And a working smbusers:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Unix_name = SMB_name1 SMB_name2 ...&lt;br /&gt;
root = administrator MYDOMAIN\administrator&lt;br /&gt;
nobody = guest pcguest smbguest&lt;br /&gt;
&amp;lt;/pre&amp;gt;|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Cups print server|Details=&lt;br /&gt;
: Symptoms: The Cups init script exits with:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Starting CUPS printing system: cupsd: Child exited with status 98!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
And the logs ({{/var/log/cups/error_log}}) show:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
E [date:hour...] StartListening: Unable to bind socket for address 0.0.0.0:631 - Address already in use.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:...Or something like this.&lt;br /&gt;
: \\&lt;br /&gt;
With a correct &amp;quot;cupsd.conf file&amp;quot; (Tested version 1.1.21-0.rc1.7mdk, on Mandrake 10.1 - Now Mandriva), it works; All we need is to remove references to {{127.0.0.1}} or {{localhost}} from the file, as well as correctly unsetting the {{Listen}} directive:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
LogLevel info&lt;br /&gt;
TempDir /var/spool/cups/tmp&lt;br /&gt;
# No 'Listen' directive !&lt;br /&gt;
Port 631&lt;br /&gt;
BrowseAddress @LOCAL&lt;br /&gt;
BrowseDeny All&lt;br /&gt;
BrowseAllow @LOCAL&lt;br /&gt;
BrowseOrder deny,allow&lt;br /&gt;
&amp;lt;Location /&amp;gt;&lt;br /&gt;
  Order Deny,Allow&lt;br /&gt;
  Deny From All&lt;br /&gt;
  Allow From @LOCAL&lt;br /&gt;
&amp;lt;/Location&amp;gt;&lt;br /&gt;
&amp;lt;Location /admin&amp;gt;&lt;br /&gt;
  AuthType Basic&lt;br /&gt;
  AuthClass System&lt;br /&gt;
  Order Deny,Allow&lt;br /&gt;
  Deny From All&lt;br /&gt;
  Allow From YOUR_NETWORK_ADDRESS/YOUR_NETMASK # Example: 172.16.0.0/24&lt;br /&gt;
# Or&lt;br /&gt;
  Allow From @LOCAL&lt;br /&gt;
&amp;lt;/Location&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
Then you'll need to modify the {{/etc/init.d/cups}} script, to comment any section referring to {{127.0.0.1}} lookup and configuration. This section exists at least on Mandrake 10.1, and is pretty long (Lines 35 to 55 and/or 79), and additionnaly four &amp;quot;{{else...if}}&amp;quot; lines must be commented far below (Lines 161 to 164) !&lt;br /&gt;
: \\&lt;br /&gt;
Remember to stop any Cupsd running in the host server, or to start it ''via'' a wrapper {{/etc/init.d/v_cups}} script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
# chkconfig: 2345 15 60&lt;br /&gt;
# description: Wrapper to start cups bound to a single IP&lt;br /&gt;
USR_LIB_VSERVER=/usr/lib/util-vserver&lt;br /&gt;
exec $USR_LIB_VSERVER/vsysvwrapper cups $*&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
Do not forget to give a password to the root user, if you want to ba able to manage your printers from the web interface (http://yourcupsvserver:631)!&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# passwd root&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
If you use Mandriva 10.1 (And maybe some other distros), you&amp;amp;#8217;ll need to add the printers drivers for Cups, and reload it:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# urpmi --root /vservers/yourcupsvserver/ cups-drivers&lt;br /&gt;
# /etc/init.d/cups reload&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
&amp;amp;#8230;It added 67 Mb of packages for me.&lt;br /&gt;
: \\&lt;br /&gt;
Then use {{/etc/init.d/v_cups (re)start}} to launch Cups on the host server.&lt;br /&gt;
:You will now be able to make Cupsd start in the vserver , but more tweaking on the ACLs may be necessary to avoid authentification problems...|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Bind9 on Debian GNU/Linux Woody (3.0) and Sarge (3.1)|Details=&lt;br /&gt;
:named provided by the bind9 binary packages fails to start because it is compiled with CAPs option.&lt;br /&gt;
: \\&lt;br /&gt;
The debian way is to build** your own package without CAPs:&lt;br /&gt;
: \\&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
su -&lt;br /&gt;
cd /usr/src&lt;br /&gt;
apt-get build-dep bind9&lt;br /&gt;
apt-get source bind9&lt;br /&gt;
cd bind9-x.x.x&lt;br /&gt;
vi debian/rules&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
Insert the following line after &amp;quot;./configure --prefix=/usr \&amp;quot;:&lt;br /&gt;
: \\&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--disable-linux-caps \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
On a NPTL-enabled system you alse have to replace \\&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--enable-threads \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: with \\&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--disable-threads \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: or bind might refuse to run with an other user than root.&lt;br /&gt;
: \\&lt;br /&gt;
Save the file and go ahead with compiling/installing:&lt;br /&gt;
: \\&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
dpkg-buildpackage&lt;br /&gt;
dpkg -i ../bind9-x.x.x.deb&lt;br /&gt;
echo &amp;quot;bind9 hold&amp;quot; | dpkg --set-selections&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
The last line is to set the package &amp;quot;on hold&amp;quot;, so it is not touched by the update process. you have to take care of security holes by yourself now!&lt;br /&gt;
: \\&lt;br /&gt;
The Xs in &amp;quot;bind9-x.x.x&amp;quot; denote the version number of bind9.&lt;br /&gt;
: \\&lt;br /&gt;
&lt;br /&gt;
** Alternatively you can allow the CAP_SYS_RESOURCE for that V-Server.&lt;br /&gt;
&lt;br /&gt;
The best way would be to fix bind, which is somehow broken when it comes to capabilities.&lt;br /&gt;
Daniel Hokka Zakrisson repaired it. His patch is to be found here:&lt;br /&gt;
&lt;br /&gt;
[http://daniel.hozac.com/stuff/bind-9.3.2-caps-when-available.patch bind-9.3.2-caps-when-available.patch]&lt;br /&gt;
So, if you recompile, it would be the cleanest way to apply that patch. Thanks Daniel!&lt;br /&gt;
&lt;br /&gt;
It would be also nice, if someone submits that patch to the bind people or maybe to your distribution's package maintainers in the first step.&lt;br /&gt;
&lt;br /&gt;
Get my [http://linux-vserver.derjohn.de/bind9-packages/bind9-capacheck_9.3.2-2_i386.deb vserver-guest-ready Debian bind9 package] for Debian Sid guests. Feedback welcome: aj@net-lab.net|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Postfix 2.1.5 (Debian Sarge)|Details=&lt;br /&gt;
:On a vserver with two interfaces (lo and eth0), and a postfix 2.1.5 listening on lo, postfix can't send emails : &amp;quot;Invalid argument&amp;quot;... Setting smtp_bind_address (http://www.postfix.org/postconf.5.html#smtp_bind_address) to the external address solves the issue.|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Zimbra Mail|Details=&lt;br /&gt;
Zimbra is many applications (including Postfix and MySQL and OpenLDAP and more) which try to take over the interfaces, and depend a lot on binding from 127.0.0.1 - it is not hard to change, but there is a couple of tricks - it is documented here - http://wiki.zimbra.com/index.php?title=Install_VServer|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=xine|Details=&lt;br /&gt;
xine won't start with no error message.&lt;br /&gt;
&amp;quot;xine --verbose&amp;quot; shows this.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ERROR: Could not determine network interfaces, you must use a interfaces config line&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This happens if you have the xineplug_inp_smb.so plugin. Delete it and everything is fine.|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=127.0.0.1 issues|Details=&lt;br /&gt;
I had problems with an application that wanted me to access it on 127.0.0.1 and AS 127.0.0.1 to be able to do its configuration. A simple tweak solved the problem. I renamed the default interface directory &amp;quot;0&amp;quot; in /etc/vservers/server/interfaces to &amp;quot;1&amp;quot; and created interface 0 as :&lt;br /&gt;
:dev lo&lt;br /&gt;
:ip 127.0.0.1&lt;br /&gt;
:mask 255.0.0.0&lt;br /&gt;
:name lo&lt;br /&gt;
&lt;br /&gt;
now interface &amp;quot;1&amp;quot; is the default created interface by the vserver build script with a local adress like 192.168.1.2 and interface &amp;quot;0&amp;quot; is the loopback. I can now telnet on 127.0.0.1 and it sees that im connecting to 127.0.0.1 from 127.0.0.1&lt;br /&gt;
&lt;br /&gt;
Compiling nagios-1.4 within a vserver requires this, otherwise it hangs during the configure with &amp;quot;checking for ICMP ping syntax...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[red] /!\ BIG FAT WARNING: DON'T DO THIS IT WILL ADD VSERVER ACCESS TO THE 127.0.0.1 OF THE HOST (quoting Bertl on irc) [/red]&lt;br /&gt;
&lt;br /&gt;
|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Hula-project|Details=&lt;br /&gt;
Does not want to start :(|Signature=ProblematicPrograms}}&lt;/div&gt;</summary>
		<author><name>Gebura</name></author>	</entry>

	<entry>
		<id>http://linux-vserver.at/Frequently_Asked_Questions_scratch</id>
		<title>Frequently Asked Questions scratch</title>
		<link rel="alternate" type="text/html" href="http://linux-vserver.at/Frequently_Asked_Questions_scratch"/>
				<updated>2009-05-15T15:50:27Z</updated>
		
		<summary type="html">&lt;p&gt;Gebura: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== A. General ==&lt;br /&gt;
{{Question|Question=Credits||Details=&lt;br /&gt;
This FAQ includes information taken from the FAQs of Jacques GÃ©linas and Paul Sladen.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Are there other FAQs available?||Details=&lt;br /&gt;
Yes. There are other (mostly older) FAQ's available:&lt;br /&gt;
*[http://www.solucorp.qc.ca/howto.hc?projet=vserver Jacques GÃ©linas FAQ]&lt;br /&gt;
*[http://www.paul.sladen.org/vserver/faq/ Paul Sladen's vserver FAQ]&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Where can I find a overview of Linux-VServer?||Details=&lt;br /&gt;
*((short presentation))&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Linux-VServer Wikipedia Article]&lt;br /&gt;
*ProjectOverview (an introduction to the VServer Project, by ChuckD)&lt;br /&gt;
*[http://www.solucorp.qc.ca/miscprj/s_context.hc?prjstate=1&amp;amp;nodoc=0 Introduction by Jacques GÃ©linas]&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=How to verify that a setup is working properly?||Details=&lt;br /&gt;
*To verify that your setup works properly, there are some test scripts to check basic functionality.&lt;br /&gt;
 primarily [http://vserver.13thfloor.at/Stuff/SCRIPT/testme.sh testme.sh] and [http://vserver.13thfloor.at/Stuff/SCRIPT/testfs.sh testfs.sh] (see ((TestScripts)) for more details)|Signature=Linux-Vserver FAQ}}&lt;br /&gt;
&lt;br /&gt;
== B. Requirements ==&lt;br /&gt;
{{Question|Question=What hardware is supported by linux-vserver?||Details=&lt;br /&gt;
The following platforms are supported in the stable versions of linux-vserver.&lt;br /&gt;
*alpha&lt;br /&gt;
*i386 and higher (and compatible)&lt;br /&gt;
*ia32 / ia64&lt;br /&gt;
*mips / mips64&lt;br /&gt;
*hppa / hppa64&lt;br /&gt;
*ppc / ppc64&lt;br /&gt;
*sparc / sparc64&lt;br /&gt;
*s390 / s390x&lt;br /&gt;
*x86_64 (AMD64)&lt;br /&gt;
*uml/xen&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Which kernel versions are supported?||Details=&lt;br /&gt;
 recent 2.4 and 2.6 kernels (stable), recent 2.6 kernels (development). &lt;br /&gt;
 Some ancient versions of Linux-VServer are backported to 2.2.x kernels. You can find more information [http://vserver.digitalangel.com.au/ here].&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Can I run Linux-vserver on my favorite distribution?||Details=&lt;br /&gt;
Linux-VServer was originally developed on Red Hat/Mandriva, but it is rather distribution independent. It runs fine with other distributions (Debian, SuSE). Some distributions run a patched kernel, which can make it a bit harder to build a new kernel with Linux-VServer support|Signature=Linux-Vserver FAQ}}&lt;br /&gt;
&lt;br /&gt;
== C. Versions ==&lt;br /&gt;
{{Question|Question=What's the latest version of Linux-VServer?||Details=&lt;br /&gt;
You can find the [http://www.13thfloor.at/vserver/s_release latest stable 2.4 release] or [http://www.13thfloor.at/vserver/s_rel26 latest stable 2.6 release] as well as the [http://www.13thfloor.at/vserver/d_rel26 latest development release] at [http://www.13thfloor.at/vserver/ http://www.13thfloor.at/vserver/]&lt;br /&gt;
Check out the ((Release FAQ)) for information on releases and version numbering&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Where can I find prereleases and release candidates?||Details=&lt;br /&gt;
Check the [http://vserver.13thfloor.at/Experimental experimental area] for new patches.|Signature=Linux-Vserver FAQ}}&lt;br /&gt;
&lt;br /&gt;
== D. Tools (util-vserver and vserver) ==&lt;br /&gt;
{{Question|Question=What do I need them for?||Details=&lt;br /&gt;
These are the userspace tools for Linux-VServer. You need them to use the functionality of Linux-VServer.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=What's the difference between vserver and util-vserver?||Details=&lt;br /&gt;
The vserver package are the 'legacy utilities', written by Jacques GÃ©linas. &lt;br /&gt;
The util-vserver package is a reimplementation of these tools in C by Enrico Scholz, which follows the kernel development more closely. &lt;br /&gt;
util-vserver tools are currently considered the mainstream tools (You can't use both packages on the same machine.)&lt;br /&gt;
Both packages have their own version numbering. Don't let the version numbering confuse you.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Which version of the tools packages do I need? Do I have to upgrade?||Details=&lt;br /&gt;
*:It can be useful to have a recent version of the tools package installed on your box. It's a good idea to upgrade your tools when you upgrade your kernel. In the next list you find the versions you need to have at least, but it's a good idea to use more recent versions.&lt;br /&gt;
*linux-vserver 1.00&lt;br /&gt;
**vserver 0.26&lt;br /&gt;
**util-vserver 0.24&lt;br /&gt;
*linux-vserver 1.20&lt;br /&gt;
**vserver 0.28&lt;br /&gt;
**util-vserver 0.25&lt;br /&gt;
*linux-vserver 2.00&lt;br /&gt;
**util-vserver 0.30 or 0.30.209|Signature=Linux-Vserver FAQ}}&lt;br /&gt;
&lt;br /&gt;
== E. Download ==&lt;br /&gt;
{{Question|Question=Where can I dowload the latest version of:||Details=&lt;br /&gt;
*[http://www.13thfloor.at/vserver/ The kernel patch]&lt;br /&gt;
*[http://dns.solucorp.qc.ca/miscprj/s_context.hc?prjstate=1&amp;amp;nodoc=1 vserver]&lt;br /&gt;
*[http://savannah.nongnu.org/files/?group=util-vserver util-vserver]&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Distribution specific packages||Details=&lt;br /&gt;
*Red Hat&lt;br /&gt;
**[http://dns.solucorp.qc.ca/miscprj/s_context.hc?prjstate=1&amp;amp;nodoc=1 vserver]&lt;br /&gt;
*Mandrake&lt;br /&gt;
**[http://www.13thfloor.at/vserver/s_release/v1.00/ vserver]&lt;br /&gt;
*Debian&lt;br /&gt;
**[http://packages.debian.org/cgi-bin/search_packages.pl?keywords=vserver&amp;amp;searchon=names&amp;amp;subword=1&amp;amp;version=all&amp;amp;release=all vserver] - All Linux-VServer-related Debian-packages (Probably slow, +100 results).&lt;br /&gt;
**[http://packages.debian.org/cgi-bin/search_packages.pl?keywords=linux-image-2.6-vserver&amp;amp;searchon=names&amp;amp;subword=1&amp;amp;version=all&amp;amp;release=all Official precompiled kernels] - These are the official Debian kernels compiled with Linux-VServer-support.&lt;br /&gt;
**[http://packages.debian.org/cgi-bin/search_packages.pl?keywords=vserver-debiantools&amp;amp;searchon=names&amp;amp;subword=1&amp;amp;version=all&amp;amp;release=all vserver-debiantools] - These scripts install Debian straight off the web from Debian.org's world-wide network of mirrors.&lt;br /&gt;
*Gentoo&lt;br /&gt;
**[http://dev.croup.de/proj/gentoo-vps/wiki/VserverHowto vserver]|Signature=Linux-Vserver FAQ}}&lt;br /&gt;
&lt;br /&gt;
== F. Network Usage? ==&lt;br /&gt;
{{Question|Question=Is IPv6 supported?||Details=&lt;br /&gt;
At this moment, only IPv4 (the current most frequently used standard) is supported.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Can I put my vservers in different networks?||Details=&lt;br /&gt;
Yes you can. You have to bind your vserver to a interface on the host machine, but you can choose the interface in the configuration file of your vserver (in /etc/vservers/SERVER.conf). Make sure your host server does have an interface in the network you need on your vserver.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Is it possible for a vserver to have a other default gateway than the host machine does use?||Details=&lt;br /&gt;
Yes. Use iproute2 to set the default gateway.&lt;br /&gt;
You can find more information on routing in linux-vserver in [http://archives.linux-vserver.org/200311/0470.html this posting] on the mailinglist.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Can I use more than one IP address in a vserver||Details=&lt;br /&gt;
Yes you can. Edit the configuration file of the vserver (/etc/vservers/SERVER.conf).&lt;br /&gt;
In case you want to use example IP addresses on one interface&lt;br /&gt;
IPROOT=&amp;quot;10.1.2.3 10.1.2.12&amp;quot;&lt;br /&gt;
IPROOTDEV=&amp;quot;eth0&amp;quot;&lt;br /&gt;
In case you want to use 2 or more interfaces&lt;br /&gt;
IPROOT=&amp;quot;eth0:10.1.2.3 eth1:10.1.2.12&amp;quot;&lt;br /&gt;
IPROOTDEV=&amp;quot;&amp;quot;&lt;br /&gt;
In case you want to use IP-number in different subnets&lt;br /&gt;
IPROOT=&amp;quot;eth0:10.1.2.3/255.255.255.0 eth0:10.1.3.12/255.255.0.0&amp;quot;&lt;br /&gt;
IPROOTDEV=&amp;quot;&amp;quot;&lt;br /&gt;
If you are using vserver 2.0+ you have to create subdirectories in /etc/vserver/&amp;lt;vserver-name&amp;gt;/interfaces/ &lt;br /&gt;
for each IP you want to use, i.e.&lt;br /&gt;
/etc/vserver/&amp;lt;vserver-name&amp;gt;/interfaces/0&lt;br /&gt;
/etc/vserver/&amp;lt;vserver-name&amp;gt;/interfaces/1&lt;br /&gt;
These subdirectories have to contain files with the options you want to set. See the [[VServerConfiguration]] or [http://www.nongnu.org/util-vserver/doc/conf/configuration.html Flower page] for more info&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Is it possible to use the real device (eth0, eth1) instead of the device alias created by vserver?||Details=&lt;br /&gt;
Yes. Set up the IP aliases yourself on the host server&lt;br /&gt;
*Set IPROOT= to those IPs&lt;br /&gt;
*Unset IPROOTDEV so the vserver script won't try to setup the IP aliases.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Can I modify the behavior of my vservers?||Details=&lt;br /&gt;
There are a number of capabilities and flags that you can modify listed [http://linux-vserver.org/Caps+and+Flags here] (and [http://savannah.nongnu.org/cgi-bin/viewcvs/util-vserver/util-vserver/lib/cflags-v13.c?rev=HEAD here (cflags-v13.c)]).&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Were can I find more information on networking in Linux-VServer?||Details=&lt;br /&gt;
You can find more information on the internals of networking in Linux-VServer [http://vserver.13thfloor.at/Stuff/VServer-IP-Setup-0.1.txt here].|Signature=Linux-Vserver FAQ}}&lt;br /&gt;
&lt;br /&gt;
== G. Software compatibility ==&lt;br /&gt;
{{Question|Question=Bind does not work in a vserver||Details=&lt;br /&gt;
* capset failed&lt;br /&gt;
* The bind package expect to have the capability CAP_SYS_RESOURCE. &lt;br /&gt;
 It expects this because it was compiled this way on Linux and to increase its ulimit. &lt;br /&gt;
* By default, a vserver does not have this capability for a good reason, you may have a    look at 'man capabilities' to see how much control that capability allows. &lt;br /&gt;
* A vserver starts with some ulimit values and can only reduce them, not enlarge them.&lt;br /&gt;
* If you know what you are doing, you can give the capability to the vserver running bind.&lt;br /&gt;
* A securer solution is to compile bind without that requirement by specifying './configure --disable-linux-caps' &lt;br /&gt;
 It looks like you only can run bind as root once you compile bind with this option, but this should be fine inside a vserver.&lt;br /&gt;
* bind does not respond to queries&lt;br /&gt;
* Bind seems to have problems with a query socket check. Bind believes the query is comming on a non-query socket, and doesn't answer the request.&lt;br /&gt;
* putting &amp;quot;query-source address YOUR_VSERVER_IP;&amp;quot; in your named.conf solves this problem.&lt;br /&gt;
&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Is DHCP possible in a vserver?||Details=&lt;br /&gt;
It's possible to run a DHCP server inside a vserver, but it required a CAP_NET_RAW capability. &lt;br /&gt;
The solution for 2.6 kernel with new-style config is to add CAP_NET_RAW entry in the /etc/vserver/&amp;lt;vserver-name&amp;gt;/bcapabilities file, and it might be unnecessary to add 255.255.255.255 into bcast file, please read [[VServerConfiguration]] or [http://www.nongnu.org/util-vserver/doc/conf/configuration.html The Great Flower Page] for more details. If you are still use the legacy config, please read the answer below.&lt;br /&gt;
It's possible to run a DHCP server inside a vserver, but there is a catch. The set_ipv4root assigns one IP and one broadcast address to a vserver. UDP service listening to 0.0.0.0 (bind any) in a vserver are indeed listening to the vserver IP and vserver broadcast. &lt;br /&gt;
This is all they will get. This is fine for most services. &lt;br /&gt;
Unfortunately, dhcpd is receiving special broadcasts. Its clients are unaware of their IP number, so they are using special broadcast 255.255.255.255 address. &lt;br /&gt;
A vserver generally runs with the broadcast address of the network device (the one used to setup the IP alias). This network device has a broadcast address which is never 255.255.255.255. Those special broadcast are not sent to the vserver. The solution is to set the IPROOTBCAST entry in the vserver configuration file like this  IPROOTBCAST=255.255.255.255&lt;br /&gt;
Restart your vserver and dhcpd will work. There is a catch (at least with 2.4.18ctx-9). If you are using other services in the save vserver, also relying on broadcast for proper operation (samba for one), they won't operate properly. &lt;br /&gt;
One solution would be to enhance the semantics a little: A vserver would listen for its IP address, its broadcast address and also for 255.255.255.255. &lt;br /&gt;
The dhcpd case is probably very specific though. &lt;br /&gt;
&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=NFS-server||Details=&lt;br /&gt;
It's not posible to run a NFS-kernel server inside a vserver, to work securely this would need a lot of work. &lt;br /&gt;
You can try to run the NFS userspace server, the traditional Linux user space NFS server and UNFS3 are both reported to work.&lt;br /&gt;
take a look at ((NFS and portmap)) if you have problems with your portmap&lt;br /&gt;
&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Run Level Based Distributions as Ververs (Red Hat and such ....)||Details=&lt;br /&gt;
 If you see errors after the command vserver &amp;lt;name&amp;gt; stop like these:&lt;br /&gt;
&lt;br /&gt;
 Syncing hardware clock to system time hwclock is unable to get I/O port access:  the iopl(3) call failed FAILED]&lt;br /&gt;
 Turning off swap:  Not superuser.    [FAILED]&lt;br /&gt;
 Turning off quotas:  quotaoff: Can't stat() mounted device /dev/hdv1: No such file or directory&lt;br /&gt;
 Unmounting file systems:  umount2: No such file or directory umount: /vservers: not found&lt;br /&gt;
&lt;br /&gt;
 Then look for S* links in /etc/rc6.d/ and remove the one responsible for the errors. In RH9 it is called S01reboot&lt;br /&gt;
 A 'normal' server does some stuff on shutdown, like saving the time to the hwclock, or storing random pool data and finally invokes the reboot. Some of those actions are just not allowed in a vserver.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Vservers and X Windows||Details=&lt;br /&gt;
 Please see the ((Vservers and X)) page for information about this.&lt;br /&gt;
&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=sshd with X11-Forwarding in a vserver||Details=&lt;br /&gt;
 add ```'X11UseLocalhost no'``` to your sshd_config&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=See also: [ProblematicPrograms]||Details=&lt;br /&gt;
== H. Help ==&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Where can I find more information on the Linux-VServer project?||Details=&lt;br /&gt;
First have a look at the ((documentation)) section of the website. In case you can't find the answer here, have a look at the mailinglist archives. If this doesn't help jou, there is still a mailinglist and a IRC channel were you can ask for help.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Does the Linux-VServer project have a mailing list?||Details=&lt;br /&gt;
Yes. You can subscribe [http://list.linux-vserver.org/mailman/listinfo/vserver here]. Archives are located [http://list.linux-vserver.org/archive/vserver/ here].&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Is there a IRC channel ||Details=&lt;br /&gt;
Yes, join #vserver on irc.oftc.net.|Signature=Linux-Vserver FAQ}}&lt;br /&gt;
&lt;br /&gt;
== I. Issues ==&lt;br /&gt;
{{Question|Question=When starting or entering a vserver I get &amp;quot;''Error: /proc must be mounted''&amp;quot;. 'vserver-stat' and 'vps' are failing with &amp;quot;''open(&amp;quot;/proc/uptime&amp;quot;): No such file or directory''&amp;quot;.  Sometimes, other files in /proc are mentioned. What can I do?||Details=&lt;br /&gt;
Make sure that in devel and experimental the required proc entries are visible inside a vserver. With alpha utilities, execute the ||Details=vprocunhide||Details= script. See ((Proc-Security)) also.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Inside a vserver I can still use mknod to create devices, even without CAP_MKNOD capability. What's wrong? (this probably applies to all other capabilities but that was not tested)||Details=&lt;br /&gt;
This is probably a problem in your kernel configuration. If you include &amp;quot;Enable different security models&amp;quot; (CONFIG_SECURITY), then make sure to also include &amp;quot;Default Linux Capabilities&amp;quot; (CONFIG_SECURITY_CAPABILITIES) or compile it as a module. In this latter case you must insert the 'capability' module into the kernel. This is for example true for current (2.6.8.1) debian kernel configurations.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=After stopping/restarting a vserver my network is gone! What the hell?||Details=&lt;br /&gt;
 See above.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Only root can access any files in the vserver||Details=&lt;br /&gt;
 Check the permissions of the vserver's / directory. The 2.4 branch's chroot-escape blocker (chmod 0000 and chattr +t) is meant to be applied to the directory containing the vservers (for example /vservers) not the vservers' root directories themselves. If you revoked all permissions for a vserver's root directory, re-grant them with &amp;quot;chmod 0755 /path/to/vserver-root&amp;quot;.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=&amp;quot;daemon() failed: Success&amp;quot; - What? Succesfully failing?||Details=&lt;br /&gt;
 Not really vserver related but here's the answer: Somebody replaced your /dev/null with a regular file, create a real /dev/null and it will start working again. We got no idea why the error message happens to be so funny(?).&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=When I start a vserver, &amp;quot;FATAL: kernel too old&amp;quot; message appears and vserver can't be started||Details=&lt;br /&gt;
Edit your /etc/vservers/&amp;lt;vsname&amp;gt;/uts/release and define a value greater than kernel version&lt;br /&gt;
example, if you have a kernel &amp;quot;2.6.11&amp;quot;, set &amp;quot;2005&amp;quot; for example  :-)&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=I switched from old to new configuration and now all my ip addresses are gone!||Details=&lt;br /&gt;
They are not, ifconfig just doesn't show them. The new tools use 'iproute' instead of 'ifconfig' which allows you to use multiple interface addresses with the same label. In such cases, ifconfig shows only the first address for each label, which probably isn't available in the vserver. Unless you specify a name for an ip address, it will be given the interface name as label, eg. eth0, and ifconfig breaks. You can assign names to your interface addresses in the vserver configuration, see [[VServerConfiguration]] or [http://www.nongnu.org/util-vserver/doc/conf/configuration.html The Great Flower Page] for details.&lt;br /&gt;
Earlier, we said that the interface addresses were &amp;quot;nameless&amp;quot;, this was wrong. As said above, the addresses in question actually all have the same name/label. Knowing this we could actually virtualize the ioctl interface which ifconfig uses in a meaningful way, making ifconfig show the vserver's ip addresses as expected, even when it shares its label with other ip addresses (of course only if there aren't multiple ip addresses in the same vserver that share the same label, but that's an ifconfig limitation, not a vserver bug). The [http://www.13thfloor.at/~doener/vserver/patches/diff-2.6.16.5-vs2.0.2-rc16-devinet_ioctl.diff patch] should apply to most Linux-VServer versions for kernel 2.6 and will probably be included in future versions.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=When I enter/ssh into a vserver I can see all of the interfaces and interface aliases with ifconfig.||Details=&lt;br /&gt;
I experienced this after upgrading from a 2.4 to 2.6 kernel with vs-2.0 patch using legacy-method .conf files.  Upgrading from legacy-method to the new one (see [http://linux-vserver.org/Legacy-To-Newstyle-Config Converting From Legacy to New]) caused the problem to go away.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=I keep my vserver roots on their own devices.  I can unmount them but the device (like drbd or lvm) remains in use until all of my vservers are killed off (&amp;quot;Someone has opened the device for RW access&amp;quot;).||Details=&lt;br /&gt;
 When you mount something it is recorded in the current namespace.  When you start a vserver it makes copy of the namespace.  You can then unmount in the original  namespace without any problems, however the device is still in use.  This is because the device is still mounted in the new namespace.  You can do something like this: &amp;quot;vnamespace -e runningVserver umount /mnt/point&amp;quot;. After this you should be able to remove the device (drbdadm secondary /dev/drbd0 or whatever).&lt;br /&gt;
More information:&lt;br /&gt;
*[http://linux-vserver.org/Namespaces About Namespaces]&lt;br /&gt;
*[http://linux-vserver.org/advanced+DRBD+mount+issues DRBD Mount Issues]&lt;br /&gt;
*[http://list.linux-vserver.org/archive/vserver/msg11444.html This thread], which deals with the same issue.&lt;br /&gt;
*[http://list.linux-vserver.org/archive/vserver/msg10415.html This thread], terse but helpful.&lt;br /&gt;
*[http://www.gossamer-threads.com/lists/drbd/users/9282?page=last And this], a thread of related stuff.&lt;br /&gt;
WARNING: if you use the kernel cleanup feature then make sure you know what you are doing.  I didn't, it was ugly.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=When I stop a vserver its network alias does not go away, I am getting 'RTNETLINK answers: Cannot assign requested address||Details='&lt;br /&gt;
Try running 'ip addr' and see if the interface names are being truncated (note: I came across a thread that seems to suggest that this might happen even if the interface name is not being truncated?).  The function that kills the interface specifies its name, if it is truncated then 'ip' will not be able to find the interface.&lt;br /&gt;
Another cause might be that the IP was added (or already present at startup) with a different netmask, and therfore can not be removed properly&lt;br /&gt;
My solution to this is very, very gross.  Open up your vserver.functions file and find the disableInterfaces function.  If you change&lt;br /&gt;
IP_ADDR)            $_IP addr  del &amp;quot;$@&amp;quot;;;&lt;br /&gt;
to&lt;br /&gt;
IP_ADDR)            $(echo $_IP addr  del &amp;quot;$@&amp;quot;|sed 's/broadcast + label [^[:space:]]\+//');;&lt;br /&gt;
then ip will try to delete the interface by its IP alone.&lt;br /&gt;
Anyone with a better solution is strongly encouraged to modify this entry.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Why does the vserver run on a BSD fs (ufs) ?!||Details=&lt;br /&gt;
* I see something like: /dev/hdv1 / ufs defaults 0 0&lt;br /&gt;
The ufs part is correct and it is so to trick the quota tools to not try to lowlevel access the fs. The entry is FAKE anyway, ufs just solved this quota userland issue nicely (more or less).&lt;br /&gt;
* For details see: [http://list.linux-vserver.org/archive/vserver/msg09133.html] and [http://archives.linux-vserver.org/200401/0232.html]&lt;br /&gt;
* When I issue a ping it returns:&lt;br /&gt;
 [root@VServerGuest /]# ping 123.123.123.123&lt;br /&gt;
 connect: Invalid argument&lt;br /&gt;
* When I issue a DNS lookup it returns:&lt;br /&gt;
 [root@VServerGuest /]# host www.yahoo.ca&lt;br /&gt;
 socket.c: internal_send: 222.222.222.222#53: Invalid argument&lt;br /&gt;
 ;; connection timed out; no servers could be reached&lt;br /&gt;
* When I try to run vyum it returns:&lt;br /&gt;
 [root@VServerGuest /]# vyum VServerGuest -- check-update&lt;br /&gt;
 Cannot find a valid baseurl for repo: core&lt;br /&gt;
 Error: Cannot find a valid baseurl for repo: core&lt;br /&gt;
 Make sure that you have either a Public IP setup on the VServer Guest, or that you have a proper SNAT/DNAT rules setup on your VServer Host. After that, restart the vserver guest with the verbose option to see what your ipv4root is set to:&lt;br /&gt;
 [root@VServerGuest  /]# vserver -v VServerGuest start&lt;br /&gt;
 ipv4root is now 127.0.0.10 111.111.111.111&lt;br /&gt;
 New security context is 49156&lt;br /&gt;
 You must make sure the order of the interfaces are correct. The very first Interface (decided upon by alphabetical order of the interface directory name) for the VServer is the default IP used for all network connections. This must be either a public IP or an IP that has been D/SNAT'd.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== G. Problematic Programs ==&lt;br /&gt;
Some programs do things that might work on a normal host but not inside a V-Server. This is often not a fault of V-Server itself, the programs are doing automagic things which fail and no proper error handling is done. Also sometimes the actions need special rights which are not permitted by default in V-Servers. Allowing CAPs is often not necessary since those special CAPs are only required once (e.g. when the program initializes the directories/settings/whatever).&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=OpenGroupware Apache Module&lt;br /&gt;
||Details=If your V-Server doesn't have access to localhost, then the connection to the !OpenGroupware server will fail with a &amp;quot;Internal Server Error&amp;quot;.&lt;br /&gt;
The apache module for !OpenGroupware called mod_ngobjweb uses a hardcoded &amp;quot;127.0.0.1&amp;quot; IP address in the source (handler.c line 339), this line you need to change to the IP address that should be used (the IP of the V-Server that runs the OpenGroupware server)|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Hylafax (with CAPI)|Details=&lt;br /&gt;
:If you want to run hylafax in a V-Server, you will get a CAP and device problem which can be easily solved. First you need your capi20 devices in your V-Server, which can't be created by ./MAKEDEV (requires special CAPs) so copy the devices into the V-Server, like this (command run on the host):&lt;br /&gt;
:cp -aR /dev/capi* /vservers/your_vserver/dev&lt;br /&gt;
:Now hylafax can access your CAPI ISDN card but will exit after a few seconds, the problem is it tries to create a /dev/null nod in the hylafax chroot. This fails because of missing  CAPs, so lets help hylafax again with copying the nod into the hylafax chroot in the V-Server. Like this (command run on the host):&lt;br /&gt;
:cp -aR /dev/null /vservers/your_vserver/var/spool/hylafax/dev&lt;br /&gt;
:Allright, now hylafax should have CAPI access and run properly.|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Links inside screen inside a V-Server|Details=&lt;br /&gt;
:Don't know why, but links crashes systematically being inside a screen session inside a V-Server started outside a V-Server. (please elaborate!)|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=screen inside a VServer|Details=&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[root@ge root]# vserver zoe enter&lt;br /&gt;
&lt;br /&gt;
zoe:/# screen&lt;br /&gt;
Cannot open your terminal '/dev/pts/5' - please check.&lt;br /&gt;
&lt;br /&gt;
zoe:/# strace screen &lt;br /&gt;
...&lt;br /&gt;
stat64(&amp;quot;/dev/pts/5&amp;quot;, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 5), ...}) = 0&lt;br /&gt;
open(&amp;quot;/dev/pts/5&amp;quot;, O_RDWR|O_NONBLOCK)   = -1 EACCES (Permission denied)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:is neither a bug nor an issue with screen, it just shows that a vserver context is not allowed to mess with host terminals. either use ssh/telnet to reach the 'guest' or start the screen session before you do the 'enter' (i.e. on the host)|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=!OpenLDAP Startup|Details=&lt;br /&gt;
:slapd needs name resolution available in order to start up, otherwise it appears to hang. Make sure you have working DNS (or whatever) available to your vserver before starting one with slapd. This behavior is confirmed in my setup, no confirmation from others yet. My Setup: vservers all bind to an interface on a DMZ-like network segment, BIND runs on a vserver. slapd would hang at startup if the BIND vserver had not been started first.|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=rndc|Details=&lt;br /&gt;
:Bind's rndc has a hardcoded 127.0.0.1 somewhere so any command to rndc will fail with connection refused.&lt;br /&gt;
:You should have a reachable localhost address defined in /etc/hosts and then you can use rndc -s localhost command&lt;br /&gt;
:You can make a rndc.conf and set the default-server option, like that the '-s localhost' isn't necessary.|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Asterisk|Details=&lt;br /&gt;
:Since some version of Asterisk (at least since 1.0.2), it will not run anymore. On start it fails with: &amp;quot;Unable to set high priority&amp;quot;&lt;br /&gt;
:This can be solved by allowing CAP_SYS_NICE for that VServer.&lt;br /&gt;
:You can also not run Asterisk with the realtime priority :&lt;br /&gt;
:Just pass the '-p' command ligne argument to disable the read-time priority.&lt;br /&gt;
:.&lt;br /&gt;
:Good doc on setting up Asterisk devices in the vserver:&lt;br /&gt;
:http://www.telephreak.org/papers/vpa/|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Open/!FreeSwan|Details=&lt;br /&gt;
:Fails because of writing to /proc (requires patch)&lt;br /&gt;
:TODO: write me|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Samba|Details=&lt;br /&gt;
:Oplocks don't work as smbd insists on receiving break requests from 127.0.0.1 \\&lt;br /&gt;
Just patch source/smbd/oplock.c (commenting paranoid code)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
+++ oplock.c.orig       2005-02-14 14:27:51.000000000 +0200&lt;br /&gt;
--- oplock.c    2005-02-02 12:27:50.000000000 +0200&lt;br /&gt;
@@ -181,14 +181,12 @@&lt;br /&gt;
                return False;&lt;br /&gt;
        }&lt;br /&gt;
&lt;br /&gt;
+#if 0&lt;br /&gt;
     /* Validate message from address (must be localhost). */&lt;br /&gt;
        if(from.sin_addr.s_addr != htonl(INADDR_LOOPBACK)) {&lt;br /&gt;
                DEBUG(0,(&amp;quot;receive_local_message: invalid 'from' address \&lt;br /&gt;
 (was %lx should be 127.0.0.1)\n&amp;quot;, (long)from.sin_addr.s_addr));&lt;br /&gt;
                return False;&lt;br /&gt;
        }&lt;br /&gt;
+#endif&lt;br /&gt;
&lt;br /&gt;
        /* Setup the message header */&lt;br /&gt;
        SIVAL(buffer,OPBRK_CMD_LEN_OFFSET,msg_len);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
or if you don't want to patch the samba source code you can disable oplock in Samba and it will work too!&lt;br /&gt;
Just put the following in your smb.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
kernel oplocks = no&lt;br /&gt;
oplocks = no&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: The Vserver using Samba should also listen on the broadcast address. Thereby you will not be able to have two samba servers in the same net (on the same broadcast). |Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Samba from Debian 3.1|Details=&lt;br /&gt;
The samba deb in sarge (3.1) provided file sharing.  The only oddity observed is that the vserver guest running samba did not appear in a windows box's 'My Network Places'&lt;br /&gt;
    Use a WINS server. The SMB browsing protocol relies heavily on broadcasts on the local net, which are problematic with vservers. WINS resolution on the other hand is unicast and works flawlessly under vserver.|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Samba printer and file server with cups|Details=&lt;br /&gt;
:Samba runs correctly in a Mandriva (Mdk) 10.1 Vserver, (Apart from the above oplock problem ?).&lt;br /&gt;
: \\&lt;br /&gt;
First, edit your {{/etc/sysconfig/network}} file, and set {{networking}} to {{yes}} (This will solve problems for other services !):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cat /etc/sysconfig/network&lt;br /&gt;
NETWORKING=yes&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
Some more tweaking is needeed in {{/etc/smb.conf}}:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cat /etc/smb.conf&lt;br /&gt;
...&lt;br /&gt;
  # YOUR VSERVER IP/MASK HERE&lt;br /&gt;
  interfaces = xxx.xxx.xxx.xxx/mask&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
That's all !!!&lt;br /&gt;
: \\&lt;br /&gt;
But if you're using Samba + Cups to provide printing for Windows clients, AND if you want to use the {{Point and Print}} feature, there is more: In the {{[printers]}} section of your {{smb.conf}}, you should have the {{use client drivers}} directive set to {{no}}, or the driver upload procedure will fail !&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cat /etc/smb.conf&lt;br /&gt;
...&lt;br /&gt;
  use client driver = no&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
So, here is a full {{smb.conf}} file:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cat /etc/samba/smb.conf | awk '!/^$/ &amp;amp;&amp;amp; !/^\s*(#|;)/ {print $0}'&lt;br /&gt;
[global]&lt;br /&gt;
   workgroup = MYDOMAIN&lt;br /&gt;
   netbios name = MYHOSTNAME&lt;br /&gt;
   server string = MYCOMMENT (Samba %v)&lt;br /&gt;
   printcap name = cups&lt;br /&gt;
   load printers = yes&lt;br /&gt;
   printing = cups&lt;br /&gt;
   printer admin = @adm&lt;br /&gt;
   log file = /var/log/samba/log.%m&lt;br /&gt;
   max log size = 50&lt;br /&gt;
   map to guest = bad user&lt;br /&gt;
   security = domain&lt;br /&gt;
   password server = *&lt;br /&gt;
   encrypt passwords = yes&lt;br /&gt;
   smb passwd file = /etc/samba/smbpasswd&lt;br /&gt;
   username map = /etc/samba/smbusers&lt;br /&gt;
   idmap uid = 10000-20000&lt;br /&gt;
   idmap gid = 10000-20000&lt;br /&gt;
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192&lt;br /&gt;
   interfaces = 127. MYVSERVERIP/MYVSERVERMASK&lt;br /&gt;
   wins server = MYWINSIP&lt;br /&gt;
   dns proxy = no&lt;br /&gt;
   # for french users:&lt;br /&gt;
   dos charset = 850&lt;br /&gt;
   unix charset = ISO8859-1&lt;br /&gt;
[homes]&lt;br /&gt;
   comment = Home Directories&lt;br /&gt;
   browseable = no&lt;br /&gt;
   writable = no&lt;br /&gt;
[printers]&lt;br /&gt;
   comment = All Printers&lt;br /&gt;
   path = /var/spool/samba&lt;br /&gt;
   browseable = no&lt;br /&gt;
   guest ok = no&lt;br /&gt;
   writable = no&lt;br /&gt;
   printable = yes&lt;br /&gt;
   create mode = 0700&lt;br /&gt;
   print command = lpr-cups -P %p -o raw %s -r   # using client side printer drivers.&lt;br /&gt;
   use client driver = no&lt;br /&gt;
[print$]&lt;br /&gt;
   path = /var/lib/samba/printers&lt;br /&gt;
   browseable = yes&lt;br /&gt;
   write list = @adm root&lt;br /&gt;
   guest ok = yes&lt;br /&gt;
   inherit permissions = yes&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
...And a working smbusers:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Unix_name = SMB_name1 SMB_name2 ...&lt;br /&gt;
root = administrator MYDOMAIN\administrator&lt;br /&gt;
nobody = guest pcguest smbguest&lt;br /&gt;
&amp;lt;/pre&amp;gt;|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Cups print server|Details=&lt;br /&gt;
: Symptoms: The Cups init script exits with:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Starting CUPS printing system: cupsd: Child exited with status 98!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
And the logs ({{/var/log/cups/error_log}}) show:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
E [date:hour...] StartListening: Unable to bind socket for address 0.0.0.0:631 - Address already in use.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:...Or something like this.&lt;br /&gt;
: \\&lt;br /&gt;
With a correct &amp;quot;cupsd.conf file&amp;quot; (Tested version 1.1.21-0.rc1.7mdk, on Mandrake 10.1 - Now Mandriva), it works; All we need is to remove references to {{127.0.0.1}} or {{localhost}} from the file, as well as correctly unsetting the {{Listen}} directive:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
LogLevel info&lt;br /&gt;
TempDir /var/spool/cups/tmp&lt;br /&gt;
# No 'Listen' directive !&lt;br /&gt;
Port 631&lt;br /&gt;
BrowseAddress @LOCAL&lt;br /&gt;
BrowseDeny All&lt;br /&gt;
BrowseAllow @LOCAL&lt;br /&gt;
BrowseOrder deny,allow&lt;br /&gt;
&amp;lt;Location /&amp;gt;&lt;br /&gt;
  Order Deny,Allow&lt;br /&gt;
  Deny From All&lt;br /&gt;
  Allow From @LOCAL&lt;br /&gt;
&amp;lt;/Location&amp;gt;&lt;br /&gt;
&amp;lt;Location /admin&amp;gt;&lt;br /&gt;
  AuthType Basic&lt;br /&gt;
  AuthClass System&lt;br /&gt;
  Order Deny,Allow&lt;br /&gt;
  Deny From All&lt;br /&gt;
  Allow From YOUR_NETWORK_ADDRESS/YOUR_NETMASK # Example: 172.16.0.0/24&lt;br /&gt;
# Or&lt;br /&gt;
  Allow From @LOCAL&lt;br /&gt;
&amp;lt;/Location&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
Then you'll need to modify the {{/etc/init.d/cups}} script, to comment any section referring to {{127.0.0.1}} lookup and configuration. This section exists at least on Mandrake 10.1, and is pretty long (Lines 35 to 55 and/or 79), and additionnaly four &amp;quot;{{else...if}}&amp;quot; lines must be commented far below (Lines 161 to 164) !&lt;br /&gt;
: \\&lt;br /&gt;
Remember to stop any Cupsd running in the host server, or to start it ''via'' a wrapper {{/etc/init.d/v_cups}} script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
# chkconfig: 2345 15 60&lt;br /&gt;
# description: Wrapper to start cups bound to a single IP&lt;br /&gt;
USR_LIB_VSERVER=/usr/lib/util-vserver&lt;br /&gt;
exec $USR_LIB_VSERVER/vsysvwrapper cups $*&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
Do not forget to give a password to the root user, if you want to ba able to manage your printers from the web interface (http://yourcupsvserver:631)!&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# passwd root&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
If you use Mandriva 10.1 (And maybe some other distros), you&amp;amp;#8217;ll need to add the printers drivers for Cups, and reload it:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# urpmi --root /vservers/yourcupsvserver/ cups-drivers&lt;br /&gt;
# /etc/init.d/cups reload&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
&amp;amp;#8230;It added 67 Mb of packages for me.&lt;br /&gt;
: \\&lt;br /&gt;
Then use {{/etc/init.d/v_cups (re)start}} to launch Cups on the host server.&lt;br /&gt;
:You will now be able to make Cupsd start in the vserver , but more tweaking on the ACLs may be necessary to avoid authentification problems...|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Bind9 on Debian GNU/Linux Woody (3.0) and Sarge (3.1)|Details=&lt;br /&gt;
:named provided by the bind9 binary packages fails to start because it is compiled with CAPs option.&lt;br /&gt;
: \\&lt;br /&gt;
The debian way is to build** your own package without CAPs:&lt;br /&gt;
: \\&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
su -&lt;br /&gt;
cd /usr/src&lt;br /&gt;
apt-get build-dep bind9&lt;br /&gt;
apt-get source bind9&lt;br /&gt;
cd bind9-x.x.x&lt;br /&gt;
vi debian/rules&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
Insert the following line after &amp;quot;./configure --prefix=/usr \&amp;quot;:&lt;br /&gt;
: \\&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--disable-linux-caps \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
On a NPTL-enabled system you alse have to replace \\&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--enable-threads \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: with \\&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--disable-threads \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: or bind might refuse to run with an other user than root.&lt;br /&gt;
: \\&lt;br /&gt;
Save the file and go ahead with compiling/installing:&lt;br /&gt;
: \\&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
dpkg-buildpackage&lt;br /&gt;
dpkg -i ../bind9-x.x.x.deb&lt;br /&gt;
echo &amp;quot;bind9 hold&amp;quot; | dpkg --set-selections&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
The last line is to set the package &amp;quot;on hold&amp;quot;, so it is not touched by the update process. you have to take care of security holes by yourself now!&lt;br /&gt;
: \\&lt;br /&gt;
The Xs in &amp;quot;bind9-x.x.x&amp;quot; denote the version number of bind9.&lt;br /&gt;
: \\&lt;br /&gt;
&lt;br /&gt;
** Alternatively you can allow the CAP_SYS_RESOURCE for that V-Server.&lt;br /&gt;
&lt;br /&gt;
The best way would be to fix bind, which is somehow broken when it comes to capabilities.&lt;br /&gt;
Daniel Hokka Zakrisson repaired it. His patch is to be found here:&lt;br /&gt;
&lt;br /&gt;
[http://daniel.hozac.com/stuff/bind-9.3.2-caps-when-available.patch bind-9.3.2-caps-when-available.patch]&lt;br /&gt;
So, if you recompile, it would be the cleanest way to apply that patch. Thanks Daniel!&lt;br /&gt;
&lt;br /&gt;
It would be also nice, if someone submits that patch to the bind people or maybe to your distribution's package maintainers in the first step.&lt;br /&gt;
&lt;br /&gt;
Get my [http://linux-vserver.derjohn.de/bind9-packages/bind9-capacheck_9.3.2-2_i386.deb vserver-guest-ready Debian bind9 package] for Debian Sid guests. Feedback welcome: aj@net-lab.net|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Postfix 2.1.5 (Debian Sarge)|Details=&lt;br /&gt;
:On a vserver with two interfaces (lo and eth0), and a postfix 2.1.5 listening on lo, postfix can't send emails : &amp;quot;Invalid argument&amp;quot;... Setting smtp_bind_address (http://www.postfix.org/postconf.5.html#smtp_bind_address) to the external address solves the issue.|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Zimbra Mail|Details=&lt;br /&gt;
Zimbra is many applications (including Postfix and MySQL and OpenLDAP and more) which try to take over the interfaces, and depend a lot on binding from 127.0.0.1 - it is not hard to change, but there is a couple of tricks - it is documented here - http://wiki.zimbra.com/index.php?title=Install_VServer|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=xine|Details=&lt;br /&gt;
xine won't start with no error message.&lt;br /&gt;
&amp;quot;xine --verbose&amp;quot; shows this.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ERROR: Could not determine network interfaces, you must use a interfaces config line&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This happens if you have the xineplug_inp_smb.so plugin. Delete it and everything is fine.|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=127.0.0.1 issues|Details=&lt;br /&gt;
I had problems with an application that wanted me to access it on 127.0.0.1 and AS 127.0.0.1 to be able to do its configuration. A simple tweak solved the problem. I renamed the default interface directory &amp;quot;0&amp;quot; in /etc/vservers/server/interfaces to &amp;quot;1&amp;quot; and created interface 0 as :&lt;br /&gt;
:dev lo&lt;br /&gt;
:ip 127.0.0.1&lt;br /&gt;
:mask 255.0.0.0&lt;br /&gt;
:name lo&lt;br /&gt;
&lt;br /&gt;
now interface &amp;quot;1&amp;quot; is the default created interface by the vserver build script with a local adress like 192.168.1.2 and interface &amp;quot;0&amp;quot; is the loopback. I can now telnet on 127.0.0.1 and it sees that im connecting to 127.0.0.1 from 127.0.0.1&lt;br /&gt;
&lt;br /&gt;
Compiling nagios-1.4 within a vserver requires this, otherwise it hangs during the configure with &amp;quot;checking for ICMP ping syntax...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
/!\ BIG FAT WARNING: DON'T DO THIS IT WILL ADD VSERVER ACCESS TO THE 127.0.0.1 OF THE HOST (quoting Bertl on irc)&lt;br /&gt;
&lt;br /&gt;
|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Hula-project|Details=&lt;br /&gt;
Does not want to start :(|Signature=ProblematicPrograms}}&lt;/div&gt;</summary>
		<author><name>Gebura</name></author>	</entry>

	<entry>
		<id>http://linux-vserver.at/Frequently_Asked_Questions_scratch</id>
		<title>Frequently Asked Questions scratch</title>
		<link rel="alternate" type="text/html" href="http://linux-vserver.at/Frequently_Asked_Questions_scratch"/>
				<updated>2009-05-15T15:50:01Z</updated>
		
		<summary type="html">&lt;p&gt;Gebura: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== A. General ==&lt;br /&gt;
{{Question|Question=Credits||Details=&lt;br /&gt;
This FAQ includes information taken from the FAQs of Jacques GÃ©linas and Paul Sladen.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Are there other FAQs available?||Details=&lt;br /&gt;
Yes. There are other (mostly older) FAQ's available:&lt;br /&gt;
*[http://www.solucorp.qc.ca/howto.hc?projet=vserver Jacques GÃ©linas FAQ]&lt;br /&gt;
*[http://www.paul.sladen.org/vserver/faq/ Paul Sladen's vserver FAQ]&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Where can I find a overview of Linux-VServer?||Details=&lt;br /&gt;
*((short presentation))&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Linux-VServer Wikipedia Article]&lt;br /&gt;
*ProjectOverview (an introduction to the VServer Project, by ChuckD)&lt;br /&gt;
*[http://www.solucorp.qc.ca/miscprj/s_context.hc?prjstate=1&amp;amp;nodoc=0 Introduction by Jacques GÃ©linas]&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=How to verify that a setup is working properly?||Details=&lt;br /&gt;
*To verify that your setup works properly, there are some test scripts to check basic functionality.&lt;br /&gt;
 primarily [http://vserver.13thfloor.at/Stuff/SCRIPT/testme.sh testme.sh] and [http://vserver.13thfloor.at/Stuff/SCRIPT/testfs.sh testfs.sh] (see ((TestScripts)) for more details)|Signature=Linux-Vserver FAQ}}&lt;br /&gt;
&lt;br /&gt;
== B. Requirements ==&lt;br /&gt;
{{Question|Question=What hardware is supported by linux-vserver?||Details=&lt;br /&gt;
The following platforms are supported in the stable versions of linux-vserver.&lt;br /&gt;
*alpha&lt;br /&gt;
*i386 and higher (and compatible)&lt;br /&gt;
*ia32 / ia64&lt;br /&gt;
*mips / mips64&lt;br /&gt;
*hppa / hppa64&lt;br /&gt;
*ppc / ppc64&lt;br /&gt;
*sparc / sparc64&lt;br /&gt;
*s390 / s390x&lt;br /&gt;
*x86_64 (AMD64)&lt;br /&gt;
*uml/xen&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Which kernel versions are supported?||Details=&lt;br /&gt;
 recent 2.4 and 2.6 kernels (stable), recent 2.6 kernels (development). &lt;br /&gt;
 Some ancient versions of Linux-VServer are backported to 2.2.x kernels. You can find more information [http://vserver.digitalangel.com.au/ here].&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Can I run Linux-vserver on my favorite distribution?||Details=&lt;br /&gt;
Linux-VServer was originally developed on Red Hat/Mandriva, but it is rather distribution independent. It runs fine with other distributions (Debian, SuSE). Some distributions run a patched kernel, which can make it a bit harder to build a new kernel with Linux-VServer support|Signature=Linux-Vserver FAQ}}&lt;br /&gt;
&lt;br /&gt;
== C. Versions ==&lt;br /&gt;
{{Question|Question=What's the latest version of Linux-VServer?||Details=&lt;br /&gt;
You can find the [http://www.13thfloor.at/vserver/s_release latest stable 2.4 release] or [http://www.13thfloor.at/vserver/s_rel26 latest stable 2.6 release] as well as the [http://www.13thfloor.at/vserver/d_rel26 latest development release] at [http://www.13thfloor.at/vserver/ http://www.13thfloor.at/vserver/]&lt;br /&gt;
Check out the ((Release FAQ)) for information on releases and version numbering&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Where can I find prereleases and release candidates?||Details=&lt;br /&gt;
Check the [http://vserver.13thfloor.at/Experimental experimental area] for new patches.|Signature=Linux-Vserver FAQ}}&lt;br /&gt;
&lt;br /&gt;
== D. Tools (util-vserver and vserver) ==&lt;br /&gt;
{{Question|Question=What do I need them for?||Details=&lt;br /&gt;
These are the userspace tools for Linux-VServer. You need them to use the functionality of Linux-VServer.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=What's the difference between vserver and util-vserver?||Details=&lt;br /&gt;
The vserver package are the 'legacy utilities', written by Jacques GÃ©linas. &lt;br /&gt;
The util-vserver package is a reimplementation of these tools in C by Enrico Scholz, which follows the kernel development more closely. &lt;br /&gt;
util-vserver tools are currently considered the mainstream tools (You can't use both packages on the same machine.)&lt;br /&gt;
Both packages have their own version numbering. Don't let the version numbering confuse you.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Which version of the tools packages do I need? Do I have to upgrade?||Details=&lt;br /&gt;
*:It can be useful to have a recent version of the tools package installed on your box. It's a good idea to upgrade your tools when you upgrade your kernel. In the next list you find the versions you need to have at least, but it's a good idea to use more recent versions.&lt;br /&gt;
*linux-vserver 1.00&lt;br /&gt;
**vserver 0.26&lt;br /&gt;
**util-vserver 0.24&lt;br /&gt;
*linux-vserver 1.20&lt;br /&gt;
**vserver 0.28&lt;br /&gt;
**util-vserver 0.25&lt;br /&gt;
*linux-vserver 2.00&lt;br /&gt;
**util-vserver 0.30 or 0.30.209|Signature=Linux-Vserver FAQ}}&lt;br /&gt;
&lt;br /&gt;
== E. Download ==&lt;br /&gt;
{{Question|Question=Where can I dowload the latest version of:||Details=&lt;br /&gt;
*[http://www.13thfloor.at/vserver/ The kernel patch]&lt;br /&gt;
*[http://dns.solucorp.qc.ca/miscprj/s_context.hc?prjstate=1&amp;amp;nodoc=1 vserver]&lt;br /&gt;
*[http://savannah.nongnu.org/files/?group=util-vserver util-vserver]&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Distribution specific packages||Details=&lt;br /&gt;
*Red Hat&lt;br /&gt;
**[http://dns.solucorp.qc.ca/miscprj/s_context.hc?prjstate=1&amp;amp;nodoc=1 vserver]&lt;br /&gt;
*Mandrake&lt;br /&gt;
**[http://www.13thfloor.at/vserver/s_release/v1.00/ vserver]&lt;br /&gt;
*Debian&lt;br /&gt;
**[http://packages.debian.org/cgi-bin/search_packages.pl?keywords=vserver&amp;amp;searchon=names&amp;amp;subword=1&amp;amp;version=all&amp;amp;release=all vserver] - All Linux-VServer-related Debian-packages (Probably slow, +100 results).&lt;br /&gt;
**[http://packages.debian.org/cgi-bin/search_packages.pl?keywords=linux-image-2.6-vserver&amp;amp;searchon=names&amp;amp;subword=1&amp;amp;version=all&amp;amp;release=all Official precompiled kernels] - These are the official Debian kernels compiled with Linux-VServer-support.&lt;br /&gt;
**[http://packages.debian.org/cgi-bin/search_packages.pl?keywords=vserver-debiantools&amp;amp;searchon=names&amp;amp;subword=1&amp;amp;version=all&amp;amp;release=all vserver-debiantools] - These scripts install Debian straight off the web from Debian.org's world-wide network of mirrors.&lt;br /&gt;
*Gentoo&lt;br /&gt;
**[http://dev.croup.de/proj/gentoo-vps/wiki/VserverHowto vserver]|Signature=Linux-Vserver FAQ}}&lt;br /&gt;
&lt;br /&gt;
== F. Network Usage? ==&lt;br /&gt;
{{Question|Question=Is IPv6 supported?||Details=&lt;br /&gt;
At this moment, only IPv4 (the current most frequently used standard) is supported.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Can I put my vservers in different networks?||Details=&lt;br /&gt;
Yes you can. You have to bind your vserver to a interface on the host machine, but you can choose the interface in the configuration file of your vserver (in /etc/vservers/SERVER.conf). Make sure your host server does have an interface in the network you need on your vserver.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Is it possible for a vserver to have a other default gateway than the host machine does use?||Details=&lt;br /&gt;
Yes. Use iproute2 to set the default gateway.&lt;br /&gt;
You can find more information on routing in linux-vserver in [http://archives.linux-vserver.org/200311/0470.html this posting] on the mailinglist.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Can I use more than one IP address in a vserver||Details=&lt;br /&gt;
Yes you can. Edit the configuration file of the vserver (/etc/vservers/SERVER.conf).&lt;br /&gt;
In case you want to use example IP addresses on one interface&lt;br /&gt;
IPROOT=&amp;quot;10.1.2.3 10.1.2.12&amp;quot;&lt;br /&gt;
IPROOTDEV=&amp;quot;eth0&amp;quot;&lt;br /&gt;
In case you want to use 2 or more interfaces&lt;br /&gt;
IPROOT=&amp;quot;eth0:10.1.2.3 eth1:10.1.2.12&amp;quot;&lt;br /&gt;
IPROOTDEV=&amp;quot;&amp;quot;&lt;br /&gt;
In case you want to use IP-number in different subnets&lt;br /&gt;
IPROOT=&amp;quot;eth0:10.1.2.3/255.255.255.0 eth0:10.1.3.12/255.255.0.0&amp;quot;&lt;br /&gt;
IPROOTDEV=&amp;quot;&amp;quot;&lt;br /&gt;
If you are using vserver 2.0+ you have to create subdirectories in /etc/vserver/&amp;lt;vserver-name&amp;gt;/interfaces/ &lt;br /&gt;
for each IP you want to use, i.e.&lt;br /&gt;
/etc/vserver/&amp;lt;vserver-name&amp;gt;/interfaces/0&lt;br /&gt;
/etc/vserver/&amp;lt;vserver-name&amp;gt;/interfaces/1&lt;br /&gt;
These subdirectories have to contain files with the options you want to set. See the [[VServerConfiguration]] or [http://www.nongnu.org/util-vserver/doc/conf/configuration.html Flower page] for more info&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Is it possible to use the real device (eth0, eth1) instead of the device alias created by vserver?||Details=&lt;br /&gt;
Yes. Set up the IP aliases yourself on the host server&lt;br /&gt;
*Set IPROOT= to those IPs&lt;br /&gt;
*Unset IPROOTDEV so the vserver script won't try to setup the IP aliases.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Can I modify the behavior of my vservers?||Details=&lt;br /&gt;
There are a number of capabilities and flags that you can modify listed [http://linux-vserver.org/Caps+and+Flags here] (and [http://savannah.nongnu.org/cgi-bin/viewcvs/util-vserver/util-vserver/lib/cflags-v13.c?rev=HEAD here (cflags-v13.c)]).&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Were can I find more information on networking in Linux-VServer?||Details=&lt;br /&gt;
You can find more information on the internals of networking in Linux-VServer [http://vserver.13thfloor.at/Stuff/VServer-IP-Setup-0.1.txt here].|Signature=Linux-Vserver FAQ}}&lt;br /&gt;
&lt;br /&gt;
== G. Software compatibility ==&lt;br /&gt;
{{Question|Question=Bind does not work in a vserver||Details=&lt;br /&gt;
* capset failed&lt;br /&gt;
* The bind package expect to have the capability CAP_SYS_RESOURCE. &lt;br /&gt;
 It expects this because it was compiled this way on Linux and to increase its ulimit. &lt;br /&gt;
* By default, a vserver does not have this capability for a good reason, you may have a    look at 'man capabilities' to see how much control that capability allows. &lt;br /&gt;
* A vserver starts with some ulimit values and can only reduce them, not enlarge them.&lt;br /&gt;
* If you know what you are doing, you can give the capability to the vserver running bind.&lt;br /&gt;
* A securer solution is to compile bind without that requirement by specifying './configure --disable-linux-caps' &lt;br /&gt;
 It looks like you only can run bind as root once you compile bind with this option, but this should be fine inside a vserver.&lt;br /&gt;
* bind does not respond to queries&lt;br /&gt;
* Bind seems to have problems with a query socket check. Bind believes the query is comming on a non-query socket, and doesn't answer the request.&lt;br /&gt;
* putting &amp;quot;query-source address YOUR_VSERVER_IP;&amp;quot; in your named.conf solves this problem.&lt;br /&gt;
&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Is DHCP possible in a vserver?||Details=&lt;br /&gt;
It's possible to run a DHCP server inside a vserver, but it required a CAP_NET_RAW capability. &lt;br /&gt;
The solution for 2.6 kernel with new-style config is to add CAP_NET_RAW entry in the /etc/vserver/&amp;lt;vserver-name&amp;gt;/bcapabilities file, and it might be unnecessary to add 255.255.255.255 into bcast file, please read [[VServerConfiguration]] or [http://www.nongnu.org/util-vserver/doc/conf/configuration.html The Great Flower Page] for more details. If you are still use the legacy config, please read the answer below.&lt;br /&gt;
It's possible to run a DHCP server inside a vserver, but there is a catch. The set_ipv4root assigns one IP and one broadcast address to a vserver. UDP service listening to 0.0.0.0 (bind any) in a vserver are indeed listening to the vserver IP and vserver broadcast. &lt;br /&gt;
This is all they will get. This is fine for most services. &lt;br /&gt;
Unfortunately, dhcpd is receiving special broadcasts. Its clients are unaware of their IP number, so they are using special broadcast 255.255.255.255 address. &lt;br /&gt;
A vserver generally runs with the broadcast address of the network device (the one used to setup the IP alias). This network device has a broadcast address which is never 255.255.255.255. Those special broadcast are not sent to the vserver. The solution is to set the IPROOTBCAST entry in the vserver configuration file like this  IPROOTBCAST=255.255.255.255&lt;br /&gt;
Restart your vserver and dhcpd will work. There is a catch (at least with 2.4.18ctx-9). If you are using other services in the save vserver, also relying on broadcast for proper operation (samba for one), they won't operate properly. &lt;br /&gt;
One solution would be to enhance the semantics a little: A vserver would listen for its IP address, its broadcast address and also for 255.255.255.255. &lt;br /&gt;
The dhcpd case is probably very specific though. &lt;br /&gt;
&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=NFS-server||Details=&lt;br /&gt;
It's not posible to run a NFS-kernel server inside a vserver, to work securely this would need a lot of work. &lt;br /&gt;
You can try to run the NFS userspace server, the traditional Linux user space NFS server and UNFS3 are both reported to work.&lt;br /&gt;
take a look at ((NFS and portmap)) if you have problems with your portmap&lt;br /&gt;
&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Run Level Based Distributions as Ververs (Red Hat and such ....)||Details=&lt;br /&gt;
 If you see errors after the command vserver &amp;lt;name&amp;gt; stop like these:&lt;br /&gt;
&lt;br /&gt;
 Syncing hardware clock to system time hwclock is unable to get I/O port access:  the iopl(3) call failed FAILED]&lt;br /&gt;
 Turning off swap:  Not superuser.    [FAILED]&lt;br /&gt;
 Turning off quotas:  quotaoff: Can't stat() mounted device /dev/hdv1: No such file or directory&lt;br /&gt;
 Unmounting file systems:  umount2: No such file or directory umount: /vservers: not found&lt;br /&gt;
&lt;br /&gt;
 Then look for S* links in /etc/rc6.d/ and remove the one responsible for the errors. In RH9 it is called S01reboot&lt;br /&gt;
 A 'normal' server does some stuff on shutdown, like saving the time to the hwclock, or storing random pool data and finally invokes the reboot. Some of those actions are just not allowed in a vserver.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Vservers and X Windows||Details=&lt;br /&gt;
 Please see the ((Vservers and X)) page for information about this.&lt;br /&gt;
&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=sshd with X11-Forwarding in a vserver||Details=&lt;br /&gt;
 add ```'X11UseLocalhost no'``` to your sshd_config&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=See also: [ProblematicPrograms]||Details=&lt;br /&gt;
== H. Help ==&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Where can I find more information on the Linux-VServer project?||Details=&lt;br /&gt;
First have a look at the ((documentation)) section of the website. In case you can't find the answer here, have a look at the mailinglist archives. If this doesn't help jou, there is still a mailinglist and a IRC channel were you can ask for help.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Does the Linux-VServer project have a mailing list?||Details=&lt;br /&gt;
Yes. You can subscribe [http://list.linux-vserver.org/mailman/listinfo/vserver here]. Archives are located [http://list.linux-vserver.org/archive/vserver/ here].&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Is there a IRC channel ||Details=&lt;br /&gt;
Yes, join #vserver on irc.oftc.net.|Signature=Linux-Vserver FAQ}}&lt;br /&gt;
&lt;br /&gt;
== I. Issues ==&lt;br /&gt;
{{Question|Question=When starting or entering a vserver I get &amp;quot;''Error: /proc must be mounted''&amp;quot;. 'vserver-stat' and 'vps' are failing with &amp;quot;''open(&amp;quot;/proc/uptime&amp;quot;): No such file or directory''&amp;quot;.  Sometimes, other files in /proc are mentioned. What can I do?||Details=&lt;br /&gt;
Make sure that in devel and experimental the required proc entries are visible inside a vserver. With alpha utilities, execute the ||Details=vprocunhide||Details= script. See ((Proc-Security)) also.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Inside a vserver I can still use mknod to create devices, even without CAP_MKNOD capability. What's wrong? (this probably applies to all other capabilities but that was not tested)||Details=&lt;br /&gt;
This is probably a problem in your kernel configuration. If you include &amp;quot;Enable different security models&amp;quot; (CONFIG_SECURITY), then make sure to also include &amp;quot;Default Linux Capabilities&amp;quot; (CONFIG_SECURITY_CAPABILITIES) or compile it as a module. In this latter case you must insert the 'capability' module into the kernel. This is for example true for current (2.6.8.1) debian kernel configurations.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=After stopping/restarting a vserver my network is gone! What the hell?||Details=&lt;br /&gt;
 See above.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Only root can access any files in the vserver||Details=&lt;br /&gt;
 Check the permissions of the vserver's / directory. The 2.4 branch's chroot-escape blocker (chmod 0000 and chattr +t) is meant to be applied to the directory containing the vservers (for example /vservers) not the vservers' root directories themselves. If you revoked all permissions for a vserver's root directory, re-grant them with &amp;quot;chmod 0755 /path/to/vserver-root&amp;quot;.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=&amp;quot;daemon() failed: Success&amp;quot; - What? Succesfully failing?||Details=&lt;br /&gt;
 Not really vserver related but here's the answer: Somebody replaced your /dev/null with a regular file, create a real /dev/null and it will start working again. We got no idea why the error message happens to be so funny(?).&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=When I start a vserver, &amp;quot;FATAL: kernel too old&amp;quot; message appears and vserver can't be started||Details=&lt;br /&gt;
Edit your /etc/vservers/&amp;lt;vsname&amp;gt;/uts/release and define a value greater than kernel version&lt;br /&gt;
example, if you have a kernel &amp;quot;2.6.11&amp;quot;, set &amp;quot;2005&amp;quot; for example  :-)&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=I switched from old to new configuration and now all my ip addresses are gone!||Details=&lt;br /&gt;
They are not, ifconfig just doesn't show them. The new tools use 'iproute' instead of 'ifconfig' which allows you to use multiple interface addresses with the same label. In such cases, ifconfig shows only the first address for each label, which probably isn't available in the vserver. Unless you specify a name for an ip address, it will be given the interface name as label, eg. eth0, and ifconfig breaks. You can assign names to your interface addresses in the vserver configuration, see [[VServerConfiguration]] or [http://www.nongnu.org/util-vserver/doc/conf/configuration.html The Great Flower Page] for details.&lt;br /&gt;
Earlier, we said that the interface addresses were &amp;quot;nameless&amp;quot;, this was wrong. As said above, the addresses in question actually all have the same name/label. Knowing this we could actually virtualize the ioctl interface which ifconfig uses in a meaningful way, making ifconfig show the vserver's ip addresses as expected, even when it shares its label with other ip addresses (of course only if there aren't multiple ip addresses in the same vserver that share the same label, but that's an ifconfig limitation, not a vserver bug). The [http://www.13thfloor.at/~doener/vserver/patches/diff-2.6.16.5-vs2.0.2-rc16-devinet_ioctl.diff patch] should apply to most Linux-VServer versions for kernel 2.6 and will probably be included in future versions.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=When I enter/ssh into a vserver I can see all of the interfaces and interface aliases with ifconfig.||Details=&lt;br /&gt;
I experienced this after upgrading from a 2.4 to 2.6 kernel with vs-2.0 patch using legacy-method .conf files.  Upgrading from legacy-method to the new one (see [http://linux-vserver.org/Legacy-To-Newstyle-Config Converting From Legacy to New]) caused the problem to go away.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=I keep my vserver roots on their own devices.  I can unmount them but the device (like drbd or lvm) remains in use until all of my vservers are killed off (&amp;quot;Someone has opened the device for RW access&amp;quot;).||Details=&lt;br /&gt;
 When you mount something it is recorded in the current namespace.  When you start a vserver it makes copy of the namespace.  You can then unmount in the original  namespace without any problems, however the device is still in use.  This is because the device is still mounted in the new namespace.  You can do something like this: &amp;quot;vnamespace -e runningVserver umount /mnt/point&amp;quot;. After this you should be able to remove the device (drbdadm secondary /dev/drbd0 or whatever).&lt;br /&gt;
More information:&lt;br /&gt;
*[http://linux-vserver.org/Namespaces About Namespaces]&lt;br /&gt;
*[http://linux-vserver.org/advanced+DRBD+mount+issues DRBD Mount Issues]&lt;br /&gt;
*[http://list.linux-vserver.org/archive/vserver/msg11444.html This thread], which deals with the same issue.&lt;br /&gt;
*[http://list.linux-vserver.org/archive/vserver/msg10415.html This thread], terse but helpful.&lt;br /&gt;
*[http://www.gossamer-threads.com/lists/drbd/users/9282?page=last And this], a thread of related stuff.&lt;br /&gt;
WARNING: if you use the kernel cleanup feature then make sure you know what you are doing.  I didn't, it was ugly.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=When I stop a vserver its network alias does not go away, I am getting 'RTNETLINK answers: Cannot assign requested address||Details='&lt;br /&gt;
Try running 'ip addr' and see if the interface names are being truncated (note: I came across a thread that seems to suggest that this might happen even if the interface name is not being truncated?).  The function that kills the interface specifies its name, if it is truncated then 'ip' will not be able to find the interface.&lt;br /&gt;
Another cause might be that the IP was added (or already present at startup) with a different netmask, and therfore can not be removed properly&lt;br /&gt;
My solution to this is very, very gross.  Open up your vserver.functions file and find the disableInterfaces function.  If you change&lt;br /&gt;
IP_ADDR)            $_IP addr  del &amp;quot;$@&amp;quot;;;&lt;br /&gt;
to&lt;br /&gt;
IP_ADDR)            $(echo $_IP addr  del &amp;quot;$@&amp;quot;|sed 's/broadcast + label [^[:space:]]\+//');;&lt;br /&gt;
then ip will try to delete the interface by its IP alone.&lt;br /&gt;
Anyone with a better solution is strongly encouraged to modify this entry.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}{{Question|Question=Why does the vserver run on a BSD fs (ufs) ?!||Details=&lt;br /&gt;
* I see something like: /dev/hdv1 / ufs defaults 0 0&lt;br /&gt;
The ufs part is correct and it is so to trick the quota tools to not try to lowlevel access the fs. The entry is FAKE anyway, ufs just solved this quota userland issue nicely (more or less).&lt;br /&gt;
* For details see: [http://list.linux-vserver.org/archive/vserver/msg09133.html] and [http://archives.linux-vserver.org/200401/0232.html]&lt;br /&gt;
* When I issue a ping it returns:&lt;br /&gt;
 [root@VServerGuest /]# ping 123.123.123.123&lt;br /&gt;
 connect: Invalid argument&lt;br /&gt;
* When I issue a DNS lookup it returns:&lt;br /&gt;
 [root@VServerGuest /]# host www.yahoo.ca&lt;br /&gt;
 socket.c: internal_send: 222.222.222.222#53: Invalid argument&lt;br /&gt;
 ;; connection timed out; no servers could be reached&lt;br /&gt;
* When I try to run vyum it returns:&lt;br /&gt;
 [root@VServerGuest /]# vyum VServerGuest -- check-update&lt;br /&gt;
 Cannot find a valid baseurl for repo: core&lt;br /&gt;
 Error: Cannot find a valid baseurl for repo: core&lt;br /&gt;
 Make sure that you have either a Public IP setup on the VServer Guest, or that you have a proper SNAT/DNAT rules setup on your VServer Host. After that, restart the vserver guest with the verbose option to see what your ipv4root is set to:&lt;br /&gt;
 [root@VServerGuest  /]# vserver -v VServerGuest start&lt;br /&gt;
 ipv4root is now 127.0.0.10 111.111.111.111&lt;br /&gt;
 New security context is 49156&lt;br /&gt;
 You must make sure the order of the interfaces are correct. The very first Interface (decided upon by alphabetical order of the interface directory name) for the VServer is the default IP used for all network connections. This must be either a public IP or an IP that has been D/SNAT'd.&lt;br /&gt;
|Signature=Linux-Vserver FAQ}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== G. Problematic Programs ==&lt;br /&gt;
Some programs do things that might work on a normal host but not inside a V-Server. This is often not a fault of V-Server itself, the programs are doing automagic things which fail and no proper error handling is done. Also sometimes the actions need special rights which are not permitted by default in V-Servers. Allowing CAPs is often not necessary since those special CAPs are only required once (e.g. when the program initializes the directories/settings/whatever).&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=OpenGroupware Apache Module&lt;br /&gt;
||Details=If your V-Server doesn't have access to localhost, then the connection to the !OpenGroupware server will fail with a &amp;quot;Internal Server Error&amp;quot;.&lt;br /&gt;
The apache module for !OpenGroupware called mod_ngobjweb uses a hardcoded &amp;quot;127.0.0.1&amp;quot; IP address in the source (handler.c line 339), this line you need to change to the IP address that should be used (the IP of the V-Server that runs the OpenGroupware server)|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Hylafax (with CAPI)|Details=&lt;br /&gt;
:If you want to run hylafax in a V-Server, you will get a CAP and device problem which can be easily solved. First you need your capi20 devices in your V-Server, which can't be created by ./MAKEDEV (requires special CAPs) so copy the devices into the V-Server, like this (command run on the host):&lt;br /&gt;
:cp -aR /dev/capi* /vservers/your_vserver/dev&lt;br /&gt;
:Now hylafax can access your CAPI ISDN card but will exit after a few seconds, the problem is it tries to create a /dev/null nod in the hylafax chroot. This fails because of missing  CAPs, so lets help hylafax again with copying the nod into the hylafax chroot in the V-Server. Like this (command run on the host):&lt;br /&gt;
:cp -aR /dev/null /vservers/your_vserver/var/spool/hylafax/dev&lt;br /&gt;
:Allright, now hylafax should have CAPI access and run properly.|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Links inside screen inside a V-Server|Details=&lt;br /&gt;
:Don't know why, but links crashes systematically being inside a screen session inside a V-Server started outside a V-Server. (please elaborate!)|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=screen inside a VServer|Details=&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[root@ge root]# vserver zoe enter&lt;br /&gt;
&lt;br /&gt;
zoe:/# screen&lt;br /&gt;
Cannot open your terminal '/dev/pts/5' - please check.&lt;br /&gt;
&lt;br /&gt;
zoe:/# strace screen &lt;br /&gt;
...&lt;br /&gt;
stat64(&amp;quot;/dev/pts/5&amp;quot;, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 5), ...}) = 0&lt;br /&gt;
open(&amp;quot;/dev/pts/5&amp;quot;, O_RDWR|O_NONBLOCK)   = -1 EACCES (Permission denied)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:is neither a bug nor an issue with screen, it just shows that a vserver context is not allowed to mess with host terminals. either use ssh/telnet to reach the 'guest' or start the screen session before you do the 'enter' (i.e. on the host)|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=!OpenLDAP Startup|Details=&lt;br /&gt;
:slapd needs name resolution available in order to start up, otherwise it appears to hang. Make sure you have working DNS (or whatever) available to your vserver before starting one with slapd. This behavior is confirmed in my setup, no confirmation from others yet. My Setup: vservers all bind to an interface on a DMZ-like network segment, BIND runs on a vserver. slapd would hang at startup if the BIND vserver had not been started first.|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=rndc|Details=&lt;br /&gt;
:Bind's rndc has a hardcoded 127.0.0.1 somewhere so any command to rndc will fail with connection refused.&lt;br /&gt;
:You should have a reachable localhost address defined in /etc/hosts and then you can use rndc -s localhost command&lt;br /&gt;
:You can make a rndc.conf and set the default-server option, like that the '-s localhost' isn't necessary.|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Asterisk|Details=&lt;br /&gt;
:Since some version of Asterisk (at least since 1.0.2), it will not run anymore. On start it fails with: &amp;quot;Unable to set high priority&amp;quot;&lt;br /&gt;
:This can be solved by allowing CAP_SYS_NICE for that VServer.&lt;br /&gt;
:You can also not run Asterisk with the realtime priority :&lt;br /&gt;
:Just pass the '-p' command ligne argument to disable the read-time priority.&lt;br /&gt;
:.&lt;br /&gt;
:Good doc on setting up Asterisk devices in the vserver:&lt;br /&gt;
:http://www.telephreak.org/papers/vpa/|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Open/!FreeSwan|Details=&lt;br /&gt;
:Fails because of writing to /proc (requires patch)&lt;br /&gt;
:TODO: write me|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Samba|Details=&lt;br /&gt;
:Oplocks don't work as smbd insists on receiving break requests from 127.0.0.1 \\&lt;br /&gt;
Just patch source/smbd/oplock.c (commenting paranoid code)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
+++ oplock.c.orig       2005-02-14 14:27:51.000000000 +0200&lt;br /&gt;
--- oplock.c    2005-02-02 12:27:50.000000000 +0200&lt;br /&gt;
@@ -181,14 +181,12 @@&lt;br /&gt;
                return False;&lt;br /&gt;
        }&lt;br /&gt;
&lt;br /&gt;
+#if 0&lt;br /&gt;
     /* Validate message from address (must be localhost). */&lt;br /&gt;
        if(from.sin_addr.s_addr != htonl(INADDR_LOOPBACK)) {&lt;br /&gt;
                DEBUG(0,(&amp;quot;receive_local_message: invalid 'from' address \&lt;br /&gt;
 (was %lx should be 127.0.0.1)\n&amp;quot;, (long)from.sin_addr.s_addr));&lt;br /&gt;
                return False;&lt;br /&gt;
        }&lt;br /&gt;
+#endif&lt;br /&gt;
&lt;br /&gt;
        /* Setup the message header */&lt;br /&gt;
        SIVAL(buffer,OPBRK_CMD_LEN_OFFSET,msg_len);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
or if you don't want to patch the samba source code you can disable oplock in Samba and it will work too!&lt;br /&gt;
Just put the following in your smb.conf:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
kernel oplocks = no&lt;br /&gt;
oplocks = no&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: The Vserver using Samba should also listen on the broadcast address. Thereby you will not be able to have two samba servers in the same net (on the same broadcast). |Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Samba from Debian 3.1|Details=&lt;br /&gt;
The samba deb in sarge (3.1) provided file sharing.  The only oddity observed is that the vserver guest running samba did not appear in a windows box's 'My Network Places'&lt;br /&gt;
    Use a WINS server. The SMB browsing protocol relies heavily on broadcasts on the local net, which are problematic with vservers. WINS resolution on the other hand is unicast and works flawlessly under vserver.|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Samba printer and file server with cups|Details=&lt;br /&gt;
:Samba runs correctly in a Mandriva (Mdk) 10.1 Vserver, (Apart from the above oplock problem ?).&lt;br /&gt;
: \\&lt;br /&gt;
First, edit your {{/etc/sysconfig/network}} file, and set {{networking}} to {{yes}} (This will solve problems for other services !):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cat /etc/sysconfig/network&lt;br /&gt;
NETWORKING=yes&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
Some more tweaking is needeed in {{/etc/smb.conf}}:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cat /etc/smb.conf&lt;br /&gt;
...&lt;br /&gt;
  # YOUR VSERVER IP/MASK HERE&lt;br /&gt;
  interfaces = xxx.xxx.xxx.xxx/mask&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
That's all !!!&lt;br /&gt;
: \\&lt;br /&gt;
But if you're using Samba + Cups to provide printing for Windows clients, AND if you want to use the {{Point and Print}} feature, there is more: In the {{[printers]}} section of your {{smb.conf}}, you should have the {{use client drivers}} directive set to {{no}}, or the driver upload procedure will fail !&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cat /etc/smb.conf&lt;br /&gt;
...&lt;br /&gt;
  use client driver = no&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
So, here is a full {{smb.conf}} file:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cat /etc/samba/smb.conf | awk '!/^$/ &amp;amp;&amp;amp; !/^\s*(#|;)/ {print $0}'&lt;br /&gt;
[global]&lt;br /&gt;
   workgroup = MYDOMAIN&lt;br /&gt;
   netbios name = MYHOSTNAME&lt;br /&gt;
   server string = MYCOMMENT (Samba %v)&lt;br /&gt;
   printcap name = cups&lt;br /&gt;
   load printers = yes&lt;br /&gt;
   printing = cups&lt;br /&gt;
   printer admin = @adm&lt;br /&gt;
   log file = /var/log/samba/log.%m&lt;br /&gt;
   max log size = 50&lt;br /&gt;
   map to guest = bad user&lt;br /&gt;
   security = domain&lt;br /&gt;
   password server = *&lt;br /&gt;
   encrypt passwords = yes&lt;br /&gt;
   smb passwd file = /etc/samba/smbpasswd&lt;br /&gt;
   username map = /etc/samba/smbusers&lt;br /&gt;
   idmap uid = 10000-20000&lt;br /&gt;
   idmap gid = 10000-20000&lt;br /&gt;
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192&lt;br /&gt;
   interfaces = 127. MYVSERVERIP/MYVSERVERMASK&lt;br /&gt;
   wins server = MYWINSIP&lt;br /&gt;
   dns proxy = no&lt;br /&gt;
   # for french users:&lt;br /&gt;
   dos charset = 850&lt;br /&gt;
   unix charset = ISO8859-1&lt;br /&gt;
[homes]&lt;br /&gt;
   comment = Home Directories&lt;br /&gt;
   browseable = no&lt;br /&gt;
   writable = no&lt;br /&gt;
[printers]&lt;br /&gt;
   comment = All Printers&lt;br /&gt;
   path = /var/spool/samba&lt;br /&gt;
   browseable = no&lt;br /&gt;
   guest ok = no&lt;br /&gt;
   writable = no&lt;br /&gt;
   printable = yes&lt;br /&gt;
   create mode = 0700&lt;br /&gt;
   print command = lpr-cups -P %p -o raw %s -r   # using client side printer drivers.&lt;br /&gt;
   use client driver = no&lt;br /&gt;
[print$]&lt;br /&gt;
   path = /var/lib/samba/printers&lt;br /&gt;
   browseable = yes&lt;br /&gt;
   write list = @adm root&lt;br /&gt;
   guest ok = yes&lt;br /&gt;
   inherit permissions = yes&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
...And a working smbusers:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Unix_name = SMB_name1 SMB_name2 ...&lt;br /&gt;
root = administrator MYDOMAIN\administrator&lt;br /&gt;
nobody = guest pcguest smbguest&lt;br /&gt;
&amp;lt;/pre&amp;gt;|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Cups print server|Details=&lt;br /&gt;
: Symptoms: The Cups init script exits with:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Starting CUPS printing system: cupsd: Child exited with status 98!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
And the logs ({{/var/log/cups/error_log}}) show:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
E [date:hour...] StartListening: Unable to bind socket for address 0.0.0.0:631 - Address already in use.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:...Or something like this.&lt;br /&gt;
: \\&lt;br /&gt;
With a correct &amp;quot;cupsd.conf file&amp;quot; (Tested version 1.1.21-0.rc1.7mdk, on Mandrake 10.1 - Now Mandriva), it works; All we need is to remove references to {{127.0.0.1}} or {{localhost}} from the file, as well as correctly unsetting the {{Listen}} directive:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
LogLevel info&lt;br /&gt;
TempDir /var/spool/cups/tmp&lt;br /&gt;
# No 'Listen' directive !&lt;br /&gt;
Port 631&lt;br /&gt;
BrowseAddress @LOCAL&lt;br /&gt;
BrowseDeny All&lt;br /&gt;
BrowseAllow @LOCAL&lt;br /&gt;
BrowseOrder deny,allow&lt;br /&gt;
&amp;lt;Location /&amp;gt;&lt;br /&gt;
  Order Deny,Allow&lt;br /&gt;
  Deny From All&lt;br /&gt;
  Allow From @LOCAL&lt;br /&gt;
&amp;lt;/Location&amp;gt;&lt;br /&gt;
&amp;lt;Location /admin&amp;gt;&lt;br /&gt;
  AuthType Basic&lt;br /&gt;
  AuthClass System&lt;br /&gt;
  Order Deny,Allow&lt;br /&gt;
  Deny From All&lt;br /&gt;
  Allow From YOUR_NETWORK_ADDRESS/YOUR_NETMASK # Example: 172.16.0.0/24&lt;br /&gt;
# Or&lt;br /&gt;
  Allow From @LOCAL&lt;br /&gt;
&amp;lt;/Location&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
Then you'll need to modify the {{/etc/init.d/cups}} script, to comment any section referring to {{127.0.0.1}} lookup and configuration. This section exists at least on Mandrake 10.1, and is pretty long (Lines 35 to 55 and/or 79), and additionnaly four &amp;quot;{{else...if}}&amp;quot; lines must be commented far below (Lines 161 to 164) !&lt;br /&gt;
: \\&lt;br /&gt;
Remember to stop any Cupsd running in the host server, or to start it ''via'' a wrapper {{/etc/init.d/v_cups}} script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
# chkconfig: 2345 15 60&lt;br /&gt;
# description: Wrapper to start cups bound to a single IP&lt;br /&gt;
USR_LIB_VSERVER=/usr/lib/util-vserver&lt;br /&gt;
exec $USR_LIB_VSERVER/vsysvwrapper cups $*&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
Do not forget to give a password to the root user, if you want to ba able to manage your printers from the web interface (http://yourcupsvserver:631)!&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# passwd root&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
If you use Mandriva 10.1 (And maybe some other distros), you&amp;amp;#8217;ll need to add the printers drivers for Cups, and reload it:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# urpmi --root /vservers/yourcupsvserver/ cups-drivers&lt;br /&gt;
# /etc/init.d/cups reload&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
&amp;amp;#8230;It added 67 Mb of packages for me.&lt;br /&gt;
: \\&lt;br /&gt;
Then use {{/etc/init.d/v_cups (re)start}} to launch Cups on the host server.&lt;br /&gt;
:You will now be able to make Cupsd start in the vserver , but more tweaking on the ACLs may be necessary to avoid authentification problems...|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Bind9 on Debian GNU/Linux Woody (3.0) and Sarge (3.1)|Details=&lt;br /&gt;
:named provided by the bind9 binary packages fails to start because it is compiled with CAPs option.&lt;br /&gt;
: \\&lt;br /&gt;
The debian way is to build** your own package without CAPs:&lt;br /&gt;
: \\&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
su -&lt;br /&gt;
cd /usr/src&lt;br /&gt;
apt-get build-dep bind9&lt;br /&gt;
apt-get source bind9&lt;br /&gt;
cd bind9-x.x.x&lt;br /&gt;
vi debian/rules&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
Insert the following line after &amp;quot;./configure --prefix=/usr \&amp;quot;:&lt;br /&gt;
: \\&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--disable-linux-caps \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
On a NPTL-enabled system you alse have to replace \\&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--enable-threads \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: with \\&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
--disable-threads \&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: or bind might refuse to run with an other user than root.&lt;br /&gt;
: \\&lt;br /&gt;
Save the file and go ahead with compiling/installing:&lt;br /&gt;
: \\&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
dpkg-buildpackage&lt;br /&gt;
dpkg -i ../bind9-x.x.x.deb&lt;br /&gt;
echo &amp;quot;bind9 hold&amp;quot; | dpkg --set-selections&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
: \\&lt;br /&gt;
The last line is to set the package &amp;quot;on hold&amp;quot;, so it is not touched by the update process. you have to take care of security holes by yourself now!&lt;br /&gt;
: \\&lt;br /&gt;
The Xs in &amp;quot;bind9-x.x.x&amp;quot; denote the version number of bind9.&lt;br /&gt;
: \\&lt;br /&gt;
&lt;br /&gt;
** Alternatively you can allow the CAP_SYS_RESOURCE for that V-Server.&lt;br /&gt;
&lt;br /&gt;
The best way would be to fix bind, which is somehow broken when it comes to capabilities.&lt;br /&gt;
Daniel Hokka Zakrisson repaired it. His patch is to be found here:&lt;br /&gt;
&lt;br /&gt;
[http://daniel.hozac.com/stuff/bind-9.3.2-caps-when-available.patch bind-9.3.2-caps-when-available.patch]&lt;br /&gt;
So, if you recompile, it would be the cleanest way to apply that patch. Thanks Daniel!&lt;br /&gt;
&lt;br /&gt;
It would be also nice, if someone submits that patch to the bind people or maybe to your distribution's package maintainers in the first step.&lt;br /&gt;
&lt;br /&gt;
Get my [http://linux-vserver.derjohn.de/bind9-packages/bind9-capacheck_9.3.2-2_i386.deb vserver-guest-ready Debian bind9 package] for Debian Sid guests. Feedback welcome: aj@net-lab.net|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Postfix 2.1.5 (Debian Sarge)|Details=&lt;br /&gt;
:On a vserver with two interfaces (lo and eth0), and a postfix 2.1.5 listening on lo, postfix can't send emails : &amp;quot;Invalid argument&amp;quot;... Setting smtp_bind_address (http://www.postfix.org/postconf.5.html#smtp_bind_address) to the external address solves the issue.|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Zimbra Mail|Details=&lt;br /&gt;
Zimbra is many applications (including Postfix and MySQL and OpenLDAP and more) which try to take over the interfaces, and depend a lot on binding from 127.0.0.1 - it is not hard to change, but there is a couple of tricks - it is documented here - http://wiki.zimbra.com/index.php?title=Install_VServer|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=xine|Details=&lt;br /&gt;
xine won't start with no error message.&lt;br /&gt;
&amp;quot;xine --verbose&amp;quot; shows this.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ERROR: Could not determine network interfaces, you must use a interfaces config line&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This happens if you have the xineplug_inp_smb.so plugin. Delete it and everything is fine.|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=127.0.0.1 issues|Details=&lt;br /&gt;
I had problems with an application that wanted me to access it on 127.0.0.1 and AS 127.0.0.1 to be able to do its configuration. A simple tweak solved the problem. I renamed the default interface directory &amp;quot;0&amp;quot; in /etc/vservers/server/interfaces to &amp;quot;1&amp;quot; and created interface 0 as :&lt;br /&gt;
:dev lo&lt;br /&gt;
:ip 127.0.0.1&lt;br /&gt;
:mask 255.0.0.0&lt;br /&gt;
:name lo&lt;br /&gt;
&lt;br /&gt;
now interface &amp;quot;1&amp;quot; is the default created interface by the vserver build script with a local adress like 192.168.1.2 and interface &amp;quot;0&amp;quot; is the loopback. I can now telnet on 127.0.0.1 and it sees that im connecting to 127.0.0.1 from 127.0.0.1&lt;br /&gt;
&lt;br /&gt;
Compiling nagios-1.4 within a vserver requires this, otherwise it hangs during the configure with &amp;quot;checking for ICMP ping syntax...&amp;quot;|Signature=ProblematicPrograms}}&lt;br /&gt;
&lt;br /&gt;
/!\ BIG FAT WARNING: DON'T DO THIS IT WILL ADD VSERVER ACCESS TO THE 127.0.0.1 OF THE HOST (quoting Bertl on irc)&lt;br /&gt;
&lt;br /&gt;
{{Question|Question=Hula-project|Details=&lt;br /&gt;
Does not want to start :(|Signature=ProblematicPrograms}}&lt;/div&gt;</summary>
		<author><name>Gebura</name></author>	</entry>

	<entry>
		<id>http://linux-vserver.at/util-vserver:Vhashify</id>
		<title>util-vserver:Vhashify</title>
		<link rel="alternate" type="text/html" href="http://linux-vserver.at/util-vserver:Vhashify"/>
				<updated>2009-03-31T22:37:14Z</updated>
		
		<summary type="html">&lt;p&gt;Gebura: /* Mini FAQ */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== All about vunify / vhashify ==&lt;br /&gt;
&lt;br /&gt;
Some collected wisdom about the vunify/vhashify functionality:&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;unification&amp;quot; is the process of replacing files with hardlinks to identical files in other vservers (or, in the case of vhashify, more precisely to a common base); for security, the files are then supplied with immutable-but-unlinkable flags (a vserver speciality), and recently COW link capability has been added to vserver (2.2+), which means that when such a file is being modified, the hardlink is automatically dissolved and the contents copied (CONFIG_VSERVER_COWBL).&lt;br /&gt;
&lt;br /&gt;
* vhashify is the successor to vunify; vunify only looks at files at identical relative paths and links them if they are identical; vhashify builds hash values over the contents of ''all'' (non-excluded) files and links them into a common base directory,  or unifies them with pre-existing links there. So running hashification on multiple vservers will effectively hard link their identical files.&lt;br /&gt;
&lt;br /&gt;
* You don't call the vhashify tool directly (which lives in lib/util-vserver/), but let the &amp;quot;vserver&amp;quot; multipurpose script do the work:&lt;br /&gt;
&lt;br /&gt;
 vserver &amp;lt;vserver-name&amp;gt; hashify&lt;br /&gt;
&lt;br /&gt;
* The guest needs to be running for the above because vhashify may try to figure out what files not to hashify by calling the package manager of the guest via &amp;lt;tt&amp;gt;vserver exec&amp;lt;/tt&amp;gt;; the reason for this is that it tries not to unify config files because they couldn't be written to afterwards unless COW links are supported (which is a recent addition), which may be a hassle (unlike with program/library files which are not overwritten but replaced on upgrades). The details of how the list of config files is retrieved can be found in &amp;lt;tt&amp;gt;scripts/vpkg&amp;lt;/tt&amp;gt; (&amp;lt;tt&amp;gt;lib/util-vserver/vpkg&amp;lt;/tt&amp;gt; after installation), which is called by the vhashify program (through MatchList_initManually). Currently this means redhat|mandrake and debian are supported. It is looking at a XXX/style file (what's XXX?) for finding out which distribution a guest is running (can this be a problem?) -&amp;gt; open questions to be looked at.&lt;br /&gt;
* To prevent vhashify from getting a list of config files from the packagemgt system, see the &amp;lt;tt&amp;gt;pkgmgmt-ignore&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;pkgmgmt-force&amp;lt;/tt&amp;gt; options in &amp;lt;tt&amp;gt;/etc/vservers/.defaults/apps/vunify&amp;lt;/tt&amp;gt; or per-vserver configuration directory. If you disable this, you might want to set a manual exclude list, when the default &amp;lt;tt&amp;gt;/usr/lib/util-vserver/defaults/vunify-exclude&amp;lt;/tt&amp;gt; is not sufficient.&lt;br /&gt;
* See &amp;lt;tt&amp;gt;/etc/vservers/&amp;lt;vserver-name&amp;gt;/apps/vunify/exclude&amp;lt;/tt&amp;gt; on the flower page for a meaning of the &amp;lt;tt&amp;gt;exclude&amp;lt;/tt&amp;gt; file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- I think this is no longer relevant (* If one configures exclude lists, vhashify is supposed ''not'' to use package management for getting the config file list ''-&amp;gt; actually it turns out this is not the case, vserver exec is even being called with an exclude file present''. (One can check whether vpkg is being run by adding an &amp;lt;tt&amp;gt;echo &amp;quot;$0 $@ called..&amp;quot; &amp;gt;&amp;amp;2&amp;lt;/tt&amp;gt; statement at the top of that script. Note the redirection to stderr.)). From looking at the code, vpkg is always run when pkgmgmt is enabled for  --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Backups ===&lt;br /&gt;
&lt;br /&gt;
Be careful to restore the link flags when making or restoring from backups, or vservers won't be safely parted anymore. Do either of the following:&lt;br /&gt;
&lt;br /&gt;
* use tools which backup and restore the link flags (&amp;quot;dump&amp;quot; and &amp;quot;restore&amp;quot; might work, the writer of these lines has not tested them)&lt;br /&gt;
&lt;br /&gt;
* back up the directory containing the hashes, too (&amp;lt;tt&amp;gt;/vservers/.hash&amp;lt;/tt&amp;gt; when following the suggested configuration directives); for restoring from the backup, also restore the .hash directory, then run setattr over all files contained therein; this should work (not yet tested!):&lt;br /&gt;
&lt;br /&gt;
 find /vservers/.hash -type f -print0|xargs -0 setattr --iunlink --&lt;br /&gt;
&lt;br /&gt;
* (back up and) restore each vserver individually, so no hardlinks to other vservers are created. Then run hashify. (Be aware that you need more space until hashify has run, so restoring from a backup onto a partition of equal size might not work.)&lt;br /&gt;
&lt;br /&gt;
=== Cleanup ===&lt;br /&gt;
Remove non referenced files&lt;br /&gt;
&lt;br /&gt;
 find /vservers/.hash -type f -links 1 -exec rm -v '{}' ';'&lt;br /&gt;
&lt;br /&gt;
=== Mini FAQ ===&lt;br /&gt;
&lt;br /&gt;
1Q: &amp;lt;serek&amp;gt; so after cloning, i need to dist-upgrade each vserver separately but finally they will use the same files, right?&lt;br /&gt;
&lt;br /&gt;
1A: &amp;lt;Bertl&amp;gt; you can upgrade all at once or separately, whenever you run vhashify on them, identical data will be linked together&lt;br /&gt;
&lt;br /&gt;
2Q: &amp;lt;serek&amp;gt; may vhashify two existing hosts as well, right?&lt;br /&gt;
&lt;br /&gt;
2A: &amp;lt;Bertl&amp;gt; yep, anytime&lt;br /&gt;
&lt;br /&gt;
3Q: &amp;lt;fluor-&amp;gt; &amp;lt; Bertl&amp;gt; you can upgrade all at once or separately &amp;lt;- what would the &amp;quot;all at once&amp;quot; method be?&lt;br /&gt;
&lt;br /&gt;
3A: &amp;lt;Bertl&amp;gt; depends on the package management, for most common management mechanisms, there is vapt, vyum, and vrpm&lt;br /&gt;
&lt;br /&gt;
Note that &amp;quot;all at once&amp;quot; doesn't mean &amp;quot;simultaneously&amp;quot;, just &amp;quot;with a single command&amp;quot;. When you mass upgrade your vservers, their identical files won't be hardlinked together until you run vserver hashify again on each of them. This means you'll need a lot more disk space until you vhashify. And don't forget to remove hashed files that no longer have other hard links.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4Q: What does the syntax -/+/~ refer to in the vunify-exclude file ?&lt;br /&gt;
&lt;br /&gt;
4A:&lt;br /&gt;
* - Means exclude : Default operation (same as no modifier)&lt;br /&gt;
* + Means include : Allow you to include file/folder in a excluded folder&lt;br /&gt;
* ~ Means skip : ??&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5Q: I have got the message &amp;quot;Duplicate hash-dir entry 'root' found&amp;quot;&lt;br /&gt;
&lt;br /&gt;
5A:&lt;br /&gt;
* looks like you already had the symlink setup.&lt;br /&gt;
&amp;lt;code&amp;gt;ls -l /etc/vservers/.defaults/apps/vunify/hash&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;[...]&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;lrwxrwxrwx 1 root root 23 mar  1 00:19 00 -&amp;gt; /var/lib/vservers/.hash  &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;lrwxrwxrwx 1 root root 15 avr  1 00:00 root -&amp;gt; /var/lib/vservers/.hash &amp;lt;/code&amp;gt;&lt;br /&gt;
* Remove the link /etc/vservers/.defaults/apps/vunify/hash/root&lt;br /&gt;
&lt;br /&gt;
=== See also ===&lt;br /&gt;
&lt;br /&gt;
* [[util-vserver:Documentation]] or maybe rather the [http://www.nongnu.org/util-vserver/doc/conf/configuration.html &amp;quot;Flower Page&amp;quot;]&lt;br /&gt;
* [[Frequently_Asked_Questions#What_is_unification_.28vunify.29.3F]]&lt;/div&gt;</summary>
		<author><name>Gebura</name></author>	</entry>

	<entry>
		<id>http://linux-vserver.at/util-vserver:Vhashify</id>
		<title>util-vserver:Vhashify</title>
		<link rel="alternate" type="text/html" href="http://linux-vserver.at/util-vserver:Vhashify"/>
				<updated>2009-03-31T22:32:19Z</updated>
		
		<summary type="html">&lt;p&gt;Gebura: /* Mini FAQ */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== All about vunify / vhashify ==&lt;br /&gt;
&lt;br /&gt;
Some collected wisdom about the vunify/vhashify functionality:&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;unification&amp;quot; is the process of replacing files with hardlinks to identical files in other vservers (or, in the case of vhashify, more precisely to a common base); for security, the files are then supplied with immutable-but-unlinkable flags (a vserver speciality), and recently COW link capability has been added to vserver (2.2+), which means that when such a file is being modified, the hardlink is automatically dissolved and the contents copied (CONFIG_VSERVER_COWBL).&lt;br /&gt;
&lt;br /&gt;
* vhashify is the successor to vunify; vunify only looks at files at identical relative paths and links them if they are identical; vhashify builds hash values over the contents of ''all'' (non-excluded) files and links them into a common base directory,  or unifies them with pre-existing links there. So running hashification on multiple vservers will effectively hard link their identical files.&lt;br /&gt;
&lt;br /&gt;
* You don't call the vhashify tool directly (which lives in lib/util-vserver/), but let the &amp;quot;vserver&amp;quot; multipurpose script do the work:&lt;br /&gt;
&lt;br /&gt;
 vserver &amp;lt;vserver-name&amp;gt; hashify&lt;br /&gt;
&lt;br /&gt;
* The guest needs to be running for the above because vhashify may try to figure out what files not to hashify by calling the package manager of the guest via &amp;lt;tt&amp;gt;vserver exec&amp;lt;/tt&amp;gt;; the reason for this is that it tries not to unify config files because they couldn't be written to afterwards unless COW links are supported (which is a recent addition), which may be a hassle (unlike with program/library files which are not overwritten but replaced on upgrades). The details of how the list of config files is retrieved can be found in &amp;lt;tt&amp;gt;scripts/vpkg&amp;lt;/tt&amp;gt; (&amp;lt;tt&amp;gt;lib/util-vserver/vpkg&amp;lt;/tt&amp;gt; after installation), which is called by the vhashify program (through MatchList_initManually). Currently this means redhat|mandrake and debian are supported. It is looking at a XXX/style file (what's XXX?) for finding out which distribution a guest is running (can this be a problem?) -&amp;gt; open questions to be looked at.&lt;br /&gt;
* To prevent vhashify from getting a list of config files from the packagemgt system, see the &amp;lt;tt&amp;gt;pkgmgmt-ignore&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;pkgmgmt-force&amp;lt;/tt&amp;gt; options in &amp;lt;tt&amp;gt;/etc/vservers/.defaults/apps/vunify&amp;lt;/tt&amp;gt; or per-vserver configuration directory. If you disable this, you might want to set a manual exclude list, when the default &amp;lt;tt&amp;gt;/usr/lib/util-vserver/defaults/vunify-exclude&amp;lt;/tt&amp;gt; is not sufficient.&lt;br /&gt;
* See &amp;lt;tt&amp;gt;/etc/vservers/&amp;lt;vserver-name&amp;gt;/apps/vunify/exclude&amp;lt;/tt&amp;gt; on the flower page for a meaning of the &amp;lt;tt&amp;gt;exclude&amp;lt;/tt&amp;gt; file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- I think this is no longer relevant (* If one configures exclude lists, vhashify is supposed ''not'' to use package management for getting the config file list ''-&amp;gt; actually it turns out this is not the case, vserver exec is even being called with an exclude file present''. (One can check whether vpkg is being run by adding an &amp;lt;tt&amp;gt;echo &amp;quot;$0 $@ called..&amp;quot; &amp;gt;&amp;amp;2&amp;lt;/tt&amp;gt; statement at the top of that script. Note the redirection to stderr.)). From looking at the code, vpkg is always run when pkgmgmt is enabled for  --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Backups ===&lt;br /&gt;
&lt;br /&gt;
Be careful to restore the link flags when making or restoring from backups, or vservers won't be safely parted anymore. Do either of the following:&lt;br /&gt;
&lt;br /&gt;
* use tools which backup and restore the link flags (&amp;quot;dump&amp;quot; and &amp;quot;restore&amp;quot; might work, the writer of these lines has not tested them)&lt;br /&gt;
&lt;br /&gt;
* back up the directory containing the hashes, too (&amp;lt;tt&amp;gt;/vservers/.hash&amp;lt;/tt&amp;gt; when following the suggested configuration directives); for restoring from the backup, also restore the .hash directory, then run setattr over all files contained therein; this should work (not yet tested!):&lt;br /&gt;
&lt;br /&gt;
 find /vservers/.hash -type f -print0|xargs -0 setattr --iunlink --&lt;br /&gt;
&lt;br /&gt;
* (back up and) restore each vserver individually, so no hardlinks to other vservers are created. Then run hashify. (Be aware that you need more space until hashify has run, so restoring from a backup onto a partition of equal size might not work.)&lt;br /&gt;
&lt;br /&gt;
=== Cleanup ===&lt;br /&gt;
Remove non referenced files&lt;br /&gt;
&lt;br /&gt;
 find /vservers/.hash -type f -links 1 -exec rm -v '{}' ';'&lt;br /&gt;
&lt;br /&gt;
=== Mini FAQ ===&lt;br /&gt;
&lt;br /&gt;
1Q: &amp;lt;serek&amp;gt; so after cloning, i need to dist-upgrade each vserver separately but finally they will use the same files, right?&lt;br /&gt;
&lt;br /&gt;
1A: &amp;lt;Bertl&amp;gt; you can upgrade all at once or separately, whenever you run vhashify on them, identical data will be linked together&lt;br /&gt;
&lt;br /&gt;
2Q: &amp;lt;serek&amp;gt; may vhashify two existing hosts as well, right?&lt;br /&gt;
&lt;br /&gt;
2A: &amp;lt;Bertl&amp;gt; yep, anytime&lt;br /&gt;
&lt;br /&gt;
3Q: &amp;lt;fluor-&amp;gt; &amp;lt; Bertl&amp;gt; you can upgrade all at once or separately &amp;lt;- what would the &amp;quot;all at once&amp;quot; method be?&lt;br /&gt;
&lt;br /&gt;
3A: &amp;lt;Bertl&amp;gt; depends on the package management, for most common management mechanisms, there is vapt, vyum, and vrpm&lt;br /&gt;
&lt;br /&gt;
Note that &amp;quot;all at once&amp;quot; doesn't mean &amp;quot;simultaneously&amp;quot;, just &amp;quot;with a single command&amp;quot;. When you mass upgrade your vservers, their identical files won't be hardlinked together until you run vserver hashify again on each of them. This means you'll need a lot more disk space until you vhashify. And don't forget to remove hashed files that no longer have other hard links.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4Q: What does the syntax -/+/~ refer to in the vunify-exclude file ?&lt;br /&gt;
&lt;br /&gt;
4A:&lt;br /&gt;
* - Means exclude : Default operation (same as no modifier)&lt;br /&gt;
* + Means include : Allow you to include file/folder in a excluded folder&lt;br /&gt;
* ~ Means skip : ??&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5Q: I have got the message &amp;quot;Duplicate hash-dir entry 'root' found&amp;quot;&lt;br /&gt;
4A:&lt;br /&gt;
* looks like you already had the symlink setup.&lt;br /&gt;
&amp;lt;code&amp;gt;ls -l /etc/vservers/.defaults/apps/vunify/hash&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;[...]&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;lrwxrwxrwx 1 root root 23 mar  1 00:19 00 -&amp;gt; /var/lib/vservers/.hash  &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;lrwxrwxrwx 1 root root 15 avr  1 00:00 root -&amp;gt; /var/lib/vservers/.hash &amp;lt;/code&amp;gt;&lt;br /&gt;
* Remove the link /etc/vservers/.defaults/apps/vunify/hash/root&lt;br /&gt;
&lt;br /&gt;
=== See also ===&lt;br /&gt;
&lt;br /&gt;
* [[util-vserver:Documentation]] or maybe rather the [http://www.nongnu.org/util-vserver/doc/conf/configuration.html &amp;quot;Flower Page&amp;quot;]&lt;br /&gt;
* [[Frequently_Asked_Questions#What_is_unification_.28vunify.29.3F]]&lt;/div&gt;</summary>
		<author><name>Gebura</name></author>	</entry>

	<entry>
		<id>http://linux-vserver.at/util-vserver:Vhashify</id>
		<title>util-vserver:Vhashify</title>
		<link rel="alternate" type="text/html" href="http://linux-vserver.at/util-vserver:Vhashify"/>
				<updated>2009-03-31T22:32:01Z</updated>
		
		<summary type="html">&lt;p&gt;Gebura: /* Mini FAQ */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== All about vunify / vhashify ==&lt;br /&gt;
&lt;br /&gt;
Some collected wisdom about the vunify/vhashify functionality:&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;unification&amp;quot; is the process of replacing files with hardlinks to identical files in other vservers (or, in the case of vhashify, more precisely to a common base); for security, the files are then supplied with immutable-but-unlinkable flags (a vserver speciality), and recently COW link capability has been added to vserver (2.2+), which means that when such a file is being modified, the hardlink is automatically dissolved and the contents copied (CONFIG_VSERVER_COWBL).&lt;br /&gt;
&lt;br /&gt;
* vhashify is the successor to vunify; vunify only looks at files at identical relative paths and links them if they are identical; vhashify builds hash values over the contents of ''all'' (non-excluded) files and links them into a common base directory,  or unifies them with pre-existing links there. So running hashification on multiple vservers will effectively hard link their identical files.&lt;br /&gt;
&lt;br /&gt;
* You don't call the vhashify tool directly (which lives in lib/util-vserver/), but let the &amp;quot;vserver&amp;quot; multipurpose script do the work:&lt;br /&gt;
&lt;br /&gt;
 vserver &amp;lt;vserver-name&amp;gt; hashify&lt;br /&gt;
&lt;br /&gt;
* The guest needs to be running for the above because vhashify may try to figure out what files not to hashify by calling the package manager of the guest via &amp;lt;tt&amp;gt;vserver exec&amp;lt;/tt&amp;gt;; the reason for this is that it tries not to unify config files because they couldn't be written to afterwards unless COW links are supported (which is a recent addition), which may be a hassle (unlike with program/library files which are not overwritten but replaced on upgrades). The details of how the list of config files is retrieved can be found in &amp;lt;tt&amp;gt;scripts/vpkg&amp;lt;/tt&amp;gt; (&amp;lt;tt&amp;gt;lib/util-vserver/vpkg&amp;lt;/tt&amp;gt; after installation), which is called by the vhashify program (through MatchList_initManually). Currently this means redhat|mandrake and debian are supported. It is looking at a XXX/style file (what's XXX?) for finding out which distribution a guest is running (can this be a problem?) -&amp;gt; open questions to be looked at.&lt;br /&gt;
* To prevent vhashify from getting a list of config files from the packagemgt system, see the &amp;lt;tt&amp;gt;pkgmgmt-ignore&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;pkgmgmt-force&amp;lt;/tt&amp;gt; options in &amp;lt;tt&amp;gt;/etc/vservers/.defaults/apps/vunify&amp;lt;/tt&amp;gt; or per-vserver configuration directory. If you disable this, you might want to set a manual exclude list, when the default &amp;lt;tt&amp;gt;/usr/lib/util-vserver/defaults/vunify-exclude&amp;lt;/tt&amp;gt; is not sufficient.&lt;br /&gt;
* See &amp;lt;tt&amp;gt;/etc/vservers/&amp;lt;vserver-name&amp;gt;/apps/vunify/exclude&amp;lt;/tt&amp;gt; on the flower page for a meaning of the &amp;lt;tt&amp;gt;exclude&amp;lt;/tt&amp;gt; file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- I think this is no longer relevant (* If one configures exclude lists, vhashify is supposed ''not'' to use package management for getting the config file list ''-&amp;gt; actually it turns out this is not the case, vserver exec is even being called with an exclude file present''. (One can check whether vpkg is being run by adding an &amp;lt;tt&amp;gt;echo &amp;quot;$0 $@ called..&amp;quot; &amp;gt;&amp;amp;2&amp;lt;/tt&amp;gt; statement at the top of that script. Note the redirection to stderr.)). From looking at the code, vpkg is always run when pkgmgmt is enabled for  --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Backups ===&lt;br /&gt;
&lt;br /&gt;
Be careful to restore the link flags when making or restoring from backups, or vservers won't be safely parted anymore. Do either of the following:&lt;br /&gt;
&lt;br /&gt;
* use tools which backup and restore the link flags (&amp;quot;dump&amp;quot; and &amp;quot;restore&amp;quot; might work, the writer of these lines has not tested them)&lt;br /&gt;
&lt;br /&gt;
* back up the directory containing the hashes, too (&amp;lt;tt&amp;gt;/vservers/.hash&amp;lt;/tt&amp;gt; when following the suggested configuration directives); for restoring from the backup, also restore the .hash directory, then run setattr over all files contained therein; this should work (not yet tested!):&lt;br /&gt;
&lt;br /&gt;
 find /vservers/.hash -type f -print0|xargs -0 setattr --iunlink --&lt;br /&gt;
&lt;br /&gt;
* (back up and) restore each vserver individually, so no hardlinks to other vservers are created. Then run hashify. (Be aware that you need more space until hashify has run, so restoring from a backup onto a partition of equal size might not work.)&lt;br /&gt;
&lt;br /&gt;
=== Cleanup ===&lt;br /&gt;
Remove non referenced files&lt;br /&gt;
&lt;br /&gt;
 find /vservers/.hash -type f -links 1 -exec rm -v '{}' ';'&lt;br /&gt;
&lt;br /&gt;
=== Mini FAQ ===&lt;br /&gt;
&lt;br /&gt;
1Q: &amp;lt;serek&amp;gt; so after cloning, i need to dist-upgrade each vserver separately but finally they will use the same files, right?&lt;br /&gt;
&lt;br /&gt;
1A: &amp;lt;Bertl&amp;gt; you can upgrade all at once or separately, whenever you run vhashify on them, identical data will be linked together&lt;br /&gt;
&lt;br /&gt;
2Q: &amp;lt;serek&amp;gt; may vhashify two existing hosts as well, right?&lt;br /&gt;
&lt;br /&gt;
2A: &amp;lt;Bertl&amp;gt; yep, anytime&lt;br /&gt;
&lt;br /&gt;
3Q: &amp;lt;fluor-&amp;gt; &amp;lt; Bertl&amp;gt; you can upgrade all at once or separately &amp;lt;- what would the &amp;quot;all at once&amp;quot; method be?&lt;br /&gt;
&lt;br /&gt;
3A: &amp;lt;Bertl&amp;gt; depends on the package management, for most common management mechanisms, there is vapt, vyum, and vrpm&lt;br /&gt;
&lt;br /&gt;
Note that &amp;quot;all at once&amp;quot; doesn't mean &amp;quot;simultaneously&amp;quot;, just &amp;quot;with a single command&amp;quot;. When you mass upgrade your vservers, their identical files won't be hardlinked together until you run vserver hashify again on each of them. This means you'll need a lot more disk space until you vhashify. And don't forget to remove hashed files that no longer have other hard links.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4Q: What does the syntax -/+/~ refer to in the vunify-exclude file ?&lt;br /&gt;
&lt;br /&gt;
4A:&lt;br /&gt;
* - Means exclude : Default operation (same as no modifier)&lt;br /&gt;
* + Means include : Allow you to include file/folder in a excluded folder&lt;br /&gt;
* ~ Means skip : ??&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5Q: I have got the message &amp;quot;Duplicate hash-dir entry 'root' found&amp;quot;&lt;br /&gt;
4A:&lt;br /&gt;
* looks like you already had the symlink setup.&lt;br /&gt;
&amp;lt;code&amp;gt;ls -l /etc/vservers/.defaults/apps/vunify/hash&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;[...]&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;lrwxrwxrwx 1 root root 23 mar  1 00:19 00 -&amp;gt; /var/lib/vservers/.hash  &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;lrwxrwxrwx 1 root root 15 avr  1 00:00 root -&amp;gt; /vservers/.hash &amp;lt;/code&amp;gt;&lt;br /&gt;
* Remove the link /etc/vservers/.defaults/apps/vunify/hash/root&lt;br /&gt;
&lt;br /&gt;
=== See also ===&lt;br /&gt;
&lt;br /&gt;
* [[util-vserver:Documentation]] or maybe rather the [http://www.nongnu.org/util-vserver/doc/conf/configuration.html &amp;quot;Flower Page&amp;quot;]&lt;br /&gt;
* [[Frequently_Asked_Questions#What_is_unification_.28vunify.29.3F]]&lt;/div&gt;</summary>
		<author><name>Gebura</name></author>	</entry>

	<entry>
		<id>http://linux-vserver.at/util-vserver:Vhashify</id>
		<title>util-vserver:Vhashify</title>
		<link rel="alternate" type="text/html" href="http://linux-vserver.at/util-vserver:Vhashify"/>
				<updated>2009-03-31T22:31:45Z</updated>
		
		<summary type="html">&lt;p&gt;Gebura: /* Mini FAQ */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== All about vunify / vhashify ==&lt;br /&gt;
&lt;br /&gt;
Some collected wisdom about the vunify/vhashify functionality:&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;unification&amp;quot; is the process of replacing files with hardlinks to identical files in other vservers (or, in the case of vhashify, more precisely to a common base); for security, the files are then supplied with immutable-but-unlinkable flags (a vserver speciality), and recently COW link capability has been added to vserver (2.2+), which means that when such a file is being modified, the hardlink is automatically dissolved and the contents copied (CONFIG_VSERVER_COWBL).&lt;br /&gt;
&lt;br /&gt;
* vhashify is the successor to vunify; vunify only looks at files at identical relative paths and links them if they are identical; vhashify builds hash values over the contents of ''all'' (non-excluded) files and links them into a common base directory,  or unifies them with pre-existing links there. So running hashification on multiple vservers will effectively hard link their identical files.&lt;br /&gt;
&lt;br /&gt;
* You don't call the vhashify tool directly (which lives in lib/util-vserver/), but let the &amp;quot;vserver&amp;quot; multipurpose script do the work:&lt;br /&gt;
&lt;br /&gt;
 vserver &amp;lt;vserver-name&amp;gt; hashify&lt;br /&gt;
&lt;br /&gt;
* The guest needs to be running for the above because vhashify may try to figure out what files not to hashify by calling the package manager of the guest via &amp;lt;tt&amp;gt;vserver exec&amp;lt;/tt&amp;gt;; the reason for this is that it tries not to unify config files because they couldn't be written to afterwards unless COW links are supported (which is a recent addition), which may be a hassle (unlike with program/library files which are not overwritten but replaced on upgrades). The details of how the list of config files is retrieved can be found in &amp;lt;tt&amp;gt;scripts/vpkg&amp;lt;/tt&amp;gt; (&amp;lt;tt&amp;gt;lib/util-vserver/vpkg&amp;lt;/tt&amp;gt; after installation), which is called by the vhashify program (through MatchList_initManually). Currently this means redhat|mandrake and debian are supported. It is looking at a XXX/style file (what's XXX?) for finding out which distribution a guest is running (can this be a problem?) -&amp;gt; open questions to be looked at.&lt;br /&gt;
* To prevent vhashify from getting a list of config files from the packagemgt system, see the &amp;lt;tt&amp;gt;pkgmgmt-ignore&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;pkgmgmt-force&amp;lt;/tt&amp;gt; options in &amp;lt;tt&amp;gt;/etc/vservers/.defaults/apps/vunify&amp;lt;/tt&amp;gt; or per-vserver configuration directory. If you disable this, you might want to set a manual exclude list, when the default &amp;lt;tt&amp;gt;/usr/lib/util-vserver/defaults/vunify-exclude&amp;lt;/tt&amp;gt; is not sufficient.&lt;br /&gt;
* See &amp;lt;tt&amp;gt;/etc/vservers/&amp;lt;vserver-name&amp;gt;/apps/vunify/exclude&amp;lt;/tt&amp;gt; on the flower page for a meaning of the &amp;lt;tt&amp;gt;exclude&amp;lt;/tt&amp;gt; file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- I think this is no longer relevant (* If one configures exclude lists, vhashify is supposed ''not'' to use package management for getting the config file list ''-&amp;gt; actually it turns out this is not the case, vserver exec is even being called with an exclude file present''. (One can check whether vpkg is being run by adding an &amp;lt;tt&amp;gt;echo &amp;quot;$0 $@ called..&amp;quot; &amp;gt;&amp;amp;2&amp;lt;/tt&amp;gt; statement at the top of that script. Note the redirection to stderr.)). From looking at the code, vpkg is always run when pkgmgmt is enabled for  --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Backups ===&lt;br /&gt;
&lt;br /&gt;
Be careful to restore the link flags when making or restoring from backups, or vservers won't be safely parted anymore. Do either of the following:&lt;br /&gt;
&lt;br /&gt;
* use tools which backup and restore the link flags (&amp;quot;dump&amp;quot; and &amp;quot;restore&amp;quot; might work, the writer of these lines has not tested them)&lt;br /&gt;
&lt;br /&gt;
* back up the directory containing the hashes, too (&amp;lt;tt&amp;gt;/vservers/.hash&amp;lt;/tt&amp;gt; when following the suggested configuration directives); for restoring from the backup, also restore the .hash directory, then run setattr over all files contained therein; this should work (not yet tested!):&lt;br /&gt;
&lt;br /&gt;
 find /vservers/.hash -type f -print0|xargs -0 setattr --iunlink --&lt;br /&gt;
&lt;br /&gt;
* (back up and) restore each vserver individually, so no hardlinks to other vservers are created. Then run hashify. (Be aware that you need more space until hashify has run, so restoring from a backup onto a partition of equal size might not work.)&lt;br /&gt;
&lt;br /&gt;
=== Cleanup ===&lt;br /&gt;
Remove non referenced files&lt;br /&gt;
&lt;br /&gt;
 find /vservers/.hash -type f -links 1 -exec rm -v '{}' ';'&lt;br /&gt;
&lt;br /&gt;
=== Mini FAQ ===&lt;br /&gt;
&lt;br /&gt;
1Q: &amp;lt;serek&amp;gt; so after cloning, i need to dist-upgrade each vserver separately but finally they will use the same files, right?&lt;br /&gt;
&lt;br /&gt;
1A: &amp;lt;Bertl&amp;gt; you can upgrade all at once or separately, whenever you run vhashify on them, identical data will be linked together&lt;br /&gt;
&lt;br /&gt;
2Q: &amp;lt;serek&amp;gt; may vhashify two existing hosts as well, right?&lt;br /&gt;
&lt;br /&gt;
2A: &amp;lt;Bertl&amp;gt; yep, anytime&lt;br /&gt;
&lt;br /&gt;
3Q: &amp;lt;fluor-&amp;gt; &amp;lt; Bertl&amp;gt; you can upgrade all at once or separately &amp;lt;- what would the &amp;quot;all at once&amp;quot; method be?&lt;br /&gt;
&lt;br /&gt;
3A: &amp;lt;Bertl&amp;gt; depends on the package management, for most common management mechanisms, there is vapt, vyum, and vrpm&lt;br /&gt;
&lt;br /&gt;
Note that &amp;quot;all at once&amp;quot; doesn't mean &amp;quot;simultaneously&amp;quot;, just &amp;quot;with a single command&amp;quot;. When you mass upgrade your vservers, their identical files won't be hardlinked together until you run vserver hashify again on each of them. This means you'll need a lot more disk space until you vhashify. And don't forget to remove hashed files that no longer have other hard links.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4Q: What does the syntax -/+/~ refer to in the vunify-exclude file ?&lt;br /&gt;
&lt;br /&gt;
4A:&lt;br /&gt;
* - Means exclude : Default operation (same as no modifier)&lt;br /&gt;
* + Means include : Allow you to include file/folder in a excluded folder&lt;br /&gt;
* ~ Means skip : ??&lt;br /&gt;
&lt;br /&gt;
5Q: I have got the message &amp;quot;Duplicate hash-dir entry 'root' found&amp;quot;&lt;br /&gt;
4A:&lt;br /&gt;
* looks like you already had the symlink setup.&lt;br /&gt;
&amp;lt;code&amp;gt;ls -l /etc/vservers/.defaults/apps/vunify/hash&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;[...]&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;lrwxrwxrwx 1 root root 23 mar  1 00:19 00 -&amp;gt; /var/lib/vservers/.hash  &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;lrwxrwxrwx 1 root root 15 avr  1 00:00 root -&amp;gt; /vservers/.hash &amp;lt;/code&amp;gt;&lt;br /&gt;
* Remove the link /etc/vservers/.defaults/apps/vunify/hash/root&lt;br /&gt;
&lt;br /&gt;
=== See also ===&lt;br /&gt;
&lt;br /&gt;
* [[util-vserver:Documentation]] or maybe rather the [http://www.nongnu.org/util-vserver/doc/conf/configuration.html &amp;quot;Flower Page&amp;quot;]&lt;br /&gt;
* [[Frequently_Asked_Questions#What_is_unification_.28vunify.29.3F]]&lt;/div&gt;</summary>
		<author><name>Gebura</name></author>	</entry>

	<entry>
		<id>http://linux-vserver.at/util-vserver:Vhashify</id>
		<title>util-vserver:Vhashify</title>
		<link rel="alternate" type="text/html" href="http://linux-vserver.at/util-vserver:Vhashify"/>
				<updated>2009-03-31T22:31:29Z</updated>
		
		<summary type="html">&lt;p&gt;Gebura: /* Mini FAQ */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== All about vunify / vhashify ==&lt;br /&gt;
&lt;br /&gt;
Some collected wisdom about the vunify/vhashify functionality:&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;unification&amp;quot; is the process of replacing files with hardlinks to identical files in other vservers (or, in the case of vhashify, more precisely to a common base); for security, the files are then supplied with immutable-but-unlinkable flags (a vserver speciality), and recently COW link capability has been added to vserver (2.2+), which means that when such a file is being modified, the hardlink is automatically dissolved and the contents copied (CONFIG_VSERVER_COWBL).&lt;br /&gt;
&lt;br /&gt;
* vhashify is the successor to vunify; vunify only looks at files at identical relative paths and links them if they are identical; vhashify builds hash values over the contents of ''all'' (non-excluded) files and links them into a common base directory,  or unifies them with pre-existing links there. So running hashification on multiple vservers will effectively hard link their identical files.&lt;br /&gt;
&lt;br /&gt;
* You don't call the vhashify tool directly (which lives in lib/util-vserver/), but let the &amp;quot;vserver&amp;quot; multipurpose script do the work:&lt;br /&gt;
&lt;br /&gt;
 vserver &amp;lt;vserver-name&amp;gt; hashify&lt;br /&gt;
&lt;br /&gt;
* The guest needs to be running for the above because vhashify may try to figure out what files not to hashify by calling the package manager of the guest via &amp;lt;tt&amp;gt;vserver exec&amp;lt;/tt&amp;gt;; the reason for this is that it tries not to unify config files because they couldn't be written to afterwards unless COW links are supported (which is a recent addition), which may be a hassle (unlike with program/library files which are not overwritten but replaced on upgrades). The details of how the list of config files is retrieved can be found in &amp;lt;tt&amp;gt;scripts/vpkg&amp;lt;/tt&amp;gt; (&amp;lt;tt&amp;gt;lib/util-vserver/vpkg&amp;lt;/tt&amp;gt; after installation), which is called by the vhashify program (through MatchList_initManually). Currently this means redhat|mandrake and debian are supported. It is looking at a XXX/style file (what's XXX?) for finding out which distribution a guest is running (can this be a problem?) -&amp;gt; open questions to be looked at.&lt;br /&gt;
* To prevent vhashify from getting a list of config files from the packagemgt system, see the &amp;lt;tt&amp;gt;pkgmgmt-ignore&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;pkgmgmt-force&amp;lt;/tt&amp;gt; options in &amp;lt;tt&amp;gt;/etc/vservers/.defaults/apps/vunify&amp;lt;/tt&amp;gt; or per-vserver configuration directory. If you disable this, you might want to set a manual exclude list, when the default &amp;lt;tt&amp;gt;/usr/lib/util-vserver/defaults/vunify-exclude&amp;lt;/tt&amp;gt; is not sufficient.&lt;br /&gt;
* See &amp;lt;tt&amp;gt;/etc/vservers/&amp;lt;vserver-name&amp;gt;/apps/vunify/exclude&amp;lt;/tt&amp;gt; on the flower page for a meaning of the &amp;lt;tt&amp;gt;exclude&amp;lt;/tt&amp;gt; file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- I think this is no longer relevant (* If one configures exclude lists, vhashify is supposed ''not'' to use package management for getting the config file list ''-&amp;gt; actually it turns out this is not the case, vserver exec is even being called with an exclude file present''. (One can check whether vpkg is being run by adding an &amp;lt;tt&amp;gt;echo &amp;quot;$0 $@ called..&amp;quot; &amp;gt;&amp;amp;2&amp;lt;/tt&amp;gt; statement at the top of that script. Note the redirection to stderr.)). From looking at the code, vpkg is always run when pkgmgmt is enabled for  --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Backups ===&lt;br /&gt;
&lt;br /&gt;
Be careful to restore the link flags when making or restoring from backups, or vservers won't be safely parted anymore. Do either of the following:&lt;br /&gt;
&lt;br /&gt;
* use tools which backup and restore the link flags (&amp;quot;dump&amp;quot; and &amp;quot;restore&amp;quot; might work, the writer of these lines has not tested them)&lt;br /&gt;
&lt;br /&gt;
* back up the directory containing the hashes, too (&amp;lt;tt&amp;gt;/vservers/.hash&amp;lt;/tt&amp;gt; when following the suggested configuration directives); for restoring from the backup, also restore the .hash directory, then run setattr over all files contained therein; this should work (not yet tested!):&lt;br /&gt;
&lt;br /&gt;
 find /vservers/.hash -type f -print0|xargs -0 setattr --iunlink --&lt;br /&gt;
&lt;br /&gt;
* (back up and) restore each vserver individually, so no hardlinks to other vservers are created. Then run hashify. (Be aware that you need more space until hashify has run, so restoring from a backup onto a partition of equal size might not work.)&lt;br /&gt;
&lt;br /&gt;
=== Cleanup ===&lt;br /&gt;
Remove non referenced files&lt;br /&gt;
&lt;br /&gt;
 find /vservers/.hash -type f -links 1 -exec rm -v '{}' ';'&lt;br /&gt;
&lt;br /&gt;
=== Mini FAQ ===&lt;br /&gt;
&lt;br /&gt;
1Q: &amp;lt;serek&amp;gt; so after cloning, i need to dist-upgrade each vserver separately but finally they will use the same files, right?&lt;br /&gt;
&lt;br /&gt;
1A: &amp;lt;Bertl&amp;gt; you can upgrade all at once or separately, whenever you run vhashify on them, identical data will be linked together&lt;br /&gt;
&lt;br /&gt;
2Q: &amp;lt;serek&amp;gt; may vhashify two existing hosts as well, right?&lt;br /&gt;
&lt;br /&gt;
2A: &amp;lt;Bertl&amp;gt; yep, anytime&lt;br /&gt;
&lt;br /&gt;
3Q: &amp;lt;fluor-&amp;gt; &amp;lt; Bertl&amp;gt; you can upgrade all at once or separately &amp;lt;- what would the &amp;quot;all at once&amp;quot; method be?&lt;br /&gt;
&lt;br /&gt;
3A: &amp;lt;Bertl&amp;gt; depends on the package management, for most common management mechanisms, there is vapt, vyum, and vrpm&lt;br /&gt;
&lt;br /&gt;
Note that &amp;quot;all at once&amp;quot; doesn't mean &amp;quot;simultaneously&amp;quot;, just &amp;quot;with a single command&amp;quot;. When you mass upgrade your vservers, their identical files won't be hardlinked together until you run vserver hashify again on each of them. This means you'll need a lot more disk space until you vhashify. And don't forget to remove hashed files that no longer have other hard links.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4Q: What does the syntax -/+/~ refer to in the vunify-exclude file ?&lt;br /&gt;
&lt;br /&gt;
4A:&lt;br /&gt;
* - Means exclude : Default operation (same as no modifier)&lt;br /&gt;
* + Means include : Allow you to include file/folder in a excluded folder&lt;br /&gt;
* ~ Means skip : ??&lt;br /&gt;
&lt;br /&gt;
5Q: I have got the message &amp;quot;Duplicate hash-dir entry 'root' found&amp;quot;&lt;br /&gt;
4A:&lt;br /&gt;
* looks like you already had the symlink setup.&lt;br /&gt;
&amp;lt;code&amp;gt;ls -l /etc/vservers/.defaults/apps/vunify/hash&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;[...]&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;lrwxrwxrwx 1 root root 23 mar  1 00:19 00 -&amp;gt; /var/lib/vservers/.hash  &amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;lrwxrwxrwx 1 root root 15 avr  1 00:00 root -&amp;gt; /vservers/.hash &amp;lt;/code&amp;gt;&lt;br /&gt;
* Remove the link /etc/vservers/.defaults/apps/vunify/hash/root&lt;br /&gt;
&lt;br /&gt;
=== See also ===&lt;br /&gt;
&lt;br /&gt;
* [[util-vserver:Documentation]] or maybe rather the [http://www.nongnu.org/util-vserver/doc/conf/configuration.html &amp;quot;Flower Page&amp;quot;]&lt;br /&gt;
* [[Frequently_Asked_Questions#What_is_unification_.28vunify.29.3F]]&lt;/div&gt;</summary>
		<author><name>Gebura</name></author>	</entry>

	<entry>
		<id>http://linux-vserver.at/util-vserver:Vhashify</id>
		<title>util-vserver:Vhashify</title>
		<link rel="alternate" type="text/html" href="http://linux-vserver.at/util-vserver:Vhashify"/>
				<updated>2009-03-31T22:30:57Z</updated>
		
		<summary type="html">&lt;p&gt;Gebura: /* Mini FAQ */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== All about vunify / vhashify ==&lt;br /&gt;
&lt;br /&gt;
Some collected wisdom about the vunify/vhashify functionality:&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;unification&amp;quot; is the process of replacing files with hardlinks to identical files in other vservers (or, in the case of vhashify, more precisely to a common base); for security, the files are then supplied with immutable-but-unlinkable flags (a vserver speciality), and recently COW link capability has been added to vserver (2.2+), which means that when such a file is being modified, the hardlink is automatically dissolved and the contents copied (CONFIG_VSERVER_COWBL).&lt;br /&gt;
&lt;br /&gt;
* vhashify is the successor to vunify; vunify only looks at files at identical relative paths and links them if they are identical; vhashify builds hash values over the contents of ''all'' (non-excluded) files and links them into a common base directory,  or unifies them with pre-existing links there. So running hashification on multiple vservers will effectively hard link their identical files.&lt;br /&gt;
&lt;br /&gt;
* You don't call the vhashify tool directly (which lives in lib/util-vserver/), but let the &amp;quot;vserver&amp;quot; multipurpose script do the work:&lt;br /&gt;
&lt;br /&gt;
 vserver &amp;lt;vserver-name&amp;gt; hashify&lt;br /&gt;
&lt;br /&gt;
* The guest needs to be running for the above because vhashify may try to figure out what files not to hashify by calling the package manager of the guest via &amp;lt;tt&amp;gt;vserver exec&amp;lt;/tt&amp;gt;; the reason for this is that it tries not to unify config files because they couldn't be written to afterwards unless COW links are supported (which is a recent addition), which may be a hassle (unlike with program/library files which are not overwritten but replaced on upgrades). The details of how the list of config files is retrieved can be found in &amp;lt;tt&amp;gt;scripts/vpkg&amp;lt;/tt&amp;gt; (&amp;lt;tt&amp;gt;lib/util-vserver/vpkg&amp;lt;/tt&amp;gt; after installation), which is called by the vhashify program (through MatchList_initManually). Currently this means redhat|mandrake and debian are supported. It is looking at a XXX/style file (what's XXX?) for finding out which distribution a guest is running (can this be a problem?) -&amp;gt; open questions to be looked at.&lt;br /&gt;
* To prevent vhashify from getting a list of config files from the packagemgt system, see the &amp;lt;tt&amp;gt;pkgmgmt-ignore&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;pkgmgmt-force&amp;lt;/tt&amp;gt; options in &amp;lt;tt&amp;gt;/etc/vservers/.defaults/apps/vunify&amp;lt;/tt&amp;gt; or per-vserver configuration directory. If you disable this, you might want to set a manual exclude list, when the default &amp;lt;tt&amp;gt;/usr/lib/util-vserver/defaults/vunify-exclude&amp;lt;/tt&amp;gt; is not sufficient.&lt;br /&gt;
* See &amp;lt;tt&amp;gt;/etc/vservers/&amp;lt;vserver-name&amp;gt;/apps/vunify/exclude&amp;lt;/tt&amp;gt; on the flower page for a meaning of the &amp;lt;tt&amp;gt;exclude&amp;lt;/tt&amp;gt; file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- I think this is no longer relevant (* If one configures exclude lists, vhashify is supposed ''not'' to use package management for getting the config file list ''-&amp;gt; actually it turns out this is not the case, vserver exec is even being called with an exclude file present''. (One can check whether vpkg is being run by adding an &amp;lt;tt&amp;gt;echo &amp;quot;$0 $@ called..&amp;quot; &amp;gt;&amp;amp;2&amp;lt;/tt&amp;gt; statement at the top of that script. Note the redirection to stderr.)). From looking at the code, vpkg is always run when pkgmgmt is enabled for  --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Backups ===&lt;br /&gt;
&lt;br /&gt;
Be careful to restore the link flags when making or restoring from backups, or vservers won't be safely parted anymore. Do either of the following:&lt;br /&gt;
&lt;br /&gt;
* use tools which backup and restore the link flags (&amp;quot;dump&amp;quot; and &amp;quot;restore&amp;quot; might work, the writer of these lines has not tested them)&lt;br /&gt;
&lt;br /&gt;
* back up the directory containing the hashes, too (&amp;lt;tt&amp;gt;/vservers/.hash&amp;lt;/tt&amp;gt; when following the suggested configuration directives); for restoring from the backup, also restore the .hash directory, then run setattr over all files contained therein; this should work (not yet tested!):&lt;br /&gt;
&lt;br /&gt;
 find /vservers/.hash -type f -print0|xargs -0 setattr --iunlink --&lt;br /&gt;
&lt;br /&gt;
* (back up and) restore each vserver individually, so no hardlinks to other vservers are created. Then run hashify. (Be aware that you need more space until hashify has run, so restoring from a backup onto a partition of equal size might not work.)&lt;br /&gt;
&lt;br /&gt;
=== Cleanup ===&lt;br /&gt;
Remove non referenced files&lt;br /&gt;
&lt;br /&gt;
 find /vservers/.hash -type f -links 1 -exec rm -v '{}' ';'&lt;br /&gt;
&lt;br /&gt;
=== Mini FAQ ===&lt;br /&gt;
&lt;br /&gt;
1Q: &amp;lt;serek&amp;gt; so after cloning, i need to dist-upgrade each vserver separately but finally they will use the same files, right?&lt;br /&gt;
&lt;br /&gt;
1A: &amp;lt;Bertl&amp;gt; you can upgrade all at once or separately, whenever you run vhashify on them, identical data will be linked together&lt;br /&gt;
&lt;br /&gt;
2Q: &amp;lt;serek&amp;gt; may vhashify two existing hosts as well, right?&lt;br /&gt;
&lt;br /&gt;
2A: &amp;lt;Bertl&amp;gt; yep, anytime&lt;br /&gt;
&lt;br /&gt;
3Q: &amp;lt;fluor-&amp;gt; &amp;lt; Bertl&amp;gt; you can upgrade all at once or separately &amp;lt;- what would the &amp;quot;all at once&amp;quot; method be?&lt;br /&gt;
&lt;br /&gt;
3A: &amp;lt;Bertl&amp;gt; depends on the package management, for most common management mechanisms, there is vapt, vyum, and vrpm&lt;br /&gt;
&lt;br /&gt;
Note that &amp;quot;all at once&amp;quot; doesn't mean &amp;quot;simultaneously&amp;quot;, just &amp;quot;with a single command&amp;quot;. When you mass upgrade your vservers, their identical files won't be hardlinked together until you run vserver hashify again on each of them. This means you'll need a lot more disk space until you vhashify. And don't forget to remove hashed files that no longer have other hard links.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4Q: What does the syntax -/+/~ refer to in the vunify-exclude file ?&lt;br /&gt;
&lt;br /&gt;
4A:&lt;br /&gt;
* - Means exclude : Default operation (same as no modifier)&lt;br /&gt;
* + Means include : Allow you to include file/folder in a excluded folder&lt;br /&gt;
* ~ Means skip : ??&lt;br /&gt;
&lt;br /&gt;
5Q: I have got the message &amp;quot;Duplicate hash-dir entry 'root' found&amp;quot;&lt;br /&gt;
4A:&lt;br /&gt;
* looks like you already had the symlink setup.&lt;br /&gt;
&amp;lt;quote&amp;gt;ls -l /etc/vservers/.defaults/apps/vunify/hash&lt;br /&gt;
[...]&lt;br /&gt;
lrwxrwxrwx 1 root root 23 mar  1 00:19 00 -&amp;gt; /var/lib/vservers/.hash  &lt;br /&gt;
lrwxrwxrwx 1 root root 15 avr  1 00:00 root -&amp;gt; /vservers/.hash &lt;br /&gt;
&amp;lt;/quote&amp;gt;&lt;br /&gt;
* Remove the link /etc/vservers/.defaults/apps/vunify/hash/root&lt;br /&gt;
&lt;br /&gt;
=== See also ===&lt;br /&gt;
&lt;br /&gt;
* [[util-vserver:Documentation]] or maybe rather the [http://www.nongnu.org/util-vserver/doc/conf/configuration.html &amp;quot;Flower Page&amp;quot;]&lt;br /&gt;
* [[Frequently_Asked_Questions#What_is_unification_.28vunify.29.3F]]&lt;/div&gt;</summary>
		<author><name>Gebura</name></author>	</entry>

	<entry>
		<id>http://linux-vserver.at/util-vserver:Vhashify</id>
		<title>util-vserver:Vhashify</title>
		<link rel="alternate" type="text/html" href="http://linux-vserver.at/util-vserver:Vhashify"/>
				<updated>2009-03-31T22:30:39Z</updated>
		
		<summary type="html">&lt;p&gt;Gebura: /* Mini FAQ */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== All about vunify / vhashify ==&lt;br /&gt;
&lt;br /&gt;
Some collected wisdom about the vunify/vhashify functionality:&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;unification&amp;quot; is the process of replacing files with hardlinks to identical files in other vservers (or, in the case of vhashify, more precisely to a common base); for security, the files are then supplied with immutable-but-unlinkable flags (a vserver speciality), and recently COW link capability has been added to vserver (2.2+), which means that when such a file is being modified, the hardlink is automatically dissolved and the contents copied (CONFIG_VSERVER_COWBL).&lt;br /&gt;
&lt;br /&gt;
* vhashify is the successor to vunify; vunify only looks at files at identical relative paths and links them if they are identical; vhashify builds hash values over the contents of ''all'' (non-excluded) files and links them into a common base directory,  or unifies them with pre-existing links there. So running hashification on multiple vservers will effectively hard link their identical files.&lt;br /&gt;
&lt;br /&gt;
* You don't call the vhashify tool directly (which lives in lib/util-vserver/), but let the &amp;quot;vserver&amp;quot; multipurpose script do the work:&lt;br /&gt;
&lt;br /&gt;
 vserver &amp;lt;vserver-name&amp;gt; hashify&lt;br /&gt;
&lt;br /&gt;
* The guest needs to be running for the above because vhashify may try to figure out what files not to hashify by calling the package manager of the guest via &amp;lt;tt&amp;gt;vserver exec&amp;lt;/tt&amp;gt;; the reason for this is that it tries not to unify config files because they couldn't be written to afterwards unless COW links are supported (which is a recent addition), which may be a hassle (unlike with program/library files which are not overwritten but replaced on upgrades). The details of how the list of config files is retrieved can be found in &amp;lt;tt&amp;gt;scripts/vpkg&amp;lt;/tt&amp;gt; (&amp;lt;tt&amp;gt;lib/util-vserver/vpkg&amp;lt;/tt&amp;gt; after installation), which is called by the vhashify program (through MatchList_initManually). Currently this means redhat|mandrake and debian are supported. It is looking at a XXX/style file (what's XXX?) for finding out which distribution a guest is running (can this be a problem?) -&amp;gt; open questions to be looked at.&lt;br /&gt;
* To prevent vhashify from getting a list of config files from the packagemgt system, see the &amp;lt;tt&amp;gt;pkgmgmt-ignore&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;pkgmgmt-force&amp;lt;/tt&amp;gt; options in &amp;lt;tt&amp;gt;/etc/vservers/.defaults/apps/vunify&amp;lt;/tt&amp;gt; or per-vserver configuration directory. If you disable this, you might want to set a manual exclude list, when the default &amp;lt;tt&amp;gt;/usr/lib/util-vserver/defaults/vunify-exclude&amp;lt;/tt&amp;gt; is not sufficient.&lt;br /&gt;
* See &amp;lt;tt&amp;gt;/etc/vservers/&amp;lt;vserver-name&amp;gt;/apps/vunify/exclude&amp;lt;/tt&amp;gt; on the flower page for a meaning of the &amp;lt;tt&amp;gt;exclude&amp;lt;/tt&amp;gt; file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- I think this is no longer relevant (* If one configures exclude lists, vhashify is supposed ''not'' to use package management for getting the config file list ''-&amp;gt; actually it turns out this is not the case, vserver exec is even being called with an exclude file present''. (One can check whether vpkg is being run by adding an &amp;lt;tt&amp;gt;echo &amp;quot;$0 $@ called..&amp;quot; &amp;gt;&amp;amp;2&amp;lt;/tt&amp;gt; statement at the top of that script. Note the redirection to stderr.)). From looking at the code, vpkg is always run when pkgmgmt is enabled for  --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Backups ===&lt;br /&gt;
&lt;br /&gt;
Be careful to restore the link flags when making or restoring from backups, or vservers won't be safely parted anymore. Do either of the following:&lt;br /&gt;
&lt;br /&gt;
* use tools which backup and restore the link flags (&amp;quot;dump&amp;quot; and &amp;quot;restore&amp;quot; might work, the writer of these lines has not tested them)&lt;br /&gt;
&lt;br /&gt;
* back up the directory containing the hashes, too (&amp;lt;tt&amp;gt;/vservers/.hash&amp;lt;/tt&amp;gt; when following the suggested configuration directives); for restoring from the backup, also restore the .hash directory, then run setattr over all files contained therein; this should work (not yet tested!):&lt;br /&gt;
&lt;br /&gt;
 find /vservers/.hash -type f -print0|xargs -0 setattr --iunlink --&lt;br /&gt;
&lt;br /&gt;
* (back up and) restore each vserver individually, so no hardlinks to other vservers are created. Then run hashify. (Be aware that you need more space until hashify has run, so restoring from a backup onto a partition of equal size might not work.)&lt;br /&gt;
&lt;br /&gt;
=== Cleanup ===&lt;br /&gt;
Remove non referenced files&lt;br /&gt;
&lt;br /&gt;
 find /vservers/.hash -type f -links 1 -exec rm -v '{}' ';'&lt;br /&gt;
&lt;br /&gt;
=== Mini FAQ ===&lt;br /&gt;
&lt;br /&gt;
1Q: &amp;lt;serek&amp;gt; so after cloning, i need to dist-upgrade each vserver separately but finally they will use the same files, right?&lt;br /&gt;
&lt;br /&gt;
1A: &amp;lt;Bertl&amp;gt; you can upgrade all at once or separately, whenever you run vhashify on them, identical data will be linked together&lt;br /&gt;
&lt;br /&gt;
2Q: &amp;lt;serek&amp;gt; may vhashify two existing hosts as well, right?&lt;br /&gt;
&lt;br /&gt;
2A: &amp;lt;Bertl&amp;gt; yep, anytime&lt;br /&gt;
&lt;br /&gt;
3Q: &amp;lt;fluor-&amp;gt; &amp;lt; Bertl&amp;gt; you can upgrade all at once or separately &amp;lt;- what would the &amp;quot;all at once&amp;quot; method be?&lt;br /&gt;
&lt;br /&gt;
3A: &amp;lt;Bertl&amp;gt; depends on the package management, for most common management mechanisms, there is vapt, vyum, and vrpm&lt;br /&gt;
&lt;br /&gt;
Note that &amp;quot;all at once&amp;quot; doesn't mean &amp;quot;simultaneously&amp;quot;, just &amp;quot;with a single command&amp;quot;. When you mass upgrade your vservers, their identical files won't be hardlinked together until you run vserver hashify again on each of them. This means you'll need a lot more disk space until you vhashify. And don't forget to remove hashed files that no longer have other hard links.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4Q: What does the syntax -/+/~ refer to in the vunify-exclude file ?&lt;br /&gt;
&lt;br /&gt;
4A:&lt;br /&gt;
* - Means exclude : Default operation (same as no modifier)&lt;br /&gt;
* + Means include : Allow you to include file/folder in a excluded folder&lt;br /&gt;
* ~ Means skip : ??&lt;br /&gt;
&lt;br /&gt;
5Q: I have got the message &amp;quot;Duplicate hash-dir entry 'root' found&amp;quot;&lt;br /&gt;
4A:&lt;br /&gt;
* looks like you already had the symlink setup.&lt;br /&gt;
&amp;lt;code&amp;gt;ls -l /etc/vservers/.defaults/apps/vunify/hash&lt;br /&gt;
[...]&lt;br /&gt;
lrwxrwxrwx 1 root root 23 mar  1 00:19 00 -&amp;gt; /var/lib/vservers/.hash  &lt;br /&gt;
lrwxrwxrwx 1 root root 15 avr  1 00:00 root -&amp;gt; /vservers/.hash &lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
* Remove the link /etc/vservers/.defaults/apps/vunify/hash/root&lt;br /&gt;
&lt;br /&gt;
=== See also ===&lt;br /&gt;
&lt;br /&gt;
* [[util-vserver:Documentation]] or maybe rather the [http://www.nongnu.org/util-vserver/doc/conf/configuration.html &amp;quot;Flower Page&amp;quot;]&lt;br /&gt;
* [[Frequently_Asked_Questions#What_is_unification_.28vunify.29.3F]]&lt;/div&gt;</summary>
		<author><name>Gebura</name></author>	</entry>

	<entry>
		<id>http://linux-vserver.at/util-vserver:Vhashify</id>
		<title>util-vserver:Vhashify</title>
		<link rel="alternate" type="text/html" href="http://linux-vserver.at/util-vserver:Vhashify"/>
				<updated>2009-03-31T22:30:13Z</updated>
		
		<summary type="html">&lt;p&gt;Gebura: /* Mini FAQ */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== All about vunify / vhashify ==&lt;br /&gt;
&lt;br /&gt;
Some collected wisdom about the vunify/vhashify functionality:&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;unification&amp;quot; is the process of replacing files with hardlinks to identical files in other vservers (or, in the case of vhashify, more precisely to a common base); for security, the files are then supplied with immutable-but-unlinkable flags (a vserver speciality), and recently COW link capability has been added to vserver (2.2+), which means that when such a file is being modified, the hardlink is automatically dissolved and the contents copied (CONFIG_VSERVER_COWBL).&lt;br /&gt;
&lt;br /&gt;
* vhashify is the successor to vunify; vunify only looks at files at identical relative paths and links them if they are identical; vhashify builds hash values over the contents of ''all'' (non-excluded) files and links them into a common base directory,  or unifies them with pre-existing links there. So running hashification on multiple vservers will effectively hard link their identical files.&lt;br /&gt;
&lt;br /&gt;
* You don't call the vhashify tool directly (which lives in lib/util-vserver/), but let the &amp;quot;vserver&amp;quot; multipurpose script do the work:&lt;br /&gt;
&lt;br /&gt;
 vserver &amp;lt;vserver-name&amp;gt; hashify&lt;br /&gt;
&lt;br /&gt;
* The guest needs to be running for the above because vhashify may try to figure out what files not to hashify by calling the package manager of the guest via &amp;lt;tt&amp;gt;vserver exec&amp;lt;/tt&amp;gt;; the reason for this is that it tries not to unify config files because they couldn't be written to afterwards unless COW links are supported (which is a recent addition), which may be a hassle (unlike with program/library files which are not overwritten but replaced on upgrades). The details of how the list of config files is retrieved can be found in &amp;lt;tt&amp;gt;scripts/vpkg&amp;lt;/tt&amp;gt; (&amp;lt;tt&amp;gt;lib/util-vserver/vpkg&amp;lt;/tt&amp;gt; after installation), which is called by the vhashify program (through MatchList_initManually). Currently this means redhat|mandrake and debian are supported. It is looking at a XXX/style file (what's XXX?) for finding out which distribution a guest is running (can this be a problem?) -&amp;gt; open questions to be looked at.&lt;br /&gt;
* To prevent vhashify from getting a list of config files from the packagemgt system, see the &amp;lt;tt&amp;gt;pkgmgmt-ignore&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;pkgmgmt-force&amp;lt;/tt&amp;gt; options in &amp;lt;tt&amp;gt;/etc/vservers/.defaults/apps/vunify&amp;lt;/tt&amp;gt; or per-vserver configuration directory. If you disable this, you might want to set a manual exclude list, when the default &amp;lt;tt&amp;gt;/usr/lib/util-vserver/defaults/vunify-exclude&amp;lt;/tt&amp;gt; is not sufficient.&lt;br /&gt;
* See &amp;lt;tt&amp;gt;/etc/vservers/&amp;lt;vserver-name&amp;gt;/apps/vunify/exclude&amp;lt;/tt&amp;gt; on the flower page for a meaning of the &amp;lt;tt&amp;gt;exclude&amp;lt;/tt&amp;gt; file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- I think this is no longer relevant (* If one configures exclude lists, vhashify is supposed ''not'' to use package management for getting the config file list ''-&amp;gt; actually it turns out this is not the case, vserver exec is even being called with an exclude file present''. (One can check whether vpkg is being run by adding an &amp;lt;tt&amp;gt;echo &amp;quot;$0 $@ called..&amp;quot; &amp;gt;&amp;amp;2&amp;lt;/tt&amp;gt; statement at the top of that script. Note the redirection to stderr.)). From looking at the code, vpkg is always run when pkgmgmt is enabled for  --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Backups ===&lt;br /&gt;
&lt;br /&gt;
Be careful to restore the link flags when making or restoring from backups, or vservers won't be safely parted anymore. Do either of the following:&lt;br /&gt;
&lt;br /&gt;
* use tools which backup and restore the link flags (&amp;quot;dump&amp;quot; and &amp;quot;restore&amp;quot; might work, the writer of these lines has not tested them)&lt;br /&gt;
&lt;br /&gt;
* back up the directory containing the hashes, too (&amp;lt;tt&amp;gt;/vservers/.hash&amp;lt;/tt&amp;gt; when following the suggested configuration directives); for restoring from the backup, also restore the .hash directory, then run setattr over all files contained therein; this should work (not yet tested!):&lt;br /&gt;
&lt;br /&gt;
 find /vservers/.hash -type f -print0|xargs -0 setattr --iunlink --&lt;br /&gt;
&lt;br /&gt;
* (back up and) restore each vserver individually, so no hardlinks to other vservers are created. Then run hashify. (Be aware that you need more space until hashify has run, so restoring from a backup onto a partition of equal size might not work.)&lt;br /&gt;
&lt;br /&gt;
=== Cleanup ===&lt;br /&gt;
Remove non referenced files&lt;br /&gt;
&lt;br /&gt;
 find /vservers/.hash -type f -links 1 -exec rm -v '{}' ';'&lt;br /&gt;
&lt;br /&gt;
=== Mini FAQ ===&lt;br /&gt;
&lt;br /&gt;
1Q: &amp;lt;serek&amp;gt; so after cloning, i need to dist-upgrade each vserver separately but finally they will use the same files, right?&lt;br /&gt;
&lt;br /&gt;
1A: &amp;lt;Bertl&amp;gt; you can upgrade all at once or separately, whenever you run vhashify on them, identical data will be linked together&lt;br /&gt;
&lt;br /&gt;
2Q: &amp;lt;serek&amp;gt; may vhashify two existing hosts as well, right?&lt;br /&gt;
&lt;br /&gt;
2A: &amp;lt;Bertl&amp;gt; yep, anytime&lt;br /&gt;
&lt;br /&gt;
3Q: &amp;lt;fluor-&amp;gt; &amp;lt; Bertl&amp;gt; you can upgrade all at once or separately &amp;lt;- what would the &amp;quot;all at once&amp;quot; method be?&lt;br /&gt;
&lt;br /&gt;
3A: &amp;lt;Bertl&amp;gt; depends on the package management, for most common management mechanisms, there is vapt, vyum, and vrpm&lt;br /&gt;
&lt;br /&gt;
Note that &amp;quot;all at once&amp;quot; doesn't mean &amp;quot;simultaneously&amp;quot;, just &amp;quot;with a single command&amp;quot;. When you mass upgrade your vservers, their identical files won't be hardlinked together until you run vserver hashify again on each of them. This means you'll need a lot more disk space until you vhashify. And don't forget to remove hashed files that no longer have other hard links.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4Q: What does the syntax -/+/~ refer to in the vunify-exclude file ?&lt;br /&gt;
&lt;br /&gt;
4A:&lt;br /&gt;
* - Means exclude : Default operation (same as no modifier)&lt;br /&gt;
* + Means include : Allow you to include file/folder in a excluded folder&lt;br /&gt;
* ~ Means skip : ??&lt;br /&gt;
&lt;br /&gt;
5Q: I have got the message &amp;quot;Duplicate hash-dir entry 'root' found&amp;quot;&lt;br /&gt;
4A:&lt;br /&gt;
* looks like you already had the symlink setup.&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
ls -l /etc/vservers/.defaults/apps/vunify/hash&lt;br /&gt;
&lt;br /&gt;
[...]&lt;br /&gt;
&lt;br /&gt;
lrwxrwxrwx 1 root root 23 mar  1 00:19 00 -&amp;gt; /var/lib/vservers/.hash  &lt;br /&gt;
&lt;br /&gt;
lrwxrwxrwx 1 root root 15 avr  1 00:00 root -&amp;gt; /vservers/.hash &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
* Remove the link /etc/vservers/.defaults/apps/vunify/hash/root&lt;br /&gt;
&lt;br /&gt;
=== See also ===&lt;br /&gt;
&lt;br /&gt;
* [[util-vserver:Documentation]] or maybe rather the [http://www.nongnu.org/util-vserver/doc/conf/configuration.html &amp;quot;Flower Page&amp;quot;]&lt;br /&gt;
* [[Frequently_Asked_Questions#What_is_unification_.28vunify.29.3F]]&lt;/div&gt;</summary>
		<author><name>Gebura</name></author>	</entry>

	<entry>
		<id>http://linux-vserver.at/util-vserver:Vhashify</id>
		<title>util-vserver:Vhashify</title>
		<link rel="alternate" type="text/html" href="http://linux-vserver.at/util-vserver:Vhashify"/>
				<updated>2009-03-31T22:29:56Z</updated>
		
		<summary type="html">&lt;p&gt;Gebura: /* Mini FAQ */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== All about vunify / vhashify ==&lt;br /&gt;
&lt;br /&gt;
Some collected wisdom about the vunify/vhashify functionality:&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;unification&amp;quot; is the process of replacing files with hardlinks to identical files in other vservers (or, in the case of vhashify, more precisely to a common base); for security, the files are then supplied with immutable-but-unlinkable flags (a vserver speciality), and recently COW link capability has been added to vserver (2.2+), which means that when such a file is being modified, the hardlink is automatically dissolved and the contents copied (CONFIG_VSERVER_COWBL).&lt;br /&gt;
&lt;br /&gt;
* vhashify is the successor to vunify; vunify only looks at files at identical relative paths and links them if they are identical; vhashify builds hash values over the contents of ''all'' (non-excluded) files and links them into a common base directory,  or unifies them with pre-existing links there. So running hashification on multiple vservers will effectively hard link their identical files.&lt;br /&gt;
&lt;br /&gt;
* You don't call the vhashify tool directly (which lives in lib/util-vserver/), but let the &amp;quot;vserver&amp;quot; multipurpose script do the work:&lt;br /&gt;
&lt;br /&gt;
 vserver &amp;lt;vserver-name&amp;gt; hashify&lt;br /&gt;
&lt;br /&gt;
* The guest needs to be running for the above because vhashify may try to figure out what files not to hashify by calling the package manager of the guest via &amp;lt;tt&amp;gt;vserver exec&amp;lt;/tt&amp;gt;; the reason for this is that it tries not to unify config files because they couldn't be written to afterwards unless COW links are supported (which is a recent addition), which may be a hassle (unlike with program/library files which are not overwritten but replaced on upgrades). The details of how the list of config files is retrieved can be found in &amp;lt;tt&amp;gt;scripts/vpkg&amp;lt;/tt&amp;gt; (&amp;lt;tt&amp;gt;lib/util-vserver/vpkg&amp;lt;/tt&amp;gt; after installation), which is called by the vhashify program (through MatchList_initManually). Currently this means redhat|mandrake and debian are supported. It is looking at a XXX/style file (what's XXX?) for finding out which distribution a guest is running (can this be a problem?) -&amp;gt; open questions to be looked at.&lt;br /&gt;
* To prevent vhashify from getting a list of config files from the packagemgt system, see the &amp;lt;tt&amp;gt;pkgmgmt-ignore&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;pkgmgmt-force&amp;lt;/tt&amp;gt; options in &amp;lt;tt&amp;gt;/etc/vservers/.defaults/apps/vunify&amp;lt;/tt&amp;gt; or per-vserver configuration directory. If you disable this, you might want to set a manual exclude list, when the default &amp;lt;tt&amp;gt;/usr/lib/util-vserver/defaults/vunify-exclude&amp;lt;/tt&amp;gt; is not sufficient.&lt;br /&gt;
* See &amp;lt;tt&amp;gt;/etc/vservers/&amp;lt;vserver-name&amp;gt;/apps/vunify/exclude&amp;lt;/tt&amp;gt; on the flower page for a meaning of the &amp;lt;tt&amp;gt;exclude&amp;lt;/tt&amp;gt; file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- I think this is no longer relevant (* If one configures exclude lists, vhashify is supposed ''not'' to use package management for getting the config file list ''-&amp;gt; actually it turns out this is not the case, vserver exec is even being called with an exclude file present''. (One can check whether vpkg is being run by adding an &amp;lt;tt&amp;gt;echo &amp;quot;$0 $@ called..&amp;quot; &amp;gt;&amp;amp;2&amp;lt;/tt&amp;gt; statement at the top of that script. Note the redirection to stderr.)). From looking at the code, vpkg is always run when pkgmgmt is enabled for  --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Backups ===&lt;br /&gt;
&lt;br /&gt;
Be careful to restore the link flags when making or restoring from backups, or vservers won't be safely parted anymore. Do either of the following:&lt;br /&gt;
&lt;br /&gt;
* use tools which backup and restore the link flags (&amp;quot;dump&amp;quot; and &amp;quot;restore&amp;quot; might work, the writer of these lines has not tested them)&lt;br /&gt;
&lt;br /&gt;
* back up the directory containing the hashes, too (&amp;lt;tt&amp;gt;/vservers/.hash&amp;lt;/tt&amp;gt; when following the suggested configuration directives); for restoring from the backup, also restore the .hash directory, then run setattr over all files contained therein; this should work (not yet tested!):&lt;br /&gt;
&lt;br /&gt;
 find /vservers/.hash -type f -print0|xargs -0 setattr --iunlink --&lt;br /&gt;
&lt;br /&gt;
* (back up and) restore each vserver individually, so no hardlinks to other vservers are created. Then run hashify. (Be aware that you need more space until hashify has run, so restoring from a backup onto a partition of equal size might not work.)&lt;br /&gt;
&lt;br /&gt;
=== Cleanup ===&lt;br /&gt;
Remove non referenced files&lt;br /&gt;
&lt;br /&gt;
 find /vservers/.hash -type f -links 1 -exec rm -v '{}' ';'&lt;br /&gt;
&lt;br /&gt;
=== Mini FAQ ===&lt;br /&gt;
&lt;br /&gt;
1Q: &amp;lt;serek&amp;gt; so after cloning, i need to dist-upgrade each vserver separately but finally they will use the same files, right?&lt;br /&gt;
&lt;br /&gt;
1A: &amp;lt;Bertl&amp;gt; you can upgrade all at once or separately, whenever you run vhashify on them, identical data will be linked together&lt;br /&gt;
&lt;br /&gt;
2Q: &amp;lt;serek&amp;gt; may vhashify two existing hosts as well, right?&lt;br /&gt;
&lt;br /&gt;
2A: &amp;lt;Bertl&amp;gt; yep, anytime&lt;br /&gt;
&lt;br /&gt;
3Q: &amp;lt;fluor-&amp;gt; &amp;lt; Bertl&amp;gt; you can upgrade all at once or separately &amp;lt;- what would the &amp;quot;all at once&amp;quot; method be?&lt;br /&gt;
&lt;br /&gt;
3A: &amp;lt;Bertl&amp;gt; depends on the package management, for most common management mechanisms, there is vapt, vyum, and vrpm&lt;br /&gt;
&lt;br /&gt;
Note that &amp;quot;all at once&amp;quot; doesn't mean &amp;quot;simultaneously&amp;quot;, just &amp;quot;with a single command&amp;quot;. When you mass upgrade your vservers, their identical files won't be hardlinked together until you run vserver hashify again on each of them. This means you'll need a lot more disk space until you vhashify. And don't forget to remove hashed files that no longer have other hard links.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4Q: What does the syntax -/+/~ refer to in the vunify-exclude file ?&lt;br /&gt;
&lt;br /&gt;
4A:&lt;br /&gt;
* - Means exclude : Default operation (same as no modifier)&lt;br /&gt;
* + Means include : Allow you to include file/folder in a excluded folder&lt;br /&gt;
* ~ Means skip : ??&lt;br /&gt;
&lt;br /&gt;
5Q: I have got the message &amp;quot;Duplicate hash-dir entry 'root' found&amp;quot;&lt;br /&gt;
4A:&lt;br /&gt;
* looks like you already had the symlink setup.&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
ls -l /etc/vservers/.defaults/apps/vunify/hash&lt;br /&gt;
[...]&lt;br /&gt;
lrwxrwxrwx 1 root root 23 mar  1 00:19 00 -&amp;gt; /var/lib/vservers/.hash  &lt;br /&gt;
lrwxrwxrwx 1 root root 15 avr  1 00:00 root -&amp;gt; /vservers/.hash &lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
* Remove the link /etc/vservers/.defaults/apps/vunify/hash/root&lt;br /&gt;
&lt;br /&gt;
=== See also ===&lt;br /&gt;
&lt;br /&gt;
* [[util-vserver:Documentation]] or maybe rather the [http://www.nongnu.org/util-vserver/doc/conf/configuration.html &amp;quot;Flower Page&amp;quot;]&lt;br /&gt;
* [[Frequently_Asked_Questions#What_is_unification_.28vunify.29.3F]]&lt;/div&gt;</summary>
		<author><name>Gebura</name></author>	</entry>

	<entry>
		<id>http://linux-vserver.at/util-vserver:Vhashify</id>
		<title>util-vserver:Vhashify</title>
		<link rel="alternate" type="text/html" href="http://linux-vserver.at/util-vserver:Vhashify"/>
				<updated>2009-03-31T22:29:24Z</updated>
		
		<summary type="html">&lt;p&gt;Gebura: /* Mini FAQ */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== All about vunify / vhashify ==&lt;br /&gt;
&lt;br /&gt;
Some collected wisdom about the vunify/vhashify functionality:&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;unification&amp;quot; is the process of replacing files with hardlinks to identical files in other vservers (or, in the case of vhashify, more precisely to a common base); for security, the files are then supplied with immutable-but-unlinkable flags (a vserver speciality), and recently COW link capability has been added to vserver (2.2+), which means that when such a file is being modified, the hardlink is automatically dissolved and the contents copied (CONFIG_VSERVER_COWBL).&lt;br /&gt;
&lt;br /&gt;
* vhashify is the successor to vunify; vunify only looks at files at identical relative paths and links them if they are identical; vhashify builds hash values over the contents of ''all'' (non-excluded) files and links them into a common base directory,  or unifies them with pre-existing links there. So running hashification on multiple vservers will effectively hard link their identical files.&lt;br /&gt;
&lt;br /&gt;
* You don't call the vhashify tool directly (which lives in lib/util-vserver/), but let the &amp;quot;vserver&amp;quot; multipurpose script do the work:&lt;br /&gt;
&lt;br /&gt;
 vserver &amp;lt;vserver-name&amp;gt; hashify&lt;br /&gt;
&lt;br /&gt;
* The guest needs to be running for the above because vhashify may try to figure out what files not to hashify by calling the package manager of the guest via &amp;lt;tt&amp;gt;vserver exec&amp;lt;/tt&amp;gt;; the reason for this is that it tries not to unify config files because they couldn't be written to afterwards unless COW links are supported (which is a recent addition), which may be a hassle (unlike with program/library files which are not overwritten but replaced on upgrades). The details of how the list of config files is retrieved can be found in &amp;lt;tt&amp;gt;scripts/vpkg&amp;lt;/tt&amp;gt; (&amp;lt;tt&amp;gt;lib/util-vserver/vpkg&amp;lt;/tt&amp;gt; after installation), which is called by the vhashify program (through MatchList_initManually). Currently this means redhat|mandrake and debian are supported. It is looking at a XXX/style file (what's XXX?) for finding out which distribution a guest is running (can this be a problem?) -&amp;gt; open questions to be looked at.&lt;br /&gt;
* To prevent vhashify from getting a list of config files from the packagemgt system, see the &amp;lt;tt&amp;gt;pkgmgmt-ignore&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;pkgmgmt-force&amp;lt;/tt&amp;gt; options in &amp;lt;tt&amp;gt;/etc/vservers/.defaults/apps/vunify&amp;lt;/tt&amp;gt; or per-vserver configuration directory. If you disable this, you might want to set a manual exclude list, when the default &amp;lt;tt&amp;gt;/usr/lib/util-vserver/defaults/vunify-exclude&amp;lt;/tt&amp;gt; is not sufficient.&lt;br /&gt;
* See &amp;lt;tt&amp;gt;/etc/vservers/&amp;lt;vserver-name&amp;gt;/apps/vunify/exclude&amp;lt;/tt&amp;gt; on the flower page for a meaning of the &amp;lt;tt&amp;gt;exclude&amp;lt;/tt&amp;gt; file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- I think this is no longer relevant (* If one configures exclude lists, vhashify is supposed ''not'' to use package management for getting the config file list ''-&amp;gt; actually it turns out this is not the case, vserver exec is even being called with an exclude file present''. (One can check whether vpkg is being run by adding an &amp;lt;tt&amp;gt;echo &amp;quot;$0 $@ called..&amp;quot; &amp;gt;&amp;amp;2&amp;lt;/tt&amp;gt; statement at the top of that script. Note the redirection to stderr.)). From looking at the code, vpkg is always run when pkgmgmt is enabled for  --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Backups ===&lt;br /&gt;
&lt;br /&gt;
Be careful to restore the link flags when making or restoring from backups, or vservers won't be safely parted anymore. Do either of the following:&lt;br /&gt;
&lt;br /&gt;
* use tools which backup and restore the link flags (&amp;quot;dump&amp;quot; and &amp;quot;restore&amp;quot; might work, the writer of these lines has not tested them)&lt;br /&gt;
&lt;br /&gt;
* back up the directory containing the hashes, too (&amp;lt;tt&amp;gt;/vservers/.hash&amp;lt;/tt&amp;gt; when following the suggested configuration directives); for restoring from the backup, also restore the .hash directory, then run setattr over all files contained therein; this should work (not yet tested!):&lt;br /&gt;
&lt;br /&gt;
 find /vservers/.hash -type f -print0|xargs -0 setattr --iunlink --&lt;br /&gt;
&lt;br /&gt;
* (back up and) restore each vserver individually, so no hardlinks to other vservers are created. Then run hashify. (Be aware that you need more space until hashify has run, so restoring from a backup onto a partition of equal size might not work.)&lt;br /&gt;
&lt;br /&gt;
=== Cleanup ===&lt;br /&gt;
Remove non referenced files&lt;br /&gt;
&lt;br /&gt;
 find /vservers/.hash -type f -links 1 -exec rm -v '{}' ';'&lt;br /&gt;
&lt;br /&gt;
=== Mini FAQ ===&lt;br /&gt;
&lt;br /&gt;
1Q: &amp;lt;serek&amp;gt; so after cloning, i need to dist-upgrade each vserver separately but finally they will use the same files, right?&lt;br /&gt;
&lt;br /&gt;
1A: &amp;lt;Bertl&amp;gt; you can upgrade all at once or separately, whenever you run vhashify on them, identical data will be linked together&lt;br /&gt;
&lt;br /&gt;
2Q: &amp;lt;serek&amp;gt; may vhashify two existing hosts as well, right?&lt;br /&gt;
&lt;br /&gt;
2A: &amp;lt;Bertl&amp;gt; yep, anytime&lt;br /&gt;
&lt;br /&gt;
3Q: &amp;lt;fluor-&amp;gt; &amp;lt; Bertl&amp;gt; you can upgrade all at once or separately &amp;lt;- what would the &amp;quot;all at once&amp;quot; method be?&lt;br /&gt;
&lt;br /&gt;
3A: &amp;lt;Bertl&amp;gt; depends on the package management, for most common management mechanisms, there is vapt, vyum, and vrpm&lt;br /&gt;
&lt;br /&gt;
Note that &amp;quot;all at once&amp;quot; doesn't mean &amp;quot;simultaneously&amp;quot;, just &amp;quot;with a single command&amp;quot;. When you mass upgrade your vservers, their identical files won't be hardlinked together until you run vserver hashify again on each of them. This means you'll need a lot more disk space until you vhashify. And don't forget to remove hashed files that no longer have other hard links.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4Q: What does the syntax -/+/~ refer to in the vunify-exclude file ?&lt;br /&gt;
&lt;br /&gt;
4A:&lt;br /&gt;
* - Means exclude : Default operation (same as no modifier)&lt;br /&gt;
* + Means include : Allow you to include file/folder in a excluded folder&lt;br /&gt;
* ~ Means skip : ??&lt;br /&gt;
&lt;br /&gt;
5Q: I have got the message &amp;quot;Duplicate hash-dir entry 'root' found&amp;quot;&lt;br /&gt;
4A:&lt;br /&gt;
* looks like you already had the symlink setup.&lt;br /&gt;
ls -l /etc/vservers/.defaults/apps/vunify/hash&lt;br /&gt;
[...]&lt;br /&gt;
lrwxrwxrwx 1 root root 23 mar  1 00:19 00 -&amp;gt; /var/lib/vservers/.hash  &lt;br /&gt;
lrwxrwxrwx 1 root root 15 avr  1 00:00 root -&amp;gt; /vservers/.hash &lt;br /&gt;
* Remove the link /etc/vservers/.defaults/apps/vunify/hash/root&lt;br /&gt;
&lt;br /&gt;
=== See also ===&lt;br /&gt;
&lt;br /&gt;
* [[util-vserver:Documentation]] or maybe rather the [http://www.nongnu.org/util-vserver/doc/conf/configuration.html &amp;quot;Flower Page&amp;quot;]&lt;br /&gt;
* [[Frequently_Asked_Questions#What_is_unification_.28vunify.29.3F]]&lt;/div&gt;</summary>
		<author><name>Gebura</name></author>	</entry>

	<entry>
		<id>http://linux-vserver.at/ProcFS</id>
		<title>ProcFS</title>
		<link rel="alternate" type="text/html" href="http://linux-vserver.at/ProcFS"/>
				<updated>2009-03-01T01:06:10Z</updated>
		
		<summary type="html">&lt;p&gt;Gebura: /* Context specific information */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Information about currently running contexts can be found inside the /proc/virtual and /proc/virtnet directory. All information provided there is read-only, i.e. it cannot be used to change any values like other entries in /proc may do. Because it usually is world-readable you do not have to gain root access to look at this information.&lt;br /&gt;
&lt;br /&gt;
Beside this information you can also control various debugging related settings using /proc/sys/vserver/debug if you have enabled debugging in your kernel configuration.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The examples and descriptions are based on the 2.1.1 kernel patch. If you're using a previous version some information may not be present and/or available with a slightly different name.&lt;br /&gt;
&lt;br /&gt;
== Generic information ==&lt;br /&gt;
&lt;br /&gt;
Currently there is only one file with generic information about the vserver host, that is /proc/virtual/info:&lt;br /&gt;
&lt;br /&gt;
=== info ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cat /proc/virtual/info&lt;br /&gt;
VCIVersion:     0002:0002&lt;br /&gt;
VCISyscall:     236&lt;br /&gt;
VCIKernel:      03000016&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; VCIVersion : Current API version of the kernel&lt;br /&gt;
; VCISyscall : Syscall number of the vserver syscall&lt;br /&gt;
; VCIKernel : Bitmask of the CONFIG_VSERVER kernel configuration options&lt;br /&gt;
&lt;br /&gt;
Beside ''VCIKernel'' the information provided in this file can also be gathered using the ''vserver-info'' utility from util-vserver.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# vserver-info&lt;br /&gt;
Versions:&lt;br /&gt;
                  Kernel: 2.6.17-2-vserver-amd64&lt;br /&gt;
                  VS-API: 0x00020002&lt;br /&gt;
            util-vserver: 0.30.210; Sep 30 2006, 23:55:41&lt;br /&gt;
Features:&lt;br /&gt;
                      CC: gcc, gcc (GCC) 4.1.2 20060928 (prerelease) (Debian 4.1.1-15)&lt;br /&gt;
                     CXX: g++, g++ (GCC) 4.1.2 20060928 (prerelease) (Debian 4.1.1-15)&lt;br /&gt;
                CPPFLAGS: ''&lt;br /&gt;
                  CFLAGS: '-Wall -g  -O2 -std=c99 -Wall -pedantic -W -funit-at-a-time'&lt;br /&gt;
                CXXFLAGS: '-g -O2 -ansi -Wall -pedantic -W -fmessage-length=0 -funit-at-a-time'&lt;br /&gt;
              build/host: x86_64-pc-linux-gnu/x86_64-pc-linux-gnu&lt;br /&gt;
            Use dietlibc: yes&lt;br /&gt;
      Build C++ programs: yes&lt;br /&gt;
      Build C99 programs: yes&lt;br /&gt;
          Available APIs: compat,v11,fscompat,v13,net,oldproc,olduts&lt;br /&gt;
           ext2fs Source: e2fsprogs&lt;br /&gt;
   syscall(2) invocation: alternative&lt;br /&gt;
     vserver(2) syscall#: 236/glibc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Context specific information ==&lt;br /&gt;
&lt;br /&gt;
=== info ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cat /proc/virtual/&amp;lt;xid&amp;gt;/info&lt;br /&gt;
ID:	1001&lt;br /&gt;
Info:	83c37000&lt;br /&gt;
Init:	0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; ID : Context ID&lt;br /&gt;
; Info : Memory location of the vx_info structure&lt;br /&gt;
; Init : Real PID of the init process&lt;br /&gt;
&lt;br /&gt;
=== status ===&lt;br /&gt;
&lt;br /&gt;
This file contains general status information.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cat /proc/virtual/&amp;lt;xid&amp;gt;/status &lt;br /&gt;
UseCnt:	38&lt;br /&gt;
Tasks:	16&lt;br /&gt;
Flags:	0000000002020010&lt;br /&gt;
BCaps:	00000000344c04ff&lt;br /&gt;
CCaps:	0000000000000101&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; UseCnt : References to the vx_info struct&lt;br /&gt;
; Tasks : Number of processes (tasks) inside the context&lt;br /&gt;
; Flags : [[Capabilities and Flags]]&lt;br /&gt;
; BCaps : [[Capabilities and Flags]]&lt;br /&gt;
; CCaps : [[Capabilities and Flags]]&lt;br /&gt;
&lt;br /&gt;
=== sched ===&lt;br /&gt;
&lt;br /&gt;
This file contains information about the [[CPU Scheduler]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cat /proc/virtual/&amp;lt;xid&amp;gt;/sched &lt;br /&gt;
FillRate:              1,1&lt;br /&gt;
Interval:              4,8&lt;br /&gt;
TokensMin:            15&lt;br /&gt;
TokensMax:           125&lt;br /&gt;
PrioBias:              0&lt;br /&gt;
VaVaVoom:              0&lt;br /&gt;
cpu 0: 0 0 0 0 0 R- 62 15 125 1/4 1/8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; FillRate : Number of tokens filled into the bucket at each interval&lt;br /&gt;
; Interval : Number of jiffies between each fill interval&lt;br /&gt;
; TokensMin : Minimum number of tokens to be scheduled&lt;br /&gt;
; TokensMax : Maximum number of tokens in the bucket&lt;br /&gt;
; PrioBias : Priority bias&lt;br /&gt;
; VaVaVoom : The calculated priority bonus a guest gets&lt;br /&gt;
; cpu X&lt;br /&gt;
: Ticks spent in user-space&lt;br /&gt;
: Ticks spent in kernel-space&lt;br /&gt;
: Ticks spent on hold&lt;br /&gt;
: Token time ??&lt;br /&gt;
: Idle time ??&lt;br /&gt;
: On hold (H) or running (R)&lt;br /&gt;
: Uses IDLE time (I) or not (-)&lt;br /&gt;
: Current number of tokens&lt;br /&gt;
: Minimum number of tokens to be scheduled&lt;br /&gt;
: Maximum number of tokens in the bucket&lt;br /&gt;
: Minimum number of tokens to be scheduled (IDLE time setting)&lt;br /&gt;
: Maximum number of tokens in the bucket (IDLE time setting)&lt;br /&gt;
&lt;br /&gt;
=== cacct ===&lt;br /&gt;
&lt;br /&gt;
This file contains information about [[Context Accounting]], including socket accounting and slab allocator accounting.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cat /proc/virtual/&amp;lt;xid&amp;gt;/cacct &lt;br /&gt;
Type        recv #/bytes                   send #/bytes             fail #/bytes&lt;br /&gt;
UNSPEC:          0/0                     0/0                     0/0&lt;br /&gt;
UNIX:            0/0                     0/0                     0/0&lt;br /&gt;
INET:            0/0                     0/0                     0/0&lt;br /&gt;
INET6:           0/0                     0/0                     0/0&lt;br /&gt;
PACKET:          0/0                     0/0                     0/0&lt;br /&gt;
OTHER:           0/0                     0/0                     0/0&lt;br /&gt;
&lt;br /&gt;
slab:           0        0 4294965416        0&lt;br /&gt;
&lt;br /&gt;
page[0]:        0        0        0        0            0        0        0        0&lt;br /&gt;
page[1]:        0        0        0        0            0        0        0        0&lt;br /&gt;
page[2]:        0        0        0        0            0        0        0        0&lt;br /&gt;
page[3]:        0        0        0        0            0        0        0        0&lt;br /&gt;
page[4]:        0        0        0        0            0        0        0        0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== cvirt ===&lt;br /&gt;
&lt;br /&gt;
This file contains information about virtualized data, including context uptime bias, utsname settings, thread information and load average.&lt;br /&gt;
Note: some fields are moved in nsproxy file with vs2.3.x.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cat /proc/virtual/&amp;lt;xid&amp;gt;/cvirt &lt;br /&gt;
BiasUptime:	49.73&lt;br /&gt;
SysName:	Linux&lt;br /&gt;
NodeName:	XXXX.test.org&lt;br /&gt;
Release:	2.6.11-rc5&lt;br /&gt;
Version:	#12 Sun Feb 27 01:07:29 CET 2005&lt;br /&gt;
Machine:	i686&lt;br /&gt;
DomainName:	&lt;br /&gt;
nr_threads:	16&lt;br /&gt;
nr_running:	0&lt;br /&gt;
nr_unintr:	0&lt;br /&gt;
nr_onhold:	0&lt;br /&gt;
load_updates:	14585&lt;br /&gt;
loadavg:	0.00 0.00 0.00&lt;br /&gt;
total_forks:	272&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; BiasUptime : Context uptime bias (System uptime - BiasUptime = Context uptime)&lt;br /&gt;
; SysName : Kernel name&lt;br /&gt;
; NodeName : Network node hostname&lt;br /&gt;
; Release : Kernel release&lt;br /&gt;
; Version : Kernel version&lt;br /&gt;
; Machine : Machine hardware name&lt;br /&gt;
; DomainName : Network node domainname&lt;br /&gt;
; nr_threads : Total number of threads&lt;br /&gt;
; nr_running : Number of running threads&lt;br /&gt;
; nr_unintr : Number of uninterruptible threads&lt;br /&gt;
; nr_onhold : Number of threads on hold&lt;br /&gt;
; load_updates : Total number of load average updates&lt;br /&gt;
; loadavg : Number of jobs in the run queue averaged over 1, 5, and 15 minutes&lt;br /&gt;
; total_forks : Total number of forks&lt;br /&gt;
&lt;br /&gt;
=== nsproxy ===&lt;br /&gt;
&lt;br /&gt;
Vs 2.3.x (experimental) only.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
NSProxy:	ffff81000460d338 [ffff81007cca9bc0,ffff8100378d5800,ffff8100378e7600]&lt;br /&gt;
Namespace:	ffff81007cca9bc0 [#2]&lt;br /&gt;
RootPath:	/&lt;br /&gt;
SysName:	Linux&lt;br /&gt;
NodeName:	lenny-amd64&lt;br /&gt;
Release:	2.6.26-1-vserver-amd64&lt;br /&gt;
Version:	#1 SMP Sat Jan 10 19:46:42 UTC 2009&lt;br /&gt;
Machine:	x86_64&lt;br /&gt;
DomainName:	(none)&lt;br /&gt;
SEMS:		250 32000 32 128  0&lt;br /&gt;
MSG:		8192 16384 286&lt;br /&gt;
SHM:		33554432 2097152  4096 0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== limit ===&lt;br /&gt;
&lt;br /&gt;
This file contains information about [[Resource Limits]], including [[Context Accounting]] (i.e these do not appear in cacct).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cat /proc/virtual/&amp;lt;xid&amp;gt;/limit &lt;br /&gt;
Limit    current             min/max                soft/hard           hits&lt;br /&gt;
PROC:          2               2/       2             -1/      -1            0&lt;br /&gt;
VM:         4024            4024/    4024             -1/      -1            0&lt;br /&gt;
VML:           0               0/       0             -1/      -1            0&lt;br /&gt;
RSS:          50              50/      50             -1/      -1            0&lt;br /&gt;
ANON:         33              33/      33             -1/      -1            0&lt;br /&gt;
FILES:        19              19/      19             -1/      -1            0&lt;br /&gt;
OFD:           5               5/       5             -1/      -1            0&lt;br /&gt;
LOCKS:         0               0/       0             -1/      -1            0&lt;br /&gt;
SOCK:          2               2/       2             -1/      -1            0&lt;br /&gt;
MSGQ:          0               0/       0             -1/      -1            0&lt;br /&gt;
SHM:           0               0/       0             -1/      -1            0&lt;br /&gt;
SEMA:          0               0/       0             -1/      -1            0&lt;br /&gt;
SEMS:          0               0/       0             -1/      -1            0&lt;br /&gt;
DENT:       2315            2315/    2315             -1/      -1            0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; Limit : Limit name/identifier&lt;br /&gt;
; current : Current value&lt;br /&gt;
; min : Minimum value since the last reset&lt;br /&gt;
; max : Maximum value since the last reset&lt;br /&gt;
; soft : Soft limit&lt;br /&gt;
; hard : hard limit&lt;br /&gt;
; hits : Total amount of current reaching hard&lt;br /&gt;
&lt;br /&gt;
== Debugging Control ==&lt;br /&gt;
&lt;br /&gt;
The /proc/sys/vserver/debug directory is only present if you have enabled CONFIG_VSERVER_DEBUG during kernel compilation.&lt;br /&gt;
&lt;br /&gt;
To enable debugging you can use a command similar to the following to enable debugging. Please see [[Kernel Debugging]] for more information.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# echo 255 &amp;gt;/proc/sys/vserver/debug_switch&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Gebura</name></author>	</entry>

	</feed>