New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 691980 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner:
Closed: Feb 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug

Blocking:
issue 686652



Sign in to add a comment

Need to disable apport from setting core_pattern

Project Member Reported by kustermann@chromium.org, Feb 14 2017

Issue description

After the puppet configuration has been updated (in [0]) to override gce default sysctl settings and configure /proc/sys/kernel/core_pattern, it seems to still get overridden sometimes with apport.

Could we get the puppet configuration changed to disable apport (which is a ubuntu crash reporter) in /etc/default/apport by setting "enabled=0" ?


[0] https://bugs.chromium.org/p/chromium/issues/detail?id=686652#c12
 

Comment 1 by whesse@google.com, Aug 1 2017

Blocking: 686652

Comment 2 by whesse@google.com, Aug 1 2017

Components: Infra>Labs
Labels: -Pri-3 OS-Linux Pri-2

Comment 3 by athom@google.com, Jan 31 2018

FYI, this is still an issue for Dart, for BB we have a workaround, on LUCI we currently don't and will require to solve this in puppet.
Components: Infra>Puppet
Owner: friedman@chromium.org
Status: Assigned (was: Untriaged)
This should only be done on GCE machines right?

Comment 6 by athom@google.com, Feb 4 2018

Is there a specific reason why we would only want that on GCE machines?

AFAIK we want this on all our Ubuntu machines.
Any Ubuntu machine that is affected by this setting (#686652):
  classes:
    chrome_infra::setup::sysctl:
      sysctls: ['kernel.yama.ptrace_scope = 0', 'kernel.core_pattern = core.%p']

should have apport disabled.

whesse@ do you agree?

Comment 7 by whesse@google.com, Feb 4 2018

Yes, I agree.  Though we should be able to change all the Ubuntu machines to GCE machines (except ARM) pretty soon.
Status: Fixed (was: Assigned)
Project Member

Comment 9 by bugdroid1@chromium.org, Feb 5 2018

The following revision refers to this bug:
  https://chrome-internal.googlesource.com/infra/puppet/+/19a3a3ef2de81b30d9ca60055f870e7139bbd705

commit 19a3a3ef2de81b30d9ca60055f870e7139bbd705
Author: Elliott Friedman <friedman@google.com>
Date: Mon Feb 05 20:42:22 2018

It will be disabled anywhere that core_pattern thing is set now.
Project Member

Comment 11 by bugdroid1@chromium.org, Apr 6 2018

The following revision refers to this bug:
  https://chrome-internal.googlesource.com/infra/puppet/+/8b131f23f0e06a4cdbd47fab54466fb7ca43ee60

commit 8b131f23f0e06a4cdbd47fab54466fb7ca43ee60
Author: Vadim Shtayura <vadimsh@chromium.org>
Date: Fri Apr 06 18:47:25 2018

Sign in to add a comment