File: configuration.xml

package info (click to toggle)
util-vserver 0.30.216-pre2864-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 13,576 kB
  • ctags: 4,462
  • sloc: ansic: 23,615; sh: 15,550; xml: 1,893; makefile: 402; python: 301; perl: 85; awk: 4
file content (1648 lines) | stat: -rw-r--r-- 55,996 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE database SYSTEM "configuration.dtd" []>
<!-- $Id: configuration.xml 2800 2008-10-28 00:23:26Z dhozac $ -->

<database xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:noNamespaceSchemaLocation="file:configuration.xsd">

  <!-- Global configuration -->
  <collection name=".defaults" use="optional">
    <collection name="init" type="fixed">
      <data name="mtab">
	<description>Default mtab file</description>
      </data>
    </collection>

    <link name="vdirbase">
      <default>/vservers</default>
      <description>A link to the default vserver rootdirectory.</description>
    </link>

    <link name="cachebase">
      <default>/var/cache/vservers</default>
      <description>
A link to the directory which will hold cached information about
vservers.
      </description>
    </link>

    <boolean id="global-nonamespace" name="nonamespace">
      <description>
Disable namespace usage globally. It can be overridden for a single vserver
by setting the <optionref ref="global-namespace">namespace</optionref> flag
there.

In this mode the <directory>/vservers</directory> directory must have
the 'barrier' attribute. Else, common chroot(2) exploits are possible.
      </description>
    </boolean>

    <boolean id="global-nonamespace-cleanup" name="nonamespace-cleanup">
      <description>
Disable namespace cleanup globally. It can be overridden for a single vserver
by setting the <optionref ref="namespace-cleanup">namespace-cleanup</optionref> flag
there.
      </description>
    </boolean>

    <list id="global-namespace-cleanup-skip" name="namespace-cleanup-skip">
      <description>
List of paths to skip during namespace cleanup.
      </description>
    </list>

    <link name="run.rev">
      <description>
Path of the vserver run reverse directory. This directory contains
symlinks named with XID numbers which point back to the configuration
directory of vservers. Under kernel 2.4 this is required for the XID
to VSERVER mapping; Under kernel 2.6 it is unused.

NOTE: this link exists in 0.30.202+ only; in previous versions it was
a vserver specific setting.
      </description>
    </link>

    <scalar name="shell">
      <description>
Contains the pathname of the shell which will be used by the "vserver
... enter" command. Can be overridden by the
<optionref ref="shell">per-guest shell</optionref>.
      </description>
    </scalar>

    <data name="fstab">
      <description>
The default fstab file to put in newly built guests.
      </description>
    </data>

    <boolean name="context.dynamic">
      <description>
If this file exists, kernel-side dynamic contexts will be used by the "vserver
... build" command. Otherwise a context will be generated, based on the
contents of <optionref>context.next</optionref>.
      </description>
    </boolean>

    <scalar id="context.next" name="context.next">
      <description>
The context id to use for the next guest created by "vserver ... build".
      </description>
    </scalar>
    
    <collection name="apps">
      <collection name="pkgmgmt">
	<link name="base">
	  <default>/vservers/.pkg</default>
	</link>
	<data name="apt.conf">
	  <description>The default apt.conf which is going to be used. It is overridden by
distribution specific configuration file.
          </description>
	</data>
      </collection>
      
      <collection name="debootstrap">
	<scalar name="mirror">
	  <description>
The Debian mirror to use with the <tool>debootstrap</tool> program
          </description>
	</scalar>
	<scalar name="uri">
	  <description>
When the <tool>debootstrap</tool> package is not installed; fetch it
from this uri and install it at a temporary place.
          </description>
	</scalar>
      </collection>

      <collection name="vdevmap">
        <collection name="x" type="sybmolic">
          <description>'x' is an arbitrary name, replace it with e.g. device names</description>
          <boolean name="open">
            <description>When this file exists, the device can be opened</description>
          </boolean>
          <boolean name="create">
            <description>When this file exists, the device can be created (if the guest has <optionref ref="bcapabilities">CAP_MKNOD</optionref>)</description>
          </boolean>
          <boolean id="vdevmap-remap" name="remap">
            <description>
When this file exists, <optionref ref="vdevmap-target">target</optionref> will
have to exist as well and opening the device will in fact open the target device
            </description>
          </boolean>
          <scalar name="flags">
            <description>This file will let you specify unimplemented flags manually</description>
          </scalar>
          <scalar name="device">
            <description>Contains the name of a device node</description>
          </scalar>
          <scalar id="vdevmap-target" name="target">
            <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>
          </scalar>
        </collection>
      </collection>

      <collection name="vshelper">
	<link name="logfile">
	  <description>
The file where output will be logged to when <tool>vshelper</tool>
is invoked from the kernel. This should point somewhere e.g. into
<directory>/var/log</directory>.
          </description>
	</link>

	<collection name="vshelper-methods">
	  <program name="handler" type="symbolic">
	    <description>
See <optionref ref="vshelper-action">vshelper/action</optionref>.
            </description>
	  </program>
	</collection>

	<boolean name="disabled">
	  <description>
When existing, the vshelper functionality will be disabled for all
vservers.
          </description>
	</boolean>

	<boolean name="debug">
	  <description>
When existing, the vshelper execution will be traced.
          </description>
	</boolean>
	
	<boolean name="warning-disabled">
	  <description>
When existing, sanity checks for the vshelper functionality will be
skipped.
          </description>
	</boolean>

      </collection>
      
      <collection name="vprocunhide">
	<list name="files">
	  <description>
A list of files which will be made visible by vprocunhide. Wildcards are
allowed and anything ending in '/' will be processed recursively. When this file exists,
it overrides the defaults in SYSDEFAULTDIR/vprocunhide-files. The entries there must be
absolute filenames inclusive the leading '/proc'.
          </description>
	</list>
      </collection>
      
      <collection name="init">
	<link name="tty">
	  <description>
A symlink to the TTY device where input/output will be redirected from/to
at startup via initscript.
          </description>
	</link>

	<hash id="global-environment" name="environment" since="0.30.211">
	  <description>
The environment to set when starting guests. Contains one VAR=VAL
pair per line.
	  </description>
	</hash>
      </collection>
      
      <collection name="vunify">
	<list name="exclude">
	  <description>Static list of excluded files.</description>
	</list>

	<collection name="hash" since="0.30.205">
	  <description>
A directory which will be used as the storage place for the
<tool>vhashify</tool> command.
          </description>
	  <link name="id" type="symbolic">
	    <description>
Points to a directory within the filesystems which are used for the
vservers. There must be not more than one of such a directory per
filesystem.
            </description>
	  </link>

	  <scalar name="method" since="0.30.299">
	    <default>SHA1</default>
	    <description>The used hash method.</description>
	  </scalar>
	</collection>

	<boolean name="pkgmgmt-ignore" default="off" since="0.30.205">
	  <description>
When existing, information from packagemanagement will not be used to
create dynamic exclude-lists.
          </description>
	</boolean>

	<boolean name="pgkmgmt-force" default="off" since="0.30.205">
	  <description>
When existing, information from packagemanagement will be used to
create dynamic exclude-lists. This option requires that (a known)
packagemanagement is configured for the vserver; else the requested
operation will fail. Most tools assume 'on' as the default value.
          </description>
	</boolean>

      </collection>

      <collection name="vlogin">
	<boolean id="vlogin-disable" name="disable" since="0.30.212">
	  <description>
When this file exists, vlogin isn't used on vserver &lt;guest&gt; enter.
	  </description>
	</boolean>
      </collection>

      <collection name="build">
        <list name="options">
          <description>
A list of default options to supply to vserver ... build, one option per line.
          </description>
        </list>
      </collection>
    </collection>

    <collection name="interfaces" use="optional">
      <boolean id="global-vlandev" name="vlandev" since="0.30.211">
	<description>
When this file exists, the steps which setup and destroy a VLAN
interface will be executed.
	</description>
      </boolean>
    </collection>

    <collection name="files">
      <description>This directory contains some files which will be copied to the guests during build.</description>
      <data name="hosts">
        <description>The default /etc/hosts file.</description>
      </data>
      <data name="nsswitch.conf">
        <description>The default /etc/nsswitch.conf file.</description>
      </data>
      <data name="krb5.conf">
        <description>The default /etc/krb5.conf file.</description>
      </data>
      <data name="krb.conf">
        <description>The default /etc/krb.conf file.</description>
      </data>
      <data name="krb.realms">
        <description>The default /etc/krb.realms file.</description>
      </data>
      <data name="ldap.conf">
        <description>The default /etc/ldap.conf file.</description>
      </data>
      <data name="localtime">
        <description>The default /etc/localtime file.</description>
      </data>
      <data name="resolv.conf">
        <description>The default /etc/resolv.conf file.</description>
      </data>
    </collection>

    <collection name="cgroup" use="optional" since="0.30.216" id="global-cgroup">
      <description>
This directory contains cgroup settings which should be applied to all guests.
See your kernel documentation for what settings are valid with your
configuration.
      </description>
      <scalar name="mnt">
        <description>
The directory to mount the cgroup hierarchy at. The default is /dev/cgroup.
        </description>
      </scalar>
      <scalar name="subsys">
        <description>
Comma-separated list of subsystems to enable on the cgroup mount point.
The default is "all".
        </description>
      </scalar>
      <list name="inherit">
        <description>
Some subsystems start out with clean slates, making it impossible to use the
cgroup before certain things have been set. This is true for e.g. the cpuset
subsystem. This file contains a list of filenames which should be explicitly
inherited from the parent (root) cgroup, if not overridden elsewhere.
The default is cpuset.cpus and cpuset.mems.
        </description>
      </list>
      <scalar name="name" id="global-cgroup-name">
        <description>
If this file exists, all guests will be put in one cgroup named after the
contents of this file. The default is to put each guest in a cgroup named the
same thing as the guest.
        </description>
      </scalar>
    </collection>
  </collection>
    
  <collection name=".distributions" use="optional">
    <collection name="dist" type="symbolic">
      <scalar name="dev">
	<description></description>
      </scalar>
      <collection name="yum">
	<description>
The default, yum-related content of the <directory>/etc</directory>
directory.
        </description>
	<scalar name="yum.conf">
	  <description>
The master yum configuration file. It supports the @YUMETCDIR@,
@YUMCACHEDIR@ and @YUMLOGDIR@ placeholder which will be replaced at
<command>vserver ... build</command> time.
          </description>
	</scalar>
      </collection>
      <collection name="yum.repos.d">
	<description>A directory with yum repositories.</description>
      </collection>
      <data name="apt.conf">
	<description>
The default apt.conf which is going to be used. It overrides the
apt.conf from CONFDIR/.defaults/apps/pkgmgmt.
        </description>
      </data>
      <program name="initpre">
	<description>
Script which will be executed before packages will be installed.
          </description>
	<parameterList>
	  <parameter name="confdir">
	    <description>
The configuration directory of the vserver which is going to be set up.
            </description>
	  </parameter>
	  <parameter name="util-vserver-vars">
	    <description>
The pathname of the util-vserver-vars file.
            </description>
	  </parameter>
	</parameterList>
      </program>
      <program name="initpost">
	<description>
Script which will be executed after packages are installed.
          </description>
	<parameterList>
	  <parameter name="confdir">
	    <description>
The configuration directory of the vserver which is going to be set up.
            </description>
	  </parameter>
	  <parameter name="vserver">
	    <description>
The pathname of the util-vserver-vars file.
            </description>
	  </parameter>
	</parameterList>
      </program>
      
      <collection name="pkgs">
	<description>
Contains files with packagenames.
        </description>
	<list name="list">
	  <description>
File which contains the name of packages. On top of file the special
keywords '--reinstall' and '--can-fail' are possible.
          </description>
	</list>
      </collection>
      
      <collection name="pubkeys">
	<description>
Directory with GPG pubkeys which are used to sign the packages of this
distribution.
        </description>
      </collection>
      
      <collection name="apt">
	<description>
Default content of the <directory>/etc/apt/</directory> directory.
        </description>
      </collection>
      
      <collection name="rpm">
	<description>
Default content of the <directory>/etc/rpm</directory> directory.
        </description>
      </collection>
      
      <link name="rpmlib">
	<description>
Directory which overrides <directory>/usr/lib/rpm</directory>.
        </description>
      </link>
      <link name="execdir">
	<description>
Directory with all executables and libraries which are required for
this distribution.
        </description>
      </link>
    </collection>
    <link name="template">
      <description>
Symlink to the default template for this distribution.
      </description>
    </link>
  </collection>
  
  <!-- Vserver configuration -->
  <collection name="vserver-name" type="symbolic">
    <description>
The configuration directory for the vserver vserver-name.
    </description>

    <link name="cache">
      <default>../.defaults/cachebase/VSERVERNAME</default>
      <description>
Path of the storage area for cached information about this vserver.
      </description>
    </link>
    
    <link name="vdir">
      <default>../.defaults/vdirbase/VSERVERNAME</default>
      <description>
Path of the vserver root directory.
      </description>
    </link>

    <link name="run">
      <description>
Points to a file which will contain the XID of the running vserver. When
the vserver is stopped, this can be a dangling symlink.
      </description>
    </link>

    <list id="bcapabilities" name="bcapabilities">
      <description>
Contains the system capabilities. See
<ulink url="http://svn.linux-vserver.org/svn/util-vserver/trunk/lib/bcaps-v13.c">lib/bcaps-v13.c</ulink>
for possible values.
      </description>
    </list>
    <list name="ccapabilities">
      <description>
Contains the context capabilities. See <ulink
url="http://svn.linux-vserver.org/svn/util-vserver/trunk/lib/ccaps-v13.c">lib/ccaps-v13.c</ulink>
for possible values.
      </description>
    </list>
    <list name="ncapabilities" since="0.30.212">
      <description>
Contains the network capabilities. See <ulink
url="http://svn.linux-vserver.org/svn/util-vserver/trunk/lib/ncaps-net.c">lib/ncaps-net.c</ulink>
for possible values.
      </description>
    </list>

    <boolean id="global-namespace" name="namespace">
      <description>
Overrides the global <optionref ref="global-nonamespace">nonamespace</optionref> flag and enables
namespace usage for the current vserver.
      </description>
    </boolean>

    <boolean name="nonamespace">
      <description>
Disables namespace usage for the current vserver.

In this mode the <directory>/vservers</directory> directory must have
the 'barrier' attribute. Else, common chroot(2) exploits are possible.
      </description>
    </boolean>

    <boolean id="namespace-cleanup" name="namespace-cleanup">
      <description>
Overrides the global <optionref ref="global-nonamespace-cleanup">nonamespace-cleanup</optionref> flag and enables
namespace cleanup for the current vserver.
      </description>
    </boolean>

    <list name="namespace-cleanup-skip">
      <description>
List of paths to skip during namespace cleanup. This overrides the global
<optionref ref="global-namespace-cleanup-skip">namespace-cleanup-skip</optionref>
file.
      </description>
    </list>

    <hash name="schedule">
      <description>
[deprecated; use <optionref ref="sched">sched</optionref> instead] Contains the
scheduler parameters, one per line.

The Hard CPU limit uses a mechanism called a Token Bucket.  the
concept is simple: you have a bucket of a certain size which is
filled with a specified amount R of tokens each interval T until the
maximum is reached (excess tokens are spilled). At each timer tick,
a running process consumes one token from the bucket, unless the
bucket is empty. If the bucket is empty the process is put in the
hold queue. When the bucket has been refilled to at least M tokens,
all on hold processes are rescheduled.

See the <ulink url="http://linux-vserver.org/Scheduler+Parameters">Linux
VServer Wiki</ulink> for more information about this file.
      </description>
      <keys>
	<key id="fill_rate" name="fill-rate">
	  <description>
Amount of tokens append to the bucket each interval.
            </description>
	</key>
	<key name="interval">
	  <description>
The intervall between refills of amount <optionref>fill_rate</optionref>. This
value is express in ticks.
          </description>
	</key>
	<key name="tokens">
	  <description>
Initial bucket contents.
          </description>
	</key>
	<key name="tokens-min">
	  <description>
The minimum amount of tokens required to unhold processes
          </description>
	</key>
	<key name="tokens-max">
	  <description>
The bucket size.
          </description>
	</key>
	<key name="priority-bias">
	  <description>
???
          </description>
	</key>
      </keys>
    </hash>
    <scalar name="name">
      <description>
Contains the name of the vserver. When not given, the basename of the directory
will be assumed as this name.
      </description>
    </scalar>
    <scalar name="nice">
      <description>
The nice-level on which the vserver will be started.
      </description>
    </scalar>
    <list name="capabilities">
      <description>
Contains per line a capability. This file is used for the 2.4 kernel
only; for 2.6 use <optionref>bcapabilities</optionref>.
      </description>
    </list>
    <scalar id="shell" name="shell">
      <description>
Contains the pathname of the shell which will be used by the "vserver
... enter" command.
      </description>
    </scalar>
    <list name="personality">
      <description>
Used to set the personality of the vserver. First line in the file
is the personality-type followed by flags (one item per line). See
<filename>/usr/include/linux/personality.h</filename> for possible
values.
      </description>
    </list>
    <list name="cflags" id="cflags" since="0.30.216">
      <description>
Contains per line a flag. See <ulink
url="http://svn.linux-vserver.org/svn/util-vserver/trunk/lib/cflags-v13.c">lib/cflags-v13.c</ulink>
for possible values.
      </description>
    </list>
    <list name="flags">
      <description>
Old name for <optionref>cflags</optionref>. Deprecated.
      </description>
    </list>
    <list name="nflags" since="0.30.212">
      <description>
Contains a network flag per line. See <ulink
url="http://svn.linux-vserver.org/svn/util-vserver/trunk/lib/nflags-net.c">lib/nflags-net.c</ulink>
for possible values.
      </description>
    </list>
    <scalar name="context">
      <description>
Contains the context id which shall be used for the vserver. Valid range is 2 through 49151.
        </description>
    </scalar>
    <scalar name="ncontext">
      <description>
Contains the network context id which shall be used for the vserver. Valid range is 2 through 49151.
      </description>
    </scalar>
    <scalar name="tag">
      <description>
Contains the filesystem tag which shall be used for the vserver. Valid range is 2 through 49151.
      </description>
    </scalar>
    <data id="fstab" name="fstab">
      <description>
The fstab file for the vserver. Entries in this file will be mounted
within the network context of the host. Use the
<optionref>fstab.remote</optionref> file when you want that the
mounting happens in the network context of the vserver. In most cases
the 'fstab' file should be used.
      </description>
    </data>
    <data id="fstab.remote" name="fstab.remote">
      <description>
The fstab file for the vserver. Entries in this file will be mounted
within the network context of the guest; this means that mount will be
called as <command>chbind &lt;options&gt; mount ...</command>. See
<optionref>fstab</optionref> also.
      </description>
    </data>
    <scalar name="badness">
      <description>
Contains the bias to be applied to processes in this guest when the OOM-killer strikes.
      </description>
    </scalar>
    
    <collection name="apps">
      <collection name="init">
	<data name="mtab">
	  <description>
The initial-mtab which will be used for the vserver.
          </description>
	</data>
	
	<scalar name="style">
	  <description>
Contains the init-style.
          </description>
	  <restriction>
	    <enumeration value="sysv"/>
	    <enumeration value="plain"/>
	    <enumeration value="minit"/>
	  </restriction>
	</scalar>
	
	<scalar name="runlevel">
	  <description>The start runlevel.</description>
	</scalar>
	
	<scalar name="runlevel.start">
	  <description>The start runlevel.</description>
	</scalar>
	
	<scalar name="runlevel.stop">
	  <description>The stop runlevel.</description>
	</scalar>
	
	<scalar name="killseq">
	  <description>
Contains the 'signal [wait signal]*' sequence which is used to stop
the vserver.
          </description>
	</scalar>
	
	<list name="cmd.start">
	  <description>
The command which is used to start the vserver. Each option must be on
a separate line.
          </description>
	</list>
	
	<list name="cmd.start-sync">
	  <description>
The command which is used to wait on the vserver after it has been
started. Each option must be on a separate line. This file will be
ignored when the <optionref>sync</optionref> flag does not exist and the
'--sync' option was not used.
	  </description>
	</list>
	
	<list name="cmd.stop">
	  <description>
The command which is used to stop the vserver. Each option must be on
a separate line.
          </description>
	</list>
	
	<list name="cmd.stop-sync">
	  <description>
The command which is used to wait on the vserver after it has been
stopped. Each option must be on a separate line. This file will be
ignored when the <optionref>sync</optionref> flag does not exist and the
'--sync' option was not used.
          </description>
	</list>
	
	<list name="cmd.prepare">
	  <description>
The command which is used to setup the init-system (e.g. to set the
runlevel in the utmp-file). Each option must be on a separate line.
 	  </description>
	</list>
	
	<boolean id="sync" name="sync">
	  <description>
If this file is not present, all 'cmd.*-sync files will be ignored.
	    </description>
	</boolean>
	
	<link name="tty">
	  <description>
A symlink to the TTY device where input/output will be redirected
from/to at startup via initscript.
	  </description>
	</link>
	
	<scalar name="mark">
	  <description>
This file is used to mark group of vservers which shall be started/stopped
together by the initscript. Content is a simple string like 'default'.
	  </description>
	</scalar>
	
	<list name="depends">
	  <description>
This file is used to configure vservers which must be running before
the current vserver can be started. At shutdown, the current vserver
will be stopped before its dependencies. Content of this file are
vserver ids (one name per line).
          </description>
	</list>

	<hash name="environment" since="0.30.211">
	  <description>
The environment to set when starting the guest. Contains one VAR=VAL
pair per line.
	  </description>
	</hash>
      </collection>

      <collection name="vdevmap">
        <collection name="x" type="sybmolic">
          <description>'x' is an arbitrary name, replace it with e.g. device names</description>
          <boolean name="open">
            <description>When this file exists, the device can be opened</description>
          </boolean>
          <boolean name="create">
            <description>When this file exists, the device can be created (if the guest has <optionref ref="bcapabilities">CAP_MKNOD</optionref>)</description>
          </boolean>
          <boolean id="guest-vdevmap-remap" name="remap">
            <description>
When this file exists, <optionref ref="guest-vdevmap-target">target</optionref> will
have to exist as well and opening the device will in fact open the target device
            </description>
          </boolean>
          <scalar name="flags">
            <description>This file will let you specify unimplemented flags manually</description>
          </scalar>
          <scalar name="device">
            <description>Contains the name of a device node</description>
          </scalar>
          <scalar id="guest-vdevmap-target" name="target">
            <description>Contains the device node of the target node to open instead of the device when <optionref ref="guest-vdevmap-remap">remap</optionref> is set</description>
          </scalar>
        </collection>
      </collection>
  
      <collection name="vshelper">
	<scalar name="sync-timeout">
	  <default>30</default>
	  <description>
The timeout in seconds which is used when synchronising vserver
startup/shutdown with the vshelper. When not set, 30 seconds will be
assumed.
	  </description>
	</scalar>
	
	<scalar id="vshelper-action" name="action">
	  <default>restart</default>
	  <description>
The action which is going to be executed when a vshelper event
occurs. The default value is 'restart', but there can be defined own
methods by placing scripts into the
<optionref>vshelper-methods</optionref> directories. These scripts are
fed with the same arguments as the <tool>vshelper</tool> script.
          </description>
	</scalar>
	
	<program name="event" type="symbolic">
	  <description>
When existing, these scripts will be executed *instead* of the default
handler defined in 'action'. Their name must match the event which caused
the execution of <tool>vshelper</tool>; e.g. 'restart' or 'poweroff'. See
the vs_reboot() function in the kernel for more details.
          </description>
	  <parameterList>
	    <parameter name="xid">
	      <description>
The xid of the context calling the vshelper
              </description>
	    </parameter>
	    <parameter name="event">
	      <description>
The reboot-event.
              </description>
	    </parameter>
	  </parameterList>
	</program>
	
	<boolean name="disabled">
	  <description>
When existing, the vshelper functionality will be disabled for this
vserver.
          </description>
	</boolean>

	<boolean name="debug">
	  <description>
When existing, the vshelper execution will be traced for this vserver.
          </description>
	</boolean>
	
	<boolean name="warning-disabled">
	  <description>
When existing, sanity checks for the vshelper functionality will be
skipped.
          </description>
	</boolean>
	
      </collection>
      
      <collection id="vshelper-methods" name="vshelper-methods">
	<program name="handler" type="symbolic">
	  <description>
See <optionref ref="vshelper-action">vshelper/action</optionref>.
          </description>
	</program>
      </collection>
      
      <collection name="vunify">
	<description>
This directory contains configuration data required for vserver
unification.
        </description>
	
	<list name="exclude">
	  <description>
<p>Static list of files which are excluded for unification. This list
supports an rsync-like syntax: when a file is prefixed by '+', it is a
candidate for unification; when there is no prefix or a '-' or a '~' it
will be excluded. Shell-wildcards are allowed for the filenames.</p>
<p>When used with <tool>vcopy</tool>, the '~' prefix prevents copying
of the file entirely (e.g. for keyfiles). With this tool, the file will
be copied instead of hardlinked when the '-' prefix is used.</p>
          </description>
	</list>
	
	<link name="refserver.X" type="symbolic">
	  <description>
These are symlinks to the configuration directory
(e.g. CONFDIR/vservers/&lt;id&gt;) of a refserver. There may be
multiple such symlinks but they must be prefixed by 'refserver.' and
will be processed in alphanumerical order.
          </description>
	</link>

	<collection name="hash" since="0.30.205">
	  <description>
A directory which will be used as the storage place for the
<tool>vhashify</tool> command.
          </description>
	  <link name="id" type="symbolic">
	    <description>
Points to a directory within the filesystems which are used for the
vservers. There must be not more than one of such a directory per
filesystem.
            </description>
	  </link>

	  <scalar name="method"  since="0.30.299">
	    <default>SHA1</default>
	    <description>The used hash method.</description>
	  </scalar>
	</collection>

	<boolean name="pkgmgmt-ignore" default="off" since="0.30.205">
	  <description>
When existing, information from packagemanagement will not be used to
create dynamic exclude-lists.
          </description>
	</boolean>

	<boolean name="pgkmgmt-force" default="off" since="0.30.205">
	  <description>
When existing, information from packagemanagement will be used to
create dynamic exclude-lists. This option requires that (a known)
packagemanagement is configured for the vserver; else the requested
operation will fail. Most tools assume 'on' as the default value.
          </description>
	</boolean>
	
      </collection>
    </collection>
    
    <collection name="scripts">
      <description>
A directory for scripts. By default, when one of these scripts will be
executed, the execution of defaultscripts (within .../.defaults/scripts)
will be skipped. To execute them nevertheless, the $DONT_SKIP_DEFAULTS
environment variable must be set by one of the in-shellcontext scripts
(the non-executable ones).
      </description>
      
      <program name="initialize" since="0.30.211">
	<description>
The scriptlet which will be executed before the root filesystem is mounted and
the configuration has been loaded. Before executing the script, the
configuration directory will be made the working directory.
        </description>
	<parameterList>
	  <parameter name="action">
	    <description>
The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
            </description>
	  </parameter>
	  <parameter name="vserver-name">
	    <description>
The name of the current vserver.
            </description>
	  </parameter>
	</parameterList>
      </program>
      <collection name="initialize.d" since="0.30.211">
	<description>
Repository of initialize like scripts.  Before executing the script,
the configuration directory will be made the working directory.
        </description>
	<program name="script" type="symbolic">
	  <description>See initialize.</description>
	  <parameterList>
	    <parameter name="action">
	      <description>
The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
              </description>
	    </parameter>
	    <parameter name="vserver-name">
	      <description>
The name of the current vserver.
              </description>
	    </parameter>
	  </parameterList>
	</program>
      </collection>
      
      <program name="prepre-start">
	<description>
The scriptlet which will be executed before the network-interfaces are
enabled and the directories are mounted. Before executing the script,
the configuration directory will be made the working directory.
        </description>
	<parameterList>
	  <parameter name="action">
	    <description>
The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
            </description>
	  </parameter>
	  <parameter name="vserver-name">
	    <description>
The name of the current vserver.
            </description>
	  </parameter>
	</parameterList>
      </program>
      <collection name="prepre-start.d">
	<description>
Repository of prepre-start like scripts.  Before executing the script,
the configuration directory will be made the working directory.
        </description>
	<program name="script" type="symbolic">
	  <description>See prepre-start.</description>
	  <parameterList>
	    <parameter name="action">
	      <description>
The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
              </description>
	    </parameter>
	    <parameter name="vserver-name">
	      <description>
The name of the current vserver.
              </description>
	    </parameter>
	  </parameterList>
	</program>
      </collection>
      
      <program name="pre-start">
	<description>
The scriptlet which will be executed after network-interfaces were
enabled and the directories mounted, but before the vserver itself has
been started.  Before executing the script, the vserver root directory
will be made the working directory.
        </description>
	<parameterList>
	  <parameter name="action">
	    <description>
The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
            </description>
	  </parameter>
	  <parameter name="vserver-name">
	    <description>
The name of the current vserver.
            </description>
	  </parameter>
	</parameterList>
      </program>
      <collection name="pre-start.d">
	<description>
Repository of pre-start like scripts. Before executing these scripts,
the vserver root directory will be made the working directory.
        </description>
	<program name="script" type="symbolic">
	  <description>See pre-start.</description>
	  <parameterList>
	    <parameter name="action">
	      <description>
The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
              </description>
	    </parameter>
	    <parameter name="vserver-name">
	      <description>
The name of the current vserver.
              </description>
	    </parameter>
	  </parameterList>
	</program>
      </collection>
      

      <program name="post-start">
	<description>
The scriptlet which will be executed after the vserver has been
started. Before executing the script, the vserver root directory
will be made the working directory.
        </description>
	<parameterList>
	  <parameter name="action">
	    <description>
The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
            </description>
	  </parameter>
	  <parameter name="vserver-name">
	    <description>
The name of the current vserver.
            </description>
	  </parameter>
	</parameterList>
      </program>
      <collection name="post-start.d">
	<description>
Repository of post-start like scripts. Before executing these scripts,
the vserver root directory will be made the working directory.
        </description>
	<program name="script" type="symbolic">
	  <description>See post-start.</description>
	  <parameterList>
	    <parameter name="action">
	      <description>
The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
              </description>
	    </parameter>
	    <parameter name="vserver-name">
	      <description>
The name of the current vserver.
              </description>
	    </parameter>
	  </parameterList>
	</program>
      </collection>


      <program name="pre-stop">
	<description>
The scriptlet which will be executed before the vserver will be
stopped. Before executing the script, the vserver root directory
will be made the working directory.
        </description>
	<parameterList>
	  <parameter name="action">
	    <description>
The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
            </description>
	  </parameter>
	  <parameter name="vserver-name">
	    <description>
The name of the current vserver.
            </description>
	  </parameter>
	</parameterList>
      </program>
      <collection name="pre-stop.d">
	<description>
Repository of pre-stop like scripts. Before executing the script, the
vserver root directory will be made the working directory.
        </description>
	<program name="script" type="symbolic">
	  <description>See pre-stop.</description>
	  <parameterList>
	    <parameter name="action">
	      <description>
The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
              </description>
	    </parameter>
	    <parameter name="vserver-name">
	      <description>
The name of the current vserver.
              </description>
	    </parameter>
	  </parameterList>
	</program>
      </collection>

      <program name="post-stop">
	<description>
The scriptlet which will be executed after the vserver has been
stopped, but before the directories will be umounted and the the
interfaces disabled. Before executing the script, the vserver root
directory will be made the working directory.
        </description>
	<parameterList>
	  <parameter name="action">
	    <description>
The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
            </description>
	  </parameter>
	  <parameter name="vserver-name">
	    <description>
The name of the current vserver.
            </description>
	  </parameter>
	</parameterList>
      </program>
      <collection name="post-stop.d">
	<description>
Repository of post-stop like scripts. Before executing the script, the
vserver root directory will be made the working directory.
        </description>
	<program name="script" type="symbolic">
	  <description>See post-stop.</description>
	  <parameterList>
	    <parameter name="action">
	      <description>
The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
              </description>
	    </parameter>
	    <parameter name="vserver-name">
	      <description>
The name of the current vserver.
              </description>
	    </parameter>
	  </parameterList>
	</program>
      </collection>
      
      <program name="postpost-stop">
	<description>
The scriptlet which will be executed after the vserver has been stopped
completely. Before executing the script, the vserver root directory
will be made the working directory.
        </description>
	<parameterList>
	  <parameter name="action">
	    <description>
The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
            </description>
	  </parameter>
	  <parameter name="vserver-name">
	    <description>
The name of the current vserver.
            </description>
	  </parameter>
	</parameterList>
      </program>
      <collection name="postpost-stop.d">
	<description>
Repository of postpost-stop like scripts. Before executing the script,
the vserver root directory will be made the working directory.
        </description>
	<program name="script" type="symbolic">
	  <description>See postpost-stop.</description>
	  <parameterList>
	    <parameter name="action">
	      <description>
The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...).
              </description>
	    </parameter>
	    <parameter name="vserver-name">
	      <description>
The name of the current vserver.
              </description>
	    </parameter>
	  </parameterList>
	</program>
      </collection>
    </collection>
    
    <collection name="interfaces">
      <scalar name="bcast">
	<description>The guest's broadcast address.</description>
      </scalar>
      <scalar name="lback">
        <description>The guest's loopback address.</description>
      </scalar>
      <scalar name="dev">
	<description>The default network device. See <optionref ref="per-if-dev">iface/dev</optionref> for more information.</description>
      </scalar>
      <scalar name="prefix">
	<description>The default network prefix-length.</description>
      </scalar>
      <scalar name="mask">
	<description>The default network mask.</description>
      </scalar>
      <scalar name="scope">
	<description>The default scope of the network interfaces.</description>
      </scalar>
      <boolean id="local-vlandev" name="vlandev" since="0.30.211">
	<description>
When this file exists, the steps which setup and destroy a VLAN
interface will be executed for all interfaces of this vserver.
	</description>
      </boolean>
      <boolean id="local-novlandev" name="novlandev">
	<description>
When this file exists, the steps which setup and destroy a VLAN
interface will be skipped. This overrides the global
<optionref ref="global-vlandev">vlandev</optionref> setting for
this vserver.
	</description>
      </boolean>
      
      <collection name="iface" type="symbolic">
	<description>
'iface' is an arbitrary name for the interface; the value itself is
not important but may be interesting regarding interface-creation and
usage with <tool>chbind</tool>. Both happens in alphabetical order and
numbers like '00' are good names for these directories.
        </description>
	
	<boolean name="disabled">
	  <description>When this file exists, this interface will be ignored.</description>
	</boolean>
	
	<scalar name="ip">
	  <description>The IP address which will be assigned to this interface.</description>
	</scalar>
	<scalar name="dev" id="per-if-dev">
	  <description>The network device. When this is specified, the IP address will be assigned and removed when starting and stopping the guest.</description>
	</scalar>
	<scalar name="prefix">
	  <description>The network prefix-length.</description>
	</scalar>
	<scalar name="mask">
	  <description>The network mask.</description>
	</scalar>
	<scalar name="scope">
	  <description>The scope of the network interface.</description>
	</scalar>
	<scalar name="name">
	  <description>
When this file exists, the interface will be named with the text in
this file. Without such an entry, the IP will not be shown by
<tool>ifconfig</tool> but by <command>ip addr ls</command> only.  Such
a labeled interface is known as an "alias" also (e.g. 'eth0:foo').
          </description>
	</scalar>
	<boolean name="nodev">
	  <description>
When this file exists, the interface will be assumed to exist
already. This can be used to assign primary interfaces which are
created by the host or another vserver.
	  </description>
	</boolean>
	<boolean name="novlandev">
	  <description>
When this file exists, the steps which setup and destroy a VLAN
interface will be skipped. This will override the global
<optionref ref="global-vlandev">vlandev</optionref> and the per-guest
<optionref ref="local-vlandev">vlandev</optionref>.
	  </description>
	</boolean>
	<boolean name="vlandev" since="0.30.211">
	  <description>
When this file exists, the steps which setup and destroy a VLAN
interface will be executed.
	  </description>
	</boolean>
	<boolean name="tun" since="0.30.215">
	  <description>
When this file exists, a tun interface will be created when the guest
starts, and removed when the guest stops.
	  </description>
	</boolean>
	<boolean name="tap" since="0.30.215">
	  <description>
When this file exists, a tap interface will be created when the guest
starts, and removed when the guest stops.
	  </description>
	</boolean>
	<boolean name="nocsum" since="0.30.215">
	  <description>
If a tun or tap interface is created, the presence of this file will
disable checksumming on it.
	  </description>
	</boolean>
	<boolean name="shared" since="0.30.215">
	  <description>
When this file exists, the tun/tap interface created will not be
owned by this particular guest.
	  </description>
	</boolean>
	<scalar name="uid" since="0.30.215">
	  <description>
Sets the ownership of tun/tap interfaces. Requires a user id, not a
username.
	  </description>
	</scalar>
	<scalar name="gid" since="0.30.215">
	  <description>
Sets the group ownership of tun/tap interfaces. Requires a group id,
not a group name.
	  </description>
	</scalar>
	<scalar name="linktype" since="0.30.215">
	  <description>
Sets the link type of tun/tap interfaces.
	  </description>
	</scalar>
	<scalar name="peer" since="0.30.216">
	  <description>
Sets the peer for a point-to-point link, such as a tun interface.
	  </description>
	</scalar>
      </collection>
    </collection>
    
    <collection name="ulimits">
      <description>
A directory with ulimits. Possible resources are cpu, data, fsize,
locks, memlock, nofile, nproc, rss and/or stack.
      </description>
      <scalar name="resource" type="symbolic">
	<description>
A file which contains the hard- and soft-limit of the given resource
in the first line. The special keyword 'inf' is recognized.
	</description>
      </scalar>
      <scalar name="resource.hard" type="symbolic">
	<description>
A file which contains the hard-limit of the given resource in the first
line. The special keyword 'inf' is recognized.
	</description>
      </scalar>
      <scalar name="resource.soft" type="symbolic">
	<description>
A file which contains the soft-limit of the given resource in the first
line. The special keyword 'inf' is recognized.
	</description>
      </scalar>
    </collection>
    
    <collection name="rlimits">
      <description>
A directory with resource limits. Possible resources are cpu, fsize,
data, stack, core, rss, nproc, nofile, memlock, as, locks, msgqueue,
nsock, openfd, anon, shmem, semary, nsems and dentry. This
configuration will be honored for kernel 2.6 only.
      </description>
      <scalar name="resource" type="symbolic">
	<description>
A file which contains the hard- and soft-limit of the given resource
in the first line. The special keyword 'inf' is recognized.
	</description>
      </scalar>
      <scalar name="resource.hard" type="symbolic">
	<description>
A file which contains the hard-limit of the given resource in the first
line. The special keyword 'inf' is recognized.
	</description>
      </scalar>
      <scalar name="resource.soft" type="symbolic">
	<description>
A file which contains the soft-limit of the given resource in the first
line. The special keyword 'inf' is recognized.
	</description>
      </scalar>
      <scalar name="resource.min" type="symbolic">
	<description>
A file which contains the guaranteed minimum of the given resource in
the first line. The special keyword 'inf' is recognized.
        </description>
      </scalar>
    </collection>
    
    <collection name="uts">
      <scalar name="context">
	<description>
The context-name of the vserver. This file is listed for completeness
only; the 'context' name is used and set internally by the util-vserver
tools and can *not* be modified.
	</description>
      </scalar>
      <scalar name="sysname">
	<description>The sysname of the vserver</description>
      </scalar>
      <scalar name="nodename">
	<description>The node-/hostname of the vserver</description>
      </scalar>
      <scalar name="release">
	<description>The OS-release of the vserver</description>
      </scalar>
      <scalar name="version">
	<description>The OS-version of the vserver</description>
      </scalar>
      <scalar name="machine">
	<description>The machine-type of the vserver</description>
      </scalar>
      <scalar name="domainname">
	<description>The NIS domainname of the vserver</description>
      </scalar>
    </collection>

    <collection name="dlimits" since="0.30.210">
      <description>
Note that all entries are required for the disk limit to be applied.
      </description>
      <collection name="x" type="symbolic">
        <description>'x' is an arbitrary name, replace it with e.g. integers</description>
        <scalar name="directory">
          <description>The directory to which the limit should be applied</description>
        </scalar>
        <scalar name="inodes_total">
          <description>The amount of inodes this vserver should be limited to</description>
        </scalar>
        <scalar name="space_total">
          <description>The amount of space this vserver should be limited to (measured in blocks of 1024 bytes)</description>
        </scalar>
        <scalar name="reserved">
          <description>How much space (percentage-wise) should be reserved for the root user</description>
        </scalar>
      </collection>
    </collection>

    <collection name="sysctl" since="0.30.213">
      <collection name="x" type="symbolic">
        <description>'x' is an arbitrary name, replace it with e.g. integers</description>
        <scalar name="setting">
          <description>The sysctl setting</description>
        </scalar>
        <scalar name="value">
          <description>The value</description>
        </scalar>
      </collection>
    </collection>

    <collection name="cpuset" since="0.30.211">
      <description>
Puts the guest in a cpuset. Required entries are name, cpus and mems.
      </description>
      <scalar name="name">
        <description>The name of the cpuset for this vserver</description>
      </scalar>
      <scalar name="cpus">
        <description>The list of CPUs in this cpuset</description>
      </scalar>
      <scalar name="mems">
        <description>The list of Memory Nodes in this cpuset</description>
      </scalar>
      <scalar name="cpu_exclusive">
        <description>Is the CPU assignment exclusive?</description>
      </scalar>
      <scalar name="mems_exclusive">
        <description>Is the memory node assignment exclusive?</description>
      </scalar>
      <scalar name="nocreate">
        <description>When this file exists, the cpuset will be assumed to exist already</description>
      </scalar>
    </collection>

    <collection id="sched" name="sched" since="0.30.212">
      <scalar id="global-tokens" name="tokens">
        <description>The initial amount of tokens to put in the bucket</description>
      </scalar>
      <scalar id="global-tokens-min" name="tokens-min">
        <description>The minimum amount of tokens required to unhold the context</description>
      </scalar>
      <scalar id="global-tokens-max" name="tokens-max">
        <description>The bucket's size</description>
      </scalar>
      <scalar id="global-fill-rate" name="fill-rate">
        <description>Amount of tokens to add each <optionref ref="global-interval">interval</optionref></description>
      </scalar>
      <scalar id="global-interval" name="interval">
        <description>The interval between refills of the bucket</description>
      </scalar>
      <scalar id="global-priority-bias" name="priority-bias">
        <description>Bias added to priorities calculated within the guest (result is clamped to -20/+19)</description>
      </scalar>
      <scalar id="global-fill-rate2" name="fill-rate2">
        <description>Amount of tokens to add each <optionref ref="global-interval2">interval2</optionref> when advancing idle time</description>
      </scalar>
      <scalar id="global-interval2" name="interval2">
        <description>The interval between refills of the bucket when advancing idle time</description>
      </scalar>
      <boolean id="global-idle-time" name="idle-time">
        <description>When this file exists, advancing idle time is activated</description>
      </boolean>
      <collection name="cpu-id" type="symbolic">
        <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>
        <scalar name="tokens">
          <description>The initial amount of tokens to put in the bucket</description>
        </scalar>
        <scalar name="tokens-min">
          <description>The minimum amount of tokens required to unhold the context</description>
        </scalar>
        <scalar name="tokens-max">
          <description>The bucket's size</description>
        </scalar>
        <scalar name="fill-rate">
          <description>Amount of tokens to add each <optionref ref="local-interval">interval</optionref></description>
        </scalar>
        <scalar id="local-interval" name="interval">
          <description>The interval between refills of the bucket</description>
        </scalar>
        <scalar name="priority-bias">
          <description>Bias added to priorities calculated within the guest (result is clamped to -20/+19)</description>
        </scalar>
        <scalar name="fill-rate2">
          <description>Amount of tokens to add each <optionref ref="local-interval2">interval2</optionref> when advancing idle time</description>
        </scalar>
        <scalar id="local-interval2" name="interval2">
          <description>The interval between refills of the bucket when advancing idle time</description>
        </scalar>
        <boolean name="idle-time">
          <description>When this file exists, advancing idle time is activated</description>
        </boolean>
        <scalar id="cpu-id" name="cpu-id">
          <description>The CPU to apply these settings to</description>
        </scalar>
        <scalar name="bucket-id">
          <description>The bucket to apply these settings to</description>
        </scalar>
      </collection>
    </collection>

    <collection name="spaces" since="0.30.215">
      <boolean name="pid">
        <description>Enables pid virtualization for this guest</description>
      </boolean>
      <boolean name="net">
        <description>Enable network virtualization for this guest</description>
      </boolean>
      <scalar name="mask">
        <description>Contains a mask of spaces to clone/enter</description>
      </scalar>
    </collection>

    <collection name="ionice" since="0.30.216">
      <scalar name="class">
        <description>The IO scheduling class to use for this guest (see ionice(1)).</description>
      </scalar>
      <scalar name="priority">
        <description>The IO scheduling priority to use for this guest (see ionice(1)).</description>
      </scalar>
    </collection>

    <collection name="cgroup" use="optional" since="0.30.216" id="guest-cgroup">
      <description>
This directory contains cgroup settings to be applied to this guest.
See your kernel documentation for what settings are valid with your
configuration.
      </description>
      <scalar name="name">
        <description>
If this file exists, the guest will be put in a cgroup named after the
contents of this file. The default is to name the cgroup the same thing as the
guest, unless
<optionref ref="global-cgroup-name">.defaults/cgroup/name</optionref> says
otherwise.
        </description>
      </scalar>
    </collection>
    <scalar name="nocgroup" since="0.30.216">
      <description>
If this file exists,
<optionref ref="global-cgroup">.defaults/cgroup</optionref> will be ignored
for this guest.
      </description>
    </scalar>
  </collection>
  </database>