You are not logged in.

#1 2025-04-28 00:15:11

zoeid
Member
Registered: 2016-05-06
Posts: 22

[SOLVED]Error: Steam now requires user namespaces to be enabled.

when launching steam it says

[deja@archlinux ~]$ steam
steam.sh[3134]: Running Steam on arch rolling 64-bit
steam.sh[3134]: STEAM_RUNTIME is enabled automatically
setup.sh[3189]: Steam runtime environment up-to-date!
steam.sh[3134]: Log already open
steam.sh[3134]: Using supervisor /home/deja/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/bin/steam-runtime-supervisor
steam-runtime-check-requirements[3241]: W: Child process exited with code 1: bwrap: Unexpected capabilities but not setuid, old file caps config?

steam.sh[3134]: 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
[deja@archlinux ~]$ cat /proc/sys/kernel/unprivileged_userns_clone
1
[deja@archlinux ~]$ uname -r
6.14.4-arch1-1
[deja@archlinux ~]$ zcat /proc/config.gz | grep USER_NS
CONFIG_USER_NS=y
CONFIG_USER_NS_UNPRIVILEGED=y
[deja@archlinux ~]$ sudo chmod +s $(which bwrap)
[deja@archlinux ~]$ steam
steam.sh[3493]: Running Steam on arch rolling 64-bit
steam.sh[3493]: STEAM_RUNTIME is enabled automatically
setup.sh[3548]: Steam runtime environment up-to-date!
steam.sh[3493]: Log already open
steam.sh[3493]: Using supervisor /home/deja/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/bin/steam-runtime-supervisor
steam-runtime-check-requirements[3600]: W: Child process exited with code 1: bwrap: Unexpected capabilities but not setuid, old file caps config?

steam.sh[3493]: 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
[deja@archlinux ~]$ getenforce
bash: getenforce: command not found
[deja@archlinux ~]$ sudo systemctl status apparmor
Unit apparmor.service could not be found.
[deja@archlinux ~]$ ls -l $(which bwrap)
-rwsr-sr-x 1 root root 84424 Oct 30 22:18 /usr/bin/bwrap
[deja@archlinux ~]$ sudo chmod 755 $(which bwrap)
[deja@archlinux ~]$ ls -l $(which bwrap)
-rwxr-xr-x 1 root root 84424 Oct 30 22:18 /usr/bin/bwrap
[deja@archlinux ~]$ zgrep CONFIG_USER_NS /proc/config.gz
CONFIG_USER_NS=y
CONFIG_USER_NS_UNPRIVILEGED=y
[deja@archlinux ~]$ zgrep CONFIG_PID_NS /proc/config.gz
CONFIG_PID_NS=y
[deja@archlinux ~]$ cat /proc/sys/user/max_user_namespaces
127210
[deja@archlinux ~]$ cat /proc/sys/user/max_mnt_namespaces
127210
[deja@archlinux ~]$ cat /proc/sys/kernel/unprivileged_userns_clone
1
[deja@archlinux ~]$ steam
steam.sh[3997]: Running Steam on arch rolling 64-bit
steam.sh[3997]: STEAM_RUNTIME is enabled automatically
setup.sh[4052]: Steam runtime environment up-to-date!
steam.sh[3997]: Log already open
steam.sh[3997]: Using supervisor /home/deja/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/bin/steam-runtime-supervisor
steam-runtime-check-requirements[4104]: W: Child process exited with code 1: bwrap: Unexpected capabilities but not setuid, old file caps config?

steam.sh[3997]: 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
[deja@archlinux ~]$ getcap $(which bwrap)
/usr/bin/bwrap cap_sys_admin=ep
[deja@archlinux ~]$ sudo setcap -r $(which bwrap)
[deja@archlinux ~]$ steam
steam.sh[4164]: Running Steam on arch rolling 64-bit
steam.sh[4164]: STEAM_RUNTIME is enabled automatically
setup.sh[4219]: Steam runtime environment up-to-date!
steam.sh[4164]: Log already open
steam.sh[4164]: Using supervisor /home/deja/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/bin/steam-runtime-supervisor
steam-runtime-check-requirements[4271]: W: Child process exited with code 1: bwrap: Unexpected capabilities but not setuid, old file caps config?

steam.sh[4164]: 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
[deja@archlinux ~]$ sudo setcap cap_sys_admin=eip $(which bwrap)
[sudo] password for deja: 
[deja@archlinux ~]$ steam
steam.sh[4705]: Running Steam on arch rolling 64-bit
steam.sh[4705]: STEAM_RUNTIME is enabled automatically
setup.sh[4760]: Steam runtime environment up-to-date!
steam.sh[4705]: Log already open
steam.sh[4705]: Using supervisor /home/deja/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/bin/steam-runtime-supervisor
steam-runtime-check-requirements[4812]: W: Child process exited with code 1: bwrap: Unexpected capabilities but not setuid, old file caps config?

steam.sh[4705]: 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
[deja@archlinux ~]$ mv ~/.steam ~/.steam.bak
[deja@archlinux ~]$ steam
bin_steam.sh[4855]: Repairing installation, linking /home/deja/.steam/steam to /home/deja/.local/share/Steam
steam.sh[4855]: Running Steam on arch rolling 64-bit
steam.sh[4855]: STEAM_RUNTIME is enabled automatically
setup.sh[4912]: Steam runtime environment up-to-date!
steam.sh[4855]: Log already open
steam.sh[4855]: Using supervisor /home/deja/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/bin/steam-runtime-supervisor
steam-runtime-check-requirements[4964]: W: Child process exited with code 1: bwrap: Unexpected capabilities but not setuid, old file caps config?

steam.sh[4855]: 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
[deja@archlinux ~]$ steam --no-sandbox
steam.sh[5009]: Running Steam on arch rolling 64-bit
steam.sh[5009]: STEAM_RUNTIME is enabled automatically
setup.sh[5061]: Steam runtime environment up-to-date!
steam.sh[5009]: Log already open
steam.sh[5009]: Using supervisor /home/deja/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/bin/steam-runtime-supervisor
steam-runtime-check-requirements[5113]: W: Child process exited with code 1: bwrap: Unexpected capabilities but not setuid, old file caps config?

steam.sh[5009]: 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
[deja@archlinux ~]$

any help to fix it, thanks

Last edited by zoeid (2025-05-01 23:19:56)


Entia non sunt multiplicanda praeter necessitatem.

Offline

#2 2025-04-28 06:01:46

cryptearth
Member
Registered: 2024-02-03
Posts: 2,117

Re: [SOLVED]Error: Steam now requires user namespaces to be enabled.

dont use flatpak - steam is available on the multilib repo

Online

#3 2025-04-28 06:05:42

mackin_cheese
Member
Registered: 2025-01-07
Posts: 477

Re: [SOLVED]Error: Steam now requires user namespaces to be enabled.

The error you gave gives you a reference to the document that should explain to you what should be done. Please read the documentation before asking.

Last edited by mackin_cheese (2025-04-28 06:07:24)

Offline

#4 2025-04-28 23:27:01

zoeid
Member
Registered: 2016-05-06
Posts: 22

Re: [SOLVED]Error: Steam now requires user namespaces to be enabled.

cryptearth wrote:

dont use flatpak - steam is available on the multilib repo

I'm not using flatpak

[deja@archlinux ~]$ sudo pacman -R steam
checking dependencies...

Packages (1) steam-1.0.0.82-2

Total Removed Size:  18.65 MiB

:: Do you want to remove these packages? [Y/n] 
:: Processing package changes...
(1/1) removing steam                                          [#################################] 100%
:: Running post-transaction hooks...
(1/4) Reloading device manager configuration...
(2/4) Arming ConditionNeedsUpdate...
(3/4) Updating icon theme caches...
(4/4) Updating the desktop file MIME type cache...
[deja@archlinux ~]$ sudo pacman -S steam
resolving dependencies...
looking for conflicting packages...

Packages (1) steam-1.0.0.82-2

Total Installed Size:  18.65 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                [#################################] 100%
(1/1) checking package integrity                              [#################################] 100%
(1/1) loading package files                                   [#################################] 100%
(1/1) checking for file conflicts                             [#################################] 100%
(1/1) checking available disk space                           [#################################] 100%
:: Processing package changes...
(1/1) installing steam                                        [#################################] 100%
Optional dependencies for steam
    polkit: to setup SteamVR without root access [installed]
    steam-native-runtime: steam native runtime support
    xdg-desktop-portal-impl: file & folder picker
:: Running post-transaction hooks...
(1/4) Reloading device manager configuration...
(2/4) Arming ConditionNeedsUpdate...
(3/4) Updating icon theme caches...
(4/4) Updating the desktop file MIME type cache...
[deja@archlinux ~]$ steam
steam.sh[5485]: Running Steam on arch rolling 64-bit
steam.sh[5485]: STEAM_RUNTIME is enabled automatically
setup.sh[5538]: Steam runtime environment up-to-date!
steam.sh[5485]: Log already open
steam.sh[5485]: Using supervisor /home/deja/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/bin/steam-runtime-supervisor
steam-runtime-check-requirements[5590]: W: Child process exited with code 1: bwrap: Unexpected capabilities but not setuid, old file caps config?

steam.sh[5485]: 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
[deja@archlinux ~]$ 
mackin_cheese wrote:

The error you gave gives you a reference to the document that should explain to you what should be done. Please read the documentation before asking.

If you can see i gave multiple commands to follow what they say and nothing fixed it

Last edited by zoeid (2025-04-28 23:29:58)


Entia non sunt multiplicanda praeter necessitatem.

Offline

#5 2025-04-29 01:23:00

mackin_cheese
Member
Registered: 2025-01-07
Posts: 477

Re: [SOLVED]Error: Steam now requires user namespaces to be enabled.

hmm let me check this out

Last edited by mackin_cheese (2025-04-29 01:23:28)

Offline

#6 2025-04-30 04:07:42

Hekeus
Member
Registered: 2025-04-30
Posts: 1

Re: [SOLVED]Error: Steam now requires user namespaces to be enabled.

Hello. Try this
sudo chmod u+s /user/bin/bwrap

Offline

#7 2025-05-01 23:12:01

zoeid
Member
Registered: 2016-05-06
Posts: 22

Re: [SOLVED]Error: Steam now requires user namespaces to be enabled.

Hekeus wrote:

Hello. Try this
sudo chmod u+s /user/bin/bwrap

thanks this fixed!!!!!!!!!!!!!!!!

Last edited by zoeid (2025-05-01 23:18:40)


Entia non sunt multiplicanda praeter necessitatem.

Offline

#8 2025-05-02 00:02:54

mackin_cheese
Member
Registered: 2025-01-07
Posts: 477

Re: [SOLVED]Error: Steam now requires user namespaces to be enabled.

zoeid wrote:
Hekeus wrote:

Hello. Try this
sudo chmod u+s /user/bin/bwrap

thanks this fixed!!!!!!!!!!!!!!!!

Just letting you know that command, which fixed your issue, is listed in the documentation referenced to in your error. That's why i made the comment about referencing the documentation.

Offline

Board footer

Powered by FluxBB