</description>
</boolean>
- <boolean id="global-namespace-cleanup" name="namespace-cleanup">
+ <boolean id="global-nonamespace-cleanup" name="nonamespace-cleanup">
<description>
-Enable namespace cleanup globally. It can be overridden for a single vserver
-by setting the <optionref ref="global-nonamespace-cleanup">nonamespace-cleanup</optionref> flag
+Disable namespace cleanup globally. It can be overridden for a single vserver
+by setting the <optionref ref="namespace-cleanup">namespace-cleanup</optionref> flag
there.
</description>
</boolean>
+ <list id="global-namespace-cleanup-skip" name="namespace-cleanup-skip">
+ <description>
+List of paths to skip during namespace cleanup.
+ </description>
+ </list>
+
<link name="run.rev">
<description>
Path of the vserver run reverse directory. This directory contains
<collection name="pkgmgmt">
<link name="base">
<default>/vservers/.pkg</default>
- </link>
+ </link>
<data name="apt.conf">
<description>The default apt.conf which is going to be used. It is overridden by
distribution specific configuration file.
<collection name="vprocunhide">
<list name="files">
<description>
-A list of files which will be made visibly by vprocunhide. Wildcards are
+A list of files which will be made visible by vprocunhide. Wildcards are
allowed and anything ending in '/' will be processed recursively. When this file exists,
it overrides the defaults in SYSDEFAULTDIR/vprocunhide-files. The entries there must be
absolute filenames inclusive the leading '/proc'.
</description>
</link>
- <list id="global-environment" name="environment">
+ <hash id="global-environment" name="environment" since="0.30.211">
<description>
The environment to set when starting guests. Contains one VAR=VAL
pair per line.
</description>
- </list>
+ </hash>
</collection>
<collection name="vunify">
</boolean>
</collection>
+
+ <collection name="vlogin">
+ <boolean id="vlogin-disable" name="disable" since="0.30.212">
+ <description>
+When this file exists, vlogin isn't used on vserver <guest> enter.
+ </description>
+ </boolean>
+ </collection>
+ </collection>
+
+ <collection name="interfaces" use="optional">
+ <boolean id="global-vlandev" name="vlandev" since="0.30.211">
+ <description>
+When this file exists, the steps which setup and destroy a VLAN
+interface will be executed.
+ </description>
+ </boolean>
</collection>
</collection>
The configuration directory of the vserver which is going to be set up.
</description>
</parameter>
- <parameter name="vserver">
+ <parameter name="util-vserver-vars">
<description>
-The pathname of the vserver binary.
+The pathname of the util-vserver-vars file.
</description>
</parameter>
</parameterList>
</parameter>
<parameter name="vserver">
<description>
-The pathname of the vserver binary.
+The pathname of the util-vserver-vars file.
</description>
</parameter>
</parameterList>
<link name="vdir">
<default>../.defaults/vdirbase/VSERVERNAME</default>
<description>
-Path of the vserver root directory
+Path of the vserver root directory.
</description>
</link>
<list id="bcapabilities" name="bcapabilities">
<description>
-[experimental; name is subject of possible change] Contains the system capabilities. See
-<ulink url="http://savannah.nongnu.org/cgi-bin/viewcvs/util-vserver/util-vserver/lib/bcaps-v13.c?rev=HEAD">lib/bcaps-v13.c</ulink>
+Contains the system capabilities. See
+<ulink url="http://svn.linux-vserver.org/svn/util-vserver/trunk/lib/bcaps-v13.c">lib/bcaps-v13.c</ulink>
for possible values.
</description>
</list>
<list name="ccapabilities">
<description>
-[experimental; name is subject of possible change] Contains the
-context capabilities. See <ulink
-url="http://savannah.nongnu.org/cgi-bin/viewcvs/util-vserver/util-vserver/lib/ccaps-v13.c?rev=HEAD">lib/ccaps-v13.c</ulink>
+Contains the context capabilities. See <ulink
+url="http://svn.linux-vserver.org/svn/util-vserver/trunk/lib/ccaps-v13.c">lib/ccaps-v13.c</ulink>
+for possible values.
+ </description>
+ </list>
+ <list name="ncapabilities" since="0.30.212">
+ <description>
+Contains the network capabilities. See <ulink
+url="http://svn.linux-vserver.org/svn/util-vserver/trunk/lib/ncaps-net.c">lib/ncaps-net.c</ulink>
for possible values.
</description>
</list>
</description>
</boolean>
- <boolean id="global-nonamespace-cleanup" name="nonamespace-cleanup">
+ <boolean id="namespace-cleanup" name="namespace-cleanup">
<description>
-Overrides the global <optionref ref="global-namespace-cleanup">namespace-cleanup</optionref> flag and disables
+Overrides the global <optionref ref="global-nonamespace-cleanup">nonamespace-cleanup</optionref> flag and enables
namespace cleanup for the current vserver.
</description>
</boolean>
- <boolean name="namespace-cleanup">
+ <list name="namespace-cleanup-skip">
<description>
-Enable namespace cleanup for the current vserver.
+List of paths to skip during namespace cleanup. This overrides the global
+<optionref ref="global-namespace-cleanup-skip">namespace-cleanup-skip</optionref>
+file.
</description>
- </boolean>
+ </list>
<hash name="schedule">
<description>
-[experimental; name is subject of possible change] Contains the
+[deprecated; use <optionref ref="sched">sched</optionref> instead] Contains the
scheduler parameters, one per line.
The Hard CPU limit uses a mechanism called a Token Bucket. the
<list name="flags">
<description>
Contains per line a flag. See <ulink
-url="http://savannah.nongnu.org/cgi-bin/viewcvs/util-vserver/util-vserver/lib/cflags-v13.c?rev=HEAD">lib/cflags-v13.c</ulink>
+url="http://svn.linux-vserver.org/svn/util-vserver/trunk/lib/cflags-v13.c">lib/cflags-v13.c</ulink>
for possible values.
</description>
<!--
<description>
Limit the number of process in the vserver according to
ulimit setting. Normally, ulimit is a per user thing.
-With this flag, it becomes a per vserver thing.
+With this flag, it becomes a per vserver thing.
</description>
</element>
<element name="private">
</elements>
-->
</list>
+ <list name="nflags" since="0.30.212">
+ <description>
+Contains a network flag per line. See <ulink
+url="http://svn.linux-vserver.org/svn/util-vserver/trunk/lib/nflags-net.c">lib/nflags-net.c</ulink>
+for possible values.
+ </description>
+ </list>
<scalar name="context">
<description>
Contains the context which shall be used for the vserver.
<enumeration value="sysv"/>
<enumeration value="plain"/>
<enumeration value="minit"/>
- <enumeration value="gento"/>
</restriction>
</scalar>
</description>
</list>
- <list name="environment">
+ <hash name="environment" since="0.30.211">
<description>
The environment to set when starting the guest. Contains one VAR=VAL
pair per line.
</description>
- </list>
+ </hash>
</collection>
<collection name="vshelper">
<default>30</default>
<description>
The timeout in seconds which is used when synchronising vserver
-startup/shutdown with the vshelper. When no set, 30 seconds will be
+startup/shutdown with the vshelper. When not set, 30 seconds will be
assumed.
</description>
</scalar>
(the non-executable ones).
</description>
- <program name="initialize">
+ <program name="initialize" since="0.30.211">
<description>
The scriptlet which will be executed before the root filesystem is mounted and
the configuration has been loaded. Before executing the script, the
configuration directory will be made the working directory.
</description>
<parameterList>
- <parameter name="vserver-dir">
+ <parameter name="action">
<description>
-The configuration directory of the current vserver.
+The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
</description>
</parameter>
<parameter name="vserver-name">
The name of the current vserver.
</description>
</parameter>
- <parameter name="action">
- <description>
-The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
- </description>
- </parameter>
</parameterList>
</program>
- <collection name="initialize.d">
+ <collection name="initialize.d" since="0.30.211">
<description>
Repository of initialize like scripts. Before executing the script,
the configuration directory will be made the working directory.
- </description>
+ </description>
<program name="script" type="symbolic">
<description>See initialize.</description>
<parameterList>
- <parameter name="vserver-dir">
+ <parameter name="action">
<description>
-The configuration directory of the current vserver.
+The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
</description>
</parameter>
<parameter name="vserver-name">
The name of the current vserver.
</description>
</parameter>
- <parameter name="action">
- <description>
-The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
- </description>
- </parameter>
</parameterList>
</program>
</collection>
the configuration directory will be made the working directory.
</description>
<parameterList>
- <parameter name="vserver-dir">
+ <parameter name="action">
<description>
-The configuration directory of the current vserver.
+The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
</description>
</parameter>
<parameter name="vserver-name">
The name of the current vserver.
</description>
</parameter>
- <parameter name="action">
- <description>
-The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
- </description>
- </parameter>
</parameterList>
</program>
<collection name="prepre-start.d">
<description>
Repository of prepre-start like scripts. Before executing the script,
the configuration directory will be made the working directory.
- </description>
+ </description>
<program name="script" type="symbolic">
<description>See prepre-start.</description>
<parameterList>
- <parameter name="vserver-dir">
+ <parameter name="action">
<description>
-The configuration directory of the current vserver.
+The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
</description>
</parameter>
<parameter name="vserver-name">
The name of the current vserver.
</description>
</parameter>
- <parameter name="action">
- <description>
-The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
- </description>
- </parameter>
</parameterList>
</program>
</collection>
will be made the working directory.
</description>
<parameterList>
- <parameter name="vserver-dir">
+ <parameter name="action">
<description>
-The configuration directory of the current vserver.
+The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
</description>
</parameter>
<parameter name="vserver-name">
The name of the current vserver.
</description>
</parameter>
- <parameter name="action">
- <description>
-The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
- </description>
- </parameter>
</parameterList>
</program>
<collection name="pre-start.d">
<description>
Repository of pre-start like scripts. Before executing these scripts,
the vserver root directory will be made the working directory.
- </description>
+ </description>
<program name="script" type="symbolic">
<description>See pre-start.</description>
<parameterList>
- <parameter name="vserver-dir">
+ <parameter name="action">
<description>
-The configuration directory of the current vserver.
+The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
</description>
</parameter>
<parameter name="vserver-name">
- <description>The name of the current vserver.</description>
- </parameter>
- <parameter name="action">
<description>
-The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
+The name of the current vserver.
</description>
</parameter>
</parameterList>
will be made the working directory.
</description>
<parameterList>
- <parameter name="vserver-dir">
- <description>The configuration directory of the current vserver.</description>
- </parameter>
- <parameter name="vserver-name">
- <description>The name of the current vserver.</description>
- </parameter>
<parameter name="action">
<description>
The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
</description>
</parameter>
+ <parameter name="vserver-name">
+ <description>
+The name of the current vserver.
+ </description>
+ </parameter>
</parameterList>
</program>
<collection name="post-start.d">
<program name="script" type="symbolic">
<description>See post-start.</description>
<parameterList>
- <parameter name="vserver-dir">
- <description>The configuration directory of the current vserver.</description>
- </parameter>
- <parameter name="vserver-name">
- <description>The name of the current vserver.</description>
- </parameter>
<parameter name="action">
<description>
The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
</description>
</parameter>
+ <parameter name="vserver-name">
+ <description>
+The name of the current vserver.
+ </description>
+ </parameter>
</parameterList>
</program>
</collection>
will be made the working directory.
</description>
<parameterList>
- <parameter name="vserver-dir">
- <description>The configuration directory of the current vserver.</description>
- </parameter>
- <parameter name="vserver-name">
- <description>The name of the current vserver.</description>
- </parameter>
<parameter name="action">
<description>
The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
</description>
</parameter>
+ <parameter name="vserver-name">
+ <description>
+The name of the current vserver.
+ </description>
+ </parameter>
</parameterList>
</program>
<collection name="pre-stop.d">
<description>
Repository of pre-stop like scripts. Before executing the script, the
vserver root directory will be made the working directory.
- </description>
+ </description>
<program name="script" type="symbolic">
<description>See pre-stop.</description>
<parameterList>
- <parameter name="vserver-dir">
- <description>The configuration directory of the current vserver.</description>
- </parameter>
- <parameter name="vserver-name">
- <description>The name of the current vserver.</description>
- </parameter>
<parameter name="action">
<description>
The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
</description>
</parameter>
+ <parameter name="vserver-name">
+ <description>
+The name of the current vserver.
+ </description>
+ </parameter>
</parameterList>
</program>
</collection>
directory will be made the working directory.
</description>
<parameterList>
- <parameter name="vserver-dir">
- <description>The configuration directory of the current vserver.</description>
- </parameter>
- <parameter name="vserver-name">
- <description>The name of the current vserver.</description>
- </parameter>
<parameter name="action">
<description>
The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
</description>
</parameter>
+ <parameter name="vserver-name">
+ <description>
+The name of the current vserver.
+ </description>
+ </parameter>
</parameterList>
</program>
<collection name="post-stop.d">
<program name="script" type="symbolic">
<description>See post-stop.</description>
<parameterList>
- <parameter name="vserver-dir">
- <description>The configuration directory of the current vserver.</description>
- </parameter>
- <parameter name="vserver-name">
- <description>The name of the current vserver.</description>
- </parameter>
<parameter name="action">
<description>
The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
</description>
</parameter>
+ <parameter name="vserver-name">
+ <description>
+The name of the current vserver.
+ </description>
+ </parameter>
</parameterList>
</program>
</collection>
will be made the working directory.
</description>
<parameterList>
- <parameter name="vserver-dir">
- <description>The configuration directory of the current vserver.</description>
- </parameter>
- <parameter name="vserver-name">
- <description>The name of the current vserver.</description>
- </parameter>
<parameter name="action">
<description>
The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
</description>
</parameter>
+ <parameter name="vserver-name">
+ <description>
+The name of the current vserver.
+ </description>
+ </parameter>
</parameterList>
</program>
<collection name="postpost-stop.d">
<program name="script" type="symbolic">
<description>See postpost-stop.</description>
<parameterList>
- <parameter name="vserver-dir">
- <description>The configuration directory of the current vserver.</description>
- </parameter>
- <parameter name="vserver-name">
- <description>The name of the current vserver.</description>
- </parameter>
<parameter name="action">
<description>
The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
</description>
</parameter>
+ <parameter name="vserver-name">
+ <description>
+The name of the current vserver.
+ </description>
+ </parameter>
</parameterList>
</program>
</collection>
<scalar name="scope">
<description>The default scope of the network interfaces.</description>
</scalar>
+ <boolean id="local-vlandev" name="vlandev" since="0.30.211">
+ <description>
+When this file exists, the steps which setup and destroy a VLAN
+interface will be executed for all interfaces of this vserver.
+ </description>
+ </boolean>
+ <boolean id="local-novlandev" name="novlandev">
+ <description>
+When this file exists, the steps which setup and destroy a VLAN
+interface will be skipped. This overrides the global
+<optionref ref="global-vlandev">vlandev</optionref> setting for
+this vserver.
+ </description>
+ </boolean>
<collection name="iface" type="symbolic">
<description>
<boolean name="novlandev">
<description>
When this file exists, the steps which setup and destroy a VLAN
-interface will be skipped. This flag should be set when a VLAN
-interface is used by multiple vservers or by the host.
+interface will be skipped. This will override the global
+<optionref ref="global-vlandev">vlandev</optionref> and the per-guest
+<optionref ref="local-vlandev">vlandev</optionref>.
+ </description>
+ </boolean>
+ <boolean name="vlandev" since="0.30.211">
+ <description>
+When this file exists, the steps which setup and destroy a VLAN
+interface will be executed.
</description>
</boolean>
</collection>
<collection name="ulimits">
<description>
A directory with ulimits. Possible resources are cpu, data, fsize,
-locks, memlock, nofile, nproc, rss and/or stack. This configuration
-will be honored for kernel 2.4 only.
- </description>
+locks, memlock, nofile, nproc, rss and/or stack.
+ </description>
<scalar name="resource" type="symbolic">
<description>
A file which contains the hard- and soft-limit of the given resource
in the first line. The special keyword 'inf' is recognized.
</description>
- </scalar>
+ </scalar>
<scalar name="resource.hard" type="symbolic">
<description>
-A file which contains the hard- of the given resource in the first
+A file which contains the hard-limit of the given resource in the first
line. The special keyword 'inf' is recognized.
</description>
- </scalar>
+ </scalar>
<scalar name="resource.soft" type="symbolic">
<description>
-A file which contains the soft- of the given resource in the first
+A file which contains the soft-limit of the given resource in the first
line. The special keyword 'inf' is recognized.
</description>
</scalar>
<collection name="rlimits">
<description>
A directory with resource limits. Possible resources are cpu, fsize,
-data, stack, core, rss, nproc, nofile, memlock, as and locks. This
+data, stack, core, rss, nproc, nofile, memlock, as, locks, msgqueue,
+nsock, openfd, anon, shmem, semary, nsems and dentry. This
configuration will be honored for kernel 2.6 only.
- </description>
+ </description>
<scalar name="resource" type="symbolic">
<description>
A file which contains the hard- and soft-limit of the given resource
in the first line. The special keyword 'inf' is recognized.
</description>
- </scalar>
+ </scalar>
<scalar name="resource.hard" type="symbolic">
<description>
-A file which contains the hard- of the given resource in the first
+A file which contains the hard-limit of the given resource in the first
line. The special keyword 'inf' is recognized.
</description>
- </scalar>
+ </scalar>
<scalar name="resource.soft" type="symbolic">
<description>
-A file which contains the soft- of the given resource in the first
+A file which contains the soft-limit of the given resource in the first
line. The special keyword 'inf' is recognized.
</description>
</scalar>
<scalar name="resource.min" type="symbolic">
<description>
-A file which contains the guaranted minimum of the given resource in
+A file which contains the guaranteed minimum of the given resource in
the first line. The special keyword 'inf' is recognized.
</description>
</scalar>
</scalar>
</collection>
- <collection name="dlimits">
+ <collection name="dlimits" since="0.30.210">
<collection name="dlimit" type="symbolic">
<scalar name="directory">
<description>The directory to which the limit should be applied</description>
</collection>
</collection>
- <collection name="cpuset">
+ <collection name="cpuset" since="0.30.211">
<scalar name="name">
<description>The name of the cpuset for this vserver</description>
</scalar>
<description>When this file exists, the cpuset will be assumed to exist already</description>
</scalar>
</collection>
+
+ <collection id="sched" name="sched" since="0.30.212">
+ <scalar id="global-tokens" name="tokens">
+ <description>The initial amount of tokens to put in the bucket</description>
+ </scalar>
+ <scalar id="global-tokens-min" name="tokens-min">
+ <description>The minimum amount of tokens required to unhold the context</description>
+ </scalar>
+ <scalar id="global-tokens-max" name="tokens-max">
+ <description>The bucket's size</description>
+ </scalar>
+ <scalar id="global-fill-rate" name="fill-rate">
+ <description>Amount of tokens to add each <optionref ref="global-interval">interval</optionref></description>
+ </scalar>
+ <scalar id="global-interval" name="interval">
+ <description>The interval between refills of the bucket</description>
+ </scalar>
+ <scalar id="global-priority-bias" name="priority-bias">
+ <description>Bias added to priorities calculated within the guest (result is clamped to -20/+19)</description>
+ </scalar>
+ <scalar id="global-fill-rate2" name="fill-rate2">
+ <description>Amount of tokens to add each <optionref ref="global-interval2">interval2</optionref> when advancing idle time</description>
+ </scalar>
+ <scalar id="global-interval2" name="interval2">
+ <description>The interval between refills of the bucket when advancing idle time</description>
+ </scalar>
+ <boolean id="global-idle-time" name="idle-time">
+ <description>When this file exists, advancing idle time is activated</description>
+ </boolean>
+ <collection name="cpu-id" type="symbolic">
+ <description>This directory contains per-CPU and/or per-bucket specific settings. Remember to set the <optionref ref="cpu-id">cpu-id</optionref> file. All CPUs inherit the global settings.</description>
+ <scalar name="tokens">
+ <description>The initial amount of tokens to put in the bucket</description>
+ </scalar>
+ <scalar name="tokens-min">
+ <description>The minimum amount of tokens required to unhold the context</description>
+ </scalar>
+ <scalar name="tokens-max">
+ <description>The bucket's size</description>
+ </scalar>
+ <scalar name="fill-rate">
+ <description>Amount of tokens to add each <optionref ref="local-interval">interval</optionref></description>
+ </scalar>
+ <scalar id="local-interval" name="interval">
+ <description>The interval between refills of the bucket</description>
+ </scalar>
+ <scalar name="priority-bias">
+ <description>Bias added to priorities calculated within the guest (result is clamped to -20/+19)</description>
+ </scalar>
+ <scalar name="fill-rate2">
+ <description>Amount of tokens to add each <optionref ref="local-interval2">interval2</optionref> when advancing idle time</description>
+ </scalar>
+ <scalar id="local-interval2" name="interval2">
+ <description>The interval between refills of the bucket when advancing idle time</description>
+ </scalar>
+ <boolean name="idle-time">
+ <description>When this file exists, advancing idle time is activated</description>
+ </boolean>
+ <scalar id="cpu-id" name="cpu-id">
+ <description>The CPU to apply these settings to</description>
+ </scalar>
+ <scalar name="bucket-id">
+ <description>The bucket to apply these settings to</description>
+ </scalar>
+ </collection>
+ </collection>
</collection>
</database>