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
50 Path of the vserver run reverse directory. This directory contains
51 symlinks named with XID numbers which point back to the configuration
52 directory of vservers. Under kernel 2.4 this is required for the XID
53 to VSERVER mapping; Under kernel 2.6 it is unused.
55 NOTE: this link exists in 0.30.202+ only; in previous versions it was
56 a vserver specific setting.
60 <collection name="apps">
61 <collection name="pkgmgmt">
63 <default>/vservers/.pkg</default>
65 <data name="apt.conf">
66 <description>The default apt.conf which is going to be used. It is overridden by
67 distribution specific configuration file.
72 <collection name="debootstrap">
73 <scalar name="mirror">
75 The Debian mirror to use with the <tool>debootstrap</tool> program
80 When the <tool>debootstrap</tool> package is not installed; fetch it
81 from this uri and install it at a temporary place.
86 <collection name="vshelper">
89 The file where output will be logged to when <tool>vshelper</tool>
90 is invoked from the kernel. This should point somewhere e.g. into
91 <directory>/var/log</directory>.
95 <collection name="vshelper-methods">
96 <program name="handler" type="symbolic">
103 <boolean name="disabled">
105 When existing, the vshelper functionality will be disabled for all
110 <boolean name="debug">
112 When existing, the vshelper execution will be traced.
116 <boolean name="warning-disabled">
118 When existing, sanity checks for the vshelper functionality will be
125 <collection name="vprocunhide">
128 A list of files which will be made visible by vprocunhide. Wildcards are
129 allowed and anything ending in '/' will be processed recursively. When this file exists,
130 it overrides the defaults in SYSDEFAULTDIR/vprocunhide-files. The entries there must be
131 absolute filenames inclusive the leading '/proc'.
136 <collection name="init">
139 A symlink to the TTY device where input/output will be redirected from/to
140 at startup via initscript.
144 <hash id="global-environment" name="environment" since="0.30.211">
146 The environment to set when starting guests. Contains one VAR=VAL
152 <collection name="vunify">
153 <list name="exclude">
154 <description>Static list of excluded files.</description>
157 <collection name="hash" since="0.30.205">
159 A directory which will be used as the storage place for the
160 <tool>vhashify</tool> command.
162 <link name="id" type="symbolic">
164 Points to a directory within the filesystems which are used for the
165 vservers. There must be not more than one of such a directory per
170 <scalar name="method" since="0.30.299">
171 <default>SHA1</default>
172 <description>The used hash method.</description>
176 <boolean name="pkgmgmt-ignore" default="off" since="0.30.205">
178 When existing, information from packagemanagement will not be used to
179 create dynamic exclude-lists.
183 <boolean name="pgkmgmt-force" default="off" since="0.30.205">
185 When existing, information from packagemanagement will be used to
186 create dynamic exclude-lists. This option requires that (a known)
187 packagemanagement is configured for the vserver; else the requested
188 operation will fail. Most tools assume 'on' as the default value.
195 <collection name="interfaces" use="optional">
196 <boolean id="global-vlandev" name="vlandev" since="0.30.211">
198 When this file exists, the steps which setup and destroy a VLAN
199 interface will be executed.
205 <collection name=".distributions" use="optional">
206 <collection name="dist" type="symbolic">
208 <description></description>
210 <collection name="yum">
212 The default, yum-related content of the <directory>/etc</directory>
215 <scalar name="yum.conf">
217 The master yum configuration file. It supports the @YUMETCDIR@,
218 @YUMCACHEDIR@ and @YUMLOGDIR@ placeholder which will be replaced at
219 <command>vserver ... build</command> time.
223 <collection name="yum.repos.d">
224 <description>A directory with yum repositories.</description>
226 <data name="apt.conf">
228 The default apt.conf which is going to be used. It overrides the
229 apt.conf from CONFDIR/.defaults/apps/pkgmgmt.
232 <program name="initpre">
234 Script which will be executed before packages will be installed.
237 <parameter name="confdir">
239 The configuration directory of the vserver which is going to be set up.
242 <parameter name="util-vserver-vars">
244 The pathname of the util-vserver-vars file.
249 <program name="initpost">
251 Script which will be executed after packages are installed.
254 <parameter name="confdir">
256 The configuration directory of the vserver which is going to be set up.
259 <parameter name="vserver">
261 The pathname of the util-vserver-vars file.
267 <collection name="pkgs">
269 Contains files with packagenames.
273 File which contains the name of packages. On top of file the special
274 keywords '--reinstall' and '--can-fail' are possible.
279 <collection name="pubkeys">
281 Directory with GPG pubkeys which are used to sign the packages of this
286 <collection name="apt">
288 Default content of the <directory>/etc/apt/</directory> directory.
292 <collection name="rpm">
294 Default content of the <directory>/etc/rpm</directory> directory.
300 Directory which overrides <directory>/usr/lib/rpm</directory>.
303 <link name="execdir">
305 Directory with all executables and libraries which are required for
312 <!-- Vserver configuration -->
313 <collection name="vserver-name" type="symbolic">
315 The configuration directory for the vserver vserver-name.
319 <default>../.defaults/cachebase/VSERVERNAME</default>
321 Path of the storage area for cached information about this vserver.
326 <default>../.defaults/vdirbase/VSERVERNAME</default>
328 Path of the vserver root directory.
334 Points to a file which will contain the XID of the running vserver. When
335 the vserver is stopped, this can be a dangling symlink.
339 <list id="bcapabilities" name="bcapabilities">
341 [experimental; name is subject of possible change] Contains the system capabilities. See
342 <ulink url="http://svn.linux-vserver.org/svn/util-vserver/trunk/lib/bcaps-v13.c">lib/bcaps-v13.c</ulink>
346 <list name="ccapabilities">
348 [experimental; name is subject of possible change] Contains the
349 context capabilities. See <ulink
350 url="http://svn.linux-vserver.org/svn/util-vserver/trunk/lib/ccaps-v13.c">lib/ccaps-v13.c</ulink>
355 <boolean id="global-namespace" name="namespace">
357 Overrides the global <optionref ref="global-nonamespace">nonamespace</optionref> flag and enables
358 namespace usage for the current vserver.
362 <boolean name="nonamespace">
364 Disables namespace usage for the current vserver.
366 In this mode the <directory>/vservers</directory> directory must have
367 the 'barrier' attribute. Else, common chroot(2) exploits are possible.
371 <boolean id="global-nonamespace-cleanup" name="nonamespace-cleanup">
373 Overrides the global <optionref ref="global-namespace-cleanup">namespace-cleanup</optionref> flag and disables
374 namespace cleanup for the current vserver.
378 <boolean name="namespace-cleanup">
380 Enable namespace cleanup for the current vserver.
384 <hash name="schedule">
386 [experimental; name is subject of possible change] Contains the
387 scheduler parameters, one per line.
389 The Hard CPU limit uses a mechanism called a Token Bucket. the
390 concept is simple: you have a bucket of a certain size which is
391 filled with a specified amount R of tokens each interval T until the
392 maximum is reached (excess tokens are spilled). At each timer tick,
393 a running process consumes one token from the bucket, unless the
394 bucket is empty. If the bucket is empty the process is put in the
395 hold queue. When the bucket has been refilled to at least M tokens,
396 all on hold processes are rescheduled.
398 See the <ulink url="http://linux-vserver.org/Scheduler+Parameters">Linux
399 VServer Wiki</ulink> for more information about this file.
402 <key id="fill_rate" name="fill-rate">
404 Amount of tokens append to the bucket each interval.
407 <key name="interval">
409 The intervall between refills of amount <optionref>fill_rate</optionref>. This
410 value is express in ticks.
415 Initial bucket contents.
418 <key name="tokens-min">
420 The minimum amount of tokens required to unhold processes
423 <key name="tokens-max">
428 <key name="priority-bias">
437 Contains the name of the vserver. When not given, the basename of the directory
438 will be assumed as this name.
443 The nice-level on which the vserver will be started.
446 <list name="capabilities">
448 Contains per line a capability. This file is used for the 2.4 kernel
449 only; for 2.6 use <optionref>bcapabilities</optionref>.
452 <scalar name="shell">
454 Contains the pathname of the shell which will be used by the "vserver
458 <list name="personality">
460 Used to set the personality of the vserver. First line in the file
461 is the personality-type followed by flags (one item per line). See
462 <filename>/usr/include/linux/personality.h</filename> for possible
468 Contains per line a flag. See <ulink
469 url="http://svn.linux-vserver.org/svn/util-vserver/trunk/lib/cflags-v13.c">lib/cflags-v13.c</ulink>
474 <element name="fakeinit">
476 The new process will believe it is process number 1. Useful to run a
477 real /sbin/init in a vserver. Warning: this flag should not be used
478 unless you know what you are doing. Often, it is better to use the
482 <element name="lock">
484 The new process is trapped and can't use chcontext anymore.
487 <element name="sched">
489 The new process and its children will share a common
492 <element name="nproc">
494 Limit the number of process in the vserver according to
495 ulimit setting. Normally, ulimit is a per user thing.
496 With this flag, it becomes a per vserver thing.
499 <element name="private">
501 No one can join this security context once created.
504 <element name="ulimit">
506 Apply the current ulimit to the whole context
512 <scalar name="context">
514 Contains the context which shall be used for the vserver.
517 <data id="fstab" name="fstab">
519 The fstab file for the vserver. Entries in this file will be mounted
520 within the network context of the host. Use the
521 <optionref>fstab.remote</optionref> file when you want that the
522 mounting happens in the network context of the vserver. In most cases
523 the 'fstab' file should be used.
526 <data id="fstab.remote" name="fstab.remote">
528 The fstab file for the vserver. Entries in this file will be mounted
529 within the network context of the host; this means that mount will be
530 called as <command>chbind <options> mount ...</command>. See
531 <optionref>fstab</optionref> also.
535 <collection name="apps">
536 <collection name="init">
539 The initial-mtab which will be used for the vserver.
543 <scalar name="style">
545 Contains the init-style.
548 <enumeration value="sysv"/>
549 <enumeration value="plain"/>
550 <enumeration value="minit"/>
554 <scalar name="runlevel">
555 <description>The start runlevel.</description>
558 <scalar name="runlevel.start">
559 <description>The start runlevel.</description>
562 <scalar name="runlevel.stop">
563 <description>The stop runlevel.</description>
566 <scalar name="killseq">
568 Contains the 'signal [wait signal]*' sequence which is used to stop
573 <list name="cmd.start">
575 The command which is used to start the vserver. Each option must be on
580 <list name="cmd.start-sync">
582 The command which is used to wait on the vserver after it has been
583 started. Each option must be on a separate line. This file will be
584 ignored when the <optionref>sync</optionref> flag does not exist and the
585 '--sync' option was not used.
589 <list name="cmd.stop">
591 The command which is used to stop the vserver. Each option must be on
596 <list name="cmd.stop-sync">
598 The command which is used to wait on the vserver after it has been
599 stopped. Each option must be on a separate line. This file will be
600 ignored when the <optionref>sync</optionref> flag does not exist and the
601 '--sync' option was not used.
605 <list name="cmd.prepare">
607 The command which is used to setup the init-system (e.g. to set the
608 runlevel in the utmp-file). Each option must be on a separate line.
612 <boolean id="sync" name="sync">
614 If this file is not present, all 'cmd.*-sync files will be ignored.
620 A symlink to the TTY device where input/output will be redirected
621 from/to at startup via initscript.
627 This file is used to mark group of vservers which shall be started/stopped
628 together by the initscript. Content is a simple string like 'default'.
632 <list name="depends">
634 This file is used to configure vservers which must be running before
635 the current vserver can be started. At shutdown, the current vserver
636 will be stopped before its dependencies. Content of this file are
637 vserver ids (one name per line).
641 <hash name="environment" since="0.30.211">
643 The environment to set when starting the guest. Contains one VAR=VAL
649 <collection name="vshelper">
650 <scalar name="sync-timeout">
651 <default>30</default>
653 The timeout in seconds which is used when synchronising vserver
654 startup/shutdown with the vshelper. When not set, 30 seconds will be
659 <scalar name="action">
660 <default>restart</default>
662 The action which is going to be executed when a vshelper event
663 occurs. The default value is 'restart', but there can be defined own
664 methods by placing scripts into the
665 <optionref>vshelper-methods</optionref> directories. These scripts are
666 fed with the same arguments as the <tool>vshelper</tool> script.
670 <program name="event" type="symbolic">
672 When existing, these scripts will be executed *instead* of the default
673 handler defined in 'action'. Their name must match the event which caused
674 the execution of <tool>vshelper</tool>; e.g. 'restart' or 'poweroff'. See
675 the vs_reboot() function in the kernel for more details.
678 <parameter name="xid">
680 The xid of the context calling the vshelper
683 <parameter name="event">
691 <boolean name="disabled">
693 When existing, the vshelper functionality will be disabled for this
698 <boolean name="debug">
700 When existing, the vshelper execution will be traced for this vserver.
704 <boolean name="warning-disabled">
706 When existing, sanity checks for the vshelper functionality will be
713 <collection id="vshelper-methods" name="vshelper-methods">
714 <program name="handler" type="symbolic">
721 <collection name="vunify">
723 This directory contains configuration data required for vserver
727 <list name="exclude">
729 <p>Static list of files which are excluded for unification. This list
730 supports an rsync-like syntax: when a file is prefixed by '+', it is a
731 candidate for unification; when there is no prefix or a '-' or a '~' it
732 will be excluded. Shell-wildcards are allowed for the filenames.</p>
733 <p>When used with <tool>vcopy</tool>, the '~' prefix prevents copying
734 of the file entirely (e.g. for keyfiles). With this tool, the file will
735 be copied instead of hardlinked when the '-' prefix is used.</p>
739 <link name="refserver.X" type="symbolic">
741 These are symlinks to the configuration directory
742 (e.g. CONFDIR/vservers/<id>) of a refserver. There may be
743 multiple such symlinks but they must be prefixed by 'refserver.' and
744 will be processed in alphanumerical order.
748 <collection name="hash" since="0.30.205">
750 A directory which will be used as the storage place for the
751 <tool>vhashify</tool> command.
753 <link name="id" type="symbolic">
755 Points to a directory within the filesystems which are used for the
756 vservers. There must be not more than one of such a directory per
761 <scalar name="method" since="0.30.299">
762 <default>SHA1</default>
763 <description>The used hash method.</description>
767 <boolean name="pkgmgmt-ignore" default="off" since="0.30.205">
769 When existing, information from packagemanagement will not be used to
770 create dynamic exclude-lists.
774 <boolean name="pgkmgmt-force" default="off" since="0.30.205">
776 When existing, information from packagemanagement will be used to
777 create dynamic exclude-lists. This option requires that (a known)
778 packagemanagement is configured for the vserver; else the requested
779 operation will fail. Most tools assume 'on' as the default value.
786 <collection name="scripts">
788 A directory for scripts. By default, when one of these scripts will be
789 executed, the execution of defaultscripts (within .../.defaults/scripts)
790 will be skipped. To execute them nevertheless, the $DONT_SKIP_DEFAULTS
791 environment variable must be set by one of the in-shellcontext scripts
792 (the non-executable ones).
795 <program name="initialize" since="0.30.211">
797 The scriptlet which will be executed before the root filesystem is mounted and
798 the configuration has been loaded. Before executing the script, the
799 configuration directory will be made the working directory.
802 <parameter name="action">
804 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
807 <parameter name="vserver-name">
809 The name of the current vserver.
814 <collection name="initialize.d" since="0.30.211">
816 Repository of initialize like scripts. Before executing the script,
817 the configuration directory will be made the working directory.
819 <program name="script" type="symbolic">
820 <description>See initialize.</description>
822 <parameter name="action">
824 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
827 <parameter name="vserver-name">
829 The name of the current vserver.
836 <program name="prepre-start">
838 The scriptlet which will be executed before the network-interfaces are
839 enabled and the directories are mounted. Before executing the script,
840 the configuration directory will be made the working directory.
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.
855 <collection name="prepre-start.d">
857 Repository of prepre-start like scripts. Before executing the script,
858 the configuration directory will be made the working directory.
860 <program name="script" type="symbolic">
861 <description>See prepre-start.</description>
863 <parameter name="action">
865 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
868 <parameter name="vserver-name">
870 The name of the current vserver.
877 <program name="pre-start">
879 The scriptlet which will be executed after network-interfaces were
880 enabled and the directories mounted, but before the vserver itself has
881 been started. Before executing the script, the vserver root directory
882 will be made the working directory.
885 <parameter name="action">
887 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
890 <parameter name="vserver-name">
892 The name of the current vserver.
897 <collection name="pre-start.d">
899 Repository of pre-start like scripts. Before executing these scripts,
900 the vserver root directory will be made the working directory.
902 <program name="script" type="symbolic">
903 <description>See pre-start.</description>
905 <parameter name="action">
907 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
910 <parameter name="vserver-name">
912 The name of the current vserver.
920 <program name="post-start">
922 The scriptlet which will be executed after the vserver has been
923 started. Before executing the script, the vserver root directory
924 will be made the working directory.
927 <parameter name="action">
929 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
932 <parameter name="vserver-name">
934 The name of the current vserver.
939 <collection name="post-start.d">
941 Repository of post-start like scripts. Before executing these scripts,
942 the vserver root directory will be made the working directory.
944 <program name="script" type="symbolic">
945 <description>See post-start.</description>
947 <parameter name="action">
949 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
952 <parameter name="vserver-name">
954 The name of the current vserver.
962 <program name="pre-stop">
964 The scriptlet which will be executed before the vserver will be
965 stopped. Before executing the script, the vserver root directory
966 will be made the working directory.
969 <parameter name="action">
971 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
974 <parameter name="vserver-name">
976 The name of the current vserver.
981 <collection name="pre-stop.d">
983 Repository of pre-stop like scripts. Before executing the script, the
984 vserver root directory will be made the working directory.
986 <program name="script" type="symbolic">
987 <description>See pre-stop.</description>
989 <parameter name="action">
991 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
994 <parameter name="vserver-name">
996 The name of the current vserver.
1003 <program name="post-stop">
1005 The scriptlet which will be executed after the vserver has been
1006 stopped, but before the directories will be umounted and the the
1007 interfaces disabled. Before executing the script, the vserver root
1008 directory will be made the working directory.
1011 <parameter name="action">
1013 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
1016 <parameter name="vserver-name">
1018 The name of the current vserver.
1023 <collection name="post-stop.d">
1025 Repository of post-stop like scripts. Before executing the script, the
1026 vserver root directory will be made the working directory.
1028 <program name="script" type="symbolic">
1029 <description>See post-stop.</description>
1031 <parameter name="action">
1033 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
1036 <parameter name="vserver-name">
1038 The name of the current vserver.
1045 <program name="postpost-stop">
1047 The scriptlet which will be executed after the vserver has been stopped
1048 completely. Before executing the script, the vserver root directory
1049 will be made the working directory.
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.
1064 <collection name="postpost-stop.d">
1066 Repository of postpost-stop like scripts. Before executing the script,
1067 the vserver root directory will be made the working directory.
1069 <program name="script" type="symbolic">
1070 <description>See postpost-stop.</description>
1072 <parameter name="action">
1074 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
1077 <parameter name="vserver-name">
1079 The name of the current vserver.
1087 <collection name="interfaces">
1088 <scalar name="bcast">
1089 <description>The default broadcast address.</description>
1092 <description>The default network device.</description>
1094 <scalar name="prefix">
1095 <description>The default network prefix-length.</description>
1097 <scalar name="mask">
1098 <description>The default network mask.</description>
1100 <scalar name="scope">
1101 <description>The default scope of the network interfaces.</description>
1103 <boolean id="local-vlandev" name="vlandev" since="0.30.211">
1105 When this file exists, the steps which setup and destroy a VLAN
1106 interface will be executed for all interfaces of this vserver.
1109 <boolean id="local-novlandev" name="novlandev">
1111 When this file exists, the steps which setup and destroy a VLAN
1112 interface will be skipped. This overrides the global
1113 <optionref ref="global-vlandev">vlandev</optionref> setting for
1118 <collection name="iface" type="symbolic">
1120 'iface' is an arbitrary name for the interface; the value itself is
1121 not important but may be interesting regarding interface-creation and
1122 usage with <tool>chbind</tool>. Both happens in alphabetical order and
1123 numbers like '00' are good names for these directories.
1126 <boolean name="disabled">
1127 <description>When this file exists, this interface will be ignored.</description>
1131 <description>The ip which will be assigned to this interface.</description>
1133 <scalar name="bcast">
1134 <description>The broadcast address.</description>
1137 <description>The network device.</description>
1139 <scalar name="prefix">
1140 <description>The network prefix-length.</description>
1142 <scalar name="mask">
1143 <description>The network mask.</description>
1145 <scalar name="scope">
1146 <description>The scope of the network interface.</description>
1148 <scalar name="name">
1150 When this file exists, the interface will be named with the text in
1151 this file. Without such an entry, the IP will not be shown by
1152 <tool>ifconfig</tool> but by <command>ip addr ls</command> only. Such
1153 a labeled interface is known as an "alias" also (e.g. 'eth0:foo').
1156 <boolean name="nodev">
1158 When this file exists, the interface will be assumed to exist
1159 already. This can be used to assign primary interfaces which are
1160 created by the host or another vserver.
1163 <boolean name="novlandev">
1165 When this file exists, the steps which setup and destroy a VLAN
1166 interface will be skipped. This will override the global
1167 <optionref ref="global-vlandev">vlandev</optionref> and the per-guest
1168 <optionref ref="local-vlandev">vlandev</optionref>.
1171 <boolean name="vlandev" since="0.30.211">
1173 When this file exists, the steps which setup and destroy a VLAN
1174 interface will be executed.
1180 <collection name="ulimits">
1182 A directory with ulimits. Possible resources are cpu, data, fsize,
1183 locks, memlock, nofile, nproc, rss and/or stack. This configuration
1184 will be honored for kernel 2.4 only.
1186 <scalar name="resource" type="symbolic">
1188 A file which contains the hard- and soft-limit of the given resource
1189 in the first line. The special keyword 'inf' is recognized.
1192 <scalar name="resource.hard" type="symbolic">
1194 A file which contains the hard- of the given resource in the first
1195 line. The special keyword 'inf' is recognized.
1198 <scalar name="resource.soft" type="symbolic">
1200 A file which contains the soft- of the given resource in the first
1201 line. The special keyword 'inf' is recognized.
1206 <collection name="rlimits">
1208 A directory with resource limits. Possible resources are cpu, fsize,
1209 data, stack, core, rss, nproc, nofile, memlock, as and locks. This
1210 configuration will be honored for kernel 2.6 only.
1212 <scalar name="resource" type="symbolic">
1214 A file which contains the hard- and soft-limit of the given resource
1215 in the first line. The special keyword 'inf' is recognized.
1218 <scalar name="resource.hard" type="symbolic">
1220 A file which contains the hard- of the given resource in the first
1221 line. The special keyword 'inf' is recognized.
1224 <scalar name="resource.soft" type="symbolic">
1226 A file which contains the soft- of the given resource in the first
1227 line. The special keyword 'inf' is recognized.
1230 <scalar name="resource.min" type="symbolic">
1232 A file which contains the guaranted minimum of the given resource in
1233 the first line. The special keyword 'inf' is recognized.
1238 <collection name="uts">
1239 <scalar name="context">
1241 The context-name of the vserver. This file is listed for completeness
1242 only; the 'context' name is used and set internally by the util-vserver
1243 tools and can *not* be modified.
1246 <scalar name="sysname">
1247 <description>The sysname of the vserver</description>
1249 <scalar name="nodename">
1250 <description>The node-/hostname of the vserver</description>
1252 <scalar name="release">
1253 <description>The OS-release of the vserver</description>
1255 <scalar name="version">
1256 <description>The OS-version of the vserver</description>
1258 <scalar name="machine">
1259 <description>The machine-type of the vserver</description>
1261 <scalar name="domainname">
1262 <description>The NIS domainname of the vserver</description>
1266 <collection name="dlimits" since="0.30.210">
1267 <collection name="dlimit" type="symbolic">
1268 <scalar name="directory">
1269 <description>The directory to which the limit should be applied</description>
1271 <scalar name="inodes_total">
1272 <description>The amount of inodes this vserver should be limited to</description>
1274 <scalar name="space_total">
1275 <description>The amount of space this vserver should be limited to (measured in blocks of 1024 bytes)</description>
1277 <scalar name="reserved">
1278 <description>How much space (percentage-wise) should be reserved for the root user</description>
1283 <collection name="cpuset" since="0.30.211">
1284 <scalar name="name">
1285 <description>The name of the cpuset for this vserver</description>
1287 <scalar name="cpus">
1288 <description>The list of CPUs in this cpuset</description>
1290 <scalar name="mems">
1291 <description>The list of Memory Nodes in this cpuset</description>
1293 <scalar name="cpu_exclusive">
1294 <description>Is the CPU assignment exclusive?</description>
1296 <scalar name="mems_exclusive">
1297 <description>Is the memory node assignment exclusive?</description>
1299 <scalar name="nocreate">
1300 <description>When this file exists, the cpuset will be assumed to exist already</description>