GNU bug report logs - #67863
Guix Home: Multiple instances of user Shepherd created

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: xeji@HIDDEN; dated Sun, 17 Dec 2023 05:25:01 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 17 Dec 2023 05:24:40 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Dec 17 00:24:40 2023
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
To: "bug-guix@HIDDEN" <bug-guix@HIDDEN>
Message-ID: <835991647.70407.1702766524281@HIDDEN>
Subject: Guix Home: Multiple instances of user Shepherd created
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-Debbugs-Envelope-To: submit
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">
   &nbsp;
  </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">
   &nbsp;
  </div> 
  <div class="default-style">
   Suspected cause:&nbsp; 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">
   &nbsp;
  </div> 
  <div class="default-style">
   System: Guix System on x86_64
  </div> 
  <div class="default-style">
   Guix commit: ac61e9705fb8c450c6cd0c1731fbb1b909c1f944
  </div> 
  <div class="default-style">
   &nbsp;
  </div> 
  <div class="default-style">
   --
  </div> 
  <div class="default-style">
   Uli
  </div>
 </body>
</html>
------=_Part_70406_842581498.1702766524279--




Acknowledgement sent to xeji@HIDDEN:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#67863; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 20 Jan 2024 12:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.