[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#37162: ‘guix pack -f docker’ creates an image without /etc/passwd
From: |
Ricardo Wurmus |
Subject: |
bug#37162: ‘guix pack -f docker’ creates an image without /etc/passwd |
Date: |
Sun, 25 Aug 2019 18:28:09 +0200 |
User-agent: |
mu4e 1.2.0; emacs 26.2 |
Hi Maxim,
> Ludovic Courtès <address@hidden> writes:
>
>> ‘guix pack -f docker’ currently creates an image without
>> /etc/{passwd,group,shadow}.
>>
>> It’s OK most of the time, but again it looks like a gratuitous annoyance
>> for those cases where having them around matters (that’s also the reason
>> why guix-daemon creates them.)
>
> Would that include the files required for PAM authentication to work
> correctly? I remember struggling with this use case: using the Docker
> image with CQFD wrapper, which must be able to create a user and
> sudo'ing (or 'su') to it in the docker container.
I wonder if at this point it wouldn’t be better to build a whole system
container. Isn’t that outside the scope of “guix pack” and rather a
task for “guix system”?
--
Ricardo