Пытаюсь запустить Gentoo как гостя [message #34281] |
Sun, 21 December 2008 10:12 |
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 #34316 is a reply to message #34281] |
Tue, 23 December 2008 11:19 |
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/
|
|
|