mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-09-02 21:30:52 +00:00
[doc] kvmfr: Update udev rule example
Starting with version 258, "systemd-udevd ignores OWNER=/GROUP= settings with a non-system user/group specified in udev rules files". Change the example udev rule to remove the explicit user assignment and instead use the "uaccess" tag to auto-assign the logged-in user permissions. As "uaccess" tags are processed using the 73-seat-late udev rule, the KVMFR rule file name must precede it (i.e. should use a lower ordinal value), so change the file name in the example to reflect that. Credit goes to Discord user "w1kl4s" for bringing this systemd change to our attention and assisting in testing.
This commit is contained in:
@@ -120,12 +120,17 @@ change its ownership manually, i.e.:
|
|||||||
|
|
||||||
sudo chown user:kvm /dev/kvmfr0
|
sudo chown user:kvm /dev/kvmfr0
|
||||||
|
|
||||||
As an example, you can create a new file in ``/etc/udev/rules.d/99-kvmfr.rules``
|
(replace ``user`` with your username)
|
||||||
|
|
||||||
|
As an example, you can create a new file in ``/etc/udev/rules.d/70-kvmfr.rules``
|
||||||
with the following contents::
|
with the following contents::
|
||||||
|
|
||||||
SUBSYSTEM=="kvmfr", OWNER="user", GROUP="kvm", MODE="0660"
|
SUBSYSTEM=="kvmfr", GROUP="kvm", MODE="0660", TAG+="uaccess"
|
||||||
|
|
||||||
(replace ``user`` with your username)
|
.. note::
|
||||||
|
|
||||||
|
Make sure the udev rule file name ordinal value is below (lexically sorts before) ``73-seat-late.rules``
|
||||||
|
to allow the uaccess tag to be processed properly.
|
||||||
|
|
||||||
.. _ivshmem_kvmfr_libvirt:
|
.. _ivshmem_kvmfr_libvirt:
|
||||||
|
|
||||||
|
@@ -33,6 +33,7 @@ imgui
|
|||||||
ini
|
ini
|
||||||
kvmfr
|
kvmfr
|
||||||
laggy
|
laggy
|
||||||
|
lexically
|
||||||
libdecor
|
libdecor
|
||||||
libpipewire
|
libpipewire
|
||||||
libpulse
|
libpulse
|
||||||
@@ -75,6 +76,7 @@ Threadripper
|
|||||||
toolchain
|
toolchain
|
||||||
tritanope
|
tritanope
|
||||||
tunable
|
tunable
|
||||||
|
uaccess
|
||||||
udev
|
udev
|
||||||
UEFI
|
UEFI
|
||||||
uncheck
|
uncheck
|
||||||
|
Reference in New Issue
Block a user