* [devel] vzctl.git=3.0.26.2-alt1 @ 2011-03-27 7:30 ` Slava Dubrovskiy 2011-03-27 16:56 ` Michael Shigorin ` (3 more replies) 0 siblings, 4 replies; 36+ messages in thread From: Slava Dubrovskiy @ 2011-03-27 7:30 UTC (permalink / raw) To: ALT Devel discussion list [-- Attachment #1: Type: text/plain, Size: 2482 bytes --] Здравствуйте Собрал тут новую версию vzctl. http://git.altlinux.org/tasks/41371/build/100/i586/ http://git.altlinux.org/tasks/41371/build/100/x86_64/ Достаточно много нового: - отказ от крона и гарантированный ребут ВПС если ребутается изнутри контейнера. Теперь за этим следит отдельный демон vzeventd - add cpu bindings (--cpumask) - vzctl set --pci_{add,del}: add the ability to move PCI devices to CT и т.д. У кого есть возможность - потестируйте, и будем просить ldv@ чтобы появилось в сизифе. 27.03.2011 02:53, Girar Builder robot пишет: > http://git.altlinux.org/tasks/41371/task/log.1.1 > > 2011-Mar-27 04:40:26 :: test-only task #41371 for sisyphus started by dubrsl: > #100 build 3.0.26.2-alt1 from /people/dubrsl/packages/vzctl.git > 2011-Mar-27 04:40:27 :: cloned Sisyphus > 2011-Mar-27 04:40:30 :: [x86_64] #100 vzctl.git 3.0.26.2-alt1: build start > 2011-Mar-27 04:40:30 :: [i586] #100 vzctl.git 3.0.26.2-alt1: build start > 2011-Mar-27 04:41:52 :: [x86_64] #100 vzctl.git 3.0.26.2-alt1: build OK > 2011-Mar-27 04:41:53 :: [i586] #100 vzctl.git 3.0.26.2-alt1: build OK > 2011-Mar-27 04:41:57 :: build check OK > 2011-Mar-27 04:41:58 :: noarch check OK > 2011-Mar-27 04:41:59 :: version check OK > 2011-Mar-27 04:42:45 :: created test repo > 2011-Mar-27 04:42:51 :: dependencies check OK > 2011-Mar-27 04:52:45 :: ELF symbols check OK > x86_64: vzctl=3.0.26.2-alt1 post-install unowned files: > /1 > /etc/bash_completion.d > /etc/net > /etc/net/ifaces > /etc/net/scripts > i586: vzctl=3.0.26.2-alt1 post-install unowned files: > /1 > /etc/bash_completion.d > /etc/net > /etc/net/ifaces > /etc/net/scripts > 2011-Mar-27 04:53:05 :: [x86_64] vzctl: install check OK > 2011-Mar-27 04:53:06 :: [i586] vzctl: install check OK > 2011-Mar-27 04:53:23 :: [x86_64] vzctl-debuginfo: install check OK > 2011-Mar-27 04:53:24 :: [i586] vzctl-debuginfo: install check OK > 2011-Mar-27 04:53:25 :: gears inheritance check OK > 2011-Mar-27 04:53:25 :: srpm inheritance check OK > girar-check-perms: access to vzctl DENIED for dubrsl: does not belong to approved builders list: ldv > vzctl: Operation not permitted > 2011-Mar-27 04:53:25 :: acl check FAILED > 2011-Mar-27 04:53:25 :: task #41371 for sisyphus FAILED > -- WBR, Dubrovskiy Vyacheslav [-- Attachment #2: S/MIME Cryptographic Signature --] [-- Type: application/pkcs7-signature, Size: 5525 bytes --] ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [devel] vzctl.git=3.0.26.2-alt1 2011-03-27 7:30 ` [devel] vzctl.git=3.0.26.2-alt1 Slava Dubrovskiy @ 2011-03-27 16:56 ` Michael Shigorin 2011-03-27 18:50 ` Slava Dubrovskiy 2011-03-28 10:33 ` Slava Dubrovskiy 2011-03-27 22:46 ` Dmitry V. Levin ` (2 subsequent siblings) 3 siblings, 2 replies; 36+ messages in thread From: Michael Shigorin @ 2011-03-27 16:56 UTC (permalink / raw) To: ALT Devel discussion list On Sun, Mar 27, 2011 at 10:30:52AM +0300, Slava Dubrovskiy wrote: > У кого есть возможность - потестируйте После обновления под 2.6.32-ovz-el-alt13 с ipv6.disable=1: Configuring IPv6 for interface venet0: RTNETLINK answers: Permission denied [FAILED] Вот патчик: http://git.altlinux.org/people/mike/packages/?p=vzctl.git;a=commitdiff;h=2faff4614e4a2da64b3ecc0d13fb22a79b210a2f PS: никто не смотрел -- там эту жёлтую прессу отрубить выходит? Unloading module af_packet: [PASSED] Unloading module vzmon: [PASSED] Unloading module vzdquota: [PASSED] Unloading module vzdev: [PASSED] -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [devel] vzctl.git=3.0.26.2-alt1 2011-03-27 16:56 ` Michael Shigorin @ 2011-03-27 18:50 ` Slava Dubrovskiy 2011-03-27 20:08 ` Konstantin Pavlov ` (2 more replies) 2011-03-28 10:33 ` Slava Dubrovskiy 1 sibling, 3 replies; 36+ messages in thread From: Slava Dubrovskiy @ 2011-03-27 18:50 UTC (permalink / raw) To: ALT Linux Team development discussions [-- Attachment #1: Type: text/plain, Size: 1190 bytes --] 27.03.2011 19:56, Michael Shigorin пишет: > On Sun, Mar 27, 2011 at 10:30:52AM +0300, Slava Dubrovskiy wrote: >> У кого есть возможность - потестируйте > После обновления под 2.6.32-ovz-el-alt13 с ipv6.disable=1: > > Configuring IPv6 for interface venet0: RTNETLINK answers: Permission denied > [FAILED] > > Вот патчик: > http://git.altlinux.org/people/mike/packages/?p=vzctl.git;a=commitdiff;h=2faff4614e4a2da64b3ecc0d13fb22a79b210a2f Можно добавить. Кстати в /etc/vz/vz.conf по умолчанию теперь IPV6="yes" И в перспективе тотального внедрения ipv6, думаю это правильно что включено по умолчанию. У нас клиенты, например, IPv6 блоки уже давно заказывают. > PS: никто не смотрел -- там эту жёлтую прессу отрубить выходит? > > Unloading module af_packet: [PASSED] > Unloading module vzmon: [PASSED] > Unloading module vzdquota: [PASSED] > Unloading module vzdev: [PASSED] А чем мешает? -- WBR, Dubrovskiy Vyacheslav [-- Attachment #2: S/MIME Cryptographic Signature --] [-- Type: application/pkcs7-signature, Size: 5525 bytes --] ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [devel] vzctl.git=3.0.26.2-alt1 2011-03-27 18:50 ` Slava Dubrovskiy @ 2011-03-27 20:08 ` Konstantin Pavlov 2011-03-27 21:01 ` Michael Shigorin ` (2 more replies) 2011-03-27 21:00 ` Michael Shigorin 2011-03-27 22:52 ` Dmitry V. Levin 2 siblings, 3 replies; 36+ messages in thread From: Konstantin Pavlov @ 2011-03-27 20:08 UTC (permalink / raw) To: devel On Sun, Mar 27, 2011 at 09:50:09PM +0300, Slava Dubrovskiy wrote: > 27.03.2011 19:56, Michael Shigorin пишет: > > On Sun, Mar 27, 2011 at 10:30:52AM +0300, Slava Dubrovskiy wrote: > >> У кого есть возможность - потестируйте > > После обновления под 2.6.32-ovz-el-alt13 с ipv6.disable=1: > > > > Configuring IPv6 for interface venet0: RTNETLINK answers: Permission denied > > [FAILED] > > > > Вот патчик: > > http://git.altlinux.org/people/mike/packages/?p=vzctl.git;a=commitdiff;h=2faff4614e4a2da64b3ecc0d13fb22a79b210a2f > Можно добавить. Кстати в /etc/vz/vz.conf по умолчанию теперь IPV6="yes" > И в перспективе тотального внедрения ipv6, думаю это правильно что > включено по умолчанию. > У нас клиенты, например, IPv6 блоки уже давно заказывают. А я не думаю, что правильно. IPv6 это еще одна возможная брешь в безопасности и включать ее по умолчанию на таких консервативных платформах, как серверная, по-моему, не стоит. -- Konstantin Pavlov VideoLAN team ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [devel] vzctl.git=3.0.26.2-alt1 2011-03-27 20:08 ` Konstantin Pavlov @ 2011-03-27 21:01 ` Michael Shigorin 2011-03-28 3:39 ` REAL 2011-03-28 6:07 ` Sergey Y. Afonin 2 siblings, 0 replies; 36+ messages in thread From: Michael Shigorin @ 2011-03-27 21:01 UTC (permalink / raw) To: devel On Mon, Mar 28, 2011 at 12:08:47AM +0400, Konstantin Pavlov wrote: > А я не думаю, что правильно. IPv6 это еще одна возможная брешь в > безопасности и включать ее по умолчанию на таких консервативных > платформах, как серверная, по-моему, не стоит. Скажем так -- эшелонированно вырубать его смысла не вижу, но уж если вырублено рубильником, то лучше б ничему лишнему не отваливаться. -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [devel] vzctl.git=3.0.26.2-alt1 2011-03-27 20:08 ` Konstantin Pavlov 2011-03-27 21:01 ` Michael Shigorin @ 2011-03-28 3:39 ` REAL 2011-03-28 6:07 ` Sergey Y. Afonin 2 siblings, 0 replies; 36+ messages in thread From: REAL @ 2011-03-28 3:39 UTC (permalink / raw) To: ALT Linux Team development discussions 28.03.2011 03:08, Konstantin Pavlov пишет: > А я не думаю, что правильно. IPv6 это еще одна возможная брешь в > безопасности и включать ее по умолчанию на таких консервативных > платформах, как серверная, по-моему, не стоит. +1 -- REAL aka Евгений Ростовцев, программист ЦНИТ КемГУ ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [devel] vzctl.git=3.0.26.2-alt1 2011-03-27 20:08 ` Konstantin Pavlov 2011-03-27 21:01 ` Michael Shigorin 2011-03-28 3:39 ` REAL @ 2011-03-28 6:07 ` Sergey Y. Afonin 2 siblings, 0 replies; 36+ messages in thread From: Sergey Y. Afonin @ 2011-03-28 6:07 UTC (permalink / raw) To: ALT Linux Team development discussions On Monday, March 28, 2011, Konstantin Pavlov wrote: > А я не думаю, что правильно. IPv6 это еще одна возможная брешь в > безопасности и включать ее по умолчанию на таких консервативных > платформах, как серверная, по-моему, не стоит. Когда нибудь, в не очень отдалённом будущем, это случится всё равно. Если это случится во время жизни 6.0, лучше бы заранее сделать. -- С уважением, Сергей Афонин asy@altlinux.ru ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [devel] vzctl.git=3.0.26.2-alt1 2011-03-27 18:50 ` Slava Dubrovskiy 2011-03-27 20:08 ` Konstantin Pavlov @ 2011-03-27 21:00 ` Michael Shigorin 2011-03-27 22:52 ` Dmitry V. Levin 2 siblings, 0 replies; 36+ messages in thread From: Michael Shigorin @ 2011-03-27 21:00 UTC (permalink / raw) To: ALT Linux Team development discussions On Sun, Mar 27, 2011 at 09:50:09PM +0300, Slava Dubrovskiy wrote: > > PS: никто не смотрел -- там эту жёлтую прессу отрубить выходит? > > Unloading module af_packet: [PASSED] > > Unloading module vzmon: [PASSED] > > Unloading module vzdquota: [PASSED] > > Unloading module vzdev: [PASSED] > А чем мешает? Некрасиво. -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [devel] vzctl.git=3.0.26.2-alt1 2011-03-27 18:50 ` Slava Dubrovskiy 2011-03-27 20:08 ` Konstantin Pavlov 2011-03-27 21:00 ` Michael Shigorin @ 2011-03-27 22:52 ` Dmitry V. Levin 2011-03-28 7:23 ` Slava Dubrovskiy 2011-03-28 9:26 ` Michael Shigorin 2 siblings, 2 replies; 36+ messages in thread From: Dmitry V. Levin @ 2011-03-27 22:52 UTC (permalink / raw) To: ALT Linux Team development discussions [-- Attachment #1: Type: text/plain, Size: 1060 bytes --] On Sun, Mar 27, 2011 at 09:50:09PM +0300, Slava Dubrovskiy wrote: > 27.03.2011 19:56, Michael Shigorin пишет: > > On Sun, Mar 27, 2011 at 10:30:52AM +0300, Slava Dubrovskiy wrote: > >> У кого есть возможность - потестируйте > > После обновления под 2.6.32-ovz-el-alt13 с ipv6.disable=1: > > > > Configuring IPv6 for interface venet0: RTNETLINK answers: Permission denied > > [FAILED] > > > > Вот патчик: > > http://git.altlinux.org/people/mike/packages/?p=vzctl.git;a=commitdiff;h=2faff4614e4a2da64b3ecc0d13fb22a79b210a2f > Можно добавить. Кстати в /etc/vz/vz.conf по умолчанию теперь IPV6="yes" Я против того, чтобы IPV6 сейчас был включен по умолчанию. > И в перспективе тотального внедрения ipv6, думаю это правильно что > включено по умолчанию. У меня нет живого ipv6; кому нужны новые фичи (с неизбежными уязвимостями), пусть включают. Включение поддержки ipv6 в openvz при отсутствии сегмента ipv6 ничего, кроме возможности тестировать ipv6 (вместе с неизбежными уязвимостями в ядре) прямо из контейнера, не дает. -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [devel] vzctl.git=3.0.26.2-alt1 2011-03-27 22:52 ` Dmitry V. Levin @ 2011-03-28 7:23 ` Slava Dubrovskiy 2011-03-28 7:30 ` Anton Gorlov 2011-03-28 7:31 ` REAL 2011-03-28 9:26 ` Michael Shigorin 1 sibling, 2 replies; 36+ messages in thread From: Slava Dubrovskiy @ 2011-03-28 7:23 UTC (permalink / raw) To: ALT Linux Team development discussions [-- Attachment #1: Type: text/plain, Size: 1590 bytes --] 28.03.2011 01:52, Dmitry V. Levin пишет: >> Кстати в /etc/vz/vz.conf по умолчанию теперь IPV6="yes" > Я против того, чтобы IPV6 сейчас был включен по умолчанию. >> И в перспективе тотального внедрения ipv6, думаю это правильно что >> включено по умолчанию. > У меня нет живого ipv6; кому нужны новые фичи (с неизбежными > уязвимостями), пусть включают. Включение поддержки ipv6 в openvz при > отсутствии сегмента ipv6 ничего, кроме возможности тестировать ipv6 > (вместе с неизбежными уязвимостями в ядре) прямо из контейнера, не дает. При всем уважении, хочу не согласится. Механизм 6to4 (http://version6.ru/6to4/howto) не требует наличие ipv6 сегмента у провайдера. Но требует включенного ipv6. И те клиенты, которые занаю про такой механизм, вместо покупки дополнитнльных IP на сервер, активно пользуют ОДИН IPv4 + /48 из ipv6. И этот механизм все больше и больше популярен и активно пользуется. И я за то чтобы ipv6 работало из коробки. -- WBR, Dubrovskiy Vyacheslav [-- Attachment #2: S/MIME Cryptographic Signature --] [-- Type: application/pkcs7-signature, Size: 5525 bytes --] ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [devel] vzctl.git=3.0.26.2-alt1 2011-03-28 7:23 ` Slava Dubrovskiy @ 2011-03-28 7:30 ` Anton Gorlov 2011-03-28 7:31 ` REAL 1 sibling, 0 replies; 36+ messages in thread From: Anton Gorlov @ 2011-03-28 7:30 UTC (permalink / raw) To: ALT Linux Team development discussions > При всем уважении, хочу не согласится. Механизм 6to4 > (http://version6.ru/6to4/howto) не требует наличие ipv6 сегмента у > провайдера. Но требует включенного ipv6. И те клиенты, которые занаю про > такой механизм, вместо покупки дополнитнльных IP на сервер, активно > пользуют ОДИН IPv4 + /48 из ipv6. > И этот механизм все больше и больше популярен и активно пользуется. И я > за то чтобы ipv6 работало из коробки. +1 Тем более в ближайшее время ожидается запуск онного в эксплуатацию.. ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [devel] vzctl.git=3.0.26.2-alt1 2011-03-28 7:23 ` Slava Dubrovskiy 2011-03-28 7:30 ` Anton Gorlov @ 2011-03-28 7:31 ` REAL 1 sibling, 0 replies; 36+ messages in thread From: REAL @ 2011-03-28 7:31 UTC (permalink / raw) To: ALT Linux Team development discussions 28.03.2011 14:23, Slava Dubrovskiy пишет: > При всем уважении, хочу не согласится. Механизм 6to4 > (http://version6.ru/6to4/howto) не требует наличие ipv6 сегмента у > провайдера. Но требует включенного ipv6. И те клиенты, которые занаю про > такой механизм, вместо покупки дополнитнльных IP на сервер, активно > пользуют ОДИН IPv4 + /48 из ipv6. > И этот механизм все больше и больше популярен и активно пользуется. И я > за то чтобы ipv6 работало из коробки. Будем голосовать? :) -- REAL aka Евгений Ростовцев, программист ЦНИТ КемГУ ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [devel] vzctl.git=3.0.26.2-alt1 2011-03-27 22:52 ` Dmitry V. Levin 2011-03-28 7:23 ` Slava Dubrovskiy @ 2011-03-28 9:26 ` Michael Shigorin 2011-03-28 9:40 ` Dmitry V. Levin 2011-03-28 9:41 ` [devel] vzctl.git=3.0.26.2-alt1 REAL 1 sibling, 2 replies; 36+ messages in thread From: Michael Shigorin @ 2011-03-28 9:26 UTC (permalink / raw) To: ALT Linux Team development discussions On Mon, Mar 28, 2011 at 02:52:16AM +0400, Dmitry V. Levin wrote: > > > http://git.altlinux.org/people/mike/packages/?p=vzctl.git;a=commitdiff;h=2faff4614e4a2da64b3ecc0d13fb22a79b210a2f > > Можно добавить. Кстати в /etc/vz/vz.conf по умолчанию теперь IPV6="yes" > Я против того, чтобы IPV6 сейчас был включен по умолчанию. Дим, это "прогресс", будь он неладен. Не соображу -- надо ли сделать чуть ниже SourceIfNotEmpty "$VZCONF": # defaults coherency check if [ ! -d /proc/sys/net/ipv6 ]; then IPV6="no" fi т.к. может оказаться, что при CONFIG_IPV6=m последующая загрузка vzrst.ko всё равно втянет ipv6.ko, а модули из $IP6TABLES подгружены не будут (т.е. регулировать наличие возможности доступиться через IPv6 надо всё равно не в vz.conf, а в параметрах модуля). Ограничился таким уточнением: http://git.altlinux.org/people/mike/packages/?p=vzctl.git;a=commitdiff;h=23ad05964ea5af0ba14dfaa9cb82219101bc2f42 > > И в перспективе тотального внедрения ipv6, думаю это > > правильно что включено по умолчанию. > У меня нет живого ipv6 Ты ж не единственный живой пользователь. :) > кому нужны новые фичи (с неизбежными уязвимостями), > пусть включают. См. #21807 -- уже включили. Лучше продумать ручку -- например, control ipv6 с работой по /etc/modprobe.d/ipv6 и /sys/module/ipv6/parameters/disable -- чем анноить тех, кому оно объективно нужно, необходимостью рутинного снятия сотни грабель с боевого дежурства. (тоже v6 недолюбливаю и не применяю, но) -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [devel] vzctl.git=3.0.26.2-alt1 2011-03-28 9:26 ` Michael Shigorin @ 2011-03-28 9:40 ` Dmitry V. Levin 2011-03-28 9:57 ` Michael Shigorin 2011-03-28 11:46 ` [devel] IPv6 (Re: vzctl.git=3.0.26.2-alt1) Sergey Y. Afonin 2011-03-28 9:41 ` [devel] vzctl.git=3.0.26.2-alt1 REAL 1 sibling, 2 replies; 36+ messages in thread From: Dmitry V. Levin @ 2011-03-28 9:40 UTC (permalink / raw) To: ALT Linux Team development discussions [-- Attachment #1: Type: text/plain, Size: 1341 bytes --] On Mon, Mar 28, 2011 at 12:26:40PM +0300, Michael Shigorin wrote: > On Mon, Mar 28, 2011 at 02:52:16AM +0400, Dmitry V. Levin wrote: > > > > http://git.altlinux.org/people/mike/packages/?p=vzctl.git;a=commitdiff;h=2faff4614e4a2da64b3ecc0d13fb22a79b210a2f > > > Можно добавить. Кстати в /etc/vz/vz.conf по умолчанию теперь IPV6="yes" > > Я против того, чтобы IPV6 сейчас был включен по умолчанию. > > Дим, это "прогресс", будь он неладен. Пусть этот "прогресс" будет делом добровольным, OK? > Не соображу -- надо ли сделать чуть ниже SourceIfNotEmpty "$VZCONF": > > # defaults coherency check > if [ ! -d /proc/sys/net/ipv6 ]; then > IPV6="no" > fi Тогда уж, наверное, [ -d /proc/sys/net/ipv6 ] && IPV6=yes || IPV6=no чтобы вообще не выдумывать себе грабли на ровном месте. > > кому нужны новые фичи (с неизбежными уязвимостями), > > пусть включают. > > См. #21807 -- уже включили. Это еще полбеды, если disable=1 будет нормально работать. > Лучше продумать ручку -- например, control ipv6 с работой > по /etc/modprobe.d/ipv6 и /sys/module/ipv6/parameters/disable > -- чем анноить тех, кому оно объективно нужно, необходимостью > рутинного снятия сотни грабель с боевого дежурства. > (тоже v6 недолюбливаю и не применяю, но) А того же /proc/sys/net/ipv6 не будет достаточно? -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [devel] vzctl.git=3.0.26.2-alt1 2011-03-28 9:40 ` Dmitry V. Levin @ 2011-03-28 9:57 ` Michael Shigorin 2011-03-28 10:04 ` Dmitry V. Levin 2011-03-28 11:46 ` [devel] IPv6 (Re: vzctl.git=3.0.26.2-alt1) Sergey Y. Afonin 1 sibling, 1 reply; 36+ messages in thread From: Michael Shigorin @ 2011-03-28 9:57 UTC (permalink / raw) To: ALT Linux Team development discussions On Mon, Mar 28, 2011 at 01:40:18PM +0400, Dmitry V. Levin wrote: > > Не соображу -- надо ли сделать чуть ниже SourceIfNotEmpty "$VZCONF": > > # defaults coherency check > > if [ ! -d /proc/sys/net/ipv6 ]; then > > IPV6="no" > > fi > Тогда уж, наверное, > [ -d /proc/sys/net/ipv6 ] && IPV6=yes || IPV6=no > чтобы вообще не выдумывать себе грабли на ровном месте. Нет, это было бы безусловным перебиванием конфига из скрипта. Эта проверка -- на случай, если конфиг не трогали, но ipv6 отключили в принципе (предыдущий коммит -- если disable=1). > > > кому нужны новые фичи (с неизбежными уязвимостями), > > > пусть включают. > > См. #21807 -- уже включили. > Это еще полбеды, если disable=1 будет нормально работать. У меня работает, но как влияет на доступные codepath'ы -- не знаю. > > Лучше продумать ручку -- например, control ipv6 с работой > > по /etc/modprobe.d/ipv6 и /sys/module/ipv6/parameters/disable > А того же /proc/sys/net/ipv6 не будет достаточно? Проверил -- в рантайме только так и получается управлять. http://const-cast.blogspot.com/2009/11/disable-ipv6-using-sysctl-on-linux.html -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [devel] vzctl.git=3.0.26.2-alt1 2011-03-28 9:57 ` Michael Shigorin @ 2011-03-28 10:04 ` Dmitry V. Levin 2011-03-28 10:09 ` Michael Shigorin 0 siblings, 1 reply; 36+ messages in thread From: Dmitry V. Levin @ 2011-03-28 10:04 UTC (permalink / raw) To: ALT Linux Team development discussions [-- Attachment #1: Type: text/plain, Size: 991 bytes --] On Mon, Mar 28, 2011 at 12:57:03PM +0300, Michael Shigorin wrote: > On Mon, Mar 28, 2011 at 01:40:18PM +0400, Dmitry V. Levin wrote: > > > Не соображу -- надо ли сделать чуть ниже SourceIfNotEmpty "$VZCONF": > > > # defaults coherency check > > > if [ ! -d /proc/sys/net/ipv6 ]; then > > > IPV6="no" > > > fi > > Тогда уж, наверное, > > [ -d /proc/sys/net/ipv6 ] && IPV6=yes || IPV6=no > > чтобы вообще не выдумывать себе грабли на ровном месте. > > Нет, это было бы безусловным перебиванием конфига из скрипта. > Эта проверка -- на случай, если конфиг не трогали, но ipv6 > отключили в принципе (предыдущий коммит -- если disable=1). Тогда так: if [ -z "$IPV6" ]; then [ -d /proc/sys/net/ipv6 ] && IPV6=yes || IPV6=no fi А в конфиге оставить IPV6= с комментарием. Не уверен, что проверять надо именно /proc/sys/net/ipv6, но сама идея включать ipv6 в vz по умолчанию если и только если ipv6 включен в системе, как мне кажется, правильная. -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [devel] vzctl.git=3.0.26.2-alt1 2011-03-28 10:04 ` Dmitry V. Levin @ 2011-03-28 10:09 ` Michael Shigorin 0 siblings, 0 replies; 36+ messages in thread From: Michael Shigorin @ 2011-03-28 10:09 UTC (permalink / raw) To: ALT Linux Team development discussions On Mon, Mar 28, 2011 at 02:04:58PM +0400, Dmitry V. Levin wrote: [...] > Не уверен, что проверять надо именно /proc/sys/net/ipv6, но > сама идея включать ipv6 в vz по умолчанию если и только если > ipv6 включен в системе, как мне кажется, правильная. Всё бы хорошо, только вот: root@2.6.32-ovz-el-alt13 # modinfo -F depends vzrst ipv6,nfs,lockd,sunrpc,vzmon При такой зависимости модуля из дефолтного комплекта можно не кувыркаться лишний раз, а сразу рисовать disable. -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 36+ messages in thread
* [devel] IPv6 (Re: vzctl.git=3.0.26.2-alt1) 2011-03-28 9:40 ` Dmitry V. Levin 2011-03-28 9:57 ` Michael Shigorin @ 2011-03-28 11:46 ` Sergey Y. Afonin 1 sibling, 0 replies; 36+ messages in thread From: Sergey Y. Afonin @ 2011-03-28 11:46 UTC (permalink / raw) To: ALT Linux Team development discussions On Monday, March 28, 2011, Dmitry V. Levin wrote: > > Дим, это "прогресс", будь он неладен. > > Пусть этот "прогресс" будет делом добровольным, OK? К сожалению, именно этот прогресс добровольным не будет. Добровольным может быть только выбор, когда начать. Но время до крайнего срока тоже не бесконечно. -- С уважением, Сергей Афонин asy@altlinux.ru ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [devel] vzctl.git=3.0.26.2-alt1 2011-03-28 9:26 ` Michael Shigorin 2011-03-28 9:40 ` Dmitry V. Levin @ 2011-03-28 9:41 ` REAL 2011-03-28 9:50 ` Michael Shigorin 1 sibling, 1 reply; 36+ messages in thread From: REAL @ 2011-03-28 9:41 UTC (permalink / raw) To: ALT Linux Team development discussions 28.03.2011 16:26, Michael Shigorin пишет: > Лучше продумать ручку -- например, control ipv6 с работой Сейчас вроде про умолчания речь. Надеюсь, по умолчанию этот контрол будет отключен? Я не имею в виду новые установки, я имею в виду, чтобы внезапно ipv6 не врубился при очередном обновлении. -- REAL aka Евгений Ростовцев, программист ЦНИТ КемГУ ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [devel] vzctl.git=3.0.26.2-alt1 2011-03-28 9:41 ` [devel] vzctl.git=3.0.26.2-alt1 REAL @ 2011-03-28 9:50 ` Michael Shigorin 2011-03-28 9:58 ` REAL 0 siblings, 1 reply; 36+ messages in thread From: Michael Shigorin @ 2011-03-28 9:50 UTC (permalink / raw) To: ALT Linux Team development discussions On Mon, Mar 28, 2011 at 04:41:37PM +0700, REAL wrote: > >Лучше продумать ручку -- например, control ipv6 с работой > Сейчас вроде про умолчания речь. Надеюсь, по умолчанию этот > контрол будет отключен? Я не имею в виду новые установки, я > имею в виду, чтобы внезапно ipv6 не врубился при очередном > обновлении. Это зависит от ядра и сервисов. Под ovz-el при старте service vz будет воткнут ipv6.ko; под pure-emerald -- нет, но если сделать modprobe ipv6, выдернуть его уже не выходит: # service network stop; rmmod e1000e iwl3945 # rmmod ipv6 ERROR: Module ipv6 is in use # echo 1 > /sys/module/ipv6/parameters/disable zsh: permission denied: /sys/module/ipv6/parameters/disable # echo 1 > /sys/module/ipv6/parameters/disable_ipv6 zsh: permission denied: /sys/module/ipv6/parameters/disable_ipv6 Похоже, только sysctl -w net.ipv6.conf.all.disable_ipv6=1 -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [devel] vzctl.git=3.0.26.2-alt1 2011-03-28 9:50 ` Michael Shigorin @ 2011-03-28 9:58 ` REAL 2011-03-28 9:57 ` Michael Shigorin 0 siblings, 1 reply; 36+ messages in thread From: REAL @ 2011-03-28 9:58 UTC (permalink / raw) To: ALT Linux Team development discussions 28.03.2011 16:50, Michael Shigorin пишет: >> Сейчас вроде про умолчания речь. Надеюсь, по умолчанию этот >> контрол будет отключен? Я не имею в виду новые установки, я >> имею в виду, чтобы внезапно ipv6 не врубился при очередном >> обновлении. > > Это зависит от ядра и сервисов. Под ovz-el при старте > service vz будет воткнут ipv6.ko; Ну, лично меня это ядро не интересует. > под pure-emerald -- нет, А как будет std-def и un-def? > но если сделать modprobe ipv6, выдернуть его уже не выходит: Плохо. > Похоже, только sysctl -w net.ipv6.conf.all.disable_ipv6=1 Вот такое в control просится. -- REAL aka Евгений Ростовцев, программист ЦНИТ КемГУ ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [devel] vzctl.git=3.0.26.2-alt1 2011-03-28 9:58 ` REAL @ 2011-03-28 9:57 ` Michael Shigorin 0 siblings, 0 replies; 36+ messages in thread From: Michael Shigorin @ 2011-03-28 9:57 UTC (permalink / raw) To: ALT Linux Team development discussions On Mon, Mar 28, 2011 at 04:58:45PM +0700, REAL wrote: > >под pure-emerald -- нет, > А как будет std-def и un-def? Думаю, аналогично. -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [devel] vzctl.git=3.0.26.2-alt1 2011-03-27 16:56 ` Michael Shigorin 2011-03-27 18:50 ` Slava Dubrovskiy @ 2011-03-28 10:33 ` Slava Dubrovskiy 2011-03-28 11:00 ` Michael Shigorin 1 sibling, 1 reply; 36+ messages in thread From: Slava Dubrovskiy @ 2011-03-28 10:33 UTC (permalink / raw) To: ALT Linux Team development discussions [-- Attachment #1: Type: text/plain, Size: 1906 bytes --] 27.03.2011 19:56, Michael Shigorin пишет: > On Sun, Mar 27, 2011 at 10:30:52AM +0300, Slava Dubrovskiy wrote: >> У кого есть возможность - потестируйте > После обновления под 2.6.32-ovz-el-alt13 с ipv6.disable=1: > > Configuring IPv6 for interface venet0: RTNETLINK answers: Permission denied > [FAILED] > > Вот патчик: > http://git.altlinux.org/people/mike/packages/?p=vzctl.git;a=commitdiff;h=2faff4614e4a2da64b3ecc0d13fb22a79b210a2f Исправил мелкие недочеты и добавил твой патч. task #41464 Есть еще вопрос по vzeventd. Раньше заданием в кроне заведовал сервис vz. Сейчас апстрим предлагает вынести эту функциональность в отдельный сервис - vzeventd. Что благополучно сделано и работает. Получается что для нормальной работы vz должны быть запущены всегда оба сервиса vz и vzeventd. Но лично мне это не нравится. Получается несколько точек входа управления единой системы vz. Вопрос: возможна ли ситуация, когда при работающем vz, vzeventd должен быть отключен? Если нет, то может лучше функциональность /etc/init.d/vzeventd интегрировать в /etc/init.d/vz ? И на крайний случай поставить vzeventd=YES/NO в /etc/sysconfig/vzeventd и запускать vzeventd в зависимости от этих переменных. Мне кажется это было бы проще для обслуживания и для обновлений. -- WBR, Dubrovskiy Vyacheslav [-- Attachment #2: S/MIME Cryptographic Signature --] [-- Type: application/pkcs7-signature, Size: 5525 bytes --] ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [devel] vzctl.git=3.0.26.2-alt1 2011-03-28 10:33 ` Slava Dubrovskiy @ 2011-03-28 11:00 ` Michael Shigorin 0 siblings, 0 replies; 36+ messages in thread From: Michael Shigorin @ 2011-03-28 11:00 UTC (permalink / raw) To: ALT Linux Team development discussions On Mon, Mar 28, 2011 at 01:33:25PM +0300, Slava Dubrovskiy wrote: > Вопрос: возможна ли ситуация, когда при работающем vz, vzeventd > должен быть отключен? Апстрим никак не описывал? (в т.ч. кодом для того же редхата) -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [devel] vzctl.git=3.0.26.2-alt1 2011-03-27 7:30 ` [devel] vzctl.git=3.0.26.2-alt1 Slava Dubrovskiy 2011-03-27 16:56 ` Michael Shigorin @ 2011-03-27 22:46 ` Dmitry V. Levin 2011-03-28 8:01 ` Slava Dubrovskiy 2011-03-28 13:00 ` Michael Shigorin 2011-05-09 20:43 ` [devel] vzctl.git=3.0.26.3-alt1 Slava Dubrovskiy 3 siblings, 1 reply; 36+ messages in thread From: Dmitry V. Levin @ 2011-03-27 22:46 UTC (permalink / raw) To: ALT Devel discussion list [-- Attachment #1: Type: text/plain, Size: 1752 bytes --] On Sun, Mar 27, 2011 at 10:30:52AM +0300, Slava Dubrovskiy wrote: > > Собрал тут новую версию vzctl. > http://git.altlinux.org/tasks/41371/build/100/i586/ > http://git.altlinux.org/tasks/41371/build/100/x86_64/ > > Достаточно много нового: > - отказ от крона и гарантированный ребут ВПС если ребутается изнутри > контейнера. Теперь за этим следит отдельный демон vzeventd Для того, чтобы vzeventd работал, требуется достаточно свежее ядро. Уточните, пожалуйста, насколько свежее. > - add cpu bindings (--cpumask) > - vzctl set --pci_{add,del}: add the ability to move PCI devices to CT > и т.д. Для этого нужно совсем свежее ядро. > У кого есть возможность - потестируйте, и будем просить ldv@ чтобы > появилось в сизифе. > > 27.03.2011 02:53, Girar Builder robot пишет: > > http://git.altlinux.org/tasks/41371/task/log.1.1 > > > > 2011-Mar-27 04:40:26 :: test-only task #41371 for sisyphus started by dubrsl: > > #100 build 3.0.26.2-alt1 from /people/dubrsl/packages/vzctl.git > > 2011-Mar-27 04:40:27 :: cloned Sisyphus > > 2011-Mar-27 04:40:30 :: [x86_64] #100 vzctl.git 3.0.26.2-alt1: build start > > 2011-Mar-27 04:40:30 :: [i586] #100 vzctl.git 3.0.26.2-alt1: build start > > 2011-Mar-27 04:41:52 :: [x86_64] #100 vzctl.git 3.0.26.2-alt1: build OK > > 2011-Mar-27 04:41:53 :: [i586] #100 vzctl.git 3.0.26.2-alt1: build OK > > 2011-Mar-27 04:41:57 :: build check OK > > 2011-Mar-27 04:41:58 :: noarch check OK > > 2011-Mar-27 04:41:59 :: version check OK > > 2011-Mar-27 04:42:45 :: created test repo > > 2011-Mar-27 04:42:51 :: dependencies check OK > > 2011-Mar-27 04:52:45 :: ELF symbols check OK > > x86_64: vzctl=3.0.26.2-alt1 post-install unowned files: > > /1 Это что такое? -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [devel] vzctl.git=3.0.26.2-alt1 2011-03-27 22:46 ` Dmitry V. Levin @ 2011-03-28 8:01 ` Slava Dubrovskiy 0 siblings, 0 replies; 36+ messages in thread From: Slava Dubrovskiy @ 2011-03-28 8:01 UTC (permalink / raw) To: ALT Linux Team development discussions [-- Attachment #1: Type: text/plain, Size: 2828 bytes --] 28.03.2011 01:46, Dmitry V. Levin пишет: > On Sun, Mar 27, 2011 at 10:30:52AM +0300, Slava Dubrovskiy wrote: >> Собрал тут новую версию vzctl. >> http://git.altlinux.org/tasks/41371/build/100/i586/ >> http://git.altlinux.org/tasks/41371/build/100/x86_64/ >> >> Достаточно много нового: >> - отказ от крона и гарантированный ребут ВПС если ребутается изнутри >> контейнера. Теперь за этим следит отдельный демон vzeventd > Для того, чтобы vzeventd работал, требуется достаточно свежее ядро. > Уточните, пожалуйста, насколько свежее. # rpm --changelog kernel-image-ovz-el * Вск Мар 06 2011 Anton Protopopov <aspsk@altlinux.org> 2.6.32-alt13 - Enable suspend and hibernate - Enable /dev/psaux - Apply 042test008.1 patches Т.е. в сизифе 042test008.1 vzevent is now available in the kernel since 028stab069.5. >> - add cpu bindings (--cpumask) >> - vzctl set --pci_{add,del}: add the ability to move PCI devices to CT >> и т.д. > Для этого нужно совсем свежее ядро. Вот комментарий к коммиту vzctl-3.0.26.2 COMPATIBILITY * VSwap is only supported by RHEL6 kernels * cpumask is only supported by RHEL5 kernels >= 028stab084.1 * pci_add/del is only supported by RHEL6 kernels >= 042test005.1 Т.е. все должно поддерживаться. >> У кого есть возможность - потестируйте, и будем просить ldv@ чтобы >> появилось в сизифе. >> >> 27.03.2011 02:53, Girar Builder robot пишет: >>> http://git.altlinux.org/tasks/41371/task/log.1.1 >>> >>> 2011-Mar-27 04:40:26 :: test-only task #41371 for sisyphus started by dubrsl: >>> #100 build 3.0.26.2-alt1 from /people/dubrsl/packages/vzctl.git >>> 2011-Mar-27 04:40:27 :: cloned Sisyphus >>> 2011-Mar-27 04:40:30 :: [x86_64] #100 vzctl.git 3.0.26.2-alt1: build start >>> 2011-Mar-27 04:40:30 :: [i586] #100 vzctl.git 3.0.26.2-alt1: build start >>> 2011-Mar-27 04:41:52 :: [x86_64] #100 vzctl.git 3.0.26.2-alt1: build OK >>> 2011-Mar-27 04:41:53 :: [i586] #100 vzctl.git 3.0.26.2-alt1: build OK >>> 2011-Mar-27 04:41:57 :: build check OK >>> 2011-Mar-27 04:41:58 :: noarch check OK >>> 2011-Mar-27 04:41:59 :: version check OK >>> 2011-Mar-27 04:42:45 :: created test repo >>> 2011-Mar-27 04:42:51 :: dependencies check OK >>> 2011-Mar-27 04:52:45 :: ELF symbols check OK >>> x86_64: vzctl=3.0.26.2-alt1 post-install unowned files: >>> /1 > Это что такое? хм. Буду искать кто так нагадил... Сходу не вижу. -- WBR, Dubrovskiy Vyacheslav [-- Attachment #2: S/MIME Cryptographic Signature --] [-- Type: application/pkcs7-signature, Size: 5525 bytes --] ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [devel] vzctl.git=3.0.26.2-alt1 2011-03-27 7:30 ` [devel] vzctl.git=3.0.26.2-alt1 Slava Dubrovskiy 2011-03-27 16:56 ` Michael Shigorin 2011-03-27 22:46 ` Dmitry V. Levin @ 2011-03-28 13:00 ` Michael Shigorin 2011-03-28 13:05 ` Michael Shigorin 2011-03-28 13:28 ` Slava Dubrovskiy 2011-05-09 20:43 ` [devel] vzctl.git=3.0.26.3-alt1 Slava Dubrovskiy 3 siblings, 2 replies; 36+ messages in thread From: Michael Shigorin @ 2011-03-28 13:00 UTC (permalink / raw) To: devel On Sun, Mar 27, 2011 at 10:30:52AM +0300, Slava Dubrovskiy wrote: > У кого есть возможность - потестируйте # vzctl create CTID --ostemplate altlinux-5.1-TMPL --ipadd IP --hostname HOSTNAME Creating container private area (altlinux-5.1-TMPL) vzquota : (error) Quota off syscall for id CTID: Resource temporarily unavailable vzquota off failed [3] vzquota : (warning) Quota is broken for id CTID Creation of container private area failed -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [devel] vzctl.git=3.0.26.2-alt1 2011-03-28 13:00 ` Michael Shigorin @ 2011-03-28 13:05 ` Michael Shigorin 2011-03-28 13:13 ` Michael Shigorin 2011-03-28 13:28 ` Slava Dubrovskiy 1 sibling, 1 reply; 36+ messages in thread From: Michael Shigorin @ 2011-03-28 13:05 UTC (permalink / raw) To: devel On Mon, Mar 28, 2011 at 04:00:05PM +0300, I wrote: > > У кого есть возможность - потестируйте > > # vzctl create CTID --ostemplate altlinux-5.1-TMPL --ipadd IP --hostname HOSTNAME > Creating container private area (altlinux-5.1-TMPL) > vzquota : (error) Quota off syscall for id CTID: Resource temporarily unavailable > vzquota off failed [3] > vzquota : (warning) Quota is broken for id CTID > Creation of container private area failed /var/lib/vzquota/quota.CTID и /var/lib/vz/root/CTID/ нет, в private/ -- CTID.tmp; пришлось откатиться на 3.0.24.2-alt1 для того, чтоб всё-таки создать контейнер. -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [devel] vzctl.git=3.0.26.2-alt1 2011-03-28 13:05 ` Michael Shigorin @ 2011-03-28 13:13 ` Michael Shigorin 2011-03-28 13:19 ` Michael Shigorin 0 siblings, 1 reply; 36+ messages in thread From: Michael Shigorin @ 2011-03-28 13:13 UTC (permalink / raw) To: devel On Mon, Mar 28, 2011 at 04:05:01PM +0300, I wrote: > > Creating container private area (altlinux-5.1-TMPL) > > vzquota : (error) Quota off syscall for id CTID: Resource temporarily unavailable > > vzquota off failed [3] > > vzquota : (warning) Quota is broken for id CTID > > Creation of container private area failed > пришлось откатиться на 3.0.24.2-alt1 для того, чтоб всё-таки > создать контейнер. Опять поспешил. В общем, с vzquota-3.0.12-alt2 такой же облом и при vzctl-3.0.24.2-alt1. Посмотрел vzquota.git -- будто ничего на эту тему, vzctl create запускал из существующего /root. Смотрю дальше... -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [devel] vzctl.git=3.0.26.2-alt1 2011-03-28 13:13 ` Michael Shigorin @ 2011-03-28 13:19 ` Michael Shigorin 0 siblings, 0 replies; 36+ messages in thread From: Michael Shigorin @ 2011-03-28 13:19 UTC (permalink / raw) To: devel On Mon, Mar 28, 2011 at 04:13:54PM +0300, I wrote: > > > vzquota : (error) Quota off syscall for id CTID: Resource temporarily unavailable > > > vzquota off failed [3] > > > vzquota : (warning) Quota is broken for id CTID > > > Creation of container private area failed > с vzquota-3.0.12-alt2 такой же облом и при vzctl-3.0.24.2-alt1. Пришлось DISK_QUOTA=no в /etc/vz/vz.conf, create, =yes, start: # vzctl start CTID Starting container ... Initializing quota ... Container is mounted Adding IP address(es): IP Setting CPU units: 1000 Set hostname: HOSTNAME Container start in progress... # vzctl enter CTID entered into CT CTID root@HOSTNAME / # Вешать? -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [devel] vzctl.git=3.0.26.2-alt1 2011-03-28 13:00 ` Michael Shigorin 2011-03-28 13:05 ` Michael Shigorin @ 2011-03-28 13:28 ` Slava Dubrovskiy 2011-03-28 13:45 ` Michael Shigorin 1 sibling, 1 reply; 36+ messages in thread From: Slava Dubrovskiy @ 2011-03-28 13:28 UTC (permalink / raw) To: ALT Linux Team development discussions [-- Attachment #1: Type: text/plain, Size: 718 bytes --] 28.03.2011 16:00, Michael Shigorin пишет: > On Sun, Mar 27, 2011 at 10:30:52AM +0300, Slava Dubrovskiy wrote: >> У кого есть возможность - потестируйте > # vzctl create CTID --ostemplate altlinux-5.1-TMPL --ipadd IP --hostname HOSTNAME > Creating container private area (altlinux-5.1-TMPL) > vzquota : (error) Quota off syscall for id CTID: Resource temporarily unavailable > vzquota off failed [3] > vzquota : (warning) Quota is broken for id CTID > Creation of container private area failed Ты конфиг сразу указывай, где рзмер диска достаточный для разворачиваемого шаблона. -- WBR, Dubrovskiy Vyacheslav [-- Attachment #2: S/MIME Cryptographic Signature --] [-- Type: application/pkcs7-signature, Size: 5525 bytes --] ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [devel] vzctl.git=3.0.26.2-alt1 2011-03-28 13:28 ` Slava Dubrovskiy @ 2011-03-28 13:45 ` Michael Shigorin 2011-03-28 13:56 ` Slava Dubrovskiy 0 siblings, 1 reply; 36+ messages in thread From: Michael Shigorin @ 2011-03-28 13:45 UTC (permalink / raw) To: ALT Linux Team development discussions On Mon, Mar 28, 2011 at 04:28:16PM +0300, Slava Dubrovskiy wrote: > > vzquota : (error) Quota off syscall for id CTID: Resource temporarily unavailable > > vzquota off failed [3] > > vzquota : (warning) Quota is broken for id CTID > > Creation of container private area failed > Ты конфиг сразу указывай, где рзмер диска достаточный для > разворачиваемого шаблона. Так достаточный :) root@HOSTNAME / # du -schx 184M . 184M total /etc/vz/conf # fgrep ORIGIN CTID.conf ORIGIN_SAMPLE="n16" /etc/vz/conf # fgrep DISK ve-n16.conf-sample DISKSPACE="1048576:1100000" DISKINODES="80000:88000" -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [devel] vzctl.git=3.0.26.2-alt1 2011-03-28 13:45 ` Michael Shigorin @ 2011-03-28 13:56 ` Slava Dubrovskiy 2011-03-28 14:09 ` Michael Shigorin 0 siblings, 1 reply; 36+ messages in thread From: Slava Dubrovskiy @ 2011-03-28 13:56 UTC (permalink / raw) To: ALT Linux Team development discussions [-- Attachment #1: Type: text/plain, Size: 1121 bytes --] 28.03.2011 16:45, Michael Shigorin пишет: > On Mon, Mar 28, 2011 at 04:28:16PM +0300, Slava Dubrovskiy wrote: >>> vzquota : (error) Quota off syscall for id CTID: Resource temporarily unavailable >>> vzquota off failed [3] >>> vzquota : (warning) Quota is broken for id CTID >>> Creation of container private area failed >> Ты конфиг сразу указывай, где рзмер диска достаточный для >> разворачиваемого шаблона. > Так достаточный :) > > root@HOSTNAME / # du -schx > 184M . > 184M total > > /etc/vz/conf # fgrep ORIGIN CTID.conf > ORIGIN_SAMPLE="n16" > /etc/vz/conf # fgrep DISK ve-n16.conf-sample > DISKSPACE="1048576:1100000" > DISKINODES="80000:88000" Что-то я не понял что такое CTID в #vzctl create CTID --ostemplate altlinux-5.1-TMPL --ipadd IP --hostname HOSTNAME Это ты реальный номер заменяешь? Ты вот так попробуй #vzctl create CTID --ostemplate altlinux-5.1-TMPL --ipadd IP --hostname HOSTNAME --config unlimited -- WBR, Dubrovskiy Vyacheslav [-- Attachment #2: S/MIME Cryptographic Signature --] [-- Type: application/pkcs7-signature, Size: 5525 bytes --] ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [devel] vzctl.git=3.0.26.2-alt1 2011-03-28 13:56 ` Slava Dubrovskiy @ 2011-03-28 14:09 ` Michael Shigorin 2011-03-28 14:13 ` Slava Dubrovskiy 0 siblings, 1 reply; 36+ messages in thread From: Michael Shigorin @ 2011-03-28 14:09 UTC (permalink / raw) To: ALT Linux Team development discussions On Mon, Mar 28, 2011 at 04:56:35PM +0300, Slava Dubrovskiy wrote: > Это ты реальный номер заменяешь? Угу. > Ты вот так попробуй > #vzctl create CTID --ostemplate altlinux-5.1-TMPL --ipadd IP > --hostname HOSTNAME --config unlimited Странно, но факт -- отработало. -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 36+ messages in thread
* Re: [devel] vzctl.git=3.0.26.2-alt1 2011-03-28 14:09 ` Michael Shigorin @ 2011-03-28 14:13 ` Slava Dubrovskiy 0 siblings, 0 replies; 36+ messages in thread From: Slava Dubrovskiy @ 2011-03-28 14:13 UTC (permalink / raw) To: ALT Linux Team development discussions [-- Attachment #1: Type: text/plain, Size: 637 bytes --] 28.03.2011 17:09, Michael Shigorin пишет: > >> Ты вот так попробуй >> #vzctl create CTID --ostemplate altlinux-5.1-TMPL --ipadd IP >> --hostname HOSTNAME --config unlimited > Странно, но факт -- отработало. :) странно что ты по этим граблям не ходил еще. Эта фича очень давно и не зря в http://www.altlinux.org/OpenVZ#.D0.A1.D0.BE.D0.B7.D0.B4.D0.B0.D0.BD.D0.B8.D0.B5_.D0.B2.D0.B8.D1.80.D1.82.D1.83.D0.B0.D0.BB.D1.8C.D0.BD.D0.BE.D0.B3.D0.BE_.D1.81.D0.B5.D1.80.D0.B2.D0.B5.D1.80.D0.B0 написана -- WBR, Dubrovskiy Vyacheslav [-- Attachment #2: S/MIME Cryptographic Signature --] [-- Type: application/pkcs7-signature, Size: 5525 bytes --] ^ permalink raw reply [flat|nested] 36+ messages in thread
* [devel] vzctl.git=3.0.26.3-alt1 2011-03-27 7:30 ` [devel] vzctl.git=3.0.26.2-alt1 Slava Dubrovskiy ` (2 preceding siblings ...) 2011-03-28 13:00 ` Michael Shigorin @ 2011-05-09 20:43 ` Slava Dubrovskiy 3 siblings, 0 replies; 36+ messages in thread From: Slava Dubrovskiy @ 2011-05-09 20:43 UTC (permalink / raw) To: ALT Linux Team development discussions [-- Attachment #1: Type: text/plain, Size: 301 bytes --] Здравствуйте Собрал новую версию http://git.altlinux.org/tasks/44227/build/100/i586/ http://git.altlinux.org/tasks/44227/build/100/x86_64/ Очень хотелось бы, чтобы новая версия попала в бранч. -- WBR, Dubrovskiy Vyacheslav [-- Attachment #2: S/MIME Cryptographic Signature --] [-- Type: application/pkcs7-signature, Size: 5525 bytes --] ^ permalink raw reply [flat|nested] 36+ messages in thread
end of thread, other threads:[~2011-05-09 20:43 UTC | newest] Thread overview: 36+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2011-03-27 7:30 ` [devel] vzctl.git=3.0.26.2-alt1 Slava Dubrovskiy 2011-03-27 16:56 ` Michael Shigorin 2011-03-27 18:50 ` Slava Dubrovskiy 2011-03-27 20:08 ` Konstantin Pavlov 2011-03-27 21:01 ` Michael Shigorin 2011-03-28 3:39 ` REAL 2011-03-28 6:07 ` Sergey Y. Afonin 2011-03-27 21:00 ` Michael Shigorin 2011-03-27 22:52 ` Dmitry V. Levin 2011-03-28 7:23 ` Slava Dubrovskiy 2011-03-28 7:30 ` Anton Gorlov 2011-03-28 7:31 ` REAL 2011-03-28 9:26 ` Michael Shigorin 2011-03-28 9:40 ` Dmitry V. Levin 2011-03-28 9:57 ` Michael Shigorin 2011-03-28 10:04 ` Dmitry V. Levin 2011-03-28 10:09 ` Michael Shigorin 2011-03-28 11:46 ` [devel] IPv6 (Re: vzctl.git=3.0.26.2-alt1) Sergey Y. Afonin 2011-03-28 9:41 ` [devel] vzctl.git=3.0.26.2-alt1 REAL 2011-03-28 9:50 ` Michael Shigorin 2011-03-28 9:58 ` REAL 2011-03-28 9:57 ` Michael Shigorin 2011-03-28 10:33 ` Slava Dubrovskiy 2011-03-28 11:00 ` Michael Shigorin 2011-03-27 22:46 ` Dmitry V. Levin 2011-03-28 8:01 ` Slava Dubrovskiy 2011-03-28 13:00 ` Michael Shigorin 2011-03-28 13:05 ` Michael Shigorin 2011-03-28 13:13 ` Michael Shigorin 2011-03-28 13:19 ` Michael Shigorin 2011-03-28 13:28 ` Slava Dubrovskiy 2011-03-28 13:45 ` Michael Shigorin 2011-03-28 13:56 ` Slava Dubrovskiy 2011-03-28 14:09 ` Michael Shigorin 2011-03-28 14:13 ` Slava Dubrovskiy 2011-05-09 20:43 ` [devel] vzctl.git=3.0.26.3-alt1 Slava Dubrovskiy
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git