* [PATCH OSSTEST] ts-host-install: Arrange for ssh logins to have no corefile size limit
@ 2015-03-25 14:29 Ian Campbell
2015-04-21 15:19 ` Ian Jackson
0 siblings, 1 reply; 2+ messages in thread
From: Ian Campbell @ 2015-03-25 14:29 UTC (permalink / raw)
To: ian.jackson; +Cc: Ian Campbell, xen-devel
Collect the output of "cat /proc/self/limits" so we get some clue if
this isn't working for some reason.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
---
ts-host-install | 7 +++++++
ts-logs-capture | 1 +
2 files changed, 8 insertions(+)
diff --git a/ts-host-install b/ts-host-install
index 2e3e84b..ea5511e 100755
--- a/ts-host-install
+++ b/ts-host-install
@@ -146,6 +146,13 @@ END
# %p==pid,%e==executable name,%t==timestamp
"/var/core/%t.%p.%e.core") });
target_cmd_root($ho, "sysctl --load /etc/sysctl.conf");
+ my $coredumps_conf = <<'END';
+#<domain> <type> <item> <value>
+* soft core -1
+root soft core -1
+END
+ target_putfilecontents_root_stash($ho,10,$coredumps_conf,
+ '/etc/security/limits.d/coredumps.conf');
target_cmd_root($ho, "update-rc.d osstest-confirm-booted start 99 2 .");
diff --git a/ts-logs-capture b/ts-logs-capture
index 45b0a38..4ad55b9 100755
--- a/ts-logs-capture
+++ b/ts-logs-capture
@@ -168,6 +168,7 @@ sub fetch_logs_host_guests () {
'lspci -tv',
'cat /proc/partitions',
'virsh capabilities',
+ 'cat /proc/self/limits',
) {
try_cmd_output_save($cmd);
}
--
2.1.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH OSSTEST] ts-host-install: Arrange for ssh logins to have no corefile size limit
2015-03-25 14:29 [PATCH OSSTEST] ts-host-install: Arrange for ssh logins to have no corefile size limit Ian Campbell
@ 2015-04-21 15:19 ` Ian Jackson
0 siblings, 0 replies; 2+ messages in thread
From: Ian Jackson @ 2015-04-21 15:19 UTC (permalink / raw)
To: Ian Campbell; +Cc: xen-devel
Ian Campbell writes ("[PATCH OSSTEST] ts-host-install: Arrange for ssh logins to have no corefile size limit"):
> Collect the output of "cat /proc/self/limits" so we get some clue if
> this isn't working for some reason.
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-04-21 15:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-25 14:29 [PATCH OSSTEST] ts-host-install: Arrange for ssh logins to have no corefile size limit Ian Campbell
2015-04-21 15:19 ` Ian Jackson
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.