Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Gentoo template creation

101 bytes added, 14:34, 27 December 2011
Edit /sbin/rc
== Edit /sbin/rc ==
Edit <code>/vz/private/7771001/sbin/rc</code> and put a hash mark (#) at the beginning of line 244 (your line number may be different):
<pre># try mount -n ${mntcmd:--t sysfs sysfs /sys -o noexec,nosuid,nodev}</pre>
This prevents the container from attempting to mount <code>/sys</code>.
To ensure that this change isn't automatically overwritten on update, add the following to <code>/vz/private/7771001/etc/make.conf</code>:
<pre>CONFIG_PROTECT="/sbin/rc"</pre>
 
'''Gentoo 11.2''' <code>/vz/private/1001/sbin/rc</code> is '''binary''', i just skipped this post
== Set up udev ==
Anonymous user