GNU logs - #76315, boring messages


Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#76315: System does not boot after switching to system-log service
Resent-From: Tomas Volf <~@wolfsden.cz>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Sun, 16 Feb 2025 00:43:01 +0000
Resent-Message-ID: <handler.76315.B.173966652517396 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 76315
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 76315 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-guix@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.173966652517396
          (code B ref -1); Sun, 16 Feb 2025 00:43:01 +0000
Received: (at submit) by debbugs.gnu.org; 16 Feb 2025 00:42:05 +0000
Received: from localhost ([127.0.0.1]:58979 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tjSjU-0004WV-Ke
	for submit <at> debbugs.gnu.org; Sat, 15 Feb 2025 19:42:04 -0500
Received: from lists.gnu.org ([2001:470:142::17]:46844)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <~@wolfsden.cz>) id 1tjSjS-0004Vx-3L
 for submit <at> debbugs.gnu.org; Sat, 15 Feb 2025 19:42:02 -0500
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 <~@wolfsden.cz>) id 1tjSjM-0007bq-5a
 for bug-guix@HIDDEN; Sat, 15 Feb 2025 19:41:56 -0500
Received: from wolfsden.cz ([37.205.8.62])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <~@wolfsden.cz>) id 1tjSjJ-0003Sb-T8
 for bug-guix@HIDDEN; Sat, 15 Feb 2025 19:41:55 -0500
Received: by wolfsden.cz (Postfix, from userid 104)
 id 949BC37B9CA; Sun, 16 Feb 2025 00:41:51 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail;
 t=1739666511; bh=+L/xyVwqCUDo9RWXU8ut4pGpSqBk9yNYwq/bagPVtCI=;
 h=From:To:Subject:Date;
 b=QXX8gtTpqOHJN3JtIJ3hRAsrZUET2ylgb2zN6R6YKmGeKYN2oiIGxOegekbJ8MM9E
 HUu+eaA2CTM93CjOiEkw99b95zSfQ6fSnAvXk9bVfvXncVtrqt3KSXzXo3TcqaDNEd
 wspLjJQuuVLk10VAn5tkg9H22pjGWaMUgj8zDBdU5GQTuNdVp6ujbgGMH02+M0jcaY
 l7jfQepmiAtA/D/qGLU0MrcWId7WHxlxalbwzGBdjsV5B4essApbI+949ywBy5ewT5
 yBqxrOVMgPOR/gM5Yfw4hyBLy0UZjr+yEhlk6OT50DfbxPy/e+nGkqjTMSO52jNSC/
 M7PIW0d9YcpD0LVDVqaZQFjWYzW8q8CEz61geSjDD4dYMuq2TjCgI3vMRqVosGoVWR
 yZaZqmM/FuyD8rBl8MSYh+t/pf8MOIhad/Yg0plKIGlGnjfifZkMKZbwY6Ue5CyTcO
 nElL/ZWlgidQEYVP4CGXfPrUr6KClxO6q9Gv4NR4PPWBMdZOoBmXg7ioL752KjjN9A
 Yd7z/smo3bSiJdHu5U9TDGWvn0K+6ctn9fXKb3smTI1x7A4JEyx2pzaId19hF87LHf
 3Ri7HbHqhaV+fESJfYTNzGxAwCbbX+ZWpOOSzIO5FNkegFnhC/WvkN6FYsmuRPL3OZ
 vQaEgCWFTM8buvDxTXZU3we4=
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on wolfsden
X-Spam-Level: 
X-Spam-Status: No, score=-3.1 required=5.0 tests=ALL_TRUSTED,BAYES_00,
 DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,URIBL_BLOCKED
 autolearn=ham autolearn_force=no version=3.4.6
Received: from localhost (unknown [128.0.188.242])
 by wolfsden.cz (Postfix) with ESMTPSA id 4BE4537C24C
 for <bug-guix@HIDDEN>; Sun, 16 Feb 2025 00:41:51 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail;
 t=1739666511; bh=+L/xyVwqCUDo9RWXU8ut4pGpSqBk9yNYwq/bagPVtCI=;
 h=From:To:Subject:Date;
 b=QXX8gtTpqOHJN3JtIJ3hRAsrZUET2ylgb2zN6R6YKmGeKYN2oiIGxOegekbJ8MM9E
 HUu+eaA2CTM93CjOiEkw99b95zSfQ6fSnAvXk9bVfvXncVtrqt3KSXzXo3TcqaDNEd
 wspLjJQuuVLk10VAn5tkg9H22pjGWaMUgj8zDBdU5GQTuNdVp6ujbgGMH02+M0jcaY
 l7jfQepmiAtA/D/qGLU0MrcWId7WHxlxalbwzGBdjsV5B4essApbI+949ywBy5ewT5
 yBqxrOVMgPOR/gM5Yfw4hyBLy0UZjr+yEhlk6OT50DfbxPy/e+nGkqjTMSO52jNSC/
 M7PIW0d9YcpD0LVDVqaZQFjWYzW8q8CEz61geSjDD4dYMuq2TjCgI3vMRqVosGoVWR
 yZaZqmM/FuyD8rBl8MSYh+t/pf8MOIhad/Yg0plKIGlGnjfifZkMKZbwY6Ue5CyTcO
 nElL/ZWlgidQEYVP4CGXfPrUr6KClxO6q9Gv4NR4PPWBMdZOoBmXg7ioL752KjjN9A
 Yd7z/smo3bSiJdHu5U9TDGWvn0K+6ctn9fXKb3smTI1x7A4JEyx2pzaId19hF87LHf
 3Ri7HbHqhaV+fESJfYTNzGxAwCbbX+ZWpOOSzIO5FNkegFnhC/WvkN6FYsmuRPL3OZ
 vQaEgCWFTM8buvDxTXZU3we4=
From: Tomas Volf <~@wolfsden.cz>
Date: Sun, 16 Feb 2025 01:41:50 +0100
Message-ID: <87bjv267qp.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
Received-SPF: pass client-ip=37.205.8.62; envelope-from=~@wolfsden.cz;
 helo=wolfsden.cz
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 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_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001,
 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 (/)

--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable


Hello,

after pulling recent Guix, I got this error during guix deploy:

=2D-8<---------------cut here---------------start------------->8---
guix deploy: warning: an error occurred while upgrading services on '127.0.=
0.1':
%exception #<inferior-object #<&service-not-found-error service: system-log=
>>=20
=2D-8<---------------cut here---------------end--------------->8---

After rebooting, the system got stack during startup.  No error message
was visible, it was just hanging.

Booting to previous generation did work.

Tomas

=2D-=20
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQJCBAEBCgAsFiEEt4NJs4wUfTYpiGikL7/ufbZ/wakFAmexNE4OHH5Ad29sZnNk
ZW4uY3oACgkQL7/ufbZ/wakRiRAAkIVjtVSw29+uookSionDDutoWp6FLvD9s7nx
KNMMabojck/tUGY01gYtP7+5IYChCjlwculCk1CyOY45h750pWP+jXArgnGVRJbl
dNyYw66RH+DYg9lriQqxzuuUk+jCMFNnfbZ/34EdWgxU7U5L3ecrkh1Trx16S1hl
TJxBvGyriL9rvlrUGjBnDJ3qsftb2NN4WXH8lTQ6Ebe2tBXjXeglLC+zX08cirRq
WRuoD7tFPJ+UnoG+WrfV10bDcM91MDLFyBtB7BMfJw8ciCaLSB5AbFY0UwmbyVWL
xevbpNiFlBAnRlxaeM1j5wEz+9Qe8AIluVwLapTyr0orN71dttUtHoOK3kMqEyjp
iozkbKlFj1utf/LO4y7MVOslPCe7XoQLUptYCWss7Vsr6KMabmItfuVVtMKRnvHu
yuFKuKwRmEcUthdJ0eDJ0NkP7U94ykuBKzuIhIJBaLYSTBsEea7UHwYgNslhnaIL
qHqrsJ1+AeYfRfwQHgPhoQdA5jd/khi0WpoqveEVZpM+ie0kBx6DT2uKcNNfkqld
rwnIofnA7tJsdZaVULpAdLoDRl2fFSzkrsUITvdLI1RDDXrNHtyg8iWFNEMxKw0b
QCjlHpeGeyCF7iIKXEuadi+X+deh5YorUFfJWbALMKGaTtKx7llv5UsimhsFbvEe
wRs35XQ=
=PTmg
-----END PGP SIGNATURE-----
--=-=-=--




Message sent:


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: Tomas Volf <~@wolfsden.cz>
Subject: bug#76315: Acknowledgement (System does not boot after switching
 to system-log service)
Message-ID: <handler.76315.B.173966652517396.ack <at> debbugs.gnu.org>
References: <87bjv267qp.fsf@HIDDEN>
X-Gnu-PR-Message: ack 76315
X-Gnu-PR-Package: guix
Reply-To: 76315 <at> debbugs.gnu.org
Date: Sun, 16 Feb 2025 00:43: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 76315 <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
76315: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D76315
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#76315: System does not boot after switching to system-log service
Resent-From: Tomas Volf <~@wolfsden.cz>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Sun, 16 Feb 2025 14:24:02 +0000
Resent-Message-ID: <handler.76315.B76315.17397157993025 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 76315
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 76315 <at> debbugs.gnu.org
Received: via spool by 76315-submit <at> debbugs.gnu.org id=B76315.17397157993025
          (code B ref 76315); Sun, 16 Feb 2025 14:24:02 +0000
Received: (at 76315) by debbugs.gnu.org; 16 Feb 2025 14:23:19 +0000
Received: from localhost ([127.0.0.1]:32993 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tjfYE-0000mi-Vp
	for submit <at> debbugs.gnu.org; Sun, 16 Feb 2025 09:23:19 -0500
Received: from wolfsden.cz ([37.205.8.62]:53016)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <~@wolfsden.cz>) id 1tjfYC-0000mY-6D
 for 76315 <at> debbugs.gnu.org; Sun, 16 Feb 2025 09:23:17 -0500
Received: by wolfsden.cz (Postfix, from userid 104)
 id 3940B37F48F; Sun, 16 Feb 2025 14:23:14 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail;
 t=1739715794; bh=F9gqfW8ZGz0Xfz7YFMkDaE2u+99Qlbd4NJ/zx+f+xEE=;
 h=From:To:Subject:In-Reply-To:References:Date;
 b=r31+9wLuxF8qZDgRdpH0xiK+FmLoqQtVpInHcuic5QVd9lQhAjdcG1Gjt3WgJd3HU
 6MJYqwsrvTqssTwap61YgrNGQbDUr1uWB08qjmneo7QJOEz4kkz68ltZhlOlEoOctn
 0Ge+k4y+SuhDdYaeqRJy0rt2x+CPlnuUUXWQSYo1UnY2boTfPg3q7mmyZCSsofyFf0
 XKf1JcRcHmcWMHkLZP6wl7dqysbRBUaBAHQPvAYkh6KgCIMXkPFIB8zdCEpvLxCKfu
 w/1M9LNdsXY40lsC88x8vIOFHud6oKdti/z4nMfuqHfrF4zNqGqZdiHK0vRDl32WCp
 S9XgIcPz5VpDmQtH2gZTjryaGOUcUoKwX7JXYTVWo6FIKMimb17Tlcr/pbdmj8pw9i
 3fcy5+0z5zOaME95MmWtCYJQ3z0T4p+csr3HPIw1rnKyIGpwzR1pAOP8KnB7Yx9Cul
 twkHT9VdaJMKZxC8eExGEYilIpyL2D7jJ9+tEH68KRtrFoW9ITCFSjawGuIPHw1LLN
 cfeAtTd9nxTMqqe3h/bH8Ge/wTp7FF8wWUKzy+cNdKVjlHOpD619n9L3cIwwYFwkB7
 H4jB+KiW8QXn+l+LuBnbRWi3FgZ1+LlOUflnPGzgzyuc6Z1D69JKqGrqKHuw5tmpBy
 tf2N5BDq+Fk1a6bEazVRRv+c=
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on wolfsden
X-Spam-Level: 
X-Spam-Status: No, score=-3.1 required=5.0 tests=ALL_TRUSTED,BAYES_00,
 DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,URIBL_BLOCKED
 autolearn=ham autolearn_force=no version=3.4.6
Received: from localhost (unknown [128.0.188.242])
 by wolfsden.cz (Postfix) with ESMTPSA id 5DB8637F09E
 for <76315 <at> debbugs.gnu.org>; Sun, 16 Feb 2025 14:23:13 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail;
 t=1739715793; bh=F9gqfW8ZGz0Xfz7YFMkDaE2u+99Qlbd4NJ/zx+f+xEE=;
 h=From:To:Subject:In-Reply-To:References:Date;
 b=KxYq6PeOZrPfdNc/j8VcNF0N730rNtYydVh/8kPq6eIwzRbShoV29Hbyn29equGgm
 AixRgmmrp+5S6NIOHuus1pkaKhNhJ5HKqAc5i+YsdBNuJXIxjU9mT+aYLK69FUJQu8
 krgj8hp9PA9f7ZPIKpHDKDj4ILW9EMIdzQ6ue2bEfG9BVlUHu3FsrbTPza8ueCj7Du
 7E5b7TSw7bPuwKHVjyxHX2KyF1ebJxiK42R9ksQ+OcTC1gu6skZ6lLqtAzrRGP5e8U
 g3HgrMMCyGlonPmVgV8oXaDCLilzWqM4frCRjpNQjWOwFH3KEs8TNZCfr8kAhKy73q
 zjOWjvihfsQWz0E6/KkUxYpqQVWUnSlLXMN2XWZF5F+2r26l7Mv3G3hNAgysWK5msb
 Q2qN/BIxgk/7JxdBdhvCSbBqyfhPTlpajYvMH/yCMYJOpGiE43dSk2b32PpmuIukbv
 BpldjzNOM8rgUosWFmmDcgMkNDvdVzBhH/uMSnu5af8n/sDb45XTc5FgSZOmuMu0hr
 pS4jm/yOGEZ6lvMyIOpejcADCqTFaVIWU6B3AebV2XiMkwRMHEGfeSaGZPxT3VYUrc
 IWTjL2hkvzjb22nKQnBBnlKGm24hrs2o5ZAKteHg/Pdhv7aCTfMdO0vWCVqELJEV6N
 AEdQ7pykaeSGp50meHjgdWVg=
From: Tomas Volf <~@wolfsden.cz>
In-Reply-To: <87bjv267qp.fsf@HIDDEN> (Tomas Volf's message of "Sun, 16
 Feb 2025 01:41:50 +0100")
References: <87bjv267qp.fsf@HIDDEN>
Date: Sun, 16 Feb 2025 15:23:12 +0100
Message-ID: <87a5am3r5b.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="==-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-Spam-Score: 0.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: -1.0 (-)

--==-=-=
Content-Type: multipart/mixed; boundary="=-=-="

--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable


I have put together a reproducer in a VM:

1. Install Guix system using 1.4.0 installer
  --> Include sshd, openbox

2. Reboot
3. Copy the /run/current-system/configuration.scm out of the VM
4. Adjust the configuration.scm (full file attached)
4.1 Allow NOPASSWD sudo
  (sudoers-file
   (plain-file "sudoers"
               (string-append (plain-file-content %sudoers-specification)
                              (format #f "x ALL =3D NOPASSWD: ALL~%"))))
4.2 Use %base-services, delete set-xorg-configuration service
4.3 Add dhcp-client-service-type service.
4.4 Authorize your key
  (simple-service
   'extra-authorized-keys guix-service-type
   (guix-extension
    (authorized-keys (list
                      (local-file "/etc/guix/signing-key.pub")))))

5. Manually tweak /etc/sudoers to support NOPASSWD for user x
6. Create machine configuration (full file attached)

7. Guix deploy the machine using b99df83c591104655a6b387817d8f7bb3c50204c
8. Reboot

9. Guix deploy the machine using 1afbf48b250f667ce45de40a6c275e3e42ade67c
  --> See the following error:
=20=20
=2D-8<---------------cut here---------------start------------->8---
building path(s) `/gnu/store/zdknxv3knkkxx52nwfbz120p32z4j2aa-upgrade-sheph=
erd-services.scm'
building path(s) `/gnu/store/x7bzglpc0vvr5ak24k3i33ikq5ph8sfx-remote-exp.sc=
m'
guix deploy: warning: an error occurred while upgrading services on 'localh=
ost':
%exception #<inferior-object #<&service-not-found-error service: system-log=
>>=20
=2D-8<---------------cut here---------------end--------------->8---

A. Reboot
  --> The system does not come up (I gave it ~10 minutes).


--=-=-=
Content-Type: text/x-scheme
Content-Disposition: inline; filename=config.scm
Content-Description: operating-system configuration

;; This is an operating system configuration generated
;; by the graphical installer.
;;
;; Once installation is complete, you can learn and modify
;; this file to tweak the system configuration, and pass it
;; to the 'guix system reconfigure' command to effect your
;; changes.


;; Indicate which modules to import to access the variables
;; used in this configuration.
(use-modules (gnu))
(use-service-modules cups desktop networking ssh xorg)

(operating-system
  (locale "en_US.utf8")
  (timezone "Europe/Prague")
  (keyboard-layout (keyboard-layout "us"))
  (host-name "x")

  ;; The list of user accounts ('root' is implicit).
  (users (cons* (user-account
                 (name "x")
                 (comment "X")
                 (group "users")
                 (home-directory "/home/x")
                 (supplementary-groups '("wheel" "netdev" "audio" "video")))
                %base-user-accounts))

  ;; Packages installed system-wide.  Users can also install packages
  ;; under their own account: use 'guix search KEYWORD' to search
  ;; for packages and 'guix install PACKAGE' to install a package.
  (packages (append (list (specification->package "openbox")
                          (specification->package "nss-certs"))
                    %base-packages))

  (sudoers-file
   (plain-file "sudoers"
               (string-append (plain-file-content %sudoers-specification)
                              (format #f "x ALL = NOPASSWD: ALL~%"))))

  ;; Below is the list of system services.  To search for available
  ;; services, run 'guix system search KEYWORD' in a terminal.
  (services
   (append (list
            (service dhcp-client-service-type)
            ;; To configure OpenSSH, pass an 'openssh-configuration'
            ;; record as a second argument to 'service' below.
            (service openssh-service-type)

            (simple-service
             'extra-authorized-keys guix-service-type
             (guix-extension
              (authorized-keys (list
                                (local-file "/etc/guix/signing-key.pub"))))))

           ;; This is the default list of services we
           ;; are appending to.
           %base-services))
  (bootloader (bootloader-configuration
               (bootloader grub-efi-bootloader)
               (targets (list "/boot/efi"))
               (keyboard-layout keyboard-layout)))
  (swap-devices (list (swap-space
                        (target (uuid
                                 "aa8dee07-5bf4-4ad2-8db7-8ee6139d6fc5")))))

  ;; The list of file systems that get "mounted".  The unique
  ;; file system identifiers there ("UUIDs") can be obtained
  ;; by running 'blkid' in a terminal.
  (file-systems (cons* (file-system
                         (mount-point "/boot/efi")
                         (device (uuid "79EB-4D57"
                                       'fat32))
                         (type "vfat"))
                       (file-system
                         (mount-point "/")
                         (device (uuid
                                  "11d0a98d-7200-4a9b-ae0a-0cb4db3e808d"
                                  'ext4))
                         (type "ext4")) %base-file-systems)))

--=-=-=
Content-Type: text/x-scheme
Content-Disposition: inline; filename=machine.scm
Content-Description: machine configuration

(use-modules (gnu))

(use-service-modules networking ssh)
(use-package-modules bootloaders)

(list (machine
       (operating-system (primitive-load "config.scm"))
       (environment managed-host-environment-type)
       (configuration (machine-ssh-configuration
                       (build-locally? #f)
                       (host-name "localhost")
                       (system "x86_64-linux")
                       (user "x")
                       (port 8888)))))

--=-=-=--

--==-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQJCBAEBCgAsFiEEt4NJs4wUfTYpiGikL7/ufbZ/wakFAmex9NAOHH5Ad29sZnNk
ZW4uY3oACgkQL7/ufbZ/wamL4Q/9E8J3TMhoS0VZ/s5nJGh53pbbfJEOTYxwLFSl
fL7Nc14z4k6VLOqR7Rj5N8SUsv35z3aK+7fr68Sxdqz7FKw4qriT7slMISNIBXHi
NAp3Ob73HEeC+jB4sfJjox13girJpjo3lGitYldokWHEwdEK5Puh8GSMk3wJee1D
NpFjJO7ttdykNJuulGlDfSxyyiNtdT1OnHNq5JAuGfITXt8hAYDpd0UBsV6fWOxj
oMYetqp6QSpb4lGZgOhTslpACZygBr6jZZ571dxqre4KFc68fh79F3ae3Zw+xFS5
ddcfFRjq8XkzGBV2TMsMejBVwG+zc66hAMU8eIly48vbARQcuhCOVacEA96QiVYM
nd64HagbAayfe2YQ3FhUCTElxosdafwLXrJsHMriMuEwczlfiaiTGMrUtWyz3E43
htUkW9DZ/vztEGLPCWbmHIpre2vRGPhaULSwfD1vMz0iIQKEOeWW0BBMoZ3IGGBC
yElsY4LrwxgSk20SE2BuNj46Wp66zq1niaMmW7sZhQd0QP7l6raGUaCndvs14Bht
u6je4iY/PhMbqN1ggix+sLkmFMH5iEwNQoEeoajO89aH4mDMsF0I1pIbcr3VHWaX
XfoEC9TeRYU2bClcDXHePttOjTjBaz5c9xmpIb8MizbIZADCxundwjnHr6AbouU6
TlVwodE=
=ZHMd
-----END PGP SIGNATURE-----
--==-=-=--




Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 16 Feb 2025 17:46:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 16 12:46:26 2025
Received: from localhost ([127.0.0.1]:36973 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tjiio-0007Bw-Jm
	for submit <at> debbugs.gnu.org; Sun, 16 Feb 2025 12:46:26 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:55102)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1tjiil-0007BA-Uh
 for control <at> debbugs.gnu.org; Sun, 16 Feb 2025 12:46:24 -0500
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 <ludo@HIDDEN>) id 1tjiig-0000TB-FW
 for control <at> debbugs.gnu.org; Sun, 16 Feb 2025 12:46:18 -0500
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=mnBm085sDerWv/aMUwywk+gdlFTeiCnX+eLgUjCE5oU=; b=jMYhMOXuTkiosG
 8kohsboz786C+lOEfOA563iVA/IHUSF1CEIAK7Zu+Kqd6gk4WK6Glh+bp5Z0fcMJF44fG+rICmv98
 VIot2fD8klc54Mz9bOn28aizlfRLF7JRRixbeXV0DhURK6apwQBG6jH0o6EyqI1dQR7NYBAZ8esTp
 9J5pCEm04HraBoyvNrazaZrZ8Ju5xbuq2ryfI58vQSKp4bxti9wa/qJPumDB75rXLARE9OmHuG7oD
 04Rajl7oNydCkAyh8Tft1VEBx6hgfUpKOl3rYRhgfibqa12D7IgWuX98NWiMb1H+5uQBHeBuq3SHC
 n9YLH7R6slhMPwAMpQqA==;
Date: Sun, 16 Feb 2025 18:46:15 +0100
Message-Id: <87zfilok9k.fsf@HIDDEN>
To: control <at> debbugs.gnu.org
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
Subject: control message for bug #76315
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 <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: -3.3 (---)

severity 76315 important
quit





Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#76315: System does not boot after switching to system-log service
Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Sun, 16 Feb 2025 21:31:01 +0000
Resent-Message-ID: <handler.76315.B76315.173974143110256 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 76315
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Tomas Volf <~@wolfsden.cz>
Cc: 76315 <at> debbugs.gnu.org
Received: via spool by 76315-submit <at> debbugs.gnu.org id=B76315.173974143110256
          (code B ref 76315); Sun, 16 Feb 2025 21:31:01 +0000
Received: (at 76315) by debbugs.gnu.org; 16 Feb 2025 21:30:31 +0000
Received: from localhost ([127.0.0.1]:38256 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tjmDe-0002fJ-Jh
	for submit <at> debbugs.gnu.org; Sun, 16 Feb 2025 16:30:30 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:52582)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1tjmDc-0002ep-3y
 for 76315 <at> debbugs.gnu.org; Sun, 16 Feb 2025 16:30:29 -0500
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 <ludo@HIDDEN>)
 id 1tjmDW-0002QY-Fv; Sun, 16 Feb 2025 16:30:22 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To:
 From; bh=l6JcC2hKThnmodxFdA/vRY8WBTf16DQHwDS+FnU8fTU=; b=hjW97Iz12UzN/M/H8ciJ
 kWXUY+xBEKOwjEn1hrnrVNcoPkeiL3GKqoy4Z38hbh6QMqAXcxKMDs7WlA/E++4Qi6Lu9BpGdvttg
 m/BfRcyQOJ3cjdYouarwaM8xY+4c+bCE0OEWn1W5Px3XJuLyFM+pQrSYirr5Em4BU0mbQy0Hw/uPW
 ciXLetc6jgyol4818ejjHn71NLMmNWfQHsaqM0HO8e/Nn83hxqWQcNVk8CXmxhEBfd82t6P/jJOHX
 gI4MigZXy+5Hudsfy9IJN6k080bMMqhcOiHNJyPh3AOZaAzKAU/tcW5OFGlf0lS1LDHWg284g/CaZ
 Ldy4SYZpgtgeeg==;
From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
In-Reply-To: <87a5am3r5b.fsf@HIDDEN> (Tomas Volf's message of "Sun, 16
 Feb 2025 15:23:12 +0100")
References: <87bjv267qp.fsf@HIDDEN> <87a5am3r5b.fsf@HIDDEN>
Date: Sun, 16 Feb 2025 22:30:18 +0100
Message-ID: <87seodo9w5.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
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 <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: -3.3 (---)

Hi,

Tomas Volf <~@wolfsden.cz> skribis:

> A. Reboot
>   --> The system does not come up (I gave it ~10 minutes).

I tried the config file you gave with:

  ./pre-inst-env guix system vm /tmp/config.scm

and it hangs, to my surprise (I=E2=80=99ve been using =E2=80=98system-log=
=E2=80=99 on my laptop
since June, and =E2=80=9Cmake check-system TESTS=3Dbasic=E2=80=9D & co. pas=
s).

I=E2=80=99ll keep investigating and probably revert the change in the inter=
im.

Ludo=E2=80=99.




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#76315: System does not boot after switching to system-log service
Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Sun, 16 Feb 2025 22:22:02 +0000
Resent-Message-ID: <handler.76315.B76315.173974446925501 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 76315
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Tomas Volf <~@wolfsden.cz>
Cc: 76315 <at> debbugs.gnu.org
Received: via spool by 76315-submit <at> debbugs.gnu.org id=B76315.173974446925501
          (code B ref 76315); Sun, 16 Feb 2025 22:22:02 +0000
Received: (at 76315) by debbugs.gnu.org; 16 Feb 2025 22:21:09 +0000
Received: from localhost ([127.0.0.1]:38536 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tjn0f-0006dE-2H
	for submit <at> debbugs.gnu.org; Sun, 16 Feb 2025 17:21:09 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:57774)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1tjn0b-0006cB-Um
 for 76315 <at> debbugs.gnu.org; Sun, 16 Feb 2025 17:21:07 -0500
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 <ludo@HIDDEN>)
 id 1tjn0W-0008GF-5c; Sun, 16 Feb 2025 17:21:00 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To:
 From; bh=psgiffBePn7zPZBQEPxVk8QynmmGXLKrg9RikjpScYg=; b=X9l5W6eJF/RV618i2i3J
 eZcpmfdBVqHWKJ0Fc1Tkkk10XW5NXH9LuHKTMbhSQZtCwtBKBPDHIFWqY+DOEATC8xmmdpbllh8Gq
 q50Zr9OfmRGiDtxqFPk2D3sQRRU2MwKcKYF/zSsyD8umBsY2wTHQvw7eTCr8loMEPX/CilT4G5M2F
 yOls2Y8N6oRhYir+5ufVuSEXA2cy9FWrrxzJ9kV5IfECU9kyBd9nHaH60T7MJiMnbtXDuvZbSG7vV
 QpGyZGuGSx1aIA8wL+PGviASnlTFs5iMm/5Ai4nH4tlOi+o3R6WfKwYVmUkfUT3CjB/tXRkXSCdyu
 +GcfK9uNci7igw==;
From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
In-Reply-To: <87seodo9w5.fsf@HIDDEN> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Sun, 16 Feb 2025 22:30:18 +0100")
References: <87bjv267qp.fsf@HIDDEN> <87a5am3r5b.fsf@HIDDEN>
 <87seodo9w5.fsf@HIDDEN>
Date: Sun, 16 Feb 2025 23:20:57 +0100
Message-ID: <87o6z1o7jq.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
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 <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: -3.3 (---)

Ludovic Court=C3=A8s <ludo@HIDDEN> skribis:

> I=E2=80=99ll keep investigating and probably revert the change in the int=
erim.

Reverted in 8c483c12e94bcf43e4c44170f1d5fea5fbba4970.

Ludo'.




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#76315: System does not boot after switching to system-log service
Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Wed, 19 Feb 2025 21:05:02 +0000
Resent-Message-ID: <handler.76315.B76315.173999907515018 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 76315
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Tomas Volf <~@wolfsden.cz>
Cc: 76315 <at> debbugs.gnu.org
Received: via spool by 76315-submit <at> debbugs.gnu.org id=B76315.173999907515018
          (code B ref 76315); Wed, 19 Feb 2025 21:05:02 +0000
Received: (at 76315) by debbugs.gnu.org; 19 Feb 2025 21:04:35 +0000
Received: from localhost ([127.0.0.1]:53047 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tkrFC-0003u9-Km
	for submit <at> debbugs.gnu.org; Wed, 19 Feb 2025 16:04:34 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:51882)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1tkrF9-0003tY-T0
 for 76315 <at> debbugs.gnu.org; Wed, 19 Feb 2025 16:04:32 -0500
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 <ludo@HIDDEN>)
 id 1tkrF3-0007yt-Nn; Wed, 19 Feb 2025 16:04:25 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To:
 From; bh=/YCLh2t4/qH8QxIgUqIp6GfpY/BD4ulASWLvftTaS6Q=; b=I6LbV0EVaM2juyzpeT0f
 Lq6zv20dp4HJzZlhwAziB70qukK7jyo6Af46Dm08zbSyOzGbRIdyppXLs18Ij5vy2Z5Db0kOZsg2J
 Dg6e+B3iCIx/phnrjHjxinR4F4kOs2yE6BtUT7k1UBA0r6MCbBrwlH9bIvC9uy5Bwq1aiNX02eRdF
 MDn8DEu9pNz2cHW9ZfTOCI9r7b2ur4JIbBzts0BMo97WEWUSdwTuTeFpxdNmArkAuqnR9DsqwDINp
 GkzFuMIHhWfZYO+Bwy5JsZ9nbiAM+1r3oZXqb5fVjuteBueVD2rziIm+PstvvzdZjBPak6VFWPeAd
 Fv9ibrLjvSRwEQ==;
From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
In-Reply-To: <87seodo9w5.fsf@HIDDEN> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Sun, 16 Feb 2025 22:30:18 +0100")
References: <87bjv267qp.fsf@HIDDEN> <87a5am3r5b.fsf@HIDDEN>
 <87seodo9w5.fsf@HIDDEN>
Date: Wed, 19 Feb 2025 22:04:20 +0100
Message-ID: <87ikp5hciz.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
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 <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: -3.3 (---)

Hey Tomas,

Ludovic Court=C3=A8s <ludo@HIDDEN> skribis:

> I tried the config file you gave with:
>
>   ./pre-inst-env guix system vm /tmp/config.scm
>
> and it hangs, to my surprise (I=E2=80=99ve been using =E2=80=98system-log=
=E2=80=99 on my laptop
> since June, and =E2=80=9Cmake check-system TESTS=3Dbasic=E2=80=9D & co. p=
ass).

After spending hours on this and fixing improbable issues in the
Shepherd (will push shortly), I found that the root of the problem is
exactly what I feared and which led to the patches at
<https://issues.guix.gnu.org/76262>.

Namely, =E2=80=98dhcp-client-service-type=E2=80=99 calls =E2=80=98waitpid=
=E2=80=99; that call competes
with the one done by shepherd=E2=80=99s SIGCHLD handler and, if you=E2=80=
=99re unlucky,
it loses the race and waits forever.  (I=E2=80=99m using
=E2=80=98network-manager-service-type=E2=80=99 on my laptop, which is why I=
 did not
stumble upon this bug.)

Could you try your config with the patch at
<https://issues.guix.gnu.org/76262#2>, at least in a VM and ideally on
the metal?

Thanks in advance,
Ludo=E2=80=99.




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#76315: System does not boot after switching to system-log service
Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Wed, 19 Feb 2025 21:09:02 +0000
Resent-Message-ID: <handler.76315.B76315.173999928416647 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 76315
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Tomas Volf <~@wolfsden.cz>
Cc: 76315 <at> debbugs.gnu.org
Received: via spool by 76315-submit <at> debbugs.gnu.org id=B76315.173999928416647
          (code B ref 76315); Wed, 19 Feb 2025 21:09:02 +0000
Received: (at 76315) by debbugs.gnu.org; 19 Feb 2025 21:08:04 +0000
Received: from localhost ([127.0.0.1]:53084 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tkrIa-0004KG-0V
	for submit <at> debbugs.gnu.org; Wed, 19 Feb 2025 16:08:04 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:51824)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1tkrIY-0004JL-8k
 for 76315 <at> debbugs.gnu.org; Wed, 19 Feb 2025 16:08:02 -0500
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 <ludo@HIDDEN>)
 id 1tkrIS-0008QN-12; Wed, 19 Feb 2025 16:07:56 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To:
 From; bh=oFZLDM0Ux99Sow3ApvUFSL+BWVtBl+GCPjVrYVHw6nI=; b=B72JHRsw8Ia+yULG68dj
 uCK2EyQxWwyhcP4Z7G9yiJiPKH9cj4Q97ZLhN4MQ02YjxTI52wuN21J92ze0ujQ6dBuVMVzRgZEr2
 YWcqlOLI6X9q7BROrtlD7R9PND94Suac94NIL5amkNCBw+anVr5jlewMaG66mbwvzgibi4KUYKCSf
 Qq1wduug7bUhAdNMLra/UDMMy3ITXcyeH4OWf4WzpsE2BV1G1WIP6UcUcx3OeBA6egw23FVqg8RVl
 jlMolX0ECNM+C+CSnw0C939EHm8QllN4+MUMv8d6TL48/gNoNnXy5uIHCjKXmAZcfo2glx1LKEJI3
 laRiiVEA4qN0Pg==;
From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
In-Reply-To: <87ikp5hciz.fsf@HIDDEN> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Wed, 19 Feb 2025 22:04:20 +0100")
References: <87bjv267qp.fsf@HIDDEN> <87a5am3r5b.fsf@HIDDEN>
 <87seodo9w5.fsf@HIDDEN> <87ikp5hciz.fsf@HIDDEN>
Date: Wed, 19 Feb 2025 22:07:53 +0100
Message-ID: <87eczthcd2.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
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 <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: -3.3 (---)

Ludovic Court=C3=A8s <ludo@HIDDEN> skribis:

> Could you try your config with the patch at
> <https://issues.guix.gnu.org/76262#2>, at least in a VM and ideally on
> the metal?

You need to do that on top of a pre-revert commit, such as
eba8c08b1bfc7ac333a0eda658a0be5acac7f151.




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#76315: System does not boot after switching to system-log service
Resent-From: Tomas Volf <~@wolfsden.cz>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Thu, 20 Feb 2025 21:33:02 +0000
Resent-Message-ID: <handler.76315.B76315.174008713128800 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 76315
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Cc: 76315 <at> debbugs.gnu.org
Received: via spool by 76315-submit <at> debbugs.gnu.org id=B76315.174008713128800
          (code B ref 76315); Thu, 20 Feb 2025 21:33:02 +0000
Received: (at 76315) by debbugs.gnu.org; 20 Feb 2025 21:32:11 +0000
Received: from localhost ([127.0.0.1]:43274 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tlE9S-0007UQ-NW
	for submit <at> debbugs.gnu.org; Thu, 20 Feb 2025 16:32:11 -0500
Received: from wolfsden.cz ([37.205.8.62]:44564)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <~@wolfsden.cz>) id 1tlE9P-0007TY-0w
 for 76315 <at> debbugs.gnu.org; Thu, 20 Feb 2025 16:32:08 -0500
Received: by wolfsden.cz (Postfix, from userid 104)
 id D60BF342AE5; Thu, 20 Feb 2025 21:32:04 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail;
 t=1740087124; bh=mypVqFYbl4DzktHFlEK86qLFs7b0znh/eeMmWGuNex4=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date;
 b=cAE7SmH2nHFH4RjDRexppAmmKrxxF6xT45M61ZsGRek5SYL46S7SppmAXUj9GDMpl
 XWA+ZNzTjnebhgFKfJ1uDqWnfffGpCLvC1lm2I8sdJqwoCi6AeLx/HmRi4RyqaAGnr
 jU6uicpDyApKh0TMY0jw1Xh0Hg50GVCLBNe7Hww3O+VbpE5u5yuCtJ87CTXAWvYuB1
 7eyNcp3Da0N703v6jfkR+DZx+KpX2fabNSlYgzLK5Emm7Z/RHYqSKDo6Ypn4Epz5pD
 lGZdAKFjb9EgzCVaELmzif+sr7F7TYr9xBTvkt5Etm0OtGX+Wid8jzE1dlntdfNO0H
 wQshlEBtXMMv5d8JRFw98sQNUFMdmhe68ddEPKEJ3+Sy+fH2NAZAAgWqqA64CStsZy
 Hv+MuoWc2h/5OjbJNcSe+fKT6QmqprWp6993jtH+syWJxZ5372qTBcEKh24OF2OpAZ
 ySSZ0TJkbz5VqBsEatFqYTQ1tBIJkKrvISN4HDBC3AWMROUquIwa9veVoEoL7tkyJl
 O48STP/8NymI2jcb8B8BM12cDndxC613o27BUmEZvuR4gWpeUWkjutNoAS/2hLICes
 5eRzOs4TvM4ei73aSD7sZArTkWDcCmHnu/LHvH9KeUR+kRUptaPgT8mwrKuAET341y
 oNTyXXtxUh6dvVkyy9A8k7fk=
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on wolfsden
X-Spam-Level: 
X-Spam-Status: No, score=-3.1 required=5.0 tests=ALL_TRUSTED,BAYES_00,
 DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,URIBL_BLOCKED
 autolearn=ham autolearn_force=no version=3.4.6
Received: from localhost (unknown [128.0.188.242])
 by wolfsden.cz (Postfix) with ESMTPSA id 043BD34422A;
 Thu, 20 Feb 2025 21:32:03 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail;
 t=1740087124; bh=mypVqFYbl4DzktHFlEK86qLFs7b0znh/eeMmWGuNex4=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date;
 b=cAE7SmH2nHFH4RjDRexppAmmKrxxF6xT45M61ZsGRek5SYL46S7SppmAXUj9GDMpl
 XWA+ZNzTjnebhgFKfJ1uDqWnfffGpCLvC1lm2I8sdJqwoCi6AeLx/HmRi4RyqaAGnr
 jU6uicpDyApKh0TMY0jw1Xh0Hg50GVCLBNe7Hww3O+VbpE5u5yuCtJ87CTXAWvYuB1
 7eyNcp3Da0N703v6jfkR+DZx+KpX2fabNSlYgzLK5Emm7Z/RHYqSKDo6Ypn4Epz5pD
 lGZdAKFjb9EgzCVaELmzif+sr7F7TYr9xBTvkt5Etm0OtGX+Wid8jzE1dlntdfNO0H
 wQshlEBtXMMv5d8JRFw98sQNUFMdmhe68ddEPKEJ3+Sy+fH2NAZAAgWqqA64CStsZy
 Hv+MuoWc2h/5OjbJNcSe+fKT6QmqprWp6993jtH+syWJxZ5372qTBcEKh24OF2OpAZ
 ySSZ0TJkbz5VqBsEatFqYTQ1tBIJkKrvISN4HDBC3AWMROUquIwa9veVoEoL7tkyJl
 O48STP/8NymI2jcb8B8BM12cDndxC613o27BUmEZvuR4gWpeUWkjutNoAS/2hLICes
 5eRzOs4TvM4ei73aSD7sZArTkWDcCmHnu/LHvH9KeUR+kRUptaPgT8mwrKuAET341y
 oNTyXXtxUh6dvVkyy9A8k7fk=
From: Tomas Volf <~@wolfsden.cz>
In-Reply-To: <87ikp5hciz.fsf@HIDDEN> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Wed, 19 Feb 2025 22:04:20 +0100")
References: <87bjv267qp.fsf@HIDDEN> <87a5am3r5b.fsf@HIDDEN>
 <87seodo9w5.fsf@HIDDEN> <87ikp5hciz.fsf@HIDDEN>
Date: Thu, 20 Feb 2025 22:32:03 +0100
Message-ID: <87pljcwbe4.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-Spam-Score: 0.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: -1.0 (-)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Ludovic Court=C3=A8s <ludo@HIDDEN> writes:

> Hey Tomas,
>
> Ludovic Court=C3=A8s <ludo@HIDDEN> skribis:
>
>> I tried the config file you gave with:
>>
>>   ./pre-inst-env guix system vm /tmp/config.scm
>>
>> and it hangs, to my surprise (I=E2=80=99ve been using =E2=80=98system-lo=
g=E2=80=99 on my laptop
>> since June, and =E2=80=9Cmake check-system TESTS=3Dbasic=E2=80=9D & co. =
pass).
>
> After spending hours on this and fixing improbable issues in the
> Shepherd (will push shortly), I found that the root of the problem is
> exactly what I feared and which led to the patches at
> <https://issues.guix.gnu.org/76262>.
>
> Namely, =E2=80=98dhcp-client-service-type=E2=80=99 calls =E2=80=98waitpid=
=E2=80=99; that call competes
> with the one done by shepherd=E2=80=99s SIGCHLD handler and, if you=E2=80=
=99re unlucky,
> it loses the race and waits forever.

Observation here.  While yes, based on the description I agree that it
is (bad) luck based, in practice it seems to be extremely reliable to
reproduce.

At first I struggled to reproduce again, it did not hang even single
time (out of 5 tries) on the bad commit, but once I reverted my
configuration to what it was back then (=3D=3D removed few shepherd timers),
the hang started happening every single time.

So, while in theory it should be a probabilistic problem, in practice it
does not seem to be the case.  Not sure where I am going with this, I
just think it is interesting.

>
> Could you try your config with the patch at
> <https://issues.guix.gnu.org/76262#2>, at least in a VM and ideally on
> the metal?

I have reverted your revert and applied the patch 2 on top of that.

Steps I took (both in VM and on a spare laptop):

1. Reconfigure from commit 1.
2. Ensure it still hangs (5x).
3. Reconfigure from commit 2.
4. Ensure it no longer hangs (5x).

I can confirm the patch 2 fixes the issue for me, both in the VM and on
physical machine.

Only thing I have noticed that even when deploying the "good" commit, I
see the following error in the log:

=2D-8<---------------cut here---------------start------------->8---
guix deploy: warning: an error occurred while upgrading services on '127.0.=
0.1':
%exception #<inferior-object #<&service-not-found-error service: system-log=
>>
=2D-8<---------------cut here---------------end--------------->8---

The system comes up fine after reboot though.

>
> Thanks in advance,
> Ludo=E2=80=99.

Thank you for figuring this one out. :)

Tomas

=2D-=20
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQJCBAEBCgAsFiEEt4NJs4wUfTYpiGikL7/ufbZ/wakFAme3n1MOHH5Ad29sZnNk
ZW4uY3oACgkQL7/ufbZ/wam3gxAAqO6v9XY9WN1M65M+bZ6G7DZgwML3RAh/W+pt
tsvQOmuPiQCx12Ic1CF07U83fkElT/UXn4crqs0eg+8dYFqRTO+KI36ovL9QmG8K
ZumRfNlu3FfDdgLjRgSBXYVm7pkIH4/Qoio+JPVZIoB56V+/HK5vuw2wBGTIamZz
vpTy8olLCQfEVAnzZZ2qQSvotlpuD+3PrTt1ZZBsf0GBr7t+Srgr8n7A2TslHSTT
EpgIUy5xXv/3lyEC9zikG9JvPrWOzW2cAd5JOwi7sDx4YrmaAtefjjLa0784PhH8
nOlbLvpjrXlkgL56pC2+j5mir98oywFYoM36lG7LLsoRWlKDUTr4/QPhnZKvIZBF
+CSVBHWcAAr4DOiLLmkDCBsPfxUmrA/mR/jyrP+Rh0KbQUa8ycciMDhrubUoHRAt
n+3m/J7I4teNFK6k2t8T6h0ONGyjjALaAG5czNQPwOHQha1IwRIVFCQNUDtTwdlV
zbPwqt0zUToyio+ribwNhuoUL2Kl0sDYWMUqgBxcetiQg/Cn+smoLoBncpvV6Jrv
kV9C9CaDMwKm4du10OGcgW2hmwC7FXr4k968FX7V/AvF0NcC7BjpcKF1u9y4EheT
iWiW0zZNlKxLYFcHf6ogKQFbzreAmLQyAKajArw8qPCZlaGZ6PgaLwfgSFc1DYm+
AhbR5iI=
=Pujd
-----END PGP SIGNATURE-----
--=-=-=--




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#76315: System does not boot after switching to system-log service
Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Fri, 21 Feb 2025 11:18:01 +0000
Resent-Message-ID: <handler.76315.B76315.174013665020687 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 76315
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Tomas Volf <~@wolfsden.cz>
Cc: 76315 <at> debbugs.gnu.org
Received: via spool by 76315-submit <at> debbugs.gnu.org id=B76315.174013665020687
          (code B ref 76315); Fri, 21 Feb 2025 11:18:01 +0000
Received: (at 76315) by debbugs.gnu.org; 21 Feb 2025 11:17:30 +0000
Received: from localhost ([127.0.0.1]:55047 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tlR29-0005NY-M5
	for submit <at> debbugs.gnu.org; Fri, 21 Feb 2025 06:17:30 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:58612)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1tlR26-0005MR-4r
 for 76315 <at> debbugs.gnu.org; Fri, 21 Feb 2025 06:17:26 -0500
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 <ludo@HIDDEN>)
 id 1tlR1z-0006Ug-Sg; Fri, 21 Feb 2025 06:17:19 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To:
 From; bh=51N0eC38bzbYvGwF6ONXkN9PYNQuNHx7EawdrdbA05s=; b=j6U5t6OMFPnjYuXPLLWU
 +eolaECxiT3j2dt5NmuU1jh20xmVII2+uObYEpQARrgxYCOuKUW67Lfzlf4ActL3M+ZY4ampqZSUM
 JIODm6LZCZBPuH5efqYNetsuQGNMF0CTRX5EgcGQNcdq1h6I4Pm5LCYEQ2m6U490/xjkZ6YJMwaZF
 c9IblI6/ZqNVRsuXzxW2AhIG3M7q35NZYg6nUzwpxoSxXsc68ZAvy9WjXXM4lWK9XsnxcFmEBMDC0
 msRIrrK+PKeiTcH1VvEhnJQ7F3U9aLbfU3eHXOAtTNfGyERcusxlNZlY0ZUql9F9NMieCan7A7TjR
 x+80GemlMLVsDA==;
From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
In-Reply-To: <87pljcwbe4.fsf@HIDDEN> (Tomas Volf's message of "Thu, 20
 Feb 2025 22:32:03 +0100")
References: <87bjv267qp.fsf@HIDDEN> <87a5am3r5b.fsf@HIDDEN>
 <87seodo9w5.fsf@HIDDEN> <87ikp5hciz.fsf@HIDDEN>
 <87pljcwbe4.fsf@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: Tridi 3 =?UTF-8?Q?Vent=C3=B4se?= an 233 de la
 =?UTF-8?Q?R=C3=A9volution,?= jour du Violier
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: Fri, 21 Feb 2025 12:17:16 +0100
Message-ID: <8734g7a6o3.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
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 <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: -3.3 (---)

Hi,

Tomas Volf <~@wolfsden.cz> skribis:

>> After spending hours on this and fixing improbable issues in the
>> Shepherd (will push shortly), I found that the root of the problem is
>> exactly what I feared and which led to the patches at
>> <https://issues.guix.gnu.org/76262>.
>>
>> Namely, =E2=80=98dhcp-client-service-type=E2=80=99 calls =E2=80=98waitpi=
d=E2=80=99; that call competes
>> with the one done by shepherd=E2=80=99s SIGCHLD handler and, if you=E2=
=80=99re unlucky,
>> it loses the race and waits forever.
>
> Observation here.  While yes, based on the description I agree that it
> is (bad) luck based, in practice it seems to be extremely reliable to
> reproduce.

Yes, I could reproduce it 100% with just =E2=80=98bare-bones.tmpl=E2=80=99.=
  Thing is,
as soon as you would change something non-trivial, for instance the
=E2=80=98message-destination=E2=80=99 procedure of shepherd so that it writ=
es everything
to /dev/console, the problem would go away.  Even just commenting out
some of the parameters passed to =E2=80=98system-log=E2=80=99 could make th=
e problem
disappear (!), which is why it took me a lot of time to figure it out.

>> Could you try your config with the patch at
>> <https://issues.guix.gnu.org/76262#2>, at least in a VM and ideally on
>> the metal?

[...]

> I can confirm the patch 2 fixes the issue for me, both in the VM and on
> physical machine.

Yay!

> Only thing I have noticed that even when deploying the "good" commit, I
> see the following error in the log:
>
> guix deploy: warning: an error occurred while upgrading services on '127.=
0.0.1':
> %exception #<inferior-object #<&service-not-found-error service: system-l=
og>>

I think I understood this one now.

The old service has only one name: syslogd.  The new one, which upgrades
it, has two names: system-log and syslogd (system-log is its =E2=80=9Ccanon=
ical
name=E2=80=9D).

The service upgrade machinery gets confused because it uses the
canonical name in one place.

I=E2=80=99ll investigate.

Ludo=E2=80=99.





Last modified: Fri, 21 Feb 2025 11:30:04 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.