AlmaLinux OS 9 must not have the avahi package installed.

STIG ID: ALMA-09-031260  |  SRG: SRG-OS-000095-GPOS-00049 |  Severity: medium |  CCI: CCI-000381 |  Vulnerability Id: V-269356

Vulnerability Discussion

The avahi package provides the zeroconf capability to discover remote services such as printers and announce itself as a service for sharing files and devices.

Check

Verify that the avahi package is not installed with the following command:

$ dnf list –installed avahi

Error: No matching Packages to list

If the "avahi" package is installed, this is a finding.

Fix

Remove the avahi package with the following command:

$ dnf remove avahi