Skip to content
This repository was archived by the owner on Oct 10, 2020. It is now read-only.
This repository was 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

Description

@marusak

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions