OpenVZ Forum


Home » International » Russian » Пытаюсь запустить Gentoo как гостя
Пытаюсь запустить Gentoo как гостя [message #34281] Sun, 21 December 2008 10:12 Go to next message
HappyAlex is currently offline  HappyAlex
Messages: 27
Registered: September 2006
Junior Member
Имеем последную версию openvz на центос5 с послед. утилитами

создают гостя по шаблону stage3.2006.1 работает сетка

создают с шаблоном gentoo-openvz-x86-2008.11.30
создается но при запуске ругается

[root@vpsnode cache]# vzctl start 800
Starting container ...
Container is mounted
Adding IP address(es): my_ip
ERROR: Failed to comment ^config_eth: unable to copy /etc/conf.d/net
cp: preserving times for `/etc/conf.d/net.1418': Bad address
Setting CPU units: 1000
Configure meminfo: 65536
Set hostname: testvps
/bin/cp: preserving times for `/etc/hosts.1428': Bad address
ERROR: Can't copy file /etc/hosts
Container start in progress...
[root@vpsnode cache]#


Как решить данный вопрос ?
Re: Пытаюсь запустить Gentoo как гостя [message #34282 is a reply to message #34281] Sun, 21 December 2008 10:21 Go to previous messageGo to next message
HappyAlex is currently offline  HappyAlex
Messages: 27
Registered: September 2006
Junior Member
Однако gentoo внутри отконфигурировать

config_venet0=( "IP/32" )
routes_venet0=( "-net 192.0.2.0/24" "default via 192.0.2.1" )

и рестартануть внутри ve /etc/init.d/net.venet restart

все работает -(

Re: Пытаюсь запустить Gentoo как гостя [message #34286 is a reply to message #34281] Sun, 21 December 2008 16:14 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

HappyAlex wrote on Sun, 21 December 2008 13:12


ERROR: Failed to comment ^config_eth: unable to copy /etc/conf.d/net
cp: preserving times for `/etc/conf.d/net.1418': Bad address



Это
http://bugzilla.openvz.org/show_bug.cgi?id=970

Ждите нового RHEL5 ядра, или пока используйте 2.6.24


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: Пытаюсь запустить Gentoo как гостя [message #34316 is a reply to message #34281] Tue, 23 December 2008 11:19 Go to previous message
hvdkamer is currently offline  hvdkamer
Messages: 40
Registered: July 2006
Member
Sorry for the English, but I can't read or write in Russian. This thread however was mentioned in Bugzilla. If I understand correctly, the latest Gentoo is also bitten by this bug. The problem is the utimensat patch in 2.6.18 kernels which doesn't work nicely with the cp and touch commands in coreutils 6.12.

At this point you have three options:

* Apply the patch to the OpenVZ kernel (if I understand correctly it will be included in the next maintance release, but when that will is unknown)
* Use the 2.6.24 kernel (not for production servers)
* Downgrade coreutils to version 6.11 or lower

The Gentoo developers have a patch for coreutils and the OpenVZ 2.6.18 kernel which should work also. However I've not tested that.


Henk van de Kamer
auteur Het Lab
http://www.hetlab.tk/
Previous Topic: Как пользоваться virt_osrelease?
Next Topic: Есть у кого-нибудь какая-то информация по планировщику
Goto Forum:
  


Current Time: Wed Nov 27 06:48:49 GMT 2024

Total time taken to generate the page: 0.07197 seconds