| Summary: | GLib.Error: g-io-error-quark: openat: No such file or directory | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Alex Jia <ajia> |
| Component: | atomic-pkglayer | Assignee: | Colin Walters <walters> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | atomic-bugs <atomic-bugs> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.4 | CC: | jlebon, miabbott, walters |
| Target Milestone: | rc | Keywords: | Extras |
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-01-15 16:05:16 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: | |
Colin, I want to install RPM pacakge on Atomic Host, but the atomic-pkglayer doesn't work now, do we have another way to do this? thanks. If you run into issues with pkglayer, honestly I would just do:
mkdir -p /var/tmp/overlay/{work,upper}
mount -o remount,rw /usr
mount -t overlay overlayfs -o lowerdir=/usr,upperdir=/var/tmp/overlay/upper,workdir=/var/tmp/overlay/work /usr
That's basically what "ostree admin unlock" is doing at the core.
(In reply to Colin Walters from comment #6) Colin, got it, thanks for your details. We've come a long way since this bug was open! atomic-pkglayer is no longer supported since rpm-ostree now supports package layering natively. Also note that the latest RHEL AH should already have docker-latest installed. |
Description of problem: I can't use atomic-pkglayer to install docker-latest related RPM packages on Atomic Host, and got "GLib.Error: g-io-error-quark: openat: No such file or directory (1)" Version-Release number of selected component (if applicable): registry.access.redhat.com/rhel7/rhel-tools:latest (3b7bd2d69242) [cloud-user@atomic-00 ~]$ rpm -q docker atomic docker-1.9.1-26.el7.x86_64 atomic-1.9-4.gitff44c6a.el7.x86_64 How reproducible: always Steps to Reproduce: 1. docker pull registry.access.redhat.com/rhel7/rhel-tools 2. docker run -it registry.access.redhat.com/rhel7/rhel-tools:latest 3. download docker-latest related RPM packages in rhel-tools container 4. using atomic-pkglayer to install these RPM packages Actual results: [root@b00c0ce22e3f docker-latest]# ls docker-latest-1.10.3-5.gitf8a9a2a.el7.x86_64.rpm docker-latest-selinux-1.10.3-5.gitf8a9a2a.el7.x86_64.rpm docker-latest-fish-completion-1.10.3-5.gitf8a9a2a.el7.x86_64.rpm docker-latest-utils-1.10.3-5.gitf8a9a2a.el7.x86_64.rpm docker-latest-forward-journald-1.10.3-5.gitf8a9a2a.el7.x86_64.rpm docker-latest-v1.10-migrator-1.10.3-5.gitf8a9a2a.el7.x86_64.rpm docker-latest-logrotate-1.10.3-5.gitf8a9a2a.el7.x86_64.rpm docker-latest-vim-1.10.3-5.gitf8a9a2a.el7.x86_64.rpm docker-latest-novolume-plugin-1.10.3-5.gitf8a9a2a.el7.x86_64.rpm docker-latest-zsh-completion-1.10.3-5.gitf8a9a2a.el7.x86_64.rpm [root@b00c0ce22e3f docker-latest]# atomic-pkglayer *.rpm Traceback (most recent call last): File "/usr/bin/atomic-pkglayer", line 80, in <module> sysroot.load(None) GLib.Error: g-io-error-quark: openat: No such file or directory (1) Expected results: can successfully install RPM packages by atomic-pkglayer Additional info: