ts-host-install: Arrange for ssh logins to have no corefile size limit
PATCH 1/1 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.
Signed-off-by Ian Campbell <[email protected]>
--- ts-host-install | 7 +++++++ ts-logs-capture | 1 + 2 files changed, 8 insertions(+)
ts-host-install +7 -0
@@ -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 .");
ts-logs-capture +1 -0
@@ -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); }
Signature · 1 line
2.1.4
Ian Campbell writes ("[PATCH OSSTEST] ts-host-install: Arrange for ssh logins to have no corefile size limit"):
Quoted 2 lines
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 <[email protected]>