From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:700:3204::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id kAL5N4DEfmUZ1AAAkFu2QA (envelope-from ) for ; Sun, 17 Dec 2023 10:50:57 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id kOB1MoDEfmXWNQAAe85BDQ (envelope-from ) for ; Sun, 17 Dec 2023 10:50:56 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=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"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1702806656; 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:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post; bh=aZOyYmCyMf/9PagyG3GWGTHH1Vq6406SPJ9GAxYIzxk=; b=OVGdzIw6v0cosh00uy86/4zeyzARhmHxNXC7j1PbU1zdq4224QSq+E2EBfNSPR8BA9SyiR M9t8xIcQ6ElqECIVARnNzcjSwj9Qd8eG/DC2xhk4TMyzicOMt6ntzyd3qOWQI+CVpIlCKf 2IEZvjnAWi5Y/1F1Pm++lbczgKtwz+763zPfbKIf1hRhSLA+F8IePlIvIgkj+s0GZjN4HG 0i5b4pk0w9/OSL+0g8d/eFqbb6oBj02xXPW9mwS3n3E1hohDiQF2XXBWTpCejC6qPhqRtK Iv3Ud/lsyyEVqY3cbFuJXyJF8nR0bzm/UIYnPRaM1SzvgTTsmOvKkskyUtEv1A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1702806656; a=rsa-sha256; cv=none; b=VBtJkBfRLznKB5C6eJ9H7FOQjtSF708Ey6YluwG3UjMPVuF2JQusPmGPmaqMsNBh0//Ghe YgbtzbkZeGnZwrfJvcOaz3BNiq7nej6rXGU0+cqjGBxHk2w/LeRp6FrhRNIbkofLGoXktM +Nc5YaF//d8weLp5kh/ijz+AJf9/eFGVazSH6NcOK+OnmK9gfASORK1A0SCs2SP/EsjMa1 OYbu5cqMH1bk7x3F9RS9zlw01TilsY7Dls+mRMgIs92LPctfVKgovRZkujGwF3wksQp1TY 7hx0POViyahLgwm23X6LU1N/gmfBPmlLASy2z3NqloNLsoeex5dYgmRSnf3+oA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=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"; dmarc=none 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 85C5A22C1F for ; Sun, 17 Dec 2023 10:50:56 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rEnnD-0005ox-82; Sun, 17 Dec 2023 04:50:39 -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 1rEje9-0002cp-Nj for bug-guix@gnu.org; Sun, 17 Dec 2023 00:25:01 -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 1rEje9-0003ul-D8 for bug-guix@gnu.org; Sun, 17 Dec 2023 00:25:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rEjeA-0004aP-2n for bug-guix@gnu.org; Sun, 17 Dec 2023 00:25:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#67863: Guix Home: Multiple instances of user Shepherd created Resent-From: xeji@cat3.de Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 17 Dec 2023 05:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 67863 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 67863@debbugs.gnu.org X-Debbugs-Original-To: "bug-guix@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.170279068017561 (code B ref -1); Sun, 17 Dec 2023 05:25:01 +0000 Received: (at submit) by debbugs.gnu.org; 17 Dec 2023 05:24:40 +0000 Received: from localhost ([127.0.0.1]:56469 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rEjdk-0004Z1-03 for submit@debbugs.gnu.org; Sun, 17 Dec 2023 00:24:40 -0500 Received: from lists.gnu.org ([2001:470:142::17]:42584) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rEdMT-0007hN-7A for submit@debbugs.gnu.org; Sat, 16 Dec 2023 17:42:22 -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 1rEdMM-00011t-BQ for bug-guix@gnu.org; Sat, 16 Dec 2023 17:42:14 -0500 Received: from mout-p-202.mailbox.org ([80.241.56.172]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1rEdMK-0003aN-2X for bug-guix@gnu.org; Sat, 16 Dec 2023 17:42:14 -0500 Received: from smtp102.mailbox.org (smtp102.mailbox.org [IPv6:2001:67c:2050:b231:465::102]) (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-202.mailbox.org (Postfix) with ESMTPS id 4St1L45Kxlz9sWt for ; Sat, 16 Dec 2023 23:42:04 +0100 (CET) Date: Sat, 16 Dec 2023 23:42:04 +0100 (CET) From: xeji@cat3.de Message-ID: <835991647.70407.1702766524281@office.mailbox.org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_70406_842581498.1702766524279" X-Priority: 3 Importance: Normal X-Rspamd-Queue-Id: 4St1L45Kxlz9sWt Received-SPF: pass client-ip=80.241.56.172; envelope-from=xeji@cat3.de; helo=mout-p-202.mailbox.org X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sun, 17 Dec 2023 00:24:35 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Sun, 17 Dec 2023 04:50:36 -0500 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: -3.72 X-Spam-Score: -3.72 X-Migadu-Queue-Id: 85C5A22C1F X-Migadu-Scanner: mx12.migadu.com X-TUID: OZbFFhrX9EAR ------=_Part_70406_842581498.1702766524279 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit I am trying to use the awesome Guix Home Shepherd service for syncthing (home-syncthing-service-type). Syncthing works fine but every time I log out of my last user session and log back in again, a new instance of the user shepherd is started (and tries to start syncthing again). After logging out and in a few times, there are multiple user shepherd processes. Suspected cause: Apparently the user shepherd process is not killed on last logout before elogind (correctly) removes XDG_RUNTIME_DIR. So on next login, a new empty XDG_RUNTIME_DIR is created, causing a new user shepherd to be started while the old one is still running happily. This seems to be a general issue and not particular to the syncthing home service. System: Guix System on x86_64 Guix commit: ac61e9705fb8c450c6cd0c1731fbb1b909c1f944 -- Uli ------=_Part_70406_842581498.1702766524279 MIME-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
I am trying to use the awesome Guix Home Shepherd service for syncthing (home-syncthing-service-type).
 
Syncthing works fine but every time I log out of my last user session and log back in again, a new instance of the user shepherd is started (and tries to start syncthing again).
After logging out and in a few times, there are multiple user shepherd processes.
 
Suspected cause:  Apparently the user shepherd process is not killed on last logout before elogind (correctly) removes XDG_RUNTIME_DIR.
So on next login, a new empty XDG_RUNTIME_DIR is created, causing a new user shepherd to be started while the old one is still running happily.
This seems to be a general issue and not particular to the syncthing home service.
 
System: Guix System on x86_64
Guix commit: ac61e9705fb8c450c6cd0c1731fbb1b909c1f944
 
--
Uli
------=_Part_70406_842581498.1702766524279--