Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Installing udev in VE based on Debian-4.0

18 bytes added, 11:23, 22 May 2008
no edit summary
When you install the <tt>udev</tt> package in [[VE]] based on Debian-4.0 template, you can see may the following message:
<pre>
Setting up udev (0.105-4) ...
</pre>
The problem is that postinstall script tries to write to <tt>/proc/sys/kernel/hotplug</tt> file, and this operation is prohibited in a VE.To work around this problem, just comment the 125th line in <tt>/var/lib/dpkg/info/udev.postinst</tt> file, that writes to the <tt>/proc/sys/kernel/hotplug</tt> file. After that <tt>udev</tt> can be installed smoothly.
P.S. Don't forget to enable <tt>sysfs</tt> feature for the VE in question (by vzctl), in order for <tt>udev</tt> to be able to work.
<tt>vzctl set XXX --features "sysfs:on" --save</tt>
[[Category:Troubleshooting]]
66
edits