From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id kFhMDNEgSGc4RAEAqHPOHw:P1 (envelope-from ) for ; Thu, 28 Nov 2024 07:50:41 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id kFhMDNEgSGc4RAEAqHPOHw (envelope-from ) for ; Thu, 28 Nov 2024 08:50:41 +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=j1dwxYwZ; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=hroH+YN8; 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-Seal: i=1; s=key1; d=yhetil.org; t=1732780241; a=rsa-sha256; cv=none; b=siQwhUGQhGDvhzPZOOjb3p5gw9RydNHPmVWR1fXxuPibn68nCDyeLzaWYKzSOxowREZzuK HZUAOtU6f90+CFNNHfheheTlX6SJYGTl/JCDYCfwrf4kPym3tpK1QWOBH5mXrsuuRbfVDn YtlQsVVFch0GHDnYgJEsawRANHDKkOJLqN8u7sS/6NawVBE4TQt+6FgYb7Xz7Kux+WUgu+ 6eBEE6oPufIKm5la3g5717cqiAEVeKWDkF5MRZIRrusJv0i9l4unGC0hv/zY8p5Xy+eeW+ IWOK9UDqgp6k54oXbHdI01h7ottP3YEZQsNENwN7Q5ntW6mSGTsZiHTpzkW9VQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=j1dwxYwZ; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=hroH+YN8; 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=1732780241; 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=LUQ+hhqFajjO4WRmyMhqAqVm13wN/3l76Z6HRiJqUB0=; b=k7H9frAgIsNf9F38A88qr+Ym3VLYpoYkogIMx6l7B4YrgP5kjGQJeZc+PXyKELiBuifTh4 ODOTAnvZ+/zacZJ1vEPibQclW2nVVagRccE9NsY6hUsM43aWPF8uszhfrJCCEx//WOEapn n60ai9RzgIRTeHy4R6yARrgEIxGFMNwtomcQ+zv3hwFvZvRPdegBg53FPOF14CwOsGRCo/ cg2ffTX2mXcBgeefAwKKJoedlY+m9bpwqsv7aqA6PVZ+DTgiPw1C12xIAlfOHuwOFuIC3h LCTyzg9npNy3BQbHOJjQBv1/tgnltqP+EWQiXbQHlHe6NSINd8UAEiwHKDy43g== 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 1B5DD204B for ; Thu, 28 Nov 2024 08:50:41 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tGZHr-00076j-W6; Thu, 28 Nov 2024 02:50:08 -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 1tGZHq-00075p-U1 for bug-guix@gnu.org; Thu, 28 Nov 2024 02:50:07 -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 1tGZHq-00012Y-5O for bug-guix@gnu.org; Thu, 28 Nov 2024 02:50:06 -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=LUQ+hhqFajjO4WRmyMhqAqVm13wN/3l76Z6HRiJqUB0=; b=j1dwxYwZvhgqhZSRcCEPIoLkflx8MeyHTlnf274TEpszn0mvbYA9CzZUgD5CCyIonLqxU7u2HDG3jtr+QXCMpKKepIemi76ePSwaC1ZsXlqRk7kvpXXzU/8eWLJFY8zH5sqOo2vKm9gRznsSJBSZceI30K5gXeLwWyRv0WS2b0NeKx5ibLdHdtFe0D9yMiRW9kSSwzylmjgkpgoJ7vqNBy8y9R4BeV71rqFlTEly8TZ8HOhzWBX7yL+X/kTLr3/rRRGiENV289CBpszrQDHkRjkuIDaSEFh1yVQqxG6IUzSeOQksUQkwn1WCF6iWlcVYcUY6x9I4Oe6R21A/lRHXjw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tGZHq-0001Ff-09 for bug-guix@gnu.org; Thu, 28 Nov 2024 02:50:06 -0500 Subject: bug#74534: [shepherd] guix-home managed shepherd shares process group with shell Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Thu, 28 Nov 2024 07:50:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 74534 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Tomas Volf <~@wolfsden.cz> Cc: 74534-done@debbugs.gnu.org, Jelle Licht Mail-Followup-To: 74534@debbugs.gnu.org, ludo@gnu.org, jlicht@fsfe.org Received: via spool by 74534-done@debbugs.gnu.org id=D74534.17327801564596 (code D ref 74534); Thu, 28 Nov 2024 07:50:05 +0000 Received: (at 74534-done) by debbugs.gnu.org; 28 Nov 2024 07:49:16 +0000 Received: from localhost ([127.0.0.1]:36300 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tGZH2-0001C2-69 for submit@debbugs.gnu.org; Thu, 28 Nov 2024 02:49:16 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38710) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tGZGz-0001Bn-CV for 74534-done@debbugs.gnu.org; Thu, 28 Nov 2024 02:49:15 -0500 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 1tGZGt-0008Qu-PL; Thu, 28 Nov 2024 02:49:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=LUQ+hhqFajjO4WRmyMhqAqVm13wN/3l76Z6HRiJqUB0=; b=hroH+YN8LBv97Pq4tPtE qMDsArcdOBSuYIMWYEu0xwFrTgjMIsUpOqykVxIfjj7j59AY11FBFqEj4lDepGUpD1Vxx9S9UUDvE RSaimQelx9ftzaq27VSgKs4DtaG/w+gwFQbTrXU7EjtFiYcQKgPPNTLABHu31qws7H3UTIcGBju1O Nb/nR63cGinm4yzvHs/yly25wmRiMmkllV5AtUQbLmS7WWkDJxjrdwYGT8060KOm3Flt6NTJWSHR1 oKwkPgthLdJI7m9L7b/b/RZoAvZ0i6ZNFmJobC6UxCCR2c7jd2fmvOEXSmR5ZWSW9eyPcDBkDr74f Mu1Hojqmfc6iww==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <87v7wbcb59.fsf@wolfsden.cz> (Tomas Volf's message of "Mon, 25 Nov 2024 21:26:58 +0100") References: <874j3vi28g.fsf@fsfe.org> <871pyzi1so.fsf@fsfe.org> <87v7wbcb59.fsf@wolfsden.cz> Date: Thu, 28 Nov 2024 08:48:34 +0100 Message-ID: <87ed2v94tp.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -1.74 X-Spam-Score: -1.74 X-Migadu-Queue-Id: 1B5DD204B X-Migadu-Scanner: mx12.migadu.com X-TUID: eNie2hb4ezFe Hello! Tomas Volf <~@wolfsden.cz> skribis: > Jelle Licht writes: > >> Addendum: >> running `herd eval root "(setsid)"` solves my particular issue, making >> ^C on my shell no longer kill my user shepherd. Fixed in Shepherd commit 2b41e5bad65e783c7a9cc4d7a3f460cab6b64285. > 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: > > ;; Bug 74534: Home shepherd can be killed by ^C > (simple-service 'call-setsid-in-home-shepherd home-shepherd-service-= type > (list > (shepherd-service > (documentation "Give shepherd its own process grou= p.") > (provision '(setsid)) > (start #~(lambda _ (setsid) #t)) > (one-shot? #t)))) Nice workaound. Thank you, comrades! Ludo=E2=80=99.