The officially official Devuan Forum!

You are not logged in.

#1 2023-05-09 09:40:14

ajay69
Member
Registered: 2023-05-09
Posts: 2  

How to start libvirt-daemon with runit

Hi guys,

I'm new on Devuan and so far I'm pretty delighted but still struggling with a few basics. How can I enable the libvirt-daemon if I want to use qemu/virt-manager?

Offline

#2 2023-05-09 10:29:06

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,486  

Re: How to start libvirt-daemon with runit

In debian and devuan, runit will use init scripts if there are no run scripts for that service. Make sure libvirt-daemon-system-sysv is installed so you have those init scripts.

Offline

#3 2023-05-09 13:38:15

xinomilo
Unknown
Registered: 2017-07-02
Posts: 315  

Re: How to start libvirt-daemon with runit

about a year ago, i've uploaded a runscript for libvirtd if you want to try/use with runit : https://git.devuan.org/xinomilo/runscri … bvirtd/run
involves some steps to add to runit, better look Debian runit documentation.

Lorenzo, the Debian runit maintainer (who's also around here), also accepts wishlist bugs for new services/runscripts to add to runit-services package...

Offline

#4 2023-05-09 17:01:44

ajay69
Member
Registered: 2023-05-09
Posts: 2  

Re: How to start libvirt-daemon with runit

fsmithred wrote:

In debian and devuan, runit will use init scripts if there are no run scripts for that service. Make sure libvirt-daemon-system-sysv is installed so you have those init scripts.

The package is installed. So I would assume to find the init scripts under /etc/sv. Nothing there.

Offline

#5 2023-05-10 11:16:55

Lorenzo
Member
Registered: 2020-03-03
Posts: 46  

Re: How to start libvirt-daemon with runit

The package is installed. So I would assume to find the init scripts under /etc/sv. Nothing there.

that would be the place for a run script; the sysv init script is in /etc/init.d

Lorenzo

Offline

Board footer