projectatomic / atomic

Atomic Run Tool for installing/running/managing container images.
Other
524 stars 139 forks source link

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

Open marusak opened 5 years ago

marusak commented 5 years ago

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 commented 5 years ago

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

marusak commented 5 years ago

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