From: Tobias Geerinckx-Rice via Bug reports for GNU Guix <bug-guix@gnu.org>
To: Hugo Buddelmeijer <hugo@buddelmeijer.nl>
Cc: 59771@debbugs.gnu.org
Subject: bug#59771: Conda 22.9.0 needs "sudo" as dependency
Date: Fri, 02 Dec 2022 12:47:22 +0100 [thread overview]
Message-ID: <87359y3tqn.fsf@nckx> (raw)
In-Reply-To: <CA+Jv8O2oMwhj2zotckKQhqrTqqm5yUebU4udX81GATx3-koyHg@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 852 bytes --]
Hi Hugo,
Hugo Buddelmeijer 写道:
> As for why sudo is needed, I don't know. (Not sure I want to
> know.)
Indeed, this sounds like something to report and fix upstream.
> $ guix shell -C conda sudo
Won't work, because sudo needs to be setuid — that is, provided by
the OS.
On Guix Systems, that means /run/setuid-programs/sudo. It cannot
be run from the store, where setuid programmes are not allowed.
I tried --expose'ing /run/setuid-programs, but then sudo fails to
find libsudo_util.so.0. I didn't test further but don't expect
that to suffice: sudo simply makes too many assumptions about the
system, because of the special job it needs to do.
While it would be nice to figure out how to provide
setuid-programs to a containers, Conda's pointless use of sudo is
the bug here.
Kind regards,
T G-R
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]
next prev parent reply other threads:[~2022-12-02 11:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-02 11:36 bug#59771: Conda 22.9.0 needs "sudo" as dependency Hugo Buddelmeijer
2022-12-02 11:47 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix [this message]
2022-12-03 19:11 ` Hugo Buddelmeijer
2022-12-04 21:08 ` Hugo Buddelmeijer
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=87359y3tqn.fsf@nckx \
--to=bug-guix@gnu.org \
--cc=59771@debbugs.gnu.org \
--cc=hugo@buddelmeijer.nl \
--cc=me@tobias.gr \
/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).