GNU bug report logs -
#76081
OCI provisioning service
Previous Next
Full log
View this message in rfc822 format
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.