From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 07 19:27:56 2022 Received: (at submit) by debbugs.gnu.org; 7 Apr 2022 23:27:56 +0000 Received: from localhost ([127.0.0.1]:33612 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncbXR-0003Rs-GP for submit@debbugs.gnu.org; Thu, 07 Apr 2022 19:27:56 -0400 Received: from lists.gnu.org ([209.51.188.17]:43644) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncbXQ-0003Rk-7s for submit@debbugs.gnu.org; Thu, 07 Apr 2022 19:27:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60522) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ncbXP-000207-QS for bug-guix@gnu.org; Thu, 07 Apr 2022 19:27:40 -0400 Received: from mout01.posteo.de ([185.67.36.65]:40567) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ncbXN-0005DY-Kq for bug-guix@gnu.org; Thu, 07 Apr 2022 19:27:39 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 168D4240026 for ; Fri, 8 Apr 2022 01:27:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.org; s=2017; t=1649374054; bh=FhM2BWQNWdks6xmOaG4zCe+bF18OMZBhJZDW/zSt0GQ=; h=From:To:Subject:Date:From; b=Yst7JEq98NIL3AX/s8tCIOci5ymKPV32sfTqdSbNeXRYQH4NgP078NdeokI+H08dB oWYsywmjut2eREKs6//dUimZRDIdybQxFov9q/En0c95vkADMWWky39Zw2t517/Ki2 aOGuc7ojaxC6WuJf7u9Dlr+09ojDYpN+1po62kraRDBbOY6ZG2VHVmAb/toszuJVjp ruSs5oTloTeQVgrKfJXD/HY0qWysIr9t/wUPLAjSjD1EW3IFUs78TIdLZ6rDWadTfT mMAuxPniKBHX/mhzehOdXsf+AdNITfSBZiYlTHO5valoofCIq0RUM31NnQL0JXPe7O rkWtGoLGoGCug== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4KZHbn0pQMz9rxM for ; Fri, 8 Apr 2022 01:27:32 +0200 (CEST) From: Aleksandr Vityazev To: "bug-guix" Subject: guix home reconfigure throw error after Shepherd updata Date: Thu, 07 Apr 2022 23:27:31 +0000 Message-ID: <87h774cw4c.fsf@posteo.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=185.67.36.65; envelope-from=avityazev@posteo.org; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.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: -0.0 (/) --=-=-= Content-Type: text/plain Hi, guix home reconfigure config.scm [1], throw error and freezes even ctrl-c doesn't help Uncaught exception in task: In fibers.scm 150:0 9 (_) In ice-9/boot-9.scm 1747:15 8 (with-exception-handler # at ic..> ...) In shepherd.scm 439:9 7 (_) In ice-9/boot-9.scm 1747:15 8 (with-exception-handler # at ic..> ...) 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 (#< 7f9c80e0df30>)) 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 [1] --=-=-= Content-Type: text/plain Content-Disposition: attachment; filename=confgi.scm Content-Description: config.scm (define-module (config) #:use-module (gnu home) #:use-module (gnu home services) #:use-module (gnu home services fontutils) #:use-module (gnu home services xdg) #:use-module (gnu home services shells) #:use-module (gnu home services shepherd) #:use-module (gnu home services symlink-manager) #:use-module (gnu services) #:use-module (gnu packages) #:use-module (gnu packages glib) #:use-module (gnu packages admin) #:use-module (gnu packages linux) #:use-module (guix gexp) #:use-module (guix packages)) (define (home-dbus-environment-variables-service _) '(("DBUS_SESSION_BUS_ADDRESS" . "unix:path=$XDG_RUNTIME_DIR/dbus.sock"))) (define (home-dbus-shepherd-service _) (list (shepherd-service (provision '(dbus-home)) (stop #~(make-kill-destructor)) (start #~(make-forkexec-constructor (list #$(file-append dbus "/bin/dbus-daemon") "--nofork" "--session" (string-append "--address=" "unix:path=" (getenv "XDG_RUNTIME_DIR") "/dbus.sock")) #:environment-variables (append '("DISPLAY=wayland-0" "WAYLAND_DISPLAY=wayland-0") (environ))))))) (define-public home-dbus-service-type (service-type (name 'home-dbus) (extensions (list (service-extension home-environment-variables-service-type home-dbus-environment-variables-service) (service-extension home-profile-service-type (const (list dbus))) (service-extension home-shepherd-service-type home-dbus-shepherd-service))) (default-value #f) (description "run dbus"))) (define home-env (home-environment (services (list (service home-dbus-service-type) (service home-zsh-service-type (home-zsh-configuration (xdg-flavor? #t) (zshrc (list (plain-file "zshrc" "stty -ixon"))))) (simple-service 'set-guix-env-vars home-environment-variables-service-type `(("GUIX_PROFILE" . "/home/akagi/.guix-profile"))))))) home-env --=-=-= Content-Type: text/plain -- Best regards, Aleksandr Vityazev --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 14 03:23:48 2022 Received: (at 54779) by debbugs.gnu.org; 14 Apr 2022 07:23:49 +0000 Received: from localhost ([127.0.0.1]:54899 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1netpU-0003BM-O0 for submit@debbugs.gnu.org; Thu, 14 Apr 2022 03:23:48 -0400 Received: from 17.mo583.mail-out.ovh.net ([46.105.56.132]:50027) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1netpS-0003BD-Bh for 54779@debbugs.gnu.org; Thu, 14 Apr 2022 03:23:47 -0400 Received: from player771.ha.ovh.net (unknown [10.111.172.45]) by mo583.mail-out.ovh.net (Postfix) with ESMTP id D2069228CB for <54779@debbugs.gnu.org>; Thu, 14 Apr 2022 07:23:44 +0000 (UTC) Received: from ngraves.fr (unknown [176.166.159.77]) (Authenticated sender: ngraves@ngraves.fr) by player771.ha.ovh.net (Postfix) with ESMTPSA id 266F429792B29 for <54779@debbugs.gnu.org>; Thu, 14 Apr 2022 07:23:43 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-104R00563062aa9-dc97-4d1e-a71b-febd99bd17fb, 7313A41C956B98DA3B2B658072E6EA1B1B7C7D2E) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 176.166.159.77 User-agent: mu4e 1.6.10; emacs 28.1.50 From: Nicolas Graves To: 54779@debbugs.gnu.org Subject: same problem here Date: Thu, 14 Apr 2022 09:16:08 +0200 Message-ID: <87y208m8ld.fsf@ngraves.fr> MIME-Version: 1.0 Content-Type: text/plain X-Ovh-Tracer-Id: 14699749186898813473 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvvddrudelvddguddvtdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhepfgfhvffufffkgggtsehttdertddtredtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepfffghffhtdeuudfhgefhgeffiedvieejjeeltdeuffeffeelieegkeduiefgudehnecukfhppedtrddtrddtrddtpddujeeirdduieeirdduheelrdejjeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphhouhhtpdhhvghlohepphhlrgihvghrjeejuddrhhgrrdhovhhhrdhnvghtpdhinhgvtheptddrtddrtddrtddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeehgeejjeelseguvggssghughhsrdhgnhhurdhorhhg X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54779 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 ! I do have the same problem here, and have found a temporary fix to allow finishing the reconfiguration. If you `herd stop root` before reconfiguring home, the `guix home reconfigure` should finish, with an error, but allowing the reconfiguration. Just in case it might be helpful for developers : The error happends in the `activate profile` phase, when herd and shepherd are involved. The reconfiguration actually works when there is no service-type related to a herd service in the configuration (here it was the case with dbus I think). Good luck, Nicolas From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 19 21:37:40 2022 Received: (at 54779) by debbugs.gnu.org; 20 Apr 2022 01:37:40 +0000 Received: from localhost ([127.0.0.1]:44607 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ngzHn-0002tT-TB for submit@debbugs.gnu.org; Tue, 19 Apr 2022 21:37:40 -0400 Received: from mout02.posteo.de ([185.67.36.66]:37407) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ngzHl-0002tC-Tc for 54779@debbugs.gnu.org; Tue, 19 Apr 2022 21:37:39 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id AF63A240108 for <54779@debbugs.gnu.org>; Wed, 20 Apr 2022 03:37:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.org; s=2017; t=1650418651; bh=uFc50CfAsV3/wW0VFOnMg4gpwz2HJrDUa3B2n6wFeAM=; h=From:To:Subject:Date:From; b=N0jDlDAWyan0NYDhKy8fdXP6k4ff5j032V0EPW1Rs8Qc+cV6Juy/iLS8+dfJNBT9Z bPLnNL1zLDTBKaWGQSLxfd2TnDm//uPRsTqNi87Qv73+kO5Iw7t4MqLKsxh5zuVF3C 9RmvH+YQTZKVPLHTypUsBDfEJvQqPkmSg9ZjfPkY1eR8A89DFb184KCieooXV8nEL+ FLVpyr5Vi81A10ajZVv4idTpq/qtWExxFfLj3jHe2qbB9iGZ9/nYWkixrwNNr/m6/d BRzT0itpvGcTq/wOVduDYNxdVezgZdgEUbUOZREMdrOvT4p2v3LasFvlpBjjty/9Su rSHg0/botYmXA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4KjjwB2rgVz6tm4 for <54779@debbugs.gnu.org>; Wed, 20 Apr 2022 03:37:29 +0200 (CEST) From: Aleksandr Vityazev To: 54779@debbugs.gnu.org Subject: Re: bug#54779: guix home reconfigure throw error after Shepherd updata References: <87h774cw4c.fsf@posteo.org> Date: Wed, 20 Apr 2022 01:37:28 +0000 In-Reply-To: <87h774cw4c.fsf@posteo.org> (Aleksandr Vityazev's message of "Thu, 07 Apr 2022 23:27:31 +0000") Message-ID: <87pmlc8rhj.fsf@posteo.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 54779 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 (---) --=-=-= Content-Type: text/plain Hi, it seems that the attached patch should fix this. -- Best regards, Aleksandr Vityazev --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=shepherd-home.patch Content-Description: patch diff --git a/gnu/home/services/shepherd.scm b/gnu/home/services/shepherd.scm index df6bbb30e6..cbb7b17987 100644 --- a/gnu/home/services/shepherd.scm +++ b/gnu/home/services/shepherd.scm @@ -84,6 +84,8 @@ (define config services)))) (if (defined? 'start-in-the-background) (start-in-the-background services-to-start) - (for-each start services-to-start))))) + (for-each start services-to-start)) + (redirect-port (open-input-file "/dev/null") + (current-input-port))))) (scheme-file "shepherd.conf" config))) --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 20 16:02:38 2022 Received: (at control) by debbugs.gnu.org; 20 Apr 2022 20:02:38 +0000 Received: from localhost ([127.0.0.1]:47573 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhGX8-0002OA-C5 for submit@debbugs.gnu.org; Wed, 20 Apr 2022 16:02:38 -0400 Received: from eggs.gnu.org ([209.51.188.92]:55152) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhGX7-0002Nu-HF for control@debbugs.gnu.org; Wed, 20 Apr 2022 16:02:37 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:44292) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhGX2-0002VX-9P for control@debbugs.gnu.org; Wed, 20 Apr 2022 16:02:32 -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=M5Kll6GsRdO3FSPGB865NPAJPcQp3Qr9+ke0yVdjaGw=; b=RAdL8Xvev1RfxA S/Veh2Wr/tCv79FcGepEvFrwRtaMuIokzEKGaop1qkQyPdRnOP82ktc7gXudrQBSWBcLjGwt4n1fe CkInNujQcBgsyVJxWTHB9078NZ0jEJmVlHm4esLLcBofVxZkgFBnBQyUc/uAdCzQMFf+o6/O0UR4M 0I5Xcb7LsMFMoVfhIeW5vMtEu6PA1kxVoJQowremsGc0v6SZPKYutztMQUXcJL8nuaWr34LBVK8et pmV6kQnVGAh7MyFnt7rMfkLH16Iv8PUNyKpfb2sscipbejQYcpzxSpYUQEPO5GSXb6ierECPYK24w 7lmVC6Sz9jZ4+3Fd6MuA==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:50929 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhGX1-0002Gw-Tb for control@debbugs.gnu.org; Wed, 20 Apr 2022 16:02:32 -0400 Date: Wed, 20 Apr 2022 22:02:30 +0200 Message-Id: <87bkwvo755.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #54779 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 54779 important quit From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 20 17:53:04 2022 Received: (at control) by debbugs.gnu.org; 20 Apr 2022 21:53:04 +0000 Received: from localhost ([127.0.0.1]:47728 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhIFz-0003wP-VF for submit@debbugs.gnu.org; Wed, 20 Apr 2022 17:53:04 -0400 Received: from eggs.gnu.org ([209.51.188.92]:45894) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhIFy-0003vs-EQ for control@debbugs.gnu.org; Wed, 20 Apr 2022 17:53:02 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:46750) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhIFt-0002Ga-1o for control@debbugs.gnu.org; Wed, 20 Apr 2022 17:52:57 -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=iw3tGHeODj9aLIeADaKztDuRI4yowA3/EeA1yR5IZDQ=; b=FSsLRpMyACfM+2 C2bcb2AqiyfTtFuDur2tfRmQNgAmUBHRPA6Zx+dOcSoXQrTsm+oKJGXIeOkexGimikvcpkUmPTO14 DT0jUULWitQNTG5Pdb0GDaotWS3pxz3HWikSgYPh1HgMK08SixGwkfuE+4lQzNEOCfj59uQ514qli Iw0F6BzF1lz3IOPm4P1F2eAgON/Klth7sbGG1gblk1eXu3LXTelYWM4fjMziDzVO6XnVvQBbGxoXo +LlRhyT2BzrfZaRXe/hsk1KuL/XbkL3e4tpfXGVeAi3xdNiW5y1w51veUb73388OlsX2b9/xtc5wf C734NNX9d39qltRtpLyg==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:65217 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhIFs-0002Ak-Ly for control@debbugs.gnu.org; Wed, 20 Apr 2022 17:52:56 -0400 Date: Wed, 20 Apr 2022 23:52:54 +0200 Message-Id: <87czhbmngp.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #54779 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 (---) merge 54779 54919 quit From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 20 17:53:26 2022 Received: (at control) by debbugs.gnu.org; 20 Apr 2022 21:53:26 +0000 Received: from localhost ([127.0.0.1]:47736 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhIGM-0003xR-Aa for submit@debbugs.gnu.org; Wed, 20 Apr 2022 17:53:26 -0400 Received: from eggs.gnu.org ([209.51.188.92]:45946) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhIGL-0003x6-1B for control@debbugs.gnu.org; Wed, 20 Apr 2022 17:53:25 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:46758) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhIGF-0002I2-O1 for control@debbugs.gnu.org; Wed, 20 Apr 2022 17:53:19 -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=iw3tGHeODj9aLIeADaKztDuRI4yowA3/EeA1yR5IZDQ=; b=b/4ewCdVqFDLHP 1GVdwarrs6Sa11GX42NDMxTExmdPqZMPDtlpeGwl/pDU3fPO00vjceVOJ+psdLL8Ka13cDF9uYGkG UTnmHKNz+tXSydZzjVB1hUjak6Dtp12Lu8MzGjI2e/g0/OXUcX6BUMND/sijRDA9AlaYrur/8y0TJ 88Gc1Iu5o6OTkdwIdN1I6FZNjcHVs64m4wsHtP2qGRkp7ncmkpW4O/j2kdgCQEglC60L01mYAIDJt P+N6DI13Ki80ZUJdiV9JYO29s+9Xkwxn1XVswKQek1Fdp4B7XfW8f3LP5I+GZmyWsTsehg9zEPP73 5MFbMVImcziM75mP6dnw==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:63213 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhIGC-0002Bh-Ph for control@debbugs.gnu.org; Wed, 20 Apr 2022 17:53:19 -0400 Date: Wed, 20 Apr 2022 23:53:15 +0200 Message-Id: <87a6cfmng4.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #54779 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 (---) merge 54779 54919 quit From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 20 18:11:17 2022 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: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Aleksandr Vityazev Subject: Re: bug#54779: guix home reconfigure throw error after Shepherd updata 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-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 54779-done Cc: 54779-done@debbugs.gnu.org, Nicolas Graves 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 (---) 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. From unknown Fri Jun 20 07:17:23 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 19 May 2022 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator