unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
To: guix-devel@gnu.org
Subject: rootless Guix
Date: Sun, 7 Oct 2018 22:15:44 +0200	[thread overview]
Message-ID: <87y3b9qzrj.fsf@mdc-berlin.de> (raw)

Hi,

it would be nice if we could simplify the case where a user does not
have root access, but the system supports user namespaces.

Currently, a user would have to perform a number of non-obvious steps to
somehow run the Guix daemon in an environment where the filesystem is
virtualized.  It would be great if we could better support this case,
maybe even simplify it to a point where the user does not have to even
start the daemon by themselves.

A user operating in this mode would lose the ability to share with other
users on the same system, of course.  By default Guix could store
everything in a subdirectory of ~/.local and map that to /gnu/store in
the container context.  Applications would also need to be run from
within that container context to ensure that /gnu/store file names are
resolved properly.

I think this would be especially useful for situations where “guix pack”
is not sufficient.  “guix pack” produces one-shot bundles, but it cannot
be composed.  A daemon+store-in-container setup would be extensible.

What do you think about this?  Can we automate the setup necessary for
this scenario and add better defaults?

--
Ricardo

             reply	other threads:[~2018-10-07 20:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-07 20:15 Ricardo Wurmus [this message]
2018-10-07 20:40 ` rootless Guix Pierre Neidhardt
2018-10-08 13:43 ` Ludovic Courtès
2018-10-13 21:45   ` Ricardo Wurmus
2018-10-15 10:02     ` 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=87y3b9qzrj.fsf@mdc-berlin.de \
    --to=ricardo.wurmus@mdc-berlin.de \
    --cc=guix-devel@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).