[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Audio/sound (ALSA) in guix environment --container
From: |
Ricardo Wurmus |
Subject: |
Re: Audio/sound (ALSA) in guix environment --container |
Date: |
Wed, 27 Mar 2019 11:38:07 +0100 |
User-agent: |
mu4e 1.0; emacs 26.1 |
Pierre Neidhardt <address@hidden> writes:
> I've just "guix pull"ed and I get the following:
>
> --8<---------------cut here---------------start------------->8---
>> guix environment --container --ad-hoc coreutils shadow
> # id
> uid=0(ambrevar) gid=0(users) groups=0(users),65534(overflow)
> # groupadd audio
> groupadd: PAM: Critical error - immediate abort
> # useradd foo
> useradd: PAM: Critical error - immediate abort
> --8<---------------cut here---------------end--------------->8---
>
> Any idea where to go from here?
I suppose /etc/pam.d/ also needs to be in the container.
> Ricardo Wurmus <address@hidden> writes:
>
>> I agree. Defaulting to UID 0 is not good. (“conda” is an example of
>> one application that has very different behaviour when it thinks it is
>> running as root.)
>
> 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’s UID into the container
instead of using a fixed UID?
--
Ricardo
- Audio/sound (ALSA) in guix environment --container, Pierre Neidhardt, 2019/03/21
- Re: Audio/sound (ALSA) in guix environment --container, Ludovic Courtès, 2019/03/26
- Re: Audio/sound (ALSA) in guix environment --container, Ricardo Wurmus, 2019/03/26
- Re: Audio/sound (ALSA) in guix environment --container, Pierre Neidhardt, 2019/03/27
- Re: Audio/sound (ALSA) in guix environment --container,
Ricardo Wurmus <=
- Re: Audio/sound (ALSA) in guix environment --container, Pierre Neidhardt, 2019/03/27
- Re: Audio/sound (ALSA) in guix environment --container, Ricardo Wurmus, 2019/03/27
- Re: Audio/sound (ALSA) in guix environment --container, Ludovic Courtès, 2019/03/27
- Re: Audio/sound (ALSA) in guix environment --container, Ricardo Wurmus, 2019/03/27
- Re: Audio/sound (ALSA) in guix environment --container, Ludovic Courtès, 2019/03/27