Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run steam-snap built locally #418

Open
lorsanta opened this issue Nov 1, 2024 · 5 comments
Open

Unable to run steam-snap built locally #418

lorsanta opened this issue Nov 1, 2024 · 5 comments
Labels

Comments

@lorsanta
Copy link

lorsanta commented Nov 1, 2024

I tried to build steam-snap, but whenever I run it I get this 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

The log show me this:

steam-runtime-check-requirements[53449]: W: Child process exited with code 1: bwrap: Can't read /proc/sys/kernel/overflowuid: Permission denied

steam.sh[51378]: 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

Teseted with:

os_release:
    name:               "Ubuntu"
    version:            "24.04.1 LTS (Noble Numbat)"
snap_info:
    steam_revision:     x1
    snapd_revision:     23177
$ snap list | grep 'steam'
steam                           1.0.0.81                    x1     -                   -                   -
@ashuntu
Copy link
Collaborator

ashuntu commented Nov 1, 2024

The requirements are described in the docs that are linked in the error you discovered: https://github.com/flatpak/flatpak/wiki/User-namespace-requirements.

You have to do the steps described in https://github.com/flatpak/flatpak/wiki/User-namespace-requirements#changing-from-setuid-to-unprivileged, except for the last step for Flatpak.

@lorsanta
Copy link
Author

lorsanta commented Nov 1, 2024

I already did, this is my situation right now:

$ stat -c '%A %a %n' /usr/bin/bwrap
-rwxr-xr-x 755 /usr/bin/bwrap
$ sysctl kernel.unprivileged_userns_clone
kernel.unprivileged_userns_clone = 1
$ sysctl user.max_user_namespaces
user.max_user_namespaces = 30265
$ sysctl user.max_mnt_namespaces
user.max_mnt_namespaces = 30265

What am I missing?

@ashuntu
Copy link
Collaborator

ashuntu commented Nov 1, 2024

You'll likely need to reboot, and make sure the changes are still applied.

@lorsanta
Copy link
Author

lorsanta commented Nov 1, 2024

Ok I just tried that, but it still shows me the same error

Copy link

github-actions bot commented Dec 2, 2024

This is an automated message 🤖

Your issue has been marked as stale due to 30 days of inactivity. We value every contribution, but as a small team, we're focusing on active issues to ensure efficiency. Please respond with any updates or indicate that it's still relevant to keep this issue open 🔄. If there's no further activity in the next 30 days, the issue will be automatically closed ⏳.

@github-actions github-actions bot added the stale label Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants