From 0f768b61dd34206aaba3aac1101a4db98d8180a4 Mon Sep 17 00:00:00 2001 From: Jiri Popelka Date: Mon, 26 Nov 2012 12:26:42 +0100 Subject: [PATCH] add After=time-sync.target to dhcpd[6].service (#878293) --- dhcp.spec | 7 +++++-- dhcpd.service | 1 + dhcpd6.service | 1 + 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/dhcp.spec b/dhcp.spec index 4856a08..a6e62ce 100644 --- a/dhcp.spec +++ b/dhcp.spec @@ -18,7 +18,7 @@ Summary: Dynamic host configuration protocol software Name: dhcp Version: 4.2.4 -Release: 21.%{patchver}%{?dist} +Release: 22.%{patchver}%{?dist} # NEVER CHANGE THE EPOCH on this package. The previous maintainer (prior to # dcantrell maintaining the package) made incorrect use of the epoch and # that's why it is at 12 now. It should have never been used, but it was. @@ -81,7 +81,6 @@ Patch46: dhcp-4.2.4-P2-dupl-key.patch BuildRequires: autoconf BuildRequires: automake -BuildRequires: groff BuildRequires: libtool BuildRequires: openldap-devel BuildRequires: libcap-ng-devel @@ -563,6 +562,10 @@ fi %changelog +* Mon Nov 26 2012 Jiri Popelka - 12:4.2.4-22.P2 +- add After=time-sync.target to dhcpd[6].service (#878293) +- remove groff from BuildRequires (no idea why it's been there) + * Fri Nov 16 2012 Jiri Popelka - 12:4.2.4-21.P2 - multiple key statements in zone definition causes inappropriate error (#873794) diff --git a/dhcpd.service b/dhcpd.service index ad7ab4f..13269b7 100644 --- a/dhcpd.service +++ b/dhcpd.service @@ -2,6 +2,7 @@ Description=DHCPv4 Server Daemon Documentation=man:dhcpd(8) man:dhcpd.conf(5) After=network.target +After=time-sync.target [Service] ExecStart=/usr/sbin/dhcpd -f -cf /etc/dhcp/dhcpd.conf -user dhcpd -group dhcpd --no-pid diff --git a/dhcpd6.service b/dhcpd6.service index 72e7f89..212032c 100644 --- a/dhcpd6.service +++ b/dhcpd6.service @@ -2,6 +2,7 @@ Description=DHCPv6 Server Daemon Documentation=man:dhcpd(8) man:dhcpd.conf(5) After=network.target +After=time-sync.target [Service] ExecStart=/usr/sbin/dhcpd -f -6 -cf /etc/dhcp/dhcpd6.conf -user dhcpd -group dhcpd --no-pid