Changes in / [ad897739:70617e8]
- Location:
- chapter08
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/eudev.xml
rad897739 r70617e8 40 40 <sect2 role="installation"> 41 41 <title>Installation of Eudev</title> 42 43 42 44 43 45 <para>First fix the location of udev rules in the .pc file:</para> … … 156 158 157 159 <indexterm zone="conf-eudev"> 158 <primary sortas="e-/etc/udev/rules.d/65-kvm.rules">/etc/udev/rules.d/65-kvm.rules</primary>159 </indexterm>160 161 <para>162 The default udev rule installed by Eudev would allow all users to163 access <filename class='devicefile'>/dev/kvm</filename>. The editors164 consider it dangerous. Create a configuration file to override it:165 </para>166 167 <screen><userinput remap="configure">cat > /etc/udev/rules.d/65-kvm.rules << "EOF"168 <literal>KERNEL=="kvm", GROUP="kvm", MODE="0660", TAG+="uaccess"</literal>169 EOF</userinput></screen>170 171 <indexterm zone="conf-eudev">172 160 <primary sortas="e-/etc/udev/hwdb.bin">/etc/udev/hwdb.bin</primary> 173 161 </indexterm> -
chapter08/systemd.xml
rad897739 r70617e8 67 67 -Dmode=release \ 68 68 -Dpamconfdir=no \ 69 -Ddev-kvm-mode=0660 \70 69 -Ddocdir=/usr/share/doc/systemd-&systemd-version; \ 71 70 ..</userinput></screen> … … 167 166 <para>Prevent the installation of a PAM configuration file not 168 167 functional on LFS.</para> 169 </listitem>170 </varlistentry>171 172 <varlistentry>173 <term><parameter>-Ddev-kvm-mode=0660</parameter></term>174 <listitem>175 <para>The default udev rule would allow all users to access176 <filename class='devicefile'>/dev/kvm</filename>. The editors177 consider it dangerous. This option overrides it.</para>178 168 </listitem> 179 169 </varlistentry>
Note:
See TracChangeset
for help on using the changeset viewer.