Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1343944

Summary: [RFE] Need a openscap image for running oscapd
Product: Red Hat Enterprise Linux 7 Reporter: Alex Jia <ajia>
Component: rhel-server-containerAssignee: Lokesh Mandvekar <lsm5>
Status: CLOSED WONTFIX QA Contact: atomic-bugs <atomic-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 7.4CC: eslobodo, lfriedma, lmiksik
Target Milestone: rcKeywords: Extras, FutureFeature, TestBlocker
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-12-15 07:42:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1311544, 1315369    

Description Alex Jia 2016-06-08 11:40:17 UTC
Description of problem:
The bug 1329055 is closed, because the openscap image is being planned for 7.2.5 release, the bug is used for tracking the question.

Version-Release number of selected component (if applicable):

# rpm -q atomic docker
atomic-1.10.3-2.el7.x86_64
docker-1.10.3-31.el7.x86_64


How reproducible:
always

Steps to Reproduce:
1. atomic install rhel7
2. atomic scan --verbose <rhel7 image id>


Actual results:

# ./atomic scan --verbose sha256:6489c
docker run -it --rm -v /etc/localtime:/etc/localtime -v /run/atomic/2016-06-08-07-05-30-254261:/scanin -v /var/lib/atomic/openscap/2016-06-08-07-05-30-254261:/scanout:rw,Z openscap oscapd-evaluate scan --no-standard-compliance --targets chroots-in-dir:///scanin --output /scanout
Unable to find image 'openscap:latest' locally
Trying to pull repository registry.access.redhat.com/openscap ... 
Pulling repository registry.access.redhat.com/openscap
Error: image openscap not found

Trying to pull repository docker.io/library/openscap ... 
Pulling repository docker.io/library/openscap
Error: image library/openscap not found
docker: Error: image library/openscap not found.
See '/usr/bin/docker-current run --help'.


Expected results:


Additional info:

Comment 8 Alex Jia 2016-06-16 15:42:11 UTC
well, the rhel7/openscap image(sha256:c96e4) should be okay, the above issue is caused by SELinux bug 1347360.

Comment 10 Alex Jia 2016-09-07 09:50:38 UTC
The registry.access.redhat.com/rhel7/openscap works well now, so move the bug to VERIFIED.

[cloud-user@atomic-00 atomic]$ sudo docker images|grep openscap
registry.access.redhat.com/rhel7/openscap                            latest              e86fecac7d50        5 weeks ago         362.3 MB

Comment 13 RHEL Program Management 2020-12-15 07:42:00 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.