From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 27 03:46:42 2020 Received: (at submit) by debbugs.gnu.org; 27 Nov 2020 08:46:42 +0000 Received: from localhost ([127.0.0.1]:43917 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kiZOs-0004jD-DC for submit@debbugs.gnu.org; Fri, 27 Nov 2020 03:46:42 -0500 Received: from lists.gnu.org ([209.51.188.17]:33380) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kiZOq-0004j6-HI for submit@debbugs.gnu.org; Fri, 27 Nov 2020 03:46:41 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57052) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kiZOq-0003HP-9N for guix-patches@gnu.org; Fri, 27 Nov 2020 03:46:40 -0500 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]:38635) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kiZOn-0007UH-MS for guix-patches@gnu.org; Fri, 27 Nov 2020 03:46:40 -0500 Received: by mail-wm1-x334.google.com with SMTP id 1so5743691wme.3 for ; Fri, 27 Nov 2020 00:46:36 -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:subject:message-id:mime-version:content-disposition; bh=7TSTk+DE9UH7VO4LrjbR5r2MSTqLjpJo9j6jGVoVnpg=; b=JwEt6IeFYe0GT/HoBjh2FHMVJt0zRH+I0KaK9yiFkt6HYR4hNo9unlcky9zbRkeIXw sTZHLT91bKU0rXrrUMmyxItsT6cbMScZiF27EpyTZ8UvWeQX4lqjVrpZotRhYkDwmGky TcO1sUhcBKXwnw/teF+v06MXv/UebABEUY24BgVKXl5zIvyp5QhWHkJU35LytnNihcYh 6+4AET/uFHBpE7hheZXtelt1N2CUhHAJ0so5ughZY9fbgQn1tyK25EnC2Pc+qcy2Sk86 piTpo1OvMHCZLl7Mnl2Bv8bjSS5dnHHQFroLLSYcVRdwsjzBaqoGVHMaMMyLzVz3Esbr dvQQ== 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:subject:message-id:mime-version :content-disposition; bh=7TSTk+DE9UH7VO4LrjbR5r2MSTqLjpJo9j6jGVoVnpg=; b=ieTsTx0OT+HkAIEHhVv6TzoerBzAfyvqt2HFyqTSbPccgZLbb0Aq0ySv4elccjPKVv YM2k8O/Jey8XTrU/T9XDQbXBU5ceOF58suU82o2Qt9557luJxNLZKaAnqvgeVTkkESIJ Ku2tpCEwIuorw1XD3YzNkLo8cYU0jDjomZbp2ZaEgZXrbtcfICHXRF7i4bqsl13Qy2wE S00QEcr6xCJRTqTbZt0K6QBS3LuNNQBvoku1jtT7hO2R7A7OKlsveVXYRNGoHEEBozZ4 aTHToYpkbhfsIpf3673ifmIJO6fyu4pETJwp/G5/s9pjCEQP2t1bfys2GFGBjMBfwdTs KxBg== X-Gm-Message-State: AOAM53335XhCSRYtv3nKuAImE4h90U7D9NNXyPe78TGcXtbG2Sbau1dQ rFAev5eJMprW2fJPubddMdnxr6a3nh/scS2hIjIeMxaaOEyAlR8YYJeUEBXhPRy6tFtPMdA7Owy Kq7363rKhYbZBCTbcyIDwnIVEd+Z/7qMsSjtEmxBXQxJ5aahRDiP++i56ouRWhVVTxkrGkkewKC hqr9Jt21cm4A== X-Google-Smtp-Source: ABdhPJxN/PkVUZN+BqwJXOI4SpJKXuRvjg4K0L1nO+uDUgs3Vu0MO4hxGuZJnMlN/F4iGAWy2Bx5mw== X-Received: by 2002:a7b:c182:: with SMTP id y2mr7590562wmi.97.1606466794617; Fri, 27 Nov 2020 00:46:34 -0800 (PST) Received: from localhost (dynamic-2a01-0c23-785d-6000-e90a-ad4b-b1e5-f1a2.c23.pool.telefonica.de. [2a01:c23:785d:6000:e90a:ad4b:b1e5:f1a2]) by smtp.gmail.com with ESMTPSA id o5sm12027689wmh.8.2020.11.27.00.46.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Nov 2020 00:46:33 -0800 (PST) Date: Fri, 27 Nov 2020 09:46:32 +0100 From: Lars-Dominik Braun To: guix-patches@gnu.org Subject: [PATCH] services: unattended-upgrade: Add 'search-paths' field. Message-ID: <20201127084632.GA3077@zpidnp36> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="pvezYHf7grwyp3Bc" Content-Disposition: inline Received-SPF: none client-ip=2a00:1450:4864:20::334; envelope-from=ldb@leibniz-psychology.org; helo=mail-wm1-x334.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --pvezYHf7grwyp3Bc Content-Type: multipart/mixed; boundary="UugvWAfsgieZRqgk" Content-Disposition: inline --UugvWAfsgieZRqgk Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, I=E2=80=99m using a modular machine configuration, i.e. the scheme file ret= urning the operating system definition imports several other custom modules with servi= ce definitions etc in the same directory. This does not work well with unatten= ded upgrades. The attached patch allows adding search paths to the unattended upgrade service. I=E2=80=99m not sure this is the best solution though. May= be the preferred way to add these modules is to a custom channel? The second patch changes the default channels to #f, i.e. the system default (/etc/guix/channels.scm), which feels more natural to me. 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 --UugvWAfsgieZRqgk Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="0001-services-unattended-upgrade-Add-search-paths-field.patch" Content-Transfer-Encoding: quoted-printable =46rom d5dd0da8976211a0d0b77663ae8f8f945e92a7a1 Mon Sep 17 00:00:00 2001 =46rom: Lars-Dominik Braun Date: Fri, 27 Nov 2020 09:32:41 +0100 Subject: [PATCH 1/2] services: unattended-upgrade: Add 'search-paths' field. * gnu/services/admin.scm ()[search-paths]: New field. (unattended-upgrade-mcron-jobs): Honor it. * doc/guix.texi (Unattended Upgrades): Document it. --- doc/guix.texi | 4 ++++ gnu/services/admin.scm | 18 +++++++++++++----- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/doc/guix.texi b/doc/guix.texi index 32b91272cf..7f42fe8867 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -17063,6 +17063,10 @@ This gexp specifies the channels to use for the up= grade (@pxref{Channels}). By default, the tip of the official @code{guix} channel is used. =20 +@item @code{search-paths} (default: @code{'()}) +This list specifies the extra search paths used. By default, no search pa= ths +are added. + @item @code{operating-system-file} (default: @code{"/run/current-system/co= nfiguration.scm"}) This field specifies the operating system configuration file to use. The default is to reuse the config file of the current configuration. diff --git a/gnu/services/admin.scm b/gnu/services/admin.scm index b34b990f32..87cf76c57f 100644 --- a/gnu/services/admin.scm +++ b/gnu/services/admin.scm @@ -205,6 +205,8 @@ Old log files are removed or compressed according to th= e configuration.") (default "30 01 * * 0")) (channels unattended-upgrade-configuration-channels (default #~%default-channels)) + (search-paths unattended-upgrade-configuration-search-paths + (default '())) (services-to-restart unattended-upgrade-configuration-services-to-resta= rt (default '(mcron))) (system-expiration unattended-upgrade-system-expiration @@ -219,8 +221,8 @@ Old log files are removed or compressed according to th= e configuration.") =20 (define (unattended-upgrade-mcron-jobs config) (define channels - (scheme-file "channels.scm" - (unattended-upgrade-configuration-channels config))) + (let ((c (unattended-upgrade-configuration-channels config))) + (if c (scheme-file "channels.scm" c) #f))) =20 (define log (unattended-upgrade-configuration-log-file config)) @@ -271,9 +273,15 @@ Old log files are removed or compressed according to t= he configuration.") (format #t "~a starting upgrade...~%" (timestamp)) (guard (c ((invoke-error? c) (report-invoke-error c))) - (invoke #$(file-append guix "/bin/guix") - "time-machine" "-C" #$channels - "--" "system" "reconfigure" #$config-file) + (let* ((channel #$(if channels #~(list "-C" #$channels) (quote '()))) + (search-paths (quote #$(unattended-upgrade-configuratio= n-search-paths config))) + (search-path-args (apply append (map (lambda (x) (list = "-L" x)) search-paths))) + (command (append (list #$(file-append guix "/bin/guix")= "time-machine") + channel + (list "--" "system" "reconfigure") + search-path-args + (list #$config-file)))) + (apply invoke command)) =20 ;; 'guix system delete-generations' fails when there's no ;; matching generation. Thus, catch 'invoke-error?'. --=20 2.25.1 --UugvWAfsgieZRqgk Content-Type: text/x-diff; charset=utf-8 Content-Disposition: attachment; filename="0002-services-unattended-upgrade-Change-default-for-chann.patch" Content-Transfer-Encoding: quoted-printable =46rom b425b012533de4a460cf22a14a4fcfbed78c0c2b Mon Sep 17 00:00:00 2001 =46rom: Lars-Dominik Braun Date: Fri, 27 Nov 2020 09:42:11 +0100 Subject: [PATCH 2/2] services: unattended-upgrade: Change default for 'channels' field. * gnu/services/admin.scm ()[channels]: Default to #f. * doc/guix.texi (Unattended Upgrades): Document it. --- doc/guix.texi | 5 ++--- gnu/services/admin.scm | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/doc/guix.texi b/doc/guix.texi index 7f42fe8867..5168d7d840 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -17058,10 +17058,9 @@ This is the schedule of upgrades, expressed as a g= exp containing an mcron job schedule (@pxref{Guile Syntax, mcron job specifications,, mcron, GNU@tie{}mcron}). =20 -@item @code{channels} (default: @code{#~%default-channels}) +@item @code{channels} (default: @code{#f}) This gexp specifies the channels to use for the upgrade -(@pxref{Channels}). By default, the tip of the official @code{guix} -channel is used. +(@pxref{Channels}). By default, the system=E2=80=99s default is used. =20 @item @code{search-paths} (default: @code{'()}) This list specifies the extra search paths used. By default, no search pa= ths diff --git a/gnu/services/admin.scm b/gnu/services/admin.scm index 87cf76c57f..a1c4abd3e2 100644 --- a/gnu/services/admin.scm +++ b/gnu/services/admin.scm @@ -204,7 +204,7 @@ Old log files are removed or compressed according to th= e configuration.") (schedule unattended-upgrade-configuration-schedule (default "30 01 * * 0")) (channels unattended-upgrade-configuration-channels - (default #~%default-channels)) + (default #f)) (search-paths unattended-upgrade-configuration-search-paths (default '())) (services-to-restart unattended-upgrade-configuration-services-to-resta= rt --=20 2.25.1 --UugvWAfsgieZRqgk-- --pvezYHf7grwyp3Bc Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEyk+M9DfXR4/aBV/UQhN3ARo3hEYFAl/AvOUACgkQQhN3ARo3 hEbZmAwAtH/CF1SSg2K4qWunWdxpsErzh+qVcy+kulNVsS2HfLlTmWqYy4fhcTEM JCeunyxaew/juEjtRsyQaj2muNlyrMtMkaDU/hK1cepcfHUx9VyM86Cc0hQC9kxu gnTFIgGiFOLP09SiJsJAJe56wRdO1leYPzrFwG4Jgohn2MUxUgFbCDcD2O1wx7L5 OHkSfZfBocTMD6yUNMs13nVqy+bEJO47NHL4/J9rnwq4aXjd9rrtM1yOsCsW3/Vx ghLmQG9Sj81IOKfvB3PHexAj7Ldp5OuLAcL/yz9BIINTXviJtVf3ieQ+BasPWmvu yUUJp6CYtFAAVwMNQOlNg5a0IU/unJEeLtupuqSBeMhxEBMHgtafsa4YWzqnjNA7 EqqmtbC6n/Y3FudQiYNWVT8rpxV8bzfc2IjPVWeY/yXhCtYOrnFBovQcuPZ81vdZ lau9GAx7AvC7fIAsR0NxZJKG2Kb8Q8ZrqjPOQ2lXl81XyeZO6PVI2wQej9uJ3hbe HeMoxZpb =qJ/n -----END PGP SIGNATURE----- --pvezYHf7grwyp3Bc-- From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 28 05:34:06 2020 Received: (at 44900) by debbugs.gnu.org; 28 Nov 2020 10:34:06 +0000 Received: from localhost ([127.0.0.1]:47000 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kixYL-00078O-MU for submit@debbugs.gnu.org; Sat, 28 Nov 2020 05:34:05 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44940) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kixYI-00077t-QT for 44900@debbugs.gnu.org; Sat, 28 Nov 2020 05:34:03 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:42848) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kixYD-0005q0-Ey; Sat, 28 Nov 2020 05:33:57 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=49906 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kixYC-0004E3-Ek; Sat, 28 Nov 2020 05:33:56 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Lars-Dominik Braun Subject: Re: [bug#44900] [PATCH] services: unattended-upgrade: Add 'search-paths' field. References: <20201127084632.GA3077@zpidnp36> Date: Sat, 28 Nov 2020 11:33:55 +0100 In-Reply-To: <20201127084632.GA3077@zpidnp36> (Lars-Dominik Braun's message of "Fri, 27 Nov 2020 09:46:32 +0100") Message-ID: <87eekdrcrw.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 44900 Cc: 44900@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Lars-Dominik Braun skribis: > I=E2=80=99m using a modular machine configuration, i.e. the scheme file r= eturning the > operating system definition imports several other custom modules with ser= vice > definitions etc in the same directory. This does not work well with unatt= ended > upgrades. The attached patch allows adding search paths to the unattended > upgrade service. I=E2=80=99m not sure this is the best solution though. M= aybe the > preferred way to add these modules is to a custom channel? Did you see (info "(guix) Unattended Upgrades"): There are cases, though, where referring to =E2=80=98/run/current-system/configuration.scm=E2=80=99 is not en= ough, for instance because that file refers to extra files (SSH public keys, extra configuration files, etc.) via =E2=80=98local-file= =E2=80=99 and similar constructs. For those cases, we recommend something along these lines: (unattended-upgrade-configuration (operating-system-file (file-append (local-file "." "config-dir" #:recursive? #= t) "/config.scm"))) The effect here is to import all of the current directory into the store, and to refer to =E2=80=98config.scm=E2=80=99 within th= at directory. Therefore, uses of =E2=80=98local-file=E2=80=99 within =E2=80=98c= onfig.scm=E2=80=99 will work as expected. *Note G-Expressions::, for information about =E2=80=98local-file=E2=80=99 and =E2=80=98file-append=E2=80=99. I can see several options: 1. Use the trick above and add (say): (add-to-load-path (dirname (current-filename))) in your config file. Not pretty. 2. Turn your modules into a channel. Nice because there=E2=80=99s no nee= d for a special case, modules are automatically updated at each upgrade, etc., but OTOH requires more paperwork. 3. What you propose. Easy to use but a bit low-level and users could be tempted to pass local file names instead of using =E2=80=98local-fi= le=E2=80=99, in which case the process becomes more brittle (depends on things outside the store). > The second patch changes the default channels to #f, i.e. the system defa= ult > (/etc/guix/channels.scm), which feels more natural to me. I prefer being explicit here and keep =E2=80=98unattended-upgrade-configura= tion=E2=80=99 self-contained (/etc/guix/channels.scm could be modified behind our back). WDYT? Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 30 03:18:51 2020 Received: (at 44900) by debbugs.gnu.org; 30 Nov 2020 08:18:51 +0000 Received: from localhost ([127.0.0.1]:53364 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjeOZ-0004Oc-2p for submit@debbugs.gnu.org; Mon, 30 Nov 2020 03:18:51 -0500 Received: from mail-wr1-f46.google.com ([209.85.221.46]:45209) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjeOX-0004OP-UY for 44900@debbugs.gnu.org; Mon, 30 Nov 2020 03:18:50 -0500 Received: by mail-wr1-f46.google.com with SMTP id t4so14750045wrr.12 for <44900@debbugs.gnu.org>; Mon, 30 Nov 2020 00:18:49 -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=wPaTEOp+ZsoKScpwBTkapS5GUvhozBh+JOXZTW8nrl4=; b=a9h4gVglV4KMfB0MFzBFLfIX1Ar9Cq6mKDVp7uCMy1DvRCT9DcjHm1RnRWCtJ8qMzM x7knb+8yCAc1+M4+8yEEwyoLemWBcrqLc4F/rIj1nXTI0qTjR0Y1Jfy6ItI7kUfP9kDt bOoeb7SNSDGo+kbDevoDG6ziRoXIjS0BtcX+dgQJY8biOelv9SDo/Kw0AprXukRcGwaC zQT4hTdQxsfw9x+Lt4AopniTIxAYJ5EqlwdOL3RUp6uS2FW5t56m6YgcoSvTK+N2quDn NjGhIXpy35wUQ4eJb0aix0M+F1NFt9idqT1nQcswI6iVPNhQ1dZJkdyX491l+HNxqVU6 nSqg== 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=wPaTEOp+ZsoKScpwBTkapS5GUvhozBh+JOXZTW8nrl4=; b=Hoj4OMik0Qu7BgoF+q1YaI/sC3FzqeMR+Ku5As4Qrymg1BP5Kr8l6ujtaaET09N379 KVu/HbRL1O4+Yrc/s2wwxUTUgua5aeebzYLui7opucuEu1FFMu+NAFUfl5Uf2opl4rZY bTEfaAXbiY5KWTBZWNO3MvmtrgJsdrRUNvw2IcU9NqNmM+5RpfgEZtNVzjatq5lQ/fva WUExMwfT3DEwS3TIYHzgcGqLlPllwSRECdRX3C4KA/jupcKTvxqTb/XKGTovvZ/omZQU 1lYuVzm2wZErXNn12FmXJy5BIwI9Muwd9Iki7b4FRdG2HuqPhV1IAilD7Qls9amSXhKx dRqA== X-Gm-Message-State: AOAM531IHt3hZAn5+AHRT/85xZTxzygUNZ6HMnxW1ELjDbRwm9kIDUk/ QSMDlTKxxAeQpYhY0hpCPU3tzhnBviP4ZRQ46JkWoOI2zerFixUfm1zPMUGWX1C5WwGNFZt0j0s tulBMEbWBqcGDBLE3vdF0seNLu/ZEPIdYQfn43qDmFxOljtGAa7rR53Mt59sW94ip0BYhKpde8+ zCP3ctk0mFi2A= X-Google-Smtp-Source: ABdhPJyO67ogcy5GBZ3y5plgYJ2Tgwur0zRqUboMG3KhqXhUtbI7rYxTb0OmYC0NYlmZEFL0qFHriA== X-Received: by 2002:adf:e484:: with SMTP id i4mr26872735wrm.398.1606724324234; Mon, 30 Nov 2020 00:18:44 -0800 (PST) Received: from localhost (dynamic-2a01-0c22-d04a-9b00-2de8-8288-061f-97c7.c22.pool.telefonica.de. [2a01:c22:d04a:9b00:2de8:8288:61f:97c7]) by smtp.gmail.com with ESMTPSA id c81sm7183441wmd.6.2020.11.30.00.18.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Nov 2020 00:18:42 -0800 (PST) Date: Mon, 30 Nov 2020 09:18:42 +0100 From: Lars-Dominik Braun To: Ludovic =?iso-8859-1?Q?Court=E8s?= Subject: Re: [bug#44900] [PATCH] services: unattended-upgrade: Add 'search-paths' field. Message-ID: <20201130081842.GB6084@zpidnp36> References: <20201127084632.GA3077@zpidnp36> <87eekdrcrw.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="6sX45UoQRIJXqkqR" Content-Disposition: inline In-Reply-To: <87eekdrcrw.fsf@gnu.org> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44900 Cc: 44900@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --6sX45UoQRIJXqkqR Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Ludo, > Did you see (info "(guix) Unattended Upgrades"): > 1. Use the trick above and add (say): >=20 > (add-to-load-path (dirname (current-filename))) >=20 > in your config file. Not pretty. yes, saw it, but I wasn=E2=80=99t sure how to load modules from that direct= ory. And I agree, it=E2=80=99s not pretty, but probably better than option 3, because = everything is in the store. > 2. Turn your modules into a channel. Nice because there=E2=80=99s no n= eed for > a special case, modules are automatically updated at each upgrade, > etc., but OTOH requires more paperwork. I feel this might be the best option and I=E2=80=99ll give it a try. > I prefer being explicit here and keep =E2=80=98unattended-upgrade-configu= ration=E2=80=99 > self-contained (/etc/guix/channels.scm could be modified behind our > back). Okay, I can see that, but I=E2=80=99d like to use the same list of channels= 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? 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 --6sX45UoQRIJXqkqR Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEyk+M9DfXR4/aBV/UQhN3ARo3hEYFAl/Eqt0ACgkQQhN3ARo3 hEa39QwAszMOtSGtl9gyUi57r+CT+Y3Jwkq2E66EoQrillDP+5rky9InZ/zB6ZEa Ru18pO9I4Rk/kK6KFyuVhRmolNqQ+cJG0Q704xepzrV5ttvyjAe+9sLBWYe8ctTB zCGzXD8ajDvGRW6A7EbPpnlokxRT+CYK3GqxzqsmF8w5rXn6y1H8013vZr7YZJQ1 6qN+cFVFzboxdp3+0ys8twce8RWy3eIQp8+cJ1LEP9DMAcAPNpuhnaIg+RFX2bnK dE1bmQ/W1z6gq18Pf5t287xtIGAXwiIKkOJdfHGtJ8KiHtcm8cd2E8j2zoAhgNkH CHUif/2nABD0OEa05fKX1ikXfusqbpqa+22KPsrPcSfgDCyGUb94V2IBJfCjHjb9 0Qgmw8beRjzR/mnxA6m0lmPesPqX9CGJvw3OWA7pNok3OrHrlI38nCx12TCPIwUk 1nAITJSPMvYvGfsbak7/mCnGZfTVu0BAMliqpfgGW3FgBnJYOGys4kSJKFRa1DGv loFxP/Wc =3Ix1 -----END PGP SIGNATURE----- --6sX45UoQRIJXqkqR-- From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 30 08:54:52 2020 Received: (at 44900) by debbugs.gnu.org; 30 Nov 2020 13:54:52 +0000 Received: from localhost ([127.0.0.1]:54188 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjjdj-0007r2-Nk for submit@debbugs.gnu.org; Mon, 30 Nov 2020 08:54:52 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51320) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjjdh-0007qk-VU for 44900@debbugs.gnu.org; Mon, 30 Nov 2020 08:54:50 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:55575) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kjjdc-00053a-HY; Mon, 30 Nov 2020 08:54:44 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=60946 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kjjdb-0000Of-P4; Mon, 30 Nov 2020 08:54:44 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Lars-Dominik Braun Subject: Re: [bug#44900] [PATCH] services: unattended-upgrade: Add 'search-paths' field. References: <20201127084632.GA3077@zpidnp36> <87eekdrcrw.fsf@gnu.org> <20201130081842.GB6084@zpidnp36> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 10 Frimaire an 229 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 30 Nov 2020 14:54:42 +0100 In-Reply-To: <20201130081842.GB6084@zpidnp36> (Lars-Dominik Braun's message of "Mon, 30 Nov 2020 09:18:42 +0100") Message-ID: <87k0u3lzkt.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 44900 Cc: 44900@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi! Lars-Dominik Braun skribis: >> I prefer being explicit here and keep =E2=80=98unattended-upgrade-config= uration=E2=80=99 >> self-contained (/etc/guix/channels.scm could be modified behind our >> back). > Okay, I can see that, but I=E2=80=99d like to use the same list of channe= ls 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? Also, what doesn=E2=80=99t it work to populate /etc/guix/channels.scm via =E2=80=98etc-service-type=E2=80=99? Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 03 03:36:56 2020 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 To: Ludovic =?iso-8859-1?Q?Court=E8s?= Subject: Re: [bug#44900] [PATCH] services: unattended-upgrade: Add 'search-paths' field. 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-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44900 Cc: 44900@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --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/-- From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 07 15:59:05 2020 Received: (at 44900) by debbugs.gnu.org; 7 Dec 2020 20:59:05 +0000 Received: from localhost ([127.0.0.1]:55643 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmNb7-0008AO-In for submit@debbugs.gnu.org; Mon, 07 Dec 2020 15:59:05 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55310) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmNb2-00089r-R2 for 44900@debbugs.gnu.org; Mon, 07 Dec 2020 15:59:04 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:36601) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kmNas-0003Mh-VO; Mon, 07 Dec 2020 15:58:52 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=49078 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kmNar-0007Ci-6J; Mon, 07 Dec 2020 15:58:50 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Lars-Dominik Braun Subject: Re: [bug#44900] [PATCH] services: unattended-upgrade: Add 'search-paths' field. References: <20201127084632.GA3077@zpidnp36> <87eekdrcrw.fsf@gnu.org> <20201130081842.GB6084@zpidnp36> <87k0u3lzkt.fsf@gnu.org> <20201203083646.GA3154@zpidnp36> Date: Mon, 07 Dec 2020 21:58:47 +0100 In-Reply-To: <20201203083646.GA3154@zpidnp36> (Lars-Dominik Braun's message of "Thu, 3 Dec 2020 09:36:46 +0100") Message-ID: <87lfe9z62g.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 44900 Cc: 44900@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Lars-Dominik Braun skribis: > This snippet: > > ---snip--- > (simple-service 'guix-channels etc-service-type > (list `("guix/channels.scm" , (scheme-file "channels.scm" %guix-channe= ls)))) > ---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= .drv... > making '/gnu/store/ykfn25vpvgmjkq4l8xygs7fwabgkgp2s-system' the current s= ystem... > 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. Yes, somebody else reported that problem recently (and proposed a solution I think, was it on guix-devel?). The issue here is that /etc/guix is also partly stateful, so there=E2=80=99s =E2=80=98activation-s= ervice-type=E2=80=99, =E2=80=98etc-service-type=E2=80=99, and manual changes say to /etc/guix/mac= hines.scm, are conflicting. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 15 03:17:23 2020 Received: (at 44900) by debbugs.gnu.org; 15 Dec 2020 08:17:23 +0000 Received: from localhost ([127.0.0.1]:55446 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kp5WM-0004Ta-Nx for submit@debbugs.gnu.org; Tue, 15 Dec 2020 03:17:22 -0500 Received: from mail-wr1-f47.google.com ([209.85.221.47]:37214) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kp5WK-0004TI-Q4 for 44900@debbugs.gnu.org; Tue, 15 Dec 2020 03:17:21 -0500 Received: by mail-wr1-f47.google.com with SMTP id i9so18916130wrc.4 for <44900@debbugs.gnu.org>; Tue, 15 Dec 2020 00:17:20 -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=FXPhYw9ZJh3W6mCQKCUUQJbvE799sP216PBpXTkHENo=; b=e8wzVr9mv+j8PpyJNRGfEnMzrXwaZ9eauObTw4WQz801wMqY9jGHgZ1+DBq0GGwLOY IdPigqmYvIpOpaRnjbHv0myNCfKUC4bXf4K1JO1Se0n3raTmk6T2Q9Y8gkS70K4P6NaJ JRvCIbtgkgZ6lVei+BcYa4eFsEs3LQR+TAmWnzrUqa2P79JvtXWyqSH+QaPmFashBYF6 Q8vsRaNevzkgq/Ba8K8/SI8BogDUOfXmAhz7ZESgfvHkh7Q5S72CmsigWpYFF5L2xYkx oxVQM/dnj1DOKTL0oNXWRW6hSla5f91Ui5FJIIZhTUx3SPy4uqWbglDzVh0nnLy1dF4s 0K+g== 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=FXPhYw9ZJh3W6mCQKCUUQJbvE799sP216PBpXTkHENo=; b=WmyTwENf8n197GkeDDmip5KaR1MGNa4i70hVJJRtXQQe9X3edo7KyGs30eCyur9wkJ QCT2Yuh/K/M9uBfDa1vLg5C4SYWQ78MO2EELRf5OfC12EpphfpC1Wos254Vi259DSKUs YX1tslDY0+FdpzziXbd6ujg4CKccp83l1kHra56UssAW51O+hg7TdNxyJIZ2RWT4/iNA wtBIytkC7EAdXrryUghMvbWOSAZd+lyjPQSFZfSQUTggPQTJ2hsRdbuxbeDlYtQVM1k8 E9YWM/Gl3Vpjw/70we1+ejmpulwInmqbm9tRbQ169niEb8bFjr/1P5hHUC/xRN5USN8C EXzw== X-Gm-Message-State: AOAM532yPg0oc+X1OzTkDLPZMrPuCuPapDQirOcpVxy/YDXXfseJDpTL 2Tm+pmz3DCgtfOX3OpP6Uagh8FwsFNM4ybj01xe/itihYTEe1NGygitxV5pzLm1cGSFNk8Kn25v 80zeGFCt/8jBhwehDsT+uDrZcvfekepSBP7HFxSsVnnLB7PeCwk1JHyFXK7nbtMYeOOFyFdoX6y Nu0Hg= X-Google-Smtp-Source: ABdhPJxDICq8doqd/rFU2p14sy0xD/c9GMz9/xBA7+Df+Mx8HWhZy/mPRb4UCes9xPuv4entzEIWOw== X-Received: by 2002:a5d:6909:: with SMTP id t9mr25565146wru.327.1608020234710; Tue, 15 Dec 2020 00:17:14 -0800 (PST) Received: from localhost (dynamic-2a01-0c22-cc7d-ed00-3840-fd05-0373-58e4.c22.pool.telefonica.de. [2a01:c22:cc7d:ed00:3840:fd05:373:58e4]) by smtp.gmail.com with ESMTPSA id n189sm34421444wmf.20.2020.12.15.00.17.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Dec 2020 00:17:13 -0800 (PST) Date: Tue, 15 Dec 2020 09:17:13 +0100 From: Lars-Dominik Braun To: Ludovic =?iso-8859-1?Q?Court=E8s?= Subject: Re: [bug#44900] [PATCH] services: unattended-upgrade: Add 'search-paths' field. Message-ID: <20201215081713.GA2831@zpidnp36> References: <20201127084632.GA3077@zpidnp36> <87eekdrcrw.fsf@gnu.org> <20201130081842.GB6084@zpidnp36> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="SLDf9lqlvOQaIe6s" Content-Disposition: inline In-Reply-To: <20201130081842.GB6084@zpidnp36> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44900 Cc: 44900@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --SLDf9lqlvOQaIe6s Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, > > 2. Turn your modules into a channel. Nice because there=E2=80=99s no= need for > > a special case, modules are automatically updated at each upgrade, > > etc., but OTOH requires more paperwork. > I feel this might be the best option and I=E2=80=99ll give it a try. I=E2=80=99ve implemented this now and it is indeed a very good solution. Fo= r anyone stumbling on this issue, I=E2=80=99m using the following service configurat= ion: ---snip--- (unattended-upgrade-configuration (channels #~(cons* (channel (name 'psychnotebook-deploy) (url "https://github.com/leibniz-psychology/psychnotebook-deploy.git") (introduction (make-channel-introduction "02ae8f9f647ab9650bc9211e728841931f25792c" (openpgp-fingerprint "CA4F 8CF4 37D7 478F DA05 5FD4 4213 7701 1A37 8446")))) %default-channels)) (operating-system-file (scheme-file "config.scm" #~(@ (zpid machines yamunanagar os) yamunanagar-os))) (schedule "55 13 * * *") (services-to-restart '(nginx ntpd guix-publish ssh-daemon mcron))) ---snap--- So, I=E2=80=99m fine with closing this as wontfix. 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 --SLDf9lqlvOQaIe6s Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEyk+M9DfXR4/aBV/UQhN3ARo3hEYFAl/YcQUACgkQQhN3ARo3 hEbkMwv/YtmPVB9zreWucdYoQpx51pSpTjXJuQmOQGCvKzo3P5Lfl6KqY/eLxmxX iOEwGoE7tCQ+2Kk22EdhVmNWJjGTbCaiPpSfOn+SlZ0GDEuihgIAUHKgu3nFjW7c zbe0xyTe0M+0FSx4PYLSMlQ9TfQG0KXvtUTqZeNXMDhRR9Sohgx+8OXnTu3PBuO9 QuJP9rd8rN8EDDKBuo9izms4ytgerD8mh5eA00byEeXZxtRh3KK6XZagAjWbLAOD Hg9vfJDXfSZ8Gxpb6zWXTtZNxHqSuwiidFm3ZYIJNCb4gj9a05Tqg8f7OuZGnJVd AGjUfORyISDu5jVxhZAGUbRlDTRX+JoswXtZ+QuNO2RjtZdp7hD6BBwnsRtIZ33J mpraBotDMw4ThDODHuuera51wy0ojxl3k1CKDsrkhPhRoL2T/vFabkCi1E68tgMg dRBxONwEEKF5zU2Di8D4Rv/cmAotDY2uSOrduy97NlWIugR72iNv2vRvpbbYPp9g zBUV8e2e =rIc7 -----END PGP SIGNATURE----- --SLDf9lqlvOQaIe6s-- From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 23 10:57:43 2020 Received: (at control) by debbugs.gnu.org; 23 Dec 2020 15:57:43 +0000 Received: from localhost ([127.0.0.1]:53923 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ks6WF-0006JW-Bi for submit@debbugs.gnu.org; Wed, 23 Dec 2020 10:57:43 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35492) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ks6WE-0006JI-Hw for control@debbugs.gnu.org; Wed, 23 Dec 2020 10:57:42 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:51960) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ks6W6-0002gr-Bg for control@debbugs.gnu.org; Wed, 23 Dec 2020 10:57:37 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=46084 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ks6W0-00059H-Li for control@debbugs.gnu.org; Wed, 23 Dec 2020 10:57:30 -0500 Date: Wed, 23 Dec 2020 16:57:26 +0100 Message-Id: <87h7ocwm55.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #44900 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) tags 44900 wontfix close 44900 quit From unknown Sun Jun 22 04:17:04 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 21 Jan 2021 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator