Package Details: snapd 2.61-2

Git Clone URL: (read-only, click to copy)
Package Base: snapd
Description: Service and tools for management of snap packages.
Upstream URL:
Licenses: GPL3
Conflicts: snap-confine
Submitter: Barthalion
Maintainer: bboozzoo (zyga, mardy)
Last Packager: bboozzoo
Votes: 202
Popularity: 2.54
First Submitted: 2018-01-07 17:37 (UTC)
Last Updated: 2023-10-20 19:08 (UTC)

Pinned Comments

bboozzoo commented on 2018-10-25 11:56 (UTC) (edited on 2018-10-25 12:31 (UTC) by bboozzoo)

2.36 is the first release with AppArmor enabled by default on Arch.

If you do not have AppArmor enabled at boot there should be no functional changes visible.

If you wish to use snaps with Apparmor, first make sure that Apparmor is enabled during boot, see for details. After upgrading the package, you need to do the following steps:

  • Reload the profiles: systemctl restart apparmor.service
  • Restart snapd: systemctl restart snapd.service
  • Load profiles for snaps: systemctl enable --now snapd.apparmor.service

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 .. 24 Next › Last »

Tblue commented on 2023-06-08 19:34 (UTC) (edited on 2023-06-11 01:02 (UTC) by Tblue)

The current snapd release (v2.59.5) suffers from openSUSE bug 1211989, which leads to errors like the following when trying to use (some?) snaps:

$ some-snap-app
cannot perform operation: mount -t tmpfs /tmp/snap.rootfs_A5z0uT: Permission denied

This has been fixed on the current snapd master branch, in commit 385d206 (GitHub PR).

Here's a patch for this AUR package that cherry-picks this commit (can be applied with git am):

From 560ae8b2a14d6761866c492b2a4d7c040f4825fb Mon Sep 17 00:00:00 2001
From: Tilman Blumenbach <>
Date: Thu, 8 Jun 2023 21:26:00 +0200
Subject: [PATCH] Cherry-pick fix for incompatible AppArmor change.


 PKGBUILD                 |  4 +++-
 snapcore-bug-12845.patch | 29 +++++++++++++++++++++++++++++
 2 files changed, 32 insertions(+), 1 deletion(-)
 create mode 100644 snapcore-bug-12845.patch

diff --git a/PKGBUILD b/PKGBUILD
index 31bfcdf..3231fb8 100644
@@ -19,8 +19,10 @@ options=('!strip' 'emptydirs' '!lto')
+    snapcore-bug-12845.patch
+            '251449de88f91778980269eda86b995b8cae6af15c90db2734707a47c18d9fb2')
diff --git a/snapcore-bug-12845.patch b/snapcore-bug-12845.patch
new file mode 100644
index 0000000..7bed7da
--- /dev/null
+++ b/snapcore-bug-12845.patch
@@ -0,0 +1,29 @@
+Patch downloaded from:
+From 385d206348e4dad96ab4fe0fd08f3818515e3906 Mon Sep 17 00:00:00 2001
+From: Michael Vogt <>
+Date: Mon, 5 Jun 2023 16:18:47 +0200
+Subject: [PATCH] snap-confine: add `tmpfs` mount rule to apparmor profile
+ (#12845)
+There is a bugfix to make the mount rules more strict/explicit in apparmor 3.0.10, see - this affects snapd as it's current profile relies on the implicit behavior. With this commit the missing mount rule is added explicitly.
+ cmd/snap-confine/ | 1 +
+ 1 file changed, 1 insertion(+)
+diff --git a/cmd/snap-confine/ b/cmd/snap-confine/
+index fb999368bc4..73d14c8c781 100644
+--- a/cmd/snap-confine/
++++ b/cmd/snap-confine/
+@@ -172,6 +172,7 @@
+     # boostrapping the mount namespace
+     /tmp/snap.rootfs_*/ rw,
++    mount fstype=tmpfs none -> /tmp/snap.rootfs_*/,
+     mount options=(rw rshared) -> /,
+     mount options=(rw bind) /tmp/snap.rootfs_*/ -> /tmp/snap.rootfs_*/,
+     mount options=(rw unbindable) -> /tmp/snap.rootfs_*/,

flixter commented on 2023-06-04 09:12 (UTC)

On a completely new installation, I have found out these packages to be required by the build of snapd: pkgconf, autoconf and automake. Otherwise, it will not build.

<deleted-account> commented on 2023-03-19 01:12 (UTC)

Just a heads up for anyone experiencing problems building, I was not able to build this package with gcc-go, but building with go works just fine.

It should probably be noted somewhere that this package needs go and not gcc-go. Or there is otherwise some issue or additional dependency when using gcc-go (i'm not sure which is true/caused it to not build with gcc-go)

bkb commented on 2023-02-27 14:21 (UTC)

Create snapd-bin

bboozzoo commented on 2023-02-09 06:26 (UTC)

@Repp no, not really

Because it's so hard for folks to follow, quoting here from the PKGBUILD archwiki page:

Note: The group base-devel is assumed to be already installed when building with makepkg. Members of this group should not be included in makedepends array.

Repp commented on 2023-02-09 02:31 (UTC)

automake and autoconf should be added to makedepends

pumpkab00 commented on 2023-01-30 23:02 (UTC) (edited on 2023-01-31 06:43 (UTC) by pumpkab00)

Getting this issue as well

make[1]: Leaving directory '/home/deck/snapd/src/snapd-2.58.2/cmd' ==> Starting check()... snap-exec is not a static binary

Edit: Disregard - fixed by removing gcc-go

df8oe commented on 2022-12-06 18:23 (UTC)

Does not build here with a go-problem:
panic: runtime error: index out of range [2147418107] with length 10

This looks to be a known go issue since months but it is still not fixed. Maybe this can be fixed by changing something in build routines?

fastrespawn commented on 2022-11-21 16:20 (UTC) (edited on 2022-11-21 16:20 (UTC) by fastrespawn)

Getting this error

Can't exec "aclocal": No such file or directory at /usr/share/autoconf/Autom4te/ line 274. autoreconf: error: aclocal failed with exit status: 2 ==> ERROR: A failure occurred in build(). Aborting... -> error making: snapd

invade_r commented on 2022-11-16 04:42 (UTC) (edited on 2022-11-16 04:43 (UTC) by invade_r)

Have the same problem as @a.kudelin.

==> Starting check()...
snap-exec is not a static binary
 -> error making: snapd

but first I've got this warnings...

go build: when using gccgo toolchain, please pass linker flags using -gccgoflags, not -ldflags