Add libvirt-qemu user in package libvirt

Lack of such user causes the service to fail as it strictly looks
for this username.
This commit is contained in:
Bahar KURT
2025-09-05 13:51:37 +03:00
parent 6de0c68350
commit 589c8d9b23
2 changed files with 8 additions and 0 deletions
@@ -39,3 +39,4 @@ def postInstall(fromVersion, fromRelease, toVersion, toRelease):
os.system("groupadd libvirt")
#os.system("usermod -G libvirt %s" % os.getusername())
os.system("usermod -G libvirt %s" % getpass.getuser())
os.system("useradd -MG libvirt libvirt-qemu")
@@ -139,6 +139,13 @@
</Package>
<History>
<Update release="9">
<Date>2025-09-05</Date>
<Version>8.4.0</Version>
<Comment>Add libvirt-qemu user also.</Comment>
<Name>Bedirhan Kurt</Name>
<Email>bedirhan.kurt@outlook.com</Email>
</Update>
<Update release="8">
<Date>2022-08-07</Date>
<Version>8.4.0</Version>