nodemgr doesn't handle "pipe" core_pattern properly

Bug #1717862 reported by Krzysztof Klimonda
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
Trunk
Fix Committed
Medium
Krzysztof Klimonda
OpenContrail
New
Undecided
Krzysztof Klimonda

Bug Description

/proc/sys/kernel/core_pattern can start with a | (pipe) symbol, in which case it's parsed as a userspace script that will process the core file. If that's the case, the location of core files is implementation specific.

Add support for a DEFAULT.corefile_path config variable that lets operators specify a path to the directory with coredump files.

Tags: analytics
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/35676
Submitter: Krzysztof Klimonda (<email address hidden>)

Jeba Paulaiyan (jebap)
tags: added: analytics
Anish Mehta (amehta00)
Changed in opencontrail:
assignee: nobody → Krzysztof Klimonda (kklimonda)
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/35676
Committed: http://github.com/Juniper/contrail-controller/commit/f37c936440f883b936929e2cfc3e6e42eb260b02
Submitter: Zuul (<email address hidden>)
Branch: master

commit f37c936440f883b936929e2cfc3e6e42eb260b02
Author: Krzysztof Klimonda <email address hidden>
Date: Fri Sep 15 09:41:47 2017 +0200

Make corefile_path variable adjustable.

When the first character of /proc/sys/kernel/core_pattern file
is a | symbol, the remainder of the line is to be interpreted
as a command-line to a userspace script that will process the
coredump file. In that case we cannot parse that line and assume
it will point to the location of system core files. Instead, allow
operators to specify where core files are located.

Closes-Bug: #1717862
Change-Id: Ibbde444fdf555dccba41c8c9e26846f2570e4e7b

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.