[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Add a ‘verifyStore’ RPC
From: |
Ludovic Courtès |
Subject: |
Re: [PATCH] Add a ‘verifyStore’ RPC |
Date: |
Wed, 03 Jun 2015 10:27:47 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Hello!
Eelco Dolstra <address@hidden> skribis:
> On 01/06/15 23:20, Ludovic Courtès wrote:
>
>> The patch below adds a ‘verifyStore’ RPC with the same signature as the
>> current LocalStore::verifyStore method.
>
> Thanks! I've applied this with the following change to disallow repairing by
> unprivileged users (since it's a potentially dangerous operation):
>
> https://github.com/NixOS/nix/commit/d8ddf994e70f97994e0f1fbd382df93cd071b90f
Sounds good, although I’m unclear on how things could go wrong:
repairing can only rebuild or use approved substitutes, right?
Thank you!
Ludo’.