| Message ID | 20261029161927.22896-1-valter.jansons@gmail.com |
|---|---|
| State | Accepted |
| Headers |
Return-Path: <location+bounces-75-patchwork=ipfire.org@lists.ipfire.org>
Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange x25519)
(Client CN "mail01.haj.ipfire.org", Issuer "YR1" (not verified))
by web04.haj.ipfire.org (Postfix) with ESMTPS id 4jFqF55knKz3xHF
for <patchwork@web04.haj.ipfire.org>; Thu, 29 Oct 2026 16:19:37 +0000 (UTC)
Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange x25519)
(Client CN "mail02.haj.ipfire.org", Issuer "YE2" (not verified))
by mail01.ipfire.org (Postfix) with ESMTPS id 4jFqF53BDcz5g8
for <patchwork@ipfire.org>; Thu, 29 Oct 2026 16:19:37 +0000 (UTC)
Received: from mail02.haj.ipfire.org (localhost [IPv6:::1])
by mail02.haj.ipfire.org (Postfix) with ESMTP id 4jFqF52N5jz3028
for <patchwork@ipfire.org>; Thu, 29 Oct 2026 16:19:37 +0000 (UTC)
X-Original-To: location@lists.ipfire.org
Received: from mail01.ipfire.org (mail01.haj.ipfire.org
[IPv6:2001:678:b28::25])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange x25519)
(Client CN "mail01.haj.ipfire.org", Issuer "YR1" (not verified))
by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4jFqF44Y19z2xLm
for <location@lists.ipfire.org>; Thu, 29 Oct 2026 16:19:36 +0000 (UTC)
Received: from mail-pg1-x52a.google.com (mail-pg1-x52a.google.com
[IPv6:2607:f8b0:4864:20::52a])
(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
client-signature RSA-PSS (2048 bits) client-digest SHA256)
(Client CN "smtp.gmail.com", Issuer "WR4" (verified OK))
by mail01.ipfire.org (Postfix) with ESMTPS id 4jFqF35Skyz16J
for <location@lists.ipfire.org>; Thu, 29 Oct 2026 16:19:35 +0000 (UTC)
Authentication-Results: mail01.ipfire.org;
dkim=pass header.d=gmail.com header.s=20260707 header.b="m/iGG2fG";
spf=pass (mail01.ipfire.org: domain of valter.jansons@gmail.com designates
2607:f8b0:4864:20::52a as permitted sender)
smtp.mailfrom=valter.jansons@gmail.com;
dmarc=pass (policy=none) header.from=gmail.com
ARC-Seal: i=1; a=rsa-sha256; d=lists.ipfire.org; s=202003rsa; cv=none;
t=1793290775;
b=Kaa/2TYFWsXkzzDnBf9NFLYtqib6GEztOaSI5Pjtc1InonrhYinJkW8i9dF2A3TNkS7FJF
B6k5fHSBcdgQ5Y3kbqyGbM3T1munU0Vq943hu4bBUJI/smWdJf0T+rPYr16p9sGIT+u9dv
9qAT0OF2JqKOoNNFAS8sas2Qpan+/iWByDShL55NX1mEbpWrMmXw2DBsgqr3fS19eU/Tm1
6/AuHsCYYR/2TtHJfiC5vn2Bg8BxTkR1u8xodveBdQ6IVh2hqktmAgtJaQGYx3PaTk8Cmd
3srvVWcRjyM4/Jxs58egNdgI0y5so8Dg030o3OTBnF7H9RBeo8olYlJopDseHA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed;
d=lists.ipfire.org;
s=202003rsa; t=1793290775;
h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
to:to:cc:cc:mime-version:mime-version:
content-transfer-encoding:content-transfer-encoding:
in-reply-to:in-reply-to:references:references:dkim-signature;
bh=0umZrZeaeMCmdZ438Ho9Vk6dXVAC+Sxev0DNoqsiais=;
b=gdzTwG/rC63kbH9vKtQMyZpk0qDRPEgizKYUgxreKMICTzwRqP4r7uCisN4atZeEsNDmbP
ULSWacaY/uxhSKxkw+3vkhc+DshDqFkKKhAx8owouTKtiozHoHABS6XTfGQp+Taqr9w2ds
wkOczDy+n1kTwRZXmBHq73UJC6ulGtNhBZ2NIG3paaFRl2ZJVX9KnKJC8uctNywNTB+3Mr
mwS6FglSMdzAx3ImlTeFJEo+LZCwJjBtAH5G6zi+F9xdAs6E6N/VYhIRWWVyhsf0jw8l5v
WNGFp4we5Yb7SZITKfPIqUoL+wy2OH1eIy5ZRhfmsU/f23SvCd4qOc23MCUoLg==
ARC-Authentication-Results: i=1;
mail01.ipfire.org;
dkim=pass header.d=gmail.com header.s=20260707 header.b="m/iGG2fG";
spf=pass (mail01.ipfire.org: domain of valter.jansons@gmail.com designates
2607:f8b0:4864:20::52a as permitted sender)
smtp.mailfrom=valter.jansons@gmail.com;
dmarc=pass (policy=none) header.from=gmail.com
Received: by mail-pg1-x52a.google.com with SMTP id
41be03b00d2f7-cc4aa18f9afso1162245a12.3
for <location@lists.ipfire.org>; Thu, 29 Oct 2026 09:19:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20260707; t=1793290774; x=1793895574;
darn=lists.ipfire.org;
h=content-transfer-encoding:mime-version:references:in-reply-to
:message-id:date:subject:cc:to:from:from:to:cc:subject:date
:message-id:reply-to:content-type;
bh=0umZrZeaeMCmdZ438Ho9Vk6dXVAC+Sxev0DNoqsiais=;
b=m/iGG2fGdmauvMaWi7e8RCHcf80AFjuZl+jmw3u5hJtG5tLzDsHMHMlJk1ulpGbMeC
WSOt1W4V9r+5LK/EHlfCN72Amc4GDLKFKgQlR/xexQW/swjWVxTqRxEyLS5vw8MrzpTY
JgWUR7ZzhI56PZK0uelHDIzjKjQr2t0cVMbRN84x4RAsz/kH11K+i+JeWB9HjLxSSglM
iBj4E0EatQWSelyf4ye2iRfrV6sDecEs1rfcnNGGbmjQVHJCoiO3URTyoL2yPDxPdpo9
7PtK2pugBRw5tTtQ8vgxEUkPOeUun/NztAB8sQFLMtlg9BLeKOVNpVGnoglKRHYm74F3
eaPg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1793290774; x=1793895574;
h=content-transfer-encoding:mime-version:references:in-reply-to
:message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from
:to:cc:subject:date:message-id:reply-to:content-type;
bh=0umZrZeaeMCmdZ438Ho9Vk6dXVAC+Sxev0DNoqsiais=;
b=N1t7/cLP6qfCP09+EudlOhcb/SnumhwA8VYLB4I0GfkHOJiHH/Z1xVtEwSG9JnOT5K
vdRtRohF6P4QCekC7Jl/9wq1yL7ULfamep1QFsc+eAK8q4oTaoiLw6Z80YQ7HwhJ1PH1
tGhLQ4DBa405oQms1dDUmb4a/A7+K3DLIjTKpAvVcI1bp88J17q+4OLCClohzoj8mjQL
XQqvcqAREZT/EeJDTyXLdnsIX3MeTqwTq+otbhSJBr96/TXzv6PTTW93WTMcBywHZtRj
9ELNH+mCISLIhICH8my6E+dJs52P1YpO/B3jq9KGUG1wkfa1Ih8FD0ZTFh38H+xKVRIA
UhNg==
X-Gm-Message-State: AFq9FYJXuqCxfn2KDHRW1+fbbYPXV8OMDOo6deRUDlcKZf43BFd2jg66
WBwg5IyMgPqPR6pv53+j70NSSYOdm1SJgPlGFpR3074vatxmMYa68NCo+lEFrjYK+FM=
X-Gm-Gg: AYBFou2u2eRgPSlk575yvaTZ0a768bOM93NoHXHbXmllUztUQJFqFdYcf5VMA2tPCPV
DQzvNptr0wD6kGyQDO+rJEg2TV4ruQDBR6RteY9di+VlIPlOwSEexnuar1VOxhZh3LlVjRHO4pZ
AqmlKzqjGjqelDbqACe9xA/DCPmC5BMk7tXT27ggIoIJ7YU+E70b9dkk0K7+jFU2KYcXRMCNqiL
KKJudOo5QBhgJ6338TO5XuMDExjXsX6Vm9gv9del8Jvw4xPZSLWSns1P/TcXjZSP6gg87fdIs+x
GsIX9WvZTXx10Dky7QZbunoYOYk7jXcTuDzTlEBgHUrKOz6ixkvDtkIKAySYhdPBjYLYkHDpCDt
iyuN058vxwD+Mt6o6UXyXvRa0mNQoBQFeORaiQVKQIAlAwm4Un+RJr+H+3ByM6+C3pUuPRfu87V
teB+f6gjEqAhhaDxmog8ZUm+vs5kr6+AhYoMfVgAhFBEzFuVRuIQhn+2dJM5JHjlwrqqo1/fvcv
bOigc8JMrwY5ZOkWdcCyDFdYIRlwI9vutIKTJQWlSpJCeQh3CUp2n0DUBur3vPl/+FwgR0upGZP
aWSLzTwTYPSeRtoMlPDZOBwKNZdKMOSBz0mYk486fmLqzZs=
X-Received: by 2002:a05:6a21:178a:b0:3d3:af85:eb99 with SMTP id
adf61e73a8af0-3e9022d68dbmr4818934637.27.1793290773627;
Thu, 29 Oct 2026 09:19:33 -0700 (PDT)
Received: from VT14-G5.localdomain ([221.146.12.107])
by smtp.gmail.com with ESMTPSA id
d2e1a72fcca58-8a988941346sm91691b3a.10.2026.10.29.09.19.32
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Thu, 29 Oct 2026 09:19:33 -0700 (PDT)
From: Valters Jansons <valter.jansons@gmail.com>
To: Michael Tremer <michael.tremer@ipfire.org>
Cc: location@lists.ipfire.org,
Stefan Schantl <stefan.schantl@ipfire.org>
Subject: [PATCH v2] systemd: Depend on network using Wants=/After=
Date: Fri, 30 Oct 2026 01:19:27 +0900
Message-ID: <20261029161927.22896-1-valter.jansons@gmail.com>
X-Mailer: git-send-email 2.56.0
In-Reply-To: <328A7BD5-1C4F-43E2-941D-D351ED2587AC@ipfire.org>
References: <328A7BD5-1C4F-43E2-941D-D351ED2587AC@ipfire.org>
Precedence: list
List-Id: <location.lists.ipfire.org>
List-Subscribe: <https://lists.ipfire.org/>,
<mailto:location+subscribe@lists.ipfire.org?subject=subscribe>
List-Unsubscribe: <https://lists.ipfire.org/>,
<mailto:location+unsubscribe@lists.ipfire.org?subject=unsubscribe>
List-Post: <mailto:location@lists.ipfire.org>
List-Help: <mailto:location+help@lists.ipfire.org?subject=help>
Sender: <location@lists.ipfire.org>
Mail-Followup-To: <location@lists.ipfire.org>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Rspamd-Action: no action
X-Spamd-Result: default: False [-6.84 / 11.00];
BAYES_HAM(-3.00)[100.00%];
R_DKIM_ALLOW(-1.60)[gmail.com:s=20260707];
DKIM_REPUTATION(-0.97)[-0.96772926305322];
SPF_REPUTATION_HAM(-0.78)[-0.77614178485714];
DMARC_POLICY_ALLOW(-0.50)[gmail.com,none];
R_MISSING_CHARSET(0.50)[];
R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4864::/56];
MIME_GOOD(-0.10)[text/plain];
R_DKIM_ALIGNED(-0.10)[strict];
MX_GOOD(-0.10)[gmail-smtp-in.l.google.com];
FREEMAIL_ENVFROM(0.00)[gmail.com];
RCVD_TLS_LAST(0.00)[];
DWL_DNSWL_NONE(0.00)[gmail.com:dkim];
FREEMAIL_FROM(0.00)[gmail.com];
MIME_TRACE(0.00)[0:+];
ARC_NA(0.00)[];
TO_DN_SOME(0.00)[];
IP_REPUTATION_HAM(0.00)[asn: 15169(-0.30), country: US(-0.01),
ip: 2607:f8b0:4864:20::(-0.80)];
DKIM_TRACE(0.00)[gmail.com:+];
RCPT_COUNT_THREE(0.00)[3];
TO_MATCH_ENVRCPT_SOME(0.00)[];
ARC_SIGNED(0.00)[lists.ipfire.org:s=202003rsa:i=1];
RCVD_COUNT_TWO(0.00)[2];
FROM_EQ_ENVFROM(0.00)[];
RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::52a:from];
PREVIOUSLY_DELIVERED(0.00)[location@lists.ipfire.org];
MID_RHS_MATCH_FROM(0.00)[];
ALIAS_RESOLVED(0.00)[];
ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US];
RCVD_VIA_SMTP_AUTH(0.00)[];
FROM_HAS_DN(0.00)[]
X-Rspamd-Server: mail01.haj.ipfire.org
X-Rspamd-Queue-Id: 4jFqF35Skyz16J
|
| Series |
[v2] systemd: Depend on network using Wants=/After=
|
|
Commit Message
Valters Jansons
29 Oct 2026, 4:19 p.m. UTC
Wants= is the recommended way to hook the start-up of one unit to the
start-up of another unit. We do not directly benefit from the stricter
Requires=.
Furthermore, we should be explicit and define an After= instead of
assuming the default dependencies ordering will be added.
Signed-off-by: Valters Jansons <valter.jansons@gmail.com>
---
Michael, thank you for the investigation.
Resubmitting the systemd change as suggested.
src/systemd/location-update.service.in | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/systemd/location-update.service.in b/src/systemd/location-update.service.in index 50ba01f..e1b8b39 100644 --- a/src/systemd/location-update.service.in +++ b/src/systemd/location-update.service.in @@ -1,7 +1,8 @@ [Unit] Description=Automatic Location Database Updater Documentation=man:location(1) https://man-pages.ipfire.org/libloc/location.html -Requires=network.target +Wants=network-online.target +After=network-online.target [Service] Type=oneshot