X-Git-Url: http://git.onelab.eu/?p=util-vserver.git;a=blobdiff_plain;f=doc%2Fconfiguration.html;h=e82d9e8c9af6f7ad6bd80b5165845f8c2ade63fd;hp=5fced83be59d59d10505def3dcbf73172098ca3a;hb=2822ba293eb308225c50d346930c47bf98d9927b;hpb=2894fc5a4c8335e4d7221311fed0556f33f8047c diff --git a/doc/configuration.html b/doc/configuration.html index 5fced83..e82d9e8 100644 --- a/doc/configuration.html +++ b/doc/configuration.html @@ -4,11 +4,11 @@ The /etc/vservers directory - + - +

The content of the /etc/vservers directory

@@ -17,21 +17,6 @@ /etc/vservers/.defaults
-
  • - /etc/vservers/.defaults/interfaces -
    - -
  • @@ -425,16 +366,9 @@ The configuration directory for the vserver vserver-name. bcapabilities
    -Contains the system capabilities. See -lib/bcaps-v13.c +[experimental; name is subject of possible change] Contains the system capabilities. See +lib/bcaps-v13.c for possible values. -
    -
  • -
  • - cache -
    -
    -Path of the storage area for cached information about this vserver.
  • @@ -449,7 +383,8 @@ only; for 2.6 use bcapabilities. ccapabilities
    -Contains the context capabilities. See lib/ccaps-v13.c +[experimental; name is subject of possible change] Contains the +context capabilities. See lib/ccaps-v13.c for possible values.
  • @@ -464,9 +399,54 @@ Contains the context which shall be used for the vserver. flags
    -Contains per line a flag. See lib/cflags-v13.c +Contains per line a flag. See lib/cflags-v13.c for possible values.
    +
    +
    +
    fakeinit
    +
    +
    +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. +
    +
    +
    lock
    +
    +
    +The new process is trapped and can't use chcontext anymore. +
    +
    +
    nproc
    +
    +
    +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. +
    +
    +
    private
    +
    +
    +No one can join this security context once created. +
    +
    +
    sched
    +
    +
    +The new process and its children will share a common +
    +
    +
    ulimit
    +
    +
    +Apply the current ulimit to the whole context +
    +
    +
    +
  • fstab @@ -503,39 +483,6 @@ will be assumed as this name.
    Overrides the global nonamespace flag and enables namespace usage for the current vserver. -
    -
  • -
  • - namespace-cleanup -
    -
    -Overrides the global nonamespace-cleanup flag and enables -namespace cleanup for the current vserver. -
    -
  • -
  • - namespace-cleanup-skip -
    -
    -List of paths to skip during namespace cleanup. This overrides the global -namespace-cleanup-skip -file. -
    -
  • -
  • - ncapabilities -
    -
    -Contains the network capabilities. See lib/ncaps-net.c -for possible values. -
    -
  • -
  • - nflags -
    -
    -Contains a network flag per line. See lib/nflags-net.c -for possible values.
  • @@ -577,7 +524,7 @@ the vserver is stopped, this can be a dangling symlink. schedule
    -[deprecated; use sched instead] Contains the +[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 @@ -588,9 +535,6 @@ 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 Linux -VServer Wiki for more information about this file.
  • @@ -605,7 +549,7 @@ Contains the pathname of the shell which will be used by the "vserver vdir
    -Path of the vserver root directory. +Path of the vserver root directory
  • @@ -669,14 +613,6 @@ 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). -
  • -
  • - environment -
    -
    -The environment to set when starting the guest. Contains one VAR=VAL -pair per line. -
  • killseq @@ -785,7 +721,7 @@ the vs_reboot() function in the kernel for more details.
    The timeout in seconds which is used when synchronising vserver -startup/shutdown with the vshelper. When not set, 30 seconds will be +startup/shutdown with the vshelper. When no set, 30 seconds will be assumed.
  • @@ -889,74 +825,6 @@ filesystem. -
  • - /etc/vservers/vserver-name/cpuset -
    - -
  • -
  • - /etc/vservers/vserver-name/dlimits -
    - -
  • /etc/vservers/vserver-name/interfaces
    @@ -976,16 +844,6 @@ filesystem.
    The default network mask.
  • -
  • - novlandev -
    -
    -When this file exists, the steps which setup and destroy a VLAN -interface will be skipped. This overrides the global -vlandev setting for -this vserver. -
    -
  • prefix
    @@ -996,14 +854,6 @@ this vserver.
    The default scope of the network interfaces.
  • -
  • - vlandev -
    -
    -When this file exists, the steps which setup and destroy a VLAN -interface will be executed for all interfaces of this vserver. -
    -
  • /etc/vservers/vserver-name/interfaces/iface
    @@ -1056,16 +906,6 @@ a labeled interface is known as an "alias" also (e.g. 'eth0:foo'). 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. - -
  • -
  • - novlandev -
    -
    -When this file exists, the steps which setup and destroy a VLAN -interface will be skipped. This will override the global -vlandev and the per-guest -vlandev.
  • @@ -1078,14 +918,6 @@ interface will be skipped. This will override the global
    The scope of the network interface.
  • -
  • - vlandev -
    -
    -When this file exists, the steps which setup and destroy a VLAN -interface will be executed. -
    -
  • @@ -1095,8 +927,7 @@ interface will be executed.
    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 +data, stack, core, rss, nproc, nofile, memlock, as and locks. This configuration will be honored for kernel 2.6 only.
    -
  • - /etc/vservers/vserver-name/sched -
    - -
  • /etc/vservers/vserver-name/scripts
    @@ -1258,15 +976,6 @@ environment variable must be set by one of the in-shellcontext scripts (the non-executable ones).