From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#20217: Allow users to use the daemon's default settings Date: Wed, 28 Oct 2015 15:36:35 +0100 Message-ID: <874mhb9i18.fsf@gnu.org> References: <87619l6vfg.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56162) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZrRqd-0004bF-RH for bug-guix@gnu.org; Wed, 28 Oct 2015 10:37:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZrRqY-0003pj-82 for bug-guix@gnu.org; Wed, 28 Oct 2015 10:37:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:51907) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZrRqY-0003pf-5F for bug-guix@gnu.org; Wed, 28 Oct 2015 10:37:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZrRqX-0003Uq-Vc for bug-guix@gnu.org; Wed, 28 Oct 2015 10:37:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87619l6vfg.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Sat, 28 Mar 2015 15:36:19 +0100") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: 20217@debbugs.gnu.org ludo@gnu.org (Ludovic Court=C3=A8s) skribis: > Mark H Weaver skribis: > >> Ludovic Court=C3=A8s writes: >> >>> commit 4d58122071bbd7bb56c9658a9bbe7621bf3e423d >>> Author: Ludovic Court=C3=A8s >>> Date: Sun Mar 22 23:43:25 2015 +0100 >>> >>> store: Default to a non-empty list of substituters. >>>=20=20=20=20=20 >>> Fixes . >>> Reported by Mark H Weaver . >>>=20=20=20=20=20 >>> * guix/store.scm (%default-substitute-urls): New variable. >>> (set-build-options): Change default value of #:substitute-urls to >>> %DEFAULT-SUBSTITUTE-URLS. > > [...] > >> Does this mean that even if I've configured my daemon to use a different >> set of substitute-urls, when I run 'guix' as root those settings will be >> overridden? > > Yes. This particular issue of substitute URLs is fixed in fb4bf72. The more general problem remains though: for all the other options, like max-build-jobs, timeout, etc., the client settings take precedence over the daemon settings because the =E2=80=98set-build-options=E2=80=99 RPC doe= sn=E2=80=99t provide a way to say =E2=80=9Cuse default value.=E2=80=9D The fix for that will be either: (1) a =E2=80=98set-build-options2=E2=80=99= RPC that has a way to leave some settings unchanged, or (2) a =E2=80=98get-build-options= =E2=80=99 RPC. Option (1) is simpler and more efficient, but option (2) could be interesting. Ludo=E2=80=99.