summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-connectivity
diff options
context:
space:
mode:
authorChangqing Li <changqing.li@windriver.com>2019-10-14 13:59:22 +0800
committerKhem Raj <raj.khem@gmail.com>2019-10-16 20:28:39 -0700
commit62a4970d2e5bc8839bf557a67236334bd2dca86b (patch)
treeb364c8b9e892fdc91e3461310e8ae49c0c0800b4 /meta-networking/recipes-connectivity
parent1db745db41e31c61448743842104d92a61e7ddfb (diff)
downloadmeta-openembedded-62a4970d2e5bc8839bf557a67236334bd2dca86b.tar.gz
kea: fix kea-dhcp4.service/kea-dhcp6.service start up failed
After upgrade to 1.7.0, path of database file changed from /var/kea to /var/lib/kea, correct the path to fix service start failed problem DHCP6_CONFIG_LOAD_FAIL configuration error using file: /etc/kea/kea-dhcp6.conf, reason: Unable to open database: unable to open '/var/lib/kea/kea-leases6.csv' Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-connectivity')
-rw-r--r--meta-networking/recipes-connectivity/kea/files/kea-dhcp4.service2
-rw-r--r--meta-networking/recipes-connectivity/kea/files/kea-dhcp6.service2
2 files changed, 2 insertions, 2 deletions
diff --git a/meta-networking/recipes-connectivity/kea/files/kea-dhcp4.service b/meta-networking/recipes-connectivity/kea/files/kea-dhcp4.service
index f32edcb90..b851ea71c 100644
--- a/meta-networking/recipes-connectivity/kea/files/kea-dhcp4.service
+++ b/meta-networking/recipes-connectivity/kea/files/kea-dhcp4.service
@@ -6,7 +6,7 @@ After=time-sync.target
6 6
7[Service] 7[Service]
8ExecStartPre=@BASE_BINDIR@/mkdir -p @LOCALSTATEDIR@/run/kea/ 8ExecStartPre=@BASE_BINDIR@/mkdir -p @LOCALSTATEDIR@/run/kea/
9ExecStartPre=@BASE_BINDIR@/mkdir -p @LOCALSTATEDIR@/kea 9ExecStartPre=@BASE_BINDIR@/mkdir -p @LOCALSTATEDIR@/lib/kea
10ExecStart=@SBINDIR@/kea-dhcp4 -c @SYSCONFDIR@/kea/kea-dhcp4.conf 10ExecStart=@SBINDIR@/kea-dhcp4 -c @SYSCONFDIR@/kea/kea-dhcp4.conf
11 11
12[Install] 12[Install]
diff --git a/meta-networking/recipes-connectivity/kea/files/kea-dhcp6.service b/meta-networking/recipes-connectivity/kea/files/kea-dhcp6.service
index 26d2205e6..0f9f0ef8d 100644
--- a/meta-networking/recipes-connectivity/kea/files/kea-dhcp6.service
+++ b/meta-networking/recipes-connectivity/kea/files/kea-dhcp6.service
@@ -6,7 +6,7 @@ After=time-sync.target
6 6
7[Service] 7[Service]
8ExecStartPre=@BASE_BINDIR@/mkdir -p @LOCALSTATEDIR@/run/kea/ 8ExecStartPre=@BASE_BINDIR@/mkdir -p @LOCALSTATEDIR@/run/kea/
9ExecStartPre=@BASE_BINDIR@/mkdir -p @LOCALSTATEDIR@/kea 9ExecStartPre=@BASE_BINDIR@/mkdir -p @LOCALSTATEDIR@/lib/kea
10ExecStart=@SBINDIR@/kea-dhcp6 -c @SYSCONFDIR@/kea/kea-dhcp6.conf 10ExecStart=@SBINDIR@/kea-dhcp6 -c @SYSCONFDIR@/kea/kea-dhcp6.conf
11 11
12[Install] 12[Install]