GNU bug report logs - #67574
oci-container-service: hotfix

Previous Next

Package: guix-patches;

Reported by: paul <goodoldpaul <at> autistici.org>

Date: Fri, 1 Dec 2023 22:40:02 UTC

Severity: normal

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: paul <goodoldpaul <at> autistici.org>
Subject: bug#67574: closed (Re: bug#67574: oci-container-service: hotfix)
Date: Sun, 10 Dec 2023 21:25:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#67574: oci-container-service: hotfix

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 67574 <at> debbugs.gnu.org.

-- 
67574: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=67574
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: Giacomo Leidi <goodoldpaul <at> autistici.org>
Cc: 67574-done <at> debbugs.gnu.org
Subject: Re: bug#67574: oci-container-service: hotfix
Date: Sun, 10 Dec 2023 22:23:53 +0100
Giacomo Leidi <goodoldpaul <at> autistici.org> skribis:

> The oci-container-configuration supports two user fields: one is the
> user, from the host system, under whose authority the OCI-backed
> Shepherd service is run; the other is an optional user/UID that can be
> passed to the docker run invokation to override the user defined in the
> OCI image.
>
> The user from the host system is incorrectly passed to docker run
> command, this patches reverts the incorrect behavior and passes the
> correct container-user field value.
>
> * gnu/services/docker.scm (oci-container-configuration): Fix the user
> passed to the docker run invokation.

Applied, thanks!

[Message part 3 (message/rfc822, inline)]
From: paul <goodoldpaul <at> autistici.org>
To: guix-patches <at> gnu.org
Cc: Ludovic Courtès <ludo <at> gnu.org>
Subject: oci-container-service: hotfix
Date: Fri, 1 Dec 2023 23:38:57 +0100
Hello Ludo’ ,

I just managed to read my Guix email after some  time. I just guix 
pulled and realized there's a bug at [0]. The fix is trivial and I'm 
sending it as a patch. I'm also working on a test suite to prevent this 
to happen in the future.


Thanks for all your work,

giacomo



[0]: 
https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/services/docker.scm#n377




This bug report was last modified 1 year and 221 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.