Artix Linux Forum

Artix Linux => Applications & Software => Topic started by: Frisk15 on 30 June 2020, 23:49:48

Title: [SOLVED] Missing services spice-vdagentd and qemu-ga
Post by: Frisk15 on 30 June 2020, 23:49:48
The problem as the title says, is that when trying to start the qemu-ga and spice-vdagentd services, openRC tells me that these services do not exist, even though these packages are installed, I check the / etc / init directory. There are no scripts for qemu-ga nor those for spice-vdagentd. Meanwhile in the / usr / bin directory if the qemu-ga and spice-vdagentd daemons appear, do you know if I can create a script and bind these with the corresponding daemons?
PS: I tried to create a script for qemu-ga, but when starting the service, it gets crashed. So I have the qemu-ga script like this


# cat /etc/init.d/qemu-guest-agent
#! / sbin / openrc-run

name = "QEMU Guest Agent"
pidfile = "/ run / qemu-ga.pid"
command = "/ usr / bin / qemu-ga"
command_args = "- m $ {GA_METHOD: -virtio-serial} -p qemu-ga -p / dev / vport2p1 -l /var/log/qemu-ga.log -d"

I currently have no script for spice-vdagentd

I appreciate in advance any help you can offer[/i]
Title: Re: Missing services spice-vdagentd and qemu-ga
Post by: alium on 01 July 2020, 05:37:52
https://gitweb.gentoo.org/repo/gentoo.git/tree/app-emulation/qemu-guest-agent/files/qemu-ga.init-r1

https://gitweb.gentoo.org/repo/gentoo.git/tree/app-emulation/qemu-guest-agent/files/qemu-ga.conf-r1

and

https://gitweb.gentoo.org/repo/gentoo.git/tree/app-emulation/spice-vdagent/files/spice-vdagent.initd-4

https://gitweb.gentoo.org/repo/gentoo.git/tree/app-emulation/spice-vdagent/files/spice-vdagent.confd-2
- - - -
@ndowens, can you please prepare openrc service for it?
Title: Re: Missing services spice-vdagentd and qemu-ga
Post by: ndowens on 01 July 2020, 15:26:40
@artoo Are you fine with me adding these?
Title: Re: Missing services spice-vdagentd and qemu-ga
Post by: ndowens on 02 July 2020, 02:53:43
These packages have been added and will be available once the mirrors sync