From unknown Sun Jun 15 08:59:16 2025 X-Loop: help-debbugs@gnu.org Subject: bug#63921: Activation snippets in reverse order, prevent boot Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 06 Jun 2023 08:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 63921 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 63921@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.168603936418820 (code B ref -1); Tue, 06 Jun 2023 08:17:02 +0000 Received: (at submit) by debbugs.gnu.org; 6 Jun 2023 08:16:04 +0000 Received: from localhost ([127.0.0.1]:50862 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q6RrI-0004tU-Ay for submit@debbugs.gnu.org; Tue, 06 Jun 2023 04:16:04 -0400 Received: from lists.gnu.org ([209.51.188.17]:47892) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q6RrG-0004tK-Hv for submit@debbugs.gnu.org; Tue, 06 Jun 2023 04:16:03 -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 ) id 1q6RrF-0000nn-UE for bug-guix@gnu.org; Tue, 06 Jun 2023 04:16:02 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q6RrB-0000Pd-GG for bug-guix@gnu.org; Tue, 06 Jun 2023 04:16:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=yDXkVQ82eS92DP7vu8VjljsYKh2bV/WZ1NgDxJu5YCk=; b=k9OvqVk5lZLo+g tYgeW/iWYK1x2CCdaOyBL1Yln1FwKTzmdpdKCNwy3G9InoxQsRJSVNViyHt9QFMUReZTydauU5Rix dXw9z+9V3aXoIK8SsTwarRy43bcomFJTbPbkUzPla7XvL0+GodIYqjGJlR9baootnsRq17IrxcXR2 areSKbehXSVek7UMNjaNfTvEKHdZJX0WmfkLOYBw+9Pr6NKQm18sDMs6exLF1YkCu1iLh9pQWgc2G ijkRMgZr/9vDCqGrYDj5vxHdLKmPYVJncUW1aY2HDJ/xqLXfHti0LH5HA9TVc7ywZuLqyfYP1kLEt qjbn6pdL8VdI9E/vMTVg==; Received: from [193.50.110.155] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q6RrA-0006QX-W6 for bug-guix@gnu.org; Tue, 06 Jun 2023 04:15:57 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Octidi 18 Prairial an 231 de la =?UTF-8?Q?R=C3=A9volution,?= jour du Pavot 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: Tue, 06 Jun 2023 10:15:54 +0200 Message-ID: <877csh9fb9.fsf@inria.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) 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 (---) Booting a system reconfigured from eed55a6544d5bda2245ec853e5fa4b28e1865bea fails with shepherd saying: error: while opening socket '/var/run/shepherd/socket': Address already i= n use The root cause appears to be that the =E2=80=98boot=E2=80=99 program has ex= pressions reversed: --8<---------------cut here---------------start------------->8--- $ guix gc --references $(guix gc --derivers $(readlink -f /var/guix/profile= s/system-236-link)) | grep boot /gnu/store/21ldhyrpji6lkkdxi4lgr5k9l5fr2b7l-boot.drv $ cat $(guix build /gnu/store/21ldhyrpji6lkkdxi4lgr5k9l5fr2b7l-boot.drv) (eval-when (expand load eval) (let ((extensions (quote ())) (prepend (lambd= a (items lst) (let loop ((items items) (lst lst)) (if (null? items) lst (lo= op (cdr items) (cons (car items) (delete (car items) lst)))))))) (set! %loa= d-path (prepend (cons "/gnu/store/pj751v3199vmv6i6sf0szp185ryzcfdg-module-i= mport" (map (lambda (extension) (string-append extension "/share/guile/site= /" (effective-version))) extensions)) %load-path)) (set! %load-compiled-pat= h (prepend (cons "/gnu/store/pql80c2hy38bb60c68sng74s4xa35vwk-module-import= -compiled" (map (lambda (extension) (string-append extension "/lib/guile/" = (effective-version) "/site-ccache")) extensions)) %load-compiled-path))))(b= egin (begin (false-if-exception (delete-file "/run/booted-system")) (symlin= k (canonicalize-path "/run/current-system") "/run/booted-system") (let loop= ((fd 3)) (when (< fd 1024) (false-if-exception (let ((flags (fcntl fd F_GE= TFD))) (when (zero? (logand flags FD_CLOEXEC)) (fcntl fd F_SETFD (logior FD= _CLOEXEC flags))))) (loop (+ fd 1)))) (execl "/gnu/store/wj5i6x3xgai7p8whwq= ybxwqdjdbmbzha-shepherd-0.10.99-git/bin/shepherd" "shepherd" "--config" "/g= nu/store/gnjghlc3n5qbala5jfdslgfi0n3vy8v7-shepherd.conf")) (primitive-load = "/gnu/store/riabgidmf6fh76klc1yam7k9j1478vvw-activate.scm") (begin (use-mod= ules (guix build utils)) (letrec-syntax ((fail-safe (syntax-rules () ((_ ex= p rest ...) (begin (catch (quote system-error) (lambda () exp) (const #f)) = (fail-safe rest ...))) ((_) #t)))) (fail-safe (delete-file "/etc/group.lock= ") (delete-file "/etc/passwd.lock") (delete-file "/etc/.pwd.lock") (setenv = "GUIX_LOCPATH" "/gnu/store/5fmqijrs5f7vx8mc2q2pmq26yvhb74sm-glibc-utf8-loca= les-2.35/lib/locale") (setlocale LC_CTYPE "en_US.utf8") (delete-file-recurs= ively "/tmp") (delete-file-recursively "/var/run") (mkdir "/tmp") (chmod "/= tmp" 1023) (mkdir "/var/run") (chmod "/var/run" 493) (delete-file-recursive= ly "/run/udev/watch.old"))))) --8<---------------cut here---------------end--------------->8--- Namely, (execl "=E2=80=A6/bin/shepherd") comes before the cleanup expressio= ns, which is why /var/run/shepherd/socket is still around when we boot. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 06 05:44:58 2023 Received: (at control) by debbugs.gnu.org; 6 Jun 2023 09:44:59 +0000 Received: from localhost ([127.0.0.1]:50993 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q6TFK-0007Vm-Lg for submit@debbugs.gnu.org; Tue, 06 Jun 2023 05:44:58 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39782) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q6TFJ-0007VQ-7b for control@debbugs.gnu.org; Tue, 06 Jun 2023 05:44:57 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q6TFD-0003Wz-UE for control@debbugs.gnu.org; Tue, 06 Jun 2023 05:44:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:Subject:From:To:Date:in-reply-to: references; bh=qCmP0LvVYEnuhOmrPe3BMnjkQjsvkGiK9zPEVZ9nNHk=; b=WIBNR+6dumsYB9 w1TgYuhqbfKSLD/t8HHjwV/PYV2OYdbZbgnojjLgiyrGf2e7PLxqOd/i4CWhtz8TFTgk6jNsl1TB9 0yLvD5IIisO9iJH4JNbzQ+CDs1mFN5AXXDiXjL8VDTYhoadGT/1NyDzo0JCtpa+sa7EAa5O2a5i2+ ZnD1n/d963oTegiQ+EJhjwFW2a+Z7qjGt9+5V33h8TdBmCSOcX4/jo4hgaTZsREj8UICldX9lkrqu kcmH9EE+dzpGBFsoiSo8IpOrN22WeMIErLF0cIS35RX/8pc9Beh/EWm2WTUbg49UVgDMmavgVtKQk LvsqlbNrxDl3vo1a2pkg==; Received: from [193.50.110.155] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q6TFD-0001si-FI for control@debbugs.gnu.org; Tue, 06 Jun 2023 05:44:51 -0400 Date: Tue, 06 Jun 2023 11:44:49 +0200 Message-Id: <875y80apri.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #63921 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 (---) severity 63921 serious quit From unknown Sun Jun 15 08:59:16 2025 X-Loop: help-debbugs@gnu.org Subject: bug#63921: Activation snippets in reverse order, prevent boot Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 06 Jun 2023 09:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63921 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 63921@debbugs.gnu.org Cc: Brian Cully Received: via spool by 63921-submit@debbugs.gnu.org id=B63921.168604553130719 (code B ref 63921); Tue, 06 Jun 2023 09:59:02 +0000 Received: (at 63921) by debbugs.gnu.org; 6 Jun 2023 09:58:51 +0000 Received: from localhost ([127.0.0.1]:51003 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q6TSl-0007zO-Bk for submit@debbugs.gnu.org; Tue, 06 Jun 2023 05:58:51 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47604) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q6TSj-0007zC-Gz for 63921@debbugs.gnu.org; Tue, 06 Jun 2023 05:58:50 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q6TSd-0000DT-UT; Tue, 06 Jun 2023 05:58:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=cCo6ZRWHNqsGYPEXUWv2h9a5IoB+WldHM0angfzZRfI=; b=iQv8PKAiSYyuTGETf7gE vJfPphXlhfKnbfuYLGYJFxUCOwVQPZQjRMNte9JFBmyObScaCnCo0NuwOQxX/gPOzrNA+r2hw7iPs uCgXtD/KXE6HdPXt1ls3nHOyIAmgZdNlHSTXz7GmfW/8TcujiE1jAqb2vaqlkjOvevIMBnWE4xpcw Vmnyga8VhHFtXRsclX2NEV7D8owUOLbG+wVtIxqGZMYht5xs+Vbwr5JEbMpeTVhLLpHIbzmpF64QU YJH1qLcSl7cU44S894YzC79V1HJBuej4Di40kdNu+1D3K+xXl3F5sGscbhjBzrD/WJjXhhQrEnGbC XWCxvbZs2TCLOA==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q6TSd-0006u0-HZ; Tue, 06 Jun 2023 05:58:43 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <877csh9fb9.fsf@inria.fr> Date: Tue, 06 Jun 2023 11:58:40 +0200 In-Reply-To: <877csh9fb9.fsf@inria.fr> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Tue, 06 Jun 2023 10:15:54 +0200") Message-ID: <87y1kw9ajz.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) 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 (---) Ludovic Court=C3=A8s skribis: > Booting a system reconfigured from > eed55a6544d5bda2245ec853e5fa4b28e1865bea fails with shepherd saying: > > error: while opening socket '/var/run/shepherd/socket': Address already= in use > > The root cause appears to be that the =E2=80=98boot=E2=80=99 program has = expressions > reversed: > > $ guix gc --references $(guix gc --derivers $(readlink -f /var/guix/profi= les/system-236-link)) | grep boot > /gnu/store/21ldhyrpji6lkkdxi4lgr5k9l5fr2b7l-boot.drv > $ cat $(guix build /gnu/store/21ldhyrpji6lkkdxi4lgr5k9l5fr2b7l-boot.drv) > (eval-when (expand load eval) (let ((extensions (quote ())) (prepend (lam= bda (items lst) (let loop ((items items) (lst lst)) (if (null? items) lst (= loop (cdr items) (cons (car items) (delete (car items) lst)))))))) (set! %l= oad-path (prepend (cons "/gnu/store/pj751v3199vmv6i6sf0szp185ryzcfdg-module= -import" (map (lambda (extension) (string-append extension "/share/guile/si= te/" (effective-version))) extensions)) %load-path)) (set! %load-compiled-p= ath (prepend (cons "/gnu/store/pql80c2hy38bb60c68sng74s4xa35vwk-module-impo= rt-compiled" (map (lambda (extension) (string-append extension "/lib/guile/= " (effective-version) "/site-ccache")) extensions)) %load-compiled-path))))= (begin (begin (false-if-exception (delete-file "/run/booted-system")) (syml= ink (canonicalize-path "/run/current-system") "/run/booted-system") (let lo= op ((fd 3)) (when (< fd 1024) (false-if-exception (let ((flags (fcntl fd F_= GETFD))) (when (zero? (logand flags FD_CLOEXEC)) (fcntl fd F_SETFD (logior = FD_CLOEXEC flags))))) (loop (+ fd 1)))) (execl "/gnu/store/wj5i6x3xgai7p8wh= wqybxwqdjdbmbzha-shepherd-0.10.99-git/bin/shepherd" "shepherd" "--config" "= /gnu/store/gnjghlc3n5qbala5jfdslgfi0n3vy8v7-shepherd.conf")) (primitive-loa= d "/gnu/store/riabgidmf6fh76klc1yam7k9j1478vvw-activate.scm") (begin (use-m= odules (guix build utils)) (letrec-syntax ((fail-safe (syntax-rules () ((_ = exp rest ...) (begin (catch (quote system-error) (lambda () exp) (const #f)= ) (fail-safe rest ...))) ((_) #t)))) (fail-safe (delete-file "/etc/group.lo= ck") (delete-file "/etc/passwd.lock") (delete-file "/etc/.pwd.lock") (seten= v "GUIX_LOCPATH" "/gnu/store/5fmqijrs5f7vx8mc2q2pmq26yvhb74sm-glibc-utf8-lo= cales-2.35/lib/locale") (setlocale LC_CTYPE "en_US.utf8") (delete-file-recu= rsively "/tmp") (delete-file-recursively "/var/run") (mkdir "/tmp") (chmod = "/tmp" 1023) (mkdir "/var/run") (chmod "/var/run" 493) (delete-file-recursi= vely "/run/udev/watch.old"))))) > > Namely, (execl "=E2=80=A6/bin/shepherd") comes before the cleanup express= ions, > which is why /var/run/shepherd/socket is still around when we boot. Fixed in 181951207339508789b28ba7cb914f983319920f. The regression came from dbbc7e946131ba257728f1d05b96c4339b7ee88b, which led =E2=80=98modify-services=E2=80=99 to change the order of services (some= thing I had completely overlooked while reviewing, apologies!). I ended up rewriting =E2=80=98modify-services=E2=80=99. Good news is we now have test= s for this. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 06 05:59:00 2023 Received: (at control) by debbugs.gnu.org; 6 Jun 2023 09:59:00 +0000 Received: from localhost ([127.0.0.1]:51007 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q6TSt-0007zp-Oi for submit@debbugs.gnu.org; Tue, 06 Jun 2023 05:59:00 -0400 Received: from eggs.gnu.org ([209.51.188.92]:58068) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q6TSs-0007zZ-Ri for control@debbugs.gnu.org; Tue, 06 Jun 2023 05:58:59 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q6TSn-0000FF-LO for control@debbugs.gnu.org; Tue, 06 Jun 2023 05:58:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:Subject:From:To:Date:in-reply-to: references; bh=EimfB+7133oXV7iszrHbJIPFamajkr1m4NlS8WQNbMA=; b=mewA0G8dQMdL2O 12PgRZM+z2A3nYtEFx2eMKglazmEudgs0BQmoRU4wl1HXCjsswtkdUWR1R1dWaishEbN6Y3gMDNq7 c8Rf01CN9jRMbvHBtWfPAopGD6Uxdzh96VyaIFlO3Fx/ZRvNLF7hCrDzjgcM7zdLP10RoC9skeI2Q gKKuyb4yKxgKqlL4TYfa6dEGZq5fuk/RC66taFE9vBQx+vBoDZEadiDoy4SrzrVipHRsjIOmJph3q 8Qune0UXjii3MXpXXVjo0oSqv1OXM+ZmO9YP81IAGBhOzUISkFv/6Rn54KTFE+ew8Na/jn1+igcy9 2KO1NYFRp2bKk1bn7h2A==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q6TSn-0007RG-7x for control@debbugs.gnu.org; Tue, 06 Jun 2023 05:58:53 -0400 Date: Tue, 06 Jun 2023 11:58:51 +0200 Message-Id: <87wn0g9ajo.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #63921 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 (---) close 63921 quit From unknown Sun Jun 15 08:59:16 2025 X-Loop: help-debbugs@gnu.org Subject: bug#63921: Activation snippets in reverse order, prevent boot Resent-From: "pelzflorian (Florian Pelz)" Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 07 Jun 2023 08:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63921 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 63921@debbugs.gnu.org, Brian Cully Received: via spool by 63921-submit@debbugs.gnu.org id=B63921.168612825914016 (code B ref 63921); Wed, 07 Jun 2023 08:58:02 +0000 Received: (at 63921) by debbugs.gnu.org; 7 Jun 2023 08:57:39 +0000 Received: from localhost ([127.0.0.1]:53581 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q6oz5-0003e0-DS for submit@debbugs.gnu.org; Wed, 07 Jun 2023 04:57:39 -0400 Received: from relay.yourmailgateway.de ([188.68.61.103]:58615) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q6oz1-0003dn-LB for 63921@debbugs.gnu.org; Wed, 07 Jun 2023 04:57:38 -0400 Received: from mors-relay-8403.netcup.net (localhost [127.0.0.1]) by mors-relay-8403.netcup.net (Postfix) with ESMTPS id 4Qbh7L2PjMz8027; Wed, 7 Jun 2023 10:57:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pelzflorian.de; s=key2; t=1686128254; bh=+xyDhsBZpSntK7xy/F5i8uj3lY3+0QtnioToIr8p0Tc=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=hW3FeDqNrPHGGo/jedG3CcN36eSQlRaxLpxYJ4P3ccbeqTNliI4MzzTjhbMu0fIin ie15xYzMQ+/pMSLFiNFDS5IH2OPsNUWEvAZqI3/tzrEXQMSsPvhN4ZYHfrC5uBiH7X QVZQv+ml7AeF5x1UR20gHIQ+BLzF7OcgA3oEjj5o27l5roG3n/+jOEC0mjq1gadmaR FuHIFjYJrSJCkqMJAnzN1cvf+FXTsmg5edsjdKMwG3ENDcMR2FblNW12ENQl3I6iLr fRXEST7OuNxOesx04wkugqwCCM+d74lBLXG6aOE5H0D63evY47YWn+x63RWyfLj42l bNSRkxPR4ikgg== Received: from policy02-mors.netcup.net (unknown [46.38.225.35]) by mors-relay-8403.netcup.net (Postfix) with ESMTPS id 4Qbh7L21Tfz8024; Wed, 7 Jun 2023 10:57:34 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at policy02-mors.netcup.net X-Spam-Flag: NO X-Spam-Score: -2.899 X-Spam-Level: X-Spam-Status: No, score=-2.899 required=6.31 tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no Received: from mxe217.netcup.net (unknown [10.243.12.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by policy02-mors.netcup.net (Postfix) with ESMTPS id 4Qbh7B2cXvz8sb3; Wed, 7 Jun 2023 10:57:26 +0200 (CEST) Received: from florianrock64 (ip92344de0.dynamic.kabel-deutschland.de [146.52.77.224]) by mxe217.netcup.net (Postfix) with ESMTPSA id E60C28107B; Wed, 7 Jun 2023 10:57:19 +0200 (CEST) From: "pelzflorian (Florian Pelz)" References: <877csh9fb9.fsf@inria.fr> <87y1kw9ajz.fsf@gnu.org> Date: Wed, 07 Jun 2023 10:57:18 +0200 In-Reply-To: <87y1kw9ajz.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Tue, 06 Jun 2023 11:58:40 +0200") Message-ID: <87a5xb645t.fsf@pelzflorian.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: E60C28107B X-Spamd-Result: default: False [-5.60 / 15.00]; BAYES_HAM(-5.50)[100.00%]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_THREE(0.00)[3]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:3209, ipnet:146.52.0.0/16, country:DE]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[] X-Rspamd-Server: rspamd-worker-8404 X-NC-CID: CcCEpM/MJAPTGKjMwvsg+nS7v2btI1JBBjcxIIsL9a5EMEZ5k4M7SKL3 X-Spam-Score: -0.0 (/) 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 (-) Hi Ludo, hi all. Ludovic Court=C3=A8s writes: > I ended up > rewriting =E2=80=98modify-services=E2=80=99. Good news is we now have te= sts for this. In the rewrite, you wrote: > +(define (apply-clauses clauses services) > + "Apply CLAUSES, an alist as returned by 'clause-alist', to SERVICES, a= list > +of services. Use each clause at most once; raise an error if a clause w= as not > +used." Using clauses at most once broke the greetd example in the manual: > (append > (modify-services %base-services > ;; greetd-service-type provides "greetd" PAM service > (delete login-service-type) > ;; and can be used in place of mingetty-service-type > (delete mingetty-service-type)) > (list > (service greetd-service-type But there are multiple instances of mingetty-service-type in %base-services. Now an error is raised on reconfigure because there are two term-tty2 services. I=E2=80=99m not sure, isn=E2=80=99t it more explicit if we keep your change= of deleting at most once, but change the greetd example? The following works for me now =E2=80=A6 (modify-services %base-services (delete login-service-type) (delete mingetty-service-type) (delete mingetty-service-type) (delete mingetty-service-type) (delete mingetty-service-type) (delete mingetty-service-type) (delete mingetty-service-type)) Regards, Florian From unknown Sun Jun 15 08:59:16 2025 X-Loop: help-debbugs@gnu.org Subject: bug#63921: Activation snippets in reverse order, prevent boot Resent-From: "pelzflorian (Florian Pelz)" Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 07 Jun 2023 09:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63921 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 63921@debbugs.gnu.org, Brian Cully Received: via spool by 63921-submit@debbugs.gnu.org id=B63921.168612958025657 (code B ref 63921); Wed, 07 Jun 2023 09:20:02 +0000 Received: (at 63921) by debbugs.gnu.org; 7 Jun 2023 09:19:40 +0000 Received: from localhost ([127.0.0.1]:53591 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q6pKO-0006fl-Jm for submit@debbugs.gnu.org; Wed, 07 Jun 2023 05:19:40 -0400 Received: from relay.yourmailgateway.de ([188.68.63.162]:46577) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q6pKL-0006fb-U1 for 63921@debbugs.gnu.org; Wed, 07 Jun 2023 05:19:39 -0400 Received: from mors-relay-8201.netcup.net (localhost [127.0.0.1]) by mors-relay-8201.netcup.net (Postfix) with ESMTPS id 4QbhcR6sB9z3rY5; Wed, 7 Jun 2023 11:19:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pelzflorian.de; s=key2; t=1686129560; bh=Cd8+mAg1L6qhwma1wt902FEsXdlSJQGsqePs/DsZaY8=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=CUrGb+hvmh6Y84oV5FC9peSlS4mmrOxEB8Q7a4gjUKLarAUuuZprf2KgqJ8PpuEFb fmGQSB93pk/KJpScpye05VtTyXjQoR1RYiyuBvyvGx44MA0UPTkbh0irvrydW/XPIT d+e2eScoEAAZheQmQeh0LKpGtwrCjdQg40vKLopJbS3ahVyiUxuKDD+cSWJTy8nY5j FZ+YvZBV+9dq5q5JOwraaDGDQGPuVh2sJJTHHwR7uuf1s3f4N/3dchbMr56OhkiZBE pNryyx5EJEUerYPcSy39iM157UhX6FBWAg0ANORrLvMRdUWLIFusEDCib2CXVAfFXN fXxnZE8YRRLCA== Received: from policy01-mors.netcup.net (unknown [46.38.225.35]) by mors-relay-8201.netcup.net (Postfix) with ESMTPS id 4QbhcR68hyz3rX7; Wed, 7 Jun 2023 11:19:19 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at policy01-mors.netcup.net X-Spam-Flag: NO X-Spam-Score: -2.899 X-Spam-Level: X-Spam-Status: No, score=-2.899 required=6.31 tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no Received: from mxe217.netcup.net (unknown [10.243.12.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by policy01-mors.netcup.net (Postfix) with ESMTPS id 4QbhcJ0bvbz8sYc; Wed, 7 Jun 2023 11:19:11 +0200 (CEST) Received: from florianrock64 (ip92344de0.dynamic.kabel-deutschland.de [146.52.77.224]) by mxe217.netcup.net (Postfix) with ESMTPSA id 7D50981024; Wed, 7 Jun 2023 11:19:05 +0200 (CEST) From: "pelzflorian (Florian Pelz)" References: <877csh9fb9.fsf@inria.fr> <87y1kw9ajz.fsf@gnu.org> <87a5xb645t.fsf@pelzflorian.de> Date: Wed, 07 Jun 2023 11:19:04 +0200 In-Reply-To: <87a5xb645t.fsf@pelzflorian.de> (pelzflorian@pelzflorian.de's message of "Wed, 07 Jun 2023 10:57:18 +0200") Message-ID: <875y7z635j.fsf@pelzflorian.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Queue-Id: 7D50981024 X-Spamd-Result: default: False [-5.37 / 15.00]; BAYES_HAM(-5.27)[99.47%]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_THREE(0.00)[3]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:3209, ipnet:146.52.0.0/16, country:DE]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[] X-Rspamd-Server: rspamd-worker-8404 X-NC-CID: KfdfxP23DAXbXkvnmM5xnQ+tTg+9+sAQeDy5LfySM7NPU+CbBNLUoLFd X-Spam-Score: -0.0 (/) 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 (-) "pelzflorian (Florian Pelz)" writes: > Using clauses at most once broke the greetd example in the manual: Jelle Licht already reported this on IRC, see the end of Regards, Florian From unknown Sun Jun 15 08:59:16 2025 X-Loop: help-debbugs@gnu.org Subject: bug#63921: Activation snippets in reverse order, prevent boot Resent-From: "pelzflorian (Florian Pelz)" Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 07 Jun 2023 09:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63921 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Jelle Licht Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , 63921@debbugs.gnu.org, Brian Cully Received: via spool by 63921-submit@debbugs.gnu.org id=B63921.168613027326775 (code B ref 63921); Wed, 07 Jun 2023 09:32:02 +0000 Received: (at 63921) by debbugs.gnu.org; 7 Jun 2023 09:31:13 +0000 Received: from localhost ([127.0.0.1]:53598 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q6pVY-0006xn-Rw for submit@debbugs.gnu.org; Wed, 07 Jun 2023 05:31:13 -0400 Received: from relay.yourmailgateway.de ([194.59.206.189]:45123) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q6pVS-0006xZ-8H for 63921@debbugs.gnu.org; Wed, 07 Jun 2023 05:31:11 -0400 Received: from relay02-mors.netcup.net (localhost [127.0.0.1]) by relay02-mors.netcup.net (Postfix) with ESMTPS id 4Qbht05mW6z42WV; Wed, 7 Jun 2023 11:31:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pelzflorian.de; s=key2; t=1686130264; bh=sAH84WMx+OZDaGOOFDfs8DtGpyb2SZoITOtFtaL4clk=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=S2ME9Au4kfmyfh9gxa4cazqSJ+hvcYDwRBv2ZhlEutkfZgGjL4W2oCNghvVnivX3V OFOk/IYKPkcHkSkZRptLg6YPxFjA33MMu0caYP6D5TmiCDzFTzMzF+OE01Sil3/YgR 6yM02pFA8BRuAzZ36SBidQJsYyu8LabgYuikHX/IPCdRj5M05EAq5SUw8+ufDzjI9r N9zBA8vbLYKMscdm0wKr9y3XvQeLTKkrnIArjPdrd6LtnHrPSqyiGfdKLvOzOF7FAk 24Qr0eTymVjh2nb8dREnxx2o5B81+GurXn2b/hC25D0vR6FnzcDzia9zJDe2dmS9b6 uPDEGQaSZ+7Mg== Received: from policy02-mors.netcup.net (unknown [46.38.225.35]) by relay02-mors.netcup.net (Postfix) with ESMTPS id 4Qbht05NNzz7w06; Wed, 7 Jun 2023 11:31:04 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at policy02-mors.netcup.net X-Spam-Flag: NO X-Spam-Score: -2.899 X-Spam-Level: X-Spam-Status: No, score=-2.899 required=6.31 tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no Received: from mxe217.netcup.net (unknown [10.243.12.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by policy02-mors.netcup.net (Postfix) with ESMTPS id 4Qbhsr6G22z8sh8; Wed, 7 Jun 2023 11:30:56 +0200 (CEST) Received: from florianrock64 (ip92344de0.dynamic.kabel-deutschland.de [146.52.77.224]) by mxe217.netcup.net (Postfix) with ESMTPSA id 6B0CE810B3; Wed, 7 Jun 2023 11:30:49 +0200 (CEST) From: "pelzflorian (Florian Pelz)" References: <877csh9fb9.fsf@inria.fr> <87y1kw9ajz.fsf@gnu.org> <87a5xb645t.fsf@pelzflorian.de> <875y7z635j.fsf@pelzflorian.de> Date: Wed, 07 Jun 2023 11:30:48 +0200 In-Reply-To: <875y7z635j.fsf@pelzflorian.de> (pelzflorian@pelzflorian.de's message of "Wed, 07 Jun 2023 11:19:04 +0200") Message-ID: <87ilbzzkjb.fsf@pelzflorian.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Queue-Id: 6B0CE810B3 X-Spamd-Result: default: False [-5.39 / 15.00]; BAYES_HAM(-5.29)[99.51%]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_THREE(0.00)[4]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:3209, ipnet:146.52.0.0/16, country:DE]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[] X-Rspamd-Server: rspamd-worker-8404 X-NC-CID: R0fRoV+xMBM9tfibmTJdkiREvPNYRNuZ3T83jibk001bQj+yTLu7Mxpf X-Spam-Score: -0.0 (/) 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 (-) "pelzflorian (Florian Pelz)" writes: > "pelzflorian (Florian Pelz)" writes: >> Using clauses at most once broke the greetd example in the manual: > Jelle Licht already reported this on IRC, see the end of > Cc Jelle Licht From unknown Sun Jun 15 08:59:16 2025 X-Loop: help-debbugs@gnu.org Subject: bug#63921: Activation snippets in reverse order, prevent boot Resent-From: Jelle Licht Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 07 Jun 2023 17:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63921 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: "pelzflorian (Florian Pelz)" , Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 63921@debbugs.gnu.org, Brian Cully Received: via spool by 63921-submit@debbugs.gnu.org id=B63921.1686159862647 (code B ref 63921); Wed, 07 Jun 2023 17:45:02 +0000 Received: (at 63921) by debbugs.gnu.org; 7 Jun 2023 17:44:22 +0000 Received: from localhost ([127.0.0.1]:54681 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q6xCn-0000AN-Mz for submit@debbugs.gnu.org; Wed, 07 Jun 2023 13:44:22 -0400 Received: from mail1.fsfe.org ([217.69.89.151]:36716) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q6xCg-0000A6-Lt for 63921@debbugs.gnu.org; Wed, 07 Jun 2023 13:44:20 -0400 From: Jelle Licht DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fsfe.org; s=2021100501; t=1686159851; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=9f0wbS/hboTd+vYuXeyvmTjxC8LmdMVJh773tCfzEgo=; b=PUw9NdjsZrTfLdm5fsB8LGI2W2dFiQsupFATIVwZHYb/B/2SNrhu4ImzAfeuO1nja1R0ht F3iOcX8SbRLaR6slIMHi8MGJ37XIEGp7mTc1+s9PMbL33HU9iLr42ZO1pz8ui77FpnjsKk NzY1yJ11u9mVhqgt6c6JCWjVAwZPScY= In-Reply-To: <87a5xb645t.fsf@pelzflorian.de> References: <877csh9fb9.fsf@inria.fr> <87y1kw9ajz.fsf@gnu.org> <87a5xb645t.fsf@pelzflorian.de> Date: Wed, 07 Jun 2023 19:44:11 +0200 Message-ID: <87r0qni2vo.fsf@fsfe.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) 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 (-) "pelzflorian (Florian Pelz)" writes: > Hi Ludo, hi all. > [snip] > The following works for me now =E2=80=A6 > > (modify-services %base-services > (delete login-service-type) > (delete mingetty-service-type) > (delete mingetty-service-type) > (delete mingetty-service-type) > (delete mingetty-service-type) > (delete mingetty-service-type) > (delete mingetty-service-type)) Thanks for the workaround! Is this "thou shall delete N times, and _exactly_ N times" effect of the recently pushed change functioning as intended? It imho seems pretty brittle and verbose compared to how things were before. - Jelle From unknown Sun Jun 15 08:59:16 2025 X-Loop: help-debbugs@gnu.org Subject: bug#63921: Activation snippets in reverse order, prevent boot Resent-From: Brian Cully Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 07 Jun 2023 22:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63921 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Jelle Licht Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , 63921@debbugs.gnu.org, "pelzflorian \(Florian Pelz\)" Received: via spool by 63921-submit@debbugs.gnu.org id=B63921.168617563927928 (code B ref 63921); Wed, 07 Jun 2023 22:08:02 +0000 Received: (at 63921) by debbugs.gnu.org; 7 Jun 2023 22:07:19 +0000 Received: from localhost ([127.0.0.1]:55107 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q71JH-0007GO-Cx for submit@debbugs.gnu.org; Wed, 07 Jun 2023 18:07:19 -0400 Received: from coleridge.kublai.com ([166.84.7.167]:62819 helo=mail.spork.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q71JE-0007GF-Ti for 63921@debbugs.gnu.org; Wed, 07 Jun 2023 18:07:18 -0400 Received: from psyduck (ool-18b8e9e7.dyn.optonline.net [24.184.233.231]) by mail.spork.org (Postfix) with ESMTPSA id B9FE4DA15; Wed, 7 Jun 2023 18:07:00 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=spork.org; s=dkim; t=1686175636; bh=oH9z8IcQfQk6xcueXT88yYlxMXwMHPcK8HHJgHRtF6o=; h=References:From:To:Cc:Subject:Date:In-reply-to; b=ZsdtPNplULv7yRuBtPL0Y6zspWs9Z7J3XBCJkyVZ3yQ2tW/UOVOXIemVSZBLBSSxD hLjWjeGPFuq3Hz/loHVkJ6yVTjS1GXC1oshIrMSV0s+Q9+z696rPudOSVJGF4hNNEi 6Tfzk+srN2uhw6WczLrOKbxmox9uYMRROlzqW76c= References: <877csh9fb9.fsf@inria.fr> <87y1kw9ajz.fsf@gnu.org> <87a5xb645t.fsf@pelzflorian.de> <87r0qni2vo.fsf@fsfe.org> User-agent: mu4e 1.10.2; emacs 29.0.91 From: Brian Cully Date: Wed, 07 Jun 2023 18:02:39 -0400 In-reply-to: <87r0qni2vo.fsf@fsfe.org> Message-ID: <87zg5b7wqj.fsf@psyduck.jhoto.kublai.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) 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 (-) Jelle Licht writes: > Thanks for the workaround! Is this "thou shall delete N times,=20 > and > _exactly_ N times" effect of the recently pushed change=20 > functioning as > intended? It imho seems pretty brittle and verbose compared to=20 > how > things were before. We could add a =E2=80=98delete-all=E2=80=99 in addition to the existing =E2= =80=98delete=E2=80=99=20 behavior. Alternately, we could change =E2=80=98delete=E2=80=99 back to del= eting=20 everything and adding =E2=80=98delete-one=E2=80=99. Or have both =E2=80=98d= elete-all=E2=80=99 and=20 =E2=80=98delete-one=E2=80=99 where =E2=80=98delete=E2=80=99 is a deprecated= alias for =E2=80=98delete-all=E2=80=99=20 to add a path forward for older configs. Of the three I'm most partial to the last, though I love none of=20 them. I keep thinking the right solution is to have a delete that=20 can match with a predicate, but then why not just use =E2=80=98filter=E2=80= =99 or=20 =E2=80=98remove=E2=80=99? -bjc From unknown Sun Jun 15 08:59:16 2025 X-Loop: help-debbugs@gnu.org Subject: bug#63921: Activation snippets in reverse order, prevent boot Resent-From: "pelzflorian (Florian Pelz)" Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 07 Jun 2023 23:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63921 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 63921@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Jelle Licht , Brian Cully Received: via spool by 63921-submit@debbugs.gnu.org id=B63921.168617926611117 (code B ref 63921); Wed, 07 Jun 2023 23:08:02 +0000 Received: (at 63921) by debbugs.gnu.org; 7 Jun 2023 23:07:46 +0000 Received: from localhost ([127.0.0.1]:55151 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q72Fl-0002tE-RT for submit@debbugs.gnu.org; Wed, 07 Jun 2023 19:07:46 -0400 Received: from relay.yourmailgateway.de ([185.244.194.184]:51945) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q72Fg-0002t0-9A for 63921@debbugs.gnu.org; Wed, 07 Jun 2023 19:07:44 -0400 Received: from relay01-mors.netcup.net (localhost [127.0.0.1]) by relay01-mors.netcup.net (Postfix) with ESMTPS id 4Qc30B5v8sz8x3K; Thu, 8 Jun 2023 01:07:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pelzflorian.de; s=key2; t=1686179258; bh=4E107C3xyd6XAzZsyepPP3vCYLpuAJ3Df/F6ZXsiGOw=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=fEbKmwUS6XC/G+4EqhzBQaS9HfEnsrBvPjbIg1C1C5a/cmpdIzJke7bJ8Nlwv2HA3 fT4LATZ9V1er2wuZzlkWo4h/NQ03MYix8IrCS6hOmOsIM+Bos15NOuOOG/b1II3/Mz 45JN9BM6q5FfQFGnJ2+OxcXSEqpKitE88d77M6Uk3v+BWK6OzeqMHiQDMKWoohvzZg fFhhHVa2KryOuyWFqPK8Sryx59tLAdMcsCpwkXnyIU6tR048woK841y5ple8wVOJOo ye3ZqZGMy/taPXCLSiVPj1s+4xGKHr6CUoIdFtDhsSzGxq4BuTOPzj+A7DsCWhPklx y8X1dr75iJNig== Received: from policy01-mors.netcup.net (unknown [46.38.225.35]) by relay01-mors.netcup.net (Postfix) with ESMTPS id 4Qc30B5Dmsz7vNM; Thu, 8 Jun 2023 01:07:38 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at policy01-mors.netcup.net X-Spam-Flag: NO X-Spam-Score: -2.9 X-Spam-Level: X-Spam-Status: No, score=-2.9 required=6.31 tests=[ALL_TRUSTED=-1, BAYES_00=-1.9] autolearn=ham autolearn_force=no Received: from mxe217.netcup.net (unknown [10.243.12.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by policy01-mors.netcup.net (Postfix) with ESMTPS id 4Qc30238qPz8scb; Thu, 8 Jun 2023 01:07:30 +0200 (CEST) Received: from florianrock64 (ip92344de0.dynamic.kabel-deutschland.de [146.52.77.224]) by mxe217.netcup.net (Postfix) with ESMTPSA id 04BC68136A; Thu, 8 Jun 2023 01:07:22 +0200 (CEST) From: "pelzflorian (Florian Pelz)" References: <877csh9fb9.fsf@inria.fr> <87y1kw9ajz.fsf@gnu.org> <87a5xb645t.fsf@pelzflorian.de> <87r0qni2vo.fsf@fsfe.org> <87zg5b7wqj.fsf@psyduck.jhoto.kublai.com> Date: Thu, 08 Jun 2023 01:07:21 +0200 In-Reply-To: <87zg5b7wqj.fsf@psyduck.jhoto.kublai.com> (Brian Cully's message of "Wed, 07 Jun 2023 18:02:39 -0400") Message-ID: <87bkhqub12.fsf@pelzflorian.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 04BC68136A X-Spamd-Result: default: False [-5.59 / 15.00]; BAYES_HAM(-5.49)[99.97%]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_THREE(0.00)[4]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_ZERO(0.00)[0]; ASN(0.00)[asn:3209, ipnet:146.52.0.0/16, country:DE]; FROM_HAS_DN(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[] X-Rspamd-Server: rspamd-worker-8404 X-NC-CID: ZufIsvTKG1QGAXy5TaN3WbGVT6kGmetP68A9tU4s/hANsERGFQ0fMI0x X-Spam-Score: -0.0 (/) 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 (-) Jelle is right, multiple (delete mingetty-service-type) is not useful. With more thought, what I imagined as more explicit is probably more like (delete "term-tty2") than (delete mingetty-service-type). Also I wouldn=E2=80=99t actually need it. And as Brian says, just use filter. modify-services need not do more than what is already documented. I would be happy if someone else would undo the change to =E2=80=9Cdelete at most once=E2=80=9D. Regards, Florian From unknown Sun Jun 15 08:59:16 2025 X-Loop: help-debbugs@gnu.org Subject: bug#63921: Activation snippets in reverse order, prevent boot Resent-From: "pelzflorian (Florian Pelz)" Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 17 Jun 2023 14:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63921 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 63921@debbugs.gnu.org Received: via spool by 63921-submit@debbugs.gnu.org id=B63921.168701037515719 (code B ref 63921); Sat, 17 Jun 2023 14:00:02 +0000 Received: (at 63921) by debbugs.gnu.org; 17 Jun 2023 13:59:35 +0000 Received: from localhost ([127.0.0.1]:52189 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qAWSl-00045T-F8 for submit@debbugs.gnu.org; Sat, 17 Jun 2023 09:59:35 -0400 Received: from relay.yourmailgateway.de ([185.244.194.184]:48391) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qAWSh-00045J-Rk for 63921@debbugs.gnu.org; Sat, 17 Jun 2023 09:59:34 -0400 Received: from relay01-mors.netcup.net (localhost [127.0.0.1]) by relay01-mors.netcup.net (Postfix) with ESMTPS id 4QjyM63Yv7z8wqc for <63921@debbugs.gnu.org>; Sat, 17 Jun 2023 15:59:30 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pelzflorian.de; s=key2; t=1687010370; bh=rutz/nGux/odhsHRFVbh6G2RNqCUDl2qi1hml0+Q354=; h=From:To:Subject:References:Date:In-Reply-To:From; b=CWvWzOaJv3+btbcJKKIdGPsovE6uEDQboauT+b8KAmHGLCRKcMQnfh2ypc5kr9EWm 7YGWMmQAXQVWWRy2am1AoWe7O0u81up7yo8mRY6GmSW6k26O4QuCg1Cj92jKiFMqJC shahpC1MWdoC8FrRbzAJgqn8HH4hKrD92pO/7HUNuAi7dC7fNBQ/Z8qnHbq6gcIhlt 2hto87h7sca1gc3hg0fbsF/WHhBzZbo2v8ekcJOHdi8OiQMKYb0cuylp8lmA2z4Nuc HAwbAHn2RNvISpuJe6N4d2PCzXLEBq2KmjXc3wNGF2hnv07O7CxWrDJUnzml2xERaB TWU+1s6o9bdLA== Received: from policy02-mors.netcup.net (unknown [46.38.225.35]) by relay01-mors.netcup.net (Postfix) with ESMTPS id 4QjyM62vPNz7vdt for <63921@debbugs.gnu.org>; Sat, 17 Jun 2023 15:59:30 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at policy02-mors.netcup.net X-Spam-Flag: NO X-Spam-Score: -2.899 X-Spam-Level: X-Spam-Status: No, score=-2.899 required=6.31 tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no Received: from mxe217.netcup.net (unknown [10.243.12.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by policy02-mors.netcup.net (Postfix) with ESMTPS id 4QjyLy4qPnz8sbs for <63921@debbugs.gnu.org>; Sat, 17 Jun 2023 15:59:22 +0200 (CEST) Received: from florianrock64 (ip92344de0.dynamic.kabel-deutschland.de [146.52.77.224]) by mxe217.netcup.net (Postfix) with ESMTPSA id 3F7778053E for <63921@debbugs.gnu.org>; Sat, 17 Jun 2023 15:59:22 +0200 (CEST) From: "pelzflorian (Florian Pelz)" References: <877csh9fb9.fsf@inria.fr> <87y1kw9ajz.fsf@gnu.org> <87a5xb645t.fsf@pelzflorian.de> <87r0qni2vo.fsf@fsfe.org> <87zg5b7wqj.fsf@psyduck.jhoto.kublai.com> <87bkhqub12.fsf@pelzflorian.de> Date: Sat, 17 Jun 2023 15:59:21 +0200 In-Reply-To: <87bkhqub12.fsf@pelzflorian.de> (pelzflorian@pelzflorian.de's message of "Thu, 08 Jun 2023 01:07:21 +0200") Message-ID: <877cs2196u.fsf@pelzflorian.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Queue-Id: 3F7778053E X-Spamd-Result: default: False [-5.60 / 15.00]; BAYES_HAM(-5.50)[99.99%]; MIME_GOOD(-0.10)[text/plain]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:3209, ipnet:146.52.0.0/16, country:DE]; RCVD_COUNT_ZERO(0.00)[0]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ARC_NA(0.00)[] X-Rspamd-Server: rspamd-worker-8404 X-NC-CID: nqNXMiOO0SfF/m6hnisHVFBuxlIp9z5V1bUcdb2TLDjFAwW+GGzCudeL X-Spam-Score: -0.0 (/) 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 (-) David Wilson has described a way to fix this bug in Guix Regards, Florian From unknown Sun Jun 15 08:59:16 2025 X-Loop: help-debbugs@gnu.org Subject: bug#63921: Patch proposed References: <877csh9fb9.fsf@inria.fr> In-Reply-To: <877csh9fb9.fsf@inria.fr> Resent-From: Felix Lechner Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 26 Jun 2023 19:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63921 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 63921@debbugs.gnu.org Received: via spool by 63921-submit@debbugs.gnu.org id=B63921.168780764916570 (code B ref 63921); Mon, 26 Jun 2023 19:28:02 +0000 Received: (at 63921) by debbugs.gnu.org; 26 Jun 2023 19:27:29 +0000 Received: from localhost ([127.0.0.1]:47097 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qDrs1-0004JC-6u for submit@debbugs.gnu.org; Mon, 26 Jun 2023 15:27:29 -0400 Received: from sail-ipv4.us-core.com ([208.82.101.137]:48718) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qDrrz-0004J4-7l for 63921@debbugs.gnu.org; Mon, 26 Jun 2023 15:27:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2017; bh=ffHztc1HZ1XDiO4 tZ9lpyX07+35Dj4NhR/mzQ3OCIow=; h=to:subject:date:from; d=lease-up.com; b=JGs2LqZZ8PFrmM1ml5Q3kddbBcygnTbIOKkl8q1ZY3nK11LSfb4b6L+zNPKrLFnUm+AJ a8XuuQFr9GpMJ8omqnSuFK84nP45UxhE4lT5A+407p2b+ZfWLVZodeAggc74Y75GidSeq8 hvotJLzI4rJdGDlXz2t/jh4clwyZf1/9Y= Received: by sail-ipv4.us-core.com (OpenSMTPD) with ESMTPSA id 4a01b96e (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for <63921@debbugs.gnu.org>; Mon, 26 Jun 2023 19:27:26 +0000 (UTC) Received: by mail-lj1-f176.google.com with SMTP id 38308e7fff4ca-2b6985de215so31145711fa.2 for <63921@debbugs.gnu.org>; Mon, 26 Jun 2023 12:27:25 -0700 (PDT) X-Gm-Message-State: AC+VfDzAEhc5tYIqkLJDuGuqcIi4NZFC7nfewWw9Zyoaz168u+5fBA9/ qYLaOD+QqxixTPdPH5HOOPhpUPLk6YOkd9cis5o= X-Google-Smtp-Source: ACHHUZ5hiswCkBeUtMqWnAIJklA41SEnZUc0SvMymis3ICY+pJHEP40yjL08w2ppHag/zzzqZBKkzioVnjZh8OguVC8= X-Received: by 2002:a05:6512:3b08:b0:4f8:6ff9:ec53 with SMTP id f8-20020a0565123b0800b004f86ff9ec53mr11249958lfv.34.1687807643949; Mon, 26 Jun 2023 12:27:23 -0700 (PDT) MIME-Version: 1.0 From: Felix Lechner Date: Mon, 26 Jun 2023 12:26:47 -0700 X-Gmail-Original-Message-ID: Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) 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 (-) Hi, A patch to resolve this issue was proposed at the other bug https://issues.guix.gnu.org/64106#5 Kind regards Felix From unknown Sun Jun 15 08:59:16 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#63921: closed (Re: bug#63921: Activation snippets in reverse order, prevent boot) Message-ID: References: <878r9q5dah.fsf_-_@gmail.com> <877csh9fb9.fsf@inria.fr> X-Gnu-PR-Message: they-closed 63921 X-Gnu-PR-Package: guix Reply-To: 63921@debbugs.gnu.org Date: Fri, 01 Sep 2023 11:45:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1693568702-23192-1" This is a multi-part message in MIME format... ------------=_1693568702-23192-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #63921: Activation snippets in reverse order, prevent boot which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 63921@debbugs.gnu.org. --=20 63921: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D63921 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1693568702-23192-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 63921-done) by debbugs.gnu.org; 1 Sep 2023 11:44:11 +0000 Received: from localhost ([127.0.0.1]:59962 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qc2ZO-00060u-Ms for submit@debbugs.gnu.org; Fri, 01 Sep 2023 07:44:11 -0400 Received: from mail-qk1-x736.google.com ([2607:f8b0:4864:20::736]:48245) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qc2ZM-00060g-EX for 63921-done@debbugs.gnu.org; Fri, 01 Sep 2023 07:44:09 -0400 Received: by mail-qk1-x736.google.com with SMTP id af79cd13be357-76dbe1866ecso112232585a.0 for <63921-done@debbugs.gnu.org>; Fri, 01 Sep 2023 04:43:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693568633; x=1694173433; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=i9ApLQ7Kaklzhvt3909P+gZufrqfC/G/943aKAESIbk=; b=QTC558hQr3sW3Cibs5lJmLfgXY/4Cp7eX3pvFxEjQLJ4fzihxOk2Vl8QPl08yNgs6/ QS0lfxbQAdw3qrpQ22y3bHAmkTs6PKRUPvI+6JPSwVTzMLK53zXiie5OID6VGD1IeueL Ba4LeLAdqOQ7SF5JgPztQfW2UYknfSr5VfccyWhrBIRAb5F1EdRP639hSmel0ZlOj0ww M+gSA3UfX8TGLvYuCmbn0g+Y8P9BTlDC+Dlb2uz8aIJ6jyd0V55uwwRQ5I2m9lcAFTbI KvFfyebcFKbSI5QkovDCjc5xTydDMav7LT9Z7t2e60oh9O7zYvscB4aYPiQRIE31g6p/ wM+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693568633; x=1694173433; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=i9ApLQ7Kaklzhvt3909P+gZufrqfC/G/943aKAESIbk=; b=Li/ypGYj/QV3QhHqC1Zkbfi6Hfnb1JZ6fbvqRFbgVRGPsfJAo8cKhjOVvFPHzM3PkN xAlzOvCocb/ZhYj2E67rJDjzzaHqdgKh0qmrOTx/YW0pa4o/ELILaBRn7WCTDTsOJshu 60k4V66DwH8pS8njQ1b2lkT+5jcSoWlxtoXGvbS3u4yUM2ypJcbvcT0Rlm6SBTEYVttf KBIOVSjLFTtN+CI/IGhCaoeZSW9Cp6aN/2+rl7YPbDlDoR64obcAiQFu9/FgjMcOy6yo cAox4RzR23Rp7IKYf8cYHvo0DMMqqLPIeZCHm91+eWBGbCGpA/mz2DUWnhnyIl8MRQvI UALw== X-Gm-Message-State: AOJu0YyVnmxdZiuYR+1AMkdouo2aWTeOwd1xywLf4SKw/H25EaiUKseN CbUShJM9T8ppu/d3muST3TU4eQHri8A= X-Google-Smtp-Source: AGHT+IFTErBh+2OLJr1lXEEdyayvO0scSgBSPE/5kEMddN0wtvucUrudYdDWNMJ+UWZykHix+1ZZvw== X-Received: by 2002:a05:620a:370d:b0:76f:260d:3727 with SMTP id de13-20020a05620a370d00b0076f260d3727mr2405909qkb.8.1693568633230; Fri, 01 Sep 2023 04:43:53 -0700 (PDT) Received: from hurd (dsl-154-228.b2b2c.ca. [66.158.154.228]) by smtp.gmail.com with ESMTPSA id q13-20020ae9e40d000000b0076f319acaedsm1333172qkc.48.2023.09.01.04.43.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Sep 2023 04:43:52 -0700 (PDT) From: Maxim Cournoyer To: Felix Lechner Subject: Re: bug#63921: Activation snippets in reverse order, prevent boot References: <877csh9fb9.fsf@inria.fr> Date: Fri, 01 Sep 2023 07:43:50 -0400 In-Reply-To: (Felix Lechner's message of "Mon, 26 Jun 2023 12:26:47 -0700") Message-ID: <878r9q5dah.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 63921-done Cc: 63921-done@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 (-) Hello, Felix Lechner writes: > Hi, > > A patch to resolve this issue was proposed at the other bug > > https://issues.guix.gnu.org/64106#5 Brian's patch in https://issues.guix.gnu.org/64106#7 was installed; it came with tests and also cause an error to be raised when attempting to modify a phase already deleted. Closing, thanks for the reminder. -- Thanks, Maxim ------------=_1693568702-23192-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 6 Jun 2023 08:16:04 +0000 Received: from localhost ([127.0.0.1]:50862 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q6RrI-0004tU-Ay for submit@debbugs.gnu.org; Tue, 06 Jun 2023 04:16:04 -0400 Received: from lists.gnu.org ([209.51.188.17]:47892) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q6RrG-0004tK-Hv for submit@debbugs.gnu.org; Tue, 06 Jun 2023 04:16:03 -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 ) id 1q6RrF-0000nn-UE for bug-guix@gnu.org; Tue, 06 Jun 2023 04:16:02 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q6RrB-0000Pd-GG for bug-guix@gnu.org; Tue, 06 Jun 2023 04:16:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=yDXkVQ82eS92DP7vu8VjljsYKh2bV/WZ1NgDxJu5YCk=; b=k9OvqVk5lZLo+g tYgeW/iWYK1x2CCdaOyBL1Yln1FwKTzmdpdKCNwy3G9InoxQsRJSVNViyHt9QFMUReZTydauU5Rix dXw9z+9V3aXoIK8SsTwarRy43bcomFJTbPbkUzPla7XvL0+GodIYqjGJlR9baootnsRq17IrxcXR2 areSKbehXSVek7UMNjaNfTvEKHdZJX0WmfkLOYBw+9Pr6NKQm18sDMs6exLF1YkCu1iLh9pQWgc2G ijkRMgZr/9vDCqGrYDj5vxHdLKmPYVJncUW1aY2HDJ/xqLXfHti0LH5HA9TVc7ywZuLqyfYP1kLEt qjbn6pdL8VdI9E/vMTVg==; Received: from [193.50.110.155] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q6RrA-0006QX-W6 for bug-guix@gnu.org; Tue, 06 Jun 2023 04:15:57 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: bug-guix@gnu.org Subject: Activation snippets in reverse order, prevent boot X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Octidi 18 Prairial an 231 de la =?utf-8?Q?R=C3=A9vol?= =?utf-8?Q?ution=2C?= jour du Pavot 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: Tue, 06 Jun 2023 10:15:54 +0200 Message-ID: <877csh9fb9.fsf@inria.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (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: 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 (---) Booting a system reconfigured from eed55a6544d5bda2245ec853e5fa4b28e1865bea fails with shepherd saying: error: while opening socket '/var/run/shepherd/socket': Address already i= n use The root cause appears to be that the =E2=80=98boot=E2=80=99 program has ex= pressions reversed: --8<---------------cut here---------------start------------->8--- $ guix gc --references $(guix gc --derivers $(readlink -f /var/guix/profile= s/system-236-link)) | grep boot /gnu/store/21ldhyrpji6lkkdxi4lgr5k9l5fr2b7l-boot.drv $ cat $(guix build /gnu/store/21ldhyrpji6lkkdxi4lgr5k9l5fr2b7l-boot.drv) (eval-when (expand load eval) (let ((extensions (quote ())) (prepend (lambd= a (items lst) (let loop ((items items) (lst lst)) (if (null? items) lst (lo= op (cdr items) (cons (car items) (delete (car items) lst)))))))) (set! %loa= d-path (prepend (cons "/gnu/store/pj751v3199vmv6i6sf0szp185ryzcfdg-module-i= mport" (map (lambda (extension) (string-append extension "/share/guile/site= /" (effective-version))) extensions)) %load-path)) (set! %load-compiled-pat= h (prepend (cons "/gnu/store/pql80c2hy38bb60c68sng74s4xa35vwk-module-import= -compiled" (map (lambda (extension) (string-append extension "/lib/guile/" = (effective-version) "/site-ccache")) extensions)) %load-compiled-path))))(b= egin (begin (false-if-exception (delete-file "/run/booted-system")) (symlin= k (canonicalize-path "/run/current-system") "/run/booted-system") (let loop= ((fd 3)) (when (< fd 1024) (false-if-exception (let ((flags (fcntl fd F_GE= TFD))) (when (zero? (logand flags FD_CLOEXEC)) (fcntl fd F_SETFD (logior FD= _CLOEXEC flags))))) (loop (+ fd 1)))) (execl "/gnu/store/wj5i6x3xgai7p8whwq= ybxwqdjdbmbzha-shepherd-0.10.99-git/bin/shepherd" "shepherd" "--config" "/g= nu/store/gnjghlc3n5qbala5jfdslgfi0n3vy8v7-shepherd.conf")) (primitive-load = "/gnu/store/riabgidmf6fh76klc1yam7k9j1478vvw-activate.scm") (begin (use-mod= ules (guix build utils)) (letrec-syntax ((fail-safe (syntax-rules () ((_ ex= p rest ...) (begin (catch (quote system-error) (lambda () exp) (const #f)) = (fail-safe rest ...))) ((_) #t)))) (fail-safe (delete-file "/etc/group.lock= ") (delete-file "/etc/passwd.lock") (delete-file "/etc/.pwd.lock") (setenv = "GUIX_LOCPATH" "/gnu/store/5fmqijrs5f7vx8mc2q2pmq26yvhb74sm-glibc-utf8-loca= les-2.35/lib/locale") (setlocale LC_CTYPE "en_US.utf8") (delete-file-recurs= ively "/tmp") (delete-file-recursively "/var/run") (mkdir "/tmp") (chmod "/= tmp" 1023) (mkdir "/var/run") (chmod "/var/run" 493) (delete-file-recursive= ly "/run/udev/watch.old"))))) --8<---------------cut here---------------end--------------->8--- Namely, (execl "=E2=80=A6/bin/shepherd") comes before the cleanup expressio= ns, which is why /var/run/shepherd/socket is still around when we boot. Ludo=E2=80=99. ------------=_1693568702-23192-1--