X-Loop: help-debbugs@HIDDEN Subject: bug#77558: Unattended-updates broken with personal channel Resent-From: "Timo Wilken" <guix@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Sat, 05 Apr 2025 18:49:01 +0000 Resent-Message-ID: <handler.77558.B.174387893031165 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 77558 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 77558 <at> debbugs.gnu.org X-Debbugs-Original-To: <bug-guix@HIDDEN> Received: via spool by submit <at> debbugs.gnu.org id=B.174387893031165 (code B ref -1); Sat, 05 Apr 2025 18:49:01 +0000 Received: (at submit) by debbugs.gnu.org; 5 Apr 2025 18:48:50 +0000 Received: from localhost ([127.0.0.1]:44787 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1u18ZV-00086a-I3 for submit <at> debbugs.gnu.org; Sat, 05 Apr 2025 14:48:49 -0400 Received: from lists.gnu.org ([2001:470:142::17]:40560) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <timo@HIDDEN>) id 1u18ZT-00086L-8k for submit <at> debbugs.gnu.org; Sat, 05 Apr 2025 14:48:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <timo@HIDDEN>) id 1u18ZN-0000xU-IZ for bug-guix@HIDDEN; Sat, 05 Apr 2025 14:48:41 -0400 Received: from mx2.mythic-beasts.com ([2a00:1098:0:82:1000:0:2:1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <timo@HIDDEN>) id 1u18ZK-0003pX-Oy for bug-guix@HIDDEN; Sat, 05 Apr 2025 14:48:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=twilken.net ; s=mythic-beasts-k1; h=Subject:To:From:Date; bh=K7VwLmL78jxbPODGCpxGpMXAnx/COaRo0Rc9FlzuSms=; b=R5G5+fTVQIN8tQ+mO9vlX6yIJL SxpuM5hLFlvGyE2+vnzGZaVIc96+NwCYepysegC4mnGlwBNo+1oedaqzRKQM7OaPE09Y9Bjke7nd9 UMWTb9zM2CykynvlRGcREm9cSVFdwF5SK+uL3SDRIYjMOjBWjA0inGWPehMeXA7NR2PB0Z2ZsOupm 8beOEn+T+WKh3/XW8ZML+ETRHnzLoA9o/QkNbpcmR+x2+7pWr1aUx+NI0jT942juUIo0WaWDR/W3I V7Nn6yB2QoQ5ByK9XFneTyNN9Lc6eRQHPFKM4IrkGuvJ2CxJVELcBIAKTGap+wjDIHmItJAfBldhP qd7S9UIg==; Received: by mailhub-hex-d.mythic-beasts.com with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <timo@HIDDEN>) id 1u18ZJ-008ZRO-1u for bug-guix@HIDDEN; Sat, 05 Apr 2025 19:48:37 +0100 Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Sat, 05 Apr 2025 20:48:22 +0200 Message-Id: <D8YXH83TG1KL.3O0YDHKUWUUUH@HIDDEN> From: "Timo Wilken" <guix@HIDDEN> X-Mailer: aerc 0.20.1 X-BlackCat-Spam-Score: 7 X-Spam-Status: No, score=0.7 Received-SPF: pass client-ip=2a00:1098:0:82:1000:0:2:1; envelope-from=timo@HIDDEN; helo=mx2.mythic-beasts.com X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) Hi, I'm using Guix' `unattended-upgrade-service-type' as follows, with my own channel containing modules under (tw ...): https://cgit.twilken.net/dotfiles/tree/tw/system/btl.scm?h=3D02bc0c28c3e438= 428630cc7757741f05e89358bd#n135 --8<---------------cut here (service unattended-upgrade-service-type (unattended-upgrade-configuration (schedule "0 21 * * *") (channels #~(@ (tw channels) %system-channels)) (operating-system-expression #~(@ (tw system btl) %btl-system)))) --8<---------------cut here This used to work, but now doesn't. The Shepherd timer fails with the following messages: --8<---------------cut here starting upgrade... guix time-machine: error: failed to load '/gnu/store/yqsacwns98qbaz7bz4clvb= niaipq6632-channels.scm': ice-9/boot-9.scm:4388:12: Module named (tw channels) has no public interfac= e command "/gnu/store/m7278cq1lq6bmspm84df7vp0zarq973b-guix-1.4.0-35.a9239a7/= bin/guix" "time-machine" "-C" "/gnu/store/yqsacwns98qbaz7bz4clvbniaipq6632-= channels.scm" "--" "system" "reconfigure" "-e" "(@ (tw system btl) %btl-sys= tem)" failed with status 1 --8<---------------cut here Wrapping the g-exps as follows does not work: --8<---------------cut here (with-imported-modules (source-module-closure '((tw ...))) #~...) --8<---------------cut here ...because `source-module-closure' filters out any modules that do not matc= h the format (gnu ...) or (guix ...). If I give a `#:select?' function to `source-module-closure' that includes my own channel's modules (and its dependencies'), then I get errors about Guix not being able to find patches= on `guix system reconfigure': --8<---------------cut here builder for `/gnu/store/2w5lm372yrbxjb98s6q2xax8fdl4dg1f-module-import-comp= iled.drv' failed with exit code 1 build of /gnu/store/2w5lm372yrbxjb98s6q2xax8fdl4dg1f-module-import-compiled= .drv failed View build log at '/var/log/guix/drvs/2w/5lm372yrbxjb98s6q2xax8fdl4dg1f-mod= ule-import-compiled.drv.gz'. --8<---------------cut here From /var/log/guix/drvs/2w/5lm372yrbxjb98s6q2xax8fdl4dg1f-module-import-com= piled.drv.gz: --8<---------------cut here ice-9/eval.scm:159:9: ERROR: 1. &formatted-message: format: "~a: patch not found\n" arguments: ("icecat-makeicecat.patch") --8<---------------cut here So: is there a supported way in which I can use expressions from my persona= l channel in `unattended-upgrade-configuration'? Cheers, Timo
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: "Timo Wilken" <guix@HIDDEN> Subject: bug#77558: Acknowledgement (Unattended-updates broken with personal channel) Message-ID: <handler.77558.B.174387893031165.ack <at> debbugs.gnu.org> References: <D8YXH83TG1KL.3O0YDHKUWUUUH@HIDDEN> X-Gnu-PR-Message: ack 77558 X-Gnu-PR-Package: guix Reply-To: 77558 <at> debbugs.gnu.org Date: Sat, 05 Apr 2025 18:49:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-guix@HIDDEN If you wish to submit further information on this problem, please send it to 77558 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 77558: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D77558 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.