From: Achill Gilgenast via Devel Date: Sat, 15 Nov 2025 11:19:11 +0000 (+0100) Subject: qemu: Remove redundant kvm group config in sysusers.d X-Git-Tag: v11.10.0-rc1~61 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4ab1e25f6e5b9799b4ae697a7ddfa3a1e70fec7f;p=thirdparty%2Flibvirt.git qemu: Remove redundant kvm group config in sysusers.d 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. On Fedora/RHEL systemd is built with -Dkvm-gid=36 so there is no change in the allocated GID on these platforms. Other platforms have the same facility available to them if they wish to retain a fixed GID. Reviewed-by: Daniel P. Berrangé Signed-off-by: Achill Gilgenast --- diff --git a/src/qemu/libvirt-qemu.sysusers.conf b/src/qemu/libvirt-qemu.sysusers.conf index 3189191e73..05c35f94d8 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