[PATCH RESEND] qemu: Remove redundant kvm group config in sysusers.d

Achill Gilgenast via Devel posted 1 patch 5 days, 22 hours ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20251115111917.121791-1-achill@achill.org
src/qemu/libvirt-qemu.sysusers.conf | 1 -
1 file changed, 1 deletion(-)
[PATCH RESEND] qemu: Remove redundant kvm group config in sysusers.d
Posted by Achill Gilgenast via Devel 5 days, 22 hours ago
It's already defined by default in systemd:
https://github.com/systemd/systemd/blob/v257.6/sysusers.d/basic.conf.in#L32

Adding it again here in libvirt-qemu.sysusers.conf causes the following
warning by validating it with sd-sysuers:

	/usr/lib/sysusers.d/libvirt-qemu.conf:1: Conflict with earlier configuration for group 'kvm' in /usr/lib/sysusers.d/basic.conf:32, ignoring line.

I don't know if the GID is important, but from simple grepping around it
doesn't seem that way.

Signed-off-by: Achill Gilgenast <achill@achill.org>
---
 src/qemu/libvirt-qemu.sysusers.conf | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/qemu/libvirt-qemu.sysusers.conf b/src/qemu/libvirt-qemu.sysusers.conf
index 3189191e738a..05c35f94d814 100644
--- a/src/qemu/libvirt-qemu.sysusers.conf
+++ b/src/qemu/libvirt-qemu.sysusers.conf
@@ -1,4 +1,3 @@
-g kvm 36
 g qemu 107
 u qemu 107:qemu "qemu user" - -
 m qemu kvm
-- 
2.51.2