From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id AKi+L/7dRGcbzAAAqHPOHw:P1 (envelope-from ) for ; Mon, 25 Nov 2024 20:28:46 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id AKi+L/7dRGcbzAAAqHPOHw (envelope-from ) for ; Mon, 25 Nov 2024 21:28:46 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=Gv7y+FY1; dkim=fail ("headers rsa verify failed") header.d=wolfsden.cz header.s=mail header.b=Hs8itBJb; dkim=fail ("headers rsa verify failed") header.d=wolfsden.cz header.s=mail header.b="c/ZsXesl"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=wolfsden.cz (policy=none); 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-Seal: i=1; s=key1; d=yhetil.org; t=1732566526; a=rsa-sha256; cv=none; b=Y/7iIjJSbJ0xkgTzGodpOaAK47pM6wdndDc0Qr6yNQi10Sp6UCLdBqb8u63sLV4KScA05U KgwjCVFYhZ5vYadMV1wNsVn3EyE/yeO36bsYGhUxJPOR0vHr6dnvJauxIqlWbL66gp9oAh ZnFGlDRFmfFNRm9xQynsYCs4P7aOXaQUgJZ/sRrjumc3OLEeGqQz+fSj3AQ9rBy8BX1kWw zxzmpjOFvGerOlP8/XAF6xWDtNheMyW83D1/NN5cXVkjC/teKu6BrI5rm8X9h7vc63+fEv w8LM3xlKIiAJfzQBmJ4+kiBXTHbsShdrlQTUK7VCYhRS+1C9yqO7k1xDXZd17Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=Gv7y+FY1; dkim=fail ("headers rsa verify failed") header.d=wolfsden.cz header.s=mail header.b=Hs8itBJb; dkim=fail ("headers rsa verify failed") header.d=wolfsden.cz header.s=mail header.b="c/ZsXesl"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=wolfsden.cz (policy=none); 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=1732566526; 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=6pYo1uHYLXTTMwKU3BuTaxA3zcv7x15P/bHYiPoIF9I=; b=Uzey4ctUtVXUlpCgDGCN5PQDJ/u6QJcxJUTKApkXXqwlLZAbB8Pt9ALKE0TNXeckSiec8B kYp89LnNPlyMzsCldiWe1Sl2MkEPos6+8bnjDiMjFKYvS37s6kfEFRmSxjFcUkmsP8E+A4 4+AYsKx2LDR3TgrMSrJAc825asm34bbfRsgcBTLrI8oDKb1POWvwY/0NFjfHZRrqWT7M/4 KWecERWMKKNxXjPAQx5tO769Eh6TyNa1Ml/BPTQq1w+/P9/dPrx89mXHp1L8MO+JsSfaln 8GdZ9JoPbUePpqIyCo7oU+SAKeP4AcowUImFFVx+m8Waxq0BQ2aU28T2HCiHUQ== 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 B7BBB7D8A5 for ; Mon, 25 Nov 2024 21:28:44 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tFfgq-0001mO-5l; Mon, 25 Nov 2024 15:28:12 -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 ) id 1tFfgj-0001m0-3v for bug-guix@gnu.org; Mon, 25 Nov 2024 15:28:06 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tFfgi-0000yz-8m for bug-guix@gnu.org; Mon, 25 Nov 2024 15:28:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=6pYo1uHYLXTTMwKU3BuTaxA3zcv7x15P/bHYiPoIF9I=; b=Gv7y+FY1WM3Romb8yqbHb0zQwXDCJfLolmXdJp0lnMBtI/L6kWRMLLMzNt67SpHK/JnTzCHjdGxYCl4umyqpmAvXhN6Z1kBD4eMSvjQLRqsfFhqYqphda1ilDiaCBd0Y2oUYmAdnzT4s/+kTzVftu7QVaxKcOHF5qUcQz5lMLCWrvVJ4nrEBruuqxGxRVkkaWlIcF0P81OCI+dAths2chkpMRqMhMePgDuHu+WvaLD/DrfHyBcHTfgMn0A477X3R0U3vpHSYtGqBLFG76OA2oOrN75no0wcP1+yK2Ik6b1lf6lnky3P596M59OZ+kuf7eW2DC8Q1rx71QYpJiXiL3w==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tFfgg-0002nP-3i for bug-guix@gnu.org; Mon, 25 Nov 2024 15:28:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#74534: [shepherd] guix-home managed shepherd shares process group with shell Resent-From: Tomas Volf <~@wolfsden.cz> Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 25 Nov 2024 20:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74534 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Jelle Licht Cc: 74534@debbugs.gnu.org, Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 74534-submit@debbugs.gnu.org id=B74534.173256642510649 (code B ref 74534); Mon, 25 Nov 2024 20:28:02 +0000 Received: (at 74534) by debbugs.gnu.org; 25 Nov 2024 20:27:05 +0000 Received: from localhost ([127.0.0.1]:41350 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tFffl-0002lh-1b for submit@debbugs.gnu.org; Mon, 25 Nov 2024 15:27:05 -0500 Received: from wolfsden.cz ([37.205.8.62]:36608) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <~@wolfsden.cz>) id 1tFffi-0002lE-A3 for 74534@debbugs.gnu.org; Mon, 25 Nov 2024 15:27:03 -0500 Received: by wolfsden.cz (Postfix, from userid 104) id 6A7F734647F; Mon, 25 Nov 2024 20:27:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1732566420; bh=SE7MC78MxcP/8VCV9cXIZz455Y1IUmPcCXiRXi8Xhcs=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=Hs8itBJb3wHOJoNsuMR1e6IiFn0/1nWn4Bnuv5NbgXU4Xku13QitJPFjfXYMWCC6Y zqccPzYFAVmmNTe+k9zPHySorY8CX9bqDc80XOU0Fa14oZ+mLDPjI/wloT/OOJRanj raGT2SOo87dEpUJHjVjUuLHNQ+hyLjmLxITTEGb4LyrQIbq21Lb80493VzLoQyz000 J8GYhVXEhWfI4hYBttXUzNQxW+bVlzUC/eTWobparFozKW7d0tdvJB/UwRv1t5aU7M M2qRIAqIck/ojZ1b+Xc8ZqfF4hsYH66PUoJoax4wIZZekxiYmTX4E+XH7bU/QWI/Z3 FI1S80EbTLAOWbQWCup+sb4Ui5H2+bjg66YHKhdl8OjryyQ/TS5oxMfjW+kU1rCEQ+ 0D9LGMI3D+MWmNe98b0DjVop12zKm8VLGmrXE6Ejg14mMC7kWfiuvvr3d0pLEeiqwk dQ+mPA6iHvsp4AkXBj6zsYgUBm8gVKy7aa24ViduEnZSast8Ka8j/HdTvDOdK8lLiK nopZKikkLLk1ocRvZZ2uVYgmJL/pXZCGN4Brw5hFktE4HVL8JC7/x6WOP4JsRxV4XM D6pi+DdJOtAKuqGmd47pXOUmHhp2bJ9pDMbdtRMEA5T0jN+vu76MeyW/YDhkTDs2x0 31uNgk1vnYISjJ7qTZpj1XmE= Received: from localhost (unknown [128.0.188.242]) by wolfsden.cz (Postfix) with ESMTPSA id BBD99347DDC; Mon, 25 Nov 2024 20:26:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1732566418; bh=SE7MC78MxcP/8VCV9cXIZz455Y1IUmPcCXiRXi8Xhcs=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=c/ZsXesl64IVpEOQFj1bcBShUax9yYdf1I93iQnIy9UlKGvJSOps3BM8UXdZuqKij smzslCjYSpmeAdc6WGHUvOGSj0loBTUOfgXalzn8uxgNtYTekFG3RapxwlxBLu03Pg ONC6v5B4WfQBBfcCbjH5ULjM19K5SIwV9vsBt1FUoOp8upZIjDPJVIsZJvvHYle9VZ hmHWb67nInMDUGdUha5b64ll3rywkZAA352pbGtRwjbZNgNtQBP7Xp3dKYrd2HZ9vZ WkxQGrcrC0Q8CgDox8tcqeUmzIq69E47pJ5hSHrW8yefyvl/98EVahzfvHBve1kwnn UsElbHovOHc5A4ciTA3IIpV56f0swoRdrinEqwWOm0H7N3LlWz/NJTUvtP8C28YFaj sQLzStDZ0lhtc/Gw7nKhRQc/UkzEgfw8hojLz7OLErZ1TUsWnMD4zugXxVQqtabNOF dnHk6R4esaSArLialIfR4XyIJuW+z3QnrjYgSHh9Q1j1p4wKLXnB1G5xKxhoSU3C+9 z0ZM19LbmkwTHB8tfIwcVSH9guz8xs3jIA8KSQWKi5bxO9D+unZYE8rLBUXhSgPNFR m8YES6imGiRkM1dHFUX7IWISOWw9nEgtMCG1TZd4Kw5w2d8w50oDpNHkQKmEhlPwq9 2XXH99JbNf1T17ETSA5P9L7o= From: Tomas Volf <~@wolfsden.cz> In-Reply-To: <871pyzi1so.fsf@fsfe.org> (Jelle Licht's message of "Mon, 25 Nov 2024 19:52:23 +0100") References: <874j3vi28g.fsf@fsfe.org> <871pyzi1so.fsf@fsfe.org> Date: Mon, 25 Nov 2024 21:26:58 +0100 Message-ID: <87v7wbcb59.fsf@wolfsden.cz> 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-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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: B7BBB7D8A5 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -7.61 X-Spam-Score: -7.61 X-TUID: +Fg4/7UVWN+q --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hello, thank you for CC-ing me. Jelle Licht writes: > Addendum: > running `herd eval root "(setsid)"` solves my particular issue, making > ^C on my shell no longer kill my user shepherd. Oh, that is neat. I did not realize this can be fixed like that without modifying shepherd's source code. I turned it into a service that I added into my home-environment: =2D-8<---------------cut here---------------start------------->8--- ;; Bug 74534: Home shepherd can be killed by ^C (simple-service 'call-setsid-in-home-shepherd home-shepherd-service-ty= pe (list (shepherd-service (documentation "Give shepherd its own process group.= ") (provision '(setsid)) (start #~(lambda _ (setsid) #t)) (one-shot? #t)))) =2D-8<---------------cut here---------------end--------------->8--- Have a nice day, 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/wakFAmdE3ZIOHH5Ad29sZnNk ZW4uY3oACgkQL7/ufbZ/wakHoA//ZtZ3FwEGwks1dTcez0yyYLOuMFh8f3MQUTuf XM4cEg5Dt44wB2dumSD3CKFRDNk4JBuq8h1Ay53M1bGhSrxzPgr444SsswLXMbr3 gXeAxxy7vXGjh6H0eai5dkObcPJW7lDKnbWdK4unQHnr1g5WwAwWEAZNTB45RRyj zSjwdC/gG55pVIu8c6fXAHmSDvV9kdcoHIF4IfgX50rAkU0N6WVeAqdda2tboLKb wHoqNiZxJRbNJAyrRf/JVrWHFgTXQc9pcX76n3xU6t/bEFPQZbhF9mdjoV2F06aP JVXCV0RXjfa5NWY15B59bAG1Danm0ru2Di4K1Qlgpnx2AXZsA8X1/fBwxfNpUAq8 CamozkoQ4Qxsf9eNSEsV9ZmA1yviyqGIwsFFo75sEngVF0IVOVYeuTs8Kepjouv5 Z6CCGBIumgRaxMyKgM3TMEXSdOi+FxCIhWrAfw/WaSeTxItuKEHzzhPs04afUNzv lrH2V4js6NVoq6LIV2RIBlnbglaRygc7bjm6bf4KHJP5fhKolZlcmPi6w2sd9704 YE4FtnvsPdJYPLubUB7LAYfW5qtOU8+OA6gmO12CFc8osskSqxbdFoVnijR1RAZf 3TtwiOwsw2GZm8hVN1LVoXRaEgcOj7UgyttTC/f0cNt9yl3CX7Kzhr0PjJwzPpP1 69f3mio= =tWsi -----END PGP SIGNATURE----- --=-=-=--