From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Stefan_Stefanovi=C4=87?= Subject: Re: [PATCH][WIP] Elogind update Date: Mon, 12 Nov 2018 22:06:41 +0100 Message-ID: References: <87bm6ue5qs.fsf@igalia.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43770) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gMJQ2-0001FK-Bz for guix-devel@gnu.org; Mon, 12 Nov 2018 16:06:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gMJQ1-00061v-FZ for guix-devel@gnu.org; Mon, 12 Nov 2018 16:06:50 -0500 Received: from mail-oi1-x231.google.com ([2607:f8b0:4864:20::231]:44533) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gMJQ1-0005ya-6i for guix-devel@gnu.org; Mon, 12 Nov 2018 16:06:49 -0500 Received: by mail-oi1-x231.google.com with SMTP id p82-v6so8381168oih.11 for ; Mon, 12 Nov 2018 13:06:42 -0800 (PST) In-Reply-To: <87bm6ue5qs.fsf@igalia.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Andy Wingo Cc: guix-devel >Perhaps we could put the PID file in /run/systemd or something. We could change the PID file path, I have changed it to "/var/run/elogind.pid". I will change it to "/run/systemd/elogind.pid", I will test it and report tomorrow. I am thinking of making the PID file check more robust by covering the use-case of the stale PID file. This should fix this problem. Thank you, for the suggestion. Sorry I did not respond sooner, I just now saw your message. Stefan.