diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2017-01-20 16:01:44 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-01-20 16:01:59 +0000 |
commit | abb2fae4290bed67466f7d6a60b6a47fff5befd2 (patch) | |
tree | 54b516ab14a2f1d6e2a948c446975b14e57e9541 /community/docker/docker-openrc-fixes.patch | |
parent | 087981dda35dcab35b050f5f4794be2f056fd444 (diff) | |
download | aports-abb2fae4290bed67466f7d6a60b6a47fff5befd2.tar.bz2 aports-abb2fae4290bed67466f7d6a60b6a47fff5befd2.tar.xz |
community/docker: upgrade to 1.13.0
Diffstat (limited to 'community/docker/docker-openrc-fixes.patch')
-rw-r--r-- | community/docker/docker-openrc-fixes.patch | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/community/docker/docker-openrc-fixes.patch b/community/docker/docker-openrc-fixes.patch index cd6f99cb3a..f379e42f13 100644 --- a/community/docker/docker-openrc-fixes.patch +++ b/community/docker/docker-openrc-fixes.patch @@ -13,7 +13,7 @@ diff --git a/contrib/init/openrc/docker.initd b/contrib/init/openrc/docker.initd index f2e1536..20de85b 100644 --- a/contrib/init/openrc/docker.initd +++ b/contrib/init/openrc/docker.initd -@@ -9,11 +9,22 @@ DOCKER_LOGFILE="${DOCKER_LOGFILE:-/var/log/${RC_SVCNAME}.log}" +@@ -9,9 +9,21 @@ start_stop_daemon_args="--background \ --stderr \"${DOCKER_LOGFILE}\" --stdout \"${DOCKER_LOGFILE}\"" @@ -25,15 +25,13 @@ index f2e1536..20de85b 100644 + start_pre() { checkpath -f -m 0644 -o root:docker "$DOCKER_LOGFILE" + + for i in $disable_grsec; do + if [ -e "$grsecdir/$i" ]; then + einfo " Disabling $i" + echo 0 > "$grsecdir/$i" + fi + done - ulimit -n 1048576 -- ulimit -u 1048576 - return 0 - } + # Having non-zero limits causes performance problems due to accounting overhead |