Skip to content

Reliance on the user existing in the database #150

@nrabulinski

Description

@nrabulinski

TL;DR at the bottom

Hi, I'm working on using muvm with NixOS running Asahi kernel and drivers. I have pretty much everything working when using muvm as binfmt interpreter for x86 apps when logged in as a regular user, but I'd also like to be able to tell Nix "this computer can also run x86_64-linux" programs. For that I need to be able to run muvm inside the Nix sandbox. It's not that much of an issue when one's using statically allocated users as builders, but in my case, I'm using the auto-allocate-uid feature, which means every time the sandbox is spun up, a random, unallocated UID is chosen to be the builder, which muvm doesn't like.
Would you be willing to accept patches which work around that?

TL;DR muvm assumes user has to be in the user database. That's not necessarily the case

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions