[Users] Problems with Gentoo template creation

Ronald Tanner tanner at semafor.ch
Thu Aug 10 01:59:57 EDT 2006


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
>>
>> _______________________________________________
>> Users mailing list
>> Users at openvz.org
>> https://openvz.org/mailman/listinfo/users
>>   
> 
> _______________________________________________
> Users mailing list
> Users at openvz.org
> https://openvz.org/mailman/listinfo/users

-- 
Ronald Tanner
SEMAFOR Informatik & Energie AG                tel. +41 61 690 9888
Sperrstrasse 104B                              fax. +41 61 690 9880
CH 4057 Basel    Switzerland               mailto:tanner at semafor.ch



More information about the Users mailing list