From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id sES7GLqTkmKk9AAAbAwnHQ (envelope-from ) for ; Sat, 28 May 2022 23:27:22 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 6LK1GLqTkmIgIQAA9RJhRA (envelope-from ) for ; Sat, 28 May 2022 23:27:22 +0200 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 CF5F217234 for ; Sat, 28 May 2022 23:27:21 +0200 (CEST) Received: from localhost ([::1]:53940 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nv3xw-0008GQ-Qs for larch@yhetil.org; Sat, 28 May 2022 17:27:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44400) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nv3xe-0008G8-QT for bug-guix@gnu.org; Sat, 28 May 2022 17:27:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45087) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nv3xe-0001bD-Hh for bug-guix@gnu.org; Sat, 28 May 2022 17:27:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nv3xe-00089R-FK for bug-guix@gnu.org; Sat, 28 May 2022 17:27:02 -0400 Subject: bug#55444: elogind startup race between shepherd and dbus-daemon Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Sat, 28 May 2022 21:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 55444 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Josselin Poiret Cc: 55444-done@debbugs.gnu.org Mail-Followup-To: 55444@debbugs.gnu.org, ludo@gnu.org, ludo@gnu.org Received: via spool by 55444-done@debbugs.gnu.org id=D55444.165377319431293 (code D ref 55444); Sat, 28 May 2022 21:27:02 +0000 Received: (at 55444-done) by debbugs.gnu.org; 28 May 2022 21:26:34 +0000 Received: from localhost ([127.0.0.1]:38983 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nv3xC-00088f-32 for submit@debbugs.gnu.org; Sat, 28 May 2022 17:26:34 -0400 Received: from eggs.gnu.org ([209.51.188.92]:51052) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nv3xA-00088Q-4k for 55444-done@debbugs.gnu.org; Sat, 28 May 2022 17:26:33 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:35592) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nv3x4-0001UU-Bn; Sat, 28 May 2022 17:26:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=+R4VZAOZnzM5wNUgSIwCTEPQwT2ZOOmy/jKCuxE7g8s=; b=btZfsDET07uD77bTuQQe 6EcGc7YcueJOlSQWi8sJ3lIO6HgguSlorh39NgxO25I3G9HzsHKcinw6HWcmx7XpDtWJOloQwW/uc fSaN7tIVMBopbCcW6Gacl9mknWUcox4RWbQ4NPXDK1e3tJMqF+Z/e/WLp43JeUfmt4yZDD2nqSDhH SN2lb66cbcdRXwBeTFduMN3JYaujaXE11yhSepl9HlBel2g4LEJP3EwM7fDwI2qinbWdW6gk6HGan NfaN+5titLbiNU1WnlBFoDmVdyKFMPpwCzjER9mCfVQuX9LT4PLhF/WfXeyTxWwXOMdQX/7FKbQEo iAJVNjYsWtSmTQ==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:60036 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nv3x3-0003Qy-U8; Sat, 28 May 2022 17:26:26 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <877d6lc28o.fsf@inria.fr> <878rqmelwm.fsf@gnu.org> <87leumgjmh.fsf@jpoiret.xyz> Date: Sat, 28 May 2022 23:26:23 +0200 In-Reply-To: <87leumgjmh.fsf@jpoiret.xyz> (Josselin Poiret's message of "Sat, 28 May 2022 10:13:26 +0200") Message-ID: <87czfx9wn4.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1653773242; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-to: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=+R4VZAOZnzM5wNUgSIwCTEPQwT2ZOOmy/jKCuxE7g8s=; b=pqw1+OL/WPWEAd01VYJHnS0exZeTwUS24fIL/coOU+jb9Uu3416Fs/s74/xthYDnflVGRX r0Aej4BkGq/KN//ttvwtAYN+xY5VmWBXm9BdBF8QLndeUpvoNhhaTbqX7dDNnQaebtkI8O CDbsZzwprxLBndQN7dVQy3VaYHa8HFw7kUUhbqTrbsGe+g+dDKQOvQgSUp46d5+GFIDH1p Pwv3pCtwV/LcEes0jCKu/jLo2MwcAUkXPwGrFLvbRc1EW/0J4qxBHdtY/iiZhLqrMcOYyQ J16iaO+L3b5c+ezSuUX1P9k37o9z7J6LU2f7BWCfU/E9/1k18InnZsD0Ad0zJw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653773242; a=rsa-sha256; cv=none; b=L5oXkhFrRNtkCi7bWB9j4rmzPCWOYBjrlLdZaY+8Z4ibjHgmBdzxHomPhQvgW9y52pCih6 VYX/AtkswQDwVWw/ZaWO14GW9yw/+QmzTOffkZGZFEsTOFZRhSnYUaVMu7eoYZtFZGw/D0 5hjR0yjRsE/eUAQSF5bY0GFAh0/xUqkwx5QXr6ry/9OSu+qMWAEvYp/VFB8+/DZ/gWo1Zl J4ExJfxKDDImbQIK0D+qko3QqhMPB1NP8wogx0YrzEun7151sMVgvRJe1xDAnRoZlxphjR 74h9YWfw3qaZHNm2lDhEKWaY/NwKd0VZZmqEQHLYGHw/ai+bAsYwRAoOjVuHrw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=btZfsDET; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Spam-Score: -3.94 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=btZfsDET; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Queue-Id: CF5F217234 X-Spam-Score: -3.94 X-Migadu-Scanner: scn1.migadu.com X-TUID: kWwADTqE2TfD Hello, Josselin Poiret skribis: > Great idea! The patch LGTM, although I'd argue that most of the wrapper > code could belong in (gnu services herd), in something like > (wait-for-services #:select? select? #:retries (n 20)) so that someone > else doesn't end up recoding this for another service. Good idea, done here: f383838a09 services: elogind: When started by dbus-daemon, wait for the S= hepherd service. b04ae71def services: herd: Add 'wait-for-service'. Let me know what you think! Thanks, Ludo=E2=80=99.