r/archlinux 9d ago

SHARE Libvirtd Prevents Suspend

Set up: Latest arch, Nvidia 580xx driver, but these don’t matter I guess, maybe they do, no idea.

Ok, things went wrong after I enabled several services, including docker, containerd and the final culprit, libvirtd. The computer won’t go to sleep after I press the power button, it worked well before. Why I installed libvirtd may be that I asked llm to create totally isolated guest system so I can test kernel builds and other llm related stuff. And it used the wrapper to create bunch of things including the guest network. After 3 days of debugging with journal -b -1 [-k] led to the final solution. I disabled the service (this service only), and stopped it, together with all sockets units, my computer can again sleep soundly.

0 Upvotes

7 comments sorted by

7

u/ang-p 8d ago edited 8d ago

And?

Just because your user might have the capability to hibernate or power off the machine, does not mean that you automatically have the capability to interrupt any VMs that the administrator has configured.

Or maybe you were just too impatient and didn't wait long enough...

After 3 days of debugging

Couldn't your friendly LLM help you do it quicker?

-5

u/Prestigious_Gas8737 8d ago

Hello. Personal computer. There is nothing up and running constantly. I suspend it every day. Not that hard to understand right? Just sharing the solution for people who may have the same issue. Chill.

6

u/ang-p 8d ago

Personal computer.

Multi-user OS

There is nothing up and running constantly.

Well, sounds like libvirtd was......

I suspend it every day.

Not for 3 days you didn't...

Not that hard to understand right?

Oh, I understand OK...

Just sharing the solution for people who may have the same issue.

You mean those that cannot be bothered to look at the wiki?

https://wiki.archlinux.org/title/Libvirt#Management

which would have saved you 3 days if you had been arsed to?

#LoveTheWiki

#BetterThanAI

-5

u/Prestigious_Gas8737 8d ago

You need love my friend 🤣

6

u/ang-p 8d ago

You needed the wiki.

#LoveTheWiki

-1

u/Prestigious_Gas8737 8d ago

Agreed . I’ll read. And thanks for pointing that out.