← All rules
SOCLE-CLD-PKG-004// Packageslowinventory state

Uninstall abrt-plugin-sosreport Package

Removes the abrt-plugin-sosreport package so full system diagnostics are not bundled into ABRT crash reports.

Checked against what is installed or registered, packages present/absent, account databases.

A pass proves✓ running now✓ on disk✓ survives rebootthe qualified verdict →
RHEL 8 / Rocky 8 / AlmaLinux 8CIS 4.0.0RHEL 9 / Rocky 9 / AlmaLinux 9CIS 2.0.0

Why this rule matters

abrt-plugin-sosreport lets ABRT attach a full sosreport to a crash report. An sosreport is a sweeping system diagnostic bundle (configuration, logs, network, package state), embedding it in crash data dramatically widens what can leak if a report is exfiltrated or sent off-host. On a hardened server this plugin is unnecessary and should be removed.

What Pavois checks

Pavois queries the effective package database via the package('abrt-plugin-sosreport') resource (rpm -q), reporting what is actually installed now rather than any config or manifest, the live RPM database is authoritative.

describe package('abrt-plugin-sosreport') do
  it { should_not be_installed }
end

How to verify it is applied

Run rpm -q abrt-plugin-sosreport. Expected output: package abrt-plugin-sosreport is not installed. A version string means the rule fails.

Inspect & investigate

Confirm with rpm -q abrt-plugin-sosreport; the removal is logged in dnf history and /var/log/dnf.rpm.log.

Remediation

Pavois's harden plan uses the package resource with action remove to uninstall abrt-plugin-sosreport (equivalent to dnf remove abrt-plugin-sosreport). Apply it with pavois harden apply.

Pavois applies this with its own harden engine, the plan below, not a shell script:

actionremove
nameabrt-plugin-sosreport
resourcepackage
pavois harden plan local

where the target is local, a user@host SSH alias, or a container , Docs

Impact & precautions

Removing this plugin only stops ABRT from auto-attaching sosreports; the standalone sos tool (if installed) still works for on-demand diagnostics. Precautions: none significant, no service interruption, and reinstalling the package restores the behaviour. Keep the standalone sos package if support cases require sosreports.

Sources & references