Snapd is not working since downgrade to systemd 239.6-2.2 advised in the security update on 2019-01-19


#1

As the tittle says, in the security update on 2019-01-19 i downgraded my manjaro to systemd 239.6-2.2 as was advised using:

sudo pacman -Syyuu

Everything went well, except for my snap apps. Not only none of the snaps opened when I tried to use them but also, every time i tried to install a new one, it always showed the following error:

error: system does not fully support snapd: cannot mount squashfs image using
       "squashfs": mount: /tmp/sanity-mountpoint-617176282: el montaje ha
       fallado: Operación no permitida.

These are the things that I’ve tried in order to fix the problem and haven’t worked:

  • Remove and reinstall the snapd package from the official repositories (2.36.2-1.0)
  • Install the snapd-git package from the official repositories (2.34.689-1)
  • Install the snapd package from AUR (2.37-1)
  • Install the snapd package from AUR (2.37.r177.ge10eb837f-1)
  • Ask for help in the snapcraft forum already and after some troubleshooting steps, they referred me to the manjaro forum since this appears to be an issue with manjaro.

And none of the packages mentioned above worked. The snapd package current installed is 2.37-1 from AUR. Please help!!

Thank you.


#2

Re-create kernel images

sudo mkinitcpio -P
sudo update-grub

Reboot.

I suggest you try the repo snapd package after the above.


#3

I followed the steps in your post but, the issue persists.


#4

Hi,
well my snapd is from the Repo. But I’ve installed it by using the terminal. How about removing the snapd AUR and following the steps on this link again?

https://docs.snapcraft.io/installing-snap-on-arch-linux/6758

In my case it has worked without problems and the updates of systemd haven’t affected snapd so far.

Cheers

Andi


#5

I followed the steps described on the link, but there is no change.


#6

Were the errors same on all cases?


#7

Yes, They were the same for all the attempts.


#8

Have you rebuilt snapd after kernel rebuild and reboot?


#9

No, I haven’t rebuilt the snap. Don’t know how to rebuild the snap to be honest.

I installed the snap version that @andicic89 provided in the link.


#10

I meant the package, not the snaps apps.
Rebuild after all the previous actions…


#11

Oh, I was referring to the snapd package in previous post(I apologize for not clarifying).

No, I haven’t rebuilt it because I don’t know how to rebuild it.


#12

Actually, the steps should solve your problem. Have you removed all your packages of snapd-package? As petsam said rebuilding should solve the problem.


#13

Yes, I have removed all the snapd-packages. But, every time that I start all over again from zero, it continues showing:

error: system does not fully support snapd: cannot mount squashfs image using
“squashfs”: mount: /tmp/sanity-mountpoint-617176282: el montaje ha
fallado: Operación no permitida.


#14

ufff… that’s really weird :frowning:
Guessing you use su as command?

How much space do you have on your tmp-folder?


#15

This is what “df” shows with sudo and without sudo:


#16

Is it possible you used sudo to install or start some snaps?
I think there shouldn’t be a difference at /tmpfs --> /run/user/1000 visible contents, as that folder “should be” owned by user-1000.


#17

I share the opinion with petsam.
Actually as I’ve written before following the steps, you should be able to install snapd. :man_shrugging:


#18

Yes, It is. I used sudo to install snap apps.

Here are some examples of what happens when I try to install snap apps with sudo:

[josh17@MJ-LINUX ~]$ sudo snap install spotify
[sudo] password for josh17:
error: system does not fully support snapd: cannot mount squashfs image using
“squashfs”: mount: /tmp/sanity-mountpoint-142931269: el montaje ha
fallado: Operación no permitida.

[josh17@MJ-LINUX ~]$ sudo snap install bitwarden
error: system does not fully support snapd: cannot mount squashfs image using
“squashfs”: mount: /tmp/sanity-mountpoint-630386560: el montaje ha
fallado: Operación no permitida.

[josh17@MJ-LINUX ~]$ sudo snap install rambox
error: system does not fully support snapd: cannot mount squashfs image using
“squashfs”: mount: /tmp/sanity-mountpoint-026401393: el montaje ha
fallado: Operación no permitida.

As you may see, it doesn’t allow to mount squashfs image in all cases. I was checking the the /run/user/1000 folder and it is actually owned by my user (In this case josh17).

Running getent passwd proves that my user is 1000

josh17:x:1000:1000:Mario Castro:/home/josh17:/bin/bash


#19

What about the included folders?


#20

EDIT: The /run/ and /user/ are owned by root. All inside /1000/ is owned by my user

This is what is included in /run/

This is the content of /run/user/

image

And the content of /run/user/1000

image