Leapp fails with GLib.GError: g-key-file-error-quark: Not a regular file

Solution Verified - Updated -

Issue

During the leapp preupgrade step, the following traceback is seen:

  File "/etc/leapp/repos.d/system_upgrade/el8toel9/actors/networkmanagerconnectionscanner/libraries/networkmanagerconnectionscanner.py", line 55, in process_dir
    process_file(os.path.join(NM_CONN_DIR, f))
  File "/etc/leapp/repos.d/system_upgrade/el8toel9/actors/networkmanagerconnectionscanner/libraries/networkmanagerconnectionscanner.py", line 29, in process_file
    keyfile.load_from_file(filename, GLib.KeyFileFlags.NONE)
GLib.GError: g-key-file-error-quark: Not a regular file (1)

Environment

  • Red Hat Enterprise Linux 8
  • leapp IPU 8>9

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