mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
services: rootless-podman: Use login shell.
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 Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
This commit is contained in:
parent
d11b85b60e
commit
92058c15c8
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ available for each configured user."))
|
|||
(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 && "
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue