use $(LIBENSCVECTOR) instead of libensc_vector.a
[util-vserver.git] / util-vserver / doc / configuration.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE database SYSTEM "configuration.dtd" []>
3 <!-- $Id$ -->
4
5 <database xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
6           xsi:noNamespaceSchemaLocation="file:configuration.xsd">
7
8   <!-- Global configuration -->
9   <collection name=".defaults" use="optional">
10     <collection name="init" type="fixed">
11       <data name="mtab">
12         <description>Default mtab file</description>
13       </data>
14     </collection>
15
16     <link name="vdirbase">
17       <default>/vservers</default>
18       <description>A link to the default vserver rootdirectory.</description>
19     </link>
20
21
22     <boolean name="nonamespace">
23       <description>
24 Disable namespace usage globally. It can be overridden for a single
25 vserver by setting the 'namespace' flag there.
26
27 In this mode the /vservers directory must have the 'barrier'
28 attribute. Else, common chroot(2) exploits are possible.
29       </description>
30     </boolean>
31
32     <link name="run.rev">
33       <description>
34 Path of the vserver run reverse directory. This directory contains
35 symlinks named with XID numbers which point back to the configuration
36 directory of vservers. Under kernel 2.4 this is required for the XID
37 to VSERVER mapping; Under kernel 2.6 it is unused.
38
39 NOTE: this link exists in 0.30.202+ only; in previous versions it was
40 a vserver specific setting.
41       </description>
42     </link>
43     
44     <collection name="apps">
45       <collection name="pkgmgmt">
46         <link name="base">
47           <default>/vservers/.pkg</default>
48         </link> 
49         <data name="apt.conf">
50           <description>The default apt.conf which is going to be used. It is overridden by
51 distribution specific configuration file.
52           </description>
53         </data>
54       </collection>
55       
56       <collection name="debootstrap">
57         <scalar name="mirror">
58           <description>
59 The Debian mirror to use with the 'debootstrap' program
60           </description>
61         </scalar>
62         <scalar name="uri">
63           <description>
64 When the 'debootstrap' package is not installed; fetch it from this
65 uri and install it at a temporary place.
66           </description>
67         </scalar>
68       </collection>
69
70       <collection name="vshelper">
71         <link name="logfile">
72           <description>
73 The file where output will be logged to when 'vshelper' is invoked
74 from the kernel. This should point somewhere e.g. into /var/log.
75           </description>
76         </link>
77
78         <collection name="vshelper-methods">
79           <program name="handler" type="symbolic">
80             <description>
81 See vshelper/action.
82             </description>
83           </program>
84         </collection>
85
86         <boolean name="disabled">
87           <description>
88 When existing, the vshelper functionality will be disabled for all
89 vservers.
90           </description>
91         </boolean>
92
93         <boolean name="debug">
94           <description>
95 When existing, the vshelper execution will be traced.
96           </description>
97         </boolean>
98         
99         <boolean name="warning-disabled">
100           <description>
101 When existing, sanity checks for the vshelper functionality will be
102 skipped.
103           </description>
104         </boolean>
105
106       </collection>
107       
108       <collection name="vprocunhide">
109         <list name="files">
110           <description>
111 A list of files which will be made visibly by vprocunhide. Wildcards are
112 allowed and anything ending in '/' will be processed recursively. When this file exists,
113 it overrides the defaults in SYSDEFAULTDIR/vprocunhide-files. The entries there must be
114 absolute filenames inclusive the leading '/proc'.
115           </description>
116         </list>
117       </collection>
118       
119       <collection name="init">
120         <link name="tty">
121           <description>
122 A symlink to the TTY device where input/output will be redirected from/to
123 at startup via initscript.
124           </description>
125         </link>
126       </collection>
127       
128       <collection name="vunify">
129         <list name="exclude">
130           <description>Static list of excluded files.</description>
131         </list>
132
133         <collection name="hash" since="0.30.205">
134           <description>
135 A directory which will be used as the storage place for the 'vhashify'
136 command.
137           </description>
138           <link name="id" type="symbolic">
139             <description>
140 Points to a directory within the filesystems which are used for the
141 vservers. There must be not more than one of such a directory per
142 filesystem.
143             </description>
144           </link>
145
146           <scalar name="method" since="0.30.299">
147             <default>SHA1</default>
148             <description>The used hash method.</description>
149           </scalar>
150         </collection>
151
152         <boolean name="pkgmgmt-ignore" default="off" since="0.30.205">
153           <description>
154 When existing, information from packagemanagement will not be used to
155 create dynamic exclude-lists.
156           </description>
157         </boolean>
158
159         <boolean name="pgkmgmt-force" default="off" since="0.30.205">
160           <description>
161 When existing, information from packagemanagement will be used to
162 create dynamic exclude-lists. This option requires that (a known)
163 packagemanagement is configured for the vserver; else the requested
164 operation will fail. Most tools assume 'on' as the default value.
165           </description>
166         </boolean>
167
168       </collection>
169     </collection>
170   </collection>
171     
172   <collection name=".distributions" use="optional">
173     <collection name="dist" type="symbolic">
174       <scalar name="dev">
175         <description></description>
176       </scalar>
177       <collection name="yum">
178         <description>
179 The default, yum-related content of the /etc directory.
180         </description>
181         <scalar name="yum.conf">
182           <description>
183 The master yum configuration file. It supports the @YUMETCDIR@,
184 @YUMCACHEDIR@ and @YUMLOGDIR@ placeholder which will be replaced at
185 'vserver ... build' time.
186           </description>
187         </scalar>
188       </collection>
189       <collection name="yum.repos.d">
190         <description>A directory with yum repositories.</description>
191       </collection>
192       <data name="apt.conf">
193         <description>
194 The default apt.conf which is going to be used. It overrides the
195 apt.conf from CONFDIR/.defaults/apps/pkgmgmt.
196         </description>
197       </data>
198       <program name="initpre">
199         <description>
200 Script which will be executed before packages will be installed.
201           </description>
202         <parameterList>
203           <parameter name="confdir">
204             <description>
205 The configuration directory of the vserver which is going to be set up.
206             </description>
207           </parameter>
208           <parameter name="vserver">
209             <description>
210 The pathname of the vserver binary.
211             </description>
212           </parameter>
213         </parameterList>
214       </program>
215       <program name="initpost">
216         <description>
217 Script which will be executed after packages are installed.
218           </description>
219         <parameterList>
220           <parameter name="confdir">
221             <description>
222 The configuration directory of the vserver which is going to be set up.
223             </description>
224           </parameter>
225           <parameter name="vserver">
226             <description>
227 The pathname of the vserver binary.
228             </description>
229           </parameter>
230         </parameterList>
231       </program>
232       
233       <collection name="pkgs">
234         <description>
235 Contains files with packages.
236         </description>
237         <list name="list">
238           <description>
239 File which contains the name of packages. On top of file the special
240 keywords '--reinstall' and '--can-fail' are possible.
241           </description>
242         </list>
243       </collection>
244       
245       <collection name="pubkeys">
246         <description>
247 Directory with GPG pubkeys which are used to sign the packages of this
248 distribution.
249         </description>
250       </collection>
251       
252       <collection name="apt">
253         <description>
254 Default content of the /etc/apt/ directory.
255         </description>
256       </collection>
257       
258       <collection name="rpm">
259         <description>
260 Default content of the /etc/rpm directory.
261         </description>
262       </collection>
263       
264       <link name="rpmlib">
265         <description>
266 Directory which overrides /usr/lib/rpm.
267         </description>
268       </link>
269       <link name="execdir">
270         <description>
271 Directory with all executables and libraries which are required for
272 this distribution.
273         </description>
274       </link>
275     </collection>
276   </collection>
277   
278   <!-- Vserver configuration -->
279   <collection name="vserver-name" type="symbolic">
280     <description>
281 The configuration directory for the vserver vserver-name.
282     </description>
283     
284     <link name="vdir">
285       <description>
286 Path of the vserver root directory
287       </description>
288     </link>
289
290     <link name="run">
291       <description>
292 Points to a file which will contain the XID of the running vserver. When
293 the vserver is stopped, this can be a dangling symlink.
294       </description>
295     </link>
296
297     <list name="bcapabilities">
298       <description>
299 [experimental; name is subject of possible change] Contains the system capabilities. See
300 <ulink url="http://savannah.nongnu.org/cgi-bin/viewcvs/util-vserver/util-vserver/lib/bcaps-v13.c?rev=HEAD">lib/bcaps-v13.c</ulink>
301 for possible values.
302       </description>
303     </list>
304     <list name="ccapabilities">
305       <description>
306 [experimental; name is subject of possible change] Contains the
307 context capabilities. See <ulink
308 url="http://savannah.nongnu.org/cgi-bin/viewcvs/util-vserver/util-vserver/lib/ccaps-v13.c?rev=HEAD">lib/ccaps-v13.c</ulink>
309 for possible values.
310       </description>
311     </list>
312
313     <boolean name="namespace">
314       <description>
315 Overrides the global 'nonamespace' flag and enables namespace usage
316 for the current vserver.
317       </description>
318     </boolean>
319
320     <boolean name="nonamespace">
321       <description>
322 Disables namespace usage for the current vserver.
323
324 In this mode the /vservers directory must have the 'barrier'
325 attribute. Else, common chroot(2) exploits are possible.
326       </description>
327     </boolean>
328
329     <hash name="schedule">
330       <description>
331 [experimental; name is subject of possible change] Contains the
332 scheduler parameters, one per line.
333
334 The Hard CPU limit uses a mechanism called a Token Bucket.  the
335 concept is simple: you have a bucket of a certain size which is
336 filled with a specified amount R of tokens each interval T until the
337 maximum is reached (excess tokens are spilled). At each timer tick,
338 a running process consumes one token from the bucket, unless the
339 bucket is empty. If the bucket is empty the process is put in the
340 hold queue. When the bucket has been refilled to at least M tokens,
341 all on hold processes are rescheduled.
342       </description>
343       <keys>
344         <key name="fill-rate">
345           <description>
346 Amount of tokens append to the bucket each interval.
347             </description>
348         </key>
349         <key name="interval">
350           <description>
351 The intervall between refills of amount 'fill_rate'. This value is
352 express in ticks.
353           </description>
354         </key>
355         <key name="tokens">
356           <description>
357 Initial bucket contents.
358           </description>
359         </key>
360         <key name="tokens-min">
361           <description>
362 The minimum amount of tokens required to unhold processes
363           </description>
364         </key>
365         <key name="tokens-max">
366           <description>
367 The bucket size.
368           </description>
369         </key>
370         <key name="priority-bias">
371           <description>
372 ???
373           </description>
374         </key>
375       </keys>
376     </hash>
377     <scalar name="name">
378       <description>
379 Contains the name of the vserver. When not given, the basename of the directory
380 will be assumed as this name.
381       </description>
382     </scalar>
383     <scalar name="nice">
384       <description>
385 The nice-level on which the vserver will be started.
386       </description>
387     </scalar>
388     <list name="capabilities">
389       <description>
390 Contains per line a capability. This file is used for the 2.4 kernel
391 only; for 2.6 use 'bcapabilities'.
392       </description>
393     </list>
394     <scalar name="shell">
395       <description>
396 Contains the pathname of the shell which will be used by the "vserver
397 ... enter" command.
398       </description>
399     </scalar>
400     <list name="flags">
401       <description>
402 Contains per line a flag. See <ulink
403 url="http://savannah.nongnu.org/cgi-bin/viewcvs/util-vserver/util-vserver/lib/cflags-v13.c?rev=HEAD">lib/cflags-v13.c</ulink>
404 for possible values.
405       </description>
406       <elements>
407         <element name="fakeinit">
408           <description>
409 The new process will believe it is process number 1. Useful to run a
410 real /sbin/init in a vserver. Warning: this flag should not be used
411 unless you know what you are doing. Often, it is better to use the
412 'plain' initstyle.
413           </description>
414         </element>
415         <element name="lock">
416           <description>
417 The new process is trapped and can't use chcontext anymore.
418           </description>
419         </element>
420         <element name="sched">
421           <description>
422 The new process and its children will share a common
423           </description>
424         </element>
425         <element name="nproc">
426           <description>
427 Limit the number of process in the vserver according to
428 ulimit setting. Normally, ulimit is a per user thing.
429 With this flag, it becomes a per vserver thing.  
430           </description>
431         </element>
432         <element name="private">
433           <description>
434 No one can join this security context once created.
435           </description>
436         </element>
437         <element name="ulimit">
438           <description>
439 Apply the current ulimit to the whole context
440           </description>
441         </element>
442       </elements>
443     </list>
444     <scalar name="context">
445       <description>
446 Contains the context which shall be used for the vserver.
447         </description>
448     </scalar>
449     <data name="fstab">
450       <description>
451 The fstab file for the vserver. Entries in this file will be mounted
452 within the network context of the vserver; this means that mount will
453 be called as 'chbind &lt;options&gt; mount ...'. Use the 'fstab.local'
454 file when you do not want this behavior, but in most cases the 'fstab'
455 file should be used.
456       </description>
457     </data>
458     <data name="fstab.local">
459       <description>
460 The fstab file for the vserver. In opposite to the normal 'fstab'
461 file, the mounting happens in the local network context. Currently
462 there is no way to mix entries of both files; 'fstab' will be always
463 processed before 'fstab.local'.
464       </description>
465     </data>
466     
467     <collection name="apps">
468       <collection name="init">
469         <data name="mtab">
470           <description>
471 The initial-mtab which will be used for the vserver.
472           </description>
473         </data>
474         
475         <scalar name="style">
476           <description>
477 Contains the init-style.
478           </description>
479           <restriction>
480             <enumeration value="sysv"/>
481             <enumeration value="plain"/>
482             <enumeration value="minit"/>
483             <enumeration value="gento"/>
484           </restriction>
485         </scalar>
486         
487         <scalar name="runlevel">
488           <description>The start runlevel.</description>
489         </scalar>
490         
491         <scalar name="runlevel.start">
492           <description>The start runlevel.</description>
493         </scalar>
494         
495         <scalar name="runlevel.stop">
496           <description>The stop runlevel.</description>
497         </scalar>
498         
499         <scalar name="killseq">
500           <description>
501 Contains the 'signal [wait signal]*' sequence which is used to stop
502 the vserver.
503           </description>
504         </scalar>
505         
506         <list name="cmd.start">
507           <description>
508 The command which is used to start the vserver. Each option must be on
509 a separate line.
510           </description>
511         </list>
512         
513         <list name="cmd.start-sync">
514           <description>
515 The command which is used to wait on the vserver after it has been
516 started. Each option must be on a separate line. This file will be
517 ignored when the 'sync' does not exist and the '--sync' option was not
518 used.
519           </description>
520         </list>
521         
522         <list name="cmd.stop">
523           <description>
524 The command which is used to stop the vserver. Each option must be on
525 a separate line.
526           </description>
527         </list>
528         
529         <list name="cmd.stop-sync">
530           <description>
531 The command which is used to wait on the vserver after it has been
532 stopped. Each option must be on a separate line. This file will be
533 ignored when the 'sync' does not exist and the '--sync' option was not
534 used.
535           </description>
536         </list>
537         
538         <list name="cmd.prepare">
539           <description>
540 The command which is used to setup the init-system (e.g. to set the
541 runlevel in the utmp-file). Each option must be on a separate line.
542           </description>
543         </list>
544         
545         <boolean name="sync">
546           <description>
547 If this file is not present, all 'cmd.*-sync files will be ignored.
548             </description>
549         </boolean>
550         
551         <link name="tty">
552           <description>
553 A symlink to the TTY device where input/output will be redirected
554 from/to at startup via initscript.
555           </description>
556         </link>
557         
558         <scalar name="mark">
559           <description>
560 This file is used to mark group of vservers which shall be started/stopped
561 together by the initscript. Content is a simple string like 'default'.
562           </description>
563         </scalar>
564         
565         <list name="depends">
566           <description>
567 This file is used to configure vservers which must be running before
568 the current vserver can be started. At shutdown, the current vserver
569 will be stopped before its dependencies. Content of this file are
570 vserver ids (one name per line).
571           </description>
572         </list>
573       </collection>
574       
575       <collection name="vshelper">
576         <scalar name="sync-timeout">
577           <default>30</default>
578           <description>
579 The timeout in seconds which is used when synchronising vserver
580 startup/shutdown with the vshelper. When no set, 30 seconds will be
581 assumed.
582           </description>
583         </scalar>
584         
585         <scalar name="action">
586           <default>restart</default>
587           <description>
588 The action which is going to be executed when a vshelper event occurs. The
589 default value is 'restart', but there can be defined own methods by placing
590 scripts into the 'vshelper-methods' directories. These scripts are fed with
591 the same arguments as the 'vshelper' script.
592           </description>
593         </scalar>
594         
595         <program name="event" type="symbolic">
596           <description>
597 When existing. these scripts will be executed *instead* of the default
598 handler defined in 'action'. Their name must match the event which
599 caused the execution of 'vshelper'; e.g. 'restart' or 'poweroff'. See
600 the vs_reboot() function in the kernel for more details.
601           </description>
602           <parameterList>
603             <parameter name="xid">
604               <description>
605 The xid of the context calling the vshelper
606               </description>
607             </parameter>
608             <parameter name="event">
609               <description>
610 The reboot-event.
611               </description>
612             </parameter>
613           </parameterList>
614         </program>
615         
616         <boolean name="disabled">
617           <description>
618 When existing, the vshelper functionality will be disabled for this
619 vserver.
620           </description>
621         </boolean>
622
623         <boolean name="debug">
624           <description>
625 When existing, the vshelper execution will be traced for this vserver.
626           </description>
627         </boolean>
628         
629         <boolean name="warning-disabled">
630           <description>
631 When existing, sanity checks for the vshelper functionality will be
632 skipped.
633           </description>
634         </boolean>
635         
636       </collection>
637       
638       <collection name="vshelper-methods">
639         <program name="handler" type="symbolic">
640           <description>
641 See vshelper/action.
642           </description>
643         </program>
644       </collection>
645       
646       <collection name="vunify">
647         <description>
648 This directory contains configuration data required for vserver
649 unification.
650         </description>
651         
652         <list name="exclude">
653           <description>
654 Static list of excluded files. This list supports an rsync syntax:
655 when a file is prefixed by '+', it is a candidate for unification;
656 when there is no prefix or a '-' it will be excluded. Shell-wildcards
657 are allowed for the filenames.
658           </description>
659         </list>
660         
661         <link name="refserver.X" type="symbolic">
662           <description>
663 These are symlinks to the configuration directory
664 (e.g. CONFDIR/vservers/&lt;id&gt;) of a refserver. There may be
665 multiple such symlinks but they must be prefixed by 'refserver.' and
666 will be processed in alphanumerical order.
667           </description>
668         </link>
669
670         <collection name="hash" since="0.30.205">
671           <description>
672 A directory which will be used as the storage place for the 'vhashify'
673 command.
674           </description>
675           <link name="id" type="symbolic">
676             <description>
677 Points to a directory within the filesystems which are used for the
678 vservers. There must be not more than one of such a directory per
679 filesystem.
680             </description>
681           </link>
682
683           <scalar name="method"  since="0.30.299">
684             <default>SHA1</default>
685             <description>The used hash method.</description>
686           </scalar>
687         </collection>
688
689         <boolean name="pkgmgmt-ignore" default="off" since="0.30.205">
690           <description>
691 When existing, information from packagemanagement will not be used to
692 create dynamic exclude-lists.
693           </description>
694         </boolean>
695
696         <boolean name="pgkmgmt-force" default="off" since="0.30.205">
697           <description>
698 When existing, information from packagemanagement will be used to
699 create dynamic exclude-lists. This option requires that (a known)
700 packagemanagement is configured for the vserver; else the requested
701 operation will fail. Most tools assume 'on' as the default value.
702           </description>
703         </boolean>
704         
705       </collection>
706     </collection>
707     
708     <collection name="scripts">
709       <description>
710 A directory for scripts. By default, when one of these scripts will be
711 executed, the execution of defaultscripts (within .../.defaults/scripts)
712 will be skipped. To execute them nevertheless, the $DONT_SKIP_DEFAULTS
713 environment variable must be set by one of the in-shellcontext scripts
714 (the non-executable ones).
715       </description>
716       
717       <program name="prepre-start">
718         <description>
719 The scriptlet which will be executed before the network-interfaces are
720 enabled and the directories are mounted."
721         </description>
722         <parameterList>
723           <parameter name="vserver-dir">
724             <description>
725 The configuration directory of the current vserver.
726             </description>
727           </parameter>
728           <parameter name="vserver-name">
729             <description>
730 The name of the current vserver.
731             </description>
732           </parameter>
733           <parameter name="action">
734             <description>
735 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
736             </description>
737           </parameter>
738         </parameterList>
739       </program>
740       <collection name="prepre-start.d">
741         <description>
742 Repository of prepre-start like scripts
743         </description>                                                                                                                 
744         <program name="script" type="symbolic">
745           <description>See prepre-start.</description>
746           <parameterList>
747             <parameter name="vserver-dir">
748               <description>
749 The configuration directory of the current vserver.
750               </description>
751             </parameter>
752             <parameter name="vserver-name">
753               <description>
754 The name of the current vserver.
755               </description>
756             </parameter>
757             <parameter name="action">
758               <description>
759 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
760               </description>
761             </parameter>
762           </parameterList>
763         </program>
764       </collection>
765       
766       <program name="pre-start">
767         <description>
768 The scriptlet which will be executed after network-interfaces were
769 enabled and the directories mounted, but before the vserver itself has
770 been started.
771         </description>
772         <parameterList>
773           <parameter name="vserver-dir">
774             <description>
775 The configuration directory of the current vserver.
776             </description>
777           </parameter>
778           <parameter name="vserver-name">
779             <description>
780 The name of the current vserver.
781             </description>
782           </parameter>
783           <parameter name="action">
784             <description>
785 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
786             </description>
787           </parameter>
788         </parameterList>
789       </program>
790       <collection name="pre-start.d">
791         <description>
792 Repository of pre-start like scripts
793         </description>                                                                                                                 
794         <program name="script" type="symbolic">
795           <description>See pre-start.</description>
796           <parameterList>
797             <parameter name="vserver-dir">
798               <description>
799 The configuration directory of the current vserver.
800               </description>
801             </parameter>
802             <parameter name="vserver-name">
803               <description>The name of the current vserver.</description>
804             </parameter>
805             <parameter name="action">
806               <description>
807 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
808               </description>
809             </parameter>
810           </parameterList>
811         </program>
812       </collection>
813       
814
815       <program name="post-start">
816         <description>
817 The scriptlet which will be executed after the vserver has been started.
818         </description>
819         <parameterList>
820           <parameter name="vserver-dir">
821             <description>The configuration directory of the current vserver.</description>
822           </parameter>
823           <parameter name="vserver-name">
824             <description>The name of the current vserver.</description>
825           </parameter>
826           <parameter name="action">
827             <description>
828 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
829             </description>
830           </parameter>
831         </parameterList>
832       </program>
833       <collection name="post-start.d">
834         <description>Repository of post-start like scripts</description>
835         <program name="script" type="symbolic">
836           <description>See post-start.</description>
837           <parameterList>
838             <parameter name="vserver-dir">
839               <description>The configuration directory of the current vserver.</description>
840             </parameter>
841             <parameter name="vserver-name">
842               <description>The name of the current vserver.</description>
843             </parameter>
844             <parameter name="action">
845               <description>
846 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
847               </description>
848             </parameter>
849           </parameterList>
850         </program>
851       </collection>
852
853
854       <program name="pre-stop">
855         <description>
856 The scriptlet which will be executed before the vserver will be stopped.
857         </description>
858         <parameterList>
859           <parameter name="vserver-dir">
860             <description>The configuration directory of the current vserver.</description>
861           </parameter>
862           <parameter name="vserver-name">
863             <description>The name of the current vserver.</description>
864           </parameter>
865           <parameter name="action">
866             <description>
867 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
868             </description>
869           </parameter>
870         </parameterList>
871       </program>
872       <collection name="pre-stop.d">
873         <description>
874 Repository of pre-stop like scripts
875         </description>                                                                                                                 
876         <program name="script" type="symbolic">
877           <description>See pre-stop.</description>
878           <parameterList>
879             <parameter name="vserver-dir">
880               <description>The configuration directory of the current vserver.</description>
881             </parameter>
882             <parameter name="vserver-name">
883               <description>The name of the current vserver.</description>
884             </parameter>
885             <parameter name="action">
886               <description>
887 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
888               </description>
889             </parameter>
890           </parameterList>
891         </program>
892       </collection>
893
894       <program name="post-stop">
895         <description>
896 The scriptlet which will be executed after the vserver has been
897 stopped, but before the directories will be umounted and the the
898 interfaces disabled.
899         </description>
900         <parameterList>
901           <parameter name="vserver-dir">
902             <description>The configuration directory of the current vserver.</description>
903           </parameter>
904           <parameter name="vserver-name">
905             <description>The name of the current vserver.</description>
906           </parameter>
907           <parameter name="action">
908             <description>
909 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
910             </description>
911           </parameter>
912         </parameterList>
913       </program>
914       <collection name="post-stop.d">
915         <description>Repository of post-stop like scripts</description>
916         <program name="script" type="symbolic">
917           <description>See post-stop.</description>
918           <parameterList>
919             <parameter name="vserver-dir">
920               <description>The configuration directory of the current vserver.</description>
921             </parameter>
922             <parameter name="vserver-name">
923               <description>The name of the current vserver.</description>
924             </parameter>
925             <parameter name="action">
926               <description>
927 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
928               </description>
929             </parameter>
930           </parameterList>
931         </program>
932       </collection>
933       
934       <program name="postpost-stop">
935         <description>
936 The scriptlet which will be executed after the vserver has been stopped
937 completely.
938         </description>
939         <parameterList>
940           <parameter name="vserver-dir">
941             <description>The configuration directory of the current vserver.</description>
942           </parameter>
943           <parameter name="vserver-name">
944             <description>The name of the current vserver.</description>
945           </parameter>
946           <parameter name="action">
947             <description>
948 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
949             </description>
950           </parameter>
951         </parameterList>
952       </program>
953       <collection name="postpost-stop.d">
954         <description>Repository of postpost-stop like scripts</description>
955         <program name="script" type="symbolic">
956           <description>See postpost-stop.</description>
957           <parameterList>
958             <parameter name="vserver-dir">
959               <description>The configuration directory of the current vserver.</description>
960             </parameter>
961             <parameter name="vserver-name">
962               <description>The name of the current vserver.</description>
963             </parameter>
964             <parameter name="action">
965               <description>
966 The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
967               </description>
968             </parameter>
969           </parameterList>
970         </program>
971       </collection>
972     </collection>
973     
974     <collection name="interfaces">
975       <scalar name="bcast">
976         <description>The default broadcast address.</description>
977       </scalar>
978       <scalar name="dev">
979         <description>The default network device.</description>
980       </scalar>
981       <scalar name="prefix">
982         <description>The default network prefix-length.</description>
983       </scalar>
984       <scalar name="mask">
985         <description>The default network mask.</description>
986       </scalar>
987       <scalar name="scope">
988         <description>The default scope of the network interfaces.</description>
989       </scalar>
990       
991       <collection name="iface" type="symbolic">
992         <description>
993 'iface' is an arbitrary name for the interface; the value itself is
994 not important but may be interesting regarding interface-creation and
995 usage with 'chbind'. Both happens in alphabetical order and numbers
996 like '00' are good names for these directories.
997         </description>
998         
999         <boolean name="disabled">
1000           <description>When this file exists, this interface will be ignored.</description>
1001         </boolean>
1002         
1003         <scalar name="ip">
1004           <description>The ip which will be assigned to this interface.</description>
1005         </scalar>
1006         <scalar name="bcast">
1007           <description>The broadcast address.</description>
1008         </scalar>
1009         <scalar name="dev">
1010           <description>The network device.</description>
1011         </scalar>
1012         <scalar name="prefix">
1013           <description>The network prefix-length.</description>
1014         </scalar>
1015         <scalar name="mask">
1016           <description>The network mask.</description>
1017         </scalar>
1018         <scalar name="scope">
1019           <description>The scope of the network interface.</description>
1020         </scalar>
1021         <scalar name="name">
1022           <description>
1023 When this file exists, the interface will be named with the text in this
1024 file. Without such an entry, the IP will not be shown by 'ifconfig' but
1025 by 'ip addr ls' only.  Such a labeled interface is known as an "alias"
1026 also (e.g. 'eth0:foo').
1027           </description>
1028         </scalar>
1029         <boolean name="nodev">
1030           <description>
1031 When this file exists, the interface will be assumed to exist
1032 already. This can be used to assign primary interfaces which are
1033 created by the host or another vserver.
1034           </description>
1035         </boolean>
1036       </collection>
1037     </collection>
1038     
1039     <collection name="ulimits">
1040       <description>
1041 A directory with ulimits. Possible resources are cpu, data, fsize,
1042 locks, memlock, nofile, nproc, rss and/or stack. This configuration
1043 will be honored for kernel 2.4 only.
1044       </description>                                                                                                                 
1045       <scalar name="resource" type="symbolic">
1046         <description>
1047 A file which contains the hard- and soft-limit of the given resource
1048 in the first line. The special keyword 'inf' is recognized.
1049         </description>
1050       </scalar>                                                                            
1051       <scalar name="resource.hard" type="symbolic">
1052         <description>
1053 A file which contains the hard- of the given resource in the first
1054 line. The special keyword 'inf' is recognized.
1055         </description>
1056       </scalar>                                                                                             
1057       <scalar name="resource.soft" type="symbolic">
1058         <description>
1059 A file which contains the soft- of the given resource in the first
1060 line. The special keyword 'inf' is recognized.
1061         </description>
1062       </scalar>
1063     </collection>
1064     
1065     <collection name="rlimits">
1066       <description>
1067 A directory with resource limits. Possible resources are cpu, fsize,
1068 data, stack, core, rss, nproc, nofile, memlock, as and locks. This
1069 configuration will be honored for kernel 2.6 only.
1070       </description>                                                                                                                 
1071       <scalar name="resource" type="symbolic">
1072         <description>
1073 A file which contains the hard- and soft-limit of the given resource
1074 in the first line. The special keyword 'inf' is recognized.
1075         </description>
1076       </scalar>                                                                            
1077       <scalar name="resource.hard" type="symbolic">
1078         <description>
1079 A file which contains the hard- of the given resource in the first
1080 line. The special keyword 'inf' is recognized.
1081         </description>
1082       </scalar>                                                                                             
1083       <scalar name="resource.soft" type="symbolic">
1084         <description>
1085 A file which contains the soft- of the given resource in the first
1086 line. The special keyword 'inf' is recognized.
1087         </description>
1088       </scalar>
1089       <scalar name="resource.min" type="symbolic">
1090         <description>
1091 A file which contains the guaranted minimum of the given resource in
1092 the first line. The special keyword 'inf' is recognized.
1093         </description>
1094       </scalar>
1095     </collection>
1096     
1097     <collection name="uts">
1098       <scalar name="context">
1099         <description>
1100 The context-name of the vserver. This file is listed for completeness
1101 only; the 'context' name is used and set internally by the util-vserver
1102 tools and can *not* be modified.
1103         </description>
1104       </scalar>
1105       <scalar name="sysname">
1106         <description>The sysname of the vserver</description>
1107       </scalar>
1108       <scalar name="nodename">
1109         <description>The node-/hostname of the vserver</description>
1110       </scalar>
1111       <scalar name="release">
1112         <description>The OS-release of the vserver</description>
1113       </scalar>
1114       <scalar name="version">
1115         <description>The OS-version of the vserver</description>
1116       </scalar>
1117       <scalar name="machine">
1118         <description>The machine-type of the vserver</description>
1119       </scalar>
1120       <scalar name="domainname">
1121         <description>The NIS domainname of the vserver</description>
1122       </scalar>
1123     </collection>
1124   </collection>
1125   </database>