Questions tagged [snap]

114 questions
36
votes
13 answers

Snap-confine has elevated permissions and is not confined but should be. Refusing to continue to avoid permission escalation attacks

I have been using snap for some time but after a recent upgrade, I get this error when I try opening any application Snap-confine has elevated permissions and is not confined but should be. Refusing to continue to avoid permission escalation…
ROOT-X17
  • 463
  • 1
  • 4
  • 8
31
votes
12 answers

Error response from daemon: cannot stop container - signaling init process caused "permission denied"

I started the Docker container: VirtualBox:~$ sudo docker run --name rabbitmq -d -p 0.0.0.0:5672:5672 -p 0.0.0.0:15672:15672 bitnami/rabbitmq All is well, the container is working. docker ps CONTAINER ID IMAGE COMMAND …
22
votes
1 answer

Cannot update snap namespace: cannot create symlink in "/etc/docker": existing file in the way

The Docker command is not working after restarting (using sudo reboot) the Ubuntu (20.04) server. Now, for any command with docker, it gives me an error. For example, $ docker --help cannot update snap namespace: cannot create symlink in…
Wenuka
  • 887
  • 2
  • 9
  • 25
7
votes
1 answer

VSCode problem showing paths in folder /run/user/1000/doc

I recently got a problem in VSCode after updating to v1.77.3 where the path for new projects is wrong, while for old projects it's correct. In particular, new projects are opened in folders prefixed with /run/user/100/doc/ followed by a sha256 like…
Lotfi
  • 136
  • 1
  • 6
6
votes
5 answers

Issue: VLC player opens up separate windows for video and audio in Ubuntu 20.04.3 LTS

I am using Ubuntu 20.04.3 LTS and I installed VLC player from snap store (version: 3.0.16). but when I open up a video file with VLC player, it opens up a window for the video and another window for the audio. I have tried few solutions mentioned in…
Dhanusha_Perera07
  • 3,347
  • 5
  • 14
  • 22
5
votes
0 answers

How to upgrade snap installed Android Studio to version "patch 2"?

I have a lab with 32 linux machines, with Android Studio installed using snap. The version instaled (last version) is Bumblebee patch 1 (built 1 february 2022). This version has a small bug when defining size of elements in screens. If you install…
carlao2005
  • 315
  • 2
  • 8
5
votes
0 answers

How to make VS-Code Flatpak to detect Docker Snap

In my conquest to make all my apps run from containers, I have, as expected, ran into some problems. I installed VS-Code as a Flatpak and installed the Docker plugin, but the plugin is not able to detect the docker binary because docker is actually…
4
votes
1 answer

Add self-signed root ca to snap firefox from bash on Ubuntu 22.10?

Context After looking at various methods to add a self-signed, public root certificate (ca.crt) to (snap) Firefox, I experienced some difficulties. Other solutions Firefox does not look at the system root ca's by default. However, one answer found…
a.t.
  • 2,002
  • 3
  • 26
  • 66
4
votes
1 answer

unable to install docker using snap; cannot run install hook of "docker" snap

I was attempting to install docker with snap and the error message is as follows: l@l-Lenovo-Rescuer-15ISK:~$ sudo snap install docker error: cannot perform the following tasks: - Run install hook of "docker" snap if present (run hook "install":…
pxc3110
  • 51
  • 3
  • 5
3
votes
1 answer

How to fix snap on ubuntu 22.04

I have a problem with snap. For example when I try to run firefox I have this error : pc:~$ firefox cannot open /tmp/snap-private-tmp: Permission denied When I look the log I have : kernel: audit: type=1400 audit: apparmor="DENIED"…
linuxuser
  • 57
  • 6
3
votes
0 answers

Docker bind propagation mount error "is not a shared mount"

I am trying to mount a FUSE virtual filesystem from inside a Docker container and expose the mount point to the host. Docker is installed via snap on Ubuntu 20.04 The software is a fresh install of Seafile (a Dropbox alternative), but this problem I…
jonathanbsyd
  • 8,031
  • 6
  • 24
  • 26
3
votes
0 answers

Snapd error: system does not fully support snapd: cannot mount squashfs image using .... Operation not permitted. Ubuntu 20.04

Im trying to install certbot and snapd core etc and it gives me this error: error: system does not fully support snapd: cannot mount squashfs image using "squashfs": mount: /tmp/sanity-mountpoint-718641914: mount failed: Operation not permitted. I…
RocKeX
  • 31
  • 2
3
votes
2 answers

Is there a minimum system specification for installing snap?

I tried installing snap on debian 10 buster using the sudo command. When I run the command "sudo snap install core" I get the error message: system does not fully support snapd: cannot mount squashes image using "squashfs": mount:…
Wizking
  • 33
  • 6
2
votes
1 answer

"pm2.root.service is not a snap cgroup" can't start extra browsers with puppeteer

when I run too many puppeteer browsers via my nodejs app and i use pm2 to run it. After 80-85 browsers, it can't create new browsers and crash the app. When I check memory and disk I have enough space. My server is headless Ubuntu. I think the main…
Kamuran Sönecek
  • 3,293
  • 2
  • 30
  • 57
2
votes
0 answers

How to kill running "invisible" containers?

I installed docker using snap (during the install process of 22.04) and it was working fine, and all my containers were spun up using docker run ... This was until I installed docker-compose using apt later on. When I attempted to bring up…
hedche
  • 56
  • 4
1
2 3 4 5 6 7 8