Skip to content

enable_core_dump parameter is boolean, should allow at least 3 values #307

@iscb1962

Description

@iscb1962

The enable_core_dump parameter is a boolean which translates false to 0 and true to 1, before setting the kernel parameter fs.suid_dumpable to the resultant value. This kernel setting actually has three options;

0 – disabled
1 – enabled
2 – enabled with restrictions (I believe the dump file is only accessible to root).

The parameter type needs to be change to integer so that the value can be set (or an additional parameter added to allow the on value to be set to 1 or 2).

OS / Environment
RHEL / CentOS / Rocky 7 and 9

Puppet Version

7.25.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions