From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Neidhardt Subject: Audio/sound (ALSA) in guix environment --container Date: Thu, 21 Mar 2019 20:50:22 +0100 Message-ID: <874l7wgg75.fsf@bababa.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:34415) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h73hy-0004dQ-G1 for guix-devel@gnu.org; Thu, 21 Mar 2019 15:50:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h73hu-0007cI-6x for guix-devel@gnu.org; Thu, 21 Mar 2019 15:50:32 -0400 Received: from relay11.mail.gandi.net ([217.70.178.231]:50485) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h73hs-0007Cl-Hu for guix-devel@gnu.org; Thu, 21 Mar 2019 15:50:29 -0400 Received: from bababa (lfbn-1-12225-33.w90-92.abo.wanadoo.fr [90.92.41.33]) (Authenticated sender: pierre@atlas.engineer) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 74051100009 for ; Thu, 21 Mar 2019 19:50:23 +0000 (UTC) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Guix-devel --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi! I'm trying to run an graphical application with audio in a Guix environment. So far: =2D-8<---------------cut here---------------start------------->8--- guix environment --container \ --share=3D/tmp/.X11-unix/ \ --share=3D/dev/snd \ --ad-hoc foo coreutils -- \ env DISPLAY=3D$DISPLAY foo "$@" =2D-8<---------------cut here---------------end--------------->8--- I get this error: =2D-8<---------------cut here---------------start------------->8--- ALSA lib pcm_direct.c:1943:(snd1_pcm_direct_parse_open_conf) The field ipc_= gid must be a valid group (create group audio) =2D-8<---------------cut here---------------end--------------->8--- I though --share=3D/dev/snd would help, but I don't think that's useful. I tried creating the "audio" group in the container or adding the user to the group, to no avail: =2D-8<---------------cut here---------------start------------->8--- > guix environment -C --ad-hoc coreutils shadow=20 ambrevar@bababa . [env]# groups groups: cannot find name for group ID 0 0 groups: cannot find name for group ID 65534 65534 ambrevar@bababa . [env]# groupadd foo groupadd: PAM: Critical error - immediate abort =2D-8<---------------cut here---------------end--------------->8--- Can anyone get ALSA to work in Guix containers? =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAlyT6v4ACgkQm9z0l6S7 zH9tbgf/SmUT5WGpUNklL/C1//gRkk1W3pPqZy2jY6ulTsQ1hwYqCPzUJG+3lV31 Atq5j8hFZUcO4EKmG29XAzWE0q2OZF99k5Je0/dYDH/8TeMAmPUUxKRcBl+FPHbi eF09y6TeGbLI9G8G4HqJQzOSzOn+pRvO/stlMWL69xst3OJOf8elHYx/MqKo5ORr eiyh1FrX4mWuEalJ7qySPngIvHk2YLZ719OgnfT7Janl/RHsfFxCNlsbzF8iuCAB omdzKbRdBlTsW97Z7C8dUN+Ek6YWjzmqF8Rq20QAdEuJGh8Cn8+e9b6XIjYYTX5j Q5DB7f+V8/TwsiZxGZ75AAmgoUrQbg== =aiFb -----END PGP SIGNATURE----- --=-=-=--