From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 410F813835A for ; Wed, 18 Nov 2020 17:09:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 959F2E09B8; Wed, 18 Nov 2020 17:09:24 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7C005E09B8 for ; Wed, 18 Nov 2020 17:09:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A5E373410CB for ; Wed, 18 Nov 2020 17:09:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2A77444F for ; Wed, 18 Nov 2020 17:09:22 +0000 (UTC) From: "Mike Gilbert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Gilbert" Message-ID: <1605719302.9b7959a9776a912bdef36f4db14c3c7bb23ddf34.floppym@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/dhcp/files/, net-misc/dhcp/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/dhcp/dhcp-4.4.2-r2.ebuild net-misc/dhcp/dhcp-4.4.2-r3.ebuild net-misc/dhcp/files/dhcpd4.service net-misc/dhcp/files/dhcpd6.service X-VCS-Directories: net-misc/dhcp/files/ net-misc/dhcp/ X-VCS-Committer: floppym X-VCS-Committer-Name: Mike Gilbert X-VCS-Revision: 9b7959a9776a912bdef36f4db14c3c7bb23ddf34 X-VCS-Branch: master Date: Wed, 18 Nov 2020 17:09:22 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: cfa09a74-ffb6-4caf-9b43-e1b828c2f3e0 X-Archives-Hash: c0c82ef23307215d08e21578befddf9c commit: 9b7959a9776a912bdef36f4db14c3c7bb23ddf34 Author: Mike Gilbert gentoo org> AuthorDate: Wed Nov 18 17:08:22 2020 +0000 Commit: Mike Gilbert gentoo org> CommitDate: Wed Nov 18 17:08:22 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b7959a9 net-misc/dhcp: pull in network-online.target in service units dhcpd refuses to start if there are no configured broadcast interfaces. Closes: https://bugs.gentoo.org/628920 Signed-off-by: Mike Gilbert gentoo.org> net-misc/dhcp/{dhcp-4.4.2-r2.ebuild => dhcp-4.4.2-r3.ebuild} | 0 net-misc/dhcp/files/dhcpd4.service | 2 ++ net-misc/dhcp/files/dhcpd6.service | 2 ++ 3 files changed, 4 insertions(+) diff --git a/net-misc/dhcp/dhcp-4.4.2-r2.ebuild b/net-misc/dhcp/dhcp-4.4.2-r3.ebuild similarity index 100% rename from net-misc/dhcp/dhcp-4.4.2-r2.ebuild rename to net-misc/dhcp/dhcp-4.4.2-r3.ebuild diff --git a/net-misc/dhcp/files/dhcpd4.service b/net-misc/dhcp/files/dhcpd4.service index b064bd9b57d..8197ace1210 100644 --- a/net-misc/dhcp/files/dhcpd4.service +++ b/net-misc/dhcp/files/dhcpd4.service @@ -3,6 +3,8 @@ Description=DHCPv4 Server Daemon Documentation=man:dhcpd(8) man:dhcpd.conf(5) After=network.target After=time-sync.target +After=network-online.target +Wants=network-online.target [Service] ExecStart=/usr/sbin/dhcpd -f -cf /etc/dhcp/dhcpd.conf -user dhcp -group dhcp --no-pid diff --git a/net-misc/dhcp/files/dhcpd6.service b/net-misc/dhcp/files/dhcpd6.service index 603cacd8eb8..7f41db0a72b 100644 --- a/net-misc/dhcp/files/dhcpd6.service +++ b/net-misc/dhcp/files/dhcpd6.service @@ -3,6 +3,8 @@ Description=DHCPv6 Server Daemon Documentation=man:dhcpd(8) man:dhcpd.conf(5) After=network.target After=time-sync.target +After=network-online.target +Wants=network-online.target [Service] ExecStart=/usr/sbin/dhcpd -f -s -6 -cf /etc/dhcp/dhcpd.conf -user dhcp -group dhcp --no-pid