From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: Audio/sound (ALSA) in guix environment --container Date: Wed, 27 Mar 2019 12:10:03 +0100 Message-ID: <87y350376g.fsf@elephly.net> References: <874l7wgg75.fsf@bababa.i-did-not-set--mail-host-address--so-tickle-me> <878sx1h817.fsf@gnu.org> <87bm1x4kmb.fsf@elephly.net> <87d0mcpqy7.fsf@ambrevar.xyz> <8736n84n74.fsf@elephly.net> <8736n8pofv.fsf@ambrevar.xyz> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:54332) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h96Rv-0003eT-9E for guix-devel@gnu.org; Wed, 27 Mar 2019 07:10:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h96Ru-00072s-Ae for guix-devel@gnu.org; Wed, 27 Mar 2019 07:10:27 -0400 In-reply-to: <8736n8pofv.fsf@ambrevar.xyz> 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: Pierre Neidhardt Cc: Guix-devel Pierre Neidhardt writes: > Ricardo Wurmus writes: > >> I suppose /etc/pam.d/ also needs to be in the container. > > Tried it, same error. > >>> What about defaulting to 1000? It's rather common, so I guess that >>> would be anonymous enough and "just work". >> >> Would it make sense to map the current user=E2=80=99s UID into the conta= iner >> instead of using a fixed UID? > > We have a "--user" option, so we could use the current user's UID when > --user is not specified, 1000 otherwise. > Or better: add a --uid CLI option. I can see confusion coming from the existence of both =E2=80=9C--user=E2=80= =9D and =E2=80=9C--uid=E2=80=9D. Maybe =E2=80=9C--user=E2=80=9D could take an opti= onal argument, with the default being the current user. Without =E2=80=9C--user=E2=80=9D we=E2=80= =99d use UID 1000. What do you think? -- Ricardo