From: "Ludovic Courtès" <ludovic.courtes@inria.fr>
To: Julien Lepiller <julien@lepiller.eu>
Cc: 34859@debbugs.gnu.org
Subject: [bug#34859] [PATCH] pack: "-RR" produces PRoot-enabled relocatable binaries.
Date: Fri, 15 Mar 2019 15:44:43 +0100 [thread overview]
Message-ID: <87imwk2o4k.fsf@gnu.org> (raw)
In-Reply-To: <1ef41855caba45a267f90532d40a47f3@lepiller.eu> (Julien Lepiller's message of "Fri, 15 Mar 2019 15:24:54 +0100")
Hello!
Julien Lepiller <julien@lepiller.eu> skribis:
> How does it work? do you look for a proot on the system where the pack
> is unpacked, or is it included in the pack?
The pack includes ‘proot-static’, which takes approximately 1 MiB. The
‘run-in-namespace.c’ wrapper determines its own location via
/proc/self/exe; from there it determines the location of the unpacked
store, and then determines the location of the statically-linked ‘proot’
program.
So it basically automates the PRoot trick described at
<https://guix-hpc.bordeaux.inria.fr/blog/2017/10/using-guix-without-being-root/>.
Ludo’.
next prev parent reply other threads:[~2019-03-15 14:45 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-14 16:10 [bug#34859] [PATCH] pack: "-RR" produces PRoot-enabled relocatable binaries Ludovic Courtès
2019-03-15 13:41 ` Ludovic Courtès
2019-03-15 14:24 ` Julien Lepiller
2019-03-15 14:44 ` Ludovic Courtès [this message]
2019-03-15 16:04 ` Ricardo Wurmus
2019-03-15 22:34 ` bug#34859: " Ludovic Courtès
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=87imwk2o4k.fsf@gnu.org \
--to=ludovic.courtes@inria.fr \
--cc=34859@debbugs.gnu.org \
--cc=julien@lepiller.eu \
/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).