GNU bug report logs - #76081
OCI provisioning service

Previous Next

Package: guix-patches;

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

Date: Wed, 5 Feb 2025 22:01:03 UTC

Severity: normal

Tags: moreinfo

Full log


View this message in rfc822 format

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Giacomo Leidi <goodoldpaul <at> autistici.org>
Cc: 76081 <at> debbugs.gnu.org
Subject: [bug#76081] [PATCH v10 1/7] services: rootless-podman: Use login shell.
Date: Thu, 15 May 2025 13:53:57 +0900
Hi,

Giacomo Leidi <goodoldpaul <at> autistici.org> writes:

> This commit allows for having PATH set when changing the owner of
> /sys/fs/group.
>
> * gnu/services/containers.scm (crgroups-fs-owner): Use login shell.
>
> Change-Id: I9510c637a5332325e05ca5ebc9dfd4de32685c50
> ---
>  gnu/services/containers.scm | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/gnu/services/containers.scm b/gnu/services/containers.scm
> index b3cd109ce6c..d5a211765a6 100644
> --- a/gnu/services/containers.scm
> +++ b/gnu/services/containers.scm
> @@ -140,7 +140,7 @@ (define (cgroups-fs-owner-entrypoint config)
>      (rootless-podman-configuration-group-name config))
>    (program-file "cgroups2-fs-owner-entrypoint"
>                  #~(system*
> -                   (string-append #+bash-minimal "/bin/bash") "-c"
> +                   (string-append #+bash-minimal "/bin/bash") "-l" "-c"
>                     (string-append "echo Setting /sys/fs/cgroup "
>                                    "group ownership to " #$group " && chown -v "
>                                    "root:" #$group " /sys/fs/cgroup && "
>
> base-commit: 63088c295d81cc3d0e808c478d4fe479a2c90102

I pushed this one.

-- 
Thanks,
Maxim




This bug report was last modified 12 days ago.

Previous Next


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