From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id sNKGD6/VQGdlJgAA62LTzQ:P1 (envelope-from ) for ; Fri, 22 Nov 2024 19:04:15 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id sNKGD6/VQGdlJgAA62LTzQ (envelope-from ) for ; Fri, 22 Nov 2024 20:04:15 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=wolfsden.cz header.s=mail header.b=b89BuNFR; dkim=pass header.d=wolfsden.cz header.s=mail header.b=P6aVlCvJ; 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"; dmarc=pass (policy=none) header.from=wolfsden.cz ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1732302255; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=nss+EAZAYs31ENDjCSblHwMsc5oe3diEAsg7Tt2AprU=; b=s/yqWhffQsUHjL8RkSrujOxg3VrfrKlHF4pR+01wUlKpLlR7wdJFn/n2nJcNsoKD5PgWyy /BqrYwXC0RZqRmSDZjXw8OyvX6QLuc3V3xZfJZArjEto78hSnbA9iRglOf2n3xllya9cO4 Y6RJFIO5Sdi6zDBXLIJnXHpLlx95B0948zBWGINY/tGDqfEBPWJQREap4+uzYkPwejpLwB EvzNY8+djTLRVP36Qi5iRXNutrBaMClUohop3WC0DFhfyJKbRJ5FmWBx/S+KoQPCHfM7Ws jV0gBZyHcnW3pQQlC8VT+I25FBV+LLjCFe6xlrJrNyXDLuX/Wejd/S0TpNXMgw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=wolfsden.cz header.s=mail header.b=b89BuNFR; dkim=pass header.d=wolfsden.cz header.s=mail header.b=P6aVlCvJ; 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"; dmarc=pass (policy=none) header.from=wolfsden.cz ARC-Seal: i=1; s=key1; d=yhetil.org; t=1732302255; a=rsa-sha256; cv=none; b=XuYXx50e2qcVrfbPp6gitN4V0eYtZ+ucwMdBQ7qq15pXWzwM7GnHU53bkAtiCMorYKeaAB aBwbUPNdyMmj25xT/uDLPZBWwRG7PooxqR9Vpg3/hlauuS+IBGIvd99OUCIj3zETdfl/8D H0CxGrA+PxrSRlY5RRVCGiyVtqIilHYlmZ38IMYvapYCYub3sy22jvTBmBCGQwPYZwbu1c fncHiVVUxIULqG4pgJXt/CoJ8IEcgkjWdIFd0VZfbXUwP/uMpjiMp/8OiCSOEdDq1068nM aEsOi0gLD+DyN5OAS9tfDCukLUy85dcqhsaFM2KJQ+7FKiHSUDM/ZuJY6wTQIQ== 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 03DB2827EE for ; Fri, 22 Nov 2024 20:04:12 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEYwU-0004Rl-9l; Fri, 22 Nov 2024 14:03:46 -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 <~@wolfsden.cz>) id 1tEYwS-0004RD-7w for help-guix@gnu.org; Fri, 22 Nov 2024 14:03:44 -0500 Received: from wolfsden.cz ([37.205.8.62]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <~@wolfsden.cz>) id 1tEYwQ-0005wD-1j for help-guix@gnu.org; Fri, 22 Nov 2024 14:03:43 -0500 Received: by wolfsden.cz (Postfix, from userid 104) id 05A3E363C88; Fri, 22 Nov 2024 19:03:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1732302218; bh=26nvEqXehYz4mv1mEqtpoflJSZEEpfrD5gxIOgd35Wc=; h=From:To:Subject:Date; b=b89BuNFRv1EER/7prUfkKEmUsU2IBaqZlJp2khQFFPo10kJ5yR8Zcwg/DDY+wRuSt P9Hlvg+Js4+2WTr6yyPZ5XV4b2Ejpp94c836dTl5vk7zPpghrMl6xp6k72pUVZWlWB 32JH73qZFeS47GsgpYqPhyxKcGYIh0ADHCHvV/Pzf8COiSXODehgyTHluSF0cvT1i4 37eyJlN6ATVluyVU8N9WjZepWJ6Je0b/ImJ8e8tZZe2X8IbJIy41E4EZ5X6dNvobzJ Wa+2ykp4d0BtAsoNOEH5IH95BZ6yHf3KB9odyUK8seyD/rNO8DMMPwBdJ0B8Q93RHy 8nK8inaci+z0MlqW31bpPkL7PlAk+4dsaHtUlECjpnIbAPP0ooeZeqi763cdsUqqpR /dlDAq5tvB/WBa6VRRJZbLO3D1j5NjXSgXHudjAy4eCyr/v5ZruDQsv9R3gTJv8fiG xqSBuoW2gGBYFLkPysV4YMMHXy8F5sZXEeYMR+VmrDwWTUW1K6D08IKMD7zLXq9XDj t8xle2L9JUDkAe7aYAGsLOuon2wYb4fRr2u4QEqOe9N6q37VL/tReX8uybEp8zmlcw YrUV4wKqNhDTtIS4WwVHMDxgVUVHPQ2qKxjWh3l1bOPSZfOtH6YxDWoQz3eMLX3ply MOnGtKMJmkz3h17sJ8VAOYag= Received: from localhost (unknown [128.0.188.242]) by wolfsden.cz (Postfix) with ESMTPSA id 2DA37362635 for ; Fri, 22 Nov 2024 19:03:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1732302217; bh=26nvEqXehYz4mv1mEqtpoflJSZEEpfrD5gxIOgd35Wc=; h=From:To:Subject:Date; b=P6aVlCvJ/mJr8YNjdTcxdLu2YqLHECqBoxfPk3sNC6igQfa71v/alIL2110z8Yt9i yt52ytVPY++pvdsfhN+jXcCA6/0b4pHAZ1MpiFq6Qm2ewTJLCfMT9ZLHaQyMlZZv1u PPSS8SOdS6UpEC8ogZ20Ahiyt9KXONFYuYe2rQ7IedtrtJp1S8a0n9E/HW5dCG2268 IyxDjThSXuWvhr6YAQKRhTM6nQDoxjuJfT0ncxncdcYb5sUoi2eWbFrjkXAc55nG1I uEIwETFqnCHnEm1Eb1QPvlm4yvUPO0H9nEjgFliz77yKNYuWlM9WVxCfpkSM3ZkosD ZK7VyfvvzLHbzPaA3oS5mLtVr+pf9xSID5m7FaeZc6bmyTvJEgWYv4Tb/hNXaqjy45 2N7744d8VGbj0jul/aorQIdjt9tZtHe1u7Pk9ZX2m52YIy/VZnhroq0AnSBIhWsclj p7VIx2gIArjPkU9eV4Sz9PCEKn6/tJmxHHKyvn++p4TW8iQ54BY6gf4YQqCW1pRBUU FB2alQiY2al7nErTs7E0be7BX/paHyK9xiBUP7sqMDFe3zrsB8s/31DOPyAy9aXaij Cx5eOBfVZvGsUYWIJmnonH5arGqZGp030JywvI5iuEzrzcu/Qp8uuwqB1h3xfeR2mA mu3t2kCYySbHZd5iSjNI/YiE= From: Tomas Volf <~@wolfsden.cz> To: help-guix@gnu.org Subject: Why does stopping user shepherd kill my Emacs and how I make it to stop? Mail-Followup-To: help-guix@gnu.org Date: Fri, 22 Nov 2024 20:03:35 +0100 Message-ID: <87y11bf5vc.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" Received-SPF: pass client-ip=37.205.8.62; envelope-from=~@wolfsden.cz; helo=wolfsden.cz X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-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-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -5.86 X-Spam-Score: -5.86 X-Migadu-Queue-Id: 03DB2827EE X-TUID: QLMLQguY99Ow --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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': =2D-8<---------------cut here---------------start------------->8--- (require 'server) (or (server-running-p) (server-start)) =2D-8<---------------cut here---------------end--------------->8--- I do not have many user shepherd services: =2D-8<---------------cut here---------------start------------->8--- Started: + dbus + pulseaudio + root + ssh-agent =2D-8<---------------cut here---------------end--------------->8--- 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: =2D-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 #:declarativ= e? #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.sc= m'. 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. =2D-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. Thanks a lot, 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/wakFAmdA1YcOHH5Ad29sZnNk ZW4uY3oACgkQL7/ufbZ/wamt7Q//Tws+yjKmTyC9chjveOLhF7OnIHnPDCJW+pYs Vm2SP1/c93pxCFm96JHbz/f/oohz/ot9lRe22hFAsWpwnv4n67m9WJZV7DLV6DPr 9apjPe7f5vSfGN/qIb85rfXKoNkZQofar/woHbuNX8TcZ09jtBwYfnAak3+GOgYs /Ed+7a3tWLoqJ0HJKjDRxG9SUhosAGWVCkxpvOdsz+A5BL4h31vKoPYNpgvE1567 JbHPmJIieeGYW4cAw5p1S4X2JUJIK0j74WV8xLFXPZ2fwB7moVDMpNeEKBRupDgJ LmBcYDdrjwywKVlcQSENocW+aZDE38JBJDqRKPb/d0AIYyG78Erwh1teV8itVSoz ytSmI7K4wNnUofaQdAyVA7cAxQWSuCTU8Z3b89Q1LC/UtRtImvUj1i3RfZdbnkr6 qVIYEQ/a4m/vtyE6ZjbDpZOMHn4KLPj9n0cV4cHUd8ad2regNRI4JfK2aUm+ZLq9 5ocdpGl6H7gdXifIYMAvgSrVfTyddnjK4CZ+4KGgXLqgPBwHAbYvH/OWWHFY3kwi 1DLgQu1cBSvgcJmwNy0Y1VwmKgMsqEPWMXKq7Ln1uSY7Iiwl3iPJYdfy7RkYbVLd 0XVhjTU9Byh5fg2BPDjrQwpqDRYY/0Ow15/LCvnzhfyjfd9E5TEuT5IJgXcbURN1 4MDg4cc= =jirL -----END PGP SIGNATURE----- --=-=-=--