From: "Ludovic Courtès" <ludo@gnu.org>
To: 47229@debbugs.gnu.org
Subject: bug#47229: Local privilege escalation via guix-daemon and ‘--keep-failed’
Date: Thu, 18 Mar 2021 12:45:36 +0100 [thread overview]
Message-ID: <878s6ksn1b.fsf@gnu.org> (raw)
In-Reply-To: <87lfaksock.fsf@gnu.org> ("Ludovic Courtès"'s message of "Thu, 18 Mar 2021 12:17:15 +0100")
Ludovic Courtès <ludo@gnu.org> skribis:
> The fix (patch attached) consists in adding a root-owned “wrapper”
> directory in which the build directory itself is located.
The fix has now been pushed:
https://git.savannah.gnu.org/cgit/guix.git/commit/?id=ec7fb669945bfb47c5e1fdf7de3a5d07f7002ccf
Followed by an update of the ‘guix’ package to make the fix available:
https://git.savannah.gnu.org/cgit/guix.git/commit/?id=94f03125463ee0dba2f7916fcd43fd19d4b6c892
We recommend upgrading the daemon (using commit 94f03125 or later).
On Guix System, you achieve that by running something along these lines:
guix pull
sudo guix system reconfigure /run/current-system/configuration.scm
sudo herd restart guix-daemon
On other distros, assuming services are managed by systemd:
sudo --login guix pull
sudo systemctl restart guix-daemon.service
(See <https://guix.gnu.org/manual/en/html_node/Upgrading-Guix.html>.)
Ludo’.
next prev parent reply other threads:[~2021-03-18 11:46 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-18 11:17 bug#47229: Local privilege escalation via guix-daemon and ‘--keep-failed’ Ludovic Courtès
2021-03-18 11:45 ` Ludovic Courtès [this message]
2021-03-18 13:14 ` Ludovic Courtès
2021-03-18 11:53 ` Léo Le Bouter via Bug reports for GNU Guix
2021-03-18 21:10 ` Leo Famulari
2021-04-10 17:56 ` Leo Famulari
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878s6ksn1b.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=47229@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).