Changeset 1a743079


Ignore:
Timestamp:
11/11/2023 09:35:10 AM (6 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.1, ken/TL2024, ken/tuningfonts, lazarus, plabs/newcss, python3.11, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18
Children:
778470d
Parents:
750cb3d
git-author:
Xi Ruoyao <xry111@…> (11/11/2023 09:33:00 AM)
git-committer:
Xi Ruoyao <xry111@…> (11/11/2023 09:35:10 AM)
Message:

elogind: Add -Ddev-kvm-mode=0660

This package overwrites some udev rules of udevd from systemd installed
in LFS. Without this option, the udev rule makes /dev/kvm accessible by
every user. While I don't know how to handle the overwriting issue
properly, let's make the permission of /dev/kvm consistent first.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/sysutils/elogind.xml

    r750cb3d r1a743079  
    152152      -Ddocdir=/usr/share/doc/elogind-&elogind-version; \
    153153      -Dcgroup-controller=elogind           \
     154      -Ddev-kvm-mode=0660                   \
    154155      -Ddbuspolicydir=/etc/dbus-1/system.d &amp;&amp;
    155156ninja</userinput></screen>
     
    209210      sets the location of the <application>D-Bus</application> policy
    210211      directory.
     212    </para>
     213
     214    <para>
     215      <parameter>-Ddev-kvm-mode=0660</parameter>: The default udev rule
     216      would allow all users to access
     217      <filename class='devicefile'>/dev/kvm</filename>.  The editors
     218      consider it dangerous.  This option overrides it.
    211219    </para>
    212220
Note: See TracChangeset for help on using the changeset viewer.