Comment 1 for bug 1947563

Revision history for this message
Paweł Stołowski (stolowski) wrote :

The build-time --libexecdir=... prefix is not relevant for snapd itself (I guess you've built snap-seccomp binary).

Snapd makes some runtime decisions when looking snap-seccomp up, they depend on where snapd executable is run from and some known distributions (Fedora and Opensuse), and a fallback to to /usr/lib/snapd. It seems that in this case the check of own executable path and the related logic may not be correct, resulting in this fallback (the relevant code is in tool_linux.go - InternalToolPath function).

If you're trying to get snapd running on this distribution then I suggest trying to build and install it in /usr/lib/snapd for the time being (until this problem is fixed).