From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id +PqbEamqlGSIaAAASxT56A (envelope-from ) for ; Thu, 22 Jun 2023 22:10:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id KG+3EKmqlGQBTAAAG6o9tA (envelope-from ) for ; Thu, 22 Jun 2023 22:10:17 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E259929FF5 for ; Thu, 22 Jun 2023 22:10:16 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qCQd1-0005Gg-QG; Thu, 22 Jun 2023 16:10: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 1qCQd0-0005GF-Bq for bug-guix@gnu.org; Thu, 22 Jun 2023 16:10:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qCQd0-0006PX-1d for bug-guix@gnu.org; Thu, 22 Jun 2023 16:10:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qCQcz-00076N-S6 for bug-guix@gnu.org; Thu, 22 Jun 2023 16:10:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#63982: Shepherd can crash when a user service fails to start Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 22 Jun 2023 20:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63982 X-GNU-PR-Package: guix X-GNU-PR-Keywords: moreinfo To: nils@landt.email Cc: "63982@debbugs.gnu.org" <63982@debbugs.gnu.org> Received: via spool by 63982-submit@debbugs.gnu.org id=B63982.168746456227232 (code B ref 63982); Thu, 22 Jun 2023 20:10:01 +0000 Received: (at 63982) by debbugs.gnu.org; 22 Jun 2023 20:09:22 +0000 Received: from localhost ([127.0.0.1]:36853 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qCQcM-00075A-6v for submit@debbugs.gnu.org; Thu, 22 Jun 2023 16:09:22 -0400 Received: from eggs.gnu.org ([209.51.188.92]:38732) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qCQcK-00074y-Dd for 63982@debbugs.gnu.org; Thu, 22 Jun 2023 16:09:21 -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 1qCQcC-0005gt-Rx; Thu, 22 Jun 2023 16:09:14 -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=4i07T18NLQhHxGaiG+CJ4pmnz5UGvw2Y/QE6GtjpMzc=; b=H6/YbvJf9jSlKgwSdEqt 9d3mjxxuFQoLSfoRPsAADEnmyY6q2YynC1CcPjR/y+s5QMz1rrSxKVd74fGttNdjYPhFoChff0IMt OynABNjgCyld5CK27QW8T79YYnCl+TPlFkaOsxzMkPjHC5C5jJrtZJU6ygs9FpkWuDsTvSzRBa13Q zx3LOppcRoP7xupX31+cCRiotBdQQ9lJsJPpr0/DbykEjcuxfWUP1mqyCEhuDvHkz3rGhIo+muYss NGswayFxAdlGj89J7azlqEdFOZVmfy6Ui9qFNguOLZVMbVfgg+KKD3KqZalH53tKcR8weDwLGJwri kXeo/WTWtK9h2g==; Received: from lsm-cpl.in2p3.fr ([134.158.178.2] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qCQc0-0007Wc-Jj; Thu, 22 Jun 2023 16:09:12 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87mt18blug.fsf@gmail.com> <1275452452.902121.1687101286088@office.mailbox.org> Date: Thu, 22 Jun 2023 22:08:56 +0200 In-Reply-To: <1275452452.902121.1687101286088@office.mailbox.org> (nils@landt.email's message of "Sun, 18 Jun 2023 17:14:46 +0200 (CEST)") Message-ID: <87cz1n45uv.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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1687464616; a=rsa-sha256; cv=none; b=nioRGeWLhpQIzsupRUZi6ppZC94A1yKer8x/ZWfMgq6VB8zsIUMqaVfta1r8fOSJtvwvaB TW1a8Z9NlGEmnhQ6ygyIxPaJXTZaydJu5XoYq+ecoc1KiQvDdKN1iVGcAAZpPNNPT6+0CD LoUnWNuIy9y9ZkXoHxbzfM9tX/JBI6kKtide8jWiIEeLeHBJoKkgKZ/hXvuEQ+D8yivr6a 3w9P3BchcOXEdCQjDzTvS75Y4A9PaRe1aKVOuiPyIpySlbIJNx0kqpScHSN9c6EiF03rUJ dLpcIRbBpge3CHQo1CODMRjOKfN3UWCa6dgx0Hkc2rjWbhLmrpk078nYx9hOrg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="H6/YbvJf"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1687464616; h=from:from:sender:sender: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:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=4i07T18NLQhHxGaiG+CJ4pmnz5UGvw2Y/QE6GtjpMzc=; b=OJSbIvNgtz8lgGpZ8Zp3xuEMO2PiT+WhOAAO0/BASUEenNbEf+KhtHOXgQKnVb2ARYiN9M 2DX8wr97K9m4iL1CF8zVm/aC/+kM2kGi1HJsyNfijD84hH+UPWjwhZHIxTXFj+bUw+3S+v vcnh8VMNeHCZN6B8Lom1EA8S895MITn2wAqpj+UTUNN+14L00TxICUjqri79KPSwcE+Npb eCs2biGHoVLcxC7mOlhUlpDt/gNHozlWoOZpteiZ8ZQvCG/IJ3gndcxmsDXWg4iDPhOEkJ CJSOvvDzQ9FyH9G0/EqvHOQgM2Zvqvj+jsimL7QrViGYKqVsybFzUYJOiwbfQw== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="H6/YbvJf"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -4.05 X-Spam-Score: -4.05 X-Migadu-Queue-Id: E259929FF5 X-TUID: l1AmT/wCDNSN Hi, nils@landt.email skribis: > 0.10.99: > Starting service root... > Service root started. > Service root running with value #t. > Service root has been started. > WARNING: Use of `load' in declarative module (#{ g119}#). Add #:declarat= ive? #f to your define-module invocation. > Uncaught exception while loading configuration file '/gnu/store/w6rlja8v6= 5dwv16ivcqx513q7827n6aq-shepherd.conf': (wrong-type-arg "string-append" "Wr= ong type (expecting ~A): ~S" > ("string" #f) (#f)) > > , and then the reconfiguration hangs. /run/user/1000/shepherd/socket is c= reated, and herd status shows that root is started, other services are not = shown, and are not started. > > > Content of config (/gnu/store/w6rlja8v65dwv16ivcqx513q7827n6aq-shepherd.c= onf): > (begin (use-modules (srfi srfi-34) (system repl error-handling)) (apply r= egister-services (map (lambda (file) (load file)) (quote ("/gnu/store/71n4r= 0hccps574aqcks7zyk5rz5zardq- > shepherd-eww.scm" "/gnu/store/0r14z4psnf9h2nfqiflm0nv6m2bv04si-shepherd-e= ww-open-lockscreen-like-background.scm" "/gnu/store/ylidynn5akvk3lmqrxbgqkz= 0c8hn3y8c-shepherd-syncthing > .scm" "/gnu/store/9igwbpbwavl6r94ph7qss7i5cqq9d8nj-shepherd-mcron.scm")))= ) (action (quote root) (quote daemonize)) (format #t "Starting services...~= %") (let ((services-to-start > (quote (eww eww-open-lockscreen-like-background syncthing mcron)))) (if (= defined? (quote start-in-the-background)) (start-in-the-background services= -to-start) (for-each start > services-to-start)) (redirect-port (open-input-file "/dev/null") (current= -input-port)))) This suggests a problem in the config file: one of the shepherd-*.scm files listed above ends up calling (string-append #f =E2=80=A6). We=E2=80=99d need to see those files to understand what=E2=80=99s happening= but it looks different from what Maxim reported. Thanks, Ludo=E2=80=99.