From: Dimitri DELABROYE <dimitri.delabroye@inria.fr>
To: 45980@debbugs.gnu.org
Cc: support-staff@lists.grid5000.fr
Subject: bug#45980: Feature request: parameterized /var/guix/profiles/per-user
Date: Tue, 19 Jan 2021 14:34:47 +0100 [thread overview]
Message-ID: <a004eb62-a2c3-b9c9-be94-d88cfc68cf1b@inria.fr> (raw)
Hi,
We have installed guix following this cluster documentation
https://hpc.guix.info/blog/2017/11/installing-guix-on-a-cluster/ on
Grid'5000 which is a testbed.
In order to be more secure we did not want to export /var/guix with RW
rights, we cannot trust root on the nodes. So for the user profile to
work we did the following:
- mount the user's home on the guix server
- instead of letting guix create the user's profile on
/var/guix/profiles/per-user we created symlink: ln -s /home/USER/.guix
/var/guix/profiles/per-user/USER
This way we can export /var/guix with RO rights and users can't see each
others profiles.
Another way would be to have a parameter to configure the
/var/guix/profiles/per-user directory so the symlink mecanism would not
be needed. For example guix could directly write in the user directory
in /home/USER/.guix.
Best regards,
Dimitri
Grid'5000 Techteam
next reply other threads:[~2021-01-19 16:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-19 13:34 Dimitri DELABROYE [this message]
2021-01-21 14:34 ` bug#45980: Feature request: parameterized /var/guix/profiles/per-user 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a004eb62-a2c3-b9c9-be94-d88cfc68cf1b@inria.fr \
--to=dimitri.delabroye@inria.fr \
--cc=45980@debbugs.gnu.org \
--cc=support-staff@lists.grid5000.fr \
/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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.