]> git.feebdaed.xyz Git - 0xmirror/libvirt.git/commit
qemu: Remove redundant kvm group config in sysusers.d
authorAchill Gilgenast via Devel <devel@lists.libvirt.org>
Sat, 15 Nov 2025 11:19:11 +0000 (12:19 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Fri, 21 Nov 2025 12:55:50 +0000 (12:55 +0000)
commit4ab1e25f6e5b9799b4ae697a7ddfa3a1e70fec7f
tree42a09ce91bf361b0d4143ad8579b544098cce076
parent6bc397eb23fdf293d55ae98c8ad8fc47f3e21aca
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é <berrange@redhat.com>
Signed-off-by: Achill Gilgenast <achill@achill.org>
src/qemu/libvirt-qemu.sysusers.conf