1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE database SYSTEM "configuration.dtd" []>
5 <database xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
6 xsi:noNamespaceSchemaLocation="file:configuration.xsd">
8 <!-- Global configuration -->
9 <collection name=".defaults" use="optional">
10 <collection name="init" type="fixed">
12 <description>Default mtab file</description>
16 <link name="vdirbase">
17 <default>/vservers</default>
18 <description>A link to the default vserver rootdirectory.</description>
21 <link name="cachebase">
22 <default>/var/cache/vservers</default>
24 A link to the directory which will hold cached information about
29 <boolean id="global-nonamespace" name="nonamespace">
31 Disable namespace usage globally. It can be overridden for a single vserver
32 by setting the <optionref ref="global-namespace">namespace</optionref> flag
35 In this mode the <directory>/vservers</directory> directory must have
36 the 'barrier' attribute. Else, common chroot(2) exploits are possible.
40 <boolean id="global-namespace-cleanup" name="namespace-cleanup">
42 Enable namespace cleanup globally. It can be overridden for a single vserver
43 by setting the <optionref ref="global-nonamespace-cleanup">nonamespace-cleanup</optionref> flag
48 <list id="global-namespace-cleanup-skip" name="namespace-cleanup-skip">
50 List of paths to skip during namespace cleanup.
56 Path of the vserver run reverse directory. This directory contains
57 symlinks named with XID numbers which point back to the configuration
58 directory of vservers. Under kernel 2.4 this is required for the XID
59 to VSERVER mapping; Under kernel 2.6 it is unused.
61 NOTE: this link exists in 0.30.202+ only; in previous versions it was
62 a vserver specific setting.
66 <collection name="apps">
67 <collection name="pkgmgmt">
69 <default>/vservers/.pkg</default>
71 <data name="apt.conf">
72 <description>The default apt.conf which is going to be used. It is overridden by
73 distribution specific configuration file.
78 <collection name="debootstrap">
79 <scalar name="mirror">
81 The Debian mirror to use with the <tool>debootstrap</tool> program
86 When the <tool>debootstrap</tool> package is not installed; fetch it
87 from this uri and install it at a temporary place.
92 <collection name="vshelper">
95 The file where output will be logged to when <tool>vshelper</tool>
96 is invoked from the kernel. This should point somewhere e.g. into
97 <directory>/var/log</directory>.
101 <collection name="vshelper-methods">
102 <program name="handler" type="symbolic">
109 <boolean name="disabled">
111 When existing, the vshelper functionality will be disabled for all
116 <boolean name="debug">
118 When existing, the vshelper execution will be traced.
122 <boolean name="warning-disabled">
124 When existing, sanity checks for the vshelper functionality will be
131 <collection name="vprocunhide">
134 A list of files which will be made visible by vprocunhide. Wildcards are
135 allowed and anything ending in '/' will be processed recursively. When this file exists,
136 it overrides the defaults in SYSDEFAULTDIR/vprocunhide-files. The entries there must be
137 absolute filenames inclusive the leading '/proc'.
142 <collection name="init">
145 A symlink to the TTY device where input/output will be redirected from/to
146 at startup via initscript.
150 <hash id="global-environment" name="environment" since="0.30.211">
152 The environment to set when starting guests. Contains one VAR=VAL
158 <collection name="vunify">
159 <list name="exclude">
160 <description>Static list of excluded files.</description>
163 <collection name="hash" since="0.30.205">
165 A directory which will be used as the storage place for the
166 <tool>vhashify</tool> command.
168 <link name="id" type="symbolic">
170 Points to a directory within the filesystems which are used for the
171 vservers. There must be not more than one of such a directory per
176 <scalar name="method" since="0.30.299">
177 <default>SHA1</default>
178 <description>The used hash method.</description>
182 <boolean name="pkgmgmt-ignore" default="off" since="0.30.205">
184 When existing, information from packagemanagement will not be used to
185 create dynamic exclude-lists.
189 <boolean name="pgkmgmt-force" default="off" since="0.30.205">
191 When existing, information from packagemanagement will be used to
192 create dynamic exclude-lists. This option requires that (a known)
193 packagemanagement is configured for the vserver; else the requested
194 operation will fail. Most tools assume 'on' as the default value.
200 <collection name="vlogin">
201 <boolean id="vlogin-disable" name="disable" since="0.30.212">
203 When this file exists, vlogin isn't used on vserver <guest> enter.
209 <collection name="interfaces" use="optional">
210 <boolean id="global-vlandev" name="vlandev" since="0.30.211">
212 When this file exists, the steps which setup and destroy a VLAN
213 interface will be executed.
219 <collection name=".distributions" use="optional">
220 <collection name="dist" type="symbolic">
222 <description></description>
224 <collection name="yum">
226 The default, yum-related content of the <directory>/etc</directory>
229 <scalar name="yum.conf">
231 The master yum configuration file. It supports the @YUMETCDIR@,
232 @YUMCACHEDIR@ and @YUMLOGDIR@ placeholder which will be replaced at
233 <command>vserver ... build</command> time.
237 <collection name="yum.repos.d">
238 <description>A directory with yum repositories.</description>
240 <data name="apt.conf">
242 The default apt.conf which is going to be used. It overrides the
243 apt.conf from CONFDIR/.defaults/apps/pkgmgmt.
246 <program name="initpre">
248 Script which will be executed before packages will be installed.
251 <parameter name="confdir">
253 The configuration directory of the vserver which is going to be set up.
256 <parameter name="util-vserver-vars">
258 The pathname of the util-vserver-vars file.
263 <program name="initpost">
265 Script which will be executed after packages are installed.
268 <parameter name="confdir">
270 The configuration directory of the vserver which is going to be set up.
273 <parameter name="vserver">
275 The pathname of the util-vserver-vars file.
281 <collection name="pkgs">
283 Contains files with packagenames.
287 File which contains the name of packages. On top of file the special
288 keywords '--reinstall' and '--can-fail' are possible.
293 <collection name="pubkeys">
295 Directory with GPG pubkeys which are used to sign the packages of this
300 <collection name="apt">
302 Default content of the <directory>/etc/apt/</directory> directory.
306 <collection name="rpm">
308 Default content of the <directory>/etc/rpm</directory> directory.
314 Directory which overrides <directory>/usr/lib/rpm</directory>.
317 <link name="execdir">
319 Directory with all executables and libraries which are required for
326 <!-- Vserver configuration -->
327 <collection name="vserver-name" type="symbolic">
329 The configuration directory for the vserver vserver-name.
333 <default>../.defaults/cachebase/VSERVERNAME</default>
335 Path of the storage area for cached information about this vserver.
340 <default>../.defaults/vdirbase/VSERVERNAME</default>
342 Path of the vserver root directory.
348 Points to a file which will contain the XID of the running vserver. When
349 the vserver is stopped, this can be a dangling symlink.
353 <list id="bcapabilities" name="bcapabilities">
355 Contains the system capabilities. See
356 <ulink url="http://svn.linux-vserver.org/svn/util-vserver/trunk/lib/bcaps-v13.c">lib/bcaps-v13.c</ulink>
360 <list name="ccapabilities">
362 Contains the context capabilities. See <ulink
363 url="http://svn.linux-vserver.org/svn/util-vserver/trunk/lib/ccaps-v13.c">lib/ccaps-v13.c</ulink>
368 <boolean id="global-namespace" name="namespace">
370 Overrides the global <optionref ref="global-nonamespace">nonamespace</optionref> flag and enables
371 namespace usage for the current vserver.
375 <boolean name="nonamespace">
377 Disables namespace usage for the current vserver.
379 In this mode the <directory>/vservers</directory> directory must have
380 the 'barrier' attribute. Else, common chroot(2) exploits are possible.
384 <boolean id="global-nonamespace-cleanup" name="nonamespace-cleanup">
386 Overrides the global <optionref ref="global-namespace-cleanup">namespace-cleanup</optionref> flag and disables
387 namespace cleanup for the current vserver.
391 <boolean name="namespace-cleanup">
393 Enable namespace cleanup for the current vserver.
397 <list name="namespace-cleanup-skip">
399 List of paths to skip during namespace cleanup. This overrides the
400 <optionref ref="global-namespace-cleanup-skip">global namespace-cleanup-skip</optionref>
405 <hash name="schedule">
407 [experimental; name is subject of possible change] Contains the
408 scheduler parameters, one per line.
410 The Hard CPU limit uses a mechanism called a Token Bucket. the
411 concept is simple: you have a bucket of a certain size which is
412 filled with a specified amount R of tokens each interval T until the
413 maximum is reached (excess tokens are spilled). At each timer tick,
414 a running process consumes one token from the bucket, unless the
415 bucket is empty. If the bucket is empty the process is put in the
416 hold queue. When the bucket has been refilled to at least M tokens,
417 all on hold processes are rescheduled.
419 See the <ulink url="http://linux-vserver.org/Scheduler+Parameters">Linux
420 VServer Wiki</ulink> for more information about this file.
423 <key id="fill_rate" name="fill-rate">
425 Amount of tokens append to the bucket each interval.
428 <key name="interval">
430 The intervall between refills of amount <optionref>fill_rate</optionref>. This
431 value is express in ticks.
436 Initial bucket contents.
439 <key name="tokens-min">
441 The minimum amount of tokens required to unhold processes
444 <key name="tokens-max">
449 <key name="priority-bias">
458 Contains the name of the vserver. When not given, the basename of the directory
459 will be assumed as this name.
464 The nice-level on which the vserver will be started.
467 <list name="capabilities">
469 Contains per line a capability. This file is used for the 2.4 kernel
470 only; for 2.6 use <optionref>bcapabilities</optionref>.
473 <scalar name="shell">
475 Contains the pathname of the shell which will be used by the "vserver
479 <list name="personality">
481 Used to set the personality of the vserver. First line in the file
482 is the personality-type followed by flags (one item per line). See
483 <filename>/usr/include/linux/personality.h</filename> for possible
489 Contains per line a flag. See <ulink
490 url="http://svn.linux-vserver.org/svn/util-vserver/trunk/lib/cflags-v13.c">lib/cflags-v13.c</ulink>
495 <element name="fakeinit">
497 The new process will believe it is process number 1. Useful to run a
498 real /sbin/init in a vserver. Warning: this flag should not be used
499 unless you know what you are doing. Often, it is better to use the
503 <element name="lock">
505 The new process is trapped and can't use chcontext anymore.
508 <element name="sched">
510 The new process and its children will share a common
513 <element name="nproc">
515 Limit the number of process in the vserver according to
516 ulimit setting. Normally, ulimit is a per user thing.
517 With this flag, it becomes a per vserver thing.
520 <element name="private">
522 No one can join this security context once created.
525 <element name="ulimit">
527 Apply the current ulimit to the whole context
533 <scalar name="context">
535 Contains the context which shall be used for the vserver.
538 <data id="fstab" name="fstab">
540 The fstab file for the vserver. Entries in this file will be mounted
541 within the network context of the host. Use the
542 <optionref>fstab.remote</optionref> file when you want that the
543 mounting happens in the network context of the vserver. In most cases
544 the 'fstab' file should be used.
547 <data id="fstab.remote" name="fstab.remote">
549 The fstab file for the vserver. Entries in this file will be mounted
550 within the network context of the host; this means that mount will be
551 called as <command>chbind <options> mount ...</command>. See
552 <optionref>fstab</optionref> also.
556 <collection name="apps">
557 <collection name="init">
560 The initial-mtab which will be used for the vserver.
564 <scalar name="style">
566 Contains the init-style.
569 <enumeration value="sysv"/>
570 <enumeration value="plain"/>
571 <enumeration value="minit"/>
575 <scalar name="runlevel">
576 <description>The start runlevel.</description>
579 <scalar name="runlevel.start">
580 <description>The start runlevel.</description>
583 <scalar name="runlevel.stop">
584 <description>The stop runlevel.</description>
587 <scalar name="killseq">
589 Contains the 'signal [wait signal]*' sequence which is used to stop
594 <list name="cmd.start">
596 The command which is used to start the vserver. Each option must be on
601 <list name="cmd.start-sync">
603 The command which is used to wait on the vserver after it has been
604 started. Each option must be on a separate line. This file will be
605 ignored when the <optionref>sync</optionref> flag does not exist and the
606 '--sync' option was not used.
610 <list name="cmd.stop">
612 The command which is used to stop the vserver. Each option must be on
617 <list name="cmd.stop-sync">
619 The command which is used to wait on the vserver after it has been
620 stopped. Each option must be on a separate line. This file will be
621 ignored when the <optionref>sync</optionref> flag does not exist and the
622 '--sync' option was not used.
626 <list name="cmd.prepare">
628 The command which is used to setup the init-system (e.g. to set the
629 runlevel in the utmp-file). Each option must be on a separate line.
633 <boolean id="sync" name="sync">
635 If this file is not present, all 'cmd.*-sync files will be ignored.
641 A symlink to the TTY device where input/output will be redirected
642 from/to at startup via initscript.
648 This file is used to mark group of vservers which shall be started/stopped
649 together by the initscript. Content is a simple string like 'default'.
653 <list name="depends">
655 This file is used to configure vservers which must be running before
656 the current vserver can be started. At shutdown, the current vserver
657 will be stopped before its dependencies. Content of this file are
658 vserver ids (one name per line).
662 <hash name="environment" since="0.30.211">
664 The environment to set when starting the guest. Contains one VAR=VAL
670 <collection name="vshelper">
671 <scalar name="sync-timeout">
672 <default>30</default>
674 The timeout in seconds which is used when synchronising vserver
675 startup/shutdown with the vshelper. When not set, 30 seconds will be
680 <scalar name="action">
681 <default>restart</default>
683 The action which is going to be executed when a vshelper event
684 occurs. The default value is 'restart', but there can be defined own
685 methods by placing scripts into the
686 <optionref>vshelper-methods</optionref> directories. These scripts are
687 fed with the same arguments as the <tool>vshelper</tool> script.
691 <program name="event" type="symbolic">
693 When existing, these scripts will be executed *instead* of the default
694 handler defined in 'action'. Their name must match the event which caused
695 the execution of <tool>vshelper</tool>; e.g. 'restart' or 'poweroff'. See
696 the vs_reboot() function in the kernel for more details.
699 <parameter name="xid">
701 The xid of the context calling the vshelper
704 <parameter name="event">
712 <boolean name="disabled">
714 When existing, the vshelper functionality will be disabled for this
719 <boolean name="debug">
721 When existing, the vshelper execution will be traced for this vserver.
725 <boolean name="warning-disabled">
727 When existing, sanity checks for the vshelper functionality will be
734 <collection id="vshelper-methods" name="vshelper-methods">
735 <program name="handler" type="symbolic">
742 <collection name="vunify">
744 This directory contains configuration data required for vserver
748 <list name="exclude">
750 <p>Static list of files which are excluded for unification. This list
751 supports an rsync-like syntax: when a file is prefixed by '+', it is a
752 candidate for unification; when there is no prefix or a '-' or a '~' it
753 will be excluded. Shell-wildcards are allowed for the filenames.</p>
754 <p>When used with <tool>vcopy</tool>, the '~' prefix prevents copying
755 of the file entirely (e.g. for keyfiles). With this tool, the file will
756 be copied instead of hardlinked when the '-' prefix is used.</p>
760 <link name="refserver.X" type="symbolic">
762 These are symlinks to the configuration directory
763 (e.g. CONFDIR/vservers/<id>) of a refserver. There may be
764 multiple such symlinks but they must be prefixed by 'refserver.' and
765 will be processed in alphanumerical order.
769 <collection name="hash" since="0.30.205">
771 A directory which will be used as the storage place for the
772 <tool>vhashify</tool> command.
774 <link name="id" type="symbolic">
776 Points to a directory within the filesystems which are used for the
777 vservers. There must be not more than one of such a directory per
782 <scalar name="method" since="0.30.299">
783 <default>SHA1</default>
784 <description>The used hash method.</description>
788 <boolean name="pkgmgmt-ignore" default="off" since="0.30.205">
790 When existing, information from packagemanagement will not be used to
791 create dynamic exclude-lists.
795 <boolean name="pgkmgmt-force" default="off" since="0.30.205">
797 When existing, information from packagemanagement will be used to
798 create dynamic exclude-lists. This option requires that (a known)
799 packagemanagement is configured for the vserver; else the requested
800 operation will fail. Most tools assume 'on' as the default value.
807 <collection name="scripts">
809 A directory for scripts. By default, when one of these scripts will be
810 executed, the execution of defaultscripts (within .../.defaults/scripts)
811 will be skipped. To execute them nevertheless, the $DONT_SKIP_DEFAULTS
812 environment variable must be set by one of the in-shellcontext scripts
813 (the non-executable ones).
816 <program name="initialize" since="0.30.211">
818 The scriptlet which will be executed before the root filesystem is mounted and
819 the configuration has been loaded. Before executing the script, the
820 configuration directory will be made the working directory.
823 <parameter name="action">
825 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
828 <parameter name="vserver-name">
830 The name of the current vserver.
835 <collection name="initialize.d" since="0.30.211">
837 Repository of initialize like scripts. Before executing the script,
838 the configuration directory will be made the working directory.
840 <program name="script" type="symbolic">
841 <description>See initialize.</description>
843 <parameter name="action">
845 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
848 <parameter name="vserver-name">
850 The name of the current vserver.
857 <program name="prepre-start">
859 The scriptlet which will be executed before the network-interfaces are
860 enabled and the directories are mounted. Before executing the script,
861 the configuration directory will be made the working directory.
864 <parameter name="action">
866 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
869 <parameter name="vserver-name">
871 The name of the current vserver.
876 <collection name="prepre-start.d">
878 Repository of prepre-start like scripts. Before executing the script,
879 the configuration directory will be made the working directory.
881 <program name="script" type="symbolic">
882 <description>See prepre-start.</description>
884 <parameter name="action">
886 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
889 <parameter name="vserver-name">
891 The name of the current vserver.
898 <program name="pre-start">
900 The scriptlet which will be executed after network-interfaces were
901 enabled and the directories mounted, but before the vserver itself has
902 been started. Before executing the script, the vserver root directory
903 will be made the working directory.
906 <parameter name="action">
908 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
911 <parameter name="vserver-name">
913 The name of the current vserver.
918 <collection name="pre-start.d">
920 Repository of pre-start like scripts. Before executing these scripts,
921 the vserver root directory will be made the working directory.
923 <program name="script" type="symbolic">
924 <description>See pre-start.</description>
926 <parameter name="action">
928 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
931 <parameter name="vserver-name">
933 The name of the current vserver.
941 <program name="post-start">
943 The scriptlet which will be executed after the vserver has been
944 started. Before executing the script, the vserver root directory
945 will be made the working directory.
948 <parameter name="action">
950 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
953 <parameter name="vserver-name">
955 The name of the current vserver.
960 <collection name="post-start.d">
962 Repository of post-start like scripts. Before executing these scripts,
963 the vserver root directory will be made the working directory.
965 <program name="script" type="symbolic">
966 <description>See post-start.</description>
968 <parameter name="action">
970 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
973 <parameter name="vserver-name">
975 The name of the current vserver.
983 <program name="pre-stop">
985 The scriptlet which will be executed before the vserver will be
986 stopped. Before executing the script, the vserver root directory
987 will be made the working directory.
990 <parameter name="action">
992 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
995 <parameter name="vserver-name">
997 The name of the current vserver.
1002 <collection name="pre-stop.d">
1004 Repository of pre-stop like scripts. Before executing the script, the
1005 vserver root directory will be made the working directory.
1007 <program name="script" type="symbolic">
1008 <description>See pre-stop.</description>
1010 <parameter name="action">
1012 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
1015 <parameter name="vserver-name">
1017 The name of the current vserver.
1024 <program name="post-stop">
1026 The scriptlet which will be executed after the vserver has been
1027 stopped, but before the directories will be umounted and the the
1028 interfaces disabled. Before executing the script, the vserver root
1029 directory will be made the working directory.
1032 <parameter name="action">
1034 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
1037 <parameter name="vserver-name">
1039 The name of the current vserver.
1044 <collection name="post-stop.d">
1046 Repository of post-stop like scripts. Before executing the script, the
1047 vserver root directory will be made the working directory.
1049 <program name="script" type="symbolic">
1050 <description>See post-stop.</description>
1052 <parameter name="action">
1054 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
1057 <parameter name="vserver-name">
1059 The name of the current vserver.
1066 <program name="postpost-stop">
1068 The scriptlet which will be executed after the vserver has been stopped
1069 completely. Before executing the script, the vserver root directory
1070 will be made the working directory.
1073 <parameter name="action">
1075 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
1078 <parameter name="vserver-name">
1080 The name of the current vserver.
1085 <collection name="postpost-stop.d">
1087 Repository of postpost-stop like scripts. Before executing the script,
1088 the vserver root directory will be made the working directory.
1090 <program name="script" type="symbolic">
1091 <description>See postpost-stop.</description>
1093 <parameter name="action">
1095 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
1098 <parameter name="vserver-name">
1100 The name of the current vserver.
1108 <collection name="interfaces">
1109 <scalar name="bcast">
1110 <description>The default broadcast address.</description>
1113 <description>The default network device.</description>
1115 <scalar name="prefix">
1116 <description>The default network prefix-length.</description>
1118 <scalar name="mask">
1119 <description>The default network mask.</description>
1121 <scalar name="scope">
1122 <description>The default scope of the network interfaces.</description>
1124 <boolean id="local-vlandev" name="vlandev" since="0.30.211">
1126 When this file exists, the steps which setup and destroy a VLAN
1127 interface will be executed for all interfaces of this vserver.
1130 <boolean id="local-novlandev" name="novlandev">
1132 When this file exists, the steps which setup and destroy a VLAN
1133 interface will be skipped. This overrides the global
1134 <optionref ref="global-vlandev">vlandev</optionref> setting for
1139 <collection name="iface" type="symbolic">
1141 'iface' is an arbitrary name for the interface; the value itself is
1142 not important but may be interesting regarding interface-creation and
1143 usage with <tool>chbind</tool>. Both happens in alphabetical order and
1144 numbers like '00' are good names for these directories.
1147 <boolean name="disabled">
1148 <description>When this file exists, this interface will be ignored.</description>
1152 <description>The ip which will be assigned to this interface.</description>
1154 <scalar name="bcast">
1155 <description>The broadcast address.</description>
1158 <description>The network device.</description>
1160 <scalar name="prefix">
1161 <description>The network prefix-length.</description>
1163 <scalar name="mask">
1164 <description>The network mask.</description>
1166 <scalar name="scope">
1167 <description>The scope of the network interface.</description>
1169 <scalar name="name">
1171 When this file exists, the interface will be named with the text in
1172 this file. Without such an entry, the IP will not be shown by
1173 <tool>ifconfig</tool> but by <command>ip addr ls</command> only. Such
1174 a labeled interface is known as an "alias" also (e.g. 'eth0:foo').
1177 <boolean name="nodev">
1179 When this file exists, the interface will be assumed to exist
1180 already. This can be used to assign primary interfaces which are
1181 created by the host or another vserver.
1184 <boolean name="novlandev">
1186 When this file exists, the steps which setup and destroy a VLAN
1187 interface will be skipped. This will override the global
1188 <optionref ref="global-vlandev">vlandev</optionref> and the per-guest
1189 <optionref ref="local-vlandev">vlandev</optionref>.
1192 <boolean name="vlandev" since="0.30.211">
1194 When this file exists, the steps which setup and destroy a VLAN
1195 interface will be executed.
1201 <collection name="ulimits">
1203 A directory with ulimits. Possible resources are cpu, data, fsize,
1204 locks, memlock, nofile, nproc, rss and/or stack.
1206 <scalar name="resource" type="symbolic">
1208 A file which contains the hard- and soft-limit of the given resource
1209 in the first line. The special keyword 'inf' is recognized.
1212 <scalar name="resource.hard" type="symbolic">
1214 A file which contains the hard- of the given resource in the first
1215 line. The special keyword 'inf' is recognized.
1218 <scalar name="resource.soft" type="symbolic">
1220 A file which contains the soft- of the given resource in the first
1221 line. The special keyword 'inf' is recognized.
1226 <collection name="rlimits">
1228 A directory with resource limits. Possible resources are cpu, fsize,
1229 data, stack, core, rss, nproc, nofile, memlock, as and locks. This
1230 configuration will be honored for kernel 2.6 only.
1232 <scalar name="resource" type="symbolic">
1234 A file which contains the hard- and soft-limit of the given resource
1235 in the first line. The special keyword 'inf' is recognized.
1238 <scalar name="resource.hard" type="symbolic">
1240 A file which contains the hard- of the given resource in the first
1241 line. The special keyword 'inf' is recognized.
1244 <scalar name="resource.soft" type="symbolic">
1246 A file which contains the soft- of the given resource in the first
1247 line. The special keyword 'inf' is recognized.
1250 <scalar name="resource.min" type="symbolic">
1252 A file which contains the guaranted minimum of the given resource in
1253 the first line. The special keyword 'inf' is recognized.
1258 <collection name="uts">
1259 <scalar name="context">
1261 The context-name of the vserver. This file is listed for completeness
1262 only; the 'context' name is used and set internally by the util-vserver
1263 tools and can *not* be modified.
1266 <scalar name="sysname">
1267 <description>The sysname of the vserver</description>
1269 <scalar name="nodename">
1270 <description>The node-/hostname of the vserver</description>
1272 <scalar name="release">
1273 <description>The OS-release of the vserver</description>
1275 <scalar name="version">
1276 <description>The OS-version of the vserver</description>
1278 <scalar name="machine">
1279 <description>The machine-type of the vserver</description>
1281 <scalar name="domainname">
1282 <description>The NIS domainname of the vserver</description>
1286 <collection name="dlimits" since="0.30.210">
1287 <collection name="dlimit" type="symbolic">
1288 <scalar name="directory">
1289 <description>The directory to which the limit should be applied</description>
1291 <scalar name="inodes_total">
1292 <description>The amount of inodes this vserver should be limited to</description>
1294 <scalar name="space_total">
1295 <description>The amount of space this vserver should be limited to (measured in blocks of 1024 bytes)</description>
1297 <scalar name="reserved">
1298 <description>How much space (percentage-wise) should be reserved for the root user</description>
1303 <collection name="cpuset" since="0.30.211">
1304 <scalar name="name">
1305 <description>The name of the cpuset for this vserver</description>
1307 <scalar name="cpus">
1308 <description>The list of CPUs in this cpuset</description>
1310 <scalar name="mems">
1311 <description>The list of Memory Nodes in this cpuset</description>
1313 <scalar name="cpu_exclusive">
1314 <description>Is the CPU assignment exclusive?</description>
1316 <scalar name="mems_exclusive">
1317 <description>Is the memory node assignment exclusive?</description>
1319 <scalar name="nocreate">
1320 <description>When this file exists, the cpuset will be assumed to exist already</description>
1324 <collection name="sched" since="0.30.212">
1325 <scalar id="global-tokens" name="tokens">
1326 <description>The initial amount of tokens to put in the bucket</description>
1328 <scalar id="global-tokens-min" name="tokens-min">
1329 <description>The minimum amount of tokens required to unhold the context</description>
1331 <scalar id="global-tokens-max" name="tokens-max">
1332 <description>The bucket's size</description>
1334 <scalar id="global-fill-rate" name="fill-rate">
1335 <description>Amount of tokens to add each <optionref ref="global-interval">interval</optionref></description>
1337 <scalar id="global-interval" name="interval">
1338 <description>The interval between refills of the bucket</description>
1340 <scalar id="global-priority-bias" name="priority-bias">
1341 <description>Bias added to priorities calculated within the guest (result is clamped to -20/+19)</description>
1343 <scalar id="global-fill-rate2" name="fill-rate2">
1344 <description>Amount of tokens to add each <optionref ref="global-interval2">interval2</optionref> when advancing idle time</description>
1346 <scalar id="global-interval2" name="interval2">
1347 <description>The interval between refills of the bucket when advancing idle time</description>
1349 <boolean id="global-idle-time" name="idle-time">
1350 <description>When this file exists, advancing idle time is activated</description>
1352 <collection name="cpu-id" type="symbolic">
1353 <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>
1354 <scalar name="tokens">
1355 <description>The initial amount of tokens to put in the bucket</description>
1357 <scalar name="tokens-min">
1358 <description>The minimum amount of tokens required to unhold the context</description>
1360 <scalar name="tokens-max">
1361 <description>The bucket's size</description>
1363 <scalar name="fill-rate">
1364 <description>Amount of tokens to add each <optionref ref="interval">interval</optionref></description>
1366 <scalar name="interval">
1367 <description>The interval between refills of the bucket</description>
1369 <scalar name="priority-bias">
1370 <description>Bias added to priorities calculated within the guest (result is clamped to -20/+19)</description>
1372 <scalar name="fill-rate2">
1373 <description>Amount of tokens to add each <optionref ref="interval2">interval2</optionref> when advancing idle time</description>
1375 <scalar name="interval2">
1376 <description>The interval between refills of the bucket when advancing idle time</description>
1378 <boolean name="idle-time">
1379 <description>When this file exists, advancing idle time is activated</description>
1381 <scalar name="cpu-id">
1382 <description>The CPU to apply these settings to</description>
1384 <scalar name="bucket-id">
1385 <description>The bucket to apply these settings to</description>