From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id MONGFLijyF8nDwAA0tVLHw (envelope-from ) for ; Thu, 03 Dec 2020 08:37:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id vSQLELijyF86JwAAbx9fmQ (envelope-from ) for ; Thu, 03 Dec 2020 08:37:12 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7CCBF940B26 for ; Thu, 3 Dec 2020 08:37:11 +0000 (UTC) Received: from localhost ([::1]:50764 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kkk6w-0002tn-8u for larch@yhetil.org; Thu, 03 Dec 2020 03:37:10 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:43044) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kkk6o-0002tW-Mo for guix-patches@gnu.org; Thu, 03 Dec 2020 03:37:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:54896) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kkk6o-0003MB-Fj for guix-patches@gnu.org; Thu, 03 Dec 2020 03:37:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kkk6o-00065F-Dg for guix-patches@gnu.org; Thu, 03 Dec 2020 03:37:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44900] [PATCH] services: unattended-upgrade: Add 'search-paths' field. Resent-From: Lars-Dominik Braun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 03 Dec 2020 08:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44900 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 44900@debbugs.gnu.org Received: via spool by 44900-submit@debbugs.gnu.org id=B44900.160698461623373 (code B ref 44900); Thu, 03 Dec 2020 08:37:02 +0000 Received: (at 44900) by debbugs.gnu.org; 3 Dec 2020 08:36:56 +0000 Received: from localhost ([127.0.0.1]:38209 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kkk6h-00064v-Tq for submit@debbugs.gnu.org; Thu, 03 Dec 2020 03:36:56 -0500 Received: from mail-wm1-f54.google.com ([209.85.128.54]:53047) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kkk6g-00064b-AX for 44900@debbugs.gnu.org; Thu, 03 Dec 2020 03:36:54 -0500 Received: by mail-wm1-f54.google.com with SMTP id a6so1956814wmc.2 for <44900@debbugs.gnu.org>; Thu, 03 Dec 2020 00:36:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leibniz-psychology-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=WmMqua71IO4MRIS8AblMrdlp2RivNICM5/d7ncK/rm4=; b=LhzUd+4f3arz2zc2d5jHk57KA6isgKyk9BYWKRbueC583VIrGUgy9GbfvwpvospReW DZMNFph/MlVHm4Yfh0Dv6DCoOPXDJY73DAY5p04spNSv+vnGYCBSsxpkhb8HbevjZvys VCtgU8g5PQMjKkF0szVoH3VyYu/aFn4mcpb0h8zXtfVH8tYyqows/jmGuAg0nt01vjvz zIWYTplKywDIuO+QnEru27mKk8PZ+NSaWB34MlQtjL/7xewlCOMBgjYwc7ag/NprIWuy ZwerSUx4buZF9RE2i7puBUYq0t8MVcJFiq/tq0RFSwNe/4SzZG4D4EjleX5NVcJTl/gd gobw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=WmMqua71IO4MRIS8AblMrdlp2RivNICM5/d7ncK/rm4=; b=WdELvdjdo35LhtY65ywEc3VApt5KaNN7uEZoDB7j0asDwyZ7HlbOlnvtTUlNjVOyn2 Hiuat8K9aTs3yJkssOLcOatLtpbgcadLGq/QlEXMYT+PFOije76I0d1lsPp6FUrgED/q RddxkQ7giVe4wkMc6/9LNp2e1KcsxGl/GEhG7Qk+Gkmj55PNy/Wz6zbs4xY1DtDu/AYh P/SOcnTz2A2FUN9r35xI/BeaGAn1vJRug7vJVsQxlPdUeqZWl4vCST1ixE9IxyfFdPe4 zomtCkaNKGWaKG3m9/OxK0ngAhq3PK/37U8ASXKIfIIaD+9nccsA4jR2lxjeX7ZZT3Uk 4nBQ== X-Gm-Message-State: AOAM533Op3iGWs+H8WCs1aq/j9V5ixOZ1JET5qFvrFw3c/PXgQaAEgMQ X8+R2xIH6GRMahf8TLKyUQdqgojxxMT3BbhmjMJlPeqbZFcOU2APch18wfO3DGgYgr9633KeUzd J2kXHODEajkfEBvZJ/eMioB929H2swwlc+DFL7PLyhCh2ZhJggEbO4+XRPbwss7JtwwXTMg2KcE tOtRA= X-Google-Smtp-Source: ABdhPJx2PA2NCzjClwjJXbMfeVtG4EuQ+it4Ptn2g+GHOwZ4D1PRgonN1YA1FJCNQYjCJprsdF5k8A== X-Received: by 2002:a7b:c34a:: with SMTP id l10mr1975296wmj.125.1606984608192; Thu, 03 Dec 2020 00:36:48 -0800 (PST) Received: from localhost (dynamic-2a01-0c23-80ba-db00-505e-0be9-29e8-1bfb.c23.pool.telefonica.de. [2a01:c23:80ba:db00:505e:be9:29e8:1bfb]) by smtp.gmail.com with ESMTPSA id l23sm443724wmh.40.2020.12.03.00.36.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Dec 2020 00:36:47 -0800 (PST) Date: Thu, 3 Dec 2020 09:36:46 +0100 From: Lars-Dominik Braun Message-ID: <20201203083646.GA3154@zpidnp36> References: <20201127084632.GA3077@zpidnp36> <87eekdrcrw.fsf@gnu.org> <20201130081842.GB6084@zpidnp36> <87k0u3lzkt.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="TB36FDmn/VVEgNH/" Content-Disposition: inline In-Reply-To: <87k0u3lzkt.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.88 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=leibniz-psychology-org.20150623.gappssmtp.com header.s=20150623 header.b=LhzUd+4f; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 7CCBF940B26 X-Spam-Score: -2.88 X-Migadu-Scanner: ns3122888.ip-94-23-21.eu X-TUID: RLkZ6rE3uwb3 --TB36FDmn/VVEgNH/ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, > > Okay, I can see that, but I=E2=80=99d like to use the same list of chan= nels in that > > service and channels.scm. Since creating an etc-service for > > /etc/guix/channels.scm does not work, I was left with the other option,= i.e. > > using that file for unattended upgrades. Are there any other options? > I=E2=80=99d say that specifying the =E2=80=98channels=E2=80=99 field of > =E2=80=98unattended-upgrade-configuration=E2=80=99 gives you that, no? no, /etc/guix/channels.scm also functions as a default channel list for eve= ry users=E2=80=99 `guix pull`, which I also want to have. > Also, what doesn=E2=80=99t it work to populate /etc/guix/channels.scm via > =E2=80=98etc-service-type=E2=80=99? This snippet: ---snip--- (simple-service 'guix-channels etc-service-type (list `("guix/channels.scm" , (scheme-file "channels.scm" %guix-channels= )))) ---snap--- Causes this error when reconfiguring: ---snip--- activating system... The following derivation will be built: /gnu/store/qqp3vz7r6i6fa7wckzdxs1613gvww4b6-switch-to-system.scm.drv building /gnu/store/qqp3vz7r6i6fa7wckzdxs1613gvww4b6-switch-to-system.scm.d= rv... making '/gnu/store/ykfn25vpvgmjkq4l8xygs7fwabgkgp2s-system' the current sys= tem... setting up setuid programs in '/run/setuid-programs'... populating /etc from /gnu/store/mdpbph8cpgwydy3hwfq0q6sk44bfbk93-etc... guix system: error: symlink: File exists: "/etc/guix" ---snap--- /gnu/store/mdpbph8cpgwydy3hwfq0q6sk44bfbk93-etc looks correct to me, i.e. it has a guix subdirectory with a correct channels.scm file in it. Cheers, Lars --=20 Lars-Dominik Braun Wissenschaftlicher Mitarbeiter/Research Associate www.leibniz-psychology.org ZPID - Leibniz-Institut f=C3=BCr Psychologie / ZPID - Leibniz Institute for Psychology Universit=C3=A4tsring 15 D-54296 Trier - Germany Tel.: +49=E2=80=93651=E2=80=93201-4964 --TB36FDmn/VVEgNH/ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEyk+M9DfXR4/aBV/UQhN3ARo3hEYFAl/Io5sACgkQQhN3ARo3 hEYjewv+L6aGixZ8r/mmR4e+iuUsRAnELqyPwlIGIodryuCRPXsTvBbhRWw8Mzgv HrzCNMdaZ8HS4J0kzJeBY+peG5EBriWnEJSTcv7U0CcvrqVtAwNgZXCc7lMU6Sz2 maAiUlBx04E1EUkkmSCylS9USGl+kArcy1pJb4WTHVWSBRNV0YtdN/PCNNXC7ZKA rUq/7jSiUfj+DNan60TUkIRK3HdkAbye1RAtyw4vNXK+L/1WsBZUiUjUa6VN5ENS VL0FCpcdSQprMx/1be5ymfoxcccDsEmzxQ4Rl4z/sDdKpkoy6PkM2pAbYkscprwh vwPx11l/6P8rV1CWmKqlxCy4Dhge5GfPZZxgdCxB0K7JCszirpOB6lt2teoFeHgn /0dIZMpCU35+GL3Jq1SBNnjCXnwVgSQ4vnsvt+Zhyg0bImaoegcsnKpdX73TcWFT plJ1z3R3bZf2Ed6GY85pUlZTArnPFqwTQduQswyKoQ76pXnkiIEVmT4AtwNe1HGX R+B7Pd2S =7eEA -----END PGP SIGNATURE----- --TB36FDmn/VVEgNH/--