OpenVZ Forum


Home » Mailing lists » Users » Problems with Gentoo template creation
Re: Problems with Gentoo template creation [message #5064 is a reply to message #5062] Thu, 10 August 2006 05:59 Go to previous messageGo to previous message
Ronald Tanner is currently offline  Ronald Tanner
Messages: 8
Registered: August 2006
Junior Member
No problem, I can create these devices.
However after a reboot they are lost because /dev is mounted
on tmpfs and gentoo uses udev.

Besides: do you have any idea why I have to set the routes

/sbin/route add -net 191.255.255.1 netmask 255.255.255.255 dev venet0
/sbin/route add default gw 191.255.255.1

on the VE by hand to get the net working?

Regards
Ronald

Martin Dobrev wrote:
> Actually /proc is not related to u/random. This are regular devices in
> /dev. Can you try to create the devices using mknod inside the VPS...
>
> vzctl exec 500 mknod -m 666 /dev/random c 1 8
> vzctl exec 500 mknod -m 444 /dev/urandom c 1 9
>
> Martin
>
> Ronald Tanner wrote:
>> Hi
>>
>> On a Gentoo/OpenVZ system with kernel 2.6.16-026test015 I created a
>> gentoo template by following the instructions on
>>
>> http://wiki.openvz.org/Gentoo_template_creation
>>
>> I am now encountering several problems with the VPS
>> that are created using this template
>> I cannot find the "random" devices that are needed for example
>> to generate the host key for ssh. The problem is maybe somehow
>> related with the link of /etc/mtab -> /proc/mounts.
>> After removing the link and adding the following
>> line into /etc/mtab on the VPS:
>>
>> proc /proc proc rw 0 0
>>
>> at least the device urandom exists and I am able to create the
>> host keys. But now I cannot ping the VPS:
>>
>> VPSID NPROC STATUS IP_ADDR HOSTNAME
>> 500 3 running 10.0.186.10 -
>>
>> ping 10.0.186.10 (no answer)
>>
>> entering works:
>>
>> vzctl enter 500
>>
>>
>> Thanks for any help.
>>
>> Ronald
>>
--
Ronald Tanner
SEMAFOR Informatik & Energie AG tel. +41 61 690 9888
Sperrstrasse 104B fax. +41 61 690 9880
CH 4057 Basel Switzerland mailto:tanner@semafor.ch
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: -bash: child setpgid (7091 to 8093): Operation not permitted
Next Topic: Can't ping VE from Host
Goto Forum:
  


Current Time: Fri Jul 19 23:29:16 GMT 2024

Total time taken to generate the page: 0.02301 seconds