From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wE3qEZ/qamFofgAAgWs5BA (envelope-from ) for ; Sat, 16 Oct 2021 17:07:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id uBKWDZ/qamF4egAAB5/wlQ (envelope-from ) for ; Sat, 16 Oct 2021 15:07:11 +0000 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 9285F2DF07 for ; Sat, 16 Oct 2021 17:07:10 +0200 (CEST) Received: from localhost ([::1]:41402 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mblHB-0002P0-PR for larch@yhetil.org; Sat, 16 Oct 2021 11:07:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43254) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mblH5-0002Or-4H for bug-guix@gnu.org; Sat, 16 Oct 2021 11:07:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59518) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mblH4-00044b-OI for bug-guix@gnu.org; Sat, 16 Oct 2021 11:07:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mblH4-0005ok-Di for bug-guix@gnu.org; Sat, 16 Oct 2021 11:07:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#51141: guix home reconfigure does not apply changes to shepherd services Resent-From: Oleg Pykhalov Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 16 Oct 2021 15:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51141 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Andrew Tropin Received: via spool by 51141-submit@debbugs.gnu.org id=B51141.163439678922320 (code B ref 51141); Sat, 16 Oct 2021 15:07:02 +0000 Received: (at 51141) by debbugs.gnu.org; 16 Oct 2021 15:06:29 +0000 Received: from localhost ([127.0.0.1]:42830 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mblGX-0005nw-9m for submit@debbugs.gnu.org; Sat, 16 Oct 2021 11:06:29 -0400 Received: from mail-lf1-f53.google.com ([209.85.167.53]:36471) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mblGV-0005nj-U6 for 51141@debbugs.gnu.org; Sat, 16 Oct 2021 11:06:28 -0400 Received: by mail-lf1-f53.google.com with SMTP id g36so38634642lfv.3 for <51141@debbugs.gnu.org>; Sat, 16 Oct 2021 08:06:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=AS4gmX+dIzUX3nycL526k1nxP0WW3RaYaEFuOXKJcD4=; b=kNPaIVbPk4zONdVVRk48g911C11lOuAu4LsRxqjEzdqZZ7JQHXw0NKC7nB0dqoHp6n ECKuKTvyzamoGTAplG9dmhQl6z1Y3GCJmpcG7mNBzeygYDhz5mrMwlW8xB+o4vYrO0sb 9HRe2yU2BvYx+d7rBdZt6QKjkwvwjglrLkwisCKr7gHDs7ltIuq2h5R1Rtnkyt0o7faP w4Jgax8B/KNCJZx4ZU/P06Xa5pOsckOLdNk6HIoQSIE2vo2Wf25q4HH+w6eC/k1LOtKb 9tE8XvA5h+0YZGtFN/aAP+Hu99TKqDsBaqQ21yRq3FWXJuciRmrt2GymLEHEtNMKyhqK cB1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=AS4gmX+dIzUX3nycL526k1nxP0WW3RaYaEFuOXKJcD4=; b=DkJD7rj3hoTBC8cTr4gv6q3eSGwTtI4T3zs+GOQ/a6Ewa4LuLjQrPdP5eHXG+xQ06T 8w+XijJLtJocRk8Ndl/DsTrqTaB2jLGXcRvWWvMQnJNM5IzV+BhJX1HvOsUr4O6u0Ybv KF3CBp8PzDPMKOJOSQmcnQm8GReKuyzDpsd3C9T2ClbzS3myN5IdZsFfqSjgs4G6mmLf LRXw3257K02sQUtl1+OKDq+8eOY5QIy7NEl64DDobb0qcvsdbzR/S69V/J05MzUMJASv IDjfFMhHIBm0NzVjrrIDh/mAWrH9kQ7G0h2SVKS0RTrEWJF1oBLv1Bf/b2vin8Q1Hi/w 5s1w== X-Gm-Message-State: AOAM530b8/7OZ6nB1Xbp9pxOI0gv9G0KxprAHT+yOK4JMmvYeo2c9/Za okVcMrfGOaEzkntNOEku0IFDvCV1Qg4= X-Google-Smtp-Source: ABdhPJyYsKx5kubr9sFXFwdgvEsZ+xsDuMmGrOK9lRohkyRuQlcshPIwyy1mq7M8IdFqj+dOxEwb2w== X-Received: by 2002:a05:651c:1689:: with SMTP id bd9mr19145453ljb.22.1634396781511; Sat, 16 Oct 2021 08:06:21 -0700 (PDT) Received: from guixsd ([88.201.161.72]) by smtp.gmail.com with ESMTPSA id b10sm962451ljo.14.2021.10.16.08.06.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Oct 2021 08:06:20 -0700 (PDT) From: Oleg Pykhalov References: <87k0ijxjfu.fsf@gmail.com> <878ryuoljj.fsf@trop.in> Date: Sat, 16 Oct 2021 18:06:14 +0300 In-Reply-To: <878ryuoljj.fsf@trop.in> (Andrew Tropin's message of "Fri, 15 Oct 2021 09:21:36 +0300") Message-ID: <87fst180wp.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" 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: 51141@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1634396830; 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: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=AS4gmX+dIzUX3nycL526k1nxP0WW3RaYaEFuOXKJcD4=; b=LJh9j/YQNLYb1xd3NyfOaZzJ3SqV8uZP7Uy7V1pfWmykSYtvt7yAsK3GJb4UAOtivgD6Tl cfN1v7UHuifeFVLkVDyYj0ccZf3R/l2MpIab24FkvGH7KzoPd/0eW8BfPNGRt5eQMB28U3 hEUd4uVEtd2+W/7x5wvuwCHcFOh53joX653BqP8ike8FaTbA/WHe+98iI5opv0jnqz8AYT nM3Ghl/QV7P/V3uAbguUVKzMpUarfEO1ITuQU53L5J+Xan0o3ijxYFuZUFFdJwKXwmmeYs qtLa2JUI/hWP1n1FdJq+eKN6dECuF9ASyYa2mzTNeugUY/FbRvF+1NX9eBgkww== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1634396830; a=rsa-sha256; cv=none; b=PwiTa7VsMnWDchbuoxDhOxCfwm1daOJ+5PV4JmKzJpmqRr2cb+Je+hdXpTDu7HeerTInJx gxRgdGXtmkmDFXkgyU9IXG3zZ5+YMXz1eUDcyraYa0QjKkyL0qpcxp3KtjQXWtGwP3BMgj PNBMex+zHY14CngYT9qNiD/XZhigEwPYFx2d0tV/nRARqlIXESfdeOUSNpmF9SR9MBooIj QUZNk9Ea8diPSmaV3UUaSP8+QHIJu42N9kj4YKVKBl3cZhepZckh4MLKkvRTXlhtbyo1hP u4IrBCnm0x/KkSePoMlueCIvD/Eif55GXRheI5J4KMzHStqBDsW1ib6ggneV9A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=kNPaIVbP; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -3.82 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=kNPaIVbP; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 9285F2DF07 X-Spam-Score: -3.82 X-Migadu-Scanner: scn1.migadu.com X-TUID: kJt56Vqz/5KN --=-=-= Content-Type: text/plain Hi Andrew, Andrew Tropin writes: > On 2021-10-12 01:53, Oleg Pykhalov wrote: > >> After changing a home shepherd service I tried to reconfigure with 'guix >> home reconfigure'. >> >> Process started by a service did not restart. Assuming home shepherd is >> like Guix System shepherd I tried to 'herd restart SERVICE_NAME', the >> process restarted but without changes in a service definition. > > It's intentional, only `herd load root new-config.conf` called on > activation, so existing services are not affected to prevent situations, > where emacs daemon or other important process killed in the middle of > unsaved work. If I change something inside a system service definition SERVICE-shepherd-service and then invoke 'guix system reconfigure', the service will not restart and not produce any effect until I inoke 'sudo herd restart SERVICE'. After herd restart the service will be running with applied changes and does not require 'herd unload root SERVICE_NAME'. E.g. nginx-service-type. I think this behaviour should be the same for home services. WDYT? --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJIBAEBCgAyFiEEcjhxI46s62NFSFhXFn+OpQAa+pwFAmFq6mYUHGdvLndpZ3Vz dEBnbWFpbC5jb20ACgkQFn+OpQAa+pw/rg//XMp7YM4c2grdQlnKRlpzVYTrmy7/ WUnByU5fENGUdF6FrTa93NGz7cAnld930m8lPMgKApyBi/G9jX6TP5Oj+FNlX89x SCAzXpoBhbBBB9wbHmz09OwatKcnLIf98zD9kQyyxxvZY7B3A4gbuP4+RMvZTYUk 46HAEeiGwSq7SEAsx7a9qo1/Mw/wXx+fNyO8ONK5J9Jdkta+o0agZYeatZUzZdfc vGaXWevqJDbiABCIoCIiqEzamd36vTq4jH7ZseHtnfPF+O5d3KDm1qgmu6/csQG0 ZVIOx3Z/obTvW2M1uE15KVXDM2mkgTAP1fXKEHRVxdc9ntB+bLxHn0ewfsBGMkHJ zbGG/iB3Fl2umTPiKQ6Cmmsrt3ZvkS7ygTrH08s27HwyLQnNPzbS3/jA2w8oq5lD TAel487EX15marl9p6k7fRgGN+xjlhigdEbQhr5mVoPb1br2Wz8AG5CbVKzZVBFS X1qBSUMe6He8w0p1CZI2ndjW9Mi8KjKMdhUrmooiexiQFXOiyo9+g0AWW2ZvF7MG FXO/7tZNvnW2ARwl7aGWy8NGbUZwsjcvJYrNrPexPcYJa7zxCRbg9t80TeEHr2V3 YBr5I7QsOqRFbwsxeKBTOBHPabxaUzZOpSNJgM7VzOxXEXXwqxrI9+CzAn8nZvVB XV1kriQ2FdRbpvQ= =AFHX -----END PGP SIGNATURE----- --=-=-=--