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