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-nonamespace-cleanup" name="nonamespace-cleanup">
42 Disable namespace cleanup globally. It can be overridden for a single vserver
43 by setting the <optionref ref="namespace-cleanup">namespace-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.
68 Contains the pathname of the shell which will be used by the "vserver
69 ... enter" command. Can be overridden by the
70 <optionref ref="shell">per-guest shell</optionref>.
76 The default fstab file to put in newly built guests.
80 <boolean name="context.dynamic">
82 If this file exists, kernel-side dynamic contexts will be used by the "vserver
83 ... build" command. Otherwise a context will be generated, based on the
84 contents of <optionref>context.next</optionref>.
88 <scalar id="context.next" name="context.next">
90 The context id to use for the next guest created by "vserver ... build".
94 <collection name="apps">
95 <collection name="pkgmgmt">
97 <default>/vservers/.pkg</default>
99 <data name="apt.conf">
100 <description>The default apt.conf which is going to be used. It is overridden by
101 distribution specific configuration file.
106 <collection name="debootstrap">
107 <scalar name="mirror">
109 The Debian mirror to use with the <tool>debootstrap</tool> program
114 When the <tool>debootstrap</tool> package is not installed; fetch it
115 from this uri and install it at a temporary place.
120 <collection name="vdevmap">
121 <collection name="x" type="sybmolic">
122 <description>'x' is an arbitrary name, replace it with e.g. device names</description>
123 <boolean name="open">
124 <description>When this file exists, the device can be opened</description>
126 <boolean name="create">
127 <description>When this file exists, the device can be created (if the guest has <optionref ref="bcapabilities">CAP_MKNOD</optionref>)</description>
129 <boolean id="vdevmap-remap" name="remap">
131 When this file exists, <optionref ref="vdevmap-target">target</optionref> will
132 have to exist as well and opening the device will in fact open the target device
135 <scalar name="flags">
136 <description>This file will let you specify unimplemented flags manually</description>
138 <scalar name="device">
139 <description>Contains the name of a device node</description>
141 <scalar id="vdevmap-target" name="target">
142 <description>Contains the device node of the target node to open instead of the device when <optionref ref="vdevmap-remap">remap</optionref> is set</description>
147 <collection name="vshelper">
148 <link name="logfile">
150 The file where output will be logged to when <tool>vshelper</tool>
151 is invoked from the kernel. This should point somewhere e.g. into
152 <directory>/var/log</directory>.
156 <collection name="vshelper-methods">
157 <program name="handler" type="symbolic">
159 See <optionref ref="vshelper-action">vshelper/action</optionref>.
164 <boolean name="disabled">
166 When existing, the vshelper functionality will be disabled for all
171 <boolean name="debug">
173 When existing, the vshelper execution will be traced.
177 <boolean name="warning-disabled">
179 When existing, sanity checks for the vshelper functionality will be
186 <collection name="vprocunhide">
189 A list of files which will be made visible by vprocunhide. Wildcards are
190 allowed and anything ending in '/' will be processed recursively. When this file exists,
191 it overrides the defaults in SYSDEFAULTDIR/vprocunhide-files. The entries there must be
192 absolute filenames inclusive the leading '/proc'.
197 <collection name="init">
200 A symlink to the TTY device where input/output will be redirected from/to
201 at startup via initscript.
205 <hash id="global-environment" name="environment" since="0.30.211">
207 The environment to set when starting guests. Contains one VAR=VAL
213 <collection name="vunify">
214 <list name="exclude">
215 <description>Static list of excluded files.</description>
218 <collection name="hash" since="0.30.205">
220 A directory which will be used as the storage place for the
221 <tool>vhashify</tool> command.
223 <link name="id" type="symbolic">
225 Points to a directory within the filesystems which are used for the
226 vservers. There must be not more than one of such a directory per
231 <scalar name="method" since="0.30.299">
232 <default>SHA1</default>
233 <description>The used hash method.</description>
237 <boolean name="pkgmgmt-ignore" default="off" since="0.30.205">
239 When existing, information from packagemanagement will not be used to
240 create dynamic exclude-lists.
244 <boolean name="pgkmgmt-force" default="off" since="0.30.205">
246 When existing, information from packagemanagement will be used to
247 create dynamic exclude-lists. This option requires that (a known)
248 packagemanagement is configured for the vserver; else the requested
249 operation will fail. Most tools assume 'on' as the default value.
255 <collection name="vlogin">
256 <boolean id="vlogin-disable" name="disable" since="0.30.212">
258 When this file exists, vlogin isn't used on vserver <guest> enter.
263 <collection name="build">
264 <list name="options">
266 A list of default options to supply to vserver ... build, one option per line.
272 <collection name="interfaces" use="optional">
273 <boolean id="global-vlandev" name="vlandev" since="0.30.211">
275 When this file exists, the steps which setup and destroy a VLAN
276 interface will be executed.
281 <collection name="files">
282 <description>This directory contains some files which will be copied to the guests during build.</description>
284 <description>The default /etc/hosts file.</description>
286 <data name="nsswitch.conf">
287 <description>The default /etc/nsswitch.conf file.</description>
289 <data name="krb5.conf">
290 <description>The default /etc/krb5.conf file.</description>
292 <data name="krb.conf">
293 <description>The default /etc/krb.conf file.</description>
295 <data name="krb.realms">
296 <description>The default /etc/krb.realms file.</description>
298 <data name="ldap.conf">
299 <description>The default /etc/ldap.conf file.</description>
301 <data name="localtime">
302 <description>The default /etc/localtime file.</description>
304 <data name="resolv.conf">
305 <description>The default /etc/resolv.conf file.</description>
310 <collection name=".distributions" use="optional">
311 <collection name="dist" type="symbolic">
313 <description></description>
315 <collection name="yum">
317 The default, yum-related content of the <directory>/etc</directory>
320 <scalar name="yum.conf">
322 The master yum configuration file. It supports the @YUMETCDIR@,
323 @YUMCACHEDIR@ and @YUMLOGDIR@ placeholder which will be replaced at
324 <command>vserver ... build</command> time.
328 <collection name="yum.repos.d">
329 <description>A directory with yum repositories.</description>
331 <data name="apt.conf">
333 The default apt.conf which is going to be used. It overrides the
334 apt.conf from CONFDIR/.defaults/apps/pkgmgmt.
337 <program name="initpre">
339 Script which will be executed before packages will be installed.
342 <parameter name="confdir">
344 The configuration directory of the vserver which is going to be set up.
347 <parameter name="util-vserver-vars">
349 The pathname of the util-vserver-vars file.
354 <program name="initpost">
356 Script which will be executed after packages are installed.
359 <parameter name="confdir">
361 The configuration directory of the vserver which is going to be set up.
364 <parameter name="vserver">
366 The pathname of the util-vserver-vars file.
372 <collection name="pkgs">
374 Contains files with packagenames.
378 File which contains the name of packages. On top of file the special
379 keywords '--reinstall' and '--can-fail' are possible.
384 <collection name="pubkeys">
386 Directory with GPG pubkeys which are used to sign the packages of this
391 <collection name="apt">
393 Default content of the <directory>/etc/apt/</directory> directory.
397 <collection name="rpm">
399 Default content of the <directory>/etc/rpm</directory> directory.
405 Directory which overrides <directory>/usr/lib/rpm</directory>.
408 <link name="execdir">
410 Directory with all executables and libraries which are required for
417 <!-- Vserver configuration -->
418 <collection name="vserver-name" type="symbolic">
420 The configuration directory for the vserver vserver-name.
424 <default>../.defaults/cachebase/VSERVERNAME</default>
426 Path of the storage area for cached information about this vserver.
431 <default>../.defaults/vdirbase/VSERVERNAME</default>
433 Path of the vserver root directory.
439 Points to a file which will contain the XID of the running vserver. When
440 the vserver is stopped, this can be a dangling symlink.
444 <list id="bcapabilities" name="bcapabilities">
446 Contains the system capabilities. See
447 <ulink url="http://svn.linux-vserver.org/svn/util-vserver/trunk/lib/bcaps-v13.c">lib/bcaps-v13.c</ulink>
451 <list name="ccapabilities">
453 Contains the context capabilities. See <ulink
454 url="http://svn.linux-vserver.org/svn/util-vserver/trunk/lib/ccaps-v13.c">lib/ccaps-v13.c</ulink>
458 <list name="ncapabilities" since="0.30.212">
460 Contains the network capabilities. See <ulink
461 url="http://svn.linux-vserver.org/svn/util-vserver/trunk/lib/ncaps-net.c">lib/ncaps-net.c</ulink>
466 <boolean id="global-namespace" name="namespace">
468 Overrides the global <optionref ref="global-nonamespace">nonamespace</optionref> flag and enables
469 namespace usage for the current vserver.
473 <boolean name="nonamespace">
475 Disables namespace usage for the current vserver.
477 In this mode the <directory>/vservers</directory> directory must have
478 the 'barrier' attribute. Else, common chroot(2) exploits are possible.
482 <boolean id="namespace-cleanup" name="namespace-cleanup">
484 Overrides the global <optionref ref="global-nonamespace-cleanup">nonamespace-cleanup</optionref> flag and enables
485 namespace cleanup for the current vserver.
489 <list name="namespace-cleanup-skip">
491 List of paths to skip during namespace cleanup. This overrides the global
492 <optionref ref="global-namespace-cleanup-skip">namespace-cleanup-skip</optionref>
497 <hash name="schedule">
499 [deprecated; use <optionref ref="sched">sched</optionref> instead] Contains the
500 scheduler parameters, one per line.
502 The Hard CPU limit uses a mechanism called a Token Bucket. the
503 concept is simple: you have a bucket of a certain size which is
504 filled with a specified amount R of tokens each interval T until the
505 maximum is reached (excess tokens are spilled). At each timer tick,
506 a running process consumes one token from the bucket, unless the
507 bucket is empty. If the bucket is empty the process is put in the
508 hold queue. When the bucket has been refilled to at least M tokens,
509 all on hold processes are rescheduled.
511 See the <ulink url="http://linux-vserver.org/Scheduler+Parameters">Linux
512 VServer Wiki</ulink> for more information about this file.
515 <key id="fill_rate" name="fill-rate">
517 Amount of tokens append to the bucket each interval.
520 <key name="interval">
522 The intervall between refills of amount <optionref>fill_rate</optionref>. This
523 value is express in ticks.
528 Initial bucket contents.
531 <key name="tokens-min">
533 The minimum amount of tokens required to unhold processes
536 <key name="tokens-max">
541 <key name="priority-bias">
550 Contains the name of the vserver. When not given, the basename of the directory
551 will be assumed as this name.
556 The nice-level on which the vserver will be started.
559 <list name="capabilities">
561 Contains per line a capability. This file is used for the 2.4 kernel
562 only; for 2.6 use <optionref>bcapabilities</optionref>.
565 <scalar id="shell" name="shell">
567 Contains the pathname of the shell which will be used by the "vserver
571 <list name="personality">
573 Used to set the personality of the vserver. First line in the file
574 is the personality-type followed by flags (one item per line). See
575 <filename>/usr/include/linux/personality.h</filename> for possible
581 Contains per line a flag. See <ulink
582 url="http://svn.linux-vserver.org/svn/util-vserver/trunk/lib/cflags-v13.c">lib/cflags-v13.c</ulink>
587 <element name="fakeinit">
589 The new process will believe it is process number 1. Useful to run a
590 real /sbin/init in a vserver. Warning: this flag should not be used
591 unless you know what you are doing. Often, it is better to use the
595 <element name="lock">
597 The new process is trapped and can't use chcontext anymore.
600 <element name="sched">
602 The new process and its children will share a common
605 <element name="nproc">
607 Limit the number of process in the vserver according to
608 ulimit setting. Normally, ulimit is a per user thing.
609 With this flag, it becomes a per vserver thing.
612 <element name="private">
614 No one can join this security context once created.
617 <element name="ulimit">
619 Apply the current ulimit to the whole context
625 <list name="nflags" since="0.30.212">
627 Contains a network flag per line. See <ulink
628 url="http://svn.linux-vserver.org/svn/util-vserver/trunk/lib/nflags-net.c">lib/nflags-net.c</ulink>
632 <scalar name="context">
634 Contains the context which shall be used for the vserver.
637 <data id="fstab" name="fstab">
639 The fstab file for the vserver. Entries in this file will be mounted
640 within the network context of the host. Use the
641 <optionref>fstab.remote</optionref> file when you want that the
642 mounting happens in the network context of the vserver. In most cases
643 the 'fstab' file should be used.
646 <data id="fstab.remote" name="fstab.remote">
648 The fstab file for the vserver. Entries in this file will be mounted
649 within the network context of the host; this means that mount will be
650 called as <command>chbind <options> mount ...</command>. See
651 <optionref>fstab</optionref> also.
655 <collection name="apps">
656 <collection name="init">
659 The initial-mtab which will be used for the vserver.
663 <scalar name="style">
665 Contains the init-style.
668 <enumeration value="sysv"/>
669 <enumeration value="plain"/>
670 <enumeration value="minit"/>
674 <scalar name="runlevel">
675 <description>The start runlevel.</description>
678 <scalar name="runlevel.start">
679 <description>The start runlevel.</description>
682 <scalar name="runlevel.stop">
683 <description>The stop runlevel.</description>
686 <scalar name="killseq">
688 Contains the 'signal [wait signal]*' sequence which is used to stop
693 <list name="cmd.start">
695 The command which is used to start the vserver. Each option must be on
700 <list name="cmd.start-sync">
702 The command which is used to wait on the vserver after it has been
703 started. Each option must be on a separate line. This file will be
704 ignored when the <optionref>sync</optionref> flag does not exist and the
705 '--sync' option was not used.
709 <list name="cmd.stop">
711 The command which is used to stop the vserver. Each option must be on
716 <list name="cmd.stop-sync">
718 The command which is used to wait on the vserver after it has been
719 stopped. Each option must be on a separate line. This file will be
720 ignored when the <optionref>sync</optionref> flag does not exist and the
721 '--sync' option was not used.
725 <list name="cmd.prepare">
727 The command which is used to setup the init-system (e.g. to set the
728 runlevel in the utmp-file). Each option must be on a separate line.
732 <boolean id="sync" name="sync">
734 If this file is not present, all 'cmd.*-sync files will be ignored.
740 A symlink to the TTY device where input/output will be redirected
741 from/to at startup via initscript.
747 This file is used to mark group of vservers which shall be started/stopped
748 together by the initscript. Content is a simple string like 'default'.
752 <list name="depends">
754 This file is used to configure vservers which must be running before
755 the current vserver can be started. At shutdown, the current vserver
756 will be stopped before its dependencies. Content of this file are
757 vserver ids (one name per line).
761 <hash name="environment" since="0.30.211">
763 The environment to set when starting the guest. Contains one VAR=VAL
769 <collection name="vshelper">
770 <scalar name="sync-timeout">
771 <default>30</default>
773 The timeout in seconds which is used when synchronising vserver
774 startup/shutdown with the vshelper. When not set, 30 seconds will be
779 <scalar id="vshelper-action" name="action">
780 <default>restart</default>
782 The action which is going to be executed when a vshelper event
783 occurs. The default value is 'restart', but there can be defined own
784 methods by placing scripts into the
785 <optionref>vshelper-methods</optionref> directories. These scripts are
786 fed with the same arguments as the <tool>vshelper</tool> script.
790 <program name="event" type="symbolic">
792 When existing, these scripts will be executed *instead* of the default
793 handler defined in 'action'. Their name must match the event which caused
794 the execution of <tool>vshelper</tool>; e.g. 'restart' or 'poweroff'. See
795 the vs_reboot() function in the kernel for more details.
798 <parameter name="xid">
800 The xid of the context calling the vshelper
803 <parameter name="event">
811 <boolean name="disabled">
813 When existing, the vshelper functionality will be disabled for this
818 <boolean name="debug">
820 When existing, the vshelper execution will be traced for this vserver.
824 <boolean name="warning-disabled">
826 When existing, sanity checks for the vshelper functionality will be
833 <collection id="vshelper-methods" name="vshelper-methods">
834 <program name="handler" type="symbolic">
836 See <optionref ref="vshelper-action">vshelper/action</optionref>.
841 <collection name="vunify">
843 This directory contains configuration data required for vserver
847 <list name="exclude">
849 <p>Static list of files which are excluded for unification. This list
850 supports an rsync-like syntax: when a file is prefixed by '+', it is a
851 candidate for unification; when there is no prefix or a '-' or a '~' it
852 will be excluded. Shell-wildcards are allowed for the filenames.</p>
853 <p>When used with <tool>vcopy</tool>, the '~' prefix prevents copying
854 of the file entirely (e.g. for keyfiles). With this tool, the file will
855 be copied instead of hardlinked when the '-' prefix is used.</p>
859 <link name="refserver.X" type="symbolic">
861 These are symlinks to the configuration directory
862 (e.g. CONFDIR/vservers/<id>) of a refserver. There may be
863 multiple such symlinks but they must be prefixed by 'refserver.' and
864 will be processed in alphanumerical order.
868 <collection name="hash" since="0.30.205">
870 A directory which will be used as the storage place for the
871 <tool>vhashify</tool> command.
873 <link name="id" type="symbolic">
875 Points to a directory within the filesystems which are used for the
876 vservers. There must be not more than one of such a directory per
881 <scalar name="method" since="0.30.299">
882 <default>SHA1</default>
883 <description>The used hash method.</description>
887 <boolean name="pkgmgmt-ignore" default="off" since="0.30.205">
889 When existing, information from packagemanagement will not be used to
890 create dynamic exclude-lists.
894 <boolean name="pgkmgmt-force" default="off" since="0.30.205">
896 When existing, information from packagemanagement will be used to
897 create dynamic exclude-lists. This option requires that (a known)
898 packagemanagement is configured for the vserver; else the requested
899 operation will fail. Most tools assume 'on' as the default value.
906 <collection name="scripts">
908 A directory for scripts. By default, when one of these scripts will be
909 executed, the execution of defaultscripts (within .../.defaults/scripts)
910 will be skipped. To execute them nevertheless, the $DONT_SKIP_DEFAULTS
911 environment variable must be set by one of the in-shellcontext scripts
912 (the non-executable ones).
915 <program name="initialize" since="0.30.211">
917 The scriptlet which will be executed before the root filesystem is mounted and
918 the configuration has been loaded. Before executing the script, the
919 configuration directory will be made the working directory.
922 <parameter name="action">
924 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
927 <parameter name="vserver-name">
929 The name of the current vserver.
934 <collection name="initialize.d" since="0.30.211">
936 Repository of initialize like scripts. Before executing the script,
937 the configuration directory will be made the working directory.
939 <program name="script" type="symbolic">
940 <description>See initialize.</description>
942 <parameter name="action">
944 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
947 <parameter name="vserver-name">
949 The name of the current vserver.
956 <program name="prepre-start">
958 The scriptlet which will be executed before the network-interfaces are
959 enabled and the directories are mounted. Before executing the script,
960 the configuration directory will be made the working directory.
963 <parameter name="action">
965 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
968 <parameter name="vserver-name">
970 The name of the current vserver.
975 <collection name="prepre-start.d">
977 Repository of prepre-start like scripts. Before executing the script,
978 the configuration directory will be made the working directory.
980 <program name="script" type="symbolic">
981 <description>See prepre-start.</description>
983 <parameter name="action">
985 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
988 <parameter name="vserver-name">
990 The name of the current vserver.
997 <program name="pre-start">
999 The scriptlet which will be executed after network-interfaces were
1000 enabled and the directories mounted, but before the vserver itself has
1001 been started. Before executing the script, the vserver root directory
1002 will be made the working directory.
1005 <parameter name="action">
1007 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
1010 <parameter name="vserver-name">
1012 The name of the current vserver.
1017 <collection name="pre-start.d">
1019 Repository of pre-start like scripts. Before executing these scripts,
1020 the vserver root directory will be made the working directory.
1022 <program name="script" type="symbolic">
1023 <description>See pre-start.</description>
1025 <parameter name="action">
1027 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
1030 <parameter name="vserver-name">
1032 The name of the current vserver.
1040 <program name="post-start">
1042 The scriptlet which will be executed after the vserver has been
1043 started. Before executing the script, the vserver root directory
1044 will be made the working directory.
1047 <parameter name="action">
1049 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
1052 <parameter name="vserver-name">
1054 The name of the current vserver.
1059 <collection name="post-start.d">
1061 Repository of post-start like scripts. Before executing these scripts,
1062 the vserver root directory will be made the working directory.
1064 <program name="script" type="symbolic">
1065 <description>See post-start.</description>
1067 <parameter name="action">
1069 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
1072 <parameter name="vserver-name">
1074 The name of the current vserver.
1082 <program name="pre-stop">
1084 The scriptlet which will be executed before the vserver will be
1085 stopped. Before executing the script, the vserver root directory
1086 will be made the working directory.
1089 <parameter name="action">
1091 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
1094 <parameter name="vserver-name">
1096 The name of the current vserver.
1101 <collection name="pre-stop.d">
1103 Repository of pre-stop like scripts. Before executing the script, the
1104 vserver root directory will be made the working directory.
1106 <program name="script" type="symbolic">
1107 <description>See pre-stop.</description>
1109 <parameter name="action">
1111 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
1114 <parameter name="vserver-name">
1116 The name of the current vserver.
1123 <program name="post-stop">
1125 The scriptlet which will be executed after the vserver has been
1126 stopped, but before the directories will be umounted and the the
1127 interfaces disabled. Before executing the script, the vserver root
1128 directory will be made the working directory.
1131 <parameter name="action">
1133 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
1136 <parameter name="vserver-name">
1138 The name of the current vserver.
1143 <collection name="post-stop.d">
1145 Repository of post-stop like scripts. Before executing the script, the
1146 vserver root directory will be made the working directory.
1148 <program name="script" type="symbolic">
1149 <description>See post-stop.</description>
1151 <parameter name="action">
1153 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
1156 <parameter name="vserver-name">
1158 The name of the current vserver.
1165 <program name="postpost-stop">
1167 The scriptlet which will be executed after the vserver has been stopped
1168 completely. Before executing the script, the vserver root directory
1169 will be made the working directory.
1172 <parameter name="action">
1174 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
1177 <parameter name="vserver-name">
1179 The name of the current vserver.
1184 <collection name="postpost-stop.d">
1186 Repository of postpost-stop like scripts. Before executing the script,
1187 the vserver root directory will be made the working directory.
1189 <program name="script" type="symbolic">
1190 <description>See postpost-stop.</description>
1192 <parameter name="action">
1194 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
1197 <parameter name="vserver-name">
1199 The name of the current vserver.
1207 <collection name="interfaces">
1208 <scalar name="bcast">
1209 <description>The default broadcast address.</description>
1212 <description>The default network device.</description>
1214 <scalar name="prefix">
1215 <description>The default network prefix-length.</description>
1217 <scalar name="mask">
1218 <description>The default network mask.</description>
1220 <scalar name="scope">
1221 <description>The default scope of the network interfaces.</description>
1223 <boolean id="local-vlandev" name="vlandev" since="0.30.211">
1225 When this file exists, the steps which setup and destroy a VLAN
1226 interface will be executed for all interfaces of this vserver.
1229 <boolean id="local-novlandev" name="novlandev">
1231 When this file exists, the steps which setup and destroy a VLAN
1232 interface will be skipped. This overrides the global
1233 <optionref ref="global-vlandev">vlandev</optionref> setting for
1238 <collection name="iface" type="symbolic">
1240 'iface' is an arbitrary name for the interface; the value itself is
1241 not important but may be interesting regarding interface-creation and
1242 usage with <tool>chbind</tool>. Both happens in alphabetical order and
1243 numbers like '00' are good names for these directories.
1246 <boolean name="disabled">
1247 <description>When this file exists, this interface will be ignored.</description>
1251 <description>The ip which will be assigned to this interface.</description>
1253 <scalar name="bcast">
1254 <description>The broadcast address.</description>
1257 <description>The network device.</description>
1259 <scalar name="prefix">
1260 <description>The network prefix-length.</description>
1262 <scalar name="mask">
1263 <description>The network mask.</description>
1265 <scalar name="scope">
1266 <description>The scope of the network interface.</description>
1268 <scalar name="name">
1270 When this file exists, the interface will be named with the text in
1271 this file. Without such an entry, the IP will not be shown by
1272 <tool>ifconfig</tool> but by <command>ip addr ls</command> only. Such
1273 a labeled interface is known as an "alias" also (e.g. 'eth0:foo').
1276 <boolean name="nodev">
1278 When this file exists, the interface will be assumed to exist
1279 already. This can be used to assign primary interfaces which are
1280 created by the host or another vserver.
1283 <boolean name="novlandev">
1285 When this file exists, the steps which setup and destroy a VLAN
1286 interface will be skipped. This will override the global
1287 <optionref ref="global-vlandev">vlandev</optionref> and the per-guest
1288 <optionref ref="local-vlandev">vlandev</optionref>.
1291 <boolean name="vlandev" since="0.30.211">
1293 When this file exists, the steps which setup and destroy a VLAN
1294 interface will be executed.
1300 <collection name="ulimits">
1302 A directory with ulimits. Possible resources are cpu, data, fsize,
1303 locks, memlock, nofile, nproc, rss and/or stack.
1305 <scalar name="resource" type="symbolic">
1307 A file which contains the hard- and soft-limit of the given resource
1308 in the first line. The special keyword 'inf' is recognized.
1311 <scalar name="resource.hard" type="symbolic">
1313 A file which contains the hard-limit of the given resource in the first
1314 line. The special keyword 'inf' is recognized.
1317 <scalar name="resource.soft" type="symbolic">
1319 A file which contains the soft-limit of the given resource in the first
1320 line. The special keyword 'inf' is recognized.
1325 <collection name="rlimits">
1327 A directory with resource limits. Possible resources are cpu, fsize,
1328 data, stack, core, rss, nproc, nofile, memlock, as, locks, msgqueue,
1329 nsock, openfd, anon, shmem, semary, nsems and dentry. This
1330 configuration will be honored for kernel 2.6 only.
1332 <scalar name="resource" type="symbolic">
1334 A file which contains the hard- and soft-limit of the given resource
1335 in the first line. The special keyword 'inf' is recognized.
1338 <scalar name="resource.hard" type="symbolic">
1340 A file which contains the hard-limit of the given resource in the first
1341 line. The special keyword 'inf' is recognized.
1344 <scalar name="resource.soft" type="symbolic">
1346 A file which contains the soft-limit of the given resource in the first
1347 line. The special keyword 'inf' is recognized.
1350 <scalar name="resource.min" type="symbolic">
1352 A file which contains the guaranteed minimum of the given resource in
1353 the first line. The special keyword 'inf' is recognized.
1358 <collection name="uts">
1359 <scalar name="context">
1361 The context-name of the vserver. This file is listed for completeness
1362 only; the 'context' name is used and set internally by the util-vserver
1363 tools and can *not* be modified.
1366 <scalar name="sysname">
1367 <description>The sysname of the vserver</description>
1369 <scalar name="nodename">
1370 <description>The node-/hostname of the vserver</description>
1372 <scalar name="release">
1373 <description>The OS-release of the vserver</description>
1375 <scalar name="version">
1376 <description>The OS-version of the vserver</description>
1378 <scalar name="machine">
1379 <description>The machine-type of the vserver</description>
1381 <scalar name="domainname">
1382 <description>The NIS domainname of the vserver</description>
1386 <collection name="dlimits" since="0.30.210">
1387 <collection name="dlimit" type="symbolic">
1388 <scalar name="directory">
1389 <description>The directory to which the limit should be applied</description>
1391 <scalar name="inodes_total">
1392 <description>The amount of inodes this vserver should be limited to</description>
1394 <scalar name="space_total">
1395 <description>The amount of space this vserver should be limited to (measured in blocks of 1024 bytes)</description>
1397 <scalar name="reserved">
1398 <description>How much space (percentage-wise) should be reserved for the root user</description>
1403 <collection name="sysctl" since="0.30.213">
1404 <collection name="x" type="symbolic">
1405 <description>'x' is an arbitrary name, replace it with e.g. integers</description>
1406 <scalar name="setting">
1407 <description>The sysctl setting</description>
1409 <scalar name="value">
1410 <description>The value</description>
1415 <collection name="cpuset" since="0.30.211">
1416 <scalar name="name">
1417 <description>The name of the cpuset for this vserver</description>
1419 <scalar name="cpus">
1420 <description>The list of CPUs in this cpuset</description>
1422 <scalar name="mems">
1423 <description>The list of Memory Nodes in this cpuset</description>
1425 <scalar name="cpu_exclusive">
1426 <description>Is the CPU assignment exclusive?</description>
1428 <scalar name="mems_exclusive">
1429 <description>Is the memory node assignment exclusive?</description>
1431 <scalar name="nocreate">
1432 <description>When this file exists, the cpuset will be assumed to exist already</description>
1436 <collection id="sched" name="sched" since="0.30.212">
1437 <scalar id="global-tokens" name="tokens">
1438 <description>The initial amount of tokens to put in the bucket</description>
1440 <scalar id="global-tokens-min" name="tokens-min">
1441 <description>The minimum amount of tokens required to unhold the context</description>
1443 <scalar id="global-tokens-max" name="tokens-max">
1444 <description>The bucket's size</description>
1446 <scalar id="global-fill-rate" name="fill-rate">
1447 <description>Amount of tokens to add each <optionref ref="global-interval">interval</optionref></description>
1449 <scalar id="global-interval" name="interval">
1450 <description>The interval between refills of the bucket</description>
1452 <scalar id="global-priority-bias" name="priority-bias">
1453 <description>Bias added to priorities calculated within the guest (result is clamped to -20/+19)</description>
1455 <scalar id="global-fill-rate2" name="fill-rate2">
1456 <description>Amount of tokens to add each <optionref ref="global-interval2">interval2</optionref> when advancing idle time</description>
1458 <scalar id="global-interval2" name="interval2">
1459 <description>The interval between refills of the bucket when advancing idle time</description>
1461 <boolean id="global-idle-time" name="idle-time">
1462 <description>When this file exists, advancing idle time is activated</description>
1464 <collection name="cpu-id" type="symbolic">
1465 <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>
1466 <scalar name="tokens">
1467 <description>The initial amount of tokens to put in the bucket</description>
1469 <scalar name="tokens-min">
1470 <description>The minimum amount of tokens required to unhold the context</description>
1472 <scalar name="tokens-max">
1473 <description>The bucket's size</description>
1475 <scalar name="fill-rate">
1476 <description>Amount of tokens to add each <optionref ref="local-interval">interval</optionref></description>
1478 <scalar id="local-interval" name="interval">
1479 <description>The interval between refills of the bucket</description>
1481 <scalar name="priority-bias">
1482 <description>Bias added to priorities calculated within the guest (result is clamped to -20/+19)</description>
1484 <scalar name="fill-rate2">
1485 <description>Amount of tokens to add each <optionref ref="local-interval2">interval2</optionref> when advancing idle time</description>
1487 <scalar id="local-interval2" name="interval2">
1488 <description>The interval between refills of the bucket when advancing idle time</description>
1490 <boolean name="idle-time">
1491 <description>When this file exists, advancing idle time is activated</description>
1493 <scalar id="cpu-id" name="cpu-id">
1494 <description>The CPU to apply these settings to</description>
1496 <scalar name="bucket-id">
1497 <description>The bucket to apply these settings to</description>