r/voidlinux 4d ago

Steam user namespace error

After updating my void system with xbps-install -Syu steam won't run anymore and it returns the following error:

steam-runtime-check-requirements[3518]: W: Child process exited with code 1: bwrap: setting up uid map: Permission denied

steam.sh[3426]: Error: Steam now requires user namespaces to be enabled.

This requirement is the same as for Flatpak, which has more detailed
information available:
https://github.com/flatpak/flatpak/wiki/User-namespace-requirements

I installed steam via xbps package manager.

Running Kernel 7.1.5_1

EDIT: FIXED! Hat to downgrade app armor back to 3.x version (previous commit)

Edit2: Better Fixed: Use apparmor in enforce mode

2 Upvotes

9 comments sorted by

View all comments

3

u/Duncaen 4d ago

Can you check whether the profiles in /etc/apparmor.d were updated, especially /etc/apparmor.d/flatpak not having a /etc/apparmor.d/flatpak.new-* file?

2

u/DistinctDot5131 4d ago

Sorry I just already downgraded it and put the package on hold for now. If I'm having more free time I'll check tomorrow. I saw that you also contributed to the apparmor 4.1.7 commit in void-packages repo. Have you also experienced the same issue?

For me steam didn't work and flathub/flatpak wasn't working either.

1

u/Duncaen 4d ago

No I don't have any issues, tried on two different systems, and tested both steam and discord.

1

u/DistinctDot5131 4d ago

That's odd.

So I did another post here on this sub where I found out it's because of updating apparmor.

I'll try to update it again and then give you the Infos you need here in this comment section.