Installing udev in VE based on Debian-4.0

Written by Pritam on October 20, 2008 – 7:02 am -

What is udev?

udev - /dev/ and hotplug management daemon

udev is a daemon which dynamically creates and removes device nodes from /dev/, handles hotplug events and loads drivers at boot time. It replaces the hotplug package and requires a kernel not older than 2.6.12.

Install udev in Debian

#apt-get install udev

NOTE :: After installing this you need to reboot your machine.

When you install the Udev package in VPS based on Debian-4.0 template, you can may the following message:

Setting up udev (0.105-4) …
/var/lib/dpkg/info/udev.postinst: line 125: echo: write error: Operation not permitted

The problem is postinstall script tries to write to /proc/sys/kernel/hotplug file, and this operation is prohibited in a VPS.

To work around this problem ::

just comment the 125th line in /var/lib/dpkg/info/udev.postinst file, that writes to the /proc/sys/kernel/hotplug file. After that udev can be installed smoothly.close Installing udev in VE based on Debian-4.0


Tags: , , , , , , , , , ,
Posted in Linux VPS Hosting, VPS hosting |

Leave a Comment

RSS

  • Subscribe Me

  • Tag Cloud

  • Archives