all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: Roel Janssen <roel@gnu.org>
Cc: guix-devel@gnu.org
Subject: Re: “guix gc”, auto gcroots, cluster deployments
Date: Mon, 10 May 2021 13:59:23 +0200	[thread overview]
Message-ID: <87a6p2pzok.fsf@elephly.net> (raw)
In-Reply-To: <3795a0268fd5e90b6e1bac171bca97693d8a721d.camel@gnu.org>


Hi Roel,

thanks for your feedback!

> Would it be possible to add an option to retrospectively apply 
> this
> transformation?  Maybe that could work somewhat like this:
>
> $ ls -lha
> ... /home/me/projects/mrg1_chipseq/.guix-profile-1-link ->
> /gnu/store/ap0vrfxjdj57iqdapg8q83l4f7aylqzm-profile

This wouldn’t work, because we can’t read 
/home/me/projects/mrg1_chipseq/.guix-profile-1-link centrally.  In 
this particular case only the user “me” could resolve the link and 
thus migrate the link.  (I would do this semi-manually by 
impersonating the users to read their links.)

~ ~ ~

Another related problem I found is that the names of the links in 
unreadable space may have names that only make sense on the system 
where they were created.  For example, on the server “beast” we 
may mount the cluster home directory as “/clusterhome/me”, whereas 
on cluster nodes it would be mounted as “/home/me”.  When I have 
Guix record a gcroot while working on “beast” I would get a link 
that is no longer valid when I work on the cluster.

-- 
Ricardo


  reply	other threads:[~2021-05-10 11:59 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-10  9:59 “guix gc”, auto gcroots, cluster deployments Ricardo Wurmus
2021-05-10 10:59 ` Roel Janssen
2021-05-10 11:59   ` Ricardo Wurmus [this message]
2021-05-10 15:45     ` Roel Janssen
2021-05-10 16:23       ` Ricardo Wurmus
2021-05-11 20:42     ` Ludovic Courtès
2021-05-10 13:40 ` Sébastien Lerique
2021-05-10 13:59   ` Guix on NFS Ricardo Wurmus
2021-05-11 20:50 ` “guix gc”, auto gcroots, cluster deployments Ludovic Courtès
2021-05-14 10:21   ` Ricardo Wurmus
2021-06-08 12:55     ` 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=87a6p2pzok.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=guix-devel@gnu.org \
    --cc=roel@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 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.