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
|
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>The /etc/vservers directory</title>
<link href="configuration-lsd.css" type="text/css" title="gras" rel="stylesheet" />
<link href="configuration-lsd1.css" type="text/css" title="gras1" rel="stylesheet" />
<link href="configuration-flower.css" type="text/css" title="flower" rel="stylesheet" />
<link href="configuration.css" type="text/css" title="boring" rel="stylesheet" />
</head>
<body>
<h1>The content of the /etc/vservers directory</h1>
<ul>
<li>
<span class="directory">/etc/vservers/<span class="symbolic">vserver-name</span>
</span>
<br />
<div class="description">
The configuration directory for the vserver vserver-name.
</div>
<ul>
<li>
<span title="/etc/vservers/vserver-name/bcapabilities" class="list">bcapabilities</span>
<br />
<div class="description">
[experimental; name is subject of possible change] Contains the system capabilities. See
<a href="http://savannah.nongnu.org/cgi-bin/viewcvs/util-vserver/util-vserver/lib/bcaps-v13.c?rev=HEAD">lib/bcaps-v13.c</a>
for possible values.
</div>
</li>
<li>
<span title="/etc/vservers/vserver-name/capabilities" class="list">capabilities</span>
<br />
<div class="description">
Contains per line a capability. This file is used for the 2.4 kernel
only; for 2.6 use 'bcapabilities'.
</div>
</li>
<li>
<span title="/etc/vservers/vserver-name/ccapabilities" class="list">ccapabilities</span>
<br />
<div class="description">
[experimental; name is subject of possible change] Contains the
context capabilities. See <a href="http://savannah.nongnu.org/cgi-bin/viewcvs/util-vserver/util-vserver/lib/ccaps-v13.c?rev=HEAD">lib/ccaps-v13.c</a>
for possible values.
</div>
</li>
<li>
<span title="/etc/vservers/vserver-name/context" class="file">context</span>
<br />
<div class="description">
Contains the context which shall be used for the vserver.
</div>
</li>
<li>
<span title="/etc/vservers/vserver-name/flags" class="list">flags</span>
<br />
<div class="description">
Contains per line a flag. See <a href="http://savannah.nongnu.org/cgi-bin/viewcvs/util-vserver/util-vserver/lib/cflags-v13.c?rev=HEAD">lib/cflags-v13.c</a>
for possible values.
</div>
<div class="elements">
<dl>
<dt class="elements">fakeinit</dt>
<dd class="elements">
<div class="description">
The new process will believe it is process number 1. Useful to run a
real /sbin/init in a vserver. Warning: this flag should not be used
unless you know what you are doing. Often, it is better to use the
'plain' initstyle.
</div>
</dd>
<dt class="elements">lock</dt>
<dd class="elements">
<div class="description">
The new process is trapped and can't use chcontext anymore.
</div>
</dd>
<dt class="elements">nproc</dt>
<dd class="elements">
<div class="description">
Limit the number of process in the vserver according to
ulimit setting. Normally, ulimit is a per user thing.
With this flag, it becomes a per vserver thing.
</div>
</dd>
<dt class="elements">private</dt>
<dd class="elements">
<div class="description">
No one can join this security context once created.
</div>
</dd>
<dt class="elements">sched</dt>
<dd class="elements">
<div class="description">
The new process and its children will share a common
</div>
</dd>
<dt class="elements">ulimit</dt>
<dd class="elements">
<div class="description">
Apply the current ulimit to the whole context
</div>
</dd>
</dl>
</div>
</li>
<li>
<span title="/etc/vservers/vserver-name/fstab" class="data">fstab</span>
<br />
<div class="description">
The fstab file for the vserver. Entries in this file will be mounted
within the network context of the vserver; this means that mount will
be called as 'chbind <options> mount ...'. Use the 'fstab.local'
file when you do not want this behavior, but in most cases the 'fstab'
file should be used.
</div>
</li>
<li>
<span title="/etc/vservers/vserver-name/fstab.local" class="data">fstab.local</span>
<br />
<div class="description">
The fstab file for the vserver. In opposite to the normal 'fstab'
file, the mounting happens in the local network context. Currently
there is no way to mix entries of both files; 'fstab' will be always
processed before 'fstab.local'.
</div>
</li>
<li>
<span title="/etc/vservers/vserver-name/name" class="file">name</span>
<br />
<div class="description">
Contains the name of the vserver. When not given, the basename of the directory
will be assumed as this name.
</div>
</li>
<li>
<span title="/etc/vservers/vserver-name/namespace" class="boolean">namespace</span>
<br />
<div class="description">
Overrides the global 'nonamespace' flag and enables namespace usage
for the current vserver.
</div>
</li>
<li>
<span title="/etc/vservers/vserver-name/nice" class="file">nice</span>
<br />
<div class="description">
The nice-level on which the vserver will be started.
</div>
</li>
<li>
<span title="/etc/vservers/vserver-name/nonamespace" class="boolean">nonamespace</span>
<br />
<div class="description">
Disables namespace usage for the current vserver.
In this mode the /vservers directory must have the 'barrier'
attribute. Else, common chroot(2) exploits are possible.
</div>
</li>
<li>
<span title="/etc/vservers/vserver-name/run" class="symlink">run</span>
<br />
<div class="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.
</div>
</li>
<li>
<span title="/etc/vservers/vserver-name/schedule" class="hash">schedule</span>
<br />
<div class="description">
[experimental; name is subject of possible change] 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.
</div>
</li>
<li>
<span title="/etc/vservers/vserver-name/shell" class="file">shell</span>
<br />
<div class="description">
Contains the pathname of the shell which will be used by the "vserver
... enter" command.
</div>
</li>
<li>
<span title="/etc/vservers/vserver-name/vdir" class="symlink">vdir</span>
<br />
<div class="description">
Path of the vserver root directory
</div>
</li>
<li>
<span class="directory">/etc/vservers/<span class="symbolic">vserver-name</span>/<span class="">apps</span>
</span>
<br />
<ul>
<li>
<span class="directory">/etc/vservers/<span class="symbolic">vserver-name</span>/<span class="">apps</span>/<span class="">init</span>
</span>
<br />
<ul>
<li>
<span title="/etc/vservers/vserver-name/apps/init/cmd.prepare" class="list">cmd.prepare</span>
<br />
<div class="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.
</div>
</li>
<li>
<span title="/etc/vservers/vserver-name/apps/init/cmd.start" class="list">cmd.start</span>
<br />
<div class="description">
The command which is used to start the vserver. Each option must be on
a separate line.
</div>
</li>
<li>
<span title="/etc/vservers/vserver-name/apps/init/cmd.start-sync" class="list">cmd.start-sync</span>
<br />
<div class="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 'sync' does not exist and the '--sync' option was not
used.
</div>
</li>
<li>
<span title="/etc/vservers/vserver-name/apps/init/cmd.stop" class="list">cmd.stop</span>
<br />
<div class="description">
The command which is used to stop the vserver. Each option must be on
a separate line.
</div>
</li>
<li>
<span title="/etc/vservers/vserver-name/apps/init/cmd.stop-sync" class="list">cmd.stop-sync</span>
<br />
<div class="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 'sync' does not exist and the '--sync' option was not
used.
</div>
</li>
<li>
<span title="/etc/vservers/vserver-name/apps/init/depends" class="list">depends</span>
<br />
<div class="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).
</div>
</li>
<li>
<span title="/etc/vservers/vserver-name/apps/init/killseq" class="file">killseq</span>
<br />
<div class="description">
Contains the 'signal [wait signal]*' sequence which is used to stop
the vserver.
</div>
</li>
<li>
<span title="/etc/vservers/vserver-name/apps/init/mark" class="file">mark</span>
<br />
<div class="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'.
</div>
</li>
<li>
<span title="/etc/vservers/vserver-name/apps/init/mtab" class="data">mtab</span>
<br />
<div class="description">
The initial-mtab which will be used for the vserver.
</div>
</li>
<li>
<span title="/etc/vservers/vserver-name/apps/init/runlevel" class="file">runlevel</span>
<br />
<div class="description">The start runlevel.</div>
</li>
<li>
<span title="/etc/vservers/vserver-name/apps/init/runlevel.start" class="file">runlevel.start</span>
<br />
<div class="description">The start runlevel.</div>
</li>
<li>
<span title="/etc/vservers/vserver-name/apps/init/runlevel.stop" class="file">runlevel.stop</span>
<br />
<div class="description">The stop runlevel.</div>
</li>
<li>
<span title="/etc/vservers/vserver-name/apps/init/style" class="file">style</span>
<br />
<div class="description">
Contains the init-style.
</div>
</li>
<li>
<span title="/etc/vservers/vserver-name/apps/init/sync" class="boolean">sync</span>
<br />
<div class="description">
If this file is not present, all 'cmd.*-sync files will be ignored.
</div>
</li>
<li>
<span title="/etc/vservers/vserver-name/apps/init/tty" class="symlink">tty</span>
<br />
<div class="description">
A symlink to the TTY device where input/output will be redirected
from/to at startup via initscript.
</div>
</li>
</ul>
</li>
<li>
<span class="directory">/etc/vservers/<span class="symbolic">vserver-name</span>/<span class="">apps</span>/<span class="">vshelper</span>
</span>
<br />
<ul>
<li>
<span title="/etc/vservers/vserver-name/apps/vshelper/action" class="file">action</span>
<br />
<div class="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 'vshelper-methods' directories. These scripts are fed with
the same arguments as the 'vshelper' script.
</div>
</li>
<li>
<span title="/etc/vservers/vserver-name/apps/vshelper/debug" class="boolean">debug</span>
<br />
<div class="description">
When existing, the vshelper execution will be traced for this vserver.
</div>
</li>
<li>
<span title="/etc/vservers/vserver-name/apps/vshelper/disabled" class="boolean">disabled</span>
<br />
<div class="description">
When existing, the vshelper functionality will be disabled for this
vserver.
</div>
</li>
<li>
<span title="/etc/vservers/vserver-name/apps/vshelper/event" class="script">event</span>
<br />
<div class="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 'vshelper'; e.g. 'restart' or 'poweroff'. See
the vs_reboot() function in the kernel for more details.
</div>
</li>
<li>
<span title="/etc/vservers/vserver-name/apps/vshelper/sync-timeout" class="file">sync-timeout</span>
<br />
<div class="description">
The timeout in seconds which is used when synchronising vserver
startup/shutdown with the vshelper. When no set, 30 seconds will be
assumed.
</div>
</li>
<li>
<span title="/etc/vservers/vserver-name/apps/vshelper/warning-disabled" class="boolean">warning-disabled</span>
<br />
<div class="description">
When existing, sanity checks for the vshelper functionality will be
skipped.
</div>
</li>
</ul>
</li>
<li>
<span class="directory">/etc/vservers/<span class="symbolic">vserver-name</span>/<span class="">apps</span>/<span class="">vshelper-methods</span>
</span>
<br />
<ul>
<li>
<span title="/etc/vservers/vserver-name/apps/vshelper-methods/handler" class="script">handler</span>
<br />
<div class="description">
See vshelper/action.
</div>
</li>
</ul>
</li>
<li>
<span class="directory">/etc/vservers/<span class="symbolic">vserver-name</span>/<span class="">apps</span>/<span class="">vunify</span>
</span>
<br />
<div class="description">
This directory contains configuration data required for vserver
unification.
</div>
<ul>
<li>
<span title="/etc/vservers/vserver-name/apps/vunify/exclude" class="list">exclude</span>
<br />
<div class="description">
Static list of excluded files. This list supports an rsync syntax:
when a file is prefixed by '+', it is a candidate for unification;
when there is no prefix or a '-' it will be excluded. Shell-wildcards
are allowed for the filenames.
</div>
</li>
<li>
<span title="/etc/vservers/vserver-name/apps/vunify/refserver.X" class="symlink">refserver.X</span>
<br />
<div class="description">
These are symlinks to the configuration directory
(e.g. CONFDIR/vservers/<id>) of a refserver. There may be
multiple such symlinks but they must be prefixed by 'refserver.' and
will be processed in alphanumerical order.
</div>
</li>
</ul>
</li>
</ul>
</li>
<li>
<span class="directory">/etc/vservers/<span class="symbolic">vserver-name</span>/<span class="">interfaces</span>
</span>
<br />
<ul>
<li>
<span title="/etc/vservers/vserver-name/interfaces/bcast" class="file">bcast</span>
<br />
<div class="description">The default broadcast address.</div>
</li>
<li>
<span title="/etc/vservers/vserver-name/interfaces/dev" class="file">dev</span>
<br />
<div class="description">The default network device.</div>
</li>
<li>
<span title="/etc/vservers/vserver-name/interfaces/mask" class="file">mask</span>
<br />
<div class="description">The default network mask.</div>
</li>
<li>
<span title="/etc/vservers/vserver-name/interfaces/prefix" class="file">prefix</span>
<br />
<div class="description">The default network prefix-length.</div>
</li>
<li>
<span title="/etc/vservers/vserver-name/interfaces/scope" class="file">scope</span>
<br />
<div class="description">The default scope of the network interfaces.</div>
</li>
<li>
<span class="directory">/etc/vservers/<span class="symbolic">vserver-name</span>/<span class="">interfaces</span>/<span class="symbolic">iface</span>
</span>
<br />
<div class="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 'chbind'. Both happens in alphabetical order and numbers
like '00' are good names for these directories.
</div>
<ul>
<li>
<span title="/etc/vservers/vserver-name/interfaces/iface/bcast" class="file">bcast</span>
<br />
<div class="description">The broadcast address.</div>
</li>
<li>
<span title="/etc/vservers/vserver-name/interfaces/iface/dev" class="file">dev</span>
<br />
<div class="description">The network device.</div>
</li>
<li>
<span title="/etc/vservers/vserver-name/interfaces/iface/disabled" class="boolean">disabled</span>
<br />
<div class="description">When this file exists, this interface will be ignored.</div>
</li>
<li>
<span title="/etc/vservers/vserver-name/interfaces/iface/ip" class="file">ip</span>
<br />
<div class="description">The ip which will be assigned to this interface.</div>
</li>
<li>
<span title="/etc/vservers/vserver-name/interfaces/iface/mask" class="file">mask</span>
<br />
<div class="description">The network mask.</div>
</li>
<li>
<span title="/etc/vservers/vserver-name/interfaces/iface/name" class="file">name</span>
<br />
<div class="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 'ifconfig' but
by 'ip addr ls' only. Such a labeled interface is known as an "alias"
also (e.g. 'eth0:foo').
</div>
</li>
<li>
<span title="/etc/vservers/vserver-name/interfaces/iface/nodev" class="boolean">nodev</span>
<br />
<div class="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.
</div>
</li>
<li>
<span title="/etc/vservers/vserver-name/interfaces/iface/prefix" class="file">prefix</span>
<br />
<div class="description">The network prefix-length.</div>
</li>
<li>
<span title="/etc/vservers/vserver-name/interfaces/iface/scope" class="file">scope</span>
<br />
<div class="description">The scope of the network interface.</div>
</li>
</ul>
</li>
</ul>
</li>
<li>
<span class="directory">/etc/vservers/<span class="symbolic">vserver-name</span>/<span class="">rlimits</span>
</span>
<br />
<div class="description">
A directory with resource limits. Possible resources are cpu, fsize,
data, stack, core, rss, nproc, nofile, memlock, as and locks. This
configuration will be honored for kernel 2.6 only.
</div>
<ul>
<li>
<span title="/etc/vservers/vserver-name/rlimits/resource" class="file">resource</span>
<br />
<div class="description">
A file which contains the hard- and soft-limit of the given resource
in the first line. The special keyword 'inf' is recognized.
</div>
</li>
<li>
<span title="/etc/vservers/vserver-name/rlimits/resource.hard" class="file">resource.hard</span>
<br />
<div class="description">
A file which contains the hard- of the given resource in the first
line. The special keyword 'inf' is recognized.
</div>
</li>
<li>
<span title="/etc/vservers/vserver-name/rlimits/resource.min" class="file">resource.min</span>
<br />
<div class="description">
A file which contains the guaranted minimum of the given resource in
the first line. The special keyword 'inf' is recognized.
</div>
</li>
<li>
<span title="/etc/vservers/vserver-name/rlimits/resource.soft" class="file">resource.soft</span>
<br />
<div class="description">
A file which contains the soft- of the given resource in the first
line. The special keyword 'inf' is recognized.
</div>
</li>
</ul>
</li>
<li>
<span class="directory">/etc/vservers/<span class="symbolic">vserver-name</span>/<span class="">scripts</span>
</span>
<br />
<div class="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).
</div>
<ul>
<li>
<span title="/etc/vservers/vserver-name/scripts/postpost-stop" class="script">postpost-stop</span>
<br />
<div class="description">
The scriptlet which will be executed after the vserver has been stopped
completely.
</div>
</li>
<li>
<span title="/etc/vservers/vserver-name/scripts/post-start" class="script">post-start</span>
<br />
<div class="description">
The scriptlet which will be executed after the vserver has been started.
</div>
</li>
<li>
<span title="/etc/vservers/vserver-name/scripts/post-stop" class="script">post-stop</span>
<br />
<div class="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.
</div>
</li>
<li>
<span title="/etc/vservers/vserver-name/scripts/prepre-start" class="script">prepre-start</span>
<br />
<div class="description">
The scriptlet which will be executed before the network-interfaces are
enabled and the directories are mounted."
</div>
</li>
<li>
<span title="/etc/vservers/vserver-name/scripts/pre-start" class="script">pre-start</span>
<br />
<div class="description">
The scriptlet which will be executed after network-interfaces were
enabled and the directories mounted, but before the vserver itself has
been started.
</div>
</li>
<li>
<span title="/etc/vservers/vserver-name/scripts/pre-stop" class="script">pre-stop</span>
<br />
<div class="description">
The scriptlet which will be executed before the vserver will be stopped.
</div>
</li>
<li>
<span class="directory">/etc/vservers/<span class="symbolic">vserver-name</span>/<span class="">scripts</span>/<span class="">postpost-stop.d</span>
</span>
<br />
<div class="description">Repository of postpost-stop like scripts</div>
<ul>
<li>
<span title="/etc/vservers/vserver-name/scripts/postpost-stop.d/script" class="script">script</span>
<br />
<div class="description">See postpost-stop.</div>
</li>
</ul>
</li>
<li>
<span class="directory">/etc/vservers/<span class="symbolic">vserver-name</span>/<span class="">scripts</span>/<span class="">post-start.d</span>
</span>
<br />
<div class="description">Repository of post-start like scripts</div>
<ul>
<li>
<span title="/etc/vservers/vserver-name/scripts/post-start.d/script" class="script">script</span>
<br />
<div class="description">See post-start.</div>
</li>
</ul>
</li>
<li>
<span class="directory">/etc/vservers/<span class="symbolic">vserver-name</span>/<span class="">scripts</span>/<span class="">post-stop.d</span>
</span>
<br />
<div class="description">Repository of post-stop like scripts</div>
<ul>
<li>
<span title="/etc/vservers/vserver-name/scripts/post-stop.d/script" class="script">script</span>
<br />
<div class="description">See post-stop.</div>
</li>
</ul>
</li>
<li>
<span class="directory">/etc/vservers/<span class="symbolic">vserver-name</span>/<span class="">scripts</span>/<span class="">prepre-start.d</span>
</span>
<br />
<div class="description">
Repository of prepre-start like scripts
</div>
<ul>
<li>
<span title="/etc/vservers/vserver-name/scripts/prepre-start.d/script" class="script">script</span>
<br />
<div class="description">See prepre-start.</div>
</li>
</ul>
</li>
<li>
<span class="directory">/etc/vservers/<span class="symbolic">vserver-name</span>/<span class="">scripts</span>/<span class="">pre-start.d</span>
</span>
<br />
<div class="description">
Repository of pre-start like scripts
</div>
<ul>
<li>
<span title="/etc/vservers/vserver-name/scripts/pre-start.d/script" class="script">script</span>
<br />
<div class="description">See pre-start.</div>
</li>
</ul>
</li>
<li>
<span class="directory">/etc/vservers/<span class="symbolic">vserver-name</span>/<span class="">scripts</span>/<span class="">pre-stop.d</span>
</span>
<br />
<div class="description">
Repository of pre-stop like scripts
</div>
<ul>
<li>
<span title="/etc/vservers/vserver-name/scripts/pre-stop.d/script" class="script">script</span>
<br />
<div class="description">See pre-stop.</div>
</li>
</ul>
</li>
</ul>
</li>
<li>
<span class="directory">/etc/vservers/<span class="symbolic">vserver-name</span>/<span class="">ulimits</span>
</span>
<br />
<div class="description">
A directory with ulimits. Possible resources are cpu, data, fsize,
locks, memlock, nofile, nproc, rss and/or stack. This configuration
will be honored for kernel 2.4 only.
</div>
<ul>
<li>
<span title="/etc/vservers/vserver-name/ulimits/resource" class="file">resource</span>
<br />
<div class="description">
A file which contains the hard- and soft-limit of the given resource
in the first line. The special keyword 'inf' is recognized.
</div>
</li>
<li>
<span title="/etc/vservers/vserver-name/ulimits/resource.hard" class="file">resource.hard</span>
<br />
<div class="description">
A file which contains the hard- of the given resource in the first
line. The special keyword 'inf' is recognized.
</div>
</li>
<li>
<span title="/etc/vservers/vserver-name/ulimits/resource.soft" class="file">resource.soft</span>
<br />
<div class="description">
A file which contains the soft- of the given resource in the first
line. The special keyword 'inf' is recognized.
</div>
</li>
</ul>
</li>
<li>
<span class="directory">/etc/vservers/<span class="symbolic">vserver-name</span>/<span class="">uts</span>
</span>
<br />
<ul>
<li>
<span title="/etc/vservers/vserver-name/uts/context" class="file">context</span>
<br />
<div class="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.
</div>
</li>
<li>
<span title="/etc/vservers/vserver-name/uts/domainname" class="file">domainname</span>
<br />
<div class="description">The NIS domainname of the vserver</div>
</li>
<li>
<span title="/etc/vservers/vserver-name/uts/machine" class="file">machine</span>
<br />
<div class="description">The machine-type of the vserver</div>
</li>
<li>
<span title="/etc/vservers/vserver-name/uts/nodename" class="file">nodename</span>
<br />
<div class="description">The node-/hostname of the vserver</div>
</li>
<li>
<span title="/etc/vservers/vserver-name/uts/release" class="file">release</span>
<br />
<div class="description">The OS-release of the vserver</div>
</li>
<li>
<span title="/etc/vservers/vserver-name/uts/sysname" class="file">sysname</span>
<br />
<div class="description">The sysname of the vserver</div>
</li>
<li>
<span title="/etc/vservers/vserver-name/uts/version" class="file">version</span>
<br />
<div class="description">The OS-version of the vserver</div>
</li>
</ul>
</li>
</ul>
</li>
<li>
<span class="directory">/etc/vservers/<span class="">.defaults</span>
</span>
<br />
<ul>
<li>
<span title="/etc/vservers/.defaults/nonamespace" class="boolean">nonamespace</span>
<br />
<div class="description">
Disable namespace usage globally. It can be overridden for a single
vserver by setting the 'namespace' flag there.
In this mode the /vservers directory must have the 'barrier'
attribute. Else, common chroot(2) exploits are possible.
</div>
</li>
<li>
<span title="/etc/vservers/.defaults/run.rev" class="symlink">run.rev</span>
<br />
<div class="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.
</div>
</li>
<li>
<span title="/etc/vservers/.defaults/vdirbase" class="symlink">vdirbase</span>
<br />
<div class="description">A link to the default vserver rootdirectory.</div>
</li>
<li>
<span class="directory">/etc/vservers/<span class="">.defaults</span>/<span class="">apps</span>
</span>
<br />
<ul>
<li>
<span class="directory">/etc/vservers/<span class="">.defaults</span>/<span class="">apps</span>/<span class="">debootstrap</span>
</span>
<br />
<ul>
<li>
<span title="/etc/vservers/.defaults/apps/debootstrap/mirror" class="file">mirror</span>
<br />
<div class="description">
The Debian mirror to use with the 'debootstrap' program
</div>
</li>
<li>
<span title="/etc/vservers/.defaults/apps/debootstrap/uri" class="file">uri</span>
<br />
<div class="description">
When the 'debootstrap' package is not installed; fetch it from this
uri and install it at a temporary place.
</div>
</li>
</ul>
</li>
<li>
<span class="directory">/etc/vservers/<span class="">.defaults</span>/<span class="">apps</span>/<span class="">init</span>
</span>
<br />
<ul>
<li>
<span title="/etc/vservers/.defaults/apps/init/tty" class="symlink">tty</span>
<br />
<div class="description">
A symlink to the TTY device where input/output will be redirected from/to
at startup via initscript.
</div>
</li>
</ul>
</li>
<li>
<span class="directory">/etc/vservers/<span class="">.defaults</span>/<span class="">apps</span>/<span class="">pkgmgmt</span>
</span>
<br />
<ul>
<li>
<span title="/etc/vservers/.defaults/apps/pkgmgmt/apt.conf" class="data">apt.conf</span>
<br />
<div class="description">The default apt.conf which is going to be used. It is overridden by
distribution specific configuration file.
</div>
</li>
<li>
<span title="/etc/vservers/.defaults/apps/pkgmgmt/base" class="symlink">base</span>
<br />
</li>
</ul>
</li>
<li>
<span class="directory">/etc/vservers/<span class="">.defaults</span>/<span class="">apps</span>/<span class="">vprocunhide</span>
</span>
<br />
<ul>
<li>
<span title="/etc/vservers/.defaults/apps/vprocunhide/files" class="list">files</span>
<br />
<div class="description">
A list of files which will be made visibly 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'.
</div>
</li>
</ul>
</li>
<li>
<span class="directory">/etc/vservers/<span class="">.defaults</span>/<span class="">apps</span>/<span class="">vshelper</span>
</span>
<br />
<ul>
<li>
<span title="/etc/vservers/.defaults/apps/vshelper/debug" class="boolean">debug</span>
<br />
<div class="description">
When existing, the vshelper execution will be traced.
</div>
</li>
<li>
<span title="/etc/vservers/.defaults/apps/vshelper/disabled" class="boolean">disabled</span>
<br />
<div class="description">
When existing, the vshelper functionality will be disabled for all
vservers.
</div>
</li>
<li>
<span title="/etc/vservers/.defaults/apps/vshelper/logfile" class="symlink">logfile</span>
<br />
<div class="description">
The file where output will be logged to when 'vshelper' is invoked
from the kernel. This should point somewhere e.g. into /var/log.
</div>
</li>
<li>
<span title="/etc/vservers/.defaults/apps/vshelper/warning-disabled" class="boolean">warning-disabled</span>
<br />
<div class="description">
When existing, sanity checks for the vshelper functionality will be
skipped.
</div>
</li>
<li>
<span class="directory">/etc/vservers/<span class="">.defaults</span>/<span class="">apps</span>/<span class="">vshelper</span>/<span class="">vshelper-methods</span>
</span>
<br />
<ul>
<li>
<span title="/etc/vservers/.defaults/apps/vshelper/vshelper-methods/handler" class="script">handler</span>
<br />
<div class="description">
See vshelper/action.
</div>
</li>
</ul>
</li>
</ul>
</li>
<li>
<span class="directory">/etc/vservers/<span class="">.defaults</span>/<span class="">apps</span>/<span class="">vunify</span>
</span>
<br />
<ul>
<li>
<span title="/etc/vservers/.defaults/apps/vunify/exclude" class="list">exclude</span>
<br />
<div class="description">Static list of excluded files.</div>
</li>
</ul>
</li>
</ul>
</li>
<li>
<span class="directory">/etc/vservers/<span class="">.defaults</span>/<span class="fixed">init</span>
</span>
<br />
<ul>
<li>
<span title="/etc/vservers/.defaults/init/mtab" class="data">mtab</span>
<br />
<div class="description">Default mtab file</div>
</li>
</ul>
</li>
</ul>
</li>
<li>
<span class="directory">/etc/vservers/<span class="">.distributions</span>
</span>
<br />
<ul>
<li>
<span class="directory">/etc/vservers/<span class="">.distributions</span>/<span class="symbolic">dist</span>
</span>
<br />
<ul>
<li>
<span title="/etc/vservers/.distributions/dist/apt.conf" class="data">apt.conf</span>
<br />
<div class="description">
The default apt.conf which is going to be used. It overrides the
apt.conf from CONFDIR/.defaults/apps/pkgmgmt.
</div>
</li>
<li>
<span title="/etc/vservers/.distributions/dist/dev" class="file">dev</span>
<br />
<div class="description" />
</li>
<li>
<span title="/etc/vservers/.distributions/dist/execdir" class="symlink">execdir</span>
<br />
<div class="description">
Directory with all executables and libraries which are required for
this distribution.
</div>
</li>
<li>
<span title="/etc/vservers/.distributions/dist/initpost" class="script">initpost</span>
<br />
<div class="description">
Script which will be executed after packages are installed.
</div>
</li>
<li>
<span title="/etc/vservers/.distributions/dist/initpre" class="script">initpre</span>
<br />
<div class="description">
Script which will be executed before packages will be installed.
</div>
</li>
<li>
<span title="/etc/vservers/.distributions/dist/rpmlib" class="symlink">rpmlib</span>
<br />
<div class="description">
Directory which overrides /usr/lib/rpm.
</div>
</li>
<li>
<span class="directory">/etc/vservers/<span class="">.distributions</span>/<span class="symbolic">dist</span>/<span class="">apt</span>
</span>
<br />
<div class="description">
Default content of the /etc/apt/ directory.
</div>
</li>
<li>
<span class="directory">/etc/vservers/<span class="">.distributions</span>/<span class="symbolic">dist</span>/<span class="">pkgs</span>
</span>
<br />
<div class="description">
Contains files with packages.
</div>
<ul>
<li>
<span title="/etc/vservers/.distributions/dist/pkgs/list" class="list">list</span>
<br />
<div class="description">
File which contains the name of packages. On top of file the special
keywords '--reinstall' and '--can-fail' are possible.
</div>
</li>
</ul>
</li>
<li>
<span class="directory">/etc/vservers/<span class="">.distributions</span>/<span class="symbolic">dist</span>/<span class="">pubkeys</span>
</span>
<br />
<div class="description">
Directory with GPG pubkeys which are used to sign the packages of this
distribution.
</div>
</li>
<li>
<span class="directory">/etc/vservers/<span class="">.distributions</span>/<span class="symbolic">dist</span>/<span class="">rpm</span>
</span>
<br />
<div class="description">
Default content of the /etc/rpm directory.
</div>
</li>
<li>
<span class="directory">/etc/vservers/<span class="">.distributions</span>/<span class="symbolic">dist</span>/<span class="">yum</span>
</span>
<br />
<div class="description">
The default, yum-related content of the /etc directory.
</div>
<ul>
<li>
<span title="/etc/vservers/.distributions/dist/yum/yum.conf" class="file">yum.conf</span>
<br />
<div class="description">
The master yum configuration file. It supports the @YUMETCDIR@,
@YUMCACHEDIR@ and @YUMLOGDIR@ placeholder which will be replaced at
'vserver ... build' time.
</div>
</li>
</ul>
</li>
<li>
<span class="directory">/etc/vservers/<span class="">.distributions</span>/<span class="symbolic">dist</span>/<span class="">yum.repos.d</span>
</span>
<br />
<div class="description">A directory with yum repositories.</div>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</body>
</html>
|