Public bug reported:

I'm trying to use docker snap with jenkins:
$ snap list docker
Name    Version       Rev  Developer   Notes
docker  17.06.0-ce-1  155  docker-inc  -

but it won't for for the jenkins user:
$ docker help
cannot create user data directory: /var/lib/jenkins/snap/docker/155: Permission 
denied

It's probably to do with the fact that the jenkins' home directory is
not in /home

On the same system "snap help" as ubuntu or root work just fine.

$ dpkg -l|grep snapd
ii  snapd                 2.27.5  amd64  Tool to interact with Ubuntu Core 
Snappy.
ii  ubuntu-core-launcher  2.27.5  amd64  Transitional package for snapd

$ snap version
snap    2.27.6
snapd   2.27.6
series  16
ubuntu  16.04
kernel  4.4.0-93-generic

** 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/1717900

Title:
  Confined snap fail for user with homedir in /var/lib

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

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

Reply via email to