[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Non-root Guix]: Unable to build guix
From: |
Ricardo Wurmus |
Subject: |
Re: [Non-root Guix]: Unable to build guix |
Date: |
Sun, 05 May 2019 10:03:00 +0200 |
User-agent: |
mu4e 1.2.0; emacs 26.2 |
Mark H Weaver <address@hidden> writes:
[…]
> Ricardo Wurmus <address@hidden> writes:
[…]
>> I see. Unfortunately you will end up having to compile everything from
>> source, C library, GCC,… — all of it. When using a different store
>> location it is impossible to use pre-built binaries, unfortunately.
>
> If one is able to obtain write access to any directory accessible via an
> absolute path name of no more than 10 bytes, e.g. "/tmp/xxxxx",
> "/var/tmp/x", "/home/xx/x", or possibly even "/home/xxxx" or
> "/home/xxx", then it may be possible to avoid compiling everything from
> source code.
I think it’s worth supporting prefix rewrites. On a system where the
user does not have root access and no user namespaces the daemon will
not be able to build anything in isolation. The best case here is to
*only* use substitutes and to limit the local operations to rewriting
the prefix.
This requires modifying store items before unpacking them. Since root
is not involved this should only ever affect one user.
--
Ricardo
- Re: [Non-root Guix]: Unable to build guix, (continued)
- Re: [Non-root Guix]: Unable to build guix, Ricardo Wurmus, 2019/05/02
- Re: [Non-root Guix]: Unable to build guix, Ricardo Wurmus, 2019/05/02
- Re: [Non-root Guix]: Unable to build guix, rohit yadav, 2019/05/02
- Re: [Non-root Guix]: Unable to build guix, Ricardo Wurmus, 2019/05/02
- Re: [Non-root Guix]: Unable to build guix, rohit yadav, 2019/05/02
- Re: [Non-root Guix]: Unable to build guix, Chris Marusich, 2019/05/04
- Re: [Non-root Guix]: Unable to build guix, Mark H Weaver, 2019/05/04
- Re: [Non-root Guix]: Unable to build guix,
Ricardo Wurmus <=