From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id CNylNKeXQGcTggAA62LTzQ:P1 (envelope-from ) for ; Fri, 22 Nov 2024 14:39:36 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id CNylNKeXQGcTggAA62LTzQ (envelope-from ) for ; Fri, 22 Nov 2024 15:39:35 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=hGbidhfe; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=pfmqSxZw; 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=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1732286375; 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-cc: 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=BcZngg4Dz++/tbDueIhhfIc4ntVP9hwIgz9rDzC34zs=; b=Zduy+WFzrmdm73QAS0Mp58NG4UPB8OYOSm70IvBOBc+Z/9VLrh58jtppHBEnjl4WmGGZex 2rSiygXqvvjiL+Q1tdEwsCVTyCZJ3iTU+Gyykz5SwXGeSprLnRwtKEtCq7z/VhWSZhFMrx h9ueLWAGpCviETYww9McxLKKwWJj7WySEWbFFYf3pBq87gtnG+Q8d9zv/WADsFnqKgOP6c Rl7aq4ART5yOwQOMnhjGqBbYHqOx9sM+jrX4Xj04Fk9dEJX/rcn7rz5Ip6LOnjEdJH219R NsEtCx98SD5tnw0UfpJ5/wLHPiPVOZduO1t+cRuHt5pA8bp3hEzK0ag4LX9FSw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=hGbidhfe; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=pfmqSxZw; 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=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1732286375; a=rsa-sha256; cv=none; b=Uu6sGeO9UGx1KNExsp1AQ252vmvffr4eQk/iyA4jGjEaQoPwCP9uRX7oAp7uHm/2DDynUk +Sfv21MYgwlawmE8peYRw+9EvHZJFQj/pz6VRVGTTjGUgbBYVo5VpoQsH8apcwMgxHsCZW wiQxYxFqUXTsssZjCxh4X+6wji+6KYRU6e0xQeudKa5fMads7Se8Qy3Ay4JLQja6MG6BfJ OWr1L63wWu2iscQkXiFbp0cmsqKrVxDxWEym2rzr+CGTrMOWOkppJXS2QaRS5/fn6dbO6b WfmaZyPe4suOdsZ0BvS2cfBQQEz6pmCuxSYuQWpBCfmagqgo6K9OY6Zr+i+pmg== 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 B62DB46B4F for ; Fri, 22 Nov 2024 15:39:35 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEUoL-0006uz-0Z; Fri, 22 Nov 2024 09:39:05 -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 1tEUoJ-0006uX-1h for bug-guix@gnu.org; Fri, 22 Nov 2024 09:39:03 -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 1tEUoI-00085c-PT for bug-guix@gnu.org; Fri, 22 Nov 2024 09:39:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=BcZngg4Dz++/tbDueIhhfIc4ntVP9hwIgz9rDzC34zs=; b=hGbidhfeG8HqunaZ1uB0XTcaR2agkKMTz3AdPnI6qs+fXWidAglgnim4jZTkqTD/CF9NVdvIc52+rmgjcpWAgdzluFQcJ7pQfQ6U19AaVwpleSkTsBKPpL61BMM8vJh9PWJQcdpsfG0sJo0rxAklDxch3ggHm2ba3kyh28sdTq4m340CmcgmnKuwaV1fMuq3WCbaTtkm6OLi5cg1lMbWmQpq61o1P7fC27jjA5lYjcat0UeBD8jhbGMK+Ceq/084QbulP8aACrbw6+jHFH8bDYDM6pe3FgEOG2zKF70izpDZSFiVWc2xle28xnAdLqjEQ3SFQSwmfTuWUx0xjrzWzQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tEUoH-0005SI-Mg for bug-guix@gnu.org; Fri, 22 Nov 2024 09:39:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#74284: Shepherd does not respect ordering for one-shot? services Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 22 Nov 2024 14:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74284 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 74284@debbugs.gnu.org Cc: Dariqq Received: via spool by 74284-submit@debbugs.gnu.org id=B74284.173228628420858 (code B ref 74284); Fri, 22 Nov 2024 14:39:01 +0000 Received: (at 74284) by debbugs.gnu.org; 22 Nov 2024 14:38:04 +0000 Received: from localhost ([127.0.0.1]:53806 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tEUnL-0005QL-P5 for submit@debbugs.gnu.org; Fri, 22 Nov 2024 09:38:04 -0500 Received: from eggs.gnu.org ([209.51.188.92]:47598) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tEUnJ-0005Py-9o for 74284@debbugs.gnu.org; Fri, 22 Nov 2024 09:38:02 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tEUnD-00082n-Vb; Fri, 22 Nov 2024 09:37:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=BcZngg4Dz++/tbDueIhhfIc4ntVP9hwIgz9rDzC34zs=; b=pfmqSxZwxccdFVT3iqKA OBfPLDZSf54bnGD9ffUX7oelxIzcciUgYajgf6SimLN+7xhvvFB/Dk/gH6ZheFFlOygOma+9BxtEo paxadS+IQfSIN/4/gI2XyCzHo+aZgxjiAb6hrPP1ZR4/tFSf9nVgvHpLGzOp+uHIarclx2nrJaj1t oZaerlq4fpOL5snk7dz7G24P64d58Df9Ya/ZgP/lIUD/F8GZRd6grBzgH0vORbPysd6peEV1mza4+ HyXVGX3XcDn96UY0nOKM3PwgV051hvqpLVH/bsFj2+q/ExhvmSqGM7nAjo5G06z2gJvPo/HvjulJa 3a36prQzlXMXyg==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <87ses073i9.fsf@wolfsden.cz> (Tomas Volf's message of "Sat, 09 Nov 2024 17:53:18 +0100") References: <87ses073i9.fsf@wolfsden.cz> Date: Fri, 22 Nov 2024 15:37:53 +0100 Message-ID: <87ed33qqpq.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -1.83 X-Spam-Score: -1.83 X-Migadu-Queue-Id: B62DB46B4F X-TUID: XT+P4SCToUAX Hi Tomas, (+ Dariqq since we briefly discussed it on IRC yesterday.) Tomas Volf <~@wolfsden.cz> skribis: > Notice that the order changed to (a b c d, this matches the increasing > wait time), the initial messages are all together: > > Starting service d... > Starting service c... > Starting service b... > Starting service a... > > and the whole start-up takes 4 seconds (the wait time of `d'). That > seems to indicate that all 4 services are actually starting at the same > time without waiting as they should per the #:requirement argument. Indeed. As Dariqq found out, the problem was that we=E2=80=99d mark one-sh= ort services in =E2=80=98%one-shot-services-started=E2=80=99 as soon as we=E2= =80=99ve started them, effectively acting as if =E2=80=9Cstarted=E2=80=9D were synonymous with =E2= =80=9Crunning=E2=80=9D. This is fixed with 550c0370985022c5c90a7b477a5e0b84f6faf5d7. Let me know if you find anything fishy! Thanks, Ludo=E2=80=99.