Editing Gentoo template creation
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 164: | Line 164: | ||
== Edit /sbin/rc == | == Edit /sbin/rc == | ||
− | Edit <code>/vz/private/ | + | Edit <code>/vz/private/777/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> | <pre># try mount -n ${mntcmd:--t sysfs sysfs /sys -o noexec,nosuid,nodev}</pre> | ||
Line 170: | Line 170: | ||
This prevents the container from attempting to mount <code>/sys</code>. | 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/ | + | To ensure that this change isn't automatically overwritten on update, add the following to <code>/vz/private/777/etc/make.conf</code>: |
<pre>CONFIG_PROTECT="/sbin/rc"</pre> | <pre>CONFIG_PROTECT="/sbin/rc"</pre> | ||
− | |||
− | |||
== Set up udev == | == Set up udev == |