Leapp fails to mount /var/log properly and ends in the emergency shell

Solution Verified - Updated -

Issue

The problem can manifest itself in various ways. Among others:

localhost upgrade[804]: mount: mount point /var/log does not exist
localhost upgrade[804]: IOError: [Errno 2] No such file or directory: '/var/log/leapp/dnf-plugin-data.txt'
Jun 15 05:03:46 localhost upgrade[804]: IOError: [Errno 2] No such file or directory: '/var/log/leapp/answerfile'
localhost upgrade[660]: IOError: [Errno 2] No such file or directory: '/var/log/leapp/leapp-upgrade.log'

Environment

  • Red Hat Enterprise Linux 7.9
  • Red Hat Enterprise Linux 8
  • Leapp
  • In-Place Upgrade 7->8

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content