[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 16:14:30 +0100 |
User-agent: |
mu4e 1.0; emacs 26.1 |
Ludovic Courtès <address@hidden> writes:
> Ricardo Wurmus <address@hidden> skribis:
>
>> Pierre Neidhardt <address@hidden> writes:
>>
>>> Ricardo Wurmus <address@hidden> 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’s UID into the container
>>>> 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 “--user” and
>> “--uid”. Maybe “--user” could take an optional argument, with the
>> default being the current user. Without “--user” we’d use UID 1000.
>
> Currently, without --user, we keep the current user’s name. So it would
> actually be consistent to inherit its UID as well. And with ‘--user’,
> we’d use the given user name and UID 1000. (Essentially what Pierre
> proposed above.)
Excellent, this sounds good.
--
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, 2019/03/27
- 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 <=
- Re: Audio/sound (ALSA) in guix environment --container, Ludovic Courtès, 2019/03/27