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 1341922

Summary: atomic cmdline doesn't work because of /etc/atomic.d/ does not exist
Product: Red Hat Enterprise Linux 7 Reporter: Alex Jia <ajia>
Component: atomicAssignee: Brent Baude <bbaude>
Status: CLOSED ERRATA QA Contact: atomic-bugs <atomic-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 7.2CC: amurdaca, bbaude, dwalsh, lsm5, mpreisle, ndehadra, sghosh, yruseva
Target Milestone: rcKeywords: Extras, ZStream
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: 2016-06-23 16:21:50 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:

Description Alex Jia 2016-06-02 03:38:46 UTC
Description of problem:
Atomic RPM package or SPEC file haven't move atomic.d/ into /etc directory, it also means we can't find openscap under the /etc/atomic.d/.

Version-Release number of selected component (if applicable):
$ rpm -q atomic docker kernel PyYAML
atomic-1.10.3-1.el7.x86_64
docker-1.10.3-26.el7.x86_64
kernel-3.10.0-327.el7.x86_64
PyYAML-3.10-11.el7eng.x86_64

$ cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 7.2 (Maipo)

How reproducible:
always

Steps to Reproduce:
1. atomic -h

Actual results:
$ atomic -h
/etc/atomic.d/ does not exist


Expected results:


Additional info:

You need to manually install PyYAML RPM package firstly avoid to encounter bug 1341916, and meanwhile, I tried to create atomic.d directory under the /etc, atomic cmdline works well, but it had better we can document something about /etc/atomic.d/openscap.

Comment 2 Daniel Walsh 2016-06-02 11:25:07 UTC
make install for atomic command should have created /etc/atomic.d directory.

Comment 3 Daniel Walsh 2016-06-02 11:25:49 UTC
Brent should we be doing a make install-openscap for RHEL systems?

Comment 4 Brent Baude 2016-06-02 14:09:40 UTC
We need to know the proposed openscap image name and then we can do something like that.  I'll add Martin here.

Comment 5 Subhendu Ghosh 2016-06-03 16:07:46 UTC
docker pull rhel7/openscap

Comment 8 Alex Jia 2016-06-08 11:28:53 UTC
rpm -qf /etc/atomic.d/openscap
atomic-1.10.3-2.el7.x86_64

But the directory /etc/atomic.d/ doesn't belong to any package, it's irrelevant with bug, I will file new one to track it.
# rpm -qf /etc/atomic.d/
file /etc/atomic.d is not owned by any package

the atomic -h works well, so move the bug to VERIFIED status.

Comment 9 Lokesh Mandvekar 2016-06-08 16:07:41 UTC
*** Bug 1343595 has been marked as a duplicate of this bug. ***

Comment 10 Micah Abbott 2016-06-10 13:02:48 UTC
*** Bug 1344623 has been marked as a duplicate of this bug. ***

Comment 14 errata-xmlrpc 2016-06-23 16:21:50 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:1273