Discovery installation fails with the error ' Failed to add pause process to systemd sandbox cgroup dbus: couldn't determine address of session bus'

Solution Verified - Updated -

Issue

  • Podman login and discovery-install commands fails with the below error.

    [user@discovery ~]$ podman login registry.redhat.io
    WARN[0000] The cgroupv2 manager is set to systemd but there is no systemd user session available
    WARN[0000] For using systemd, you may need to log in using a user session
    WARN[0000] Alternatively, you can enable lingering with: `loginctl enable-linger 1001` (possibly as root)
    WARN[0000] Falling back to --cgroup-manager=cgroupfs
    Username: <<my username>
    password: < mypassword>
    WARN[0059] Failed to add pause process to systemd sandbox cgroup: dbus: couldn't determine address of session bus
    
    
    [user@discovery ~]$ discovery-installer install
    WARN[0000] The cgroupv2 manager is set to systemd but there is no systemd user session available
    WARN[0000] For using systemd, you may need to log in using a user session
    WARN[0000] Alternatively, you can enable lingering with: `loginctl enable-linger 1001` (possibly as root)
    WARN[0000] Falling back to --cgroup-manager=cgroupfs
    WARN[0000] The cgroupv2 manager is set to systemd but there is no systemd user session available
    WARN[0000] For using systemd, you may need to log in using a user session
    WARN[0000] Alternatively, you can enable lingering with: `loginctl enable-linger 1001` (possibly as root)
    WARN[0000] Falling back to --cgroup-manager=cgroupfs
    ERRO[0000] lstat /run/user/1001: no such file or directory
    Enter the new Discovery server password:
    ERRO[0000] lstat /run/user/1001: no such file or directory
    Enter the new Discovery server password:
    Re-enter the password:
    Password must be at least 10 characters long.
    

Environment

  • Product discovery tool, Discovery
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 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