diff options
-rw-r--r-- | chapter08/eudev.xml | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/chapter08/eudev.xml b/chapter08/eudev.xml index 0cce469e1..f4c5ac5d2 100644 --- a/chapter08/eudev.xml +++ b/chapter08/eudev.xml @@ -40,8 +40,6 @@ <sect2 role="installation"> <title>Installation of Eudev</title> - - <para>First fix the location of udev rules in the .pc file:</para> <screen><userinput remap="pre">sed -i '/udevdir/a udev_dir=${udevdir}' src/udev/udev.pc.in</userinput></screen> @@ -89,6 +87,20 @@ make -f &udev-lfs-version;/Makefile.lfs install</userinput></screen> </indexterm> <indexterm zone="conf-eudev"> + <primary sortas="e-/etc/udev/rules.d/65-kvm.rules">/etc/udev/rules.d/65-kvm.rules</primary> + </indexterm> + + <para> + The default udev rule installed by Eudev would allow all users to + access <filename class='devicefile'>/dev/kvm</filename>. The editors + consider it dangerous. Create a configuration file to override it: + </para> + +<screen><userinput remap="configure">cat > /etc/udev/rules.d/65-kvm.rules << "EOF" +<literal>KERNEL=="kvm", GROUP="kvm", MODE="0660", TAG+="uaccess"</literal> +EOF</userinput></screen> + + <indexterm zone="conf-eudev"> <primary sortas="e-/etc/udev/hwdb.bin">/etc/udev/hwdb.bin</primary> </indexterm> |