commit 43da6571d96b4f2c541d8b1dfa3f9cadb27f05e0
Author: Lokesh Mandvekar <[email protected]>
Date: Tue Feb 3 20:10:37 2015 +0000
Resolves: rhbz#1184266, also enable core dumps
NVR: docker-1.4.1-9
- set no limit on core size
Signed-off-by: Lokesh Mandvekar <[email protected]>
docker-io.spec | 9 +++++++--
docker.service | 1 +
docker.sysconfig | 3 +++
3 files changed, 11 insertions(+), 2 deletions(-)
---
diff --git a/docker-io.spec b/docker-io.spec
index 38d2351..1919749 100644
--- a/docker-io.spec
+++ b/docker-io.spec
@@ -17,7 +17,7 @@
Name: %{repo}-io
Version: 1.4.1
-Release: 8%{?dist}
+Release: 9%{?dist}
Summary: Automates deployment of containerized applications
License: ASL 2.0
URL: http://www.docker.com
@@ -240,7 +240,7 @@ export DOCKER_GITCOMMIT="%{shortcommit}/%{version}"
export DOCKER_BUILDTAGS='selinux'
export GOPATH=$(pwd)/_build:$(pwd)/vendor:%{gopath}
-hack/make.sh dynbinary
+DEBUG=1 hack/make.sh dynbinary
docs/man/md2man-all.sh
cp contrib/syntax/vim/LICENSE LICENSE-vim-syntax
cp contrib/syntax/vim/README.md README-vim-syntax.md
@@ -388,6 +388,11 @@ exit 0
%{_datadir}/zsh/site-functions/_docker
%changelog
+* Tue Feb 03 2015 Lokesh Mandvekar <[email protected]> - 1.4.1-9
+- Resolves: rhbz#1184266 - enable debugging
+- enable creation of core dumps
+- set no limit on core dump size
+
* Fri Jan 23 2015 Lokesh Mandvekar <[email protected]> - 1.4.1-8
- Resolves:rhbz#1185423 - MountFlags=slave in unitfile
- use golang(github.com/coreos/go-systemd/activation)
diff --git a/docker.service b/docker.service
index 9befe80..c1bfbe1 100644
--- a/docker.service
+++ b/docker.service
@@ -11,6 +11,7 @@ EnvironmentFile=-/etc/sysconfig/docker-network
ExecStart=/usr/bin/docker -d $OPTIONS $DOCKER_STORAGE_OPTIONS
$DOCKER_NETWORK_OPTIONS
LimitNOFILE=1048576
LimitNPROC=1048576
+LimitCORE=infinity
MountFlags=slave
[Install]
diff --git a/docker.sysconfig b/docker.sysconfig
index da2e4d3..b66118e 100644
--- a/docker.sysconfig
+++ b/docker.sysconfig
@@ -16,3 +16,6 @@ DOCKER_CERT_PATH=/etc/docker
# Controls the /etc/cron.daily/docker-logrotate cron job status.
# To disable, uncomment the line below.
# LOGROTATE=false
+
+# Allow creation of core dumps
+GOTRACEBACK=crash
_______________________________________________
golang mailing list
[email protected]
https://lists.fedoraproject.org/mailman/listinfo/golang