Bug 1817605
Summary: | atomic install fails due to missing /var/lib/atomic directory | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Michael Nguyen <mnguyen> |
Component: | atomic | Assignee: | Jindrich Novy <jnovy> |
Status: | CLOSED ERRATA | QA Contact: | atomic-bugs <atomic-bugs> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.8 | CC: | ajia, bbaude, bkhomuts, ddarrah, dwalsh, jnovy, lsm5, miabbott, mpitt, olorel, toneata, tsweeney |
Target Milestone: | rc | Keywords: | Extras |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | atomic-1.22.1-33.gitb507039.el7 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-04-01 00:26:56 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
Michael Nguyen
2020-03-26 16:06:30 UTC
This is the same issue as https://github.com/projectatomic/atomic/issues/1258 which we found a year ago. We have used the mkdir workaround since then on Fedora Atomic: https://github.com/cockpit-project/cockpit-ostree/commit/0cdb0bee6fc5af7ff5eb291f0a49510146ca8883 Verified in atomic-1.22.1-33.gitb507039.el7_8.x86_64. [root@atomic-host-test-001 cloud-user]# rpm -q atomic atomic-1.22.1-33.gitb507039.el7_8.x86_64 [root@atomic-host-test-001 cloud-user]# atomic install registry.access.redhat.com/rhel7/cockpit-ws /usr/bin/docker run --rm --privileged -v /:/host registry.access.redhat.com/rhel7/cockpit-ws /container/atomic-install + sed -e /pam_selinux/d -e /pam_sepermit/d /etc/pam.d/cockpit + mkdir -p /host/etc/cockpit/ws-certs.d /host/etc/cockpit/machines.d + chmod 755 /host/etc/cockpit/ws-certs.d /host/etc/cockpit/machines.d + chown root:root /host/etc/cockpit/ws-certs.d /host/etc/cockpit/machines.d + mkdir -p /host/var/lib/cockpit + chmod 775 /host/var/lib/cockpit + chown root:wheel /host/var/lib/cockpit + mkdir -p /etc/ssh + /bin/mount --bind /host/etc/cockpit /etc/cockpit + /usr/sbin/remotectl certificate --ensure [root@atomic-host-test-001 cloud-user]# atomic images list | grep cockpit-ws registry.access.redhat.com/rhel7/cockpit-ws latest 34edc0b57e16 2020-03-10 12:11 224.07 MB docker 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-2020:1235 The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days |