[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:
Netboy3
2025-08-18 23:08:26 -04:00
committed by Geoffrey McRae
parent 8d9806bb0e
commit 482f66ab9b
2 changed files with 10 additions and 3 deletions

View File

@@ -120,12 +120,17 @@ change its ownership manually, i.e.:
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::
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:

View File

@@ -33,6 +33,7 @@ imgui
ini
kvmfr
laggy
lexically
libdecor
libpipewire
libpulse
@@ -75,6 +76,7 @@ Threadripper
toolchain
tritanope
tunable
uaccess
udev
UEFI
uncheck