guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Audio/sound (ALSA) in guix environment --container


From: Ludovic Courtès
Subject: Re: Audio/sound (ALSA) in guix environment --container
Date: Wed, 27 Mar 2019 16:03:57 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

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.)

Thoughts?  :-)

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]