tof:computer:vserver:upstart_ubuntu_lucid
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
tof:computer:vserver:upstart_ubuntu_lucid [12/07/2010 17:18] – Christophe Boyanique | tof:computer:vserver:upstart_ubuntu_lucid [13/07/2010 11:58] (Version actuelle) – Christophe Boyanique | ||
---|---|---|---|
Ligne 2: | Ligne 2: | ||
This tweak is inspired by [[http:// | This tweak is inspired by [[http:// | ||
- | |||
- | Stopping the vserver does not (yet) work correctly: init do not stop services and all processes are killed after a timeout by vserver utils: | ||
- | < | ||
- | # vserver < | ||
- | A timeout occured while waiting for the vserver to finish and it will | ||
- | be killed by sending a SIGKILL signal. The following process list | ||
- | might be useful for finding out the reason of this behavior: | ||
- | |||
- | ---------------------------------------------------------------------- | ||
- | 15816 153 < | ||
- | 15835 153 < | ||
- | 15838 153 < | ||
- | 15847 153 < | ||
- | 15955 153 < | ||
- | -------------------------------------------------------------------- | ||
- | </ | ||
- | |||
- | The vserver can be stopped cleanly by going to level 0 in the vserver: | ||
- | < | ||
- | vserver < | ||
- | </ | ||
- | |||
- | < | ||
- | 19:57 < | ||
- | | ||
- | 19:58 < | ||
- | | ||
- | 19:59 < | ||
- | down | ||
- | 19:59 < | ||
- | 20:00 < | ||
- | 20:01 < | ||
- | </ | ||
===== Choose plain init style ===== | ===== Choose plain init style ===== | ||
Ligne 65: | Ligne 32: | ||
upstart-udev-bridge ureadahead-other ureadahead; do mv / | upstart-udev-bridge ureadahead-other ureadahead; do mv / | ||
/ | / | ||
+ | </ | ||
+ | |||
+ | Be carefull to keep the '' | ||
+ | |||
+ | < | ||
+ | 20:00 < | ||
+ | 20:01 < | ||
</ | </ | ||
Ligne 142: | Ligne 116: | ||
# *.=debug; | # *.=debug; | ||
# *.=notice; | # *.=notice; | ||
+ | </ | ||
+ | |||
+ | |||
+ | ===== Tweak ssh configuration ===== | ||
+ | |||
+ | In ''/ | ||
+ | |||
+ | < | ||
+ | # replaces SSHD_OOM_ADJUST in / | ||
+ | #oom never | ||
</ | </ | ||
===== Create the console device ===== | ===== Create the console device ===== | ||
- | Missing of ''/ | + | Missing of ''/ |
< | < | ||
- | # mknod --mode=600 / | + | 19:57 <@Bertl> well, regarding |
+ | | ||
+ | 19:58 < | ||
+ | | ||
</ | </ | ||
+ | |||
+ | I use '' | ||
+ | |||
+ | < | ||
+ | # mknod --mode=600 / | ||
+ | </ | ||
+ | |||
+ | |||
+ | If you want to troubleshot from outside the vserver you can use for example '' | ||
+ | |||
+ | < | ||
+ | # mknod --mode=600 / | ||
+ | </ | ||
+ | |||
===== Install dbus ===== | ===== Install dbus ===== |
tof/computer/vserver/upstart_ubuntu_lucid.1278947886.txt.gz · Dernière modification : 12/07/2010 17:18 de Christophe Boyanique