Editing Installing udev in VE based on Debian-4.0
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 1: | Line 1: | ||
− | When you install | + | When you install <tt>udev</tt> package in [[VE]] based on Debian-4.0 template, you can see the following message: |
<pre> | <pre> | ||
Setting up udev (0.105-4) ... | Setting up udev (0.105-4) ... | ||
Line 5: | Line 5: | ||
</pre> | </pre> | ||
− | The problem is that postinstall script tries to write to <tt>/proc/sys/kernel/hotplug</tt> file, and this operation is prohibited in | + | The problem is that postinstall script tries to write to <tt>/proc/sys/kernel/hotplug</tt> file, and this operation is prohibited in VE. |
− | To work around this problem, just comment the 125th line in <tt>/var/lib/dpkg/info/udev.postinst</tt> file, that writes to | + | To work around this problem, just comment the 125th line in <tt>/var/lib/dpkg/info/udev.postinst</tt> file, that writes to <tt>/proc/sys/kernel/hotplug</tt> file. After that <tt>udev</tt> can be installed smoothly. |
− | P.S. Don't forget to enable | + | P.S. Don't forget to enable <tt>sysfs</tt> feature for VE in question (by vzctl), in order <tt>udev</tt> to be able to work. |
− | |||
− | |||
[[Category:Troubleshooting]] | [[Category:Troubleshooting]] | ||
− |