Hi, After a long long hunt, we finally tackled #598387, which was giving the impression of a bad memory leak in DTC-Xen. Full explanation of the issue is in the BTS here:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=598387 The new version also includes a bit more of text display in the dtc-xen console (just addition of some echo so it's more user friendly when someone connects to the tty1 of his VM, which I think can be seen as additional documentation), and an updated Portuguese translation for debconf messages. Diff is attached. Note that we've been running the new patched version in production for few days already, and didn't find any issue: the process never takes more than 3/4 megs of RAM as it always should have (after some xm stop/start, with the 0.5.11 bug, DTC-Xen could take hundreds of megs after a week or two of "xm list" output wrongly stored in an internal variable...). Please unblock this 0.5.13-1 bugfix, #598387 really needs to be fixed. Thomas Goirand (zigo)
diff -u -r dtc-xen-0.5.11/debian/changelog dtc-xen-0.5.13/debian/changelog --- dtc-xen-0.5.11/debian/changelog 2010-10-02 23:07:08.000000000 +0800 +++ dtc-xen-0.5.13/debian/changelog 2010-10-02 23:07:14.000000000 +0800 @@ -1,3 +1,24 @@ +dtc-xen (0.5.13-1) unstable; urgency=low + + * New upstream version fixing: + - The last upgrade made xm start/stop/shutdown not working at all, + so we now remove completely the stdout/stderr trick. It wont be + reporting issues, but at least it will work (Closes: #598387). + + -- Thomas Goirand <[email protected]> Wed, 29 Sep 2010 21:50:02 +0800 + +dtc-xen (0.5.12-1) unstable; urgency=low + + * New "upstream" (here maintainer==upstream) release fixing: + - Added generation of the en_US.UTF-8 locales if debian. + - Added a warning message in the dtc-xen_userconsole. + - Added wheezy as possible install target of dtc-xen. + - Fixed dtc-xen loosing stdout/stderr, which lead to dtc-xen memory filled + with xm list output and datacollector thread not working. + * Now using my Debian email address as maintainer. + + -- Thomas Goirand <[email protected]> Wed, 29 Sep 2010 00:25:28 +0800 + dtc-xen (0.5.11-1) unstable; urgency=low * New upstream release including the following fixes/improvements: diff -u -r dtc-xen-0.5.11/debian/control dtc-xen-0.5.13/debian/control --- dtc-xen-0.5.11/debian/control 2010-10-02 23:07:08.000000000 +0800 +++ dtc-xen-0.5.13/debian/control 2010-10-02 23:07:14.000000000 +0800 @@ -1,7 +1,7 @@ Source: dtc-xen Section: web Priority: extra -Maintainer: Thomas Goirand <[email protected]> +Maintainer: Thomas Goirand <[email protected]> Build-Depends: debhelper (>= 5), po-debconf Standards-Version: 3.8.4 Dm-Upload-Allowed: yes diff -u -r dtc-xen-0.5.11/debian/dtc-xen.templates dtc-xen-0.5.13/debian/dtc-xen.templates --- dtc-xen-0.5.11/debian/dtc-xen.templates 2010-10-02 23:07:08.000000000 +0800 +++ dtc-xen-0.5.13/debian/dtc-xen.templates 2010-10-02 23:07:14.000000000 +0800 @@ -115,7 +115,7 @@ Template: dtc-xen/conf_debian_release Type: select -Choices: etch, lenny, squeeze, sid +Choices: etch, lenny, squeeze, wheezy, sid Default: squeeze _Description: Debian os to setup: Select the Debian operating system that you want to have setup when dtc-xen diff -u -r dtc-xen-0.5.11/debian/po/ar.po dtc-xen-0.5.13/debian/po/ar.po --- dtc-xen-0.5.11/debian/po/ar.po 2010-10-02 23:07:08.000000000 +0800 +++ dtc-xen-0.5.13/debian/po/ar.po 2010-10-02 23:07:14.000000000 +0800 @@ -7,10 +7,11 @@ msgstr "" "Project-Id-Version: ar\n" "Report-Msgid-Bugs-To: [email protected]\n" -"POT-Creation-Date: 2009-07-16 05:42+0800\n" +"POT-Creation-Date: 2010-09-29 14:06+0000\n" "PO-Revision-Date: 2009-04-27 11:41+0300\n" "Last-Translator: Ossama M. Khayat <[email protected]>\n" "Language-Team: Arabic <[email protected]>\n" +"Language: ar\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -166,11 +167,12 @@ #. Description #: ../dtc-xen.templates:8001 msgid "" -"A kernel domU with that name must be located in /boot (example: vmlinuz-" -"2.6.16.27-xenU) and its corresponding modules must be in /lib/modules." +"A kernel domU with that name must be located in /boot (example: " +"vmlinuz-2.6.16.27-xenU) and its corresponding modules must be in /lib/" +"modules." msgstr "" -"ÙØ¬Ø¨ Ø£Ù ÙÙÙÙ ÙÙØ§Ù ÙÙØ§Ø© تØÙ ٠اس٠اÙÙØ·Ø§Ù domU ÙÙ Ø§ÙØ¯ÙÙÙ /boot. Ù Ø«ÙØ§Ù: vmlinuz-" -"2.6.16.27-xenU ÙØªÙÙ٠اÙÙØØ¯Ø§Øª Ø§ÙØ®Ø§ØµØ© Ø¨ÙØ§ ÙÙ /lib/modules." +"ÙØ¬Ø¨ Ø£Ù ÙÙÙÙ ÙÙØ§Ù ÙÙØ§Ø© تØÙ ٠اس٠اÙÙØ·Ø§Ù domU ÙÙ Ø§ÙØ¯ÙÙÙ /boot. Ù Ø«ÙØ§Ù: " +"vmlinuz-2.6.16.27-xenU ÙØªÙÙ٠اÙÙØØ¯Ø§Øª Ø§ÙØ®Ø§ØµØ© Ø¨ÙØ§ ÙÙ /lib/modules." #. Type: string #. Description diff -u -r dtc-xen-0.5.11/debian/po/cs.po dtc-xen-0.5.13/debian/po/cs.po --- dtc-xen-0.5.11/debian/po/cs.po 2010-10-02 23:07:08.000000000 +0800 +++ dtc-xen-0.5.13/debian/po/cs.po 2010-10-02 23:07:14.000000000 +0800 @@ -6,10 +6,11 @@ msgstr "" "Project-Id-Version: dtc-xen 0.3.27-1\n" "Report-Msgid-Bugs-To: [email protected]\n" -"POT-Creation-Date: 2009-07-16 05:42+0800\n" +"POT-Creation-Date: 2010-09-29 14:06+0000\n" "PO-Revision-Date: 2009-06-07 14:13+0200\n" "Last-Translator: Michal Simunek <[email protected]>\n" "Language-Team: Czech <[email protected]>\n" +"Language: cs\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -164,8 +165,9 @@ #. Description #: ../dtc-xen.templates:8001 msgid "" -"A kernel domU with that name must be located in /boot (example: vmlinuz-" -"2.6.16.27-xenU) and its corresponding modules must be in /lib/modules." +"A kernel domU with that name must be located in /boot (example: " +"vmlinuz-2.6.16.27-xenU) and its corresponding modules must be in /lib/" +"modules." msgstr "" "Jádro domU s tÃmto jménem se musà nacházet v /boot (napÅ.: vmlinuz-2.6.16.27-" "xenU) a souvisejÃcà moduly musà být v /lib/modules." diff -u -r dtc-xen-0.5.11/debian/po/de.po dtc-xen-0.5.13/debian/po/de.po --- dtc-xen-0.5.11/debian/po/de.po 2010-10-02 23:07:08.000000000 +0800 +++ dtc-xen-0.5.13/debian/po/de.po 2010-10-02 23:07:14.000000000 +0800 @@ -6,10 +6,11 @@ msgstr "" "Project-Id-Version: dtc-xen 0.4.0-1\n" "Report-Msgid-Bugs-To: [email protected]\n" -"POT-Creation-Date: 2009-07-16 05:42+0800\n" +"POT-Creation-Date: 2010-09-29 14:06+0000\n" "PO-Revision-Date: 2009-04-13 22:17+0200\n" "Last-Translator: Helge Kreutzmann <[email protected]>\n" "Language-Team: de <[email protected]>\n" +"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-15\n" "Content-Transfer-Encoding: 8bit\n" @@ -167,8 +168,9 @@ #. Description #: ../dtc-xen.templates:8001 msgid "" -"A kernel domU with that name must be located in /boot (example: vmlinuz-" -"2.6.16.27-xenU) and its corresponding modules must be in /lib/modules." +"A kernel domU with that name must be located in /boot (example: " +"vmlinuz-2.6.16.27-xenU) and its corresponding modules must be in /lib/" +"modules." msgstr "" "Ein Kernel domU mit diesem Namen muss sich in /boot befinden (Beispiel: " "2.6.16.27-xenU) und die zugehörigen Module müssen in /lib/modules liegen." @@ -195,7 +197,8 @@ #. Description #: ../dtc-xen.templates:10001 msgid "Volume group to create VPS in:" -msgstr "Datenträgergruppe (»volume group«) in der der VPS erstellt werden soll:" +msgstr "" +"Datenträgergruppe (»volume group«) in der der VPS erstellt werden soll:" #. Type: string #. Description diff -u -r dtc-xen-0.5.11/debian/po/es.po dtc-xen-0.5.13/debian/po/es.po --- dtc-xen-0.5.11/debian/po/es.po 2010-10-02 23:07:08.000000000 +0800 +++ dtc-xen-0.5.13/debian/po/es.po 2010-10-02 23:07:14.000000000 +0800 @@ -32,10 +32,11 @@ msgstr "" "Project-Id-Version: dtc-xen 0.3.24-1\n" "Report-Msgid-Bugs-To: [email protected]\n" -"POT-Creation-Date: 2009-07-16 05:42+0800\n" +"POT-Creation-Date: 2010-09-29 14:06+0000\n" "PO-Revision-Date: 2009-01-01 13:39+0100\n" "Last-Translator: Francisco Javier Cuadrado <[email protected]>\n" "Language-Team: Debian l10n Spanish <[email protected]>\n" +"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -194,8 +195,9 @@ #. Description #: ../dtc-xen.templates:8001 msgid "" -"A kernel domU with that name must be located in /boot (example: vmlinuz-" -"2.6.16.27-xenU) and its corresponding modules must be in /lib/modules." +"A kernel domU with that name must be located in /boot (example: " +"vmlinuz-2.6.16.27-xenU) and its corresponding modules must be in /lib/" +"modules." msgstr "" "Un núcleo domU con ese nombre se ubicará en el directorio «/boot» (por " "ejemplo: vmlinuz-2.6.16.27-xenU) y sus correspondientes módulos estarán en " @@ -267,8 +269,9 @@ "that users can login to the physical console." msgstr "" "Este script eliminará las redirecciones de puertos del actual archivo " -"«sshd_config» y añadirá los permisos de acceso al grupo xenusers a la consola " -"xm de modo que los usuarios puedan identificarse en la consola fÃsica." +"«sshd_config» y añadirá los permisos de acceso al grupo xenusers a la " +"consola xm de modo que los usuarios puedan identificarse en la consola " +"fÃsica." #. Type: note #. Description @@ -359,9 +362,9 @@ #~ "being the VPS number itself (xenYY), and XXXX being the Xen server " #~ "number. This node number must be 4 or 5 characters long." #~ msgstr "" -#~ "Asumiendo que este valor es «XXXX», los números del VPS serán «xenXXXXYY», " -#~ "siendo YY el número del VPS (xenYY), y XXXX el número del servidor Xen. " -#~ "Este número de nodo debe tener 4 o 5 caracteres de longitud." +#~ "Asumiendo que este valor es «XXXX», los números del VPS serán " +#~ "«xenXXXXYY», siendo YY el número del VPS (xenYY), y XXXX el número del " +#~ "servidor Xen. Este número de nodo debe tener 4 o 5 caracteres de longitud." #~ msgid "" #~ "As a consequence of this choice, the server's hostname will be nodeXXXX." diff -u -r dtc-xen-0.5.11/debian/po/fi.po dtc-xen-0.5.13/debian/po/fi.po --- dtc-xen-0.5.11/debian/po/fi.po 2010-10-02 23:07:08.000000000 +0800 +++ dtc-xen-0.5.13/debian/po/fi.po 2010-10-02 23:07:14.000000000 +0800 @@ -6,10 +6,11 @@ msgstr "" "Project-Id-Version: dtc-xen\n" "Report-Msgid-Bugs-To: [email protected]\n" -"POT-Creation-Date: 2009-07-16 05:42+0800\n" +"POT-Creation-Date: 2010-09-29 14:06+0000\n" "PO-Revision-Date: 2009-05-23 20:35+0300\n" "Last-Translator: Esko Arajärvi <[email protected]>\n" "Language-Team: Finnish <[email protected]>\n" +"Language: fi\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -163,8 +164,9 @@ #. Description #: ../dtc-xen.templates:8001 msgid "" -"A kernel domU with that name must be located in /boot (example: vmlinuz-" -"2.6.16.27-xenU) and its corresponding modules must be in /lib/modules." +"A kernel domU with that name must be located in /boot (example: " +"vmlinuz-2.6.16.27-xenU) and its corresponding modules must be in /lib/" +"modules." msgstr "" "Ytimen kyseisen nimisen domUn pitää olla hakemistossa /boot (esimerkiksi: " "vmlinuz-2.6.16.27-xenU) ja vastaavien moduulien hakemistossa /lib/modules." diff -u -r dtc-xen-0.5.11/debian/po/fr.po dtc-xen-0.5.13/debian/po/fr.po --- dtc-xen-0.5.11/debian/po/fr.po 2010-10-02 23:07:08.000000000 +0800 +++ dtc-xen-0.5.13/debian/po/fr.po 2010-10-02 23:07:14.000000000 +0800 @@ -9,10 +9,11 @@ msgstr "" "Project-Id-Version: fr\n" "Report-Msgid-Bugs-To: [email protected]\n" -"POT-Creation-Date: 2009-07-16 05:42+0800\n" +"POT-Creation-Date: 2010-09-29 14:06+0000\n" "PO-Revision-Date: 2009-04-04 13:31+0200\n" "Last-Translator: Florentin Duneau <[email protected]>\n" "Language-Team: French <[email protected]>\n" +"Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -165,12 +166,13 @@ #. Description #: ../dtc-xen.templates:8001 msgid "" -"A kernel domU with that name must be located in /boot (example: vmlinuz-" -"2.6.16.27-xenU) and its corresponding modules must be in /lib/modules." -msgstr "" -"Un noyau « domU » avec ce nom doit être présent dans le répertoire /boot (par " -"exemple, « vmlinuz-2.6.26.27-xenU ») et les modules noyau correspondants " -"doivent se trouver dans /lib/modules." +"A kernel domU with that name must be located in /boot (example: " +"vmlinuz-2.6.16.27-xenU) and its corresponding modules must be in /lib/" +"modules." +msgstr "" +"Un noyau « domU » avec ce nom doit être présent dans le répertoire /boot " +"(par exemple, « vmlinuz-2.6.26.27-xenU ») et les modules noyau " +"correspondants doivent se trouver dans /lib/modules." #. Type: string #. Description @@ -257,8 +259,8 @@ "but a basic user won't be able to log into his physical console using ssh." msgstr "" "Veuillez noter que le système est pour l'instant sûr car aucun utilsateur ne " -"peut se connecter à la console physique en tant qu'utilisateur « xenXX » tant " -"que le fichier /etc/sudoers n'est pas modifié. De plus, un simple " +"peut se connecter à la console physique en tant qu'utilisateur « xenXX » " +"tant que le fichier /etc/sudoers n'est pas modifié. De plus, un simple " "utilisateur ne pourra pas se connecter par SSH sur sa console physique." #. Type: string @@ -345,5 +347,5 @@ #~ "As a consequence of this choice, the server's hostname will be nodeXXXX." #~ "example.com (which you can later add in your DTC control panel)." #~ msgstr "" -#~ "Finalement, le nom d'hôte du serveur sera « nodeXXXX.exemple.com », ce qui " -#~ "est configurable par la suite dans le panneau de contrôle de dtc." +#~ "Finalement, le nom d'hôte du serveur sera « nodeXXXX.exemple.com », ce " +#~ "qui est configurable par la suite dans le panneau de contrôle de dtc." diff -u -r dtc-xen-0.5.11/debian/po/gl.po dtc-xen-0.5.13/debian/po/gl.po --- dtc-xen-0.5.11/debian/po/gl.po 2010-10-02 23:07:08.000000000 +0800 +++ dtc-xen-0.5.13/debian/po/gl.po 2010-10-02 23:07:14.000000000 +0800 @@ -6,10 +6,11 @@ msgstr "" "Project-Id-Version: dtc-xen\n" "Report-Msgid-Bugs-To: [email protected]\n" -"POT-Creation-Date: 2009-07-16 05:42+0800\n" +"POT-Creation-Date: 2010-09-29 14:06+0000\n" "PO-Revision-Date: 2008-05-13 01:10+0100\n" "Last-Translator: Jacobo Tarrio <[email protected]>\n" "Language-Team: Galician <[email protected]>\n" +"Language: gl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -166,12 +167,13 @@ #. Description #: ../dtc-xen.templates:8001 msgid "" -"A kernel domU with that name must be located in /boot (example: vmlinuz-" -"2.6.16.27-xenU) and its corresponding modules must be in /lib/modules." -msgstr "" -"Ten que haber un núcleo domU con ese nome en /boot (por exemplo, vmlinuz-" -"2.6.16.27-xenU) e os seus módulos correspondentes teñen que estar en /lib/" +"A kernel domU with that name must be located in /boot (example: " +"vmlinuz-2.6.16.27-xenU) and its corresponding modules must be in /lib/" "modules." +msgstr "" +"Ten que haber un núcleo domU con ese nome en /boot (por exemplo, " +"vmlinuz-2.6.16.27-xenU) e os seus módulos correspondentes teñen que estar " +"en /lib/modules." #. Type: string #. Description diff -u -r dtc-xen-0.5.11/debian/po/ja.po dtc-xen-0.5.13/debian/po/ja.po --- dtc-xen-0.5.11/debian/po/ja.po 2010-10-02 23:07:08.000000000 +0800 +++ dtc-xen-0.5.13/debian/po/ja.po 2010-10-02 23:07:14.000000000 +0800 @@ -6,10 +6,11 @@ msgstr "" "Project-Id-Version: dtc-xen 0.3.27-1\n" "Report-Msgid-Bugs-To: [email protected]\n" -"POT-Creation-Date: 2009-07-16 05:42+0800\n" +"POT-Creation-Date: 2010-09-29 14:06+0000\n" "PO-Revision-Date: 2009-09-07 06:52+0900\n" "Last-Translator: Hideki Yamane (Debian-JP) <[email protected]>\n" "Language-Team: Japanese <[email protected]>\n" +"Language: ja\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -163,8 +164,9 @@ #. Description #: ../dtc-xen.templates:8001 msgid "" -"A kernel domU with that name must be located in /boot (example: vmlinuz-" -"2.6.16.27-xenU) and its corresponding modules must be in /lib/modules." +"A kernel domU with that name must be located in /boot (example: " +"vmlinuz-2.6.16.27-xenU) and its corresponding modules must be in /lib/" +"modules." msgstr "" "domU ã¨ããååã®ã«ã¼ãã«ã¯ /boot ã« (ä¾: vmlinuz-2.6.16.27-xenU)ã対å¿ããã¢" "ã¸ã¥ã¼ã«ã¯ /lib/modules ã«é ç½®ããå¿ è¦ãããã¾ãã" diff -u -r dtc-xen-0.5.11/debian/po/ml.po dtc-xen-0.5.13/debian/po/ml.po --- dtc-xen-0.5.11/debian/po/ml.po 2010-10-02 23:07:08.000000000 +0800 +++ dtc-xen-0.5.13/debian/po/ml.po 2010-10-02 23:07:14.000000000 +0800 @@ -9,11 +9,12 @@ msgstr "" "Project-Id-Version: dtc-xen 20070422\n" "Report-Msgid-Bugs-To: [email protected]\n" -"POT-Creation-Date: 2009-07-16 05:42+0800\n" +"POT-Creation-Date: 2010-09-29 14:06+0000\n" "PO-Revision-Date: 2007-04-22 00:52-0600\n" "Last-Translator: Praveen|à´ªàµà´°à´µàµà´£àµâ A|à´ <[email protected]>\n" "Language-Team: Swathanthra|à´¸àµà´µà´¤à´¨àµà´¤àµà´° Malayalam|മലയാളഠComputing|à´à´®àµà´ªàµà´¯àµà´àµà´à´¿à´àµà´àµ <smc-" "[email protected]>\n" +"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -167,8 +168,9 @@ #. Description #: ../dtc-xen.templates:8001 msgid "" -"A kernel domU with that name must be located in /boot (example: vmlinuz-" -"2.6.16.27-xenU) and its corresponding modules must be in /lib/modules." +"A kernel domU with that name must be located in /boot (example: " +"vmlinuz-2.6.16.27-xenU) and its corresponding modules must be in /lib/" +"modules." msgstr "" "à´ à´ªàµà´°à´¿à´²àµà´³àµà´³ à´à´°àµ à´àµà´°àµâണലàµâ domU (à´à´¦à´¾à´¹à´°à´£à´: vmlinuz-2.6.16.27-xenU) /boot à´²àµâ " "à´à´£àµà´àµà´ªà´¿à´à´¿à´¯àµà´àµà´à´¾à´¨àµà´ ഠതിനൠà´àµà´°àµâà´¨àµà´¨ à´®àµà´¡àµà´¯àµà´³àµà´à´³àµâ /lib/modules à´²àµâ à´à´£àµà´à´¾à´¯à´¿à´°à´¿à´¯àµà´àµà´àµà´à´¯àµà´ à´µàµà´£à´." diff -u -r dtc-xen-0.5.11/debian/po/nl.po dtc-xen-0.5.13/debian/po/nl.po --- dtc-xen-0.5.11/debian/po/nl.po 2010-10-02 23:07:08.000000000 +0800 +++ dtc-xen-0.5.13/debian/po/nl.po 2010-10-02 23:07:14.000000000 +0800 @@ -7,10 +7,11 @@ msgstr "" "Project-Id-Version: dtc-xen\n" "Report-Msgid-Bugs-To: [email protected]\n" -"POT-Creation-Date: 2009-07-16 05:42+0800\n" +"POT-Creation-Date: 2010-09-29 14:06+0000\n" "PO-Revision-Date: 2008-02-25 19:57+0100\n" "Last-Translator: Bart Cornelis <[email protected]>\n" "Language-Team: debian-l10n-dutch <[email protected]>\n" +"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -169,8 +170,9 @@ #. Description #: ../dtc-xen.templates:8001 msgid "" -"A kernel domU with that name must be located in /boot (example: vmlinuz-" -"2.6.16.27-xenU) and its corresponding modules must be in /lib/modules." +"A kernel domU with that name must be located in /boot (example: " +"vmlinuz-2.6.16.27-xenU) and its corresponding modules must be in /lib/" +"modules." msgstr "" "Een kernel-domU met deze naam dient zich in de map '/boot' te bevinden " "(voorbeeld: vmlinuz-2.6.16.27-xenU) en de overeenkomstige modules dienen " diff -u -r dtc-xen-0.5.11/debian/po/pt_BR.po dtc-xen-0.5.13/debian/po/pt_BR.po --- dtc-xen-0.5.11/debian/po/pt_BR.po 2010-10-02 23:07:08.000000000 +0800 +++ dtc-xen-0.5.13/debian/po/pt_BR.po 2010-10-02 23:07:14.000000000 +0800 @@ -7,10 +7,11 @@ msgstr "" "Project-Id-Version: dtc-xen\n" "Report-Msgid-Bugs-To: [email protected]\n" -"POT-Creation-Date: 2009-07-16 05:42+0800\n" +"POT-Creation-Date: 2010-09-29 14:06+0000\n" "PO-Revision-Date: 2007-04-21 14:17-0300\n" "Last-Translator: André LuÃs Lopes <[email protected]>\n" "Language-Team: Debian-BR Project <[email protected]>\n" +"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -169,8 +170,9 @@ #. Description #: ../dtc-xen.templates:8001 msgid "" -"A kernel domU with that name must be located in /boot (example: vmlinuz-" -"2.6.16.27-xenU) and its corresponding modules must be in /lib/modules." +"A kernel domU with that name must be located in /boot (example: " +"vmlinuz-2.6.16.27-xenU) and its corresponding modules must be in /lib/" +"modules." msgstr "" "Um kernel domU com esse nome deve estar localizado sob o diretório /boot " "(por exemplo: vmlinuz-2.6.16.27-xenU) e seus módulos correspondentes devem " diff -u -r dtc-xen-0.5.11/debian/po/pt.po dtc-xen-0.5.13/debian/po/pt.po --- dtc-xen-0.5.11/debian/po/pt.po 2010-10-02 23:07:08.000000000 +0800 +++ dtc-xen-0.5.13/debian/po/pt.po 2010-10-02 23:07:14.000000000 +0800 @@ -7,10 +7,11 @@ msgstr "" "Project-Id-Version: dtc-xen 0.3.9-1\n" "Report-Msgid-Bugs-To: [email protected]\n" -"POT-Creation-Date: 2009-07-16 05:42+0800\n" +"POT-Creation-Date: 2010-09-29 14:06+0000\n" "PO-Revision-Date: 2008-06-29 22:29+0100\n" "Last-Translator: Ricardo Silva <[email protected]>\n" "Language-Team: Portuguese <[email protected]>\n" +"Language: pt\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -167,8 +168,9 @@ #. Description #: ../dtc-xen.templates:8001 msgid "" -"A kernel domU with that name must be located in /boot (example: vmlinuz-" -"2.6.16.27-xenU) and its corresponding modules must be in /lib/modules." +"A kernel domU with that name must be located in /boot (example: " +"vmlinuz-2.6.16.27-xenU) and its corresponding modules must be in /lib/" +"modules." msgstr "" "Um kernel domU com esse nome tem que estar localizado em /boot (exemplo: " "vmlinuz-2.6.16.27-xenU) e os seus módulos correspondentes em /lib/modules." diff -u -r dtc-xen-0.5.11/debian/po/ru.po dtc-xen-0.5.13/debian/po/ru.po --- dtc-xen-0.5.11/debian/po/ru.po 2010-10-02 23:07:08.000000000 +0800 +++ dtc-xen-0.5.13/debian/po/ru.po 2010-10-02 23:07:14.000000000 +0800 @@ -8,16 +8,17 @@ msgstr "" "Project-Id-Version: dtc-xen 0.4.0-1\n" "Report-Msgid-Bugs-To: [email protected]\n" -"POT-Creation-Date: 2009-07-16 05:42+0800\n" +"POT-Creation-Date: 2010-09-29 14:06+0000\n" "PO-Revision-Date: 2009-04-09 20:57+0400\n" "Last-Translator: Yuri Kozlov <[email protected]>\n" "Language-Team: Russian <[email protected]>\n" +"Language: ru\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.11.4\n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%" -"10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #. Type: string #. Description @@ -168,11 +169,12 @@ #. Description #: ../dtc-xen.templates:8001 msgid "" -"A kernel domU with that name must be located in /boot (example: vmlinuz-" -"2.6.16.27-xenU) and its corresponding modules must be in /lib/modules." +"A kernel domU with that name must be located in /boot (example: " +"vmlinuz-2.6.16.27-xenU) and its corresponding modules must be in /lib/" +"modules." msgstr "" -"ЯдÑо domU Ñ ÑÑим именем должно бÑÑÑ Ð² каÑалоге /boot (пÑимеÑ: vmlinuz-" -"2.6.16.27-xenU), а его модÑли в каÑалоге /lib/modules." +"ЯдÑо domU Ñ ÑÑим именем должно бÑÑÑ Ð² каÑалоге /boot (пÑимеÑ: " +"vmlinuz-2.6.16.27-xenU), а его модÑли в каÑалоге /lib/modules." #. Type: string #. Description diff -u -r dtc-xen-0.5.11/debian/po/sk.po dtc-xen-0.5.13/debian/po/sk.po --- dtc-xen-0.5.11/debian/po/sk.po 2010-10-02 23:07:08.000000000 +0800 +++ dtc-xen-0.5.13/debian/po/sk.po 2010-10-02 23:07:14.000000000 +0800 @@ -7,10 +7,11 @@ msgstr "" "Project-Id-Version: dtc-xen\n" "Report-Msgid-Bugs-To: [email protected]\n" -"POT-Creation-Date: 2009-07-16 05:42+0800\n" +"POT-Creation-Date: 2010-09-29 14:06+0000\n" "PO-Revision-Date: 2009-07-16 14:50+0100\n" "Last-Translator: Ivan Masár <[email protected]>\n" "Language-Team: Slovak <[email protected]>\n" +"Language: sk\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -162,11 +163,13 @@ #. Description #: ../dtc-xen.templates:8001 msgid "" -"A kernel domU with that name must be located in /boot (example: vmlinuz-" -"2.6.16.27-xenU) and its corresponding modules must be in /lib/modules." -msgstr "" -"Jadro domU s týmto názvom sa musà nachádzaÅ¥ v adresári /boot (napr.: vmlinuz-" -"2.6.16.27-xenU) a jeho prÃsluÅ¡né moduly musia byÅ¥ v adresári /lib/modules." +"A kernel domU with that name must be located in /boot (example: " +"vmlinuz-2.6.16.27-xenU) and its corresponding modules must be in /lib/" +"modules." +msgstr "" +"Jadro domU s týmto názvom sa musà nachádzaÅ¥ v adresári /boot (napr.: " +"vmlinuz-2.6.16.27-xenU) a jeho prÃsluÅ¡né moduly musia byÅ¥ v adresári /lib/" +"modules." #. Type: string #. Description diff -u -r dtc-xen-0.5.11/debian/po/sv.po dtc-xen-0.5.13/debian/po/sv.po --- dtc-xen-0.5.11/debian/po/sv.po 2010-10-02 23:07:08.000000000 +0800 +++ dtc-xen-0.5.13/debian/po/sv.po 2010-10-02 23:07:14.000000000 +0800 @@ -7,10 +7,11 @@ msgstr "" "Project-Id-Version: dtc-xen\n" "Report-Msgid-Bugs-To: [email protected]\n" -"POT-Creation-Date: 2009-07-16 05:42+0800\n" +"POT-Creation-Date: 2010-09-29 14:06+0000\n" "PO-Revision-Date: 2010-05-22 23:04+0100\n" "Last-Translator: Martin Bagge <[email protected]>\n" "Language-Team: Swedish <[email protected]>\n" +"Language: sv\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -168,11 +169,12 @@ #. Description #: ../dtc-xen.templates:8001 msgid "" -"A kernel domU with that name must be located in /boot (example: vmlinuz-" -"2.6.16.27-xenU) and its corresponding modules must be in /lib/modules." +"A kernel domU with that name must be located in /boot (example: " +"vmlinuz-2.6.16.27-xenU) and its corresponding modules must be in /lib/" +"modules." msgstr "" -"En domU-kärna med det namnet mÃ¥ste finnas i /boot (exempelvis: vmlinux-" -"2.6.16.27-xenU) och dess kärnmoduler mÃ¥ste finnas i /lib/modules." +"En domU-kärna med det namnet mÃ¥ste finnas i /boot (exempelvis: " +"vmlinux-2.6.16.27-xenU) och dess kärnmoduler mÃ¥ste finnas i /lib/modules." #. Type: string #. Description diff -u -r dtc-xen-0.5.11/debian/po/templates.pot dtc-xen-0.5.13/debian/po/templates.pot --- dtc-xen-0.5.11/debian/po/templates.pot 2010-10-02 23:07:08.000000000 +0800 +++ dtc-xen-0.5.13/debian/po/templates.pot 2010-10-02 23:07:14.000000000 +0800 @@ -8,10 +8,11 @@ msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: [email protected]\n" -"POT-Creation-Date: 2009-07-16 05:42+0800\n" +"POT-Creation-Date: 2010-09-29 14:06+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <em...@address>\n" "Language-Team: LANGUAGE <[email protected]>\n" +"Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" @@ -148,8 +149,9 @@ #. Description #: ../dtc-xen.templates:8001 msgid "" -"A kernel domU with that name must be located in /boot (example: vmlinuz-" -"2.6.16.27-xenU) and its corresponding modules must be in /lib/modules." +"A kernel domU with that name must be located in /boot (example: " +"vmlinuz-2.6.16.27-xenU) and its corresponding modules must be in /lib/" +"modules." msgstr "" #. Type: string diff -u -r dtc-xen-0.5.11/dtc-xen.spec dtc-xen-0.5.13/dtc-xen.spec --- dtc-xen-0.5.11/dtc-xen.spec 2010-07-11 01:56:28.000000000 +0800 +++ dtc-xen-0.5.13/dtc-xen.spec 2010-09-29 22:06:05.000000000 +0800 @@ -1,6 +1,6 @@ Name: dtc-xen Summary: DTC Xen VPS remote management suite -Version: 0.5.11 +Version: 0.5.13 Release: 8 Group: System Environment/Daemons diff -u -r dtc-xen-0.5.11/src/dtc-soap-server dtc-xen-0.5.13/src/dtc-soap-server --- dtc-xen-0.5.11/src/dtc-soap-server 2010-06-06 00:02:43.000000000 +0800 +++ dtc-xen-0.5.13/src/dtc-soap-server 2010-09-29 22:05:43.000000000 +0800 @@ -187,17 +187,12 @@ logging.info("Starting VPS %s",vpsname) localsysout = StringIO() localsyserr = StringIO() - sys.stdout = localsysout - sys.stderr = localsyserr try: -# xen.xm.main.main(xmargs) subprocess.Popen(["/usr/sbin/xm","create",vpsname]) logging.info("VPS %s started",vpsname) return "OK","Started %s" % vpsname except: # this is a HACK. It should also not capture BaseException. - sys.stdout = sys.__stdout__ - sys.stderr = sys.__stderr__ returnString = "NOTOK - %s %s" % (localsyserr.getvalue(), localsysout.getvalue()) localsyserr.close() localsysout.close() @@ -213,16 +208,11 @@ logging.info("Destroying VPS %s", vpsname) localsysout = StringIO() localsyserr = StringIO() - sys.stdout = localsysout - sys.stderr = localsyserr try: -# xen.xm.main.main(xmargs) subprocess.Popen(["/usr/sbin/xm","destroy",vpsname]) logging.info("VPS %s destroyed",vpsname) return "OK","Destroyed %s" % vpsname except: - sys.stdout = sys.__stdout__ - sys.stderr = sys.__stderr__ returnString = "NOTOK - %s %s" % (localsyserr.getvalue(), localsysout.getvalue()) localsyserr.close() localsysout.close() @@ -248,16 +238,11 @@ logging.info("Shutting VPS %s down", vpsname) localsysout = StringIO() localsyserr = StringIO() - sys.stdout = localsysout - sys.stderr = localsyserr try: -# xen.xm.main.main(xmargs) subprocess.Popen(["/usr/sbin/xm","shutdown",vpsname]) logging.info("VPS %s shut down",vpsname) return "OK","Shut down %s" % vpsname except: - sys.stdout = sys.__stdout__ - sys.stderr = sys.__stderr__ returnString = "NOTOK - %s %s" % (localsyserr.getvalue(), localsysout.getvalue()) localsyserr.close() # FIXME not really needed to close the fds localsysout.close() # reference count drops to zero -> boom they're closed. diff -u -r dtc-xen-0.5.11/src/dtc-xen_domUconf_standard dtc-xen-0.5.13/src/dtc-xen_domUconf_standard --- dtc-xen-0.5.11/src/dtc-xen_domUconf_standard 2010-06-24 22:55:11.000000000 +0800 +++ dtc-xen-0.5.13/src/dtc-xen_domUconf_standard 2010-09-29 00:35:11.000000000 +0800 @@ -104,4 +104,17 @@ # Customize the /root/.bashrc script sed "s/VPS_HOSTNAME/xen${VPSNUM}.${NODE_FQDN}/" /etc/dtc-xen/bashrc >${VPS_PATH}/root/.bashrc +if [ "${DISTRO}" = "debian" ] ; then + if [ -f ${VPS_PATH}/etc/locale.gen ] ; then + echo "Setting up Debian locale to en_US.UTF-8" + TMP_FILE=`mktemp -t DTC_SET_LOCALE.XXXXXX` || exit 1 + grep -v "en_US.UTF-8" ${VPS_PATH}/etc/locale.gen >${TMP_FILE} + cat <${TMP_FILE} >${VPS_PATH}/etc/locale.gen + rm ${TMP_FILE} + echo "en_US.UTF-8 UTF-8" >>${VPS_PATH}/etc/locale.gen + chroot ${VPS_PATH} localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8 + chroot ${VPS_PATH} locale-gen + fi +fi + exit 0 Only in dtc-xen-0.5.11/src: dtc-xen_domU_gen_vz_conf Only in dtc-xen-0.5.11/src: dtc-xen_kvm_guest_conf diff -u -r dtc-xen-0.5.11/src/dtc-xen_userconsole dtc-xen-0.5.13/src/dtc-xen_userconsole --- dtc-xen-0.5.11/src/dtc-xen_userconsole 2009-06-24 09:36:09.000000000 +0800 +++ dtc-xen-0.5.13/src/dtc-xen_userconsole 2010-09-29 00:35:11.000000000 +0800 @@ -1,6 +1,17 @@ #!/bin/sh echo "Welcome to dtc-xen ssh console!" +echo "WARNING:" +echo "You might need to press enter once to display the login prompt." +echo "You can login only ONCE in this console, and you cannot resize it either." +echo "You'd be a lot more comfortable if you install sshd and connect to it" +echo "directly." +echo "It is recommended to use this ssh remote access only in order to debug" +echo "a broken virtual machine (VM/VPS) or after you reinstalled your VPS to" +echo "install the ssh daemon, or also if you are to debug network and/or" +echo "your firewall." +echo "If your ssh daemon is not installed, login as root, then do:" +echo "apt-get install ssh (Debian) or yum install openssh-server (CentOS)" sleep 1 if [ -n "$1" ]; then Only in dtc-xen-0.5.11/src: test

