yum repolist: ensure pkg mgr repositories are configured

sunhux used Ask the Experts™
When verifying for RHEL7 CIS benchmark compliance item 1.2.1
"Ensure package manager repositories are configured", got the
message below:  is this an NC & what should be done to rectify?

All the CIS doc says is "Configure your package manager repositories
according to site policy" but currently we don't have one:

$ yum repolist
Loaded plugins: product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast
repo id                                                     repo name                                         status
!docker-ee-stable-17.06/x86_64         Docker EE Stable 17.06 - x86_64     19
repolist: 19
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Fractional CTO
Distinguished Expert 2018
What this seems to be saying is this...

1) You've configured a alternative (non standard) repository for Docker.

2) Since this is an unknown (non standard) repository, the repository has been flagged as suspicious.

3) The fix is either to delete all references to the repository or create a Site Policy to handle this exception.

What Site Policy might mean is defined by the script you're running. You'll refer to your script's docs for correct configuring of this option or open a ticket with the script developer for assistance.

Likely your docs will define this clearly.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial