Unable to install minetest-server in Fedora IOT

Quick question for the community. Within the last 30 days, I haven’t been able to layer minetest-server onto my Fedora 41 IoT box. Back in early February this wasn’t an issue. The layering command generates this error:

error: While applying overrides for pkg minetest-server: Could not find user ‘minetest’ in passwd file

I’ve never had a minetest user, but I think I’ve seen this problem before somewhere else specifically with layering on immutable IoT. I forgot to pin my functioning system state, so I lost that when messing around. Not a major crisis as its just a small group server, but it would be nice to have it back online eventually.

I think this is a larger problem in the ostree/rpm-ostree ecosystem that we are seeing more signs of:

1 Like

Not exactly the answer you are looking for, but mintest-server will run well on a normal RPM install of F41.
If you only have minetest on you IOT box, and it does not disrupt other services you need that could be an easy way to fix?

MatH, I appreciate the advice. Actually, I had just moved the server from a mutable OS (can’t remember if it was Arch or stock Fedora) to Fedora IoT a few months ago. I could redeploy the old server, but that might be too time-prohibitive right now for me. Still a valid solution none the less. This one is truly on me for not pining my functioning system state before attempting repairs. Kind of failed to use utilize the whole immutable thing which was the reason for the switch. :frowning:

@miabbott , thank you for the links to the various issues. Yeah, that helped me recall that I have seen this issue before. Do you think its worth me posting a bug ticket on? It’s more of ostree issue than a problem with the minetest-server package. From the issues linked in your post, it seems like the developers are trying to make a workaround.

You could post a link to this thread on the upstream issue - Implement new RPM %sysusers script to fix user/group creation with sysusers · Issue #5333 · coreos/rpm-ostree · GitHub

There’s a fix proposed in rpm-ostree, so we’ll see how that goes - rpmostree-core: Reload user/groups after each %post script by travier · Pull Request #5334 · coreos/rpm-ostree · GitHub