all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#45980: Feature request: parameterized /var/guix/profiles/per-user
@ 2021-01-19 13:34 Dimitri DELABROYE
  2021-01-21 14:34 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Dimitri DELABROYE @ 2021-01-19 13:34 UTC (permalink / raw)
  To: 45980; +Cc: support-staff

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





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-01-21 14:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-19 13:34 bug#45980: Feature request: parameterized /var/guix/profiles/per-user Dimitri DELABROYE
2021-01-21 14:34 ` Ludovic Courtès

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.