From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 8GWYAmXsQmfiOQAAqHPOHw:P1 (envelope-from ) for ; Sun, 24 Nov 2024 09:05:41 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 8GWYAmXsQmfiOQAAqHPOHw (envelope-from ) for ; Sun, 24 Nov 2024 10:05:41 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=landt.email header.s=MBO0001 header.b=DcprXqct; dmarc=pass (policy=none) header.from=landt.email; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1732439141; a=rsa-sha256; cv=none; b=EWBfpxDpe54YchN5L6JQLIpQcQx6POdtJ1avPzHUfh7pfAc10Jyc22npnlHOCMeX1XJJup s+oVvwWCZvrDvCrpLUqj54wSwBFoIIIVS32wR/+GVKleqBc4Z6P6GxcTN5z3o0y4zQIvtz FFQ3BocasT+sYSYgxaiFsKoWAnzlzoa/OXnzd0NkIErRBEp+PXA+iy7TAaVUEu6H0lRIhR CNmlUgaamAIyKDgMXB5YeNRw1B18Vc9FHxHrqkA26xzBFgsPJxCVfEq5O5B6+FpJ+sXGKf mNBN0WN/f4wUPCFFQfrCUnpCi9y2Nq+H9rngpS1cmdK7kP1TZmKeE5Qy6VB9BA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=landt.email header.s=MBO0001 header.b=DcprXqct; dmarc=pass (policy=none) header.from=landt.email; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1732439141; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=rPBQYDdgFgJAd9pUNPvOpVYuswG/ZuZIZgIddtpldUU=; b=gRtFp4aYwgj0AFeMLACuGwQqeIss6anZcOHk4DBpkmJtqoQEsteswXrmUsQ7j6CVVlZzXB ueiznA55Twz/giasYlSr7tCWHD6PDh8+SjKDCTDmuC+4xFkWYiGonQPKYwBN6TP/BsXLgE x7JV3hulHmSb2xs8WwvLXVim5JbOulGJKiV0C2sK4dprCj8ZR98R8jrZ6nLLw7qdcRomDi hPRcto5NXefMwTzNSLvymLvm2z2oPErweBrJsagUisM4nkfx/OBjvoyH+HfKO0avTp3/Ha 0UCcnwn3UKs2QulMvoK0vjnD5hQsbETf0Pl+cfeo5OxODKx1swBvwNPJoWGuIw== 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 706DB184AB for ; Sun, 24 Nov 2024 10:05:40 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tF8YE-00039I-1L; Sun, 24 Nov 2024 04:05:06 -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 1tF8YB-00036y-VD for help-guix@gnu.org; Sun, 24 Nov 2024 04:05:03 -0500 Received: from mout-p-102.mailbox.org ([80.241.56.152]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1tF8Y9-0000zz-Lo for help-guix@gnu.org; Sun, 24 Nov 2024 04:05:03 -0500 Received: from smtp1.mailbox.org (smtp1.mailbox.org [10.196.197.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4Xx2wG4gbrz9smJ; Sun, 24 Nov 2024 10:04:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=landt.email; s=MBO0001; t=1732439086; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=rPBQYDdgFgJAd9pUNPvOpVYuswG/ZuZIZgIddtpldUU=; b=DcprXqct074uX7JbXC/WSmdr7RaITrqrymjbkj6BlLNJS2sWPJsUYeWLLeL0SHtj+UCsnG uUabktNts+gu3f/dw6lxUcHeu5PdSvG4SuZno0SR36jhBb43Wn/vWuf8wVDhwcfHRodJ0D BS/1svxKMgV9UiCIfbJx9WuBXPjMFV6UQyzqMCG0YKB1GzNJp0fNdKR5iqbPYBCEfihT/8 VxVT93ZMK2rMkOWn709l2w2tfLffWPIppVIhFj28i85/LZgFgZYOgPCWQ10NQ+E09mVz8u 6TIFJ+riG1L5s3PoANzadv/Hx0zZIhCyZspgHlDTlsgRDACr1/unfdn5YslMEQ== Date: Sun, 24 Nov 2024 10:04:45 +0100 (CET) From: Nils Landt To: Tomas Volf <~@wolfsden.cz>, help-guix@gnu.org Message-ID: <955095031.1301779.1732439085864@office.mailbox.org> In-Reply-To: <87y11bf5vc.fsf@wolfsden.cz> References: <87y11bf5vc.fsf@wolfsden.cz> Subject: Re: Why does stopping user shepherd kill my Emacs and how I make it to stop? MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Normal Received-SPF: pass client-ip=80.241.56.152; envelope-from=nils@landt.email; helo=mout-p-102.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -6.08 X-Spam-Score: -6.08 X-Migadu-Queue-Id: 706DB184AB X-Migadu-Scanner: mx10.migadu.com X-TUID: oe14LZgURnIR > Tomas Volf <~@wolfsden.cz> hat am 22.11.2024 20:03 CET geschrieben: > > > Hi, > > today I noticed that when I stop my user shepherd (`herd stop root'), it > kills my Emacs instance. I would like to point out that the Emacs > daemon is *not* managed by the Shepherd, I just start it using the > following in the `init.el': > > Emacs does not log anything into the terminal regarding the termination > cause, and shepherd does not mention anything at all. Here is full log > from shepherd start to termination: > > --8<---------------cut here---------------start------------->8--- > Starting service root... > Service root started. > Service root running with value #t. > Service root has been started. > WARNING: Use of `load' in declarative module (#{ g107}#). Add #:declarative? #f to your define-module invocation. > Daemonizing... > Restarting signal handler. > Now running as process 17602. > Starting services... > Configuration successfully loaded from '/home/wolf/.config/shepherd/init.scm'. > Starting service ssh-agent... > Starting service pulseaudio... > Starting service dbus... > Service ssh-agent has been started. > Service pulseaudio has been started. > Service dbus has been started. > Service ssh-agent started. > Successfully started 3 services in the background. > Service pulseaudio started. > Service dbus started. > Service ssh-agent running with value 17603. > Service pulseaudio running with value 17604. > Service dbus running with value 17605. > Stopping service root... > Stopping service ssh-agent... > Service ssh-agent stopped. > Service ssh-agent is now stopped. > Stopping service pulseaudio... > Service pulseaudio stopped. > Service pulseaudio is now stopped. > Stopping service dbus... > Service dbus stopped. > Service dbus is now stopped. > Exiting. > --8<---------------cut here---------------end--------------->8--- > > Would anyone be able to advice why this is happening (or at least how to > find out)? And, more importantly, how do I prevent this? I do *not* > want my Emacs coupled to my user shepherd. I have no idea, but did you try stopping the services one by one? It might not be the shepherd killing your Emacs, it might be your Emacs crashing because dbus (or something) is suddenly gone.