Skip to content
This repository has been archived by the owner on Oct 10, 2020. It is now read-only.

Install fails with No such file or directory: '/var/lib/atomic/install.json.lock' #1258

Open
marusak opened this issue Jul 9, 2019 · 2 comments

Comments

@marusak
Copy link

marusak commented Jul 9, 2019

On f29 based fedora-atomic command atomic install cockpit/ws failes with:
[Errno 2] No such file or directory: '/var/lib/atomic/install.json.lock' even though all commands of the install suceeded.

Two possible workarounds:

  1. export ATOMIC_VAR_LIB=/var/lib/containers/atomic
  2. mkdir /var/lib/atomic

After either of those workarounds atomic install cockpit/ws works as expected.
Also directly using docker as /usr/bin/docker run --rm --privileged -v /:/host cockpit/ws /container/atomic-install works just fine even without these workarounds.


$ rpm -q atomic
atomic-1.22.1-27.gitb507039.fc29.x86_64
$ cat /etc/os-release 
NAME=Fedora
VERSION="29.20190625.0 (Atomic Host)"
...
OSTREE_VERSION=29.20190625.0
@martinpitt
Copy link

FTR, this was still working 16 days ago, and failed 8 days ago (unfortunately we missed the failure there).

marusak added a commit to marusak/cockpit-ostree that referenced this issue Jul 9, 2019
@marusak
Copy link
Author

marusak commented Jul 9, 2019

I checked what packages changed between these two images and the only possibly related one is skopeo from skopeo-0.1.35-2.git404c5bd.fc29.x86_64 to skopeo-0.1.37-0.gite079f9d.fc29.x86_64

marusak added a commit to marusak/cockpit-ostree that referenced this issue Jul 9, 2019
martinpitt pushed a commit to cockpit-project/cockpit-ostree that referenced this issue Jul 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants