<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.openvz.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Generico</id>
	<title>OpenVZ Virtuozzo Containers Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.openvz.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Generico"/>
	<link rel="alternate" type="text/html" href="https://wiki.openvz.org/Special:Contributions/Generico"/>
	<updated>2026-05-15T14:43:20Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.1</generator>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Installing_udev_in_VE_based_on_Debian-4.0&amp;diff=3340</id>
		<title>Installing udev in VE based on Debian-4.0</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Installing_udev_in_VE_based_on_Debian-4.0&amp;diff=3340"/>
		<updated>2007-07-20T11:06:52Z</updated>

		<summary type="html">&lt;p&gt;Generico: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;When you install &amp;lt;tt&amp;gt;udev&amp;lt;/tt&amp;gt; package in [[VE]] based on Debian-4.0 template, you can see the following message:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Setting up udev (0.105-4) ...&lt;br /&gt;
/var/lib/dpkg/info/udev.postinst: line 125: echo: write error: Operation not permitted&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The problem is that postinstall script tries to write to &amp;lt;tt&amp;gt;/proc/sys/kernel/hotplug&amp;lt;/tt&amp;gt; file, and this operation is prohibited in VE.&lt;br /&gt;
To work around this problem, just comment the 125th line in &amp;lt;tt&amp;gt;/var/lib/dpkg/info/udev.postinst&amp;lt;/tt&amp;gt; file, that writes to &amp;lt;tt&amp;gt;/proc/sys/kernel/hotplug&amp;lt;/tt&amp;gt; file. After that &amp;lt;tt&amp;gt;udev&amp;lt;/tt&amp;gt; can be installed smoothly.&lt;br /&gt;
&lt;br /&gt;
P.S. Don't forget to enable &amp;lt;tt&amp;gt;sysfs&amp;lt;/tt&amp;gt; feature for VE in question (by vzctl), in order &amp;lt;tt&amp;gt;udev&amp;lt;/tt&amp;gt; to be able to work.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;vzctl set XXX --features &amp;quot;sysfs:on&amp;quot; --save&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Troubleshooting]]&lt;/div&gt;</summary>
		<author><name>Generico</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Installing_udev_in_VE_based_on_Debian-4.0&amp;diff=3339</id>
		<title>Installing udev in VE based on Debian-4.0</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Installing_udev_in_VE_based_on_Debian-4.0&amp;diff=3339"/>
		<updated>2007-07-20T11:06:29Z</updated>

		<summary type="html">&lt;p&gt;Generico: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;When you install &amp;lt;tt&amp;gt;udev&amp;lt;/tt&amp;gt; package in [[VE]] based on Debian-4.0 template, you can see the following message:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Setting up udev (0.105-4) ...&lt;br /&gt;
/var/lib/dpkg/info/udev.postinst: line 125: echo: write error: Operation not permitted&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The problem is that postinstall script tries to write to &amp;lt;tt&amp;gt;/proc/sys/kernel/hotplug&amp;lt;/tt&amp;gt; file, and this operation is prohibited in VE.&lt;br /&gt;
To work around this problem, just comment the 125th line in &amp;lt;tt&amp;gt;/var/lib/dpkg/info/udev.postinst&amp;lt;/tt&amp;gt; file, that writes to &amp;lt;tt&amp;gt;/proc/sys/kernel/hotplug&amp;lt;/tt&amp;gt; file. After that &amp;lt;tt&amp;gt;udev&amp;lt;/tt&amp;gt; can be installed smoothly.&lt;br /&gt;
&lt;br /&gt;
P.S. Don't forget to enable &amp;lt;tt&amp;gt;sysfs&amp;lt;/tt&amp;gt; feature for VE in question (by vzctl), in order &amp;lt;tt&amp;gt;udev&amp;lt;/tt&amp;gt; to be able to work.&lt;br /&gt;
&amp;lt;tt&amp;gt;vzctl set XXX --features &amp;quot;sysfs:on&amp;quot; --save&amp;lt;tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Troubleshooting]]&lt;/div&gt;</summary>
		<author><name>Generico</name></author>
		
	</entry>
</feed>