Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Gentoo template creation

928 bytes added, 05:47, 21 October 2011
m
Reverted edits by 109.230.216.225 (talk) to last revision by 204.9.160.90
<pre>CONFIG_PROTECT="/sbin/rc"</pre>
Real brain power == Set up udev == Using udev you will have problems since some devices nodes are not created.For example sshd will fail to start since /dev/random and /dev/urandom are missing.So it's recommended to disable udev.Edit <code>/vz/private/777/etc/conf.d/rc</code> and change the <code>RC_DEVICES</code> line to:<pre>RC_DEVICES="static"</pre>  If you want to enable udev read on dsipaly. Thanks  Create some device nodes needed to enter a container: <pre>cd /vz/private/777/libmknod udev/devices/ttyp0 c 3 0mknod udev/devices/ptyp0 c 2 0mknod udev/devices/ptmx c 5 2</pre> Edit <code>/vz/private/777/etc/conf.d/rc</code> and change the <code>RC_DEVICES</code> and <code>RC_DEVICE_TARBALL</code> lines to: <pre>RC_DEVICES="udev"RC_DEVICE_TARBALL="no"</pre> You have to leave the directory you are in for the next step to be OK, otherwise you will get this error message: vzquota : (error) Quota on syscall for that answer!777: Device or resource busy vzquota on failed [3] <pre>cd /</pre>
== Edit /etc/pam.d/chpasswd ==