qemu-openrc icon indicating copy to clipboard operation
qemu-openrc copied to clipboard

"Failed to unlink socket" when starting qemu on alpine 3.7

Open bitdancer opened this issue 8 years ago • 0 comments

I just upgraded my alpine 3.6 system to 3.7. Your wonderful init script was working fine in 3.6, but now when I try to start a qemu service, I get, for example:

qemu-system-x86_64: -monitor unix:/run/qemu/dhost/monitor.sock,server,nowait: Failed to unlink socket /run/qemu/dhost/monitor.sock: Permission denied

If I change the user from qemu to root it works fine. The directory is owned by qemu (I even tried deleting it and letting it get recreated). The pid file is owned by root. I have no idea what changed to make this stop working, or if it is a misconfiguration in my system somehow. I couldn't find anything useful by searching the web, though I did learn a lot more about how openrc init scripts work :)

bitdancer avatar Apr 10 '18 22:04 bitdancer