Public bug reported:

Since I upgraded to Ubuntu 19.04 and snapd 2.38+19.04, whenever I run
any snap command, I get the following warning:

cmd_run.go:876: WARNING: cannot create user data directory: failed to
verify SELinux context of /home/hackel/snap: exec: "matchpathcon":
executable file not found in $PATH

I tried installing selinux-utils which contains the matchpathcon
command, but most of the error remains:

cmd_run.go:876: WARNING: cannot create user data directory: failed to
verify SELinux context of /home/hackel/snap: exit status 1

I first noticed this when running ripgrep, but it happens with every
snap I have installed: node, vlc, slack, even gnome-characters.

As far as I can tell, it is not affecting functionality.  The commands
still run fine.

Oddly, I do not even have golang-github-snapcore-snapd-dev installed,
which contains cmd_run.go.  I assume this must be baked into the core
snap or something.

** Affects: snapd (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1826460

Title:
  Every snap gives "create user data directory" after upgrade to 19.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1826460/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to