Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Nov 2023 15:05:11 +0000
From:      bugzilla-noreply@freebsd.org
To:        emulation@FreeBSD.org
Subject:   [Bug 274871] Linuxulator: No sound after upgrading from 14.0-RC2 to 14.0-RC3
Message-ID:  <bug-274871-4077-WD6hCIR4hb@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-274871-4077@https.bugs.freebsd.org/bugzilla/>
References:  <bug-274871-4077@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274871

--- Comment #4 from Patricio Villar <patovm04@gmail.com> ---
I solved it!

Thank you for your guidance. I ran it under ktrace as you asked and noticed
this message:

"Failed to create secure directory (/var/run/user/1001/pulse): No such file=
 or
directory"

as well as other ones such as "Failed to connect to the bus: Failed to conn=
ect
to socket /var/run/dbus/system_bus_socket: No such file or directory"


So then I checked and noticed /compat/ubuntu/var/run symlink was broken, so=
 I
did the following:

rm /compat/ubuntu/var/run
cd /compat/ubuntu/var && ln -s ../run run
mkdir -p /compat/ubuntu/run/user/1001/pulse
chown -R pato /compat/ubuntu/run/user/1001
chgrp -R pato /compat/ubuntu/run/user/1001
mount -t nullfs /var/run/user/1001/pulse /compat/ubuntu/run/user/1001/pulse

Both chown and chgrp were necessary, otherwise it didn't work and this mess=
age
showed:
"XDG_RUNTIME_DIR (/var/run/user/1001) is not owned by us (uid 1001), but by=
 uid
0!"

Well, everything is working as it should now :)
Guess I don't need to send you the kdump anymore.

Still, we don't know what change between 14.0-RC2 and RC3 caused all these
fixes to be necessary to make the sound work again...

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-274871-4077-WD6hCIR4hb>