Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 738910 - sys-libs/musl-1.2.1 breaks libvirt and pulseaudio
Summary: sys-libs/musl-1.2.1 breaks libvirt and pulseaudio
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2020-08-25 10:22 UTC by Stijn Tintel
Modified: 2021-08-10 03:00 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stijn Tintel 2020-08-25 10:22:57 UTC
See https://www.openwall.com/lists/musl/2020/08/14/3
Please consider reverting the musl-1.2.1 stabilization.
Comment 1 Jory A. Pratt gentoo-dev 2020-09-08 01:29:38 UTC
I am not one to follow mailing lists for another project. Can you actually explain how things like pulseaudio are broken? I currently use pulseaudio with all my machines and none of them are having an issue with musl-1.2.1
Comment 2 12101111 2020-11-02 10:29:35 UTC
I can confirm app-emulation/libvirt is broken on musl 1.2.1, app-emulation/virt-manager can't connect to the server.

upstream report: https://gitlab.com/libvirt/libvirt/-/issues/52#note_377144096

patch: https://www.redhat.com/archives/libvir-list/2020-August/msg00597.html
Comment 3 Stijn Tintel 2020-11-02 12:44:36 UTC
(In reply to Jory A. Pratt from comment #1)
> I am not one to follow mailing lists for another project. Can you actually
> explain how things like pulseaudio are broken? I currently use pulseaudio
> with all my machines and none of them are having an issue with musl-1.2.1

I'm not using pulseaudio on my musl systems. However, I am experiencing the same problem as https://bugs.gentoo.org/738910#c2. The workaround for this is to kill the 2nd /usr/sbin/libvirtd process after starting libvirtd. Maybe we should carry the libvirt patches instead. Unfortunately upstream seems to be ignoring them so far.
Comment 4 Alexander Miroshnichenko 2021-02-17 14:48:11 UTC
(In reply to 12101111 from comment #2)
> I can confirm app-emulation/libvirt is broken on musl 1.2.1,
> app-emulation/virt-manager can't connect to the server.
> 
> upstream report:
> https://gitlab.com/libvirt/libvirt/-/issues/52#note_377144096
> 
> patch: https://www.redhat.com/archives/libvir-list/2020-August/msg00597.html

This patches can not fully resolve the issue.

Such command hangs and other, because libvirtd fork process deadlock'ed:

virsh # list
Comment 5 Alexander Miroshnichenko 2021-02-17 15:05:14 UTC
The issue completely resolved for libvirt with above patches and 
sys-libs/libcap-ng-0.8.2-r1
sys-libs/musl-1.2.2-r1