guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] profiles: Let canonicalize-profile return an absolute path.


From: Ludovic Courtès
Subject: Re: [PATCH] profiles: Let canonicalize-profile return an absolute path.
Date: Fri, 13 Jul 2018 17:33:12 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Roel Janssen <address@hidden> skribis:

> I like your patch a lot better than mine!  It fixes the issue I run
> into, so it'd be great to apply your patch soon.

Applied as bc6e291ef0b3c71c07e50d88d7764e5dd334e8b1.

> There's one other thing I also run into that is somewhat related to
> this:
> On a multi-user system, where ‘root’ cannot see what's in a user's
> directory, it's impossible to keep track of custom profiles.  However,
> the default user profiles are fine, because they are actually stored in
> the local state dir, and symlinked outside.  Could we do the same with
> custom profiles?  The functionality stays the same, it might even be
> cleaner in the user's directory because it only needs a single symlink
> to the latest generation of a profile, and we might be able to do
> garbage collection again on our cluster!
>
> I'd image something like this:
>
> $ echo $HOME
> /home/roel
> $ guix package -i hello teeworlds -p ~/my/custom/profile
> --> /var/guix/profiles/per-user/roel/home/roel/my/custom/profile -> ...
> --> /var/guix/profiles/per-user/roel/home/roel/my/custom/profile-1-link
> $ ls -l ~/my/custom
> drwxrwxrwx ... profile -> 
> /var/guix/profiles/per-user/roel/home/roel/my/custom/profile
>
> That way, if root cannot look into ‘/home/roel’, it can still keep
> track of the profile because it can look into ‘/var/guix’.

Indeed, that could be a solution on setups such as clusters.

I think you can email it to address@hidden with priority “wishlist.”
:-)

Thanks,
Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]