Disclaimer: I'm referring to this post:
https://forum.proxmox.com/threads/cant-install-snap-in-lxc-container.68708/
Peopel solved the problem there, but I still stuck with installation of Firefox into an LXC using apt/snap. So, here we go again
~~~
I tried installing firefox on a Ubuntu container (latest updates/upgrades done). Those are the steps:
I also tried
Also, as recommended at some places, I tried issuing the commands again.
The Container is also prepared as recommended:
mandatory reboots are done, FUSE box in options is active, container is "unprivileged" and the following options are set:
I have to mention, though I think it does not make any difference: I run the container as a clone of a custom-template, because I got sick preparing the naked container again for every new try - I tried it with dozens containers now to find the issue.
However, I always end up with this error as mentioned above:
According to this post in the snap-board, it's not possible at all in a LXC container? I cannot believ that, actually - because a lot of people seem to be able to solve it:
https://forum.snapcraft.io/t/unable-to-install-snap-from-store-or-locally/4629
I am apparantly not the only one, it seems like this problem pops up again in the last weeks, months, like here:
https://forum.proxmox.com/threads/snap-fehler-in-einem-lcx-container.72228/
https://forum.proxmox.com/threads/cant-install-snap-in-lxc-container.68708/
Peopel solved the problem there, but I still stuck with installation of Firefox into an LXC using apt/snap. So, here we go again
~~~
I tried installing firefox on a Ubuntu container (latest updates/upgrades done). Those are the steps:
Code:
sudo apt install squashfuse fuse snapd -y \
sudo mkdir /lib/modules
sudo apt install firefox
I also tried
Code:
sudo snap install firefox
Also, as recommended at some places, I tried issuing the commands again.
The Container is also prepared as recommended:
mandatory reboots are done, FUSE box in options is active, container is "unprivileged" and the following options are set:
Code:
lxc.mount.entry = /dev/fuse dev/fuse none bind,create=file,optional
lxc.mount.auto=cgroup:rw
I have to mention, though I think it does not make any difference: I run the container as a clone of a custom-template, because I got sick preparing the naked container again for every new try - I tried it with dozens containers now to find the issue.
However, I always end up with this error as mentioned above:
Code:
- Setup snap "firefox" (3416) security profiles (cannot setup udev for snap "firefox": cannot reload udev rules: exit status 1
udev output:
Failed to send reload request: No such file or directory
)
- Setup snap "firefox" (3416) security profiles (cannot reload udev rules: exit status 1
udev output:
Failed to send reload request: No such file or directory
)
- Setup snap "firefox" (3416) security profiles for auto-connections (cannot reload udev rules: exit status 1
udev output:
Failed to send reload request: No such file or directory
)
According to this post in the snap-board, it's not possible at all in a LXC container? I cannot believ that, actually - because a lot of people seem to be able to solve it:
https://forum.snapcraft.io/t/unable-to-install-snap-from-store-or-locally/4629
I am apparantly not the only one, it seems like this problem pops up again in the last weeks, months, like here:
https://forum.proxmox.com/threads/snap-fehler-in-einem-lcx-container.72228/