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 ms5.migadu.com with LMTPS id gDboH1SFYGJCEAAAbAwnHQ (envelope-from ) for ; Thu, 21 Apr 2022 00:12:36 +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 IC0HH1SFYGIigQEAG6o9tA (envelope-from ) for ; Thu, 21 Apr 2022 00:12:36 +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 A84AB394F7 for ; Thu, 21 Apr 2022 00:12:35 +0200 (CEST) Received: from localhost ([::1]:59140 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nhIYs-0005Hn-SM for larch@yhetil.org; Wed, 20 Apr 2022 18:12:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42848) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhIYM-0005H0-Qf for bug-guix@gnu.org; Wed, 20 Apr 2022 18:12:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53867) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nhIYM-0005KI-H9 for bug-guix@gnu.org; Wed, 20 Apr 2022 18:12:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nhIYM-0006jd-Bf for bug-guix@gnu.org; Wed, 20 Apr 2022 18:12:02 -0400 Subject: bug#54779: guix home reconfigure throw error after Shepherd updata Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Wed, 20 Apr 2022 22:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 54779 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Aleksandr Vityazev Mail-Followup-To: 54779@debbugs.gnu.org, ludo@gnu.org, avityazev@posteo.org Received: via spool by 54779-done@debbugs.gnu.org id=D54779.165049267725797 (code D ref 54779); Wed, 20 Apr 2022 22:12:02 +0000 Received: (at 54779-done) by debbugs.gnu.org; 20 Apr 2022 22:11:17 +0000 Received: from localhost ([127.0.0.1]:47759 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhIXd-0006i0-J4 for submit@debbugs.gnu.org; Wed, 20 Apr 2022 18:11:17 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49426) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhIXb-0006hj-K3 for 54779-done@debbugs.gnu.org; Wed, 20 Apr 2022 18:11:16 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47286) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhIXU-0005Dz-EK; Wed, 20 Apr 2022 18:11:08 -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=pvAd01CotopafGFBAHXrCVoBEwp9J3xXTzHOzgC0byw=; b=Wlk/E0lrnyja5rv39jLC z+jIwTrTu2st3YKBudc83k/YjO3ZPp79rxrlqCBfkSpB1fcciMIMq7DcQ94v6Fs/HBpbB6QWWYXVt ZtccAMG6wvuWc3IynYcMKc6uVDZ3rISd+kYNtUB3iwgl0XZ7+d5pCVbD6dcTVlnyvtHgZD9Z4wWGC HiI8agnn6iueZZJWrQK9jnBQ5iPUZTHmDQQeGu9GrhSez2x4RaaWE632Pe77BX2kjyepfGPvOlR2u Ww1voCe8Ezewnw/Nr43cJC7vfU6ge1toMOn7K36J1lVgwDob3dwrfNOAeCsGFsUAjERs9kFok1+AC IKa8UwCLSfTDIg==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:57807 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhIXS-00039o-Fd; Wed, 20 Apr 2022 18:11:08 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87h774cw4c.fsf@posteo.org> Date: Thu, 21 Apr 2022 00:11:04 +0200 In-Reply-To: <87h774cw4c.fsf@posteo.org> (Aleksandr Vityazev's message of "Thu, 07 Apr 2022 23:27:31 +0000") Message-ID: <874k2nmmmf.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.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: , Cc: 54779-done@debbugs.gnu.org, Nicolas Graves Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1650492756; 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-to: 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=pvAd01CotopafGFBAHXrCVoBEwp9J3xXTzHOzgC0byw=; b=gra+de6QrXQCTWT7+LeD2oRdD4e+tqEblzfbKYOr6jaGorMF3xDRLCW1fU1bBjB2Hr0Qq2 QAhnznHh8wGJm5ssOK5wwH1h2iH3wOA1TcpS0KYnFaomiR8VOEvaUUi1fpbLT6u3ec7vTC lTr58mqASr1rlJCeY+bBAfghsCkpMQ14Zzny6wJDMeGm4KgbvOTtkETmsi1rUsGi02jeIh aWqZA0sNYbxE8xpkOL6CdJjj4GmOOxYfE2rBSYR3J2vYfg5xZYAuyavm/EAmDrck6PUEZ9 Bv/Mr2FLGV6dO6ovbcvj33dlaWTlFFGAfDa0zQSsNOVD3BtaskZzq4W6ZZVpUw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1650492756; a=rsa-sha256; cv=none; b=XY2vHXHOV/bFmn8vfDAd/JmQy01gKaEe7NwFYCx/F7eYF2VdVmRwOe55TCK+A0EWxDq4o/ nOJ8wsnbX5MMGPJ7Oga648geyDN4U6C61zMyGsCcDmsAEcQisfrrgj88dohCl6Fa/aHtgz 0pUUBngkm7mr7UPAUmuIkc5LcGltcfVHvwt29Ht23hhCiqWR3uiz9UmXWGA1fUSgT43Oa3 ksr31KE4MKZo6VwWu4f0nqdgJRaz91hm3uRjlQxN21MgeDrowwLz6sOAPnSPjwExNQ3uwv Vbd3rzVNFGfJAa9HlupfX+yDj22K8NDbi+D7WqnEFgTGMizk7jrYYM1zWHg7+A== 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="Wlk/E0lr"; 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-Spam-Score: -4.44 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="Wlk/E0lr"; 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-Queue-Id: A84AB394F7 X-Spam-Score: -4.44 X-Migadu-Scanner: scn0.migadu.com X-TUID: XJwR1oLFC+oi Hi, Aleksandr Vityazev skribis: > guix home reconfigure config.scm [1], throw error and freezes even > ctrl-c doesn't help Indeed, this can be reproduced like so: --8<---------------cut here---------------start------------->8--- $ herd load root /gnu/store/1xx98q22c6ijr0p5pjbq3wnxd5yyxlmy-shepherd.conf WARNING: Use of `load' in declarative module (#{ g139}#). Add #:declarativ= e? #f to your define-module invocation. Uncaught exception in task: In fibers.scm: 150:8 9 (_) In ice-9/boot-9.scm: 1747:15 8 (with-exception-handler # =E2=80=A6) In shepherd.scm: 432:9 7 (_) In ice-9/boot-9.scm: 1747:15 6 (with-exception-handler # =E2=80=A6) In ice-9/exceptions.scm: 406:15 5 (_) In ice-9/boot-9.scm: 1752:10 4 (with-exception-handler _ _ #:unwind? _ # _) In shepherd.scm: 502:23 3 (_) In srfi/srfi-1.scm: 586:17 2 (map1 (#< 7f52c8f77f30>)) In ice-9/boot-9.scm: 1685:16 1 (raise-exception _ #:continuable? _) 1683:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1683:16: In procedure raise-exception: Zero values returned to single-valued continuation --8<---------------cut here---------------end--------------->8--- (=E2=80=98guix home reconfigure=E2=80=99 invokes the same command as above.) The problem is that =E2=80=98start-in-the-background=E2=80=99 returns zero = values, as indicated above, but shepherd expects user commands to return one value. So the fix, as you suggest, is to return one value at the end of shepherd.conf. You suggested redirecting stdin, which is also a good idea, but for a different reason. :-) Anyway I=E2=80=99ve done both. dd2ab92d9d home: shepherd: Redirect input port to /dev/null. bc867b2ab0 home: shepherd: "shepherd.conf" returns one value. Thank you! Ludo=E2=80=99.