- Timestamp:
- 04/10/2023 10:30:10 PM (18 months ago)
- Branches:
- multilib, xry111/multilib
- Children:
- eac5d6f
- Parents:
- 70617e8 (diff), a4b0c6d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- chapter08
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/eudev.xml
r70617e8 rad897739 40 40 <sect2 role="installation"> 41 41 <title>Installation of Eudev</title> 42 43 44 42 45 43 <para>First fix the location of udev rules in the .pc file:</para> … … 158 156 159 157 <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 to 163 access <filename class='devicefile'>/dev/kvm</filename>. The editors 164 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"> 160 172 <primary sortas="e-/etc/udev/hwdb.bin">/etc/udev/hwdb.bin</primary> 161 173 </indexterm> -
chapter08/systemd.xml
r70617e8 rad897739 67 67 -Dmode=release \ 68 68 -Dpamconfdir=no \ 69 -Ddev-kvm-mode=0660 \ 69 70 -Ddocdir=/usr/share/doc/systemd-&systemd-version; \ 70 71 ..</userinput></screen> … … 166 167 <para>Prevent the installation of a PAM configuration file not 167 168 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 access 176 <filename class='devicefile'>/dev/kvm</filename>. The editors 177 consider it dangerous. This option overrides it.</para> 168 178 </listitem> 169 179 </varlistentry>
Note:
See TracChangeset
for help on using the changeset viewer.