Why enabling quadlet using "systemctl enable container.service" throws the message "Failed to enable unit: Unit /run/user/<USERID>/systemd/generator/XXX.service is transient or generated." in Red Hat Enterprise Linux ?

Solution Unverified - Updated -

Issue

Why enabling quadlet using "systemctl enable container.service" throws the message "Failed to enable unit: Unit /run/user/USERID/systemd/generator/XXX.service is transient or generated." in Red Hat Enterprise Linux ?

Environment

  • Red Hat Enterprise Linux
  • Quadlet definition for container

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