Apparmor don't let me open my Web Browser

Maybe it happened when I did a new install to update my base for 24.04, I don’t know because I only tried to open Vivaldi-Snapshot after updating it to the new version.

Despite having the repositories enabled, I’m not receiving any updates to Vivaldi, both Stable and Snapshot, that’s why I got the .DEB from their site and installed it manually.

Asking around Vivaldi devs found a solution, type this in the Terminal: printf ‘abi <abi/4.0>,\ninclude <tunables/global>\nprofile vivaldi-sandbox /opt/vivaldi*/vivaldi-bin flags=(unconfined) {userns,}\n’ | sudo tee /etc/apparmor.d/vivaldi-sandbox >/dev/null && sudo systemctl restart apparmor.service

Worked, but now the situation is reversed. Snapshot opens but Stable down.

When I try to open Vivaldi from the terminal it says this: [2997:2997:1106/194628.762436:FATAL:credentials.cc(132)] Check failed: . : Permission denied (13)
Trace/breakpoint trap (core dumped)

And this appears on /var/log/syslog: kernel: audit: type=1400 audit(1730828611.552:2003): apparmor=“DENIED” operation=“userns_create” class=“namespace” info=“User namespace creation restricted” error=-13 profile=“unconfined” pid=103338 comm=“vivaldi-bin” requested=“userns_create” denied=“userns_create”

I could keep using the Snapshot, if not for the problem that there’s a problem with Sync not being able to send updates to the server.

How I use that same command that made the Snapshot work to make the Stable work again?

What even is Apparmor?

Why the Vivaldi’s public keys are not being accepted?

  1. This sounds like a bug in the Vivaldi package, and it sounds like you are already in discussions with the Vivaldi developers, so they should give you a solution that works, and not a partial solution.
  2. I would check the path in the AppArmor profile - is the path /opt/vivaldi*/vivaldi-bin matches both Vivaldi snapshot and stable?
  3. AppArmor is a Mandatory Access Control system, one of the two such security systems in Linux - the other one being SELinux. AppArmor is used on Ubuntu based operating systems. If you don’t value your system’s security - you can turn it off by running sudo systemctl disable --now apparmor.service - though as you are running applications installed from the internet not through your operating system’s software repositories, I highly recommend that you keep it on.
  4. I’m not sure why you think that Vivaldi’s public keys are not being accepted - you didn’t mention anything like that before the last line of your message.
1 Like

And just one other point there - Vivaldi publishes an official Snap package that might be of help on Ubuntu-based Linux distributions: