Changes in / [ad897739:70617e8]


Ignore:
Location:
chapter08
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • chapter08/eudev.xml

    rad897739 r70617e8  
    4040  <sect2 role="installation">
    4141    <title>Installation of Eudev</title>
     42
     43   
    4244
    4345    <para>First fix the location of udev rules in the .pc file:</para>
     
    156158
    157159    <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>
    169 EOF</userinput></screen>
    170 
    171     <indexterm zone="conf-eudev">
    172160      <primary sortas="e-/etc/udev/hwdb.bin">/etc/udev/hwdb.bin</primary>
    173161    </indexterm>
  • chapter08/systemd.xml

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