Changeset ad897739


Ignore:
Timestamp:
04/10/2023 10:30:10 PM (13 months ago)
Author:
Thomas Trepl <thomas@…>
Branches:
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.
Message:

Automatic merge of trunk into multilib

Location:
chapter08
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • chapter08/eudev.xml

    r70617e8 rad897739  
    4040  <sect2 role="installation">
    4141    <title>Installation of Eudev</title>
    42 
    43    
    4442
    4543    <para>First fix the location of udev rules in the .pc file:</para>
     
    158156
    159157    <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 &lt;&lt; "EOF"
     168<literal>KERNEL=="kvm", GROUP="kvm", MODE="0660", TAG+="uaccess"</literal>
     169EOF</userinput></screen>
     170
     171    <indexterm zone="conf-eudev">
    160172      <primary sortas="e-/etc/udev/hwdb.bin">/etc/udev/hwdb.bin</primary>
    161173    </indexterm>
  • chapter08/systemd.xml

    r70617e8 rad897739  
    6767      -Dmode=release                \
    6868      -Dpamconfdir=no               \
     69      -Ddev-kvm-mode=0660           \
    6970      -Ddocdir=/usr/share/doc/systemd-&systemd-version; \
    7071      ..</userinput></screen>
     
    166167          <para>Prevent the installation of a PAM configuration file not
    167168          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>
    168178        </listitem>
    169179      </varlistentry>
Note: See TracChangeset for help on using the changeset viewer.