aboutsummaryrefslogtreecommitdiffstats
path: root/main/dhcp
diff options
context:
space:
mode:
authorThomas Liske <thomas@fiasko-nw.net>2019-02-23 10:29:07 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2019-05-03 19:05:59 +0200
commit25ba76706fe915ff7767a7d234da500e62c2fea0 (patch)
tree523fa8b35c009c0352d1db387e689d88ae3fcc37 /main/dhcp
parent5a7034c8e234c705dd7e0f8d191e632ad68a920b (diff)
downloadaports-25ba76706fe915ff7767a7d234da500e62c2fea0.tar.bz2
aports-25ba76706fe915ff7767a7d234da500e62c2fea0.tar.xz
main/dhcp: fix missing /var/run/dhcp for dhcrelay
Fixes https://bugs.alpinelinux.org/issues/10024
Diffstat (limited to 'main/dhcp')
-rw-r--r--main/dhcp/APKBUILD2
-rw-r--r--main/dhcp/dhcrelay.initd2
2 files changed, 3 insertions, 1 deletions
diff --git a/main/dhcp/APKBUILD b/main/dhcp/APKBUILD
index e4ed58678b..8e8117646b 100644
--- a/main/dhcp/APKBUILD
+++ b/main/dhcp/APKBUILD
@@ -119,7 +119,7 @@ sha512sums="684ae349f224918c9f8cec7bd6c55cd0b83ad2b5827375b2876ca088eb05b7ff1364
a70e4a7e80ee65c8ced6b61db80f7ccd0f35015b5cccf2e7c51705ae129230aa49ba9926bb88f7418018e7a112c2a40451f24b88e04464b590ff20091e8d8709 02-dhclient-script-remove-bashisms.patch
d5697a56fbbff25199962608986e7ffb533ed4afd3e344e3c79d2010dda73cc0b088f06c454e9f0c69eb054e09a374455fa71d3f73306e0c98fa76df4dd321b7 dhcp-3.0-fix-perms.patch
d1dce58875793316761f168e29feddc1d3454d1d917d063d43ae102b7b6aab256c3cb420478335c57ebcdb2b7c804afa4d8a1f9ab06a29a4dd23bc5d87db8df2 dhclient-script-alpine
-0c3eee11ee9771a3bd7f8076827e57296136a36e6c00c3149e7274fb7a479feae4dc7d744f3c66ac78ffc96f036e14a7a5a0806095495441f98d76737a34faa6 dhcrelay.initd
+2fcb8e729e55d2917d309758b0a0409f4150a4088af72a5cefc58919f5d9da9d3ada1249f0d856dad71bfa6701af74cb73f08dc176ff917bf7fb8c9a80002ca3 dhcrelay.initd
fd15dbaa4c61c3c26f407bf13dde859470a1adba134da064b653ccc152ce42635ee8de2fe113ae21ba8470e97e3caad8c1a47b69eb25e5e92b40e26790b96f6d dhcrelay.confd
7b7a77b7826b475a4113ebeee54501ce417cc56e85754301a82a185d88b4713d198f615a366e63e0e2b0aef988c8137dcd1e18c4036d993378257079da17693d dhcpd.confd
96ebc64e7c8a484133c23e9d1d7afe965247aaf54bc619b4fa81ed80f56b6bdb7e2c22d3f26db4c87c2a6ffd29ae2db6408954feac4c2104df712975cdfccc60 dhcpd.initd"
diff --git a/main/dhcp/dhcrelay.initd b/main/dhcp/dhcrelay.initd
index 1ad8d787de..10323d065d 100644
--- a/main/dhcp/dhcrelay.initd
+++ b/main/dhcp/dhcrelay.initd
@@ -20,6 +20,8 @@ start() {
IFACES="${IFACES} -i ${i}"
done
+ checkpath --directory --owner dhcp:dhcp /var/run/dhcp
+
ebegin "Starting dhcrelay"
start-stop-daemon --start --exec /usr/sbin/dhcrelay \
-- -q ${IFACES} ${DHCRELAY_OPTS} ${DHCRELAY_SERVERS}