From 482f66ab9bdcae357578419afe8d38e741b42956 Mon Sep 17 00:00:00 2001 From: Netboy3 <1472804+netboy3@users.noreply.github.com> Date: Mon, 18 Aug 2025 23:08:26 -0400 Subject: [PATCH] [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. --- doc/ivshmem_kvmfr.rst | 11 ++++++++--- doc/words.txt | 2 ++ 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/doc/ivshmem_kvmfr.rst b/doc/ivshmem_kvmfr.rst index bd34d9ff..d2fe3ff4 100644 --- a/doc/ivshmem_kvmfr.rst +++ b/doc/ivshmem_kvmfr.rst @@ -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: diff --git a/doc/words.txt b/doc/words.txt index c8be3a08..bd86b9f1 100644 --- a/doc/words.txt +++ b/doc/words.txt @@ -33,6 +33,7 @@ imgui ini kvmfr laggy +lexically libdecor libpipewire libpulse @@ -75,6 +76,7 @@ Threadripper toolchain tritanope tunable +uaccess udev UEFI uncheck