X-Loop: help-debbugs@HIDDEN Subject: bug#67863: Guix Home: Multiple instances of user Shepherd created Resent-From: xeji@HIDDEN Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Sun, 17 Dec 2023 05:25:01 +0000 Resent-Message-ID: <handler.67863.B.170279068017561 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 67863 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 67863 <at> debbugs.gnu.org X-Debbugs-Original-To: "bug-guix@HIDDEN" <bug-guix@HIDDEN> Received: via spool by submit <at> 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 <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rEjdk-0004Z1-03 for submit <at> 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 <xeji@HIDDEN>) id 1rEdMT-0007hN-7A for submit <at> 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 <xeji@HIDDEN>) id 1rEdMM-00011t-BQ for bug-guix@HIDDEN; 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 <xeji@HIDDEN>) id 1rEdMK-0003aN-2X for bug-guix@HIDDEN; 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 <bug-guix@HIDDEN>; Sat, 16 Dec 2023 23:42:04 +0100 (CET) Date: Sat, 16 Dec 2023 23:42:04 +0100 (CET) From: xeji@HIDDEN Message-ID: <835991647.70407.1702766524281@HIDDEN> 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@HIDDEN; 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-Spam-Score: 0.6 (/) X-Mailman-Approved-At: Sun, 17 Dec 2023 00:24:35 -0500 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.4 (/) ------=_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 <!doctype html> <html> <head> <meta charset="UTF-8"> </head> <body> <div class="default-style"> I am trying to use the awesome Guix Home Shepherd service for syncthing (home-syncthing-service-type). </div> <div class="default-style"> </div> <div class="default-style"> 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). </div> <div class="default-style"> After logging out and in a few times, there are multiple user shepherd processes. </div> <div class="default-style"> </div> <div class="default-style"> Suspected cause: Apparently the user shepherd process is not killed on last logout before elogind (correctly) removes XDG_RUNTIME_DIR. </div> <div class="default-style"> 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. </div> <div class="default-style"> This seems to be a general issue and not particular to the syncthing home service. </div> <div class="default-style"> </div> <div class="default-style"> System: Guix System on x86_64 </div> <div class="default-style"> Guix commit: ac61e9705fb8c450c6cd0c1731fbb1b909c1f944 </div> <div class="default-style"> </div> <div class="default-style"> -- </div> <div class="default-style"> Uli </div> </body> </html> ------=_Part_70406_842581498.1702766524279--
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: xeji@HIDDEN Subject: bug#67863: Acknowledgement (Guix Home: Multiple instances of user Shepherd created) Message-ID: <handler.67863.B.170279068017561.ack <at> debbugs.gnu.org> References: <835991647.70407.1702766524281@HIDDEN> X-Gnu-PR-Message: ack 67863 X-Gnu-PR-Package: guix Reply-To: 67863 <at> debbugs.gnu.org Date: Sun, 17 Dec 2023 05:25:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-guix@HIDDEN If you wish to submit further information on this problem, please send it to 67863 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 67863: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D67863 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.