Score:0

accidentally deleted libvirt group, how to restore it

pe flag

I accidently run the command

sudo groupdel libvirt

and after that my virtual machine qemu stop working says this, enter image description here

also after deleting group I'm not able to see libvirt in groups command. how to restore that, please help me.

Score:1
de flag
ob2

I assume you could just do :

addgroup --system libvirt
Rishon JR avatar
pl flag
This should be a comment. not an answer
Christian Ehrhardt avatar
sl flag
It is a valid answer and works, or you can re-install the package which will recreate the group if it doesn't exist. Like `apt install --reinstall libvirt-daemon-system` - even any update would run the same code. Only if you didn't completely remove it, then the maintainer scripts can not know if that was intentional and leave things as-is.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.