Skip to content

[Error] Failure to create rootful distrobox when using systemd-homed #2189

Description

@Smujb

Describe the bug
Users managed by systemd-homed are still not picked up by distrobox enter --root

Here is the error on distrobox 2.0.0-rc.4:

Error: unable to find user JayB: no matching entries in passwd file
2026/08/05 11:24:23 failed to execute enter command: failed to enter the container: error running the interactive command :exit status 255

And on 1.8.2.5:

Error: unable to find user JayB: no matching entries in passwd file

To Reproduce

  • Log into a user account managed by systemd-homed
  • Create a rootful distrobox
  • Attempt to enter it
  • An error is returned

Expected behavior
After entering the password, I should be presented with a shell in the newly created container. Instead, I get an error.

Logs
podman_log.txt
log.txt
log_oldver.txt

Desktop (please complete the following information):

  • Are you using podman, docker or lilipod? Podman
  • Which version or podman, docker or lilipod? Podman 6.0.2
  • Which version of distrobox? Both 1.8.2.5 and 2.0.0-rc.4
  • Which host distribution? Arch Linux
  • How did you install distrobox? pacman -S distrobox for the stable version and the install script on the github for the 2.0.0 beta

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions