[Bug 1654479] Re: Disabling 'Report to Canonical: App crashes and errors' sets wrong core_pattern

Pat McGowan pat.mcgowan at canonical.com
Fri Jan 20 19:29:53 UTC 2017


This is set per the fix for lp:1505302 but that also sets suid_dumpable
to 0. The core pattern seems moot in that case?

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1654479

Title:
  Disabling 'Report to Canonical: App crashes and errors' sets wrong
  core_pattern

Status in Canonical System Image:
  New
Status in apport package in Ubuntu:
  New

Bug description:
  Disabling 'Report to Canonical: App crashes and errors' sets wrong
  core_pattern.

  On a fresh boot with error reporting disabled by default:
  # cat /proc/sys/kernel/core_pattern 
  /bad_core_pattern

  Enable 'Report to Canonical: App crashes and errors':
  # cat /proc/sys/kernel/core_pattern 
  |/usr/share/apport/apport %p %s %c %P

  Disable 'Report to Canonical: App crashes and errors':
  # cat /proc/sys/kernel/core_pattern 
  core

  I think it should be reverting to "/bad_core_pattern" instead of
  "core". Because "core" could fill the filesystem with core files (if
  ulimit allows it).

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1654479/+subscriptions



More information about the foundations-bugs mailing list